:root{--bg:#f8faf9;--surface:#fff;--panel:#fff;--text:#223a37;--muted:#70847d;--line:#dee8e3;--lime:#1b7b59;--accent:#1b7b59;--pink:#f28977}html{color-scheme:light}body{background:#f8faf9;color:#223a37}.topbar{background:#ffffffed;border-color:#e0e9e4}.topbar nav a,.quiet{color:#61756d}.brandmark{background:#237b5b;color:white}.btn{background:white;color:#244b3c;border-color:#dce6df;box-shadow:0 3px 6px #214d3010}.btn.primary{background:#247b59;color:white;border-color:#247b59}.btn:hover{background:#e8f5eb;color:#23553e}.btn.primary:hover{background:#176443;color:white}.panel,.price-card,.game-card,.stat,.ticket,.flow>div,details,.cta,.auth-panel,.notice{background:white;border-color:#dae6df;color:#294c3c;box-shadow:0 8px 28px #22493406}h1,h2,h3,h4,strong{color:inherit}p,.micro,.muted,.hint{color:#6b8076}input,select,textarea{background:#fff;color:#264a39;border-color:#cbdcd1}input:focus,select:focus,textarea:focus{border-color:#2f8c65;outline:2px solid #2f8c6520}.tabs a,.chip{color:#526e5d;background:#edf3ef;border-color:#dce7df}.tabs a.active,.chip.active{background:#247b59;color:#fff}.text-link{color:#207954}footer{background:#eef4ef;border-color:#d9e4dd;color:#456450}footer a{color:#4e6e58}.notice{border-left:3px solid #e3ae48;background:#fffaf0}.error{color:#c64338}.tag,.badge{background:#e7f2eb;color:#2f7755}.legal{line-height:1.85}dialog{background:white;color:#244932}#toast{background:#214b38;color:white}.loading{color:#2e7654}table th,table td{border-color:#e0e8e3}thead{background:#f1f6f2}.game-info{background:#fff}.price-card.featured{background:#edf7ef;border-color:#34845c}.price-card.featured .ribbon{color:#2a7650}.price-card ul li:before{color:#24845e}.game-art{background:#eaf0eb}.eyebrow{color:#2b8058}.pricing-intro p,.faq-list p{color:#61796b}.hero h1 em{color:#2c865d}.compat{color:#547665;border-color:#dbe6df}.float-note{background:#ffffffeb;color:#244c37}.round-play{background:#217b58;color:white}.game-hud{color:#fff}
/* Studio */
body.studio-mode{background:#f0f4f1}.studio{color:#304d3d;--accent:#2b855d}.studio-head{background:white;border-color:#dae5dd}.studio-brand{color:#24513c}.studio-brand b{color:#2c8a61}.studio-head .game-select{background:#f5f8f5;color:#305641;border-color:#dce5df}.studio-head .small-pill{background:#edf6ee;color:#32805a;border-color:#d5e6d9}.studio-left,.studio-right{background:#fcfdfb;border-color:#dfe7df;scrollbar-color:#c5d6c7 transparent}.studio-pane-title{color:#6f8373}.studio-pane-title span{color:#328057}.studio-hint{color:#8a9b8c}.rule-card{background:#fff;border-color:#e2e9e1;box-shadow:0 4px 12px #254c2604}.rule-heading{color:#314e3c}.rule-heading .rule-icon{background:#eef7ef}.rule-heading input{accent-color:#2c875a}.rule-controls input,.rule-controls select{background:#fafcf9;border-color:#dce7db;color:#36523f}.rule-controls label{color:#899a86}.rule-test{background:#eff7ee;border-color:#dceada;color:#4a754c}.rule-test:hover{background:#dcefdc}.rule-footer .delete-rule{color:#9a8479}.studio-save{background:#fbfdfbf5;border-color:#dde8de}.studio .btn.primary{background:#2a805a;color:#fff;border-color:#2a805a}.studio .btn{color:#44614d;background:#fff;border-color:#d5e1d7}.studio .btn.primary:hover{background:#206849}.stage-area{background:#eaf1ed;background-image:radial-gradient(#bacfc199 1px,transparent 1px);background-size:16px 16px}.portrait-stage{border-color:#d7e5d9;box-shadow:0 20px 55px #35594320;border-radius:18px}.stage-controls .btn{background:white;color:#47704e}.stage-controls .hint{color:#7a927e}.connect-card{border-color:#dce7df}.connect-card .input-wrap{background:#f4f8f3;border-color:#cfdfcf}.connect-card input{color:#254832}.live-status{color:#637f68}.live-status.connected{color:#21814d}.provider-notice{color:#819280}.studio-right details{background:transparent;border-color:#e0e9de;box-shadow:none}.studio-right summary{color:#5b765d}.music-item{background:white;border-color:#dce7da;color:#567551}.music-item.active{border-color:#4d9866;color:#2d7850}.right-tabs,.studio-stats{border-color:#dce7df}.right-tabs button{color:#8a9a87}.right-tabs button.active{color:#2b8353;border-color:#2b8353}.feed-empty{color:#8c9f89}.feed-item{border-color:#e0eade}.feed-item strong{color:#3f6246}.feed-item p{color:#789571}.avatar-dot{background:#e1efe0;color:#52754f}.studio-stats{color:#8a9c84}.studio-stats strong{color:#426744}.gift-catalog{color:#769070}.stage-error{background:#fffef8f2;color:#476047;border-color:#d4e0d1}.stage-error p{color:#647c60}.verified-row{color:#358356}.scene-status .tag,.scene-status .status-light{color:white}.stage-event{color:white}.gift-icon{display:inline-block;width:32px;height:32px;object-fit:contain;vertical-align:middle}.gift-choice{display:flex;align-items:center;gap:9px;padding:9px;background:#f4f9f1;border:1px solid #dce9d5;border-radius:8px;width:100%;text-align:left;color:#3b6341;cursor:pointer;margin-top:10px}.gift-choice span{flex:1}.gift-choice small{display:block;color:#91a086}.gift-modal{width:min(760px,95vw);max-height:85vh;border:1px solid #d3e3d2;border-radius:20px;padding:24px;background:#fbfdf9;color:#34553b}.gift-modal::backdrop{background:#17322166;backdrop-filter:blur(5px)}.gift-modal-head{display:flex;justify-content:space-between;align-items:center}.gift-modal-head h2{font-size:24px}.gift-modal-head button{background:none;border:0;font-size:27px;color:#6c8669}.gift-search{display:flex;gap:10px;margin:14px 0}.gift-search input{margin:0}.gift-results{display:grid;grid-template-columns:repeat(5,1fr);gap:9px;max-height:48vh;overflow:auto;padding:3px}.gift-result{border:1px solid #e2eade;background:white;border-radius:12px;display:flex;align-items:center;flex-direction:column;padding:13px 7px;cursor:pointer;color:#38553d;min-height:115px}.gift-result:hover{border-color:#3f925c;background:#edf8eb}.gift-result img{width:48px;height:48px;object-fit:contain}.gift-result span{font-size:11px;margin-top:5px}.gift-result small{font-size:10px;color:#9b9e7f}.gift-empty{padding:20px;grid-column:1/-1;color:#7b8d72}.gift-modal-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;font-size:12px;color:#77916f}.slime-controls{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.slime-swatch{width:27px;height:27px;border-radius:50%;border:3px solid white;box-shadow:0 0 0 1px #d7e5d1;cursor:pointer}.stage-legend .gift-icon{width:24px;height:24px}.feed-gift-icon{width:27px;height:27px;object-fit:contain}.studio-right .btn-soft{background:#f1f7eb}.connection-steps{display:flex;gap:8px;color:#8ba086;font-size:9px;margin-bottom:12px}.connection-steps b{color:#41854c;background:#e9f5e5;padding:3px 6px;border-radius:4px}.queue-pill{color:#557b4f;font-size:10px}.connection-error{color:#b45343!important}
@media(max-width:760px){.gift-results{grid-template-columns:repeat(3,1fr)}.studio-head{height:auto;min-height:60px}.studio-head-right{gap:5px}.studio-head-right .btn{padding:6px}.studio-head .game-select{width:135px}.stage-area{background-size:12px 12px}}
