:root{color-scheme:dark;--bg:#0a1022;--card:#18233d;--card2:#202d4c;--stroke:#354566;--text:#f8faff;--muted:#afbed9;--primary:#8da0ff;--accent:#ffbd84;--aqua:#77e2e4;--danger:#ff9aa6;--good:#97e9c8;font-family:Tahoma,"Segoe UI",system-ui,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}body{margin:0;background:radial-gradient(circle at 50% -4%,#273a75 0,transparent 320px),radial-gradient(circle at 20% 90%,#17264b 0,transparent 490px),var(--bg);color:var(--text);min-height:100dvh}button,input{font:inherit}button{cursor:pointer;touch-action:manipulation}button:disabled{opacity:.48;cursor:default}button:focus-visible,input:focus-visible{outline:3px solid #a9bdff;outline-offset:3px}button{-webkit-tap-highlight-color:transparent}.noise{pointer-events:none;position:fixed;inset:0;z-index:-1;background-image:radial-gradient(#fff2 0.7px,transparent 0.7px);background-size:29px 29px;opacity:.17}.shell{max-width:480px;margin:0 auto;min-height:100dvh;padding:18px 18px calc(30px + env(safe-area-inset-bottom))}.app{min-height:64dvh}.topbar{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:20px}.brand{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:900;letter-spacing:-.3px}.brandmark{display:grid;place-items:center;background:linear-gradient(140deg,#354e9d,#223257);border:1px solid #7489d176;border-radius:16px;width:43px;height:43px;font-size:23px;box-shadow:0 6px 20px #080f2488}.brand small{display:block;font-size:10px;font-weight:400;color:var(--muted);margin-top:3px}.signal{font-size:11px;color:var(--muted);white-space:nowrap}.signal.live{color:var(--good)}.footer{text-align:center;margin:35px 0 0;font-size:11px;color:#8190af}.welcome{display:flex;flex-direction:column;align-items:center;text-align:center;padding:16px 0 20px}.heroArt{position:relative;height:248px;width:100%;max-width:335px;margin:3px auto 9px;display:grid;place-items:center}.heroArt:before{content:"";position:absolute;width:194px;height:194px;background:#526be335;filter:blur(45px);border-radius:50%}.bigEmoji{position:relative;display:grid;place-items:center;width:151px;height:151px;border-radius:43px;background:linear-gradient(135deg,#4760b7,#232d66);border:1px solid #a1b4ff6b;font-size:83px;box-shadow:0 22px 52px #02071888,inset 0 1px 0 #ffffff39;transform:rotate(-6deg)}.orbit{position:absolute;display:grid;place-items:center;width:61px;height:61px;background:#243458;border:1px solid #a1b1df6b;box-shadow:0 12px 25px #0104107a;border-radius:19px;font-size:31px}.orbitA{top:8px;right:14px;transform:rotate(10deg)}.orbitB{bottom:14px;right:18px;transform:rotate(-12deg)}.orbitC{top:16px;left:18px;transform:rotate(-11deg)}.orbitD{bottom:3px;left:36px;transform:rotate(8deg)}.eyebrow{font-size:11px;color:var(--accent);font-weight:800;letter-spacing:.3px}.eyebrow.wide{font-size:13px;letter-spacing:1px}.welcome h1{font-size:clamp(40px,11vw,57px);margin:7px 0;font-weight:1000;line-height:1.35;letter-spacing:-1px}.welcome h1 em{font-style:normal;color:#b0beff}.lead{font-size:14px;line-height:2;color:#d9e3fb;margin:0 0 17px}.featurePills{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap;margin:9px 0 25px}.featurePills span{border:1px solid #52638b;background:#1a294a;border-radius:50px;padding:8px 12px;font-size:12px;color:#e7eeff}.btn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:52px;border:0;border-radius:16px;padding:13px 16px;font-weight:850;font-size:14px;margin:9px 0;line-height:1.5;transition:transform .15s,filter .15s}.btn:active:not(:disabled),.menuCard:active{transform:scale(.986)}.btn.primary{background:linear-gradient(110deg,#b8c3ff,#8d9fff);color:#1c2554;box-shadow:0 10px 23px #6677d52b}.btn.orange{background:linear-gradient(110deg,#ffd9a9,#ffb879);color:#3f2513}.btn.secondary{background:#27385f;color:#e7edff;border:1px solid #50658f}.btn.ghost{background:transparent;border:1px solid #465b83;color:#d3def8}.btn.giant{min-height:66px;font-size:18px;border-radius:19px;box-shadow:0 14px 34px #6d84e452}.startIcon{display:grid;place-items:center;width:38px;height:38px;background:#2a3778;color:#fff;border-radius:50%;font-size:15px}.textBtn{background:transparent;color:#cbd8ff;border:0;font-size:13px;padding:11px;margin-top:9px}.textBtn span{margin-right:5px}.pageTitle{display:flex;align-items:center;gap:14px;margin:32px 0 19px}.pageTitle.compact{margin:18px 0 11px}.pageTitle h1,.pageTitle h2{font-size:24px;margin:6px 0 0;line-height:1.5}.pageTitle h2{font-size:20px}.back{flex:none;width:44px;height:44px;background:#243456;border:1px solid #4a5f87;border-radius:14px;color:#fff;font-size:25px}.menuStack{display:flex;flex-direction:column;gap:13px}.menuCard{width:100%;display:flex;align-items:center;gap:14px;background:linear-gradient(95deg,#23345f,#1b2948);border:1px solid #51699b;border-radius:22px;padding:16px 14px;color:#fff;text-align:right;min-height:98px;box-shadow:0 12px 20px #0106152e}.menuCard.subtle{background:#192640;border-color:#364867;min-height:83px}.menuIcon{display:grid;place-items:center;flex:none;width:55px;height:55px;border-radius:17px;font-size:29px;font-weight:800}.blueIcon{background:#405cc3;color:#f7f8ff}.orangeIcon{background:#81573b;color:#ffd3a6}.violetIcon{background:#504485;color:#e0d1ff}.aquaIcon{background:#254f67;color:#8cf5f6}.menuCopy{flex:1;min-width:0}.menuCopy b{display:block;font-size:16px}.menuCopy small{display:block;font-size:11px;color:#c0ceec;margin-top:8px;line-height:1.7}.menuArrow{color:#aabce5;font-size:21px}.menuFoot{color:#a7b7d4;text-align:center;font-size:12px;margin:22px 0}.card{background:linear-gradient(155deg,#1d2946,#17233c);border:1px solid #3c4a6b;border-radius:23px;padding:19px;margin:13px 0;box-shadow:0 16px 28px #0000001a}.card h3{font-size:16px;margin:0 0 12px}.formCard{padding-top:15px}.formBanner{display:flex;align-items:center;gap:12px;background:#25365b;padding:12px;border-radius:14px;color:#dce5fc;font-size:12px;line-height:1.8;margin-bottom:17px}.formBanner:first-letter{font-size:24px}.label{display:block;color:#dce5ff;font-size:13px;font-weight:750;margin:16px 0 7px}.input{width:100%;display:block;background:#0e1931;color:white;border:1px solid #4a5d82;border-radius:15px;min-height:56px;padding:13px 15px;font-size:15px;outline:0}.input::placeholder{color:#8497bb}.input:focus{border-color:#9aaeff;box-shadow:0 0 0 2px #8a9eff38}.input.codeInput{direction:ltr;text-align:center;letter-spacing:5px;font-size:22px;font-weight:850;font-variant-numeric:tabular-nums;text-transform:uppercase}.hintRow{font-size:12px;color:#bac9e3;line-height:1.8;margin-top:13px}.rulesIntro{background:linear-gradient(140deg,#324b9c,#223563);border:1px solid #6d86cb88;padding:23px;border-radius:25px;text-align:center}.ruleEmojis{font-size:39px;margin:4px 0 12px}.rulesIntro b{font-size:18px}.rulesIntro p{color:#e1e9ff;font-size:13px;line-height:2;margin:13px 0 0}.ruleSteps{margin:22px 0 12px}.ruleSteps>div{display:flex;gap:12px;padding:15px 0;border-bottom:1px solid #ffffff21}.ruleSteps>div>span{display:grid;place-items:center;flex:none;background:#314578;color:#e6edff;border-radius:12px;width:37px;height:37px;font-weight:900}.ruleSteps section{flex:1}.ruleSteps b{font-size:14px}.ruleSteps p{color:#bbcae5;font-size:12px;line-height:2;margin:7px 0 0}.row{display:flex;justify-content:space-between;align-items:center;gap:10px}.hint,.muted{color:var(--muted);line-height:1.9;font-size:12px}.center{text-align:center}.pill{display:inline-flex;align-items:center;background:#283858;border:1px solid #4c5d83;color:#d4e1ff;border-radius:100px;padding:6px 11px;font-size:11px}.inviteCard .eyebrow{color:#cedaff}.roomCode{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;width:100%;margin:15px 0 7px;border:2px dashed #879bde;background:#121f3e;border-radius:17px;color:#fff;min-height:81px;padding:8px}.roomCode strong{font-size:clamp(27px,8vw,39px);font-weight:950;letter-spacing:7px;line-height:1}.roomCode .copyIcon{font-size:26px;color:#bdcafa}.roomCode small{display:block;flex-basis:100%;font-size:10px;color:#adbfec}.lobbyTimer{display:flex;align-items:center;justify-content:center;gap:12px;padding:13px;background:#343452;border-radius:13px;margin:13px 0 6px;color:#f3def2;font-size:12px}.lobbyTimer b{font-size:18px;font-variant-numeric:tabular-nums;direction:ltr}.teamChoose{margin:12px 0;display:grid;grid-template-columns:1fr 1fr;gap:11px}.team{width:100%;min-height:63px;border-radius:18px;border:1px solid #455477;background:#1c2a48;color:#fff;font-size:14px;font-weight:850}.team.blue.active{border:2px solid #849dff;background:#283e81}.team.orange.active{border:2px solid #ffc392;background:#57412f}.teamRoster{border-radius:18px;margin:12px 0;padding:15px;background:#1e2d57;border:1px solid #425b9d}.teamRoster.orange{background:#3b302a;border-color:#796043}.tag{font-size:11px;color:#b6c5df}.person{display:flex;align-items:center;gap:9px;padding:10px 0;border-bottom:1px solid #ffffff1c;font-size:13px}.person:last-child{border-bottom:0}.person>span:nth-child(2){flex:1}.person small{color:#a6b8db}.avatar{width:31px;height:31px;border-radius:50%;background:#ffffff20;display:grid;place-items:center;font-weight:800}.statusDot{font-size:11px;color:#f2c1ab}.statusDot.ready{color:#93eccc}.emptyTeam{padding-top:18px;color:#afbed8;font-size:12px}.consent{display:flex;align-items:start;gap:10px;font-size:12px;line-height:1.7;margin-bottom:10px}.consent input{accent-color:#8ea4ff;margin-top:5px;width:17px;height:17px}.consent span{flex:1}.consent small{display:block;color:#a9bddc;margin-top:4px}.banner{background:#29385a;border:1px solid #3b507b;border-radius:14px;padding:14px;color:#dce6fc;font-size:12px;line-height:1.9;margin:14px 0}.banner.error{background:#5b2b3a;color:#ffe5e9;border-color:#af5367}.score{display:grid;grid-template-columns:1fr 80px 1fr;gap:9px;margin:11px 0 20px}.score>div{text-align:center;padding:11px 4px;border:1px solid #53649d;border-radius:17px;background:#243e7a}.score>div.orange{background:#543a2b;border-color:#96714b}.score .middle{background:#1c2943;border-color:#344660}.score small{display:block;font-size:11px;color:#d8e3fe}.score strong{display:block;font-size:23px;margin-top:6px;font-variant-numeric:tabular-nums}.score .middle strong{font-size:17px}.playCard{text-align:center}.timerBadge{display:inline-flex;align-items:center;gap:8px;padding:7px 15px;border-radius:100px;background:#304064;color:#d6e3ff;border:1px solid #5873a4;margin:0 auto 17px}.timerBadge strong{font-size:22px;font-variant-numeric:tabular-nums;direction:ltr}.secret{background:#13213c;border:1px solid #45649b;border-radius:19px;padding:20px 12px}.secret span{display:block;color:#bbd0f5;font-size:12px}.secret strong{display:block;font-size:26px;margin-top:12px;line-height:1.6;color:#ffce9b}.emojiGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:20px 0;direction:ltr}.emojiTile,.emojiInput{display:grid;place-items:center;width:100%;min-width:0;min-height:71px;border:1px solid #546ba0;border-radius:17px;background:#0f1b37;color:#fff;font-size:clamp(23px,7.3vw,35px);text-align:center;line-height:1}.emojiTile.hidden{border-style:dashed;color:#7385ab;background:#111d34}.emojiInput{padding:4px;direction:ltr;caret-color:transparent}.emojiInput:focus{outline:3px solid #a3b5ff;outline-offset:2px}.emojiGuide{font-size:12px;color:#b5c6e8;margin-bottom:12px}.waitingArt{font-size:50px;padding:30px 0 12px}.points{color:#ffc995;font-size:14px;font-weight:900}.sectionTitle{font-size:13px;font-weight:800;margin:18px 0 10px}.guessList{list-style:none;padding:0;max-height:220px;overflow:auto}.guessList li{background:#263656;padding:9px 11px;margin:7px 0;border-radius:10px;font-size:12px;text-align:right}.reveal{text-align:center}.reveal h2{font-size:28px;color:#ffcb94;margin:9px 0 13px}.reveal p{font-size:13px;line-height:1.9}.finalHero{text-align:center;padding:18px 4px}.trophy{font-size:78px;filter:drop-shadow(0 12px 22px #f0b35e33);margin:8px 0}.finalHero h1{font-size:32px;margin:6px 0 11px}.finalHero p{color:var(--muted)}.stateEmpty{text-align:center;padding:55px 9px}.emptyIcon{font-size:75px}.stateEmpty h1{font-size:27px}.stateEmpty p{color:var(--muted);font-size:13px;line-height:2.1;margin:14px 0 25px}.toast{position:fixed;z-index:100;bottom:calc(25px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%,22px);width:min(90%,420px);background:#293d68;border:1px solid #5771a7;padding:12px 16px;border-radius:14px;font-size:12px;line-height:1.7;text-align:center;color:#fff;opacity:0;pointer-events:none;transition:opacity .16s,transform .16s}.toast.visible{opacity:1;transform:translate(-50%,0)}.toast.good{background:#285448}.toast.danger{background:#663240}@media(max-width:359px){.shell{padding:12px 11px 20px}.heroArt{height:206px}.bigEmoji{height:131px;width:131px;font-size:73px}.orbit{width:51px;height:51px;font-size:26px}.roomCode strong{font-size:25px;letter-spacing:4px}.emojiTile,.emojiInput{min-height:58px}.card{padding:14px}.menuCard{padding:12px 10px;gap:9px}.menuIcon{width:48px;height:48px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}html[data-platform="telegram"] .shell,html[data-platform="bale"] .shell{padding-bottom:calc(30px + env(safe-area-inset-bottom))}
