
:root{
 --bg:#08090d;--bg2:#0a0c12;--surface:#10131a;--surface2:#141923;--surface3:#181e2a;
 --line:#252b38;--line-hi:#353d4e;--text:#f7f8fc;--muted:#9aa3b4;--dim:#748095;
 --accent:#9aabff;--accent2:#d8deff;--accent-soft:#202942;--good:#75dfb3;--warn:#efcc76;--bad:#ff8193;
 --shadow:0 26px 78px rgba(0,0,0,.43);--safeT:env(safe-area-inset-top,0px);--safeB:env(safe-area-inset-bottom,0px)
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;width:100%;height:100%;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text",Inter,system-ui,sans-serif;overflow:hidden;overscroll-behavior:none}
body{position:fixed;inset:0;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
button,input{font:inherit}button{color:inherit;-webkit-user-select:none;user-select:none}input,textarea,[contenteditable="true"]{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}button:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
img,svg{display:block;-webkit-user-drag:none}
.app{position:fixed;inset:0;width:min(100%,540px);margin:auto;padding:calc(11px + var(--safeT)) 14px 0;display:grid;grid-template-rows:auto auto auto auto auto auto minmax(0,1fr) auto auto;gap:6px;background:var(--bg);overflow:hidden;isolation:isolate}
.top{display:flex;justify-content:space-between;align-items:center;min-height:40px;margin-bottom:9px}.brand{display:flex;align-items:center;gap:10px;min-width:0}.brand-copy{min-width:0}.mark,.authmark{display:grid;place-items:center;overflow:visible}.mark{width:38px;height:38px}.authmark{width:58px;height:58px;margin-bottom:16px}.word{font-size:16px;font-weight:950;letter-spacing:.175em;line-height:1}.kicker,.cap,.overline{font-size:7.5px;color:var(--muted);font-weight:850;letter-spacing:.155em}.kicker{margin-top:4px;white-space:nowrap}.brand-copy .kicker{letter-spacing:.10em}.top-actions{display:flex;gap:6px}.headbtn{width:37px;height:37px;padding:0;border:1px solid var(--line);border-radius:12px;background:#0d1016;display:grid;place-items:center;color:#b6becf;box-shadow:inset 0 1px rgba(255,255,255,.025);transition:background .12s,border-color .12s,transform .08s,color .12s}.headbtn svg{width:18px;height:18px}.headbtn:active{transform:scale(.94);background:#171c27;color:#eef1ff;border-color:#3a4355}
.roundline{display:grid;grid-template-columns:minmax(98px,.72fr) minmax(0,1.55fr);gap:10px;align-items:end;padding:1px 1px 0}.roundblock,.clock{min-width:0;display:grid;gap:4px}.roundblock .cap,.clock span{white-space:nowrap;font-size:7.2px;color:var(--muted);font-weight:850;letter-spacing:.105em}.roundline strong,.clock strong{font-size:clamp(14px,4.2vw,18px);font-weight:950;letter-spacing:-.048em;line-height:1;white-space:nowrap;font-variant-numeric:tabular-nums}.clock{text-align:right}.clock strong{font-weight:900}
.livebar{position:relative;z-index:57;display:grid;grid-template-columns:1fr auto 1fr;gap:6px;align-items:center}.liveunit,.phase{height:33px;border:1px solid var(--line);border-radius:11px;background:#0d1016;display:flex;align-items:center;gap:6px;padding:0 9px;box-shadow:inset 0 1px rgba(255,255,255,.02)}.liveunit.right{justify-content:flex-end}.liveunit strong{font-size:11px;font-weight:900;font-variant-numeric:tabular-nums}.liveunit span{font-size:6.8px;color:var(--muted);font-weight:850;letter-spacing:.105em;white-space:nowrap}.liveled{width:7px;height:7px;border-radius:50%;background:var(--good);box-shadow:0 0 11px rgba(117,223,179,.58);flex:none}.liveled.off{background:#596171;box-shadow:none}.liveled.warn{background:var(--warn);box-shadow:0 0 11px rgba(239,204,118,.42)}.phase{justify-content:center;padding:0 11px;font-size:7.5px;font-weight:950;letter-spacing:.1em;color:#d8deeb;white-space:nowrap;font-variant-numeric:tabular-nums}.phase.sealed{width:88px;min-width:88px;max-width:88px;letter-spacing:.075em}.phase.guest-live{cursor:pointer;border-color:#3f6b58;background:#132119;color:#a5e6c7;box-shadow:inset 0 0 0 1px rgba(117,223,179,.04)}.phase.sealed{border-color:#665c3b;background:#1d1a12;color:#f3d990}.phase.transition{border-color:#53618d;background:#171d2d;color:#dbe2ff}.phase.fallback{border-color:#5b5067;background:#17141c;color:#d8c7e7}
.notice{min-height:39px;border-radius:12px;padding:7px 10px;display:none;align-items:center;justify-content:space-between;gap:10px;box-shadow:inset 0 1px rgba(255,255,255,.025)}.notice.show{display:flex}.notice>div{display:grid;gap:2px}.notice b{font-size:9px;letter-spacing:.045em}.notice span{font-size:8px;color:#abb3c2}.notice>strong{font-size:12px;font-variant-numeric:tabular-nums}.notice.sealed{border:1px solid #61583a;background:#191710}.notice.sealed b,.notice.sealed>strong{color:#f4db95}.notice.mine{border:1px solid #335f51;background:#10221c}.notice.mine b,.notice.mine>strong{color:#d9fff0}.crew-live-info{min-height:39px;border:1px solid #33496a;border-radius:12px;background:linear-gradient(135deg,#101827,#121522);display:flex;align-items:center;gap:9px;padding:7px 10px;box-shadow:inset 0 1px rgba(255,255,255,.025)}.crew-live-info[hidden]{display:none}.crew-live-icon{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#202b45;color:#bfc9ff;font-size:9px;flex:none}.crew-live-info>div{display:grid;gap:2px;min-width:0;flex:1}.crew-live-info b{font-size:8.5px;letter-spacing:.045em;color:#e4e8ff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.crew-live-info>div span{font-size:7.8px;color:#aab5ca;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.crew-live-info a{color:#cbd3ff;font-size:7.5px;font-weight:950;letter-spacing:.06em;text-decoration:none;white-space:nowrap}
.gamezone{min-height:0;display:grid;place-items:center;padding:2px 0}.board-shell{height:min(100%,calc(100vw - 28px));aspect-ratio:1;max-width:100%;border:1px solid #1c202a;border-radius:26px;padding:8px;background:linear-gradient(180deg,#0d0f14,#090a0e);box-shadow:var(--shadow),inset 0 1px rgba(255,255,255,.025);transition:filter .15s}.board{width:100%;height:100%;display:grid;grid-template-rows:repeat(6,1fr);border:1px solid #303644;border-radius:18px;overflow:hidden;background:#0c0e13;touch-action:manipulation}.board-row{min-height:0;display:grid;grid-template-columns:repeat(6,1fr)}.cell{position:relative;min-width:0;min-height:0;padding:0;border:0;border-right:1px solid #242a36;border-bottom:1px solid #242a36;background:#10131a;display:grid;place-items:center;cursor:pointer;transition:background .13s,transform .08s,opacity .13s,box-shadow .13s,color .13s}.board-row .cell:last-child{border-right:0}.board-row:last-child .cell{border-bottom:0}.cell:active:not(:disabled){transform:scale(.965)}.board.focused .cell:not(.cage-focus):not(.selected):not(.scan-candidate){background-color:#0d1016}.cell.cage-focus{background:#171d2b;opacity:1!important;z-index:3}.cell.selected{background:#20283b;box-shadow:inset 0 0 0 2px var(--accent),inset 0 0 24px rgba(152,169,255,.085);opacity:1!important;z-index:5}.cell.fixed{background:#121722;color:#f1f3ff}.cell.fixed:after{content:"";position:absolute;right:6px;top:6px;width:6px;height:6px;border-radius:50%;background:var(--accent);box-shadow:0 0 12px rgba(154,171,255,.68)}.value{font-size:clamp(20px,7vw,31px);font-weight:900;line-height:1;font-variant-numeric:tabular-nums}.clue{position:absolute;left:5px;top:4px;font-size:7.5px;font-weight:900;line-height:1;color:#747d91;opacity:0;transform:scale(.95);transform-origin:left top;transition:opacity .13s,transform .13s,color .13s}.cell.seen .clue{opacity:.35}.cell.cage-focus .clue,.cell.selected .clue{opacity:1;transform:scale(1);color:#eef1ff;background:#293149;border:1px solid #526087;border-radius:6px;padding:3px 5px;left:3px;top:3px;box-shadow:0 4px 12px rgba(0,0,0,.2)}.notes{position:absolute;inset:15px 5px 4px;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,1fr);align-items:center;justify-items:center;font-size:8px;color:#a7afc1;font-weight:800}.cell.edge-t{border-top:2px solid var(--accent)}.cell.edge-b{border-bottom:2px solid var(--accent)}.cell.edge-l{border-left:2px solid var(--accent)}.cell.edge-r{border-right:2px solid var(--accent)}
.focusbar{min-height:58px;border:1px solid var(--line);background:linear-gradient(180deg,#11151d,#0f1218);border-radius:17px;padding:8px 10px;display:grid;grid-template-columns:43px minmax(0,1fr) 23px 30px;gap:8px;align-items:center;box-shadow:inset 0 1px rgba(255,255,255,.025);transition:.14s}.focusbar.idle{opacity:.69}.sum-badge{height:40px;min-width:43px;border:1px solid #323a4c;border-radius:12px;background:#171c27;display:grid;place-items:center;font-size:14px;font-weight:950;color:#dce2ff}.eqwrap{min-width:0}.eq{font-size:15px;font-weight:900;letter-spacing:-.024em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.eqsub{font-size:8px;color:var(--muted);font-weight:750;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.focusstatus{width:23px;height:23px;border-radius:8px;border:1px solid #303747;display:grid;place-items:center;color:var(--muted);font-size:10px;font-weight:900}.focus-help{width:30px;height:30px;padding:0;border:1px solid var(--help-line);border-radius:10px;display:grid;place-items:center;color:var(--help);background:linear-gradient(180deg,#1a2032,var(--help-bg));box-shadow:inset 0 1px rgba(255,255,255,.045),0 5px 18px rgba(79,99,158,.10);transition:transform .08s,filter .12s}.focus-help svg{width:17px;height:17px}.focus-help .help-question{color:#5cae84}.focusbar.good .focusstatus{background:#173027;color:#d9fff0;border-color:#2f6b56}.focusbar.bad .focusstatus{background:#371e27;color:#ffdce2;border-color:#6d3442}.micro{height:18px;display:flex;align-items:center;justify-content:center;color:var(--dim);font-size:8px;font-weight:750;letter-spacing:.035em}.micro b{color:#aeb7cb;font-weight:900}
.control-wall{position:relative;z-index:40;margin:0 -14px;background:#08090d;border-top:1px solid #1d222d;padding:9px 14px calc(10px + var(--safeB));box-shadow:0 -20px 46px rgba(0,0,0,.5);isolation:isolate;overflow:visible}.control-wall:before{content:"";position:absolute;z-index:-1;left:0;right:0;top:-34px;height:36px;background:#08090d;box-shadow:0 -13px 26px rgba(0,0,0,.34);pointer-events:none}.control-wall:after{content:"";position:fixed;z-index:-1;left:0;right:0;bottom:0;height:calc(160px + var(--safeB));background:#08090d;pointer-events:none}.control-wall-inner{position:relative;z-index:2;background:#08090d}.pad{display:grid;grid-template-columns:repeat(6,1fr);gap:7px}.key{height:49px;padding:0;border:1px solid #2c3341;border-radius:14px;background:linear-gradient(180deg,#141821,#11141b);font-size:20px;font-weight:900;line-height:1;box-shadow:inset 0 1px rgba(255,255,255,.04),0 1px 0 rgba(0,0,0,.35);transition:transform .08s,background .1s,border-color .1s}.key:active{transform:translateY(1px) scale(.985);background:#1a1f2a;border-color:#3a4355}.actions{display:grid;grid-template-columns:62px 62px 1fr;gap:8px;margin-top:8px}.iconbtn,.claim{height:51px;border-radius:15px;font-weight:900}.iconbtn{padding:0;border:1px solid #2c3341;background:linear-gradient(180deg,#141821,#11141b);display:grid;grid-template-rows:25px 11px;place-items:center;align-content:center;gap:1px;color:#b8c0d0;box-shadow:inset 0 1px rgba(255,255,255,.035)}.iconbtn svg{width:20px;height:20px}.iconbtn span{font-size:6.3px;letter-spacing:.09em;font-weight:900;color:#717b8e}.iconbtn:active{transform:scale(.97);background:#191e29}.iconbtn.active{background:#20283b;border-color:#596b95;color:#e2e7ff;box-shadow:inset 0 0 0 1px rgba(154,171,255,.08)}.iconbtn.active span{color:#b9c5f8}.claim{border:0;background:linear-gradient(135deg,#bbc5ff,#8499ff);color:#08090d;padding:0 13px 0 17px;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;letter-spacing:.115em;box-shadow:0 11px 28px rgba(105,129,255,.22),inset 0 1px rgba(255,255,255,.3);transition:transform .08s,filter .12s,opacity .12s}.claim:active:not(:disabled){transform:scale(.985);filter:brightness(.97)}.claim:disabled{opacity:.28;box-shadow:none}.claim-copy{font-weight:950;white-space:nowrap}.claim-icon{width:28px;height:28px;border-radius:9px;background:rgba(8,9,13,.1);display:grid;place-items:center}.claim-icon svg{width:18px;height:18px}
.overlay,.sheetback,.authback{position:fixed;inset:0;z-index:70}.overlay{display:none;place-items:center;text-align:center;padding:24px;background:rgba(8,9,13,.96);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}.overlay.show{display:grid}.transition-card{width:min(100%,420px)}.seal{width:78px;height:78px;margin:0 auto 17px;border-radius:25px;background:radial-gradient(circle at 34% 28%,#d9deff,#90a3ff 58%,#687bde);display:grid;place-items:center;color:#08090d;box-shadow:0 20px 70px rgba(112,137,255,.36)}.seal svg{width:38px;height:38px}.transition-card h1{font-size:30px;letter-spacing:-.045em;margin:8px 0 4px}.transition-card p{font-size:11px;color:var(--muted);margin:0}.chainline{margin-top:13px;font-size:9px;color:var(--accent2);font-weight:900;letter-spacing:.15em}.count{font-size:76px;line-height:1;font-weight:950;letter-spacing:-.07em;margin:14px 0 3px;font-variant-numeric:tabular-nums}.muted{font-size:8px;color:var(--muted);font-weight:850;letter-spacing:.12em}
.sheetback{display:none;align-items:flex-end;background:rgba(3,4,7,.73);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);padding:12px}.sheetback.show{display:flex}.sheet{width:min(100%,520px);max-height:min(84dvh,760px);overflow:auto;touch-action:pan-y;overscroll-behavior:contain;margin:0 auto;background:#11141b;border:1px solid #303747;border-radius:27px;padding:20px 18px calc(20px + var(--safeB));box-shadow:0 30px 90px rgba(0,0,0,.62)}.sheet h2{margin:0 0 6px;font-size:23px;letter-spacing:-.035em}.sheet p{font-size:11px;line-height:1.55;color:var(--muted)}.rules{display:grid;gap:9px;margin:15px 0}.rule{min-height:54px;border:1px solid #2e3544;border-radius:15px;background:#151923;display:grid;grid-template-columns:46px 1fr;gap:10px;align-items:center;padding:8px 10px}.rule i{font-style:normal;width:34px;height:34px;margin:auto;border:1px solid #30394b;border-radius:10px;background:#111620;display:grid;place-items:center;color:var(--accent2);font-size:15px;font-weight:950}.rule b{font-size:10px}.rule span{display:block;color:var(--muted);font-size:8px;margin-top:2px}.primary,.secondary{width:100%;height:50px;border-radius:15px;font-weight:950}.primary{border:0;background:linear-gradient(135deg,#bbc5ff,#8499ff);color:#08090d;box-shadow:0 10px 28px rgba(105,129,255,.2)}.secondary{margin-top:8px;border:1px solid #354055;background:#151a24;color:#e8ebf8}.profileline{display:flex;align-items:center;justify-content:space-between;border:1px solid #2e3544;background:#151923;border-radius:15px;padding:13px;margin:13px 0}.profileline strong{font-size:13px}.profileline span{font-size:8px;color:var(--muted)}.lb-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:12px 0}.tab{height:38px;border:1px solid #30394a;border-radius:12px;background:#131821;font-size:9px;font-weight:900}.tab.active{background:#20283b;border-color:#5b6c97}.lb{display:grid;gap:5px}.lbrow{display:grid;grid-template-columns:28px 1fr 48px 48px;gap:7px;align-items:center;min-height:40px;border-bottom:1px solid #222936;font-size:9px}.lbrow .rank{color:var(--dim)}.lbrow b{font-size:10px}.lbrow span{text-align:right;color:var(--muted);font-variant-numeric:tabular-nums}
.authback{display:none;place-items:center;touch-action:pan-y;overscroll-behavior:contain;background:radial-gradient(circle at 50% 22%,#151c2d,#08090d 53%);padding:18px;overflow:auto}.authback.show{display:grid}.authcard{width:min(100%,440px);border:1px solid #303747;border-radius:29px;background:rgba(16,19,26,.975);padding:25px 21px;box-shadow:0 34px 100px rgba(0,0,0,.56),inset 0 1px rgba(255,255,255,.03)}.authcard h1{font-size:30px;letter-spacing:-.045em;margin:8px 0 6px}.authcard p{color:var(--muted);font-size:11px;line-height:1.58}.fieldlabel{display:block;font-size:8px;font-weight:950;letter-spacing:.13em;color:var(--muted);margin:19px 0 7px}.handle{width:100%;height:53px;border:1px solid #374156;border-radius:15px;background:#0c1017;color:var(--text);padding:0 14px;font-size:18px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;margin-bottom:9px}.handle::placeholder{color:#8994a8;opacity:1}html[data-theme="light"] .handle{background:#fff;color:#121722;border-color:#aeb8c8;caret-color:#354cac}html[data-theme="light"] .handle::placeholder{color:#68758b;opacity:1}html[data-theme="light"] .handle:focus{border-color:#5268d4;box-shadow:0 0 0 3px rgba(82,104,212,.16);outline:0}.fine{font-size:8px!important;text-align:center;margin:12px 5px 0!important}.identity-policy-note{display:grid;gap:3px;margin:8px 0 2px;padding:9px 11px;border:1px solid rgba(239,204,118,.36);border-radius:11px;background:rgba(239,204,118,.07);color:#d7c286;font-size:9px;line-height:1.35;text-align:left}.identity-policy-note[hidden]{display:none}.identity-policy-note b{color:#f2d98d;font-size:9px;letter-spacing:.055em}.identity-policy-note span{color:#c5b98e}.autherr{min-height:18px;text-align:center;color:#ff9aaa;font-size:9px;font-weight:850;margin-top:8px}
.net{position:fixed;z-index:90;left:50%;top:calc(9px + var(--safeT));transform:translate(-50%,-16px);opacity:0;pointer-events:none;background:#eef1ff;color:#090a0e;border-radius:999px;padding:9px 13px;font-size:8px;font-weight:950;letter-spacing:.045em;box-shadow:0 12px 34px rgba(0,0,0,.35);transition:.18s}.net.show{opacity:1;transform:translate(-50%,0)}.toast{position:fixed;z-index:95;left:50%;bottom:calc(122px + var(--safeB));max-width:min(92vw,430px);transform:translate(-50%,10px);opacity:0;pointer-events:none;background:#eff2ff;color:#090a0e;border:1px solid transparent;border-radius:999px;padding:10px 14px;font-size:9px;font-weight:950;line-height:1.35;text-align:center;white-space:normal;box-shadow:0 16px 40px rgba(0,0,0,.38);transition:.18s}.toast[data-tone="coach"]{background:#f0a85a;border-color:#ffd39d;color:#241306;box-shadow:0 16px 40px rgba(89,48,9,.34),0 0 0 1px rgba(255,211,157,.14)}.toast[data-tone="success"]{background:#8eddb8;border-color:#c7f3df;color:#0b2118}.toast[data-tone="momentum"]{background:#aeb9ff;border-color:#dfe4ff;color:#10152a}.toast.show{opacity:1;transform:translate(-50%,0)}.shake{animation:shake .24s ease}@keyframes shake{0%,100%{transform:none}25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}
@media(max-width:370px){.app{padding-left:10px;padding-right:10px;gap:5px}.control-wall{margin-left:-10px;margin-right:-10px;padding-left:10px;padding-right:10px}.kicker{display:none}.mark{width:34px;height:34px;border-radius:11px}.mark svg{width:19px;height:19px}.headbtn{width:33px;height:33px;border-radius:10px}.headbtn svg{width:17px;height:17px}.roundline strong,.clock strong{font-size:13px}.liveunit span{font-size:6.2px}.board-shell{border-radius:21px;padding:6px}.focusbar{min-height:50px;padding:6px 8px;grid-template-columns:40px minmax(0,1fr) 21px 28px}.focus-help{width:28px;height:28px}.sum-badge{height:36px;min-width:40px}.eq{font-size:13px}.key{height:44px}.iconbtn,.claim{height:46px}.actions{grid-template-columns:54px 54px 1fr;gap:6px}.iconbtn{grid-template-rows:22px 9px}.iconbtn svg{width:18px;height:18px}.iconbtn span{font-size:5.8px}.claim{padding-left:12px;padding-right:9px;font-size:9px}.claim-icon{width:25px;height:25px}.micro{font-size:7px}.notice{min-height:34px;padding:5px 8px}.notice span{display:none}}
@media(max-height:680px){.app{gap:4px;padding-top:calc(8px + var(--safeT))}.kicker{display:none}.mark{width:33px;height:33px}.top{min-height:34px}.roundline strong{font-size:21px}.clock strong{font-size:20px}.liveunit,.phase{height:28px}.notice{min-height:31px;padding:4px 8px}.notice span{display:none}.focusbar{min-height:47px}.sum-badge{height:34px}.micro{display:none}.key{height:40px}.iconbtn,.claim{height:42px}.control-wall{padding-top:7px}.actions{margin-top:6px}.board-shell{padding:6px}}
@media(min-width:600px){.app{border-left:1px solid #151922;border-right:1px solid #151922}.control-wall{margin-left:-14px;margin-right:-14px}}

/* ---------- v1.3.0: clean production Chain + hero-board / native viewport correction ---------- */
.app{
 width:min(100%,560px);
 padding:calc(12px + var(--safeT)) 14px calc(132px + var(--safeB));
 display:flex;flex-direction:column;gap:8px;
 overflow:hidden;
}
.top{min-height:42px}.mark{width:40px;height:40px;border-radius:14px}.mark svg{width:22px;height:22px}.word{font-size:17px}.kicker{font-size:7.6px;margin-top:5px}
.headbtn{width:38px;height:38px;border-radius:13px}.headbtn svg{width:19px;height:19px}
.roundline{padding:6px 1px 0}.roundline strong,.clock strong{font-size:17px}.roundblock .cap,.clock span{font-size:7.4px}
.liveunit,.phase{height:35px;border-radius:12px}.liveunit strong{font-size:12px}.liveunit span{font-size:6.9px}.phase{font-size:7.7px}
.gamezone{flex:0 0 auto;min-height:0;width:100%;display:grid;place-items:center;padding:4px 0 2px}
.board-shell{
 width:min(100%,520px,calc(100dvh - 380px));
 height:auto;aspect-ratio:1;max-width:none;
 border-radius:28px;padding:9px;
 box-shadow:0 28px 86px rgba(0,0,0,.48),inset 0 1px rgba(255,255,255,.03);
}
.board{border-radius:19px}
.cell.fixed:after{display:none}
.cell.fixed{background:#121722}.cell.fixed .value{color:#f0f3ff;text-shadow:0 0 18px rgba(154,171,255,.20)}
.value{font-size:clamp(24px,8.2vw,34px);font-weight:900;letter-spacing:-.025em}
.clue{font-size:8px}.cell.cage-focus .clue,.cell.selected .clue{padding:3px 5px}
.focusbar{min-height:62px;border-radius:19px;padding:9px 11px;grid-template-columns:46px minmax(0,1fr) 25px 30px;gap:10px}
.sum-badge{height:43px;min-width:46px;border-radius:13px;font-size:15px}.eq{font-size:16px}.eqsub{font-size:8.5px}.focusstatus{width:25px;height:25px}.focus-help{width:30px;height:30px}
.micro{height:19px;font-size:8.2px}
.control-wall{
 position:fixed;z-index:50;left:50%;right:auto;bottom:0;transform:translateX(-50%);
 width:min(100%,560px);margin:0;
 padding:10px 14px calc(10px + var(--safeB));
 background:#08090d;border-top:1px solid #202633;
 box-shadow:0 -18px 48px rgba(0,0,0,.58);
 overflow:hidden;isolation:isolate;
}
.control-wall:before{content:"";position:absolute;z-index:0;inset:0;background:#08090d;pointer-events:none}
.control-wall:after{display:none}
.control-wall-inner{position:relative;z-index:2;background:#08090d}
.pad{gap:8px}.key{height:51px;border-radius:15px;font-size:21px;background:linear-gradient(180deg,#151a24,#11151d);border-color:#303848}
.key:active{background:#1c2230}
.actions{grid-template-columns:64px 64px 1fr;gap:9px;margin-top:9px}.iconbtn,.claim{height:53px;border-radius:16px}.iconbtn{background:linear-gradient(180deg,#151a24,#11151d);border-color:#303848}.iconbtn svg{width:20px;height:20px}.iconbtn span{font-size:6.4px}
.claim{border:1px solid transparent;font-size:10.2px;padding-left:18px}.claim:not(:disabled){background:linear-gradient(135deg,#c3ccff,#8da0ff);color:#090b10}.claim:disabled{opacity:1;background:#151923;border-color:#2b3240;color:#687284;box-shadow:none}.claim:disabled .claim-icon{background:#1b202c;color:#657084}
.claim-icon{width:29px;height:29px}
.toast{bottom:calc(138px + var(--safeB))}
@media(max-width:370px){
 .app{padding-left:10px;padding-right:10px;padding-bottom:calc(118px + var(--safeB));gap:6px}
 .mark{width:36px;height:36px;border-radius:12px}.mark svg{width:20px;height:20px}.word{font-size:16px}.kicker{display:none}
 .headbtn{width:34px;height:34px;border-radius:11px}.headbtn svg{width:17px;height:17px}
 .roundline strong,.clock strong{font-size:14px}.liveunit,.phase{height:31px}
 .board-shell{width:min(100%,calc(100dvh - 342px));padding:7px;border-radius:23px}.board{border-radius:16px}
 .value{font-size:clamp(22px,8.3vw,29px)}
 .focusbar{min-height:52px;padding:7px 9px;grid-template-columns:41px minmax(0,1fr) 22px 28px;border-radius:16px}.sum-badge{height:38px;min-width:41px}.eq{font-size:14px}.eqsub{font-size:7.7px}.focusstatus{width:22px;height:22px}.focus-help{width:28px;height:28px}
 .micro{font-size:7.2px;height:16px}
 .control-wall{width:100%;padding:8px 10px calc(8px + var(--safeB))}.key{height:45px;border-radius:13px}.actions{grid-template-columns:55px 55px 1fr;gap:7px;margin-top:7px}.iconbtn,.claim{height:47px;border-radius:14px}.claim{font-size:9px;padding-left:12px;padding-right:9px}.claim-icon{width:26px;height:26px}
 .toast{bottom:calc(122px + var(--safeB))}
}
@media(max-height:680px){
 .app{padding-top:calc(8px + var(--safeT));padding-bottom:calc(108px + var(--safeB));gap:5px}
 .top{min-height:34px}.mark{width:34px;height:34px}.mark svg{width:19px;height:19px}.kicker{display:none}.headbtn{width:33px;height:33px}
 .roundline strong,.clock strong{font-size:13px}.liveunit,.phase{height:29px}.notice{min-height:31px;padding:4px 8px}.notice span{display:none}
 .board-shell{width:min(100%,520px,calc(100dvh - 286px));padding:6px;border-radius:21px}.board{border-radius:15px}
 .focusbar{min-height:47px;padding:6px 8px;grid-template-columns:39px minmax(0,1fr) 21px 27px}.sum-badge{height:34px;min-width:39px}.eq{font-size:13px}.eqsub{font-size:7.3px}.focusstatus{width:21px;height:21px}.focus-help{width:27px;height:27px}.micro{display:none}
 .control-wall{padding-top:7px;padding-bottom:calc(7px + var(--safeB))}.key{height:41px}.iconbtn,.claim{height:44px}.actions{margin-top:6px}.toast{bottom:calc(112px + var(--safeB))}
}
@media(max-width:319px){.transition-ad{display:none!important}}@media(orientation:landscape) and (max-height:520px){
 .app{width:min(100%,760px);padding-right:220px;padding-bottom:8px;gap:4px}.top{min-height:31px}.roundline strong,.clock strong{font-size:12px}.liveunit,.phase{height:27px}.focusbar{min-height:43px}.micro{display:none}
 .gamezone{flex:1 1 auto}.board-stage{width:min(100%,calc(100dvh - 195px));height:min(100%,calc(100dvh - 195px))}.board-shell{padding:5px;border-radius:18px}
 .control-wall{left:auto;right:0;top:0;bottom:0;transform:none;width:210px;padding:calc(10px + var(--safeT)) 10px calc(10px + var(--safeB));border-top:0;border-left:1px solid #202633;display:grid;align-content:center}
 .pad{grid-template-columns:repeat(2,1fr);gap:7px}.key{height:48px}.actions{grid-template-columns:1fr 1fr;grid-template-rows:auto auto}.claim{grid-column:1/-1}.toast{bottom:18px;left:calc(50% - 105px)}
}

/* ---------- v1.4.1: global-device UX polish ---------- */
:root{--controlH:132px;--leader:#8fd9b8;--leader-bg:#101c19;--leader-line:#294b40;--profile:#efb27f;--profile-bg:#1d1713;--profile-line:#57402e;--help:#b8c4ff;--help-bg:#171c2c;--help-line:#46557d}
.app{
 width:min(100%,560px);
 padding:calc(12px + var(--safeT)) 14px calc(var(--controlH) + 8px);
 display:grid;
 grid-template-rows:auto auto auto minmax(0,1fr) auto;
 gap:5px;
 overflow:hidden;
}
.app>.top{grid-row:1}.app>.roundline{grid-row:2}.app>.livebar{grid-row:3}.app>.gamezone{grid-row:4}.app>#focusbar{grid-row:5;position:relative;z-index:45}
.gamezone{min-height:0;width:100%;height:100%;display:grid;place-items:center;overflow:visible;padding:0}
.board-stage{position:relative;width:var(--boardSize,min(100%,520px));height:var(--boardSize,auto);max-width:100%;max-height:100%;aspect-ratio:1;flex:none}
.board-shell{position:relative;width:100%;height:100%;max-width:100%;max-height:100%;aspect-ratio:1;flex:none;isolation:isolate;--finish-tint:0}
.board-shell>.board{position:relative;z-index:1}.finish-tint{position:absolute;inset:1px;z-index:2;border-radius:inherit;background:rgba(199,127,137,.055);opacity:var(--finish-tint);pointer-events:none}.finish-pressure{position:absolute;inset:0;width:100%;height:100%;z-index:4;pointer-events:none;opacity:0;overflow:visible;filter:drop-shadow(0 0 1px rgba(199,127,137,.14))}.finish-pressure-base,.finish-pressure-restore{fill:none;vector-effect:non-scaling-stroke;stroke-linejoin:round}.finish-pressure-base{stroke:#c77f89;stroke-width:2}.finish-pressure-restore{stroke:#eef2fb;stroke-width:2.35;stroke-linecap:round}.board-shell.pressure-active{border-color:transparent}.board-shell.pressure-active .finish-pressure{opacity:1}
.solve-focus-wash{position:fixed;inset:0;z-index:55;background:radial-gradient(circle at 50% 42%,rgba(3,5,10,.12) 0 18%,rgba(3,5,10,.38) 64%,rgba(3,5,10,.50) 100%);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .18s ease,visibility .18s ease;backdrop-filter:saturate(.82) brightness(.94) blur(.4px)}.solve-focus-wash.show{opacity:1;visibility:visible}.solve-focus-wash[hidden]{display:none!important}
.board-float{position:absolute!important;left:50%;top:0;width:min(100%,480px);transform:translate(-50%,calc(-100% - 5px));z-index:16;margin:0!important}.solve-alert{position:absolute;grid-column:1/-1;grid-row:1;left:0;right:0;top:0;bottom:0;z-index:3;width:auto;height:auto;min-height:100%;padding:0 10px;border:1px solid rgba(174,185,255,.58);border-radius:11px;background:linear-gradient(180deg,rgba(29,34,52,.99),rgba(15,18,29,.99));display:flex;align-items:center;justify-content:center;gap:8px;box-shadow:0 9px 28px rgba(0,0,0,.30),0 0 0 1px rgba(174,185,255,.055),inset 0 1px rgba(255,255,255,.075);opacity:0;visibility:hidden;transform:translateY(3px) scale(.988);transition:opacity .18s ease,transform .22s cubic-bezier(.2,.8,.2,1),visibility .18s ease;color:var(--text);white-space:nowrap;pointer-events:none}.solve-alert.show{opacity:1;visibility:visible;transform:translateY(0) scale(1)}.solve-alert[hidden]{display:none!important}.solve-alert-dot{width:8px;height:8px;border-radius:50%;background:#aeb9ff;box-shadow:0 0 0 3px rgba(174,185,255,.13),0 0 14px rgba(174,185,255,.30);flex:none}.solve-alert.show .solve-alert-dot{animation:solve-alert-pulse .9s ease-out 1}.solve-alert b,.solve-alert span{font-size:clamp(8.8px,2.55vw,10.8px);line-height:1;font-weight:950;letter-spacing:.055em}.solve-alert b{color:#f2f4ff}.solve-alert span{color:#bec8ff}@keyframes solve-alert-pulse{0%{transform:scale(.72);box-shadow:0 0 0 0 rgba(174,185,255,.34)}45%{transform:scale(1.08);box-shadow:0 0 0 7px rgba(174,185,255,.08)}100%{transform:scale(1);box-shadow:0 0 0 3px rgba(174,185,255,.13),0 0 14px rgba(174,185,255,.30)}}.crew-live-info.board-float{z-index:14}.crew-live-info.board-float[hidden]{display:none!important}
html[data-theme="light"] .finish-tint{background:rgba(190,91,106,.042)}html[data-theme="light"] .finish-pressure{filter:drop-shadow(0 0 1px rgba(70,82,118,.22))}html[data-theme="light"] .finish-pressure-restore{stroke:#fff}html[data-theme="light"] .solve-focus-wash{background:radial-gradient(circle at 50% 42%,rgba(49,60,102,.04) 0 18%,rgba(49,60,102,.15) 64%,rgba(49,60,102,.22) 100%)}html[data-theme="light"] .solve-alert{background:linear-gradient(180deg,rgba(255,255,255,.995),rgba(244,246,255,.99));border-color:rgba(129,145,211,.48);box-shadow:0 9px 28px rgba(58,69,105,.16),0 0 0 1px rgba(174,185,255,.10),inset 0 1px #fff;color:#172033}html[data-theme="light"] .solve-alert b{color:#202a45}html[data-theme="light"] .solve-alert span{color:#586bb1}
@media(orientation:landscape) and (max-height:520px){.board-stage{width:min(100%,calc(100dvh - 195px));height:min(100%,calc(100dvh - 195px))}.board-float{transform:translate(-50%,calc(-100% - 3px))}}
.top{contain:layout}.top-actions{flex:0 0 auto}.headbtn{will-change:auto}
#helpBtn{color:var(--help);border-color:var(--help-line)}
#leaderBtn{color:var(--leader);background:linear-gradient(180deg,#14231e,var(--leader-bg));border-color:var(--leader-line);box-shadow:inset 0 1px rgba(255,255,255,.04),0 5px 18px rgba(66,139,108,.09)}
#profileBtn{color:var(--profile);background:linear-gradient(180deg,#241b15,var(--profile-bg));border-color:var(--profile-line);box-shadow:inset 0 1px rgba(255,255,255,.04),0 5px 18px rgba(154,101,56,.08)}
#helpBtn:active{filter:brightness(1.12);transform:scale(.94)}#leaderBtn:active,#profileBtn:active{filter:brightness(1.12);transform:scale(.94)}
.clue{opacity:1;color:#7f899c;transform:scale(1)}.cell.seen .clue{opacity:1;color:#a1aabd}.cell.cage-focus .clue,.cell.selected .clue{opacity:1}
.notes3{position:absolute;inset:0;pointer-events:none;font-size:clamp(7px,2.1vw,10px);font-weight:900;color:#b9c3d9;font-variant-numeric:tabular-nums}.note{position:absolute;min-width:13px;height:13px;padding:0 2px;border-radius:5px;display:grid;place-items:center;background:rgba(8,11,16,.44);border:1px solid rgba(117,130,154,.18);line-height:1}.note-tr{right:4px;top:4px}.note-br{right:4px;bottom:4px}.note-bl{left:4px;bottom:4px}.cell.selected .note,.cell.cage-focus .note{background:rgba(25,31,45,.78);border-color:rgba(143,157,191,.28);color:#d7def0}.cell.fixed .notes3{display:none}
.control-wall{width:min(100%,560px);padding:10px 14px calc(10px + var(--safeB));background:#08090d;border-top:1px solid #222936;box-shadow:0 -19px 52px rgba(0,0,0,.62)}
.control-wall:before{background:#08090d}.pad{gap:8px}.key{touch-action:manipulation;min-width:0}.actions{grid-template-columns:60px 60px 60px minmax(0,1fr);gap:8px;margin-top:9px}.iconbtn,.claim{touch-action:manipulation}.clearbtn{color:#b9c0cd}.clearbtn.armed{color:#ffb4bf;border-color:#6f3742;background:#28171d;box-shadow:inset 0 0 0 1px rgba(255,129,147,.08)}.clearbtn.armed span{color:#f1a3af}.claim{min-width:0;padding-left:15px;padding-right:10px}.claim-copy{overflow:hidden;text-overflow:ellipsis}.claim-icon{flex:none}
.focusbar.idle{opacity:.82}.sum-badge{color:#e1e6ff;background:#19202d;border-color:#39445a}
.sheetback{padding:12px max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}.sheet{scrollbar-width:none}.sheet::-webkit-scrollbar{display:none}.sheet.profile-sheet,.sheet.leader-sheet{padding:18px 16px calc(18px + var(--safeB))}.sheet.profile-sheet{overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch}.sheet.leader-sheet{overflow:hidden}.sheet-kicker{font-size:7.5px;font-weight:950;letter-spacing:.15em;color:var(--muted);margin-bottom:4px}
.profile-head{display:flex;align-items:center;gap:12px;margin-bottom:16px}.profile-name{min-width:0}.profile-avatar{width:50px;height:50px;flex:none;border-radius:16px;display:grid;place-items:center;background:linear-gradient(145deg,#2b2017,#17120f);border:1px solid #5a402c;color:#ffc28f;font-size:18px;font-weight:950;box-shadow:inset 0 1px rgba(255,255,255,.04)}.profile-head h2{margin:0;font-size:24px;line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-sub{margin-top:5px;font-size:8px;color:#a98b74;font-weight:850;letter-spacing:.08em}.profile-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:10px}.pstat{min-width:0;border:1px solid #2d3442;border-radius:15px;background:#141821;padding:12px 9px}.pstat strong{display:block;font-size:20px;line-height:1;font-weight:950;font-variant-numeric:tabular-nums}.pstat span{display:block;margin-top:6px;font-size:6.7px;color:var(--muted);font-weight:900;letter-spacing:.08em;white-space:nowrap}.security-card{min-height:58px;border:1px solid #334b42;background:#111c18;border-radius:15px;padding:10px 12px;display:flex;align-items:center;gap:10px;margin-bottom:11px}.security-icon{width:34px;height:34px;border-radius:11px;border:1px solid #365a4c;background:#15271f;display:grid;place-items:center;color:#8ce2bb;flex:none}.security-icon svg{width:18px;height:18px}.security-copy{min-width:0;display:grid;gap:3px}.security-copy b{font-size:10px}.security-copy span{font-size:7.5px;color:#86aa9a}.security-count{margin-left:auto;font-size:9px;font-weight:950;color:#b9f1d9;white-space:nowrap}.profile-actions{display:grid;grid-template-columns:1fr auto;gap:8px}.profile-actions .primary{min-width:0}.profile-actions .secondary{width:92px;margin:0}.profile-sheet .primary,.profile-sheet .secondary{height:48px}
.lbhero{display:flex;align-items:center;gap:12px;margin-bottom:13px}.lbmark{width:48px;height:48px;flex:none;border-radius:15px;display:grid;place-items:center;background:linear-gradient(145deg,#15261f,#0f1815);border:1px solid #315345;color:#91e1bd;box-shadow:inset 0 1px rgba(255,255,255,.035)}.lbmark svg{width:23px;height:23px}.lbhero h2{margin:0;font-size:23px}.lbhero p{margin:5px 0 0;font-size:8px;line-height:1.4}.lb-tabs{gap:7px;margin:0 0 12px}.tab{height:40px;border-radius:13px}.tab.active{background:#17261f;border-color:#3f6b58;color:#a5e6c7;box-shadow:inset 0 0 0 1px rgba(117,223,179,.05)}.lb-head{display:grid;grid-template-columns:35px minmax(0,1fr) 54px 50px;gap:7px;padding:0 9px 6px;color:#687284;font-size:6.5px;font-weight:950;letter-spacing:.09em}.lb-head span:nth-child(n+3){text-align:right}.lb{display:grid;gap:6px;max-height:min(55dvh,470px);overflow:auto;overscroll-behavior:contain;padding-bottom:1px}.lbrow{display:grid;grid-template-columns:35px minmax(0,1fr) 54px 50px;gap:7px;align-items:center;min-height:50px;border:1px solid #252c39;border-radius:14px;background:#12161e;padding:6px 9px;font-size:9px}.lbrow .rankbadge{width:27px;height:27px;border-radius:9px;display:grid;place-items:center;border:1px solid #303847;background:#171c25;color:#8993a5;font-size:9px;font-weight:950}.lbrow.top1{border-color:#5e5332;background:linear-gradient(90deg,#1d1a11,#13171d)}.lbrow.top1 .rankbadge{border-color:#806e38;background:#2b2515;color:#f3d77f}.lbrow.top2 .rankbadge{border-color:#555e6d;background:#1c222c;color:#d5dbe6}.lbrow.top3 .rankbadge{border-color:#674b39;background:#251a15;color:#e6ad88}.lbplayer{min-width:0;display:grid;gap:3px}.lbplayer b{font-size:10.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lbplayer small{font-size:6.6px;color:#727d90;font-weight:800}.lbmetric{text-align:right;display:grid;gap:2px}.lbmetric b{font-size:12px;font-variant-numeric:tabular-nums}.lbmetric span{font-size:5.8px;color:#687284;font-weight:900;letter-spacing:.06em}.lbempty{border:1px dashed #303846;border-radius:16px;padding:24px 14px;text-align:center;color:#7d8799;font-size:9px}.lbempty b{display:block;color:#c3cad8;font-size:11px;margin-bottom:5px}.lb-web-link{display:flex;justify-content:center;align-items:center;min-height:38px;margin-top:8px;border:1px solid #304039;border-radius:12px;background:#111a16;color:#9ed9bc;font-size:8px;font-weight:950;letter-spacing:.07em;text-decoration:none}
@media(max-width:370px){.app{padding-left:10px;padding-right:10px;gap:6px}.actions{grid-template-columns:48px 48px 48px minmax(0,1fr);gap:6px}.iconbtn,.claim{height:47px}.iconbtn span{font-size:5.5px}.claim{font-size:8.6px;padding-left:10px;padding-right:7px}.claim-icon{width:25px;height:25px}.note{right:auto;min-width:11px;height:11px;border-radius:4px;font-size:7px}.note-tr{right:3px;top:3px}.note-br{right:3px;bottom:3px}.note-bl{left:3px;bottom:3px}.profile-stats{gap:5px}.pstat{padding:10px 6px}.pstat strong{font-size:17px}.pstat span{font-size:5.8px}.profile-actions .secondary{width:82px}.lb-head,.lbrow{grid-template-columns:31px minmax(0,1fr) 48px 45px;gap:5px}.lbrow{padding-left:7px;padding-right:7px}}
@media(max-height:680px){.app{padding-top:calc(8px + var(--safeT));gap:5px}.sheet.profile-sheet,.sheet.leader-sheet{max-height:94dvh}.profile-head{margin-bottom:10px}.profile-avatar{width:42px;height:42px;border-radius:14px}.profile-head h2{font-size:21px}.profile-stats{margin-bottom:7px}.pstat{padding-top:9px;padding-bottom:9px}.security-card{min-height:50px;margin-bottom:8px}.profile-sheet .primary,.profile-sheet .secondary{height:43px}.lbhero{margin-bottom:8px}.lbmark{width:42px;height:42px}.lbhero h2{font-size:20px}.lb-tabs{margin-bottom:8px}.tab{height:35px}.lb{max-height:52dvh}.lbrow{min-height:44px}}
@media(orientation:landscape) and (max-height:520px){.app{width:min(100%,820px);padding:calc(6px + var(--safeT)) 218px 6px 10px;grid-template-rows:auto auto auto minmax(0,1fr) auto;gap:4px}.control-wall{left:auto;right:0;top:0;bottom:0;transform:none;width:208px;padding:calc(8px + var(--safeT)) 9px calc(8px + var(--safeB));border-top:0;border-left:1px solid #202633;display:grid;align-content:center}.pad{grid-template-columns:repeat(2,1fr);gap:6px}.key{height:46px}.actions{grid-template-columns:repeat(3,1fr);grid-template-rows:auto auto;gap:6px}.iconbtn{height:44px}.claim{grid-column:1/-1;height:46px}.sheet.profile-sheet,.sheet.leader-sheet{max-height:94dvh;overflow:auto}}


.transition-share{margin:13px auto 0;height:42px;padding:0 18px;border:1px solid #3b465c;border-radius:13px;background:#151b26;color:#dbe1f2;font-size:9px;font-weight:950;letter-spacing:.1em}.transition-share:active{transform:scale(.97)}
.crown-tag{display:inline-block;margin-left:6px;padding:2px 6px;border:1px solid #735f2c;border-radius:999px;color:#f0d47a;background:#241e10;font-size:6px;font-weight:950;letter-spacing:.08em}.practice-sheet .practice-score{display:flex;align-items:center;justify-content:center;width:76px;height:76px;margin:6px auto 16px;border:1px solid #496458;border-radius:24px;background:#12221c;color:#91e1bd;font-size:26px;font-weight:950}.practice-sheet .practice-actions{display:grid;gap:8px}.practice-sheet .secondary{margin-top:0}.practice-note{text-align:center;color:var(--muted);font-size:8px;margin:11px 0 0}.guest-live{color:#91e1bd}

.installbar{position:fixed;z-index:90;top:calc(8px + var(--safeT));left:50%;width:min(94vw,560px);transform:translate(-50%,-140%);opacity:0;display:grid;grid-template-columns:38px 1fr auto 34px;gap:10px;align-items:center;padding:9px 9px 9px 11px;border:1px solid var(--line-hi);border-radius:15px;background:color-mix(in srgb,var(--surface2) 94%,transparent);box-shadow:0 18px 55px rgba(0,0,0,.42);backdrop-filter:blur(18px);transition:transform .24s ease,opacity .2s ease}.installbar[hidden]{display:none}.installbar.show{transform:translate(-50%,0);opacity:1}.installbar-mark{width:34px;height:34px;display:grid;place-items:center;overflow:visible}.installbar-copy{min-width:0;display:flex;flex-direction:column;gap:2px}.installbar-copy b{font-size:11px;letter-spacing:.11em}.installbar-copy span{font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.installbar-action{height:34px;padding:0 14px;border:0;border-radius:9px;background:var(--text);color:var(--bg);font-weight:900;font-size:10px;letter-spacing:.09em}.installbar-x{width:32px;height:32px;border:0;background:transparent;color:var(--muted);font-size:22px;line-height:1}.updatebar{position:fixed;z-index:89;top:calc(8px + var(--safeT));left:50%;width:min(94vw,520px);transform:translate(-50%,-140%);opacity:0;display:grid;grid-template-columns:1fr auto auto;gap:8px;align-items:center;padding:10px 10px 10px 13px;border:1px solid var(--line-hi);border-radius:14px;background:color-mix(in srgb,var(--surface2) 96%,transparent);box-shadow:0 18px 55px rgba(0,0,0,.42);backdrop-filter:blur(18px);transition:transform .24s ease,opacity .2s ease}.updatebar[hidden]{display:none}.updatebar.show{transform:translate(-50%,0);opacity:1}.updatebar-copy{min-width:0;display:grid;gap:2px}.updatebar-copy b{font-size:10px;letter-spacing:.12em}.updatebar-copy span{font-size:10px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.updatebar-action,.updatebar-later{height:34px;padding:0 11px;border-radius:9px;font-size:10px;font-weight:900;letter-spacing:.06em}.updatebar-action{border:0;background:var(--text);color:var(--bg)}.updatebar-later{border:1px solid var(--line-hi);background:transparent;color:var(--muted)}.ad-choice-card{border:1px solid var(--line);border-radius:14px;padding:12px;background:var(--surface);display:grid;gap:8px}.ad-choice-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.ad-choice-head span{font-size:10px;font-weight:900;letter-spacing:.13em;color:var(--muted)}.ad-choice-head strong{font-size:9px;letter-spacing:.09em;color:var(--accent2)}.ad-choice-card p{margin:0;color:var(--muted);font-size:11px;line-height:1.45}.ad-choice-actions{display:grid;grid-template-columns:1fr 1fr auto;gap:6px;align-items:center}.ad-choice-actions button,.ad-choice-actions a{min-height:31px;border:1px solid var(--line-hi);border-radius:8px;background:var(--surface2);color:var(--text);display:grid;place-items:center;padding:0 8px;text-decoration:none;font-size:8px;font-weight:900;letter-spacing:.07em}.ad-choice-actions button:disabled{opacity:.45}.ad-choice-actions a{color:var(--muted);background:transparent}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.sheet{position:relative}.sheet-x{position:sticky;z-index:4;top:0;float:right;width:38px;height:38px;margin:-6px -4px 5px 10px;border:1px solid #323a4a;border-radius:12px;background:#161a23;color:#c8cfde;display:grid;place-items:center;font-size:19px;line-height:1}.sheet-x:active{transform:scale(.96);background:#202633}.sheet-x+*{clear:none}
.onboard-sheet{overflow:auto}.onboard-hero{padding:5px 1px 10px}.onboard-hero h2{font-size:27px;margin:5px 0 6px}.onboard-hero p{max-width:390px;margin:0}.onboard-steps{display:grid;gap:8px;margin:12px 0 15px}.onboard-step{display:grid;grid-template-columns:39px 1fr;gap:10px;align-items:center;min-height:58px;border:1px solid #2e3544;border-radius:16px;background:#141923;padding:9px 11px}.onboard-step i{width:34px;height:34px;border-radius:11px;border:1px solid #3a455c;background:#192031;display:grid;place-items:center;color:#dce3ff;font-style:normal;font-size:13px;font-weight:950}.onboard-step b{display:block;font-size:10px}.onboard-step span{display:block;margin-top:3px;color:var(--muted);font-size:8px;line-height:1.35}.onboard-foot{text-align:center;color:var(--dim);font-size:7.5px;font-weight:800;letter-spacing:.04em;margin-top:9px}
.board.coach-pulse{animation:coachPulse .85s ease 2}@keyframes coachPulse{50%{box-shadow:0 0 0 3px rgba(154,171,255,.28),0 0 34px rgba(105,129,255,.18)}}
.claim.ready:not(:disabled){box-shadow:0 12px 34px rgba(105,129,255,.34),0 0 0 1px rgba(216,222,255,.16),inset 0 1px rgba(255,255,255,.35)}
.cell.survivor{background:#1c2536!important;box-shadow:inset 0 0 0 2px #9aabff,inset 0 0 28px rgba(154,171,255,.14)!important;opacity:1!important}.cell.retiring{opacity:.28!important}
.winner-label{margin-top:11px;font-size:7px;color:#727d91;font-weight:950;letter-spacing:.16em}.carry-block{margin-top:17px}.carry-strip{display:grid;grid-template-columns:repeat(6,1fr);gap:7px;width:min(100%,330px);margin:8px auto 0}.carry-chip{aspect-ratio:1;border:1px solid #46557b;border-radius:13px;background:linear-gradient(180deg,#202944,#151b2a);display:grid;place-items:center;color:#edf0ff;font-size:19px;font-weight:950;box-shadow:inset 0 1px rgba(255,255,255,.05);animation:carryPop .38s cubic-bezier(.2,.8,.2,1) both}.carry-chip:nth-child(2){animation-delay:.05s}.carry-chip:nth-child(3){animation-delay:.1s}.carry-chip:nth-child(4){animation-delay:.15s}.carry-chip:nth-child(5){animation-delay:.2s}.carry-chip:nth-child(6){animation-delay:.25s}@keyframes carryPop{from{opacity:0;transform:translateY(8px) scale(.9)}to{opacity:1;transform:none}}
.transition-card.you-discovered .seal{box-shadow:0 20px 80px rgba(117,223,179,.28);background:radial-gradient(circle at 34% 28%,#ddfff0,#82deb8 60%,#48a881)}.transition-card.you-discovered .winner-label{color:#83d5b2}.transition-card.you-discovered h1{color:#eafff6}
.lbrow.you{border-color:#455377;background:#171d2a}.lbplayer small .you-tag,.you-tag{display:inline-block;margin-left:5px;padding:2px 5px;border-radius:999px;background:#273253;color:#ced7ff;font-size:6px;font-weight:950;letter-spacing:.08em}
@media(max-width:699px){.help-sheet{max-height:calc(100dvh - 16px);padding-top:15px;padding-bottom:calc(15px + var(--safeB))}.help-sheet .rules{gap:6px;margin:10px 0}.help-sheet .rule{min-height:46px;grid-template-columns:40px minmax(0,1fr);gap:8px;padding:6px 8px}.help-sheet .rule i{width:30px;height:30px}.help-sheet>p{margin:0 0 6px}.help-sheet .primary{height:46px}}
@media(max-width:699px) and (max-height:620px){.help-sheet{padding-top:9px;padding-bottom:calc(9px + var(--safeB))}.help-sheet h2{margin-bottom:3px}.help-sheet>p{margin-bottom:4px}.help-sheet .rules{gap:3px;margin:5px 0}.help-sheet .rule{min-height:40px;grid-template-columns:31px minmax(0,1fr);gap:5px;padding:3px 5px}.help-sheet .rule i{width:26px;height:26px}.help-sheet .primary{height:41px}}
@media(prefers-contrast:more){:root{--line:#41495a;--line-hi:#59647a;--muted:#b5bdca;--dim:#929bab}.cell{border-color:#424b5d}.clue{opacity:1}.cell.seen .clue{opacity:1}.headbtn,.key,.iconbtn,.sheet,.authcard{border-color:#505a70}.focusbar.idle{opacity:.9}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
/* v2.9.1 unified brand + player retention UI */
.word{display:flex;align-items:baseline;letter-spacing:.11em}.word strong{font:inherit;color:#aeb9ff}.profile-sheet{max-height:92dvh;padding-bottom:calc(22px + var(--safeB))}.profile-loading{min-height:220px;display:grid;place-items:center;text-align:center;align-content:center;gap:6px}.profile-loading b{font-size:14px}.profile-loading span{font-size:9px;color:var(--muted)}.profile-hero{display:flex;align-items:center;gap:12px;margin-bottom:12px}.profile-avatar{width:54px;height:54px;border-radius:18px;background:radial-gradient(circle at 35% 25%,#27314b,#121722 72%);border-color:#44516d;color:#dfe5ff}.profile-name{flex:1;min-width:0}.profile-name h2{font-size:25px}.profile-sub{display:flex;align-items:center;gap:6px;color:#8edeb9}.online-pip{width:6px;height:6px;border-radius:50%;background:#75dfb3;box-shadow:0 0 10px rgba(117,223,179,.55)}.profile-share{width:42px;height:42px;flex:none;border:1px solid #354055;border-radius:13px;background:#151a24;color:#c9d2e7;display:grid;place-items:center}.profile-share svg{width:19px;height:19px}.season-card{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:9px}.season-card>div{border:1px solid #3c4050;background:linear-gradient(155deg,#1b1b20,#13151b);border-radius:16px;padding:12px}.season-card span{display:block;font-size:6.7px;color:#d6bd72;font-weight:950;letter-spacing:.1em}.season-card strong{display:block;margin-top:6px;font-size:22px;line-height:1}.season-card small{font-size:7px;color:#9099aa;letter-spacing:.08em}.profile-stats-v27{grid-template-columns:repeat(3,1fr);gap:6px;margin-bottom:9px}.profile-stats-v27 .pstat{padding:10px 8px;border-radius:13px}.profile-stats-v27 .pstat strong{font-size:18px}.profile-stats-v27 .pstat span{font-size:5.7px;white-space:normal;line-height:1.15}.milestone{border:1px solid #2d3545;border-radius:15px;background:#121721;padding:11px 12px;margin-bottom:10px}.milestone-top{display:flex;align-items:end;justify-content:space-between;gap:10px}.milestone-top span,.profile-section-title span{display:block;font-size:6.6px;color:#7f899b;font-weight:950;letter-spacing:.1em}.milestone-top b{display:block;margin-top:2px;font-size:10px}.milestone-top>strong{font-size:8px;color:#aeb9ff}.milestone-track{height:5px;border-radius:999px;background:#222a39;margin-top:9px;overflow:hidden}.milestone-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#8197ff,#c3ccff)}.profile-section-title{display:flex;justify-content:space-between;align-items:center;margin:12px 1px 7px}.profile-section-title small{font-size:6.5px;color:#667084}.achievements{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:10px}.achievement{min-width:0;min-height:51px;border:1px solid #2b3342;border-radius:13px;background:#12161e;padding:8px;display:grid;grid-template-columns:25px minmax(0,1fr);gap:7px;align-items:center}.achievement i{font-style:normal;width:24px;height:24px;border-radius:8px;display:grid;place-items:center;background:#1c2330;color:#657086;font-size:10px}.achievement b{display:block;font-size:7.4px}.achievement span{display:block;margin-top:2px;font-size:5.8px;color:#6f798b;line-height:1.2}.achievement.unlocked{border-color:#44516d;background:#151b27}.achievement.unlocked i{background:#202b3f;color:#cbd5ff}.achievement.unlocked b{color:#e9edff}.invite-card{width:100%;min-height:58px;border:1px solid #3b4966;border-radius:15px;background:linear-gradient(135deg,#182238,#111722);color:#e9edff;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;margin-bottom:9px}.invite-card span{display:grid;gap:3px}.invite-card b{font-size:9px;letter-spacing:.06em}.invite-card small{font-size:7px;color:#8f9bb3}.invite-card>strong{font-size:8px;color:#cbd5ff;white-space:nowrap}.profile-actions{grid-template-columns:1fr 1fr;gap:7px}.profile-actions .primary,.profile-actions .secondary{height:44px}.profile-link{display:flex;align-items:center;justify-content:center;margin:0;text-decoration:none;font-size:8px}.text-action{grid-column:1/-1;border:0;background:transparent;color:#747e90;height:30px;font-size:7px;font-weight:900;letter-spacing:.08em}.security-card{margin-bottom:9px}.lb-status{display:flex;justify-content:space-between;align-items:center;padding:0 2px 7px;font-size:6.5px;font-weight:900;letter-spacing:.09em;color:#697386}.leader-sheet .lb{min-height:160px}.leader-sheet .lbrow{transition:background .12s,border-color .12s}
@media(max-width:370px){.word{font-size:14px;letter-spacing:.085em}.profile-stats-v27{grid-template-columns:repeat(2,1fr)}.achievements{grid-template-columns:1fr 1fr}.profile-avatar{width:48px;height:48px}.profile-name h2{font-size:22px}.season-card strong{font-size:19px}}
@media(max-height:620px){.profile-sheet{max-height:96dvh}.profile-hero{margin-bottom:8px}.season-card,.profile-stats-v27,.milestone,.achievements,.invite-card,.security-card{margin-bottom:6px}.profile-section-title{margin-top:7px}.achievement{min-height:46px}.invite-card{min-height:50px}}

/* v2.9.1 PUZRU profile + Top 50 Crown race */
.profile-sheet{height:min(760px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);overflow:hidden;padding:12px 14px calc(12px + var(--safeB));display:flex;flex-direction:column}.profile-sheet .sheet-x{position:absolute;right:12px;top:12px;float:none;width:36px;height:36px;margin:0}.profile-hero{min-height:48px;margin:0 44px 8px 0;gap:9px}.profile-hero .profile-avatar{width:44px;height:44px;border-radius:14px;font-size:16px}.profile-name h2{font-size:21px}.profile-grid{min-height:0;display:grid;gap:7px}.profile-left,.profile-right{min-height:0;display:grid;gap:7px}.profile-crown-grid{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:6px}.profile-crown-grid>div{min-width:0;height:58px;border:1px solid #343c50;border-radius:13px;background:linear-gradient(155deg,#191b24,#12151c);padding:8px}.profile-crown-grid>div:first-child{border-color:#665a34;background:linear-gradient(155deg,#231f14,#15161a)}.profile-crown-grid span,.profile-core span{display:block;font-size:5.8px;color:#858fa2;font-weight:950;letter-spacing:.08em;line-height:1.15}.profile-crown-grid>div:first-child span{color:#d9c274}.profile-crown-grid strong{display:block;margin-top:5px;font-size:18px;line-height:1;font-variant-numeric:tabular-nums}.profile-crown-grid small{font-size:6px;color:#8c96a8}.profile-core{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.profile-core>div{height:45px;border:1px solid #2b3342;border-radius:12px;background:#12161e;padding:7px 8px}.profile-core strong{display:block;font-size:15px;line-height:1;margin-bottom:4px;font-variant-numeric:tabular-nums}.profile-sheet .milestone{padding:8px 10px;margin:0;border-radius:12px}.profile-sheet .milestone-track{margin-top:6px}.profile-sheet .profile-section-title{margin:0 1px}.profile-sheet .profile-section-title small{font-size:5.9px}.profile-sheet .achievements{grid-template-columns:repeat(3,1fr);gap:5px;margin:0}.profile-sheet .achievement{min-height:43px;padding:6px;grid-template-columns:20px minmax(0,1fr);gap:5px;border-radius:11px}.profile-sheet .achievement i{width:20px;height:20px;border-radius:7px;font-size:8px}.profile-sheet .achievement b{font-size:6.4px}.profile-sheet .achievement span{font-size:5.2px}.profile-sheet .invite-card{min-height:43px;margin:0;padding:7px 10px;border-radius:12px}.profile-sheet .security-card{width:100%;height:43px;min-height:43px;margin:0;padding:6px 9px;border-radius:12px;text-align:left;color:inherit}.profile-sheet .security-icon{width:29px;height:29px;border-radius:9px}.profile-sheet .security-icon svg{width:15px;height:15px}.profile-sheet .security-copy b{font-size:8px}.profile-sheet .security-copy span{font-size:6.4px}.profile-sheet .security-count{font-size:7px}.profile-signout{width:100%;height:48px;border:1px solid #4c3038;border-radius:13px;background:#1d1216;color:#ffb8c3;font-size:8px;font-weight:950;letter-spacing:.11em}.profile-signout:active{transform:scale(.985);background:#29161c}
.leader-sheet{height:min(760px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);display:flex;flex-direction:column;overflow:hidden;padding:13px 14px calc(13px + var(--safeB))}.leader-sheet .sheet-x{position:absolute;right:12px;top:12px;float:none;width:36px;height:36px;margin:0}.leader-sheet .lbhero{margin:0 44px 7px 0}.leader-sheet .lbmark{width:40px;height:40px;border-radius:13px}.leader-sheet .lbhero h2{font-size:19px}.leader-sheet .lbhero p{font-size:7px;margin-top:3px}.leader-sheet .lb-tabs{flex:none;margin:0 0 7px}.leader-sheet .tab{height:35px}.leader-sheet .lb-status{flex:none;padding-bottom:6px}.lb-you-strip{flex:none;min-height:39px;display:grid;grid-template-columns:47px minmax(0,1fr) auto;gap:7px;align-items:center;margin:0 0 6px;padding:6px 9px;border:1px solid #4a5778;border-radius:12px;background:linear-gradient(90deg,#1a2131,#141923)}.lb-you-strip>span{font-size:6px;color:#aeb9ff;font-weight:950;letter-spacing:.1em}.lb-you-strip b{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:9px}.lb-you-strip strong{font-size:8px;color:#cfd7ef;white-space:nowrap}.lb-podium{flex:none;height:98px;display:grid;grid-template-columns:1fr 1.12fr 1fr;gap:6px;align-items:end;margin-bottom:7px}.podium-card{min-width:0;height:79px;border:1px solid #3a4354;border-radius:14px 14px 10px 10px;background:linear-gradient(180deg,#1a202a,#12161d);padding:7px 6px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}.podium-card.first{height:96px;border-color:#756536;background:radial-gradient(circle at 50% 0,#3a3118,#171713 72%);box-shadow:0 10px 30px rgba(173,139,47,.09)}.podium-rank{font-size:13px;color:#97a1b3;font-weight:950}.podium-card.first .podium-rank{color:#f0d47a;font-size:19px}.podium-card b{display:block;width:100%;margin:3px 0 2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:8px}.podium-card strong{font-size:12px;font-variant-numeric:tabular-nums}.podium-card small{font-size:5.3px;color:#737e91;font-weight:900;letter-spacing:.05em}.leader-sheet .lb-head{flex:none;grid-template-columns:34px minmax(0,1fr) 72px;padding-bottom:4px}.leader-sheet .lb{min-height:0;max-height:none;flex:1;overflow:auto;gap:4px;padding-right:2px;align-content:start;grid-auto-rows:max-content}.leader-sheet .lbrow{grid-template-columns:34px minmax(0,1fr) 72px;min-height:38px;padding:4px 8px;border-radius:11px}.leader-sheet .lbrow .rankbadge{width:24px;height:24px;border-radius:8px;font-size:7px}.leader-sheet .lbplayer{display:block}.leader-sheet .lbplayer b{font-size:8.5px}.leader-sheet .lbplayer small{display:none}.leader-sheet .lbmetric b{font-size:9.5px}.leader-sheet .lbmetric span{font-size:4.9px}.leader-sheet .lb-web-link{flex:none;min-height:32px;margin-top:6px}.leader-sheet .lbempty{padding:18px 12px}
@media(max-width:370px){.profile-sheet,.leader-sheet{padding-left:10px;padding-right:10px}.profile-crown-grid>div{padding-left:6px;padding-right:6px}.profile-crown-grid span,.profile-core span{font-size:5.2px}.profile-crown-grid strong{font-size:16px}.profile-sheet .achievement span{display:none}.leader-sheet .lb-head,.leader-sheet .lbrow{grid-template-columns:30px minmax(0,1fr) 64px}}
@media(max-height:620px) and (orientation:portrait){.profile-sheet{height:calc(100dvh - 12px);max-height:calc(100dvh - 12px);padding-top:9px;padding-bottom:calc(9px + var(--safeB))}.profile-sheet .sheet-x{top:9px;right:9px;width:32px;height:32px}.profile-hero{min-height:39px;margin-bottom:5px}.profile-hero .profile-avatar{width:38px;height:38px}.profile-name h2{font-size:18px}.profile-grid,.profile-left,.profile-right{gap:5px}.profile-crown-grid>div{height:49px;padding-top:6px}.profile-core>div{height:39px;padding-top:5px}.profile-sheet .milestone{padding:6px 8px}.profile-sheet .achievement{min-height:36px}.profile-sheet .invite-card,.profile-sheet .security-card{height:38px;min-height:38px}.profile-signout{height:43px}.leader-sheet{height:calc(100dvh - 12px);max-height:calc(100dvh - 12px)}.leader-sheet .lb-podium{height:84px}.podium-card{height:66px}.podium-card.first{height:82px}}
@media(orientation:portrait) and (min-height:621px) and (max-width:699px){.profile-sheet{height:auto;max-height:calc(100dvh - 24px);padding:17px 16px calc(17px + var(--safeB));overflow-y:auto}.profile-sheet .sheet-x{top:14px;right:14px;width:38px;height:38px}.profile-hero{min-height:56px;margin:0 48px 12px 0}.profile-hero .profile-avatar{width:52px;height:52px;border-radius:16px}.profile-name h2{font-size:24px}.profile-grid,.profile-left,.profile-right{gap:9px}.profile-crown-grid{gap:7px}.profile-crown-grid>div{height:67px;padding:10px;border-radius:15px}.profile-crown-grid strong{font-size:21px}.profile-core{gap:7px}.profile-core>div{height:52px;padding:9px 10px;border-radius:13px}.profile-core strong{font-size:18px}.profile-sheet .milestone{padding:10px 11px;border-radius:13px}.profile-sheet .achievement{min-height:51px;padding:7px;grid-template-columns:23px minmax(0,1fr)}.profile-sheet .achievement i{width:23px;height:23px}.profile-sheet .invite-card,.profile-sheet .security-card{height:51px;min-height:51px;padding:8px 11px}.profile-signout{height:46px}}
@media(orientation:landscape) and (max-height:520px){.sheetback{align-items:center;padding:6px}.profile-sheet,.leader-sheet{width:min(100%,780px);height:calc(100dvh - 12px);max-height:calc(100dvh - 12px);padding:9px 11px calc(9px + var(--safeB));overflow:hidden}.profile-sheet .sheet-x,.leader-sheet .sheet-x{top:8px;right:8px;width:31px;height:31px}.profile-hero{min-height:36px;margin-bottom:5px}.profile-hero .profile-avatar{width:36px;height:36px}.profile-name h2{font-size:17px}.profile-grid{grid-template-columns:1fr 1fr;gap:8px}.profile-left,.profile-right{gap:5px}.profile-crown-grid>div{height:49px}.profile-core>div{height:38px}.profile-sheet .achievement{min-height:35px}.profile-sheet .invite-card,.profile-sheet .security-card{height:38px;min-height:38px}.profile-signout{height:40px}.leader-sheet .lbhero{margin-bottom:4px}.leader-sheet .lb-tabs{position:absolute;top:9px;right:48px;width:260px;margin:0}.leader-sheet .lb-status{padding-bottom:4px}.leader-sheet .lb-podium{height:75px}.podium-card{height:59px}.podium-card.first{height:73px}.leader-sheet .lbrow{min-height:35px} }

/* v2.9.1 theme, transition monetization, fair-play and install UX */
:root{--canvas:var(--bg);--control:#0d1016;--control2:#141821;--panel:#11141b;--panel2:#151923;--board-shell:#0b0d12;--cell:#10131a;--cell-focus:#171d2b;--cell-selected:#20283b;--cell-fixed:#121722;--overlay:rgba(8,9,13,.965);--ad-frame:#0b0e14;--theme-shadow:0 26px 78px rgba(0,0,0,.43)}
.themebtn .sun-icon{display:none}.themebtn .moon-icon{display:block}.themebtn{position:relative;overflow:hidden;color:#c4cde0}.themebtn svg{position:static;grid-area:1/1;place-self:center;pointer-events:none;transform:none}.top-actions{flex-wrap:nowrap}
@media(hover:none) and (pointer:coarse){.sheetback{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}}
.transition-card{width:min(100%,440px);max-height:calc(100dvh - 20px);display:flex;flex-direction:column;align-items:center;justify-content:center}.transition-card .seal{width:62px;height:62px;border-radius:20px;margin-bottom:10px}.transition-card .seal svg{width:30px;height:30px}.transition-card h1{font-size:clamp(24px,7vw,30px);margin:5px 0 3px}.transition-card p{font-size:10px}.carry-block{width:100%;margin-top:9px}.chainline{margin-top:0}.carry-strip{width:min(100%,300px);margin-top:6px;gap:6px}.carry-chip{border-radius:11px;font-size:16px}.transition-ad{width:100%;display:grid;place-items:center;margin-top:9px}.transition-ad[hidden]{display:none!important}.ad-label{font-size:6.5px;line-height:1;color:#737d8d;font-weight:900;letter-spacing:.15em;margin-bottom:5px}.ad-unit{position:relative;display:block;width:300px;height:250px;max-width:calc(100vw - 20px);border:1px solid #2b3342;border-radius:18px;overflow:hidden;background:var(--ad-frame);box-shadow:0 14px 42px rgba(0,0,0,.23)}.ad-unit iframe{display:block;position:absolute;inset:0;width:300px;height:250px;border:0}.ad-unit .puzru-adsense-slot{display:inline-block;width:300px;height:250px}.transition-bottom{width:min(100%,310px);display:flex;align-items:end;justify-content:space-between;gap:16px;margin-top:8px}.transition-bottom>div{display:grid;text-align:left}.transition-bottom .count{font-size:44px;line-height:.88;margin:0 0 3px}.transition-share{height:38px;margin:0;padding:0 14px;flex:none}
.fairplay-sheet{text-align:center;max-width:430px}.fairplay-shield{width:58px;height:58px;border-radius:19px;margin:2px auto 12px;display:grid;place-items:center;border:1px solid #52618c;background:#19223a;color:#dce3ff;font-size:23px}.fairplay-box{min-height:72px;display:grid;place-items:center;margin:14px 0}.fairplay-note{font-size:7.5px;color:var(--dim);line-height:1.45}.fairplay-sheet .sheet-x{display:none}
.profile-sheet{container-type:inline-size}.profile-sheet .profile-grid{align-content:start}.profile-crown-grid>div,.profile-core>div,.profile-sheet .achievement,.profile-sheet .invite-card,.profile-sheet .security-card{transition:background .14s,border-color .14s}.profile-signout{margin-top:0}
@media(min-width:700px) and (min-height:560px){.sheetback{align-items:center}.sheet.profile-sheet{width:min(900px,calc(100vw - 40px));height:auto;min-height:430px;max-height:min(86dvh,650px);padding:22px 22px calc(22px + var(--safeB));border-radius:30px}.profile-sheet .sheet-x{top:18px;right:18px;width:40px;height:40px}.profile-hero{margin:0 54px 18px 0;min-height:62px}.profile-hero .profile-avatar{width:58px;height:58px;border-radius:18px;font-size:20px}.profile-name h2{font-size:29px}.profile-grid{grid-template-columns:minmax(0,1.18fr) minmax(280px,.82fr);gap:16px}.profile-left,.profile-right{gap:10px}.profile-crown-grid{gap:9px}.profile-crown-grid>div{height:78px;padding:12px;border-radius:17px}.profile-crown-grid strong{font-size:25px}.profile-crown-grid span,.profile-core span{font-size:6.6px}.profile-core{gap:9px}.profile-core>div{height:64px;padding:10px 12px;border-radius:15px}.profile-core strong{font-size:22px}.profile-sheet .milestone{padding:12px 13px;border-radius:15px}.profile-sheet .achievements{grid-template-columns:1fr;gap:7px}.profile-sheet .achievement{min-height:57px;padding:9px;grid-template-columns:28px minmax(0,1fr);gap:8px;border-radius:14px}.profile-sheet .achievement i{width:28px;height:28px}.profile-sheet .achievement b{font-size:8px}.profile-sheet .achievement span{font-size:6.5px}.profile-sheet .invite-card,.profile-sheet .security-card{height:57px;min-height:57px;border-radius:15px;padding:9px 12px}.profile-signout{height:50px}}
.leader-sheet .lb-tabs{grid-template-columns:repeat(3,1fr)}
.crew-panel{display:grid;gap:12px;min-height:0;padding:1px 2px 8px}.crew-view{display:grid;gap:12px}.crew-panel-status{position:sticky;top:-1px;z-index:8;display:none;align-items:center;min-height:42px;border:1px solid var(--line-hi);border-radius:13px;background:var(--surface2);color:var(--text);padding:9px 12px;font-size:10px;font-weight:900;letter-spacing:.035em;box-shadow:0 10px 26px rgba(0,0,0,.18)}.crew-panel-status.show{display:flex}.crew-panel-status[data-tone="success"]{border-color:#356f5a;background:#10231c;color:#bdf3d8}.crew-panel-status[data-tone="error"]{border-color:#72404a;background:#2a151b;color:#ffc3cc}.crew-panel-status.show+.crew-subtabs{top:49px}.crew-subtabs{position:sticky;top:-1px;z-index:7;display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:4px;border:1px solid var(--line);border-radius:14px;background:var(--surface);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}.crew-subtab{min-height:42px;border:0;border-radius:10px;background:transparent;color:var(--muted);font-size:9px;font-weight:950;letter-spacing:.055em}.crew-subtab.active{background:var(--surface3);color:var(--text);box-shadow:inset 0 0 0 1px var(--line-hi)}.crew-subtab:disabled{opacity:.32}.crew-panel-card,.crew-hero-card,.crew-welcome{border:1px solid var(--line);border-radius:18px;background:linear-gradient(155deg,var(--surface2),var(--surface));padding:15px;display:grid;gap:12px;box-shadow:inset 0 1px rgba(255,255,255,.025)}.crew-hero-card{padding:17px}.crew-welcome{text-align:center;padding:22px 18px;background:radial-gradient(circle at 50% 0,rgba(117,223,179,.08),transparent 58%),linear-gradient(155deg,var(--surface2),var(--surface))}.crew-welcome-mark{width:54px;height:54px;margin:0 auto 2px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(145deg,#253249,#141a24);border:1px solid #42516a;color:#cdd6ff;font-size:21px;font-weight:1000}.crew-welcome h3,.crew-panel-card h3,.crew-hero-card h3{margin:0;font-size:18px;line-height:1.08;letter-spacing:-.035em}.crew-welcome p,.crew-panel-card p,.crew-hero-card p{margin:0;color:var(--muted);font-size:11px;line-height:1.55}.crew-eyebrow{font-size:8px;color:var(--good);font-weight:950;letter-spacing:.13em}.crew-benefits{display:flex;justify-content:center;flex-wrap:wrap;gap:7px}.crew-benefits span,.crew-permanent,.crew-state,.crew-section-title>span{display:inline-flex;align-items:center;min-height:27px;padding:0 9px;border:1px solid var(--line);border-radius:999px;background:var(--surface3);color:var(--muted);font-size:7.5px;font-weight:900;letter-spacing:.045em}.crew-hero-top,.crew-section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.crew-state.open{color:#8ee2bb;border-color:#356b57;background:#12231d}.crew-state.closed{color:#e7c579;border-color:#635536;background:#201c12}.crew-description{font-size:12px!important;color:var(--text)!important}.crew-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.crew-facts span{min-height:58px;border:1px solid var(--line);border-radius:13px;background:var(--surface3);display:grid;place-items:center;align-content:center;gap:4px;color:var(--muted);font-size:7.5px;font-weight:900;letter-spacing:.055em;text-align:center}.crew-facts b{color:var(--text);font-size:15px;letter-spacing:-.03em}.crew-primary-actions{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:8px}.crew-panel button,.crew-secondary-link{min-height:44px;border:1px solid var(--line-hi);border-radius:12px;background:var(--surface3);color:var(--text);font-size:9px;font-weight:950;padding:9px 11px;display:flex;align-items:center;justify-content:center;text-align:center;text-decoration:none;transition:transform .08s,filter .12s,border-color .12s,background .12s}.crew-panel button:active,.crew-secondary-link:active{transform:scale(.985)}.crew-panel button.primary-mini{background:linear-gradient(135deg,#bbc5ff,#8499ff);color:#08090d;border-color:#99a9f1;box-shadow:0 9px 24px rgba(105,129,255,.16)}.crew-main-cta{min-height:48px!important;font-size:10px!important;letter-spacing:.045em}.crew-panel button.danger-mini,.crew-danger-link{border-color:#6f3c47;color:#ffb6c2;background:#29161c}.crew-danger-link,.crew-quiet{min-height:38px!important;background:transparent!important;border-color:transparent!important;color:var(--muted)!important;box-shadow:none!important}.crew-danger-link{display:flex;align-items:center;justify-content:center;font-size:8px;font-weight:900}.crew-panel button.confirming{border-color:#bd7d3d;background:#2b2115;color:#ffd29d}.crew-panel button:disabled{opacity:.44;cursor:not-allowed}.crew-panel input,.crew-panel textarea,.crew-panel select{width:100%;min-height:46px;border:1px solid var(--line-hi);border-radius:12px;background:var(--surface);color:var(--text);padding:10px 12px;font-size:11px}.crew-panel textarea{min-height:78px;resize:vertical;line-height:1.45}.crew-panel input::placeholder,.crew-panel textarea::placeholder{color:var(--dim)}.crew-panel-form{display:grid;gap:9px}.crew-panel-form.two{grid-template-columns:minmax(0,1fr) 116px}.crew-privacy{font-size:8px;color:var(--dim);line-height:1.5}.crew-search-row{display:grid;grid-template-columns:minmax(0,1fr) 72px;gap:8px}.crew-rank-scroll{display:grid;gap:7px}.crew-panel-row{width:100%;display:grid!important;grid-template-columns:38px minmax(0,1fr) 88px;gap:9px;align-items:center;min-height:52px!important;border:1px solid var(--line)!important;border-radius:13px!important;background:var(--surface)!important;padding:9px 10px!important;text-align:left!important;color:var(--text)!important}.crew-panel-row span:first-child{font-size:9px;color:var(--accent2);font-weight:950}.crew-panel-row b{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.crew-panel-row small{text-align:right;color:var(--muted);font-size:7.5px;line-height:1.35}.crew-member-list{display:grid}.crew-member-line{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;min-height:54px;padding:9px 2px;border-bottom:1px solid var(--line)}.crew-member-line:last-child{border-bottom:0}.crew-member-line>div{display:grid;gap:3px;min-width:0}.crew-member-line b{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.crew-member-line small{font-size:7px;color:var(--muted);font-weight:850;letter-spacing:.055em}.crew-member-line strong{font-size:9px;color:var(--accent2);font-variant-numeric:tabular-nums}.crew-member-manage{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.crew-advanced{border-top:1px solid var(--line);padding-top:9px}.crew-advanced summary{list-style:none;cursor:pointer;min-height:38px;display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:8px;font-weight:950;letter-spacing:.07em}.crew-advanced summary::-webkit-details-marker{display:none}.crew-advanced summary:after{content:'+';font-size:15px;color:var(--dim)}.crew-advanced[open] summary:after{content:'−'}.crew-advanced-body{display:grid;gap:9px;padding-top:6px}.crew-invite-banner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;border:1px solid #3b6757;border-radius:15px;background:#11241d;padding:12px}.crew-invite-banner>div{display:grid;gap:3px}.crew-invite-banner b{font-size:9px;color:#c8f4df;letter-spacing:.055em}.crew-invite-banner span{font-size:8px;color:#8eb6a5;line-height:1.35}.crew-invite-banner button{min-width:74px}.crew-create-card{border-color:#35445a}.crew-lbhero{margin-bottom:2px}@media(max-width:430px){.crew-primary-actions,.crew-panel-form.two,.crew-member-manage{grid-template-columns:1fr}.crew-search-row{grid-template-columns:minmax(0,1fr) 68px}.crew-panel-card,.crew-hero-card,.crew-welcome{padding:14px}.crew-facts{gap:5px}.crew-facts span{min-height:54px}.crew-panel button,.crew-secondary-link{min-height:46px}}

@media(max-height:650px){.transition-card .seal{width:52px;height:52px;margin-bottom:7px}.transition-card h1{font-size:22px}.carry-block{margin-top:6px}.ad-unit{border-radius:15px}.transition-bottom{margin-top:6px}.transition-bottom .count{font-size:38px}.transition-share{height:34px}}
@media(orientation:landscape) and (max-height:520px){.transition-card{width:min(760px,calc(100vw - 24px));display:grid;grid-template-columns:minmax(250px,1fr) 300px;grid-template-areas:"hero ad" "bottom ad";column-gap:22px;text-align:left}.transition-card>.seal,.transition-card>.overline,.transition-card>.winner-label,.transition-card>h1,.transition-card>p,.transition-card>.carry-block{grid-column:1}.transition-card>.seal{margin-left:0}.transition-ad{grid-area:ad;margin:0}.ad-unit{width:300px;height:250px}.transition-bottom{grid-area:bottom;margin-top:8px}.carry-strip{margin-left:0}.chainline{text-align:left}}
html[data-theme="light"]{color-scheme:light;--bg:#f3f5f9;--bg2:#edf1f6;--surface:#ffffff;--surface2:#f6f8fb;--surface3:#e9edf4;--line:#d7dde7;--line-hi:#bdc6d4;--text:#121722;--muted:#667184;--dim:#8b95a5;--accent:#5268d4;--accent2:#354cac;--accent-soft:#e4e9ff;--good:#177a58;--warn:#8a6513;--bad:#bd3950;--shadow:0 22px 58px rgba(46,57,78,.15);--control:#fff;--control2:#f4f6fa;--panel:#fff;--panel2:#f5f7fa;--board-shell:#e7ebf2;--cell:#fff;--cell-focus:#eef2ff;--cell-selected:#dfe6ff;--cell-fixed:#eef1f7;--overlay:rgba(239,243,249,.975);--ad-frame:#fff;--theme-shadow:0 22px 58px rgba(46,57,78,.15)}
html[data-theme="light"] .themebtn .moon-icon{display:none}html[data-theme="light"] .themebtn .sun-icon{display:block}
html[data-theme="light"] body,html[data-theme="light"] .app{background:var(--bg);color:var(--text)}html[data-theme="light"] .word strong{color:#5268d4}
html[data-theme="light"] .headbtn,html[data-theme="light"] .liveunit,html[data-theme="light"] .phase{background:#fff;border-color:#d5dbe5;color:#425069;box-shadow:0 2px 8px rgba(44,56,78,.04)}html[data-theme="light"] .headbtn:active{background:#e9edf5;color:#1c2b53;border-color:#bdc6d4}html[data-theme="light"] #leaderBtn{background:#edf7f2;border-color:#bfdbce;color:#1b7656}html[data-theme="light"] #profileBtn{background:#f8f2ec;border-color:#dfcbbb;color:#87582f}html[data-theme="light"] #helpBtn{background:#f1f3f8;border-color:#cbd2dd;color:#546174}
html[data-theme="light"] .phase.guest-live{background:#eaf7f0;border-color:#b6d8c8;color:#176b4f}html[data-theme="light"] .phase.sealed{background:#faf4df;border-color:#dfcf96;color:#76580f}html[data-theme="light"] .phase.transition{background:#e8edff;border-color:#bdc8f1;color:#4055b5}html[data-theme="light"] .notice.sealed{background:#fff8e5;border-color:#e2cf8d}html[data-theme="light"] .notice.mine{background:#ecfaf4;border-color:#93cdb4}html[data-theme="light"] .notice.mine b,html[data-theme="light"] .notice.mine>strong{color:#0f5c43}html[data-theme="light"] .notice.mine span{color:#315f50}html[data-theme="light"] .notice span{color:#596579}
html[data-theme="light"] .board-shell{background:linear-gradient(180deg,#eef1f6,#e3e8ef);border-color:#d1d7e1;box-shadow:var(--shadow),inset 0 1px rgba(255,255,255,.8)}html[data-theme="light"] .board{background:#fff;border-color:#aeb8c7}html[data-theme="light"] .cell{background:#fff;border-color:#d5dae3;color:#121722}html[data-theme="light"] .board.focused .cell:not(.cage-focus):not(.selected):not(.scan-candidate){background-color:#f3f5f8}html[data-theme="light"] .cell.cage-focus{background:#eef2ff}html[data-theme="light"] .cell.selected{background:#dfe6ff;box-shadow:inset 0 0 0 2px #5268d4,inset 0 0 20px rgba(82,104,212,.08)}html[data-theme="light"] .cell.fixed{background:#eef1f7;color:#111827}html[data-theme="light"] .cell.cage-focus .clue,html[data-theme="light"] .cell.selected .clue{color:#15225a;background:#dce4ff;border-color:#93a3df;box-shadow:none}html[data-theme="light"] .clue{color:#5f697a}html[data-theme="light"] .cell.seen .clue{color:#4f596a}html[data-theme="light"] .notes3{color:#46546b}html[data-theme="light"] .note{background:rgba(255,255,255,.82);border-color:#c7cfdd;color:#46546b}html[data-theme="light"] .cell.selected .note,html[data-theme="light"] .cell.cage-focus .note{background:#f8faff;border-color:#aebbe2;color:#24376f}
html[data-theme="light"] .focusbar{background:#fff;border-color:#d5dce7;box-shadow:0 4px 16px rgba(52,64,88,.04)}html[data-theme="light"] .sum-badge{background:#eef2ff;border-color:#c1cbea;color:#2d429f}html[data-theme="light"] .focusstatus{border-color:#d2d8e3}html[data-theme="light"] .focusbar.good .focusstatus{background:#e8f7f0;color:#176b4f;border-color:#b8dccc}html[data-theme="light"] .focusbar.bad .focusstatus{background:#fff0f2;color:#a82e44;border-color:#e2b5bd}
html[data-theme="light"] .control-wall,html[data-theme="light"] .control-wall:before,html[data-theme="light"] .control-wall:after,html[data-theme="light"] .control-wall-inner{background:#f7f9fc}html[data-theme="light"] .control-wall{border-color:#d8dee7;box-shadow:0 -14px 32px rgba(57,68,88,.10)}html[data-theme="light"] .key,html[data-theme="light"] .iconbtn{background:linear-gradient(180deg,#fff,#f0f3f7);border-color:#cfd6e1;color:#344158;box-shadow:inset 0 1px #fff,0 2px 6px rgba(44,54,73,.05)}html[data-theme="light"] .iconbtn span{color:#697487}html[data-theme="light"] .iconbtn.active{background:#e1e7ff;border-color:#9dabe0;color:#2e45a1}html[data-theme="light"] .claim{color:#10182d}
html[data-theme="light"] .overlay{background:var(--overlay)}html[data-theme="light"] .transition-card{color:#121722}html[data-theme="light"] .transition-card.you-discovered h1{color:#0f5c43}html[data-theme="light"] .transition-card.you-discovered .winner-label{color:#176b4f}html[data-theme="light"] .carry-chip{background:linear-gradient(180deg,#eef2ff,#dfe6ff);border-color:#9caad7;color:#1d337e;box-shadow:none}html[data-theme="light"] .ad-label{color:#768193}html[data-theme="light"] .ad-unit{border-color:#d4dae4;box-shadow:0 12px 34px rgba(52,63,84,.10)}html[data-theme="light"] .transition-share{background:#fff;border-color:#cdd5e1;color:#3c4960}
html[data-theme="light"] .sheetback,html[data-theme="light"] .authback{background:rgba(231,236,244,.82)}html[data-theme="light"] .sheet,html[data-theme="light"] .authcard{background:#fff;border-color:#d2d9e4;color:#151a24;box-shadow:0 24px 70px rgba(49,60,82,.16)}html[data-theme="light"] .sheet-x{background:#f1f4f8;border-color:#d2d9e4;color:#536075}html[data-theme="light"] .rule,html[data-theme="light"] .onboard-step,html[data-theme="light"] .lbrow{background:#f7f9fc;border-color:#dce1e8}html[data-theme="light"] .rule i,html[data-theme="light"] .onboard-step i{background:#e9edff;border-color:#c3cceb;color:#354bab}html[data-theme="light"] .secondary,html[data-theme="light"] .tab{background:#f3f5f9;border-color:#d2d9e4;color:#364359}html[data-theme="light"] .tab.active{background:#e7f5ee;border-color:#b7daca;color:#176b4f}html[data-theme="light"] .focus-help .help-question{color:#287a58}html[data-theme="light"] .crew-panel-status{box-shadow:0 10px 26px rgba(49,60,82,.10)}html[data-theme="light"] .crew-panel-status[data-tone="success"]{background:#eaf7f0;border-color:#b7d8c8;color:#176b4f}html[data-theme="light"] .crew-panel-status[data-tone="error"]{background:#fff0f2;border-color:#e1b8c0;color:#a72f45}html[data-theme="light"] .crew-subtabs{background:rgba(255,255,255,.94)}html[data-theme="light"] .crew-welcome-mark{background:linear-gradient(145deg,#fff,#e7ebf4);border-color:#c8d0dd;color:#4257bd}html[data-theme="light"] .crew-state.open{background:#eaf7f0;border-color:#b7d8c8;color:#176b4f}html[data-theme="light"] .crew-state.closed{background:#fff7e5;border-color:#dfcf96;color:#76580f}html[data-theme="light"] .crew-panel button.primary-mini{background:linear-gradient(135deg,#6679dd,#4e64cc);border-color:#4e64cc;color:#fff;box-shadow:0 8px 20px rgba(69,86,183,.15)}html[data-theme="light"] .crew-panel button.danger-mini,html[data-theme="light"] .crew-danger-link{background:#fff0f2;border-color:#e1b8c0;color:#a72f45}html[data-theme="light"] .crew-panel button.confirming{background:#fff5e7;border-color:#d8b47d;color:#81571e}html[data-theme="light"] .crew-invite-banner{background:#eaf7f0;border-color:#b7d8c8}html[data-theme="light"] .crew-invite-banner b{color:#176b4f}html[data-theme="light"] .crew-invite-banner span{color:#4d7666}
html[data-theme="light"] .profile-avatar{background:radial-gradient(circle at 35% 25%,#fff,#e6ebf4 72%);border-color:#c7cfdd;color:#4054b5}html[data-theme="light"] .profile-crown-grid>div{background:#f7f9fc;border-color:#d9dfe8}html[data-theme="light"] .profile-crown-grid>div:first-child{background:#fff9e8;border-color:#e2d09a}html[data-theme="light"] .profile-core>div,html[data-theme="light"] .milestone,html[data-theme="light"] .achievement{background:#f7f9fc;border-color:#d9dfe8}html[data-theme="light"] .achievement.unlocked{background:#eef2ff;border-color:#bdc7e9}html[data-theme="light"] .achievement.unlocked i{background:#dce5ff;color:#354bab}html[data-theme="light"] .achievement.unlocked b{color:#28375f}html[data-theme="light"] .achievement span{color:#69758a}html[data-theme="light"] .profile-section-title span{color:#657187}html[data-theme="light"] .profile-section-title small{color:#7b8698}html[data-theme="light"] .invite-card{background:linear-gradient(135deg,#edf2ff,#f7f9ff);border-color:#c3cdec;color:#1a2860}html[data-theme="light"] .invite-card small{color:#66738b}html[data-theme="light"] .security-card{background:#eef8f3;border-color:#c1dfd1}html[data-theme="light"] .security-icon{background:#dff2e9;border-color:#b2d8c6;color:#176b4f}html[data-theme="light"] .security-copy span{color:#587868}html[data-theme="light"] .profile-signout{background:#fff4f5;border-color:#e3bdc4;color:#a42e43}
html[data-theme="light"] .lbmark{background:#e8f6ef;border-color:#badcca;color:#176b4f}html[data-theme="light"] .podium-card{background:#f7f9fc;border-color:#d6dde7}html[data-theme="light"] .podium-card.first{background:#fff8df;border-color:#dfcd92}html[data-theme="light"] .lb-you-strip{background:#eef2ff;border-color:#bbc6e8}html[data-theme="light"] .lbrow.you{background:#edf1ff;border-color:#b9c5ea}html[data-theme="light"] .lb-web-link{background:#edf7f2;border-color:#c0dece;color:#176b4f}
html[data-theme="light"] .fairplay-shield{background:#e6ebff;border-color:#b6c2e9;color:#354bab}

/* v2.9.1 production UI/UX polish */
html[data-theme="light"] .cell.fixed .value{color:#121722!important;text-shadow:none!important}
html[data-theme="light"] .claim:not(:disabled){background:linear-gradient(135deg,#5065c5,#394ca8);border-color:#35489e;color:#fff;box-shadow:0 10px 24px rgba(62,79,166,.20)}
html[data-theme="light"] .claim:not(:disabled) .claim-icon{background:rgba(255,255,255,.15);color:#fff}
html[data-theme="light"] .claim:disabled{background:#7281b9;border-color:#6675aa;color:#fff;opacity:.72;box-shadow:none}
html[data-theme="light"] .claim:disabled .claim-icon{background:rgba(255,255,255,.13);color:#fff}
html[data-theme="light"] .cell.cage-focus.edge-t,html[data-theme="light"] .cell.selected.edge-t{border-top-color:#344ba6}
html[data-theme="light"] .cell.cage-focus.edge-b,html[data-theme="light"] .cell.selected.edge-b{border-bottom-color:#344ba6}
html[data-theme="light"] .cell.cage-focus.edge-l,html[data-theme="light"] .cell.selected.edge-l{border-left-color:#344ba6}
html[data-theme="light"] .cell.cage-focus.edge-r,html[data-theme="light"] .cell.selected.edge-r{border-right-color:#344ba6}
.profile-crown-grid span,.profile-core span{font-size:6.8px;line-height:1.25}
.profile-crown-grid small{font-size:6.8px}.profile-crown-grid strong{font-size:20px}.profile-core strong{font-size:17px}
.profile-sub{font-size:8.8px}.profile-section-title span,.account-label span{font-size:7.4px}.profile-section-title small,.account-label small{font-size:7.2px}
.player-record{border:1px solid #2d3545;border-radius:15px;background:#11161f;padding:10px 11px}.player-record .profile-section-title{margin:0 0 8px}.record-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.record-grid>div{min-width:0;border-top:1px solid #2b3444;padding-top:8px}.record-grid span{display:block;font-size:6.8px;color:#8994a7;font-weight:950;letter-spacing:.08em}.record-grid strong{display:block;margin-top:4px;font-size:22px;line-height:1;font-variant-numeric:tabular-nums}.record-grid small{display:block;margin-top:4px;font-size:6.2px;color:#697487;font-weight:850;letter-spacing:.05em}
.invite-card.invite-premium{position:relative;min-height:92px;height:auto!important;margin:0;padding:14px 13px;border-radius:18px;background:radial-gradient(220px 110px at 0 0,rgba(154,171,255,.16),transparent 72%),linear-gradient(135deg,#1a243a,#111722);border-color:#4a5b82;display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:11px;align-items:center;overflow:hidden}.invite-premium .invite-glyph{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;font-style:normal;font-size:19px;background:#202c48;border:1px solid #52658f;color:#dbe3ff}.invite-premium span{display:block;min-width:0}.invite-premium em{display:block;margin-bottom:3px;font-style:normal;font-size:6.7px;color:#8fa2d2;font-weight:950;letter-spacing:.12em}.invite-premium b{display:block;font-size:11px;line-height:1.16;letter-spacing:.045em}.invite-premium small{display:block;font-size:8.2px;line-height:1.35;color:#a5b0c5;margin-top:5px}.invite-premium>strong{font-size:8.4px;color:#e1e6ff}
.account-label{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:2px 2px 0;color:#7f899b}.account-label span{font-weight:950;letter-spacing:.11em}.account-label small{color:#687386}
.profile-sheet .security-card{min-height:57px;height:auto!important}.profile-sheet .security-copy b{font-size:9.5px}.profile-sheet .security-copy span{font-size:7.6px;line-height:1.25}.profile-sheet .security-count{font-size:8.2px}.profile-signout{font-size:8.8px}
.leader-sheet .lbhero p{font-size:9.5px}.leader-sheet .lb-status{font-size:7.4px}.leader-sheet .lb-head{font-size:7.2px}.leader-sheet .lbrow{min-height:43px}.leader-sheet .lbrow .rankbadge{font-size:8px}.leader-sheet .lbplayer b{font-size:10.3px}.leader-sheet .lbmetric b{font-size:11.3px}.leader-sheet .lbmetric span{font-size:6.3px}.podium-card b{font-size:9.2px}.podium-card strong{font-size:13px}.podium-card small{font-size:6.2px}.lb-you-strip>span{font-size:6.8px}.lb-you-strip b{font-size:10px}.lb-you-strip strong{font-size:8.8px}.leader-sheet .lb-web-link{font-size:8.6px}
html[data-theme="light"] .player-record{background:#f7f9fc;border-color:#d9dfe8}html[data-theme="light"] .record-grid>div{border-color:#dbe1e9}html[data-theme="light"] .record-grid span,html[data-theme="light"] .record-grid small{color:#667287}html[data-theme="light"] .invite-card.invite-premium{background:radial-gradient(220px 110px at 0 0,rgba(82,104,212,.10),transparent 72%),linear-gradient(135deg,#edf2ff,#f8f9ff);border-color:#aebce5;color:#17265f}html[data-theme="light"] .invite-premium .invite-glyph{background:#dfe6ff;border-color:#aebce5;color:#344aa5}html[data-theme="light"] .invite-premium em{color:#5266ad}html[data-theme="light"] .invite-premium small{color:#5d6b83}html[data-theme="light"] .invite-premium>strong{color:#31479d}html[data-theme="light"] .account-label{color:#657187}html[data-theme="light"] .account-label small{color:#758195}
@media(min-width:700px) and (min-height:560px){.profile-crown-grid span,.profile-core span{font-size:7.6px}.profile-crown-grid small{font-size:7.2px}.profile-crown-grid strong{font-size:26px}.profile-core strong{font-size:23px}.player-record{padding:13px}.record-grid span{font-size:7.4px}.record-grid strong{font-size:25px}.record-grid small{font-size:6.8px}.invite-card.invite-premium{min-height:126px;padding:17px}.invite-premium b{font-size:13px}.invite-premium small{font-size:9px}.profile-sheet .security-copy b{font-size:10px}.profile-sheet .security-copy span{font-size:8px}.leader-sheet .lbplayer b{font-size:11px}.leader-sheet .lbmetric b{font-size:12px}}
@media(orientation:portrait) and (max-width:699px){.invite-card.invite-premium{grid-template-columns:38px minmax(0,1fr);align-items:start}.invite-premium .invite-glyph{align-self:center}.invite-premium>strong{grid-column:2;justify-self:start;margin-top:-2px}}
@media(max-width:370px){.profile-crown-grid span,.profile-core span{font-size:6.1px}.profile-crown-grid small{font-size:5.9px}.profile-crown-grid strong{font-size:18px}.profile-core strong{font-size:15.5px}.invite-card.invite-premium{min-height:82px;padding:10px;grid-template-columns:32px minmax(0,1fr)}.invite-premium .invite-glyph{width:32px;height:32px}.invite-premium small{font-size:7.3px}.record-grid strong{font-size:19px}.record-grid span{font-size:6.2px}.record-grid small{font-size:5.7px}.leader-sheet .lbplayer b{font-size:9.4px}}
@media(max-height:620px) and (orientation:portrait){.player-record{padding:7px 9px}.player-record .profile-section-title{margin-bottom:5px}.record-grid>div{padding-top:5px}.record-grid strong{font-size:17px}.record-grid small{display:none}.invite-card.invite-premium{min-height:68px;padding:8px 10px}.invite-premium .invite-glyph{width:30px;height:30px}.invite-premium small{font-size:7px;margin-top:2px}.profile-sheet .security-card{min-height:44px}.account-label{display:none}}
@media(orientation:landscape) and (max-height:520px){.invite-card.invite-premium{min-height:67px;padding:7px 9px}.invite-premium small{font-size:6.8px}.player-record{padding:6px 8px}.record-grid strong{font-size:16px}.record-grid small{display:none}.account-label{display:none}.profile-sheet .security-card{min-height:39px}}

@media(prefers-reduced-motion:reduce){.themebtn,.ad-unit,.profile-sheet *,.solve-alert,.solve-focus-wash{transition:none!important}.solve-alert-dot{animation:none!important}}


/* v2.9.8 — light-mode digit-scan contrast polish, 5-step undo, premium transition, security */
.actions{grid-template-columns:repeat(4,48px) minmax(0,1fr);gap:7px}
.iconbtn:disabled{opacity:.30;cursor:default;transform:none}
.board.digit-scan .cell{transition:background .08s,opacity .08s,box-shadow .08s,color .08s}
.board.digit-scan{--scan-guide:rgba(151,169,255,.30)}
.board.digit-scan .cell.scan-row{background-image:linear-gradient(to bottom,transparent calc(50% - .5px),var(--scan-guide) calc(50% - .5px),var(--scan-guide) calc(50% + .5px),transparent calc(50% + .5px))}
.board.digit-scan .cell.scan-col{background-image:linear-gradient(to right,transparent calc(50% - .5px),var(--scan-guide) calc(50% - .5px),var(--scan-guide) calc(50% + .5px),transparent calc(50% + .5px))}
.board.digit-scan .cell.scan-row.scan-col{background-image:linear-gradient(to bottom,transparent calc(50% - .5px),var(--scan-guide) calc(50% - .5px),var(--scan-guide) calc(50% + .5px),transparent calc(50% + .5px)),linear-gradient(to right,transparent calc(50% - .5px),var(--scan-guide) calc(50% - .5px),var(--scan-guide) calc(50% + .5px),transparent calc(50% + .5px))}
.board.digit-scan .cell.scan-dim .value,.board.digit-scan .cell.scan-dim .clue,.board.digit-scan .cell.scan-dim .notes3{opacity:.22}
.board.digit-scan .cell.scan-match .value{color:#f4f6ff;text-shadow:0 0 16px rgba(132,153,255,.34);opacity:1}
.board.digit-scan .cell.scan-match .clue,.board.digit-scan .cell.scan-match .notes3{opacity:.34}
.board.digit-scan .cell.scan-candidate{background-color:#111819;box-shadow:inset 0 0 0 1px rgba(117,223,179,.10)}
.board.digit-scan .cell:active:not(:disabled){transform:none}
.profile-sync-note{margin:0 0 12px;padding:10px 12px;border:1px solid #5e5431;border-radius:12px;background:#201d11;color:#e0cc82;font-size:10px;line-height:1.45}
.credential-list{display:grid;gap:8px;margin:15px 0}.credential-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid var(--line-hi);border-radius:14px;background:var(--surface2)}.credential-row>div{min-width:0}.credential-row b{display:block;font-size:11px}.credential-row span{display:block;margin-top:4px;color:var(--muted);font-size:8px}.credential-revoke{height:34px;padding:0 10px;border:1px solid #6b3942;border-radius:10px;background:#26161b;color:#ffb2bf;font-size:8px;font-weight:900;letter-spacing:.07em}.credential-revoke:disabled{opacity:.38}.security-danger{margin-top:8px;border-color:#58303a!important;color:#ffb2bf!important}.consent-actions{display:grid;gap:8px;margin:18px 0 10px}.privacy-inline-link{display:inline-block;color:var(--accent2);font-size:9px;font-weight:900;letter-spacing:.08em}
.overlay{padding:12px;background:rgba(6,8,12,.965)}
.transition-card{width:min(100%,760px);max-height:calc(100dvh - 20px);display:grid;grid-template-columns:minmax(0,1fr);gap:12px;align-items:center;text-align:left}
.transition-result{width:100%;max-width:430px;margin:auto;border:1px solid #2d3545;border-radius:25px;background:linear-gradient(160deg,#141923,#0c0f15);padding:18px;box-shadow:0 28px 80px rgba(0,0,0,.38)}
.transition-result-head{display:flex;align-items:center;gap:12px}.transition-result .seal{width:48px;height:48px;border-radius:16px;margin:0;flex:none}.transition-result .seal svg{width:24px;height:24px}.transition-result .overline{margin:0}.transition-result .winner-label{margin-top:4px}.transition-result h1{font-size:clamp(25px,7vw,32px);margin:13px 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.transition-result p{font-size:10px;line-height:1.45;color:var(--muted)}.transition-result .carry-block{margin-top:15px;padding-top:13px;border-top:1px solid #252d3b}.transition-result .chainline{margin:0;font-size:7.5px;color:#8594c4}.transition-result .carry-strip{width:100%;margin:8px 0 0;justify-content:flex-start}.transition-next{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-top:15px;padding-top:13px;border-top:1px solid #252d3b}.transition-next>div{display:grid;gap:3px}.transition-next>div>span{font-size:7px;color:var(--muted);font-weight:900;letter-spacing:.11em}.transition-next strong{font-size:34px;line-height:.9;font-variant-numeric:tabular-nums;letter-spacing:-.05em}.transition-next strong small{font-size:10px;margin-left:3px;color:var(--muted);letter-spacing:0}.transition-share{height:38px;margin:0;padding:0 13px;flex:none}
.transition-ad{width:100%;display:grid;place-items:center;margin:0}.transition-ad[hidden]{display:none!important}.ad-label{margin-bottom:5px;font-size:6.5px;color:#737d8d;font-weight:900;letter-spacing:.16em}.ad-unit{width:300px;height:250px;max-width:none;border-radius:18px}
@media(min-width:720px) and (min-height:560px){.transition-card:has(.transition-ad:not([hidden])){grid-template-columns:minmax(330px,1fr) 300px;gap:20px}.transition-card:has(.transition-ad:not([hidden])) .transition-result{margin-right:0}.transition-card:has(.transition-ad:not([hidden])) .transition-ad{justify-items:start}}
@media(max-height:560px){.transition-card{width:min(760px,calc(100vw - 18px));grid-template-columns:minmax(270px,1fr);overflow:auto}.transition-card:has(.transition-ad:not([hidden])){grid-template-columns:minmax(270px,1fr) 300px}.transition-result{padding:13px;border-radius:20px}.transition-result .seal{width:40px;height:40px}.transition-result h1{font-size:22px;margin-top:8px}.transition-result .carry-block{margin-top:9px;padding-top:8px}.transition-next{margin-top:9px;padding-top:8px}.transition-next strong{font-size:28px}}
@media(max-width:370px){.actions{grid-template-columns:repeat(4,42px) minmax(0,1fr);gap:5px}.iconbtn span{font-size:5.2px}.transition-result{padding:14px}.transition-result h1{font-size:24px}}
@media(orientation:landscape) and (max-height:520px){.actions{grid-template-columns:repeat(4,1fr);grid-template-rows:auto auto}.claim{grid-column:1/-1}.transition-card{display:grid}.transition-result{max-width:none}.transition-card:has(.transition-ad:not([hidden])){grid-template-columns:minmax(300px,1fr) 300px}}
html[data-theme="light"] .board.digit-scan{--scan-guide:rgba(66,88,178,.34)}html[data-theme="light"] .board.digit-scan .cell.scan-match .value{color:#172d78;text-shadow:none;opacity:1}html[data-theme="light"] .board.digit-scan .cell.scan-candidate{background-color:#edf8f1;box-shadow:inset 0 0 0 1px rgba(36,129,92,.14)}html[data-theme="light"] .profile-sync-note{background:#fff8df;border-color:#dfcb7e;color:#715b16}html[data-theme="light"] .transition-result{background:linear-gradient(160deg,#fff,#f4f6fa);border-color:#d4dae4;box-shadow:0 24px 70px rgba(52,63,84,.14)}html[data-theme="light"] .transition-result .carry-block,html[data-theme="light"] .transition-next{border-color:#dce1e9}
/* v2.12.2 Training Room + leaderboard polish */
.headbtn{min-width:44px;min-height:44px}.transition-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.transition-practice{min-height:38px;border:1px solid #3c4961;border-radius:12px;background:#151b26;color:#cfd7ef;padding:0 12px;font-size:8px;font-weight:950;letter-spacing:.06em}.transition-practice[hidden]{display:none}.practice-result-time{display:grid;grid-template-columns:1fr auto;gap:2px 12px;align-items:center;margin:14px 0;padding:12px 14px;border:1px solid #2f3848;border-radius:15px;background:#131821}.practice-result-time span{font-size:8px;color:#8e99ab;font-weight:900;letter-spacing:.08em}.practice-result-time b{grid-row:1/3;grid-column:2;font-size:20px;font-variant-numeric:tabular-nums}.practice-result-time small{font-size:9px;color:#aeb9ff}.practice-actions{display:grid;gap:8px}.practice-actions .secondary{margin-top:0}.leader-sheet{height:auto;max-height:calc(100dvh - 24px);overflow:auto}.leader-sheet .lb{flex:0 1 auto;min-height:0;max-height:min(54dvh,470px);overflow:auto}.leader-sheet .lbrow{min-height:44px}.leader-sheet .lbrow.top1{border-color:#796936;background:linear-gradient(90deg,#211d12,#13171d);box-shadow:inset 0 0 0 1px rgba(240,212,122,.08)}.leader-sheet .lbrow.top2{border-color:#566171;background:linear-gradient(90deg,#1b2029,#13171d)}.leader-sheet .lbrow.top3{border-color:#684d3b;background:linear-gradient(90deg,#211913,#13171d)}.leader-sheet .lbrow.top1.you{border-color:#796936;background:linear-gradient(90deg,#211d12,#13171d);box-shadow:inset 0 0 0 1px rgba(240,212,122,.08)}.leader-sheet .lbrow.top2.you{border-color:#566171;background:linear-gradient(90deg,#1b2029,#13171d)}.leader-sheet .lbrow.top3.you{border-color:#684d3b;background:linear-gradient(90deg,#211913,#13171d)}.leader-sheet .lbrow.top2 .rankbadge{border-color:#626d7d;color:#dde3ed}.leader-sheet .lbrow.top3 .rankbadge{border-color:#755443;color:#ebb48f}.leader-sheet .lb-head{font-size:8px}.leader-sheet .lbmetric span{font-size:8px}.lb-you-strip>span{font-size:8px}.lb-you-strip b{font-size:10.5px}.lb-you-strip strong{font-size:9.5px}.lb-status{font-size:8px}.rule span{font-size:10px}.rule b{font-size:11px}.sheet p{font-size:12px}.onboard-step span{font-size:10px}.onboard-foot{font-size:9px}
html[data-theme="light"] .leader-sheet .lbrow.top1{background:linear-gradient(90deg,#fff8df,#f7f9fc);border-color:#d8c47b}html[data-theme="light"] .leader-sheet .lbrow.top2{background:linear-gradient(90deg,#f1f4f8,#f7f9fc);border-color:#c8d0dc}html[data-theme="light"] .leader-sheet .lbrow.top3{background:linear-gradient(90deg,#fff2e9,#f7f9fc);border-color:#d8b49c}html[data-theme="light"] .leader-sheet .lbrow.top1.you{background:linear-gradient(90deg,#fff8df,#f7f9fc);border-color:#d8c47b}html[data-theme="light"] .leader-sheet .lbrow.top2.you{background:linear-gradient(90deg,#f1f4f8,#f7f9fc);border-color:#c8d0dc}html[data-theme="light"] .leader-sheet .lbrow.top3.you{background:linear-gradient(90deg,#fff2e9,#f7f9fc);border-color:#d8b49c}html[data-theme="light"] .transition-practice{background:#f3f5f9;border-color:#c9d1de;color:#364359}
@media(max-width:390px){.brand{gap:6px}.mark{width:30px;height:30px}.word{font-size:13px}.brand-copy .kicker{display:none}.top-actions{gap:2px}.headbtn{min-width:42px;width:42px;min-height:42px;height:42px}.transition-actions{justify-content:stretch}.transition-actions button{flex:1 1 100%}}
@media(orientation:landscape) and (max-height:520px){.leader-sheet{height:auto;max-height:calc(100dvh - 12px)}.leader-sheet .lb{max-height:42dvh}}.profile-crown-grid span,.profile-core span,.profile-section-title small,.profile-sheet .achievement span,.profile-sheet .security-copy span,.season-card span,.profile-stats-v27 .pstat span{font-size:max(8px,.5rem);line-height:1.25}.profile-sheet .achievement b,.profile-sheet .security-copy b,.profile-sheet .security-count{font-size:max(8.5px,.53rem)}.leader-sheet .lb-head,.leader-sheet .lbmetric span,.lb-you-strip>span,.lb-status{font-size:9px}

.fairplay-preclear-host{position:fixed;top:74px;left:50%;transform:translateX(-50%);z-index:130;min-width:300px;min-height:1px;display:grid;place-items:center;pointer-events:auto}
/* v2.12.2 functional puzzle readability floor + explicit keyboard focus visibility. */
.clue{font-size:10px}.notes3{font-size:10px}.note{font-size:10px;min-width:15px;height:15px}
button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:2px solid currentColor;outline-offset:3px}
/* Wave3 functional typography floor: controls/status metadata remain legible at compact viewports. */
.sheet-kicker,.profile-sub,.pstat span,.security-copy span,.credential-row span,.credential-revoke,.privacy-inline-link,.profile-section-title small,.record-grid small,.profile-crown-grid small,.transition-result .overline,.winner-label,.chainline,.phase,.proof-strip span,.console-foot,.ad-label{font-size:10px!important}


/* v2.13.0 portrait-only compact-phone guard */
.orientation-guard{display:none}.orientation-card{width:min(86vw,420px);padding:28px 26px 26px;border:1px solid #3b4660;border-radius:28px;background:linear-gradient(160deg,rgba(22,28,40,.99),rgba(8,10,15,.995));box-shadow:0 34px 110px rgba(0,0,0,.66);text-align:center}.orientation-icon{width:92px;height:92px;margin:0 auto 12px;display:grid;place-items:center;color:#cbd4ff;border:1px solid #303a50;border-radius:28px;background:#101722}.orientation-icon svg{width:68px;height:68px}.orientation-kicker{font-size:10px;letter-spacing:.19em;color:#75dfb3;font-weight:950}.orientation-card strong{display:block;margin:9px 0 7px;font-size:25px;line-height:1.08;letter-spacing:-.035em;color:#f7f8fc}.orientation-card span{display:block;color:#9aa6ba;font-size:13px;line-height:1.5}.orientation-card:after{content:"PUZRU · PORTRAIT EXPERIENCE";display:block;margin-top:18px;padding-top:14px;border-top:1px solid #273044;color:#637087;font-size:9px;font-weight:900;letter-spacing:.12em}@media (orientation:landscape) and (hover:none) and (pointer:coarse) and (max-height:520px){.orientation-guard{position:fixed;inset:0;z-index:2147483647;display:flex;align-items:center;justify-content:center;padding:max(18px,var(--safeT)) max(18px,env(safe-area-inset-right)) max(18px,var(--safeB)) max(18px,env(safe-area-inset-left));background:radial-gradient(620px 280px at 50% 32%,#1b2440 0,rgba(8,9,13,.985) 72%);backdrop-filter:blur(18px);overflow:auto}}
/* v2.12.5 interaction hardening */
.handle-hint{margin:-7px 0 12px;font-size:9px;line-height:1.35;color:var(--muted);letter-spacing:.045em}.practice-choice{margin:14px 0 8px;text-align:center;font-size:9px;font-weight:900;letter-spacing:.13em;color:var(--muted)}.sheet.must-choose{animation:mustChoose .28s ease}@keyframes mustChoose{0%,100%{transform:translateY(0)}35%{transform:translateY(-5px)}70%{transform:translateY(3px)}}
/* v2.12.4 compact responsive containment */
.app,.app>*{min-width:0;max-width:100%}.roundline>*,.livebar>*,.top>*{min-width:0}.brand-copy{overflow:hidden}.brand-copy .kicker{overflow:hidden;text-overflow:ellipsis}.roundblock .cap,.clock span,.liveunit span,.phase{max-width:100%;overflow:hidden;text-overflow:ellipsis}
@media (min-width:700px) and (max-width:1366px) and (pointer:coarse){.cell .clue{font-size:10px}.notes3{font-size:11px}.note{min-width:15px;height:15px;line-height:15px}}
/* v2.13.2 Crew V3 — leaderboard-first social UX + full-screen race panels */
.sheetback.leader-full{padding:0!important;align-items:stretch!important;justify-content:stretch!important;background:var(--overlay)}
.sheetback.leader-full .leader-sheet{width:100%!important;max-width:none!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border:0!important;border-radius:0!important;padding:calc(18px + var(--safeT)) max(16px,env(safe-area-inset-right)) calc(16px + var(--safeB)) max(16px,env(safe-area-inset-left))!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;box-shadow:none!important}
.sheetback.leader-full .leader-sheet>.lbhero,.sheetback.leader-full .leader-sheet>.lb-tabs,.sheetback.leader-full .leader-sheet>.lb-status,.sheetback.leader-full .leader-sheet>#lbYou,.sheetback.leader-full .leader-sheet>.lb-head,.sheetback.leader-full .leader-sheet>#lb,.sheetback.leader-full .leader-sheet>.lb-web-link,.sheetback.leader-full .leader-sheet>#crewPanel{width:min(100%,920px);margin-left:auto;margin-right:auto}
.sheetback.leader-full .leader-sheet>#lb{flex:1 1 auto;min-height:0;max-height:none!important;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;align-content:start;grid-auto-rows:max-content}
.sheetback.leader-full .leader-sheet>#crewPanel{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding-bottom:max(14px,var(--safeB))}
.sheetback.leader-full .sheet-x{position:fixed;top:max(12px,calc(var(--safeT) + 8px));right:max(12px,calc(env(safe-area-inset-right) + 8px));z-index:40;width:44px;height:44px;border-radius:14px}
.sheetback.leader-full .lbhero{padding-right:54px}
.crew-panel{position:relative;align-content:start;padding:2px 2px 24px;gap:12px}
.crew-panel-status{position:fixed!important;top:max(12px,calc(var(--safeT) + 8px))!important;left:50%!important;z-index:60!important;display:flex!important;width:min(calc(100vw - 108px),460px)!important;min-height:44px!important;max-width:460px;transform:translate(-50%,-10px);opacity:0;visibility:hidden;pointer-events:none;margin:0!important;border-radius:14px!important;padding:10px 14px!important;box-shadow:0 14px 40px rgba(0,0,0,.3)!important;transition:opacity .18s ease,transform .18s ease,visibility .18s ease}
.crew-panel-status.show{opacity:1;visibility:visible;transform:translate(-50%,0)}
.crew-panel-status.show+.crew-subtabs{top:0!important}
.crew-subtabs{top:0!important;margin:0;box-shadow:0 8px 22px rgba(0,0,0,.12)}
.crew-subtabs.one{grid-template-columns:1fr}.crew-subtabs.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.crew-subtab{min-height:44px;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.crew-view{min-width:0;gap:12px}
.crew-panel-card,.crew-hero-card{padding:16px;border-radius:19px}
.crew-back{justify-self:start!important;min-height:40px!important;padding:0 4px!important;border:0!important;background:transparent!important;color:var(--muted)!important;box-shadow:none!important;font-size:8.5px!important}
.crew-discover-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:14px}.crew-discover-head p{margin-top:5px!important;max-width:560px}.crew-create-cta{min-height:44px!important;white-space:nowrap;padding-inline:15px!important}
.crew-search-row{grid-template-columns:minmax(0,1fr) auto!important;align-items:center;gap:9px}.crew-search-box{display:grid;grid-template-columns:26px minmax(0,1fr);align-items:center;min-height:46px;border:1px solid var(--line-hi);border-radius:13px;background:var(--surface);padding:0 9px}.crew-search-box>span{color:var(--muted);font-size:16px;text-align:center}.crew-search-box input{min-height:42px!important;border:0!important;background:transparent!important;padding:8px 4px!important;outline:0!important}.crew-search-row>small{min-width:66px;color:var(--muted);font-size:8px;font-weight:950;text-align:right;letter-spacing:.05em}
.crew-rank-head,.crew-standing-head{display:grid;grid-template-columns:48px minmax(0,1fr) 92px;gap:8px;padding:0 10px;color:var(--dim);font-size:7.5px;font-weight:950;letter-spacing:.08em}.crew-rank-head span:last-child,.crew-standing-head span:last-child{text-align:right}
.crew-rank-scroll{display:grid;gap:7px;min-height:0}.crew-panel-row[hidden]{display:none!important}.crew-panel-row{grid-template-columns:48px minmax(0,1fr) 92px!important;min-height:56px!important}.crew-panel-row b{font-size:11px;overflow:hidden;text-overflow:ellipsis}.crew-panel-row small{text-align:right;line-height:1.35}.crew-rank-num{font-variant-numeric:tabular-nums}
.crew-profile-card{max-width:680px;width:100%;margin-inline:auto}.crew-membership-note{display:flex;align-items:center;min-height:48px;padding:11px 13px;border:1px solid var(--line);border-radius:13px;background:var(--surface3);color:var(--muted);font-size:9px;line-height:1.45}.crew-membership-note b{color:var(--text)}
.crew-my-card,.crew-standings,.crew-members-card,.crew-requests,.crew-settings-card{width:100%}.crew-secondary-btn{background:transparent!important}.crew-standing-list{display:grid;gap:7px}.crew-standing-row{display:grid;grid-template-columns:48px minmax(0,1fr) 92px;gap:8px;align-items:center;min-height:54px;padding:8px 10px;border:1px solid var(--line);border-radius:13px;background:var(--surface)}.crew-standing-row.you{border-color:#596ba4;background:linear-gradient(90deg,rgba(102,121,221,.13),var(--surface))}.crew-standing-rank{color:var(--accent);font-size:9px;font-weight:950}.crew-standing-row div{display:grid;min-width:0}.crew-standing-row div b{font-size:10.5px;overflow:hidden;text-overflow:ellipsis}.crew-standing-row div small{color:var(--muted);font-size:7px}.crew-standing-row strong{text-align:right;font-size:10px;font-variant-numeric:tabular-nums}
.crew-request-list,.crew-member-list{display:grid;gap:7px}.crew-request-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-height:58px;padding:9px 10px;border:1px solid var(--line);border-radius:13px;background:var(--surface)}.crew-request-row>div:first-child{display:grid;gap:2px;min-width:0}.crew-request-row b{font-size:10.5px}.crew-request-row small{font-size:7px;color:var(--muted)}.crew-request-actions{display:flex;gap:6px}.crew-request-actions button{min-height:38px!important;padding:7px 10px!important;font-size:7.8px!important}.crew-accept{border-color:#356f5a!important;color:#aee9cd!important}.crew-decline{border-color:var(--line)!important;color:var(--muted)!important}.crew-empty-compact{min-height:48px;display:flex;align-items:center;padding:0 10px;border:1px dashed var(--line);border-radius:12px;color:var(--muted);font-size:9px}
.crew-member-line{grid-template-columns:minmax(0,1fr) auto auto!important;min-height:58px!important;gap:8px}.crew-member-line strong{white-space:nowrap}.crew-remove{min-height:38px!important;padding:6px 10px!important;border-color:#6f3c47!important;background:#29161c!important;color:#ffb6c2!important;font-size:7.8px!important}
.crew-settings-card{max-width:720px;margin-inline:auto}.crew-locked-list{display:grid;gap:7px}.crew-locked-list>div{display:grid;grid-template-columns:100px minmax(0,1fr);align-items:center;gap:12px;min-height:52px;padding:9px 11px;border:1px solid var(--line);border-radius:13px;background:var(--surface)}.crew-locked-list span{font-size:7.5px;color:var(--muted);font-weight:950;letter-spacing:.08em}.crew-locked-list b{font-size:10px;overflow-wrap:anywhere}.crew-settings-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.crew-exit-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;margin-top:4px;padding:13px;border:1px solid #5b343d;border-radius:15px;background:rgba(72,27,37,.22)}.crew-exit-card b{font-size:10px}.crew-exit-card p{margin-top:4px!important;font-size:9px!important}.crew-exit-card .crew-danger-link{border:1px solid #6f3c47!important;min-height:44px!important;padding-inline:13px!important;color:#ffb6c2!important}
.crew-create-card{width:min(100%,620px);margin-inline:auto;text-align:left;padding:20px}.crew-create-mark{width:56px;height:56px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(145deg,#253249,#141a24);border:1px solid #42516a;color:#cdd6ff;font-size:21px;font-weight:1000}.crew-create-card h3{font-size:23px}.crew-create-card .crew-panel-form label{display:grid;gap:6px}.crew-create-card .crew-panel-form label>span{font-size:7.5px;color:var(--muted);font-weight:950;letter-spacing:.08em}.crew-create-card textarea{min-height:92px}.crew-create-card .crew-main-cta{margin-top:2px}
.crew-confirm-back{position:fixed;inset:0;z-index:80;display:grid;place-items:center;padding:18px;background:rgba(5,7,11,.76);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)}.crew-confirm-card{width:min(100%,440px);display:grid;gap:12px;padding:19px;border:1px solid var(--line-hi);border-radius:20px;background:var(--panel);box-shadow:0 24px 70px rgba(0,0,0,.48)}.crew-confirm-card h3{margin:0;font-size:20px}.crew-confirm-card p{margin:0;color:var(--muted);font-size:11px;line-height:1.55}.crew-confirm-card select{min-height:46px;border:1px solid var(--line-hi);border-radius:12px;background:var(--surface);color:var(--text);padding:10px 12px}.crew-confirm-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.crew-confirm-actions button{min-height:46px}
@media(max-width:560px){.sheetback.leader-full .leader-sheet{padding-left:11px!important;padding-right:11px!important}.sheetback.leader-full .sheet-x{top:max(8px,calc(var(--safeT) + 5px));right:8px}.crew-lbhero{padding-right:48px}.crew-discover-head{grid-template-columns:1fr}.crew-create-cta{width:100%}.crew-panel-card,.crew-hero-card{padding:13px}.crew-subtabs{gap:4px;padding:3px}.crew-subtab{font-size:8px}.crew-primary-actions{grid-template-columns:1fr}.crew-facts{gap:5px}.crew-facts span{min-height:54px;padding:5px}.crew-rank-head,.crew-standing-head{grid-template-columns:40px minmax(0,1fr) 72px;padding:0 7px}.crew-panel-row,.crew-standing-row{grid-template-columns:40px minmax(0,1fr) 72px!important;padding:8px 7px!important;gap:6px!important}.crew-panel-row small{font-size:7px}.crew-request-row{grid-template-columns:1fr}.crew-request-actions{display:grid;grid-template-columns:1fr 1fr}.crew-member-line{grid-template-columns:minmax(0,1fr) auto!important}.crew-member-line strong{display:none}.crew-member-line .crew-remove{grid-column:auto;width:auto;min-width:78px}.crew-settings-actions{grid-template-columns:1fr}.crew-exit-card{grid-template-columns:1fr}.crew-create-card{padding:15px}.crew-create-card h3{font-size:21px}.crew-locked-list>div{grid-template-columns:80px minmax(0,1fr)}.crew-panel-status{width:min(calc(100vw - 82px),430px)!important;left:calc(50% - 16px)!important}.crew-confirm-back{padding:12px}.crew-confirm-card{padding:16px}.crew-confirm-actions{grid-template-columns:1fr}.crew-confirm-actions button{min-height:44px}}
@media(max-width:370px){.crew-subtab{font-size:7.2px;letter-spacing:.02em}.crew-facts b{font-size:13px}.crew-search-row>small{min-width:54px;font-size:7px}.crew-panel-row b,.crew-standing-row div b{font-size:9.5px}.crew-panel-row small{font-size:6.5px}}
html[data-theme="light"] .sheetback.leader-full{background:rgba(235,239,246,.98)}html[data-theme="light"] .crew-panel-status{background:#fff;border-color:#cfd7e3;color:#1d2738;box-shadow:0 14px 36px rgba(46,58,80,.16)!important}html[data-theme="light"] .crew-search-box,html[data-theme="light"] .crew-panel-row,html[data-theme="light"] .crew-standing-row,html[data-theme="light"] .crew-request-row,html[data-theme="light"] .crew-locked-list>div,html[data-theme="light"] .crew-confirm-card{background:#fff;border-color:#d7dde7}html[data-theme="light"] .crew-standing-row.you{background:linear-gradient(90deg,#eef1ff,#fff);border-color:#aebae7}html[data-theme="light"] .crew-remove,html[data-theme="light"] .crew-exit-card .crew-danger-link{background:#fff0f2!important;border-color:#e1b8c0!important;color:#a72f45!important}html[data-theme="light"] .crew-exit-card{background:#fff7f8;border-color:#e1bdc4}html[data-theme="light"] .crew-create-mark{background:linear-gradient(145deg,#fff,#e7ebf4);border-color:#c8d0dd;color:#4257bd}html[data-theme="light"] .crew-confirm-back{background:rgba(226,232,241,.8)}
@media(prefers-reduced-motion:reduce){.crew-panel-status,.crew-panel button,.crew-secondary-link{transition:none!important}}
/* v2.13.2 V4 — premium profile, clearer game mode, stable focus and reward hierarchy */
.sheet[tabindex="-1"]{outline:0}.focusstatus:empty{visibility:hidden}.headbtn.mode-active{border-color:#6679b4!important;background:linear-gradient(180deg,#242d49,#171d2d)!important;color:#eef1ff!important;box-shadow:inset 0 0 0 1px rgba(160,176,255,.14),0 7px 22px rgba(92,111,204,.14)!important}.livebar.mode-active .liveled{box-shadow:0 0 0 3px rgba(117,223,179,.09),0 0 13px rgba(117,223,179,.58)}
body.notes-mode .key{border-color:#5b6890;background:linear-gradient(180deg,#1b2234,#141a27);color:#dfe5ff;box-shadow:inset 0 0 0 1px rgba(154,171,255,.08)}body.notes-mode .key:after{content:"·";position:absolute;margin:24px 0 0 24px;color:#8295e8;font-size:10px}.key{position:relative}
.personal-reward,.practice-reward{border:1px solid #52638f;border-radius:14px;background:linear-gradient(135deg,rgba(80,100,172,.18),rgba(20,26,39,.82));padding:10px 12px;margin:10px 0;text-align:left}.personal-reward{color:#dfe5ff;display:grid;gap:8px}.personal-reward[hidden]{display:none!important}.personal-reward-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.personal-reward-head span{font-size:8px;color:#8f9aba;font-weight:950;letter-spacing:.13em}.personal-reward-head b{font-size:10px;color:#eef2ff;font-weight:950;letter-spacing:.06em}.personal-reward-metrics{display:flex;align-items:end;justify-content:space-between;gap:12px}.personal-reward-metrics strong{font-size:19px;line-height:1;color:#8fe5bb;font-weight:1000;letter-spacing:-.025em}.personal-reward-metrics span{font-size:12px;color:#e7ebf7;font-weight:900;font-variant-numeric:tabular-nums}.personal-reward-best{width:max-content;max-width:100%;padding:5px 8px;border-radius:999px;border:1px solid #806f3c;background:rgba(153,124,44,.14);color:#f0d98e;font-size:8px;font-weight:950;letter-spacing:.065em}.personal-reward-note{font-size:8px;color:#a8b1c3;font-weight:850;letter-spacing:.035em}.practice-reward{display:grid;gap:3px}.practice-reward b{font-size:11px;letter-spacing:.06em;color:#f0f3ff}.practice-reward span{font-size:9px;color:#aeb9df}.practice-reward.milestone{border-color:#75683f;background:linear-gradient(135deg,rgba(181,151,61,.15),rgba(26,24,18,.78))}.practice-reward.milestone b{color:#f4dfa1}
.profile-sheet{max-width:640px}.profile-elite{display:grid;gap:13px}.profile-hero-v4{position:relative;display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:13px;padding:16px;border:1px solid #333c50;border-radius:20px;background:linear-gradient(145deg,#171d29,#0f131a);overflow:hidden}.profile-hero-v4:after{content:"";position:absolute;width:180px;height:180px;border-radius:50%;right:-80px;top:-100px;background:radial-gradient(circle,rgba(139,157,244,.17),transparent 68%);pointer-events:none}.profile-avatar{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;border:1px solid #495879;background:linear-gradient(145deg,#293552,#151c2b);font-size:23px;font-weight:1000;color:#edf1ff}.profile-name{min-width:0}.profile-name h2{margin:3px 0!important;overflow:hidden;text-overflow:ellipsis}.profile-sub{font-size:9px;color:#98a7bf}.online-pip{display:inline-block;width:7px;height:7px;margin-right:5px;border-radius:50%;background:var(--good);box-shadow:0 0 9px rgba(117,223,179,.45)}.profile-hero-badge{position:relative;z-index:1;padding:7px 9px;border:1px solid #415c50;border-radius:999px;color:#aee7ce;background:#12221c;font-size:8px;font-weight:950;white-space:nowrap}.profile-rank-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}.profile-rank-card{min-height:96px;display:grid;align-content:center;gap:5px;padding:12px;border:1px solid #303848;border-radius:16px;background:#131821}.profile-rank-card.featured{border-color:#52618e;background:linear-gradient(145deg,#1d2640,#141925)}.profile-rank-card span{font-size:8px;color:#919caf;font-weight:950;letter-spacing:.08em}.profile-rank-card strong{font-size:24px;letter-spacing:-.04em}.profile-rank-card small{font-size:7px;color:#7e8aa0;font-weight:850}.profile-stat-band{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.profile-stat-band>div{display:grid;gap:3px;text-align:center;padding:11px 6px;border:1px solid #2b3341;border-radius:14px;background:#10151d}.profile-stat-band strong{font-size:18px}.profile-stat-band span{font-size:7.5px;color:#8f9bad;font-weight:900}.profile-best-round strong{font-size:clamp(10px,2.25vw,14px);white-space:nowrap;font-variant-numeric:tabular-nums;letter-spacing:-.035em}.profile-best-round small{display:block;min-height:11px;color:#69768a;font-size:6.8px;font-weight:900;letter-spacing:.035em;line-height:1.25}.profile-action-grid{display:grid;gap:9px}.profile-action-grid .invite-card,.profile-action-grid .security-card{margin:0;width:100%}.profile-footer-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-top:3px}.profile-footer-actions a,.profile-signout{min-height:42px;display:inline-flex;align-items:center;padding:0 12px;border:1px solid #303848;border-radius:12px;background:#11161e;color:#9ba8bd;font-size:8px;font-weight:950;text-decoration:none}.profile-signout{cursor:pointer}.profile-sync-note{padding:10px 12px;border-radius:13px}
.crew-own-rank{min-height:48px!important}.crew-panel-row{min-height:50px!important;padding-block:6px!important}.crew-standing-row{min-height:50px}.crew-subtabs{background:transparent!important;border:0!important;padding:2px!important;box-shadow:none!important}.crew-subtab{border-radius:999px!important;background:transparent!important;border-color:transparent!important;color:var(--muted)!important}.crew-subtab.active{background:var(--surface3)!important;border-color:var(--line)!important;color:var(--text)!important}.crew-create-lock{margin-top:10px;padding:10px 12px;border:1px solid #5a5031;border-radius:12px;background:rgba(116,94,34,.12);color:#c9bc8d;font-size:9px;line-height:1.45}
html[data-theme="light"] .headbtn.mode-active{background:#e9edff!important;border-color:#9ba9e2!important;color:#344ba8!important}html[data-theme="light"] body.notes-mode .key{background:#f0f2ff;border-color:#9fabe0;color:#243b90}html[data-theme="light"] .profile-hero-v4,html[data-theme="light"] .profile-rank-card,html[data-theme="light"] .profile-stat-band>div,html[data-theme="light"] .profile-footer-actions a,html[data-theme="light"] .profile-signout{background:#fff;border-color:#d4dbe6;color:#182131}html[data-theme="light"] .profile-rank-card.featured{background:linear-gradient(145deg,#eef1ff,#fff);border-color:#adb8e8}html[data-theme="light"] .profile-avatar{background:linear-gradient(145deg,#f4f6ff,#e0e6ff);border-color:#bdc7e9;color:#3049a9}html[data-theme="light"] .personal-reward,html[data-theme="light"] .practice-reward{background:#f1f4ff;border-color:#b9c4e7;color:#24345f}html[data-theme="light"] .personal-reward-head span{color:#687796}html[data-theme="light"] .personal-reward-head b,html[data-theme="light"] .personal-reward-metrics span{color:#1e2d4e}html[data-theme="light"] .personal-reward-metrics strong{color:#146948}html[data-theme="light"] .personal-reward-best{background:#fff8df;border-color:#d7c374;color:#6a5311}html[data-theme="light"] .personal-reward-note{color:#68758a}html[data-theme="light"] .practice-reward b{color:#24345f}html[data-theme="light"] .practice-reward span{color:#596a91}html[data-theme="light"] .practice-reward.milestone{background:#fff9e8;border-color:#dccb8d}html[data-theme="light"] .practice-reward.milestone b{color:#6a5311}html[data-theme="light"] .practice-result-time{background:#f7f9fc;border-color:#d7dde7;color:#151a24}html[data-theme="light"] .practice-result-time span{color:#667184}html[data-theme="light"] .practice-result-time b{color:#151a24}html[data-theme="light"] .practice-result-time small{color:#4055b5}html[data-theme="light"] .practice-sheet .practice-score{background:#eaf7f0;border-color:#b7d8c8;color:#176b4f}
@media(max-width:430px){.profile-hero-v4{grid-template-columns:50px minmax(0,1fr)}.profile-avatar{width:50px;height:50px;border-radius:16px}.profile-hero-badge{grid-column:1/-1;justify-self:start}.profile-rank-grid{grid-template-columns:1fr 1fr}.profile-rank-card:last-child{grid-column:1/-1;min-height:72px}.profile-stat-band{grid-template-columns:1fr 1fr}.profile-stat-band>div{padding-inline:6px}.profile-stat-band strong{font-size:16px}.profile-best-round{grid-column:1/-1;padding-block:10px!important;background:linear-gradient(145deg,#151c29,#10151d)!important;border-color:#39465f!important}.profile-best-round strong{font-size:15px;letter-spacing:-.025em}.profile-best-round small{font-size:6.2px;letter-spacing:.015em}.liveunit span{font-size:7px}.crew-panel-row{min-height:48px!important}}

/* v2.13.2 V5 — trustworthy Crew confirmations, resilient profile typography */
.profile-hero-v4 .profile-name h2{white-space:nowrap!important;max-width:100%;overflow:hidden!important;text-overflow:ellipsis!important;line-height:1.05!important;font-size:clamp(20px,5vw,26px)!important;letter-spacing:-.035em}.profile-hero-v4 .profile-name.medium h2{font-size:clamp(17px,4.2vw,22px)!important}.profile-hero-v4 .profile-name.long h2{font-size:clamp(15px,3.65vw,20px)!important;letter-spacing:-.018em}.profile-rank-card.featured{border-color:#6174ad!important;background:linear-gradient(145deg,#202a47,#141a28)!important;color:#f5f7ff!important;box-shadow:inset 0 1px rgba(255,255,255,.035)}.profile-rank-card.featured span{color:#bac6f6!important}.profile-rank-card.featured strong{color:#f7f9ff!important}.profile-rank-card.featured small{color:#9eabd0!important}
.crew-confirm-back{z-index:120!important;background:rgba(3,5,9,.78)!important;backdrop-filter:blur(15px) saturate(.92)!important;-webkit-backdrop-filter:blur(15px) saturate(.92)!important}.crew-confirm-card{position:relative;width:min(100%,430px)!important;gap:10px!important;padding:22px!important;border-radius:24px!important;background:linear-gradient(155deg,var(--surface2),var(--panel))!important;color:var(--text)!important;box-shadow:0 34px 100px rgba(0,0,0,.55),inset 0 1px rgba(255,255,255,.04)!important;outline:0!important;overflow:hidden}.crew-confirm-card:before{content:"";position:absolute;inset:0 0 auto;height:3px;background:var(--line-hi);opacity:.9}.crew-confirm-card.crew-confirm-positive{border-color:#3e715f!important}.crew-confirm-card.crew-confirm-positive:before{background:#63d6a2}.crew-confirm-card.crew-confirm-danger{border-color:#75414b!important}.crew-confirm-card.crew-confirm-danger:before{background:#e47b8c}.crew-confirm-card.crew-confirm-caution{border-color:#665c3d!important}.crew-confirm-card.crew-confirm-caution:before{background:#d9bd6d}.crew-confirm-icon{width:42px;height:42px;display:grid;place-items:center;margin-bottom:2px;border:1px solid var(--line-hi);border-radius:14px;background:var(--surface3);color:var(--text);font-size:18px;font-weight:1000}.crew-confirm-positive .crew-confirm-icon{border-color:#3e715f;background:#10251d;color:#8ee5bd}.crew-confirm-danger .crew-confirm-icon{border-color:#75414b;background:#2b151b;color:#ffb5c1}.crew-confirm-caution .crew-confirm-icon{border-color:#665c3d;background:#272116;color:#efd48a}.crew-confirm-card .crew-eyebrow{font-size:8px!important;letter-spacing:.13em!important}.crew-confirm-card h3{margin:0!important;color:var(--text)!important;font-size:clamp(19px,5vw,23px)!important;line-height:1.12!important;letter-spacing:-.035em!important}.crew-confirm-card p{margin:0!important;color:var(--muted)!important;font-size:11px!important;line-height:1.58!important}.crew-confirm-actions{margin-top:6px!important;display:grid!important;grid-template-columns:1fr 1.1fr!important;gap:8px!important}.crew-confirm-actions button{min-height:48px!important;border-radius:13px!important;border:1px solid var(--line-hi)!important;font-size:9px!important;font-weight:950!important;letter-spacing:.045em!important;cursor:pointer!important}.crew-confirm-cancel{background:var(--surface)!important;color:var(--muted)!important}.crew-confirm-primary{color:#0a0d12!important}.crew-confirm-primary-positive{background:linear-gradient(135deg,#a9edcd,#69d4a5)!important;border-color:#70d8aa!important}.crew-confirm-primary-danger{background:linear-gradient(135deg,#ffc0cb,#e77f91)!important;border-color:#e58b99!important;color:#351018!important}.crew-confirm-primary-caution{background:linear-gradient(135deg,#f5dfa0,#cfb565)!important;border-color:#d3b969!important;color:#2d2511!important}.crew-confirm-primary-neutral{background:linear-gradient(135deg,#c6ceff,#92a4ff)!important;border-color:#9aabef!important}.crew-confirm-select-label{display:grid;gap:6px;margin-top:3px}.crew-confirm-select-label>span{font-size:7.5px;color:var(--muted);font-weight:950;letter-spacing:.1em}.crew-confirm-card select{width:100%;min-height:48px!important;border:1px solid var(--line-hi)!important;border-radius:13px!important;background:var(--surface)!important;color:var(--text)!important;padding:10px 12px!important;font-size:11px!important}.crew-confirm-hint{min-height:17px;color:#efb2bd;font-size:8px;font-weight:850}.crew-confirm-card :focus-visible{outline:2px solid var(--accent)!important;outline-offset:2px!important}
html[data-theme="light"] .profile-rank-card.featured{background:linear-gradient(145deg,#edf1ff,#fff)!important;border-color:#aab6e8!important;color:#16203a!important}html[data-theme="light"] .profile-rank-card.featured span{color:#55679f!important}html[data-theme="light"] .profile-rank-card.featured strong{color:#182131!important}html[data-theme="light"] .profile-rank-card.featured small{color:#68769a!important}html[data-theme="light"] .crew-confirm-back{background:rgba(224,230,239,.84)!important}html[data-theme="light"] .crew-confirm-card{background:linear-gradient(155deg,#fff,#f5f7fb)!important;border-color:#cfd7e4!important;color:#182131!important;box-shadow:0 28px 80px rgba(43,55,80,.2)!important}html[data-theme="light"] .crew-confirm-card h3{color:#182131!important}html[data-theme="light"] .crew-confirm-card p,html[data-theme="light"] .crew-confirm-select-label>span{color:#657287!important}html[data-theme="light"] .crew-confirm-cancel{background:#f4f6fa!important;border-color:#d5dce7!important;color:#566277!important}html[data-theme="light"] .crew-confirm-card select{background:#fff!important;border-color:#cdd5e2!important;color:#172132!important}
@media(max-width:430px){.profile-hero-v4{grid-template-columns:50px minmax(0,1fr)!important}.profile-hero-v4 .profile-name h2{font-size:clamp(18px,5.5vw,23px)!important}.profile-hero-v4 .profile-name.medium h2{font-size:clamp(16px,4.8vw,20px)!important}.profile-hero-v4 .profile-name.long h2{font-size:clamp(14px,4.25vw,18px)!important}.crew-confirm-card{padding:18px!important;border-radius:20px!important}.crew-confirm-actions{grid-template-columns:1fr!important}.crew-confirm-actions button{min-height:46px!important}}
@media(max-width:370px){.profile-hero-v4{grid-template-columns:42px minmax(0,1fr)!important;gap:8px!important;margin-right:38px!important;padding:12px!important}.profile-hero-v4 .profile-avatar{width:42px!important;height:42px!important;border-radius:14px!important}.profile-hero-v4 .profile-name.long h2{font-size:12px!important;letter-spacing:-.025em!important}}

/* v2.14.14 profile density + light-mode PB contrast polish */
html[data-theme="light"] .profile-best-round{background:linear-gradient(145deg,#f8faff,#edf2fa)!important;border-color:#bcc8dc!important;color:#172132!important;box-shadow:inset 0 1px rgba(255,255,255,.8)}html[data-theme="light"] .profile-best-round strong{color:#172132!important}html[data-theme="light"] .profile-best-round span{color:#4c5d76!important}html[data-theme="light"] .profile-best-round small{color:#5b6c84!important}



/* v2.14.14 UI/UX V2 precision polish — hierarchy, mobile-native surfaces, race motivation */
.phase.open{border-color:#3d715e;background:linear-gradient(180deg,#13251e,#101c18);color:#b8efd5;box-shadow:inset 0 0 0 1px rgba(117,223,179,.05)}
.race-switch{flex:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin:0 0 7px;padding:4px;border:1px solid var(--line);border-radius:14px;background:var(--surface3)}
.race-switch-btn{min-width:0;min-height:42px;border:0;border-radius:10px;background:transparent;color:var(--muted);font-size:9px;font-weight:950;letter-spacing:.06em;transition:background .12s,color .12s,transform .08s}
.race-switch-btn:active{transform:scale(.985)}.race-switch-btn.active{background:#17261f;color:#a9e5c9;box-shadow:inset 0 0 0 1px #3f6b58}
.lb-period-tabs{flex:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0 0 9px}.lb-period-tabs .tab{min-height:40px;height:40px}
.sheetback.leader-full .leader-sheet>.race-switch,.sheetback.leader-full .leader-sheet>.lb-period-tabs{width:min(100%,920px);margin-left:auto;margin-right:auto}
.lb-you-score{min-width:0;display:grid;justify-items:end;gap:2px;text-align:right}.lb-you-score strong{font-size:8px;color:#cfd7ef;white-space:nowrap}.lb-you-score small{font-size:5.7px;color:#94a6df;font-weight:950;letter-spacing:.045em;white-space:nowrap}
.profile-hero-v4{grid-template-columns:58px minmax(0,1fr)}.profile-rank-card,.profile-stat-band>div{box-shadow:none}.profile-hero-badge{display:none!important}
.crew-hero-meta{display:flex;align-items:flex-end;gap:6px;flex-wrap:wrap;justify-content:flex-end}.crew-rank-pill{display:inline-flex;align-items:center;min-height:27px;padding:0 9px;border:1px solid #5668a2;border-radius:999px;background:#18213a;color:#c7d2ff;font-size:7.5px;font-weight:950;letter-spacing:.055em;white-space:nowrap}.crew-primary-actions.solo{grid-template-columns:1fr}.crew-leave-quiet{justify-self:center!important;width:auto!important;min-height:34px!important;padding:0 12px!important;margin-top:-3px}.crew-my-card,.crew-standings{box-shadow:none}.crew-facts span{box-shadow:none}
html[data-theme="light"] .phase.open{border-color:#add7c4;background:#e8f6ef;color:#176b4f;box-shadow:inset 0 0 0 1px rgba(23,107,79,.025)}html[data-theme="light"] .race-switch{background:#f1f4f8;border-color:#d5dce6}html[data-theme="light"] .race-switch-btn{color:#667287}html[data-theme="light"] .race-switch-btn.active{background:#e5f4ec;color:#176b4f;box-shadow:inset 0 0 0 1px #b7daca}html[data-theme="light"] .lb-you-score strong{color:#293653}html[data-theme="light"] .lb-you-score small{color:#5369ad}html[data-theme="light"] .crew-rank-pill{background:#edf1ff;border-color:#b7c2e9;color:#344ba8}
@media(max-width:560px){
 .sheetback.profile-full{padding:0!important;align-items:stretch!important;justify-content:stretch!important;background:var(--overlay)}
 .sheetback.profile-full .profile-sheet{width:100%!important;max-width:none!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border:0!important;border-radius:0!important;padding:calc(18px + var(--safeT)) max(16px,env(safe-area-inset-right)) calc(18px + var(--safeB)) max(16px,env(safe-area-inset-left))!important;display:block!important;overflow-y:auto!important;overflow-x:hidden!important;box-shadow:none!important;-webkit-overflow-scrolling:touch}
 .sheetback.profile-full .profile-elite{width:min(100%,640px);margin:0 auto}
 .sheetback.profile-full .sheet-x{position:fixed!important;top:max(12px,calc(var(--safeT) + 8px))!important;right:max(12px,calc(env(safe-area-inset-right) + 8px))!important;z-index:40!important;width:44px!important;height:44px!important;border-radius:14px!important;margin:0!important}
 .sheetback.profile-full .profile-hero-v4{margin-right:50px!important}
 .race-switch-btn{min-height:44px}.lb-period-tabs .tab{min-height:42px;height:42px}.lb-you-strip{grid-template-columns:45px minmax(0,1fr) auto}.lb-you-score small{font-size:5.4px}
 .crew-hero-meta{max-width:45%;gap:5px}.crew-rank-pill,.crew-state{min-height:25px;padding-inline:8px}.crew-leave-quiet{min-height:38px!important}
}
@media(max-width:360px){.lb-you-strip{grid-template-columns:42px minmax(0,1fr) auto;padding-inline:7px}.lb-you-score small{max-width:86px;overflow:hidden;text-overflow:ellipsis}.race-switch-btn{font-size:8.5px}.crew-rank-pill{font-size:7px}}


/* v2.14.14 UI/UX V3 canonical perceptual layer — readable typography, semantic contrast, 44px touch contracts */
:root{--ui-text-secondary:#b9c3d3;--ui-text-meta:#a2aec1;--ui-text-quiet:#929fb2;--ui-touch:44px}
html[data-theme="light"]{--ui-text-secondary:#435168;--ui-text-meta:#526077;--ui-text-quiet:#5c697d}
.headbtn{min-width:var(--ui-touch)!important;width:var(--ui-touch)!important;min-height:var(--ui-touch)!important;height:var(--ui-touch)!important}
.roundblock .cap,.clock span{font-size:9.5px!important;line-height:1.15;color:var(--ui-text-meta)!important;letter-spacing:.065em!important}
.liveunit span{font-size:9px!important;line-height:1.15;color:var(--ui-text-meta)!important;letter-spacing:.05em!important}
.eqsub{font-size:9.5px!important;color:var(--ui-text-meta)!important}.micro{font-size:9px!important;color:var(--ui-text-quiet)!important}
.iconbtn span{font-size:9px!important;line-height:1.1!important;letter-spacing:.035em!important;color:var(--ui-text-meta)!important}
.focus-help{position:relative}.focus-help:before{content:"";position:absolute;inset:-7px;border-radius:16px}
.race-switch-btn{font-size:10px!important}.lb-period-tabs .tab{font-size:10px!important}
.lb-you-score{gap:3px}.lb-you-score strong{font-size:11px!important;color:var(--ui-text-secondary)!important}.lb-you-score small{font-size:10px!important;color:#aab9f2!important;letter-spacing:.025em!important;max-width:none!important;overflow:visible!important;text-overflow:clip!important}
.profile-rank-card span{font-size:10px!important;line-height:1.2!important;color:var(--ui-text-meta)!important;letter-spacing:.065em!important}.profile-rank-card small{font-size:9.5px!important;line-height:1.25!important;color:var(--ui-text-quiet)!important}.profile-stat-band span{font-size:10px!important;line-height:1.2!important;color:var(--ui-text-meta)!important}.profile-best-round small{font-size:9.5px!important;line-height:1.25!important;color:var(--ui-text-quiet)!important}.profile-footer-actions a,.profile-signout{min-height:var(--ui-touch)!important;font-size:10px!important;color:var(--ui-text-secondary)!important}
.crew-subtab{font-size:10px!important}.crew-eyebrow,.crew-section-title>span,.crew-benefits span,.crew-permanent,.crew-state,.crew-facts span,.crew-rank-head,.crew-standing-head{font-size:9.5px!important;line-height:1.2!important;color:var(--ui-text-meta)!important}.crew-rank-pill{min-height:30px!important;font-size:10px!important}.crew-panel-row small,.crew-member-line small,.crew-request-row small,.crew-standing-row div small,.crew-create-card label span,.crew-privacy{font-size:9px!important;line-height:1.3!important;color:var(--ui-text-quiet)!important}.crew-panel button,.crew-secondary-link{font-size:10px!important}.crew-back{min-height:var(--ui-touch)!important;font-size:9.5px!important}.crew-remove,.crew-quiet,.crew-danger-quiet,.crew-request-actions button,.crew-advanced summary,.crew-leave-quiet{min-height:var(--ui-touch)!important}
.lb-status span,.lb-status b{font-size:9px!important;color:var(--ui-text-meta)!important}.lb-head{font-size:9.5px!important;color:var(--ui-text-meta)!important}.lbrow>span{font-size:9px!important}.lb-web-link{font-size:9.5px!important;min-height:36px!important}.lbhero p{font-size:9.5px!important;line-height:1.35!important;color:var(--ui-text-meta)!important}
.invite-card em{font-size:9px!important;line-height:1.15!important;color:var(--ui-text-meta)!important}.invite-card small{font-size:9.5px!important;line-height:1.25!important;color:var(--ui-text-secondary)!important}.invite-card>strong{font-size:9.5px!important}.security-copy b,.security-count{font-size:10px!important}.security-copy span{font-size:10px!important}
html[data-theme="light"] .lb-you-score strong,html[data-theme="light"] .profile-rank-card span,html[data-theme="light"] .profile-rank-card small,html[data-theme="light"] .profile-stat-band span,html[data-theme="light"] .profile-best-round small,html[data-theme="light"] .profile-footer-actions a,html[data-theme="light"] .profile-signout,html[data-theme="light"] .crew-eyebrow,html[data-theme="light"] .crew-section-title>span,html[data-theme="light"] .crew-benefits span,html[data-theme="light"] .crew-permanent,html[data-theme="light"] .crew-state,html[data-theme="light"] .crew-facts span,html[data-theme="light"] .crew-rank-head,html[data-theme="light"] .crew-standing-head,html[data-theme="light"] .crew-panel-row small,html[data-theme="light"] .crew-member-line small,html[data-theme="light"] .crew-request-row small,html[data-theme="light"] .crew-standing-row div small,html[data-theme="light"] .crew-create-card label span,html[data-theme="light"] .crew-privacy{color:var(--ui-text-meta)!important}
html[data-theme="light"] .lb-you-score small{color:#41599f!important}
html[data-theme="light"] .profile-rank-card.featured span{color:var(--ui-text-meta)!important}html[data-theme="light"] .profile-rank-card.featured small{color:var(--ui-text-quiet)!important}
@media(max-width:430px){
 .profile-elite{gap:10px}.profile-rank-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}.profile-rank-card{grid-column:auto!important;min-height:88px!important;padding:10px!important;border-radius:14px!important;gap:4px!important}.profile-rank-card:last-child{grid-column:1/-1!important;min-height:72px!important}.profile-rank-card strong{font-size:22px!important;line-height:1!important}.profile-stat-band{gap:6px}.profile-stat-band>div{padding-top:10px;padding-bottom:10px}.profile-best-round{padding-block:10px!important}.profile-action-grid{gap:8px}.profile-sheet{padding-top:16px;padding-bottom:calc(16px + var(--safeB))}
 .lb-you-strip{grid-template-columns:44px minmax(0,1fr) auto!important;gap:7px!important}.crew-hero-meta{max-width:52%}.crew-rank-pill,.crew-state{min-height:30px!important}
}
@media(max-width:360px){.lb-you-strip{grid-template-columns:40px minmax(0,1fr) auto!important;padding-inline:7px}.race-switch-btn{font-size:9.5px!important}.crew-rank-pill{font-size:10px!important}}
@media(max-height:620px) and (orientation:portrait){
 .app{gap:3px!important;padding-top:calc(5px + var(--safeT))!important}.top{margin-bottom:0!important}.roundline{padding-top:0!important}.roundblock,.clock{gap:1px!important}.livebar{margin-top:0!important}.liveunit,.phase{height:31px!important;min-height:31px!important}.control-wall{padding-top:5px!important;padding-bottom:calc(5px + var(--safeB))!important}.control-wall-inner{gap:5px!important}.pad{gap:5px!important}.key{height:44px!important;min-height:44px!important}.actions{margin-top:0!important;gap:5px!important}.iconbtn,.claim{height:44px!important;min-height:44px!important}.claim{padding-inline:7px!important;gap:4px!important;font-size:9px!important;letter-spacing:.055em!important}.claim-icon{width:22px!important;height:22px!important;border-radius:7px!important}.claim-icon svg{width:16px!important;height:16px!important}.focusbar{min-height:46px!important}
}

/* v2.14.14 UI/UX V4 optical refinement — centered player metrics, compact race navigation, friendly-serious typography */
:root{--font-ui:"Manrope",-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI Variable Text","Segoe UI",system-ui,sans-serif;--font-display:"Poppins","Avenir Next","SF Pro Display","Segoe UI Variable Display","Segoe UI",system-ui,sans-serif}
body{font-family:var(--font-ui)}
.brandname,.profile-name h2,.lbhero h2,.crew-panel h2,.crew-panel h3{font-family:var(--font-display)}
.profile-name h2,.lbhero h2{font-weight:800!important;letter-spacing:-.035em!important}
.profile-rank-card{justify-items:center!important;text-align:center!important;align-content:center!important;min-height:88px!important;padding:11px 10px!important;gap:4px!important}
.profile-rank-card strong{font-family:var(--font-display);font-weight:800!important;font-variant-numeric:tabular-nums}
.profile-rank-card span{letter-spacing:.05em!important}.profile-rank-card small{letter-spacing:.025em!important}
.profile-stat-band>div{justify-items:center!important;text-align:center!important;align-content:center!important;min-height:64px;padding:9px 7px!important}
.profile-stat-band strong{font-family:var(--font-display);font-weight:800!important;font-variant-numeric:tabular-nums}
.profile-best-round{gap:3px!important}.profile-best-round strong{font-size:16px!important;line-height:1.05!important}.profile-best-round span{font-size:9.5px!important;letter-spacing:.06em!important}.profile-best-round small{text-transform:none!important;letter-spacing:.015em!important}
.invite-card.invite-premium.invite-v4{min-height:94px!important;padding:12px 13px!important;grid-template-columns:40px minmax(0,1fr) auto!important;gap:11px!important;align-items:center!important;border-color:#435782!important;background:radial-gradient(240px 120px at 0 0,rgba(145,165,255,.17),transparent 72%),linear-gradient(135deg,#19233a,#111722)!important}
.invite-v4 .invite-glyph{width:40px!important;height:40px!important;border-radius:13px!important;font-size:18px!important}.invite-v4 .invite-copy{min-width:0}.invite-v4 .invite-copy em{margin-bottom:3px!important;font-size:9px!important;letter-spacing:.11em!important}.invite-v4 .invite-copy b{font-family:var(--font-display);font-size:13px!important;line-height:1.15!important;letter-spacing:-.012em!important;text-transform:none}.invite-v4 .invite-copy small{margin-top:4px!important;font-size:9.5px!important;line-height:1.3!important}.invite-v4 .invite-cta{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-height:36px!important;padding:0 12px!important;border:1px solid #6479b5!important;border-radius:999px!important;background:linear-gradient(135deg,#27385f,#1d2947)!important;color:#edf2ff!important;font-size:9px!important;font-weight:900!important;letter-spacing:.045em!important;white-space:nowrap!important}.invite-v4 .invite-cta span{display:inline!important}.invite-v4:active .invite-cta{transform:scale(.985)}
.profile-footer-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}.profile-footer-actions a,.profile-signout{width:100%!important;justify-content:center!important;text-align:center!important}
.race-switch{gap:4px!important;margin:0 0 3px!important;padding:0!important;border:0!important;border-radius:12px!important;background:transparent!important;box-shadow:none!important}
.race-switch-btn{position:relative!important;isolation:isolate;min-height:44px!important;height:44px!important;border:0!important;border-radius:11px!important;background:transparent!important;box-shadow:none!important;font-family:var(--font-ui)!important;font-size:10px!important;font-weight:800!important;letter-spacing:.035em!important}
.race-switch-btn:before{content:"";position:absolute;inset:4px 1px;z-index:-1;border:1px solid var(--line);border-radius:10px;background:var(--surface3);opacity:.76;transition:background .12s,border-color .12s,opacity .12s}
.race-switch-btn:after{content:"";position:absolute;inset:-1px 0}
.race-switch-btn.active{background:transparent!important;color:#a9e5c9!important;box-shadow:none!important}.race-switch-btn.active:before{background:#17261f;border-color:#3f6b58;opacity:1;box-shadow:inset 0 0 0 1px rgba(117,223,179,.045)}
.lb-period-tabs{gap:6px!important;margin:0 0 4px!important}.lb-period-tabs .tab{position:relative!important;isolation:isolate;min-height:42px!important;height:42px!important;border:0!important;border-radius:11px!important;background:transparent!important;box-shadow:none!important;font-family:var(--font-ui)!important;font-size:10px!important;font-weight:800!important;letter-spacing:.035em!important}
.lb-period-tabs .tab:before{content:"";position:absolute;inset:3px 0;z-index:-1;border:1px solid var(--line);border-radius:10px;background:var(--surface);transition:background .12s,border-color .12s}.lb-period-tabs .tab:after{content:"";position:absolute;inset:-2px 0}.lb-period-tabs .tab.active{background:transparent!important;color:#a5e6c7!important;box-shadow:none!important}.lb-period-tabs .tab.active:before{background:#17261f;border-color:#3f6b58;box-shadow:inset 0 0 0 1px rgba(117,223,179,.045)}
.crew-subtabs{gap:4px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}.crew-subtab{position:relative!important;isolation:isolate;min-height:40px!important;height:40px!important;border:0!important;background:transparent!important;box-shadow:none!important;font-family:var(--font-ui)!important;font-size:10px!important;font-weight:800!important;letter-spacing:.035em!important}.crew-subtab:before{content:"";position:absolute;inset:3px 0;z-index:-1;border:1px solid transparent;border-radius:999px;background:transparent}.crew-subtab:after{content:"";position:absolute;inset:-2px 0}.crew-subtab.active{background:transparent!important;border-color:transparent!important;color:var(--text)!important}.crew-subtab.active:before{border-color:var(--line)!important;background:var(--surface3)!important}
html[data-theme="light"] .invite-card.invite-premium.invite-v4{background:radial-gradient(240px 120px at 0 0,rgba(82,104,212,.1),transparent 72%),linear-gradient(135deg,#edf2ff,#f8f9ff)!important;border-color:#aebce5!important}html[data-theme="light"] .invite-v4 .invite-cta{background:linear-gradient(135deg,#e4eaff,#d7e0ff)!important;border-color:#a8b6e5!important;color:#263d91!important}
html[data-theme="light"] .race-switch-btn:before{background:#f2f4f8;border-color:#d7dde6}html[data-theme="light"] .race-switch-btn.active{color:#176b4f!important}html[data-theme="light"] .race-switch-btn.active:before,html[data-theme="light"] .lb-period-tabs .tab.active:before{background:#e7f5ee;border-color:#b7daca}html[data-theme="light"] .lb-period-tabs .tab:before{background:#fff;border-color:#d2d9e4}
@media(max-width:560px){.profile-elite{gap:8px!important}.profile-rank-grid{gap:7px!important}.profile-rank-card{min-height:82px!important;padding:9px!important}.profile-rank-card:last-child{min-height:68px!important}.profile-stat-band{gap:6px!important}.profile-stat-band>div{min-height:58px!important}.profile-best-round{min-height:68px!important;padding:9px!important}.invite-card.invite-premium.invite-v4{grid-template-columns:38px minmax(0,1fr)!important;align-items:center!important;padding:11px!important}.invite-v4 .invite-glyph{width:38px!important;height:38px!important}.invite-v4 .invite-cta{grid-column:1/-1!important;width:100%!important;min-height:38px!important;margin-top:1px!important}.race-switch-btn{min-height:44px!important;height:44px!important}.lb-period-tabs .tab{min-height:42px!important;height:42px!important}.crew-subtab{min-height:40px!important;height:40px!important}}
@media(max-width:360px){.profile-rank-card{min-height:78px!important}.profile-rank-card strong{font-size:21px!important}.profile-stat-band>div{min-height:56px!important}.invite-v4 .invite-copy b{font-size:12px!important}.invite-v4 .invite-copy small{font-size:9.5px!important}}
@media(max-width:699px) and (max-height:620px){.help-sheet{padding-top:6px!important;padding-bottom:calc(6px + var(--safeB))!important}}
/* v2.14.14 UI/UX V4.1 geometry hotfix — one centered race column + profile hero/close top-edge lock. */
.sheetback.leader-full .leader-sheet>.race-switch,.sheetback.leader-full .leader-sheet>.lb-period-tabs{width:min(100%,920px)!important;margin-left:auto!important;margin-right:auto!important}
@media(max-width:560px){.sheetback.profile-full .profile-sheet{padding-top:max(12px,calc(var(--safeT) + 8px))!important}}
@media(orientation:portrait) and (min-width:561px) and (max-width:699px) and (min-height:621px){.profile-sheet{padding-top:14px!important}}
@media(min-width:700px) and (min-height:560px){.sheet.profile-sheet{padding-top:18px!important}}
@media(orientation:landscape) and (max-height:520px){.profile-sheet{padding-top:8px!important}}
@media(prefers-reduced-motion:reduce){.race-switch-btn:before,.lb-period-tabs .tab:before,.invite-v4 .invite-cta{transition:none!important}}
/* Canonical elapsed-time grammar is deliberately verbose; keep every surface readable without horizontal overflow. */
.clock strong{font-size:clamp(10.5px,3.2vw,15px);letter-spacing:-.04em}.notice>strong{font-size:clamp(9px,2.8vw,12px);white-space:nowrap;letter-spacing:-.03em}.personal-reward-metrics span{font-size:clamp(9px,2.8vw,12px);white-space:nowrap;letter-spacing:-.025em}.profile-best-round strong{font-size:clamp(11px,2.2vw,14px)!important;letter-spacing:-.04em!important}.practice-result-time b{font-size:clamp(13px,3vw,18px);white-space:nowrap;letter-spacing:-.035em}.transition-result p{overflow-wrap:anywhere}
@media(max-width:370px){.roundline{grid-template-columns:minmax(74px,.5fr) minmax(0,1.75fr)}.clock strong{font-size:clamp(9.5px,3vw,12px)}}
@media(max-height:680px){.clock strong{font-size:clamp(9.5px,3vw,14px)}}
@media(max-width:560px){.profile-best-round strong{font-size:clamp(12px,3.5vw,15px)!important}}
@media(max-width:430px){.practice-result-time{grid-template-columns:1fr}.practice-result-time b{grid-row:auto;grid-column:auto;font-size:clamp(12px,4vw,15px)}.practice-result-time small{line-height:1.35;overflow-wrap:anywhere}}


/* v2.14.22 transparent brand mark: theme-aware PNG object, no container chrome */
.brand-glyph{position:relative;display:block;width:100%;height:100%;overflow:visible;line-height:0}
.brand-glyph>img{position:absolute;inset:0;width:100%;height:100%;max-width:100%;object-fit:contain;pointer-events:none;user-select:none}
.brand-glyph-light{display:none}
html[data-theme="light"] .brand-glyph-dark{display:none}
html[data-theme="light"] .brand-glyph-light{display:block}
.mark .brand-glyph,.authmark .brand-glyph,.installbar-mark .brand-glyph{width:100%;height:100%}

/* v2.14.22 transition monetization waterfall: house-first, network crossfade, zero layout shift */
.ad-unit{position:relative;isolation:isolate;background:#0d1118;border:1px solid #2b3342;box-shadow:0 14px 42px rgba(0,0,0,.23);overflow:hidden}.ad-house,.ad-network{position:absolute;inset:0;width:100%;height:100%;transition:opacity .16s ease}.ad-house{z-index:2;display:grid;place-items:center;overflow:hidden;background:radial-gradient(circle at 82% 12%,rgba(174,185,255,.20),transparent 42%),linear-gradient(145deg,#151b29,#0a0d13 70%);opacity:1}.ad-house.is-hidden{opacity:0;pointer-events:none}.ad-house-fallback{position:relative;z-index:1;width:100%;height:100%;display:grid;align-content:center;justify-items:center;gap:9px;padding:24px;text-align:center}.ad-house-fallback:before{content:"";position:absolute;inset:18px;border:1px solid rgba(174,185,255,.14);border-radius:15px;pointer-events:none}.ad-house-mark{font-size:27px;line-height:1;font-weight:1000;letter-spacing:.13em;color:#f7f9ff}.ad-house-fallback b{font-size:12px;letter-spacing:.12em;color:#cfd7ff}.ad-house-fallback small{font-size:8px;font-weight:900;letter-spacing:.16em;color:#7f8ca5}.ad-house-image{position:absolute;z-index:2;inset:0;background-image:url('/ad-house-300x250.png');background-size:cover;background-position:center;background-repeat:no-repeat;pointer-events:none}.ad-network{z-index:1;display:block;opacity:.001;pointer-events:none;background:transparent}.ad-network.is-ready{z-index:3;opacity:1;pointer-events:auto}.ad-provider-slot{position:absolute;inset:0;width:300px;height:250px;max-width:100%;overflow:hidden}.ad-network iframe,.ad-network img,.ad-network object,.ad-network embed,.ad-network video,.ad-network canvas,.ad-network ins{max-width:300px!important}.ad-unit[data-provider="house"] .ad-network{pointer-events:none}.ad-label{min-height:8px}.transition-ad.network-ready .ad-label{color:#7f8796}.transition-ad.house-only .ad-label{color:#8f9ab0}html[data-theme="light"] .ad-unit{background:#f1f4f8;border-color:#d5dce7;box-shadow:0 14px 42px rgba(74,87,110,.13)}html[data-theme="light"] .ad-house{background:radial-gradient(circle at 82% 12%,rgba(103,124,225,.14),transparent 42%),linear-gradient(145deg,#f8f9ff,#e9edf5 72%)}html[data-theme="light"] .ad-house-mark{color:#151b29}html[data-theme="light"] .ad-house-fallback b{color:#31406a}html[data-theme="light"] .ad-house-fallback small{color:#6e7890}html[data-theme="light"] .ad-house-fallback:before{border-color:rgba(81,102,194,.16)}
/* 3 Oct UI/UX polish: stable sponsor-first transition + cleaner Crew hierarchy */
.crew-discover-tools{display:flex;align-items:flex-start;justify-content:flex-end;gap:8px;min-width:0}.crew-refresh-chip{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:0 10px;border:1px solid var(--line-hi);border-radius:999px;background:var(--surface3);color:var(--ui-text-meta,var(--muted));font-size:9px;font-weight:950;letter-spacing:.055em;white-space:nowrap;font-variant-numeric:tabular-nums}.crew-panel-row small{align-self:center}.transition-card{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"sponsor" "result";width:min(100%,440px)!important;gap:10px!important;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;padding:2px 0}.transition-card::-webkit-scrollbar{display:none}.transition-ad{grid-area:sponsor;min-height:270px;align-content:start;contain:layout paint}.transition-result{grid-area:result;contain:layout paint}.ad-label{width:300px;max-width:calc(100vw - 24px);min-height:15px;margin:0 0 5px!important;display:flex;align-items:center;justify-content:center;color:#8e98aa!important;font-size:9px!important;line-height:1!important;font-weight:950!important;letter-spacing:.13em!important}.ad-unit{flex:none;contain:strict}.transition-ad.network-ready .ad-label,.transition-ad.house-only .ad-label{color:#8e98aa!important}
@media(max-width:560px){.crew-discover-head{grid-template-columns:minmax(0,1fr) auto!important;gap:10px}.crew-discover-tools{align-self:start}.crew-discover-tools:has(.crew-create-cta){grid-column:1/-1;width:100%}.crew-discover-tools:has(.crew-create-cta) .crew-create-cta{width:100%}.crew-refresh-chip{min-height:28px;padding-inline:8px;font-size:8.5px}.transition-card{max-height:calc(100dvh - 16px);width:min(100%,430px)!important}.transition-result{padding:14px;border-radius:20px}.transition-result .seal{width:42px;height:42px}.transition-result h1{font-size:23px;margin-top:9px}.transition-result .carry-block{margin-top:9px;padding-top:9px}.transition-next{margin-top:9px;padding-top:9px}.transition-next strong{font-size:29px}.transition-ad{min-height:268px}}
@media(max-width:370px){.crew-refresh-chip{font-size:8px;letter-spacing:.035em;padding-inline:7px}.transition-card{gap:8px!important}.ad-label{max-width:calc(100vw - 20px)}.ad-unit{transform-origin:top center}.transition-result{padding:12px}.transition-result-head{gap:9px}.transition-result h1{font-size:21px}.transition-actions{gap:5px}}
@media(max-height:640px) and (orientation:portrait){.overlay{padding:6px}.transition-card{max-height:calc(100dvh - 12px);gap:6px!important}.transition-ad{min-height:265px}.transition-result{padding:8px 10px;border-radius:16px}.transition-result-head{gap:8px}.transition-result .seal{width:30px;height:30px;border-radius:10px}.transition-result .seal svg{width:17px;height:17px}.transition-result h1{font-size:18px;margin:5px 0 2px}.transition-result p{font-size:8px;line-height:1.25}.personal-reward{padding:6px 8px;margin:6px 0;gap:4px;border-radius:10px}.personal-reward-head span,.personal-reward-head b,.personal-reward-note,.personal-reward-best{font-size:7px}.personal-reward-metrics strong{font-size:15px}.personal-reward-metrics span{font-size:9px}.personal-reward-best{padding:3px 6px}.transition-result .carry-block{margin-top:5px;padding-top:5px}.transition-result .carry-strip{width:min(100%,228px);margin-top:4px;gap:4px}.carry-chip{border-radius:8px;font-size:13px}.transition-next{margin-top:5px;padding-top:5px}.transition-next strong{font-size:24px}.transition-share,.transition-practice{min-height:32px;height:32px;padding-inline:9px}.transition-actions{gap:4px}}
@media(orientation:landscape) and (max-height:520px) and (min-width:560px){.transition-card:has(.transition-ad:not([hidden])){grid-template-columns:300px minmax(300px,1fr)!important;grid-template-areas:"sponsor result";width:min(760px,calc(100vw - 18px))!important;align-items:start}.transition-ad{min-height:270px}.transition-result{max-width:none}}
html[data-theme="light"] .crew-refresh-chip{background:#f3f5f9;border-color:#cbd3df;color:#59667a}
@media(prefers-reduced-motion:reduce){.ad-house,.ad-network{transition:none!important}}
