:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f5f3fd;--bg-deep:#eeebfb;--page-backdrop:radial-gradient(1100px 560px at 88% -10%, #8c6eff1f, transparent 62%), radial-gradient(900px 640px at -12% 112%, #8c6eff17, transparent 60%), linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);--bg-glow:#fff;--surface:#fff;--surface-2:#f4f2ff;--surface-3:#e9e6fd;--ink:#1f1a4d;--ink-soft:#5d5890;--ink-faint:#8f8bb5;--line:#e2dff7;--on-dark:#1f1a4d;--on-dark-soft:#5d5890;--on-dark-fill:#5b48d614;--on-dark-fill-hover:#5b48d624;--on-dark-lift:none;--on-dark-gold:#b07800;--on-dark-faint:var(--ink-faint);--brand:#6c5ce7;--brand-dark:#4434c4;--gold:#ffc93c;--gold-dark:#d99500;--good:#22c55e;--good-dark:#15803d;--bad:#ef4444;--bad-dark:#b91c1c;--info:#2f8fea;--info-dark:#1c63b0;--brand-text:#4434c4;--good-text:#15803d;--bad-text:#b91c1c;--info-text:#1c63b0;--tint-brand:#ece8ff;--tint-gold:#fff7dd;--tint-gold-ink:#6b4e00;--tint-good:#e7f9ee;--tint-bad:#ffe8e8;--tint-info:#e7f2ff;--tint-bamboo:#e5f7d4;--tint-bamboo-ink:#2f6b12;--scrim:#140c4699;--radius-sm:10px;--radius:18px;--radius-lg:28px;--shadow-card:0 0 0 1px #5b48d60f, 0 14px 34px -18px #4c3ab44d;--font-app-display:-apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--font-display:var(--font-app-display);--font-body:-apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--tracking-display:-.02em}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0e0c24;--bg-deep:#0e0c24;--bg-glow:#2b1f6e;--page-backdrop:radial-gradient(1100px 560px at 88% -10%, #7c58ff3d, transparent 62%), radial-gradient(900px 640px at -12% 112%, #543ad233, transparent 60%), var(--bg);--on-dark:#fff;--on-dark-soft:#ffffffc7;--on-dark-fill:#ffffff24;--on-dark-fill-hover:#ffffff3d;--on-dark-lift:0 4px 0 #140a5a73;--on-dark-gold:var(--gold);--on-dark-faint:#ffffff8c;--surface:#17142f;--surface-2:#221e46;--surface-3:#2d2859;--ink:#f3f1ff;--ink-soft:#b3aedb;--ink-faint:#7f7aaa;--line:#2c2852;--glass:linear-gradient(180deg, #28225cbd 0%, #171438bd 100%);--glass-edge:#aa9bff24;--brand-text:#b7adff;--good-text:#5fdc8c;--bad-text:#ff8f8f;--info-text:#82c3ff;--tint-brand:#352d73;--tint-gold:#3d3340;--tint-gold-ink:#ffd877;--tint-good:#1f3a48;--tint-bad:#432546;--tint-info:#213661;--tint-bamboo:#213f30;--tint-bamboo-ink:#a9e57f;--scrim:#040310bd;--shadow-card:0 0 0 1px var(--glass-edge), 0 18px 40px -22px #000000bf}.game-font{--font-display:"Fredoka", "Nunito", ui-rounded, system-ui, sans-serif;--font-body:"Nunito", ui-rounded, system-ui, sans-serif;--tracking-display:normal;font-family:var(--font-body);font-weight:500}.game-font :where(h1,h2,h3,h4){font-weight:600}.game-font .btn{letter-spacing:.01em}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{min-height:100vh;font-family:var(--font-body);color:var(--ink);background:var(--bg-deep);-webkit-font-smoothing:antialiased;margin:0;font-weight:400}body:before{content:"";z-index:-1;background:var(--page-backdrop);position:fixed;inset:0}h1,h2,h3,h4{font-family:var(--font-display);letter-spacing:var(--tracking-display);margin:0;font-weight:650;line-height:1.15}p{margin:0;line-height:1.5}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer}:focus-visible{outline:3px solid var(--gold);outline-offset:2px}.screen{flex-direction:column;gap:20px;width:100%;max-width:980px;margin:0 auto;padding:20px 16px 64px;display:flex}.screen-narrow{max-width:720px}.topbar{color:var(--on-dark);align-items:center;gap:12px;min-height:44px;display:flex}.topbar h1{flex:1;min-width:0;font-size:clamp(1.4rem,4vw,1.9rem)}.topbar-sub{color:var(--on-dark-soft);font-size:.95rem}.card{background:var(--surface);border-radius:var(--radius-lg);box-shadow:var(--shadow-card);flex-direction:column;gap:16px;padding:22px;display:flex}:root[data-theme=dark] .card:not(.overlay-card){background:var(--glass)}.card-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.card-title{font-size:1.25rem}.muted{color:var(--ink-soft)}.small{font-size:.875rem}.row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.stack{flex-direction:column;gap:10px;display:flex}.spacer{flex:1}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.grade-a{--grade:var(--good-text);--grade-tint:var(--tint-good);color:var(--grade)}.grade-b{--grade:var(--brand-text);--grade-tint:var(--tint-brand);color:var(--grade)}.grade-c{--grade:#a86f00;--grade-tint:var(--tint-gold);color:var(--grade)}.grade-df{--grade:var(--bad-text);--grade-tint:var(--tint-bad);color:var(--grade)}:root[data-theme=dark] .grade-c{--grade:#ffd166}:root[data-theme=dark] .grade-df{--grade:#ff5f5f}.tier-text.is-locked{color:var(--ink-faint)}.tier-text.is-bronze{color:#a0603a}.tier-text.is-silver{color:#6e6b85}.tier-text.is-gold{color:#a86f00}.tier-text.is-platinum{color:#2b8a87}.tier-text.is-diamond{color:#7c5ce6}:root[data-theme=dark] .tier-text.is-bronze{color:#d9a27c}:root[data-theme=dark] .tier-text.is-silver{color:#d9d7ea}:root[data-theme=dark] .tier-text.is-gold{color:#f2cf72}:root[data-theme=dark] .tier-text.is-platinum{color:#a8e6e2}:root[data-theme=dark] .tier-text.is-diamond{color:#cdbdff}.btn{--btn-bg:var(--brand);--btn-edge:var(--brand-dark);--btn-ink:#fff;background:var(--btn-bg);min-height:46px;color:var(--btn-ink);font-family:var(--font-display);letter-spacing:-.005em;box-shadow:0 5px 0 var(--btn-edge);white-space:nowrap;-webkit-user-select:none;user-select:none;border:0;border-radius:14px;justify-content:center;align-items:center;gap:8px;padding:10px 20px;font-size:1.05rem;font-weight:600;text-decoration:none;transition:transform 80ms,box-shadow 80ms,filter .12s;display:inline-flex;transform:translateY(0)}.btn:hover:not(:disabled){filter:brightness(1.06)}.btn:active:not(:disabled){box-shadow:0 1px 0 var(--btn-edge);transform:translateY(4px)}.btn:disabled{opacity:.45;cursor:not-allowed}.btn-gold{--btn-bg:var(--gold);--btn-edge:var(--gold-dark);--btn-ink:#4a3200}.btn-green{--btn-bg:var(--good);--btn-edge:var(--good-dark)}.btn-red{--btn-bg:var(--bad);--btn-edge:var(--bad-dark)}.btn-blue{--btn-bg:var(--info);--btn-edge:var(--info-dark)}.btn-pink{--btn-bg:#d1358a;--btn-edge:#9e1f66}.btn-light{--btn-bg:var(--surface-2);--btn-edge:var(--surface-3);--btn-ink:var(--ink)}.btn-ghost{--btn-bg:#ffffff24;--btn-edge:#0000002e;--btn-ink:#fff}.btn.btn-outline{--btn-bg:transparent;--btn-edge:transparent;--btn-ink:var(--ink);box-shadow:inset 0 0 0 1.5px var(--outline,var(--line))}.btn.btn-outline:hover:not(:disabled){filter:none;background:var(--surface-2)}.btn.btn-outline:active:not(:disabled){box-shadow:inset 0 0 0 1.5px var(--outline,var(--line));transform:translateY(1px)}:root[data-theme=dark] .btn-outline{--outline:#c8beff47}:root[data-theme=dark] .btn.btn-outline:hover:not(:disabled){background:#ffffff0f}.btn-small{min-height:36px;box-shadow:0 3px 0 var(--btn-edge);border-radius:11px;padding:6px 14px;font-size:.92rem}.btn-small:active:not(:disabled){box-shadow:0 1px 0 var(--btn-edge);transform:translateY(2px)}.btn-big{min-height:60px;box-shadow:0 7px 0 var(--btn-edge);border-radius:18px;padding:14px 30px;font-size:1.3rem}.btn-block{width:100%}.icon-btn{background:var(--on-dark-fill);width:40px;height:40px;color:inherit;border:0;border-radius:12px;place-items:center;font-size:1.15rem;display:inline-grid}.icon-btn:hover{background:var(--on-dark-fill-hover)}.icon-btn.on-light{background:var(--surface-2);color:var(--ink-soft)}.icon-btn.on-light:hover{background:var(--surface-3);color:var(--ink)}.field{flex-direction:column;gap:6px;display:flex}.label{color:var(--ink-soft);text-transform:uppercase;letter-spacing:.05em;font-size:.85rem;font-weight:800}.input,.textarea,.select{border:2px solid var(--line);background:var(--surface);border-radius:12px;width:100%;min-height:44px;padding:10px 12px;transition:border-color .12s}.input:focus,.textarea:focus,.select:focus{border-color:var(--brand);outline:none}.textarea{resize:vertical;min-height:120px;line-height:1.5}.segmented{background:var(--surface-2);border-radius:14px;flex-wrap:wrap;gap:6px;padding:5px;display:inline-flex}.segmented button{min-height:38px;color:var(--ink-soft);background:0 0;border:0;border-radius:10px;padding:8px 14px;font-weight:800}.segmented button[aria-pressed=true]{background:var(--surface);color:var(--brand-text);box-shadow:0 2px 6px #281e7826}:root[data-theme=dark] .segmented button[aria-pressed=true]{background:var(--tint-brand);box-shadow:inset 0 0 0 2px var(--brand)}.switch{cursor:pointer;align-items:center;gap:10px;font-weight:700;display:inline-flex}.switch input{width:22px;height:22px;accent-color:var(--brand)}.pill{background:var(--surface-2);color:var(--ink-soft);border-radius:999px;align-items:center;gap:6px;padding:4px 12px;font-size:.85rem;font-weight:800;display:inline-flex}.notice{background:var(--tint-gold);color:var(--tint-gold-ink);border-radius:14px;gap:10px;padding:12px 14px;font-size:.95rem;font-weight:600;display:flex}.notice.error{background:var(--tint-bad);color:var(--bad-text)}.notice.info{background:var(--tint-info);color:var(--info-text)}.empty{text-align:center;color:var(--ink-soft);padding:32px 16px}.wait-bar{background:var(--surface-2);border-radius:999px;flex:none;width:96px;height:8px;display:block;overflow:hidden;box-shadow:inset 0 0 0 1px #22c55e4d}.wait-bar.is-wide{background:var(--surface);width:100%;height:10px}.wait-bar-fill{border-radius:inherit;background:linear-gradient(90deg, var(--good-dark), var(--good));width:92%;height:100%;animation:wait-bar-fill var(--wait-seconds,60s) linear both;display:block}@keyframes wait-bar-fill{0%{width:4%}to{width:92%}}.reduce-motion .wait-bar-fill{width:50%;animation:none}@media (prefers-reduced-motion:reduce){*,:before,:after{animation-duration:1ms!important;animation-iteration-count:1!important}.wait-bar-fill{width:50%;animation:none}}.reduce-motion *,.reduce-motion :before,.reduce-motion :after{scroll-behavior:auto!important;transition-duration:1ms!important;animation-duration:1ms!important;animation-iteration-count:1!important}@font-face{font-family:Fredoka;font-style:normal;font-weight:500 700;font-display:swap;src:url(/assets/fredoka-hebrew-CjvktpUN.woff2)format("woff2");unicode-range:U+307-308,U+590-5FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}@font-face{font-family:Fredoka;font-style:normal;font-weight:500 700;font-display:swap;src:url(/assets/fredoka-latin-ext-tYNUQHO6.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Fredoka;font-style:normal;font-weight:500 700;font-display:swap;src:url(/assets/fredoka-latin-DOQG_Jwn.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-weight:400 900;font-display:swap;src:url(/assets/inter-cyrillic-ext-BLWtiy7B.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:400 900;font-display:swap;src:url(/assets/inter-cyrillic-B8cfLZjk.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:400 900;font-display:swap;src:url(/assets/inter-greek-ext-BKTlanAW.woff2)format("woff2");unicode-range:U+1F??}@font-face{font-family:Inter;font-style:normal;font-weight:400 900;font-display:swap;src:url(/assets/inter-greek-iYI_izmT.woff2)format("woff2");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter;font-style:normal;font-weight:400 900;font-display:swap;src:url(/assets/inter-vietnamese-mkXyzLes.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:400 900;font-display:swap;src:url(/assets/inter-latin-ext-jukQPMAF.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:400 900;font-display:swap;src:url(/assets/inter-latin-j6BbcsN8.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Nunito;font-style:normal;font-weight:500 800;font-display:swap;src:url(/assets/nunito-cyrillic-ext-HLlKQ7EQ.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Nunito;font-style:normal;font-weight:500 800;font-display:swap;src:url(/assets/nunito-cyrillic-CTI5J-Gh.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Nunito;font-style:normal;font-weight:500 800;font-display:swap;src:url(/assets/nunito-vietnamese-DRvBUXbr.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Nunito;font-style:normal;font-weight:500 800;font-display:swap;src:url(/assets/nunito-latin-ext-euCJkQzq.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Nunito;font-style:normal;font-weight:500 800;font-display:swap;src:url(/assets/nunito-latin-CjueodBP.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}.topic-badge{align-items:center;gap:8px;min-width:0;display:inline-flex}.topic-badge-icon{--size:34px;width:var(--size);height:var(--size);background:var(--topic);font-size:calc(var(--size) * .52);border-radius:50%;flex:none;place-items:center;line-height:1;display:inline-grid;box-shadow:inset 0 -3px #0000002e,0 0 0 2px #fff}.topic-badge.size-sm .topic-badge-icon{--size:24px;box-shadow:inset 0 -2px #0000002e,0 0 0 1.5px #fff}.topic-badge.size-lg .topic-badge-icon{--size:56px}.topic-badge.size-xl .topic-badge-icon{--size:84px;box-shadow:inset 0 -5px #0000002e,0 0 0 5px #fff}.topic-badge.faded .topic-badge-icon{filter:grayscale();opacity:.55;box-shadow:none;background:#d9d6ee}.topic-badge-name{text-overflow:ellipsis;white-space:nowrap;font-weight:800;overflow:hidden}.crown-meter{align-items:center;gap:4px;display:inline-flex}.crown-meter .pip{background:#1f1a4d24;border-radius:6px;width:22px;height:10px;transition:background .3s}.crown-meter .pip.filled{background:var(--gold);box-shadow:inset 0 -2px 0 var(--gold-dark)}.crown-meter.size-sm .pip{width:12px;height:7px}.crown-meter.size-sm .crown-meter-icon{font-size:.8rem}.crown-meter.size-lg .pip{background:#ffffff38;border-radius:9px;width:44px;height:16px}.crown-meter.size-lg .pip.filled{background:var(--gold)}.crown-meter.size-lg .crown-meter-icon{font-size:1.5rem}.scoreboard{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;display:grid}.scoreboard.count-1{grid-template-columns:minmax(0,420px);justify-content:center}.score-card{background:#fffffff0;border:3px solid #0000;border-radius:18px;flex-direction:column;gap:8px;padding:10px 12px;transition:border-color .2s,transform .2s;display:flex}.score-card.active{border-color:var(--player);transform:translateY(-2px);box-shadow:0 8px 20px #0a053c4d}.score-card-head{align-items:center;gap:8px;min-width:0;display:flex}.score-card-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-weight:800;overflow:hidden}.score-card-crowns{flex-wrap:wrap;gap:5px;display:flex}.avatar{background:var(--player,var(--surface-2));border-radius:50%;flex:none;place-items:center;width:34px;height:34px;font-size:1.15rem;display:inline-grid;box-shadow:inset 0 -3px #00000026}.avatar.big{width:110px;height:110px;font-size:3.6rem;box-shadow:inset 0 -8px #00000026,0 0 0 6px #fff}.confetti{pointer-events:none;z-index:50;position:fixed;inset:0;overflow:hidden}.confetti-piece{opacity:0;border-radius:2px;width:9px;height:14px;animation-name:confetti-fall;animation-timing-function:cubic-bezier(.25,.6,.4,1);animation-fill-mode:forwards;position:absolute;top:-20px}.confetti-piece.round{border-radius:50%;width:10px;height:10px}@keyframes confetti-fall{0%{opacity:1;transform:translate(0)rotate(0)}85%{opacity:1}to{opacity:0;transform:translate(var(--drift), 105vh) rotate(var(--spin))}}.confetti.is-contained{z-index:3;border-radius:inherit;position:absolute;container-type:size}.confetti.is-contained .confetti-piece{animation-name:confetti-fall-in}@keyframes confetti-fall-in{0%{opacity:1;transform:translate(0)rotate(0)}85%{opacity:1}to{opacity:0;transform:translate(calc(var(--drift) * .5), calc(100cqh + 20px)) rotate(var(--spin))}}@media (prefers-reduced-motion:reduce){.confetti{display:none}}.reduce-motion .confetti{display:none}.avatar{position:relative}.tab-avatar-row{justify-content:flex-end;margin:-6px 0 -8px;display:flex}.tab-avatar{border-radius:50%;flex:none;display:inline-grid;box-shadow:0 0 0 3px #ffffffeb,0 4px 12px #0e083c4d}.tab-avatar .avatar{width:40px;height:40px}.tab-avatar:active{transform:scale(.94)}.avatar-sm{width:28px;height:28px;font-size:.95rem}.avatar-lg{width:56px;height:56px;font-size:1.9rem}.avatar-xl{width:84px;height:84px;font-size:2.8rem;box-shadow:inset 0 -6px #00000026,0 0 0 4px #fff}.avatar-face{border-radius:50%;position:absolute;inset:0;overflow:hidden}.avatar-face img{object-fit:cover;-webkit-user-select:none;user-select:none;width:100%;height:100%;display:block}.avatar-big{width:110px;height:110px;box-shadow:inset 0 -8px #00000026,0 0 0 6px #fff}.online-dot{background:#b9b6d3;border:2px solid #fff;border-radius:50%;width:30%;min-width:9px;height:30%;min-height:9px;position:absolute;bottom:-1px;right:-1px}.online-dot.on{background:var(--good)}.crown-arc{width:min(70vw,260px);height:auto;margin-bottom:-18px;overflow:visible}.crown-arc-seg{fill:none;stroke:#ffffff40;stroke-width:13px;stroke-linecap:round;transition:stroke .3s}.crown-arc-seg.filled{stroke:var(--gold)}.crown-arc-badge{fill:#ffffff40}.crown-arc-badge.full{fill:var(--gold)}.crown-arc-icon{text-anchor:middle;dominant-baseline:central;font-size:15px}.scoreboard.versus{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center}.versus-score{color:#fff;font-family:var(--font-display);text-shadow:0 3px #140a5a73;align-items:center;gap:10px;font-size:clamp(1.6rem,5vw,2.4rem);font-weight:700;display:flex}.versus-score .vs{opacity:.8;font-size:.55em}@media (width<=520px){.scoreboard.versus{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.versus-score{display:none}}.art-icon{vertical-align:-.25em;width:1.25em;height:1.25em;display:inline-block}:root[data-theme=dark] .emoji-sign{filter:brightness(0)invert();opacity:.92}.swords-icon{vertical-align:-.2em;background:currentColor;flex:none;width:1.15em;height:1.15em;display:inline-block;-webkit-mask:url(/nav/duel.png) 50%/contain no-repeat;mask:url(/nav/duel.png) 50%/contain no-repeat}.deck-visibility{flex-direction:column;gap:4px;display:flex}.deck-visibility-pick{border:2px solid var(--surface-3);width:fit-content;max-width:100%;color:var(--ink-soft);border-radius:999px;align-items:center;gap:6px;padding:2px 6px 2px 10px;font-size:.85rem;font-weight:800;display:inline-flex}.deck-visibility-pick.is-shared{background:var(--tint-bamboo);color:var(--tint-bamboo-ink);border-color:#33b84a}.deck-visibility-label{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.deck-visibility-pick select{min-width:0;color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;padding:4px}.deck-visibility-note,.buddy-share-note{margin:0}.buddy-requests{flex-direction:column;gap:8px;display:flex}.buddy-request{border:3px solid var(--gold);border-radius:var(--radius);color:var(--ink);background:#fff8dc;flex-wrap:wrap;align-items:center;gap:10px 12px;padding:10px 14px;display:flex;box-shadow:0 4px #d9950059}.buddy-request p{flex:200px;margin:0;font-weight:700}.buddy-request-actions{gap:8px;display:flex}.buddy-request-error{color:var(--bad);margin:0}.nav-badge.inline-badge{margin-left:6px}.more-phone-btn{position:relative}.nav-badge.more-badge{margin:0;position:absolute;top:-8px;right:-8px}.tab-bar{background:var(--on-dark-fill);border-radius:18px;align-self:flex-start;gap:6px;max-width:100%;padding:6px;display:flex}.tab-bar button{min-height:44px;color:var(--on-dark);font-family:var(--font-display);white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:13px;justify-content:center;align-items:center;gap:8px;padding:8px 20px;font-size:1.15rem;font-weight:600;display:inline-flex}.tab-bar button:hover{background:#ffffff1f}.tab-bar button[aria-selected=true]{background:var(--surface);color:var(--brand-text);box-shadow:0 4px #140a5a59}.tab-bar button:focus-visible{outline:3px solid var(--gold);outline-offset:2px}.tab-bar-label{align-items:center;gap:6px;display:inline-flex}.tab-bar-count{min-width:22px;height:22px;color:inherit;font-family:var(--font-body);background:#fff3;border-radius:999px;place-items:center;padding:0 6px;font-size:.78rem;font-weight:800;line-height:1;display:inline-grid}.tab-bar button[aria-selected=true] .tab-bar-count{background:var(--surface-2)}.tab-bar-count.is-alert,.tab-bar button[aria-selected=true] .tab-bar-count.is-alert{background:var(--bad);color:#fff}@media (width<=520px){.tab-bar{align-self:stretch}.tab-bar button{flex-direction:column;flex:1;gap:2px;min-width:0;padding:6px 4px;font-size:.9rem}}.tab-bar.is-underline{border-bottom:2px solid var(--line);background:0 0;border-radius:0;align-self:stretch;gap:0;padding:0}.tab-bar.is-underline button{min-width:0;min-height:46px;color:var(--ink-soft);border-bottom:3px solid #0000;border-radius:0;flex-direction:row;flex:auto;gap:4px;margin-bottom:-2px;padding:8px 2px;font-size:clamp(.8rem,3.7vw,.95rem)}.tab-bar.is-underline button:hover{background:var(--surface-2)}.tab-bar.is-underline button[aria-selected=true]{border-bottom-color:var(--brand);box-shadow:none;color:var(--brand-text);background:0 0}.buddy-link{color:var(--brand-text);font:inherit;cursor:pointer;background:0 0;border:0;padding:8px 4px;font-weight:800;text-decoration:none}.buddy-link:hover:not(:disabled){text-decoration:underline}.buddy-link:disabled{color:var(--ink-soft);cursor:default}@media (width<=359.98px){.tab-bar.is-underline button>span[aria-hidden=true]{display:none}}.cheer-inbox{flex-direction:column;gap:8px;display:flex}.cheer-note{border-radius:var(--radius);color:var(--ink);background:#fff0f6;border:3px solid #f5a3c7;flex-wrap:wrap;align-items:center;gap:10px 12px;padding:10px 14px;display:flex;box-shadow:0 4px #e64a9c40}.cheer-note.is-gift{background:#effbe5;border-color:#8fd46a;box-shadow:0 4px #3f8a2a4d}.cheer-note p{flex:200px;margin:0;font-weight:700}.cheer-note-actions{align-items:center;gap:6px;display:flex}.cheer-thanked{color:var(--good-text);padding:0 10px;font-weight:800}.cheer-note-error{color:var(--bad-text);margin-top:2px;font-size:.85rem;display:block}.cheer-dismiss{color:var(--ink-soft)}.cheer-prompts{gap:12px}.cheer-cards{flex-wrap:wrap;gap:10px;display:flex}.cheer-card{border-radius:var(--radius);background:var(--surface-2);flex-direction:column;flex:0 auto;gap:10px;min-width:min(260px,100%);max-width:100%;padding:12px 14px;display:flex}.cheer-card.can-close{position:relative}.cheer-card.can-close .cheer-card-head{padding-right:30px}.cheer-card-close{width:30px;height:30px;color:var(--ink-soft);background:0 0;border-radius:10px;font-size:.95rem;position:absolute;top:6px;right:6px}.cheer-card-close:hover{background:var(--surface-3);color:var(--ink)}.cheer-card .cheer-options,.cheer-card .cheer-sent,.cheer-card .cheer-error{contain:inline-size}.cheer-card.is-low{background:#effbe5}.cheer-card-head{align-items:center;gap:10px;display:flex}.cheer-card.cheer-card .cheer-card-head{flex-wrap:wrap;gap:6px .3em;min-width:0;margin:0}.cheer-who-row{flex:0 auto;align-items:center;gap:.3em;min-width:0;max-width:100%;display:flex}.cheer-who-row .avatar{margin-right:calc(10px - .3em)}.cheer-who{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.cheer-what{white-space:nowrap;flex:none}.cheer-what.has-subject{white-space:normal;flex:0 auto;min-width:0;max-width:100%}.cheer-lead,.cheer-end{white-space:nowrap}@media (width<=359.98px){.cheer-card-head{font-size:.9rem}}.cheer-options{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.cheer-options .btn{white-space:normal;text-align:left}.cheer-card .cheer-options.is-list{contain:none;flex-direction:column;align-items:flex-start}.cheer-sent{color:var(--good-text);margin:0;font-weight:800}.cheer-error{color:var(--bad);margin:0}.hearts-row{align-items:center;gap:2px;line-height:1;display:inline-flex}.hearts-row.is-md{font-size:1.2rem}.hearts-row.is-lg{gap:4px;font-size:1.9rem}.hearts-row .heart{display:inline-block}.hearts-row .heart.is-empty{opacity:.55}.hearts-row .heart.is-empty .art-icon{filter:grayscale()brightness(1.5)}.hearts-row .heart.just-lost{animation:.7s ease-out heart-lost}@keyframes heart-lost{0%{filter:drop-shadow(0 0 6px #e8413e);transform:scale(1.5)}60%{transform:scale(.8)rotate(-12deg)}to{transform:none}}.hearts-infinite{font-family:var(--font-display);margin-left:4px}.wallet-pills{align-items:center;gap:8px;display:inline-flex}.wallet-pill{font-family:var(--font-display);white-space:nowrap;border-radius:999px;align-items:center;gap:5px;padding:5px 12px;font-size:1.05rem;text-decoration:none;display:inline-flex}.wallet-pill.is-hearts{color:#b3134f;background:#ffe3ec;box-shadow:0 3px #f5a3c7}.wallet-pill.is-hearts.is-out{color:var(--ink-soft);box-shadow:0 3px 0 var(--surface-3);background:#f1eef8}.wallet-pill.is-bamboo{background:var(--tint-bamboo);color:var(--tint-bamboo-ink);box-shadow:0 3px #a8d98a}.wallet-pill:active{box-shadow:none;transform:translateY(2px)}.streak-repair-overlay{align-items:center}.overlay-card.streak-repair{text-align:center;justify-items:center;gap:12px;max-width:420px;margin:auto;padding:28px 24px 22px;display:grid;position:relative}.streak-repair h2{letter-spacing:var(--tracking-display);margin:0;font-size:1.5rem}.streak-repair p{color:var(--ink-soft);margin:0;line-height:1.45}.streak-repair .notice{text-align:left}.streak-repair-close{width:36px;height:36px;color:var(--ink-soft);cursor:pointer;background:0 0;border:0;border-radius:50%;font-size:1.1rem;position:absolute;top:10px;right:10px}.streak-repair-close:hover{background:var(--surface-2)}.streak-repair-flame{place-items:center;display:grid;position:relative}.streak-repair-flame .art-icon{filter:grayscale();opacity:.55;width:92px;height:92px}.streak-repair-flame.is-lit .art-icon{filter:none;opacity:1}.streak-repair-flame b{color:#fff;text-shadow:0 2px 4px #00000073;font-size:1.5rem;font-weight:800;position:absolute;bottom:10px}.streak-repair-actions{gap:10px;width:100%;margin-top:4px;display:grid}.streak-repair-actions .btn{gap:6px;width:100%}.streak-repair-actions .art-icon{width:1.2em;height:1.2em}p.streak-repair-small{color:var(--ink-faint);font-size:.88rem}.streak-rescue-meter{width:100%;color:var(--ink-soft);gap:6px;display:grid}.streak-rescue-bar{background:var(--surface-3);border-radius:5px;height:10px;overflow:hidden}.streak-rescue-bar span{background:linear-gradient(#ffb547,#ff7a1a);border-radius:5px;height:100%;display:block}.overlay.photo-overlay{align-items:center}.overlay-card.photo-dialog{align-items:stretch;gap:14px;max-width:420px}.photo-dialog-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.photo-dialog-close{background:var(--surface-2);width:40px;height:40px;color:var(--ink-soft);cursor:pointer;border:0;border-radius:50%;flex:none;place-items:center;font-size:1.1rem;display:grid}.photo-dialog-close:hover{background:var(--surface-3);color:var(--ink)}.photo-frame{aspect-ratio:1;cursor:grab;touch-action:none;border-radius:50%;align-self:center;width:min(240px,70vw);overflow:hidden;box-shadow:0 0 0 3px #8b7cff,0 10px 24px -10px #140c4673}.photo-frame:active{cursor:grabbing}.photo-frame:focus-visible{outline:3px solid var(--brand);outline-offset:6px}.photo-frame canvas{width:100%;height:100%;display:block}.photo-zoom{color:var(--ink-soft);align-items:center;gap:10px;font-size:1.1rem;display:flex}.photo-zoom input{accent-color:var(--brand);flex:1}.photo-dialog-note{margin:0;line-height:1.4}.photo-dialog-problem{color:var(--ink-soft);margin:0;line-height:1.45}.photo-dialog .notice{margin:0}.photo-dialog-actions{justify-content:flex-end;gap:10px;display:flex}.add-photo{z-index:1;background:var(--brand);color:#fff;cursor:pointer;border:2px solid #fff;border-radius:50%;place-items:center;width:24px;height:24px;padding:0;transition:transform .12s;display:grid;position:absolute;box-shadow:0 2px 6px #140c4659}.add-photo:hover{transform:scale(1.1)}.add-photo:active{transform:scale(.94)}.add-photo:focus-visible{outline:3px solid var(--brand);outline-offset:2px}.overlay-card.photo-welcome{text-align:center;justify-items:center;gap:12px;max-width:400px;margin:auto;padding:28px 24px 22px;display:grid;position:relative}.photo-welcome h2{letter-spacing:var(--tracking-display);margin:4px 0 0;font-size:1.45rem}.photo-welcome p{color:var(--ink-soft);margin:0;line-height:1.45}.photo-welcome-face{place-items:center;display:grid;position:relative}.photo-welcome-face .avatar{width:96px;height:96px;box-shadow:0 0 0 4px var(--surface), 0 0 0 6px #8b7cff}.photo-welcome-face .photo-welcome-camera{border:3px solid var(--surface);background:var(--brand);color:#fff;border-radius:50%;place-items:center;width:34px;height:34px;display:grid;position:absolute;bottom:-2px;right:-4px}.photo-welcome-actions{gap:10px;width:100%;margin-top:6px;display:grid}.photo-welcome-actions .btn{gap:8px;width:100%}p.photo-welcome-small{color:var(--ink-faint);font-size:.85rem}.username-field{align-items:center;display:flex;position:relative}.username-field>span{color:var(--ink-faint);pointer-events:none;font-weight:800;position:absolute;left:14px}.username-field .input{width:100%;padding-left:32px}.username-status.is-good{color:var(--good-text);font-weight:700}.username-status.is-bad{color:var(--bad-text);font-weight:700}.welcome-form{justify-items:center;gap:12px;width:100%;display:grid}.welcome-form .field{text-align:left;justify-self:stretch}.photo-welcome-actions .link-btn{place-self:center}.card.photo-welcome.welcome-inline{text-align:center;justify-items:center;padding:24px 22px 18px;display:grid}.welcome-inline .welcome-form{max-width:440px}.switch.terms-check{text-align:left;align-items:flex-start;font-weight:500;line-height:1.45}.terms-check input{flex:none;margin:0}.terms-check a{color:var(--brand-text);font-weight:700}.switch.ad-check{color:var(--ink-soft);font-size:.85rem}.ad-check strong{color:var(--ink)}.overlay-card.age-dialog{text-align:center;gap:12px;max-width:380px;margin:auto;padding:26px 24px 20px;display:grid}.age-dialog h2{letter-spacing:var(--tracking-display);margin:0;font-size:1.45rem}.age-dialog p{color:var(--ink-soft);margin:0;line-height:1.45}.age-dialog p.age-dialog-kicker{color:var(--brand-text);letter-spacing:.06em;text-transform:uppercase;font-size:.8rem;font-weight:700}.age-dialog .btn{width:100%}.age-dialog .age-input{text-align:left;margin-top:4px}.age-input{gap:8px;width:100%;display:grid}.age-input .input{font-variant-numeric:tabular-nums;width:100%;min-height:56px;padding:10px 16px;font-size:1.25rem;font-weight:700}.age-input .input::placeholder{color:var(--ink-faint);font-weight:600}.age-input p{margin:0;line-height:1.45}.age-input p a{color:var(--brand-text);font-weight:800;text-decoration:none}.age-input p a:hover,.age-input p a:focus-visible{text-decoration:underline}.age-dialog .link-btn{justify-self:center}:root[data-theme=dark] .score-card{background:var(--surface);border-color:var(--line)}:root[data-theme=dark] .score-card.active{border-color:var(--player)}:root[data-theme=dark] .tab-bar:not(.is-underline) button[aria-selected=true]{background:var(--brand);color:#fff;box-shadow:0 4px 0 var(--brand-dark)}:root[data-theme=dark] .crown-meter .pip{background:#ffffff29}:root[data-theme=dark] .crown-meter.size-lg .pip{background:#ffffff38}:root[data-theme=dark] .crown-meter .pip.filled{background:var(--gold)}:root[data-theme=dark] .topic-badge-icon{box-shadow:inset 0 -3px 0 #0000002e, 0 0 0 2px var(--surface)}:root[data-theme=dark] .topic-badge.size-sm .topic-badge-icon{box-shadow:inset 0 -2px 0 #0000002e, 0 0 0 1.5px var(--surface)}:root[data-theme=dark] .topic-badge.size-xl .topic-badge-icon{box-shadow:inset 0 -5px 0 #0000002e, 0 0 0 5px var(--surface)}:root[data-theme=dark] .topic-badge.faded .topic-badge-icon{background:var(--surface-3);box-shadow:none}:root[data-theme=dark] .avatar-big{box-shadow:inset 0 -8px 0 #00000026, 0 0 0 6px var(--surface)}:root[data-theme=dark] .online-dot{background:var(--ink-faint);border-color:var(--surface)}:root[data-theme=dark] .online-dot.on{background:var(--good)}:root[data-theme=dark] .buddy-request{background:var(--tint-gold)}:root[data-theme=dark] .buddy-request-error,:root[data-theme=dark] .cheer-error{color:var(--bad-text)}:root[data-theme=dark] .cheer-note{background:var(--tint-bad)}:root[data-theme=dark] .cheer-note.is-gift,:root[data-theme=dark] .cheer-card.is-low{background:var(--tint-bamboo)}:root[data-theme=dark] .wallet-pill.is-hearts{color:#ff9cc4;background:#4a1f3a;box-shadow:0 3px #7a2c58}:root[data-theme=dark] .wallet-pill.is-hearts.is-out{background:var(--surface-2);color:var(--ink-soft);box-shadow:0 3px 0 var(--surface-3)}:root[data-theme=dark] .wallet-pill.is-bamboo{box-shadow:0 3px #2f6022}:root[data-theme=dark] .wallet-pill:active{box-shadow:none}.louie-icon{vertical-align:middle;flex:none;display:inline-block}.category-badge{width:var(--badge-size);height:var(--badge-size);border-radius:calc(var(--badge-size) * .28);background:var(--badge-color);color:#fff;box-shadow:0 calc(var(--badge-size) * .08) 0 var(--badge-edge), inset 0 2px 0 #ffffff47;flex:none;justify-content:center;align-items:center;display:inline-flex}.category-badge .louie-icon{filter:drop-shadow(0 2px #0000002e)}.app-shell{min-height:100vh}.app-main{min-width:0;padding-bottom:92px}.offline-banner{color:var(--tint-gold-ink);background:#fff1cc;border-radius:14px;margin:12px 16px 0;padding:10px 14px;font-size:.92rem;font-weight:700}.app-shell.no-nav{display:block}.no-nav .app-main{padding-bottom:24px}.guest-header{justify-content:space-between;align-items:center;gap:16px;width:100%;max-width:1080px;margin:0 auto;padding:18px 20px;display:flex}.guest-logo{flex-shrink:0;display:inline-flex}.guest-logo img{width:auto;height:48px}.guest-links{align-items:center;gap:8px;display:flex}.guest-links a:not(.btn){min-height:44px;color:var(--on-dark);border-radius:12px;align-items:center;padding:0 14px;font-weight:800;text-decoration:none;display:inline-flex}.guest-links a:not(.btn):hover{background:var(--on-dark-fill-hover)}.sidebar{display:none}@media (width>=960px){.app-shell{grid-template-columns:236px minmax(0,1fr);display:grid}.app-main{padding-bottom:24px}.app-main.centered{flex-direction:column;min-height:100vh;padding-bottom:0;display:flex}.app-main.centered>.screen{margin-block:auto;padding-top:48px;padding-bottom:48px}.app-main.centered>.screen.screen-top{margin-block:0 auto}.tabbar{display:none!important}.sidebar{background:var(--surface);z-index:5;flex-direction:column;gap:22px;height:100vh;padding:32px 14px 18px;display:flex;position:sticky;top:0;overflow-y:auto;box-shadow:6px 0 30px #140c5a38}}.side-logo{flex-direction:column;align-items:center;gap:6px;padding:0 12px;text-decoration:none;display:flex}.side-logo img{width:auto;height:46px}.side-tagline{color:var(--ink-soft);font-family:var(--font-display);letter-spacing:.01em;white-space:nowrap;font-size:.8rem;font-weight:650}.side-foot{flex-direction:column;gap:12px;margin-top:auto;display:flex}.side-profile{background:var(--surface-2);color:var(--ink);border-radius:14px;align-items:center;gap:10px;padding:8px 10px;text-decoration:none;display:flex}.welcome-banner{color:var(--good-text);background:#ddf8e6}.side-profile:hover,.side-profile.is-active{background:var(--surface-3)}.side-profile.is-active{box-shadow:inset 0 0 0 2px var(--brand)}.side-profile-text{flex-direction:column;min-width:0;display:flex}.side-me{position:relative}.side-add-photo{top:calc(50% + 1px);left:28px}.side-profile-text strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.side-profile-text .small{color:var(--ink-soft)}.link-btn{color:var(--brand-text);background:0 0;border:0;align-self:flex-start;padding:0;font-size:.85rem;font-weight:800}.link-btn:hover{text-decoration:underline}.side-nav{flex-direction:column;gap:4px;display:flex}.side-nav a{min-height:46px;color:var(--ink-soft);font-family:var(--font-body);border-radius:12px;align-items:center;gap:12px;padding:10px 14px;font-size:1rem;font-weight:700;text-decoration:none;transition:background .12s,color .12s;display:flex}.side-nav a:hover{background:var(--surface-2);color:var(--ink)}.side-nav a.active{color:#fff;background:linear-gradient(135deg,#7d63ff 0%,#5b3fe0 100%);box-shadow:inset 0 1px #fff3,0 10px 22px -10px #6c4cffd9}.side-divider{background:var(--line);height:1px;margin:10px 14px;display:block}.side-nav-icon{flex:none;justify-content:center;width:24px;display:flex}.nav-badge{background:var(--bad);color:#fff;min-width:24px;height:24px;font-family:var(--font-body);border-radius:999px;place-items:center;margin-left:auto;padding:0 7px;font-size:.8rem;font-weight:800;display:inline-grid}.tabbar{z-index:30;padding:6px 6px calc(6px + env(safe-area-inset-bottom));background:var(--surface);grid-template-columns:repeat(5,1fr);align-items:end;display:grid;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -6px 24px #140c5a33}.immersive .tabbar{display:none}.immersive .app-main{padding-bottom:24px}.tabbar a{color:var(--ink-faint);border-radius:12px;flex-direction:column;align-items:center;gap:2px;padding:6px 0;font-size:.72rem;font-weight:800;text-decoration:none;display:flex;position:relative}.tabbar a.active{color:var(--brand-text)}.tab-icon{justify-content:center;align-items:center;height:26px;line-height:1;display:flex}.tab-icon .louie-icon{flex:none}.tabbar a.tab-center .tab-icon{background:linear-gradient(#fff,#fff) padding-box padding-box,conic-gradient(#33b84a,#f5b917,#f5821f,#e8413e,#e64a9c,#8e5bd9,#2f8fea,#33b84a) border-box;border:4px solid #0000;border-radius:50%;place-items:center;width:58px;height:58px;margin-top:-26px;display:grid;box-shadow:0 5px 12px #140c5a4d}.tabbar .tab-center .tab-icon img{object-fit:contain;width:40px;height:40px;display:block}.tabbar .tab-center{color:var(--ink)}.tabbar .nav-badge{min-width:18px;height:18px;padding:0 5px;font-size:.7rem;position:absolute;top:0;right:calc(50% - 26px)}.more-btn{width:100%;min-height:46px;color:var(--ink-soft);font-family:var(--font-body);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:12px;align-items:center;gap:12px;padding:10px 14px;font-size:1rem;font-weight:700;transition:background .12s,color .12s;display:flex}.more-btn:hover{background:var(--surface-2);color:var(--ink)}.more-btn.active{background:var(--tint-brand);color:var(--brand-text)}.more-panel{z-index:60;border:2px solid var(--line);border-radius:var(--radius);background:var(--surface);width:280px;box-shadow:var(--shadow-card);flex-direction:column;padding:6px 0;display:flex;position:fixed}.side-nav .more-panel a,.more-menu.is-phone .more-panel a,.more-panel button{color:var(--ink);font-family:var(--font-display);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:0;padding:12px 20px;font-size:1.05rem;font-weight:600;text-decoration:none;display:block}.side-nav .more-panel a:hover,.more-menu.is-phone .more-panel a:hover,.more-panel button:hover{background:var(--surface-2)}.side-nav .more-panel .more-feature,.more-menu.is-phone .more-panel .more-feature{border-bottom:2px solid var(--line);align-items:center;gap:14px;margin-bottom:4px;padding-bottom:14px;display:flex}.more-feature img{width:40px;height:40px}.more-menu.is-phone{position:relative}.more-menu.is-phone .more-panel{width:min(280px,100vw - 32px);position:absolute;top:calc(100% + 8px);right:0}:root[data-theme=dark] .sidebar{box-shadow:1px 0 0 var(--glass-edge);background:#07061480}:root[data-theme=dark] .side-nav a:not(.active):hover,:root[data-theme=dark] .more-btn:not(.active):hover{background:#ffffff0d}:root[data-theme=dark] .side-profile{box-shadow:inset 0 0 0 1px var(--glass-edge);background:#ffffff0a}:root[data-theme=dark] .side-profile:hover{background:#ffffff14}:root[data-theme=dark] .tabbar{box-shadow:0 -1px 0 var(--glass-edge);background:#110f29}:root[data-theme=dark] .more-panel{box-shadow:0 12px 32px #0000008c}:root[data-theme=dark] .offline-banner{background:var(--tint-gold)}:root[data-theme=dark] .welcome-banner{background:var(--tint-good)}.how-steps{flex-direction:column;gap:14px;margin:0;padding:0;list-style:none;display:flex}.how-steps li{align-items:flex-start;gap:14px;display:flex}.how-steps h3{margin-bottom:2px;font-size:1.1rem}.how-icon{background:var(--surface-2);border-radius:14px;flex:none;place-items:center;width:46px;height:46px;font-size:1.5rem;display:grid}.how-icon .swords-icon{color:var(--brand-text)}.mastery-list{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.mastery-row{grid-template-columns:28px minmax(0,1.1fr) minmax(80px,1fr) 3.4em;align-items:center;gap:10px;display:grid}.mastery-icon{border-radius:50%;place-items:center;width:28px;height:28px;font-size:.9rem;display:grid;box-shadow:inset 0 -2px #0000002e}.mastery-name{text-overflow:ellipsis;white-space:nowrap;font-weight:800;overflow:hidden}.mastery-track{background:var(--surface-3);border-radius:8px;height:12px;overflow:hidden}.mastery-fill{border-radius:8px;height:100%;transition:width .4s;display:block}.mastery-fill.high{background:var(--good)}.mastery-fill.mid{background:var(--gold)}.mastery-fill.low{background:#ff6b6b}.mastery-value{text-align:right;color:var(--ink-soft);font-weight:800}.missed-card{background:var(--surface-2);border-left:6px solid var(--topic);border-radius:18px;flex-direction:column;gap:8px;padding:16px;display:flex}.missed-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.missed-prompt{font-size:1.05rem;font-weight:800}.missed-line{border-radius:12px;gap:8px;padding:9px 12px;font-size:.95rem;font-weight:700;display:flex}.missed-line.wrong{color:var(--bad-text);background:#ffeaea}.missed-line.right{color:var(--good-text);background:#e3f9ea}.missed-line.why{background:var(--tint-info);color:var(--info-text);font-weight:600}.missed-actions{margin-top:4px}.missed-actions .icon-btn{color:var(--ink);background:var(--surface);font-size:1.5rem;font-weight:800}.game-row{background:var(--surface-2);color:var(--ink);border-radius:16px;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:10px 12px;text-decoration:none;transition:background .12s;display:flex}.game-row:hover{background:var(--surface-3)}.game-row-avatars{display:flex}.game-row-avatars .avatar+.avatar{box-shadow:0 0 0 2px var(--surface-2);margin-left:-10px}.game-row-main{flex-direction:column;flex:140px;min-width:0;display:flex}.game-row-main strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.game-row-score{font-family:var(--font-display);font-size:1.2rem;font-weight:700}.game-row-status{border-radius:999px;flex:none;margin-left:auto;padding:5px 10px;font-size:.8rem;font-weight:800}.game-row-status.hot{color:var(--bad-text);background:#ffe1e1}.game-row-status.wait{background:var(--tint-info);color:var(--info-text)}.game-row-status.done{background:var(--surface-3);color:var(--ink-soft)}.game-expiry{color:var(--bad-text);font-weight:800}.local-game-row{background:var(--surface-2);border-radius:16px;align-items:center;transition:background .12s;display:flex;position:relative}.local-game-row:hover{background:var(--surface-3)}.local-game-row>.game-row{background:0 0;flex:1;min-width:0;padding-right:4px}.local-game-row>.game-row:hover{background:0 0}.game-row-menu{flex:none;padding-right:6px;position:relative}.game-row-menu-btn{width:38px;height:38px;color:var(--ink-soft);background:0 0;border:0;border-radius:12px;place-items:center;display:grid}.game-row-menu-btn:hover,.game-row-menu-btn[aria-expanded=true]{background:var(--surface);color:var(--ink)}.game-row-menu-list{z-index:20;background:var(--surface);min-width:170px;box-shadow:var(--shadow-card), 0 12px 32px #140a5a40;border-radius:16px;flex-direction:column;padding:6px;display:flex;position:absolute;top:calc(100% + 2px);right:6px}.game-row-menu-list button{color:var(--bad-text);text-align:left;background:0 0;border:0;border-radius:10px;padding:12px 14px;font-weight:800}.game-row-menu-list button:hover{background:var(--surface-2)}.signin-prompt{align-items:flex-start}.signin-icon{background:var(--tint-brand);border-radius:18px;place-items:center;width:56px;height:56px;font-size:1.8rem;display:grid}.week-strip{grid-template-columns:repeat(7,1fr);gap:6px;margin:0;padding:0;list-style:none;display:grid}.week-strip li{flex-direction:column;align-items:center;gap:4px;display:flex}.week-dot{background:var(--surface-3);border-radius:50%;place-items:center;width:38px;height:38px;font-size:1.1rem;display:grid}.week-strip .played .week-dot{background:#ffe8d9;box-shadow:inset 0 0 0 2px #ffb37a}.week-strip .today .week-dot{outline:3px solid var(--brand);outline-offset:2px}.week-label{color:var(--ink-faint);font-size:.72rem;font-weight:800}.mini-wheel{filter:drop-shadow(0 10px 18px #140a5a4d);flex:none}.mini-wheel svg{width:100%;height:100%;overflow:visible}.mini-wheel-spin{transform-origin:0 0;animation:24s linear infinite mini-spin}@keyframes mini-spin{to{transform:rotate(360deg)}}.match-buddies{border:2px solid var(--line);background:var(--surface);text-align:left;border-radius:18px;flex-direction:column;gap:8px;width:100%;max-width:460px;margin:8px auto 0;padding:14px 16px;display:flex}.match-buddies h3,.match-buddies p{margin:0}.match-buddies-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.match-buddies-list li{align-items:center;gap:10px;display:flex}.match-buddies-list strong{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.match-buddies-error{color:var(--bad-text)}:root[data-theme=dark] .game-row-menu-list{box-shadow:var(--shadow-card), 0 12px 32px #0000008c}:root[data-theme=dark] .missed-line.wrong,:root[data-theme=dark] .game-row-status.hot{background:var(--tint-bad)}:root[data-theme=dark] .missed-line.right{background:var(--tint-good)}:root[data-theme=dark] .week-strip .played .week-dot{background:#5a3530;box-shadow:inset 0 0 0 2px #c76a2c}.account-layout{grid-template-columns:minmax(0,1fr);align-items:start;gap:20px;display:grid}@media (width>=900px){.account-layout{grid-template-columns:minmax(0,1fr) 300px}}.account-hero{align-items:center;gap:16px;display:flex}.account-hero h2{font-family:var(--font-display);margin:0;font-size:1.6rem}.account-hero p{margin:2px 0 0}.account-email{overflow-wrap:anywhere;margin:-6px 0 6px;font-weight:800}.account-username{align-items:baseline;gap:12px;display:flex}.account-username .link-btn{align-self:baseline}.account-username-form{flex-direction:column;gap:8px;margin-bottom:10px;display:flex}.account-delete-link{color:var(--bad-text);margin-top:14px}.account-delete{background:#ffeaea;border-radius:14px;flex-direction:column;gap:10px;margin-top:16px;padding:14px;display:flex}.account-delete h3{color:var(--bad-text);margin:0}.account-delete p{margin:0}:root[data-theme=dark] .account-delete{background:var(--tint-bad)}.pricing-screen{max-width:820px}.pricing-head{text-align:center;gap:6px;margin-top:clamp(32px,8vw,80px);display:grid}.pricing-head h1{color:var(--on-dark);letter-spacing:-.025em;text-wrap:balance;text-shadow:var(--on-dark-lift);font-size:clamp(1.5rem,4.5vw,2rem)}.pricing-head p{color:var(--on-dark-soft);font-size:1.05rem}.pricing-legal{text-align:center;gap:8px;max-width:600px;margin:0 auto;display:grid}.pricing-fine,.pricing-footer{color:var(--on-dark-soft)}.pricing-footer{font-weight:600}.pricing-fine{line-height:1.5}.pricing-toggle{background:#0000002e;border-radius:999px;align-self:center;gap:4px;padding:4px;display:flex}.pricing-toggle button{color:var(--on-dark);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:999px;align-items:center;gap:8px;padding:8px 16px;font-weight:800;display:inline-flex}.pricing-toggle button.is-on{background:var(--surface);color:var(--ink)}.pricing-plans{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px;display:grid}.pricing-plan{gap:10px}.pricing-plan h2{font-size:1.3rem}.pricing-plan.is-plus{outline:3px solid var(--gold)}.pricing-plan.is-plus h2{color:#9a6a00}.pricing-price{color:var(--ink-soft);font-weight:700}.pricing-price strong{font-family:var(--font-display);color:var(--ink);font-size:2.2rem}.pricing-note{margin-top:-6px}.pricing-features{border-top:1px solid var(--line);flex-direction:column;flex:1;gap:10px;margin:4px 0 8px;padding:14px 0 0;list-style:none;display:flex}.pricing-features li{gap:8px;font-weight:600;display:flex}.pricing-features li span{color:var(--good-text);font-weight:900}.pricing-current{text-align:center;color:var(--good-text);font-weight:800}.pricing-compare-toggle{border:2px solid var(--on-dark-fill-hover);width:100%;color:var(--on-dark);font:inherit;cursor:pointer;background:0 0;border-radius:999px;padding:12px 16px;font-weight:700}.pricing-compare-toggle:hover{background:var(--on-dark-fill)}.pricing-chevron{vertical-align:-1px;margin-left:4px;transition:transform .2s}.pricing-compare-toggle[aria-expanded=true] .pricing-chevron{transform:rotate(180deg)}.reduce-motion .pricing-chevron{transition:none}.pricing-compare{gap:12px}.pricing-table{border-collapse:collapse;width:100%}.pricing-table th,.pricing-table td{border-bottom:1px solid var(--line);text-align:right;padding:12px 4px;font-weight:600}.pricing-table th[scope=row],.pricing-table thead th:first-child{text-align:left}.pricing-table thead th{font-weight:800}.pricing-table td+td{padding-left:16px}.pricing-boosts{border-radius:var(--radius-sm);background:var(--surface-2);gap:4px;padding:12px 14px;display:grid}.pricing-boosts h3{font-size:1rem}.plan-usage{gap:10px;display:grid}.plan-meter{gap:4px;display:grid}.plan-meter-bar{background:var(--surface-2);border-radius:999px;height:10px;overflow:hidden}.plan-meter-bar span{border-radius:inherit;background:var(--brand);height:100%;display:block}.plan-meter-bar span.is-full{background:var(--bad)}.plan-tagline{margin-top:-6px}.plan-boost-left{color:var(--good-text);font-weight:700}.study-boosts{border-top:1px solid var(--line);gap:10px;padding-top:14px;scroll-margin-top:80px;display:grid}.study-boosts h3{font-size:1.1rem}.study-boosts-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.study-boosts-price{flex-shrink:0;justify-items:end;display:grid}.study-boosts-price strong{font-family:var(--font-display);color:var(--ink);font-size:1.5rem}.study-boosts-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.study-boost{border:2px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-2);color:var(--ink);font:inherit;text-align:left;cursor:pointer;justify-items:start;gap:2px;padding:12px 14px;display:grid}.study-boost:hover:not(:disabled),.study-boost.is-focus{border-color:var(--brand);background:var(--tint-brand)}.study-boost:disabled{cursor:default;opacity:.7}.study-boost-icon{font-size:1.3rem}.study-boost strong{font-family:var(--font-display);font-size:1.4rem}.study-boost-buy{color:var(--brand-text);margin-top:6px;font-weight:800}.study-boosts-terms{gap:4px;margin:0;padding:0;list-style:none;display:grid}@media (width<=420px){.study-boosts-grid{grid-template-columns:1fr}}:root[data-theme=dark] .pricing-toggle button.is-on{background:var(--brand);color:#fff}:root[data-theme=dark] .pricing-plan.is-plus h2{color:var(--gold)}.screen.admin-screen{max-width:1200px}.admin-head h1{color:var(--on-dark);letter-spacing:var(--tracking-display);margin:0;font-size:clamp(1.5rem,4vw,2rem)}.admin-head-sub{color:var(--on-dark-soft);margin:2px 0 0}.admin-tabs{align-self:flex-start}.admin-back{align-self:flex-start;font-size:.95rem}.admin-empty{text-align:center;padding:28px 16px}.admin-subtitle{margin:4px 0 0;font-size:1rem}.admin-stats{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px;display:grid}.admin-stats.is-small{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px}.admin-stat{border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-card);color:var(--ink);flex-direction:column;gap:2px;padding:16px 18px;text-decoration:none;display:flex}.admin-stats.is-small .admin-stat{background:var(--surface-2);box-shadow:none;padding:12px 14px}a.admin-stat:hover{outline:2px solid var(--brand);outline-offset:-2px}.admin-stat-label{color:var(--ink-soft);font-size:.85rem;font-weight:700}.admin-stat-value{letter-spacing:var(--tracking-display);font-variant-numeric:tabular-nums;font-size:1.9rem;font-weight:750}.admin-stats.is-small .admin-stat-value{font-size:1.4rem}.admin-stat-sub{color:var(--ink-soft);font-size:.85rem}.admin-stat.is-warn{background:var(--tint-gold)}.admin-stat.is-warn .admin-stat-label,.admin-stat.is-warn .admin-stat-value{color:var(--tint-gold-ink)}.admin-grid{grid-template-columns:repeat(auto-fit,minmax(340px,1fr));align-items:start;gap:20px;display:grid}.admin-grid.is-three{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.admin-counts{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px 16px;margin:0;display:grid}.admin-counts.is-wide{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}.admin-counts dt,.admin-facts dt{color:var(--ink-soft);font-size:.8rem;font-weight:700}.admin-counts dd,.admin-facts dd{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:2px 0 0;font-weight:650}.admin-facts{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px 20px;margin:0;display:grid}.admin-facts code{font-size:.8rem}.admin-split{gap:8px;margin:0;padding:0;list-style:none;display:grid}.admin-split li{grid-template-columns:7.5em 1fr auto;align-items:center;gap:10px;display:grid}.admin-split-label{font-size:.9rem;font-weight:650}.admin-split-track,.admin-meter{background:var(--surface-3);border-radius:999px;height:8px;overflow:hidden}.admin-split-track span,.admin-meter span{background:var(--brand);border-radius:999px;height:100%;display:block}.admin-split-value,.admin-meter-value{font-variant-numeric:tabular-nums;font-size:.9rem;font-weight:700}.admin-meters{gap:10px;margin:0;padding:0;list-style:none;display:grid}.admin-meters li{grid-template-columns:8.5em 1fr 4.5em;align-items:center;gap:10px;font-size:.9rem;display:grid}.admin-meter-value{text-align:right}.admin-bars{flex-direction:column;gap:10px;margin:0;display:flex}.admin-bars-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:12px;display:flex}.admin-bars-title{font-size:1rem;font-weight:750}.admin-bars-total{color:var(--ink-soft);font-variant-numeric:tabular-nums;font-size:.9rem;font-weight:700}.admin-bars-plot{grid-template-columns:repeat(var(--bars), minmax(0, 1fr));border-bottom:1px solid var(--line);align-items:end;gap:2px;height:140px;display:grid}.admin-bar-col{align-items:flex-end;height:100%;display:flex;position:relative}.admin-bar{background:var(--brand);border-radius:4px 4px 0 0;width:100%;max-width:22px;margin:0 auto}:root[data-theme=dark] .admin-bar{background:var(--brand-text)}.admin-bar.is-zero{background:var(--line);border-radius:0;height:2px}.admin-bar-col:hover .admin-bar:not(.is-zero){background:var(--brand-dark)}:root[data-theme=dark] .admin-bar-col:hover .admin-bar:not(.is-zero){background:var(--ink)}.admin-bar-tip{z-index:2;background:var(--ink);color:var(--surface);white-space:nowrap;pointer-events:none;opacity:0;border-radius:8px;padding:4px 8px;font-size:.8rem;font-weight:700;position:absolute;bottom:calc(100% + 6px);left:50%;transform:translate(-50%)}.admin-bar-col:hover .admin-bar-tip{opacity:1}.admin-bar-col:hover{z-index:3}.admin-bars-plot{overflow:visible}.admin-bars-axis{color:var(--ink-soft);font-variant-numeric:tabular-nums;justify-content:space-between;gap:8px;font-size:.8rem;display:flex}.admin-chip{white-space:nowrap;background:var(--surface-2);color:var(--ink-soft);border-radius:999px;align-items:center;padding:3px 10px;font-size:.8rem;font-weight:750;display:inline-flex}.admin-chip.status-online,.admin-chip.status-active{background:var(--tint-good);color:var(--good-text)}.admin-chip.status-idle{background:var(--tint-info);color:var(--info-text)}.admin-chip.status-unconfirmed{background:var(--tint-gold);color:var(--tint-gold-ink)}.admin-chip.status-banned{background:var(--tint-bad);color:var(--bad-text)}.admin-chip.plan-plus{background:var(--tint-brand);color:var(--brand-text)}.admin-flags{flex-wrap:wrap;gap:4px;display:inline-flex}.admin-flag{white-space:nowrap;background:var(--surface-2);color:var(--ink-soft);border-radius:999px;padding:1px 8px;font-size:.72rem;font-weight:750}.admin-flag.is-warn{background:var(--tint-gold);color:var(--tint-gold-ink)}.admin-initial{background:var(--who);color:#fff;text-shadow:0 1px 2px #00000040;border-radius:50%;flex:none;place-items:center;width:40px;height:40px;font-size:1.05rem;font-weight:800;display:grid}.admin-controls{grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr);gap:10px;display:grid}@media (width<=700px){.admin-controls{grid-template-columns:1fr 1fr}.admin-search{grid-column:1/-1}}.admin-table-wrap{margin:0 -6px;transition:opacity .12s;overflow-x:auto}.admin-table-wrap.is-loading{opacity:.55}.admin-table{border-collapse:collapse;width:100%;font-size:.9rem}.admin-table th{text-align:left;color:var(--ink-soft);border-bottom:1px solid var(--line);white-space:nowrap;padding:8px 6px;font-size:.78rem;font-weight:750}.admin-table td{border-bottom:1px solid var(--line);vertical-align:middle;white-space:nowrap;padding:10px 6px}.admin-table tr:last-child td{border-bottom:0}.admin-table .is-num{text-align:right;font-variant-numeric:tabular-nums}.admin-table tr.is-dim td{color:var(--ink-soft)}.admin-table td:first-child{white-space:normal;min-width:240px}.admin-who{color:var(--ink);align-items:center;gap:10px;text-decoration:none;display:flex}.admin-who>span:last-child{flex-direction:column;gap:2px;min-width:0;display:flex}.admin-who:hover .admin-who-name{text-decoration:underline}.admin-who-name{font-weight:750}.admin-who-email{color:var(--ink-soft);overflow-wrap:anywhere;font-size:.82rem}.admin-plus{color:var(--brand-text);font-weight:750}.admin-pager{justify-content:center;align-items:center;gap:14px;display:flex}.admin-list{margin:0;padding:0;list-style:none}.admin-list li{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;gap:6px 16px;padding:8px 0;font-size:.9rem;display:flex}.admin-list li:last-child{border-bottom:0}.admin-bad{color:var(--bad-text);font-weight:650}.admin-achievements{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:6px 16px;margin:0;padding:0;font-size:.9rem;list-style:none;display:grid}.admin-feed{margin:0;padding:0;list-style:none}.admin-feed-row{border-bottom:1px solid var(--line);gap:12px;padding:10px 0;display:flex}.admin-feed-row:last-child{border-bottom:0}.admin-feed-icon{background:var(--surface-2);border-radius:10px;flex:none;place-items:center;width:32px;height:32px;display:grid}.admin-feed-row.kind-deck_reported .admin-feed-icon,.admin-feed-row.kind-payment_failed .admin-feed-icon{background:var(--tint-bad)}.admin-feed-text{overflow-wrap:anywhere;flex-direction:column;gap:2px;min-width:0;display:flex}.admin-feed-text a{color:var(--ink);font-weight:650}.admin-feed-meta{color:var(--ink-soft);font-size:.8rem}.admin-more{align-self:center}.admin-person-head{align-items:center;gap:16px;display:flex}.admin-person-head .admin-initial{width:64px;height:64px;font-size:1.6rem}.admin-person-head h1{letter-spacing:var(--tracking-display);margin:0;font-size:1.6rem}.admin-person-head p{overflow-wrap:anywhere;margin:2px 0 8px}.admin-kinds{border:0;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:10px 20px;margin:0;padding:0;display:grid}.admin-kinds legend{margin-bottom:8px}.admin-kind{cursor:pointer;align-items:flex-start;gap:10px;display:flex}.admin-kind input{width:20px;height:20px;accent-color:var(--brand);flex:none;margin-top:2px}.admin-kind>span{flex-direction:column;gap:2px;display:flex}.admin-kind-name{font-weight:750}.link{color:var(--brand-text);font-weight:800;text-decoration:none}.link:hover{text-decoration:underline}.ranking-see-all{align-self:center}.empty-mini{flex-direction:column;align-items:flex-start;gap:10px;display:flex}.loading-screen{color:var(--on-dark);text-align:center;padding-top:80px;font-weight:700}.dash{max-width:1120px}.dash-grid{align-items:start;gap:20px;display:grid}.dash-col{flex-direction:column;gap:20px;min-width:0;display:flex}@media (width>=900px){.dash-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.deck-picker{width:auto;max-width:220px;min-height:38px;padding:6px 10px}.mini-board{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.mini-board li{border-radius:14px;align-items:center;gap:10px;padding:7px 10px;display:flex}.mini-board li.me{background:var(--tint-brand)}.rank{width:1.6em;font-family:var(--font-display);color:var(--ink-soft);text-align:center;font-weight:700}.mini-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-weight:800;overflow:hidden}.mini-xp{color:var(--ink-soft);font-weight:800}.mini-streak{color:#d9480f;font-size:.85rem;font-weight:800}.auth-screen{--font-display:"Nunito", ui-rounded, system-ui, sans-serif;--font-body:"Nunito", ui-rounded, system-ui, sans-serif;--tracking-display:-.01em;font-family:var(--font-body)}.auth-screen :where(h1,h2),.auth-screen .btn{font-weight:800}.auth-card{width:100%;max-width:480px;margin:0 auto}.auth-card .segmented{grid-template-columns:1fr 1fr;align-self:stretch;display:grid}.auth-card .segmented button{white-space:nowrap;padding-inline:6px;font-size:clamp(.85rem,3.9vw,1rem)}.auth-intro{color:var(--ink);margin:0;font-weight:700}.auth-age-title{font-family:var(--font-display);letter-spacing:var(--tracking-display);text-align:center;margin:6px 0 0;font-size:1.6rem;font-weight:800}.auth-code{letter-spacing:.3em;text-align:center;font-variant-numeric:tabular-nums;font-size:1.6rem;font-weight:800}.auth-google.btn{--btn-edge:#dadce0;color:#1f1f1f;background:#fff;border:1px solid #747775;gap:12px}.auth-google svg{flex-shrink:0}@media (width<=359.98px){.auth-google.btn{gap:8px;padding-inline:12px;font-size:1rem}}.auth-legal{color:var(--ink-soft);text-align:center;margin:0;font-size:.85rem;line-height:1.45}.auth-legal a{color:var(--brand-text);font-weight:800;text-decoration:none}.auth-legal a:hover,.auth-legal a:focus-visible{text-decoration:underline}.auth-or{color:var(--ink-faint);align-items:center;gap:12px;margin:0;font-size:.9rem;font-weight:700;display:flex}.auth-or:before,.auth-or:after{content:"";background:var(--line);flex:1;height:1px}.auth-inline-link{min-height:0;font-size:inherit;padding:0;display:inline}.avatar-picker{grid-template-columns:repeat(8,minmax(0,1fr));gap:6px;display:grid}.avatar-picker button{aspect-ratio:1;background:var(--surface-2);border:3px solid #0000;border-radius:14px;min-width:0;padding:0;font-size:1.4rem}.avatar-picker button[aria-pressed=true]{border-color:var(--brand);background:var(--tint-brand)}.color-picker{flex-wrap:wrap;gap:8px;display:flex}.color-picker button{border:3px solid var(--surface);width:34px;height:34px;box-shadow:0 0 0 2px var(--line);border-radius:50%}.color-picker button[aria-pressed=true]{box-shadow:0 0 0 3px var(--ink)}.form-error{color:var(--bad-text);font-weight:800}.class-layout{align-items:start;gap:20px;display:grid}.class-layout.is-new .class-forms{order:-1}@media (width>=900px){.class-layout.is-new{grid-template-columns:300px minmax(0,1fr)}}.class-main{min-width:0}.shared-decks{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.shared-decks li{background:var(--surface-2);border-radius:16px;flex-wrap:wrap;align-items:center;gap:10px;padding:12px;display:flex}.review-summary{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.review-summary div{background:var(--surface-2);text-align:center;border-radius:16px;flex-direction:column;align-items:center;padding:12px 6px;display:flex}.review-summary strong{font-family:var(--font-body);font-size:1.6rem;font-weight:800}.class-m-menu{position:relative}.class-m-more{width:48px;height:100%;min-height:46px;font-size:1.3rem;font-weight:800}.class-m-menu-list{z-index:20;background:var(--surface);min-width:220px;box-shadow:var(--shadow-card), 0 12px 32px #140a5a40;border-radius:16px;flex-direction:column;padding:6px;display:flex;position:absolute;top:calc(100% + 6px);right:0}.class-m-menu-list button{color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;padding:12px 14px;font-weight:800}.class-m-menu-list button:hover{background:var(--surface-2)}.class-m-menu-list .is-danger{color:var(--bad-text)}.class-m-form{align-items:flex-start}.class-m-form>.card{align-self:stretch}.class-m-together-art{flex:none;display:flex}.class-m-together-art img{width:52px;height:52px}.class-m-together-art img+img{margin-left:-10px;transform:scaleX(-1)}:root[data-theme=dark] .mini-streak{color:#ff9d5c}.course-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px;display:grid}.course-card-slot{min-width:0;display:flex;position:relative}.course-card{border-radius:var(--radius);background:var(--surface);min-width:0;color:var(--ink);box-shadow:var(--shadow-card);flex-direction:column;flex:1;gap:5px;padding:16px;text-decoration:none;transition:transform .12s;display:flex}.course-card:hover{transform:translateY(-2px)}.course-card-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.course-icon{background:color-mix(in srgb, var(--course,#6c5ce7) 22%, white);box-shadow:inset 0 -3px 0 color-mix(in srgb, var(--course,#6c5ce7) 35%, white);border-radius:14px;flex:none;place-items:center;display:inline-grid}.course-icon.is-sm{border-radius:10px;width:34px;height:34px;font-size:1.15rem}.course-icon.is-md{width:46px;height:46px;font-size:1.5rem}.course-icon.is-lg{border-radius:20px;width:68px;height:68px;font-size:2.2rem}.course-exam{color:#8a5a00;font-weight:800}.course-tile{background:color-mix(in srgb, var(--course,#6c5ce7) 14%, var(--surface));width:50px;height:50px;color:color-mix(in srgb, var(--course,#6c5ce7) 80%, var(--ink));border-radius:12px;place-items:center;margin-bottom:8px;display:grid}.course-card-name{font-family:var(--font-display);overflow-wrap:anywhere;padding-right:24px;font-size:1.15rem;font-weight:650;line-height:1.2}.course-card .deck-progress-bar{height:6px;margin-top:8px}.course-card-status{align-items:center;gap:6px;margin-top:4px;display:inline-flex}.course-card-status.course-exam{font-weight:600}.course-menu{position:absolute;top:10px;right:8px}.course-menu-btn{width:36px;height:36px;color:var(--ink-soft);cursor:pointer;background:0 0;border:0;border-radius:10px;place-items:center;display:grid}.course-menu-btn:hover,.course-menu-btn[aria-expanded=true]{background:var(--surface-2);color:var(--ink)}.course-menu-list{z-index:20;background:var(--surface);min-width:180px;box-shadow:var(--shadow-card), 0 12px 32px #140a5a40;border-radius:16px;flex-direction:column;padding:6px;display:flex;position:absolute;top:calc(100% + 4px);right:0}.course-menu-list button{color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;padding:12px 14px;font-weight:700}.course-menu-list button:hover{background:var(--surface-2)}.course-menu-list .is-danger{color:var(--bad-text)}.course-dk{border-radius:16px;gap:0;padding:20px}.course-dk-top{align-items:center;gap:18px;padding-right:34px;display:flex}.course-dk .course-tile{border-radius:14px;flex:none;width:64px;height:64px;margin:0}.course-dk-names{flex-direction:column;gap:6px;min-width:0;display:flex}.course-dk .course-card-name{padding-right:0;font-size:1.35rem}.course-dk .course-card-title{color:var(--ink-soft);font-size:1rem}.course-dk-meta,.course-dk-trail,.course-dk-foot{color:var(--ink-soft);align-items:center;gap:8px;margin-top:22px;font-size:.98rem;display:flex}.course-dk-trail,.course-dk-foot{justify-content:space-between;gap:12px}.course-dk-state{font-weight:600}.course-dk.is-done .course-dk-state,.course-dk-note.is-done{color:var(--good-text)}.course-dk.is-going .course-dk-state{color:#8a5a00}.course-dk .deck-progress-bar{height:8px;margin-top:12px}.course-dk .deck-progress-bar span{background:var(--gold)}.course-dk.is-done .deck-progress-bar span{background:var(--good)}.course-dk-note{text-wrap:pretty;align-items:center;gap:8px;min-width:0;display:inline-flex}.course-dk-note.course-exam{font-weight:600}.course-dk-open{color:var(--brand-text);flex:none;font-weight:600}.course-card-slot.is-desk .course-menu{top:34px;right:12px}.deck-progress-bar{background:var(--surface-3);border-radius:999px;height:8px;overflow:hidden}.deck-progress-bar span{background:var(--course,var(--good));border-radius:999px;height:100%;transition:width .3s;display:block}.deck-card-progress{flex-direction:column;gap:4px;display:flex}.course-intro{flex-flow:wrap;align-items:center;gap:16px 24px}.course-intro-text{text-align:left;flex:1;min-width:220px}.course-intro-text p{margin:0}.course-intro h3{margin-bottom:4px;font-size:1.2rem}.course-intro .btn{margin-left:auto}.library-bar{flex-wrap:wrap}.library-bar-actions{flex-wrap:wrap;gap:12px;display:flex}@media (width<=520px){.library-bar h1{flex-basis:100%;margin-bottom:10px}.library-bar .spacer{display:none}.library-bar-actions{flex-basis:100%;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:8px;display:grid}.library-bar-actions .btn{text-align:center;white-space:normal;min-height:52px;padding:8px 6px;font-size:.88rem;line-height:1.15}}.course-select.is-compact{align-items:center;gap:8px;display:flex}.course-select.is-compact .select{flex:1;min-width:0;min-height:38px;padding-top:6px;padding-bottom:6px;font-size:.9rem}.course-select-label{font-size:1.1rem}.sr-only-course{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.course-dialog{flex-direction:column;gap:12px;max-width:520px;display:flex}.course-colors{flex-wrap:wrap;gap:8px;display:flex}.course-color{border:3px solid var(--surface);background:var(--course);width:34px;height:34px;box-shadow:0 0 0 2px var(--line);cursor:pointer;border-radius:50%}.course-color.is-on{box-shadow:0 0 0 3px var(--ink)}.course-pick-group{border:0;flex-direction:column;gap:6px;margin:0;padding:0;display:flex}.course-pick{border-radius:var(--radius-sm);background:var(--surface-2);cursor:pointer;align-items:center;gap:10px;padding:8px 10px;display:flex}.course-pick input{flex:none;width:20px;height:20px}.course-hero{border-top:8px solid var(--course);flex-direction:column;gap:16px;display:flex}.course-hero-head{flex-wrap:wrap;align-items:flex-start;gap:14px;display:flex}.course-hero-text{flex:1;min-width:180px}.course-hero-text h2{overflow-wrap:anywhere;font-size:1.8rem}.course-hero-text p{margin:2px 0 0}.course-hero-tools{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;display:flex}@media (width<=640px){.course-hero-tools{flex-basis:100%;justify-content:flex-start}}.course-stats{grid-template-columns:repeat(4,1fr);gap:10px;display:grid}.course-stat{border-radius:var(--radius);background:var(--surface-2);text-align:center;flex-direction:column;align-items:center;padding:10px 6px;display:flex}.course-stat strong{font-family:var(--font-display);color:var(--ink);font-size:1.6rem;font-weight:600}@media (width<=520px){.course-stats{grid-template-columns:repeat(2,1fr)}}.course-trail{flex-direction:column;gap:6px;display:flex}.course-trail .deck-progress-bar{height:12px}.course-actions{flex-wrap:wrap}@media (prefers-reduced-motion:reduce){.course-card,.deck-progress-bar span{transition:none}}.course-mode{align-self:flex-start}.syllabus-upload{flex-direction:column;gap:12px;display:flex}.syllabus-drop{border:3px dashed var(--line);border-radius:var(--radius);background:var(--surface-2);text-align:center;cursor:pointer;overflow-wrap:anywhere;flex-direction:column;align-items:center;gap:4px;padding:22px 16px;display:flex;position:relative}.syllabus-drop.has-files{border-color:var(--good);background:#eafbf0}.syllabus-drop input{opacity:0;cursor:pointer;position:absolute;inset:0}.syllabus-drop-icon{font-size:2rem}.syllabus-reading{color:var(--brand-text);align-items:center;gap:10px;margin:0;font-weight:700;display:flex}.syllabus-spinner{border:3px solid var(--surface-3);border-top-color:var(--brand);border-radius:50%;width:18px;height:18px;animation:.8s linear infinite syllabus-spin}@keyframes syllabus-spin{to{transform:rotate(360deg)}}.syllabus-overlay{align-items:flex-start}.syllabus-review{flex-direction:column;gap:18px;max-width:820px;display:flex}.syllabus-review-head{flex-direction:column;gap:8px;display:flex}.syllabus-review-head p{margin:0}.syllabus-block{border-top:2px solid var(--surface-3);flex-direction:column;gap:10px;padding-top:14px;display:flex}.syllabus-block h3{font-size:1.1rem}.syllabus-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px 14px;display:grid}.syllabus-rows{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.syllabus-row{align-items:center;gap:8px;display:flex}.syllabus-row .input{flex:1;min-width:0}.syllabus-row .week-input{flex:0 0 120px}.syllabus-row .percent-input{flex:0 0 90px}.kind-select{flex:0 0 140px}.syllabus-event{border-radius:var(--radius);background:var(--surface-2);flex-direction:column;gap:8px;padding:12px;display:flex}.event-details{flex-wrap:wrap;align-items:flex-end}.event-details label{min-width:140px;color:var(--ink-soft);flex-direction:column;flex:1;gap:4px;font-weight:700;display:flex}.event-details .weight-field{flex:0 0 110px;min-width:0}.syllabus-hint{color:#8a5a00;margin:0;font-weight:700}.syllabus-scope{border:0;margin:0;padding:0}.syllabus-scope legend{color:var(--ink-soft);margin-bottom:6px;font-weight:700}.scope-chips{flex-wrap:wrap;gap:6px;display:flex}.scope-chip{border:2px solid var(--line);background:var(--surface);color:var(--ink-soft);font:inherit;cursor:pointer;border-radius:999px;padding:5px 12px;font-size:.85rem;font-weight:700}.scope-chip.is-on{border-color:var(--brand);background:var(--surface-3);color:var(--brand-text)}.syllabus-review-foot{border-top:2px solid var(--surface-3);flex-wrap:wrap;align-items:center;gap:10px;padding-top:14px;display:flex}.syllabus-remove{--btn-ink:var(--bad-text);margin-left:auto}@media (width<=520px){.syllabus-row .week-input{flex-basis:84px}.kind-select{flex-basis:112px}}.recommend-card{border-top:8px solid var(--gold)}.recommend-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;display:flex}.exam-pill{background:var(--surface-2);color:var(--ink);border-radius:999px;padding:4px 12px;font-size:.9rem;font-weight:800}.exam-pill.is-soon{color:#8a5a00;background:#fff1cc}.recommend-list{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.recommend-item{border-radius:var(--radius);background:var(--surface-2);align-items:center;gap:12px;padding:12px 14px;display:flex}.recommend-icon{background:var(--surface);width:42px;height:42px;box-shadow:0 3px 0 var(--surface-3);border-radius:12px;flex:none;place-items:center;font-size:1.4rem;display:grid}.recommend-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.recommend-item .btn{flex:none}@media (width<=520px){.recommend-item{flex-wrap:wrap}.recommend-text{flex-basis:calc(100% - 54px)}.recommend-item .btn{margin-left:54px}}.coming-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.coming-item{align-items:center;gap:12px;display:flex}.coming-days{background:var(--surface-2);border-radius:14px;flex-direction:column;flex:none;justify-content:center;align-items:center;width:54px;height:54px;line-height:1.1;display:flex}.coming-days strong{font-family:var(--font-display);font-size:1.3rem}.coming-days.is-soon{color:#8a5a00;background:#fff1cc}.coming-text{flex-direction:column;min-width:0;display:flex}.syllabus-week{flex-direction:column;gap:8px;display:flex}.syllabus-week-label{color:var(--ink-soft);font-size:.95rem}.syllabus-topic-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.syllabus-topic{border-radius:var(--radius);background:var(--surface-2);flex-direction:column;gap:6px;padding:12px 14px;display:flex}.syllabus-topic.is-missing{background:#fff8e6}.syllabus-topic-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.missing-pill{color:#8a5a00;background:#fff1cc;border-radius:999px;padding:2px 10px;font-size:.8rem;font-weight:800}.syllabus-topic-decks{flex-wrap:wrap;gap:6px;display:flex}.deck-chip{background:var(--surface);border-radius:999px;align-items:center;gap:4px;padding:3px 4px 3px 10px;font-size:.85rem;font-weight:700;display:inline-flex}.deck-chip-x{color:var(--ink-faint);cursor:pointer;background:0 0;border:0;border-radius:50%;padding:2px 6px}.link-upload{font-weight:800}.link-offer{border-radius:var(--radius-sm);background:var(--surface);border:2px dashed var(--line);flex-wrap:wrap;align-items:center;gap:8px;padding:8px 10px;display:flex}.link-offer>span:first-child{flex:1;min-width:200px}.link-offer-actions{gap:6px;display:flex}.link-picker{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.link-picker .select{flex:1;min-width:140px}.grading-list{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.grading-list li{border-bottom:1px solid var(--surface-3);justify-content:space-between;gap:12px;padding:6px 0;display:flex}@media (prefers-reduced-motion:reduce){.syllabus-spinner{animation:none}}.ai-notice{border-radius:var(--radius);color:#1c3f73;background:#eef4ff;margin:0;padding:10px 14px;font-size:.92rem;line-height:1.45}.ai-badge{color:#1c3f73;background:#eef4ff;border-radius:999px;align-self:flex-start;padding:3px 10px;font-size:.78rem;font-weight:800}.catalog-badge{color:#6b4e00;background:#fff4d6}.origin-pill{border-radius:999px;margin-top:4px;padding:1px 8px;font-size:.75rem;font-weight:800;display:inline-block}.origin-pill.is-ai,.coverage-pill.is-ai{color:#1c3f73;background:#eef4ff}.origin-pill.is-notes,.coverage-pill.is-notes{background:var(--tint-bamboo);color:var(--tint-bamboo-ink)}.coverage-row{flex-wrap:wrap;gap:6px;display:flex}.coverage-pill{border-radius:999px;padding:2px 10px;font-size:.8rem;font-weight:800}.topic-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.generate-dialog{max-width:620px}.generate-units{border:0;flex-direction:column;gap:8px;max-height:46vh;margin:0;padding:0;display:flex;overflow-y:auto}.generate-unit{border-radius:var(--radius-sm);background:var(--surface-2);cursor:pointer;border:2px solid #0000;align-items:flex-start;gap:10px;padding:10px 12px;display:flex}.generate-unit.is-on{border-color:var(--gold);background:#fff8dc}.generate-unit input{flex:none;width:20px;height:20px;margin-top:2px}.generate-unit-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.unit-state{color:var(--brand-text);flex:none;align-items:center;gap:6px;font-size:.85rem;font-weight:800;display:inline-flex}.unit-state.is-done{color:var(--good-text)}.unit-state.is-failed{color:var(--bad-text);flex:100%}.generate-done{flex-direction:column;gap:10px;display:flex}.improve-offer{border-radius:var(--radius);background:var(--tint-bamboo);flex-direction:column;gap:8px;padding:12px;display:flex}.improve-offer p{margin:0}.improved-notice,.deck-archived-note{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.deck-card.is-archived{opacity:.85;background:var(--surface-2)}.archived-link{color:var(--on-dark-soft);font-weight:800}.syl-legend{flex-wrap:wrap;gap:4px 16px;margin:-6px 0 0;display:flex}.syl-legend>span{align-items:center;gap:6px;display:inline-flex}.syl-dot{background:var(--ink-faint);border-radius:50%;flex:none;width:10px;height:10px;display:inline-block}.syl-dot.is-notes{background:var(--good)}.syl-dot.is-ai{background:var(--info)}.syl-dot.is-missing{background:var(--gold);box-shadow:0 0 0 3px #fff1cc}.syl-weeks{flex-direction:column;gap:10px;display:flex}.syl-week{border-radius:var(--radius);background:var(--surface-2);overflow:hidden}.syl-week-head{cursor:pointer;grid-template-columns:auto 1fr minmax(90px,160px) auto;align-items:center;gap:12px;padding:12px 16px;list-style:none;display:grid}.syl-week-head::-webkit-details-marker{display:none}.syl-week-label{font-family:var(--font-display);color:var(--ink);font-size:1.1rem;font-weight:600}.syl-week-meta{color:var(--ink-soft)}.syl-chevron{color:var(--ink-faint);transition:transform .15s}.syl-week[open] .syl-chevron{transform:rotate(180deg)}.syl-mastery{align-items:center;gap:8px;display:flex}.syl-mastery .deck-progress-bar{flex:1;min-width:60px}.syl-mastery .small{text-align:right;min-width:34px;color:var(--ink-soft);font-weight:800}.syl-topic-rows{border-radius:var(--radius-sm);background:var(--surface);flex-direction:column;margin:0 8px 8px;padding:0;list-style:none;display:flex;overflow:hidden}.syl-topic+.syl-topic{border-top:1px solid var(--surface-3)}.syl-topic.is-missing{background:#fffaf0}.syl-topic-row{grid-template-columns:auto 1fr minmax(90px,160px) auto;align-items:center;gap:12px;padding:12px 14px;display:grid}.syl-topic-main{flex-direction:column;gap:3px;min-width:0;display:flex}.syl-topic-name{color:var(--ink);overflow-wrap:anywhere;font-weight:800}.syl-topic-meta{color:var(--ink-soft);flex-wrap:wrap;align-items:center;gap:2px 12px;display:flex}.syl-deck{align-items:center;gap:2px;display:inline-flex}.syl-unlink{color:var(--ink-faint);cursor:pointer;background:0 0;border:0;border-radius:50%;padding:0 4px;font-size:.8rem}.syl-unlink:hover{color:var(--bad-text)}.syl-missing{color:#8a5a00;font-weight:800}.syl-topic-actions{align-items:center;gap:6px;display:flex}.syl-icon-btn{justify-content:center;min-width:38px;padding-left:8px;padding-right:8px}.syl-topic .link-offer{margin:0 14px 12px 36px}.syl-topic.is-missing .syl-topic-row{grid-template-columns:auto 1fr auto}@media (width<=640px){.syl-week-head{grid-template-columns:1fr auto;gap:4px 10px}.syl-week-head .syl-mastery{grid-area:3/1/auto/-1}.syl-week-meta{grid-area:2/1}.syl-chevron{grid-area:1/2}.syl-topic-row,.syl-topic.is-missing .syl-topic-row{grid-template-columns:auto 1fr auto;gap:8px 10px}.syl-topic-main{grid-column:2/-1}.syl-topic-row .syl-mastery{grid-area:2/2}.syl-topic-actions{grid-area:2/3;justify-self:end}.syl-topic.is-missing .syl-topic-actions{grid-column:2/-1;justify-self:start}.syl-topic .link-offer{margin-left:14px}}@media (prefers-reduced-motion:reduce){.syl-chevron{transition:none}}.library-search{margin-bottom:12px}.library-search+.library-note{margin:-20px 0 12px}:root[data-theme=dark] .course-tile{background:color-mix(in srgb, var(--course,#6c5ce7) 20%, var(--surface));color:color-mix(in srgb, var(--course,#6c5ce7) 72%, white)}:root[data-theme=dark] .course-menu-list{box-shadow:var(--shadow-card), 0 12px 32px #0000008c}:root[data-theme=dark] .course-icon{background:color-mix(in srgb, var(--course,#6c5ce7) 34%, var(--surface));box-shadow:inset 0 -3px 0 color-mix(in srgb, var(--course,#6c5ce7) 50%, var(--surface))}:root[data-theme=dark] .course-dk{background:color-mix(in srgb, var(--surface-2) 65%, var(--surface));box-shadow:0 0 0 1px var(--line)}:root[data-theme=dark] .course-dk.is-done .course-dk-state,:root[data-theme=dark] .course-dk-note.is-done{color:#7ed992}:root[data-theme=dark] .course-dk.is-done .deck-progress-bar span{background:#7ed992}:root[data-theme=dark] .course-dk.is-going .course-dk-state,:root[data-theme=dark] .course-exam,:root[data-theme=dark] .syllabus-hint,:root[data-theme=dark] .syl-missing{color:var(--tint-gold-ink)}:root[data-theme=dark] .exam-pill.is-soon,:root[data-theme=dark] .coming-days.is-soon,:root[data-theme=dark] .missing-pill,:root[data-theme=dark] .catalog-badge{background:var(--tint-gold);color:var(--tint-gold-ink)}:root[data-theme=dark] .syllabus-topic.is-missing,:root[data-theme=dark] .syl-topic.is-missing,:root[data-theme=dark] .generate-unit.is-on{background:var(--tint-gold)}:root[data-theme=dark] .syl-dot.is-missing{box-shadow:0 0 0 3px var(--tint-gold)}:root[data-theme=dark] .syllabus-drop.has-files{background:var(--tint-good)}:root[data-theme=dark] .ai-notice{background:var(--tint-info);color:var(--ink)}:root[data-theme=dark] .ai-badge,:root[data-theme=dark] .origin-pill.is-ai,:root[data-theme=dark] .coverage-pill.is-ai{background:var(--tint-info);color:var(--info-text)}:root[data-theme=dark] .ai-badge.catalog-badge{background:var(--tint-gold);color:var(--tint-gold-ink)}.home-hero{text-align:center;color:var(--on-dark);flex-direction:column;align-items:center;gap:14px;padding:28px 0 8px;display:flex}.logo{align-items:center;gap:12px;display:flex}.logo h1{letter-spacing:-.01em;text-shadow:var(--on-dark-lift);font-size:clamp(2.4rem,9vw,3.8rem);font-weight:700}.logo-crown{filter:drop-shadow(0 4px #140a5a66);font-size:clamp(2.4rem,8vw,3.4rem);display:inline-block;transform:rotate(-12deg)}.home-tagline{max-width:560px;color:var(--on-dark-soft);font-size:1.08rem}.home-actions{justify-content:center;margin-top:6px}.resume-banner{border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-card);border:3px solid var(--gold);flex-wrap:wrap;align-items:center;gap:12px;padding:14px 16px;display:flex}.resume-icon{font-size:1.6rem}.resume-text{flex-direction:column;flex:1;min-width:180px;display:flex}.section-head{color:var(--on-dark);align-items:center;gap:10px;display:flex}.section-head h2{font-size:1.5rem}.library-m-head{color:var(--on-dark);flex-direction:column;gap:12px;display:flex}.library-m-title{justify-content:space-between;align-items:center;gap:12px;display:flex}.library-m-head .library-m-title h1{flex:auto;min-width:0;margin:0}.library-m-sub{color:var(--on-dark-soft);margin:-6px 0 4px;font-size:1rem}.library-tabs-row{margin-block:4px}.library-tabs-row .tab-bar.is-pill{background:0 0;border-radius:0;align-self:stretch;gap:4px;padding:0}.library-tabs-row .tab-bar.is-pill button{min-width:0;min-height:52px;color:var(--on-dark-soft);border-radius:14px;flex-direction:row;flex:1;padding:8px 4px;font-size:1rem;font-weight:600;position:relative}.library-tabs-row .tab-bar.is-pill button:hover{background:var(--on-dark-fill)}.library-tabs-row .tab-bar.is-pill button[aria-selected=true]{background:var(--surface);box-shadow:var(--shadow-card);color:var(--brand-text)}.library-tabs-row .tab-bar.is-pill button[aria-selected=true]:after{content:"";background:var(--brand-text);border-radius:2px;height:2px;position:absolute;bottom:9px;left:18%;right:18%}#library-panel .library-search{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d5890' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M16 16l4.5 4.5'/%3E%3C/svg%3E");background-position:14px;background-repeat:no-repeat;background-size:18px;min-height:52px;padding-left:44px}.library-m-heading{color:var(--on-dark);flex-wrap:wrap;align-items:baseline;gap:4px 10px;display:flex}.library-m-heading h2{margin:0;font-size:1.2rem}.library-m-heading .muted{color:var(--on-dark-soft)}.library-chips{grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:8px;margin-top:-8px;display:grid}.library-chips button{background:var(--on-dark-fill);min-width:0;min-height:42px;color:var(--on-dark-soft);font:inherit;white-space:nowrap;text-overflow:ellipsis;cursor:pointer;border:0;border-radius:999px;padding:8px 6px;font-size:.92rem;font-weight:600;overflow:hidden}.library-chips.is-compact{flex-wrap:wrap;margin-top:-4px;display:flex}.library-chips.is-compact button{flex:none;min-height:38px;padding:7px 14px;font-size:.9rem}.library-chips button:hover{background:var(--on-dark-fill-hover,var(--on-dark-fill))}.library-chips button[aria-pressed=true]{background:var(--tint-brand);color:var(--brand-text)}.library-chips-note{color:var(--on-dark-soft);margin:-8px 0 0}.library-m-section{flex-direction:column;gap:4px;margin:12px 0 10px;display:flex}.library-m-section .library-m-count{margin-left:auto}.library-m-section .library-chips-note{margin:0}.library-m-section .library-chips-note .link{font-weight:700}@media (width<=959.98px){.library-bar{margin-top:clamp(20px,6vw,32px)}.library-bar,.library-tabs-row,#library-panel{--library-zoom:.9;zoom:var(--library-zoom)}#library-panel .course-grid{grid-template-columns:repeat(auto-fill, minmax(calc(230px / var(--library-zoom)), 1fr));gap:calc(14px / var(--library-zoom))}.library-m-head .library-m-title h1{font-size:clamp(1.6rem,6.4vw,1.9rem)}.library-m-head .library-bar-actions{grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:10px;display:grid}.library-m-head .library-bar-actions .btn{white-space:normal;min-height:54px;padding:8px 10px;font-size:1rem;line-height:1.15}#library-panel .course-grid.is-phone{gap:calc(12px / var(--library-zoom));grid-template-columns:repeat(2,minmax(0,1fr))}@media (width<=420px){.library-chips:has(button:nth-child(4)) button{font-size:.82rem}}}@media (width>=960px){.screen.library-screen{max-width:1120px}.library-m-head{grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:"title actions me""sub actions me";align-items:center;gap:0 16px;display:grid}.library-m-title{grid-area:title}.library-m-head .library-m-title h1{letter-spacing:-.025em;font-size:2.1rem}.library-m-sub{grid-area:sub;margin:4px 0 0;font-size:1.05rem}.library-m-head .library-bar-actions{flex-wrap:nowrap;grid-area:actions}.library-d-me{border-radius:50%;grid-area:me;display:grid}.library-tabs-row{margin-top:14px}.library-tabs-row .tab-bar.is-pill{border:1px solid var(--line);background:var(--surface);border-radius:14px;gap:6px;padding:5px}.library-tabs-row .tab-bar.is-pill button{min-height:58px;color:var(--ink-soft);border-radius:10px;gap:10px;font-size:1.05rem;font-weight:500}.library-tabs-row .tab-bar.is-pill button>span[aria-hidden=true]{display:inline-flex}.library-tabs-row .tab-bar.is-pill button:hover{background:var(--surface-2)}.library-tabs-row .tab-bar.is-pill button[aria-selected=true]{background:var(--tint-brand);box-shadow:none;color:var(--ink)}.library-tabs-row .tab-bar.is-pill button[aria-selected=true]:after{content:none}.library-chips{flex-wrap:wrap;display:flex}.library-chips button{flex:none;padding-inline:20px}.library-m-heading h2{font-size:1.3rem}#library-panel .library-m-section{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 16px;display:grid}#library-panel .library-m-section .library-m-heading{display:contents}#library-panel .library-m-heading h2{grid-area:1/1;font-size:1.5rem}#library-panel .library-m-section .library-m-count{grid-area:1/2;margin:0;font-size:1.02rem}#library-panel .library-m-section:has(.library-chips-note) .library-m-count{grid-row:1/span 2}#library-panel .library-m-section .library-chips-note{grid-area:2/1;font-size:1rem}#library-panel .course-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.library-find{gap:12px;margin-bottom:12px;display:flex}.library-find .library-search{flex:1;min-width:0;margin:0}.library-sort{flex:none;width:clamp(200px,24%,260px);position:relative}.library-find .library-search,.library-sort .select{height:52px}.library-sort .select{appearance:none;min-height:0;color:var(--ink);text-overflow:ellipsis;cursor:pointer;padding:0 46px 0 18px;font-weight:500;display:block}.library-sort .louie-icon{color:var(--ink-soft);pointer-events:none;position:absolute;top:50%;right:16px;translate:0 -50%}.library-chips button{min-height:44px;padding-inline:18px;font-size:.98rem;font-weight:500}#library-panel .deck-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}#library-panel .upload-list{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;display:grid}#library-panel .deck-grid:has(.deck-review-panel){align-items:start}}.pill.on-dark{color:#fff;background:#ffffff29}.pill.warn{color:#8a5a00;background:#fff1cc}.deck-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;display:grid}.deck-card{background:var(--surface);border-radius:var(--radius-lg);box-shadow:var(--shadow-card);flex-direction:column;gap:8px;padding:18px;display:flex}.deck-card h3{overflow-wrap:anywhere;font-size:1.3rem}.deck-card-topics{flex-wrap:wrap;gap:5px;margin-bottom:4px;display:flex}.deck-card-desc{color:var(--ink-soft)}.deck-card-warn{color:#8a5a00;font-weight:700}.deck-card-actions{flex-wrap:wrap;align-items:center;gap:8px;margin-top:auto;padding-top:8px;display:flex}.deck-card.is-phone{border-radius:var(--radius);gap:6px;padding:16px;position:relative}.deck-card-head{align-items:flex-start;gap:12px;margin-bottom:8px;display:flex}.deck-card-head .course-tile{flex:none;width:46px;height:46px;margin:0}.deck-card-headtext{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.deck-card.is-phone h3{font-family:var(--font-display);font-size:1.15rem;font-weight:650;line-height:1.25}.deck-card-badges{flex-wrap:wrap;gap:6px;display:flex}.deck-mastery{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.deck-mastery-pct{color:var(--good-text);font-size:.95rem;font-weight:700}.deck-card.is-phone .deck-progress-bar{height:6px}.deck-card.is-phone .deck-progress-bar span{background:var(--good)}.deck-review-line{color:#8a5a00;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-self:flex-start;align-items:center;gap:8px;margin:6px 0 0;padding:2px 0;font-weight:600;display:inline-flex}.deck-review-line:hover{text-decoration:underline}.deck-review-line .louie-icon.is-open{transform:rotate(180deg)}.deck-review-panel{margin:4px -16px 0;padding:6px 16px 0;overflow:clip}.deck-review-panel .rematch{flex-direction:column;gap:12px;display:flex;overflow:visible}.deck-review-panel .rematch-top{display:none}.deck-card-actions.is-phone{grid-template-columns:1fr 1fr;gap:10px;padding-top:12px;display:grid}.deck-card-actions.is-phone .btn{white-space:nowrap;gap:8px;min-height:50px;padding:8px 10px;font-size:1rem}.btn.deck-trail-btn.is-done{--btn-bg:var(--tint-good);--btn-edge:color-mix(in srgb, var(--good) 35%, var(--tint-good));--btn-ink:var(--good-text)}.deck-restore-btn{gap:8px;min-height:50px;margin-top:4px;font-size:1rem}.deck-card.is-desk{border-radius:16px;gap:0;padding:18px 20px 20px}.deck-card.is-desk .deck-card-head{align-items:center;gap:14px;margin-bottom:0}.deck-card.is-desk .deck-card-head .course-tile{border-radius:14px;width:58px;height:58px}.deck-card.is-desk .deck-card-headtext{gap:4px}.deck-card.is-desk h3{font-size:1.25rem}.deck-card.is-desk .deck-card-headtext .small{font-size:1rem}.deck-card.is-desk .deck-menu{align-self:flex-start}.deck-card.is-desk .deck-card-badges,.deck-card.is-desk .deck-card-warn{margin-top:12px}.deck-card.is-desk .deck-mastery{margin-top:18px}.deck-card.is-desk .deck-mastery .small,.deck-card.is-desk .deck-mastery-pct{font-size:.98rem}.deck-card.is-desk .deck-mastery-pct{font-weight:600}.deck-card.is-desk .deck-progress-bar{height:7px;margin-top:10px}.deck-trail-line{color:var(--brand-text);align-self:flex-start;align-items:center;gap:8px;margin-top:20px;font-size:.98rem;display:inline-flex}button.deck-trail-line{font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:.98rem}button.deck-trail-line:hover{text-decoration:underline}.deck-trail-line.is-done{color:var(--good-text)}.deck-card.is-desk .deck-review-line{margin-top:14px;font-size:.95rem}.deck-card.is-desk .deck-review-panel{margin:8px -20px 0;padding:6px 20px 0}.deck-card.is-desk .olu-check-badge{align-self:flex-start;margin-top:12px}.deck-card.is-desk .deck-card-actions.is-phone{gap:12px;padding-top:22px}.deck-card.is-desk .deck-card-actions .btn{min-height:52px;font-size:1.02rem}.deck-card.is-desk .btn.deck-trail-btn{--btn-bg:var(--surface-2);--btn-edge:var(--surface-2);--btn-ink:var(--brand-text);font-weight:600}.deck-card.is-desk .deck-restore-btn{margin-top:22px}.deck-menu-actions.is-only{border-top:0;margin:-6px;padding-top:0}.deck-menu{flex:none;margin:-4px -6px 0 0;position:relative}.deck-menu-panel{z-index:20;background:var(--surface);width:min(270px,80vw);box-shadow:var(--shadow-card), 0 12px 32px #140a5a40;border-radius:16px;flex-direction:column;gap:10px;padding:12px;display:flex;position:absolute;top:calc(100% + 4px);right:0}.deck-menu-actions{border-top:1px solid var(--line);flex-direction:column;margin:0 -6px -6px;padding-top:6px;display:flex}.deck-menu-actions button{color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;padding:12px 10px;font-weight:700}.deck-menu-actions button:hover{background:var(--surface-2)}.deck-menu-actions .is-danger{color:var(--bad-text)}.upload-list{flex-direction:column;gap:14px;display:flex}.upload-card .course-menu-btn{flex:none;margin:-4px -6px 0 0}.upload-in-deck,.upload-no-deck{align-items:center;gap:6px;margin-top:4px;font-weight:600;display:inline-flex}.upload-in-deck{color:var(--good-text)}.upload-no-deck{color:#8a5a00}.upload-menu{background:var(--surface-2);border-radius:14px;flex-direction:column;padding:6px;display:flex}.upload-menu button{color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:12px;padding:12px 10px;font-weight:600;display:flex}.upload-menu button:hover{background:var(--surface-3)}.upload-menu hr{border:0;border-top:1px solid var(--line);margin:6px 10px}.upload-menu .is-danger{color:var(--bad-text)}.upload-details{background:var(--surface-2);border-radius:14px;grid-template-columns:auto 1fr;gap:6px 14px;margin:0;padding:12px 14px;display:grid}.upload-details dt{color:var(--ink-soft);font-size:.875rem}.upload-details dd{overflow-wrap:anywhere;margin:0;font-size:.9rem;font-weight:600}.upload-table-card{background:var(--surface);box-shadow:var(--shadow-card);border-radius:16px;padding:4px 14px 22px}.upload-table{border-collapse:collapse;table-layout:fixed;width:100%}.upload-t-status-col{width:28%}.upload-t-actions-col{width:232px}.upload-table th{border-bottom:1px solid var(--line);color:var(--ink-soft);text-align:left;padding:20px 12px 18px;font-size:.98rem;font-weight:500}.upload-table td{border-bottom:1px solid var(--line);vertical-align:middle;padding:22px 12px}.upload-table tr.is-open td{border-bottom:0}.upload-table .upload-t-more td{padding-top:0}.upload-t-more .upload-details{margin-left:64px}.upload-t-file{align-items:center;gap:14px;min-width:0;display:flex}.upload-t-file .course-tile{border-radius:12px;flex:none;width:50px;height:50px;margin:0}.upload-t-name,.upload-t-status{flex-direction:column;gap:5px;min-width:0;display:flex}.upload-t-status{align-items:flex-start}.upload-t-name strong,.upload-t-name .muted,.upload-t-deck{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}@media (width<=1099.98px){.upload-t-actions-col{width:196px}.upload-t-file{gap:12px}.upload-t-file .course-tile{width:42px;height:42px}.upload-t-more .upload-details{margin-left:54px}}.upload-t-name strong{font-family:var(--font-display);font-size:1.12rem;font-weight:600}.upload-t-name .muted,.upload-t-status .muted{font-size:.95rem}.upload-t-status .upload-in-deck,.upload-t-status .upload-no-deck,.upload-t-working,.upload-t-failed{align-items:center;gap:6px;margin:0;font-weight:500;display:inline-flex}.upload-t-working{color:var(--ink-soft)}.upload-t-failed{color:var(--bad-text)}.upload-t-actions{align-items:center;gap:8px;display:flex}.btn.upload-t-btn{--btn-bg:var(--tint-brand);--btn-ink:var(--brand-text);min-width:0;min-height:46px;box-shadow:none;border-radius:10px;flex:1;padding:8px 14px;font-size:1rem;font-weight:600}.btn.btn-gold.upload-t-btn{--btn-bg:var(--gold);--btn-ink:#4a3200}.btn.upload-t-btn:active:not(:disabled){box-shadow:none;transform:translateY(1px)}.upload-t-menu{flex:none;position:relative}.deck-card-actions.is-phone.is-one{grid-template-columns:1fr}.discover-hero{border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-card);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;margin-top:4px;padding:18px;display:grid}.discover-hero-text{flex-direction:column;gap:6px;min-width:0;display:flex}.discover-hero-kicker{color:var(--brand-text);letter-spacing:.08em;text-transform:uppercase;align-items:center;gap:6px;font-size:.75rem;font-weight:700;display:inline-flex}.discover-hero h2{margin:0;font-size:1.25rem;line-height:1.25}.discover-hero p{color:var(--ink-soft);margin:0}.discover-hero-art{place-items:center;width:84px;height:84px;display:grid;position:relative}.discover-hero-art img{width:72px;height:72px;transform:rotate(-8deg)}.discover-hero-art:before,.discover-hero-art:after{content:"+";color:var(--gold);font-weight:700;line-height:1;position:absolute}.discover-hero-art:before{font-size:1.3rem;top:-2px;right:2px}.discover-hero-art:after{font-size:1rem;bottom:22px;left:-4px}.discover-hero-btn{grid-column:1/-1;gap:8px;min-height:50px;font-size:1rem}.discover-certs{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:-6px;display:grid}.discover-cert{border-radius:var(--radius);background:var(--surface);min-width:0;box-shadow:var(--shadow-card);color:var(--ink);flex-direction:column;gap:4px;padding:12px 9px;text-decoration:none;display:flex;container-type:inline-size}.discover-cert .course-tile{border-radius:10px;width:40px;height:40px;margin-bottom:6px}.discover-cert strong{font-family:var(--font-display);overflow-wrap:anywhere;font-weight:650}.discover-cert .muted{letter-spacing:-.01em;white-space:nowrap;text-overflow:ellipsis;font-size:min(.875rem,8.4cqi);overflow:hidden}.discover-rule{border:0;border-top:1px solid var(--line);margin:12px 0 0}.community-head{color:var(--ink);align-items:center;margin-bottom:4px;text-decoration:none}.community-head h3{font-size:1.05rem}.community-chevron{color:var(--ink-soft);flex:none}.community-empty{border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-card);text-align:center;flex-direction:column;align-items:center;gap:8px;padding:22px 18px 18px;display:flex}.community-empty .course-tile{--course:#8b72ff;width:50px;height:50px;margin-bottom:4px}.community-empty h3{margin:0;font-size:1.1rem}.community-empty p{color:var(--ink-soft);margin:0}.community-share-btn{align-self:stretch;gap:8px;min-height:50px;margin-top:8px;font-size:1rem}@media (width>=960px){.discover-hero{grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"art text btn";gap:22px;padding:22px 26px}.discover-hero-text{grid-area:text}.discover-hero-art{grid-area:art}.discover-hero-btn{grid-area:btn;padding-inline:24px}.discover-certs{gap:14px}.discover-cert{padding:14px}.community-share-btn{align-self:center;padding-inline:28px}}@media (width>=1100px){.discover-cert{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:2px 14px;padding:14px 16px;display:grid}.discover-cert .course-tile{grid-row:span 2;width:46px;height:46px;margin:0}.discover-cert strong{align-self:end}.discover-cert .muted{align-self:start}}.share-deck-dialog{gap:14px;max-width:440px}.share-deck-list{flex-direction:column;gap:8px;max-height:50vh;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.share-deck-list button{background:var(--surface-2);width:100%;color:var(--ink);font:inherit;text-align:left;cursor:pointer;border:0;border-radius:14px;align-items:center;gap:12px;padding:10px 12px;display:flex}.share-deck-list button:hover{background:var(--surface-3)}.share-deck-list .course-tile{border-radius:10px;flex:none;width:40px;height:40px;margin:0}.share-deck-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.share-deck-text strong{overflow-wrap:anywhere}.upload-more{color:var(--on-dark-soft);font:inherit;cursor:pointer;background:0 0;border:0;flex-direction:column;align-items:center;gap:2px;margin:2px auto 0;padding:6px 12px;font-weight:600;display:flex}.upload-more:hover{color:var(--on-dark)}.upload-more .louie-icon.is-open{transform:rotate(180deg)}.upload-account{border:3px solid var(--gold);background:#fff7dc;flex-flow:wrap;justify-content:space-between;align-items:center;gap:14px 24px;margin-bottom:20px;display:flex}.upload-account>div:first-child{flex-direction:column;flex:320px;gap:4px;display:flex}.upload-account h2{font-size:1.2rem}.upload-account .muted{color:#5c4400;margin:0}.upload-restored{background:var(--tint-good);color:var(--good-text);border-radius:14px;margin:0 0 20px;padding:10px 14px;font-weight:800}.upload-layout{grid-template-columns:minmax(0,1fr);align-items:start;gap:20px;display:grid}@media (width>=860px){.upload-layout{grid-template-columns:minmax(0,1fr) 340px}.upload-preview{position:sticky;top:16px}}.dropzone{text-align:center;border:3px dashed var(--line);border-radius:var(--radius);background:var(--surface-2);cursor:pointer;flex-direction:column;align-items:center;gap:6px;padding:28px 16px;transition:border-color .15s,background .15s;display:flex}.dropzone:hover,.dropzone.dragging{border-color:var(--brand);background:var(--tint-brand)}.dropzone:focus-within{outline:3px solid var(--gold);outline-offset:2px}.dropzone-icon{font-size:2.2rem}.file-list{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.file-list li{background:var(--surface-2);border-radius:12px;flex-wrap:wrap;align-items:center;gap:8px;padding:6px 6px 6px 12px;display:flex}.file-list li.error{color:var(--bad-text);background:#ffeaea}.file-name{overflow-wrap:anywhere;flex:1;min-width:0;font-weight:700}.file-list li .small{order:3;width:100%;padding-bottom:4px}.file-list .upload-wait{flex-direction:column;order:3;gap:6px;width:100%;padding:2px 6px 6px 0;display:flex}.file-list .photo-text{order:4;width:100%;min-height:180px;margin-bottom:6px;font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace;font-size:.92rem}.first-deck{flex-direction:column;gap:16px;display:flex}.first-deck-status{gap:12px;display:grid}.first-deck-status h2{margin:0;font-size:1.35rem}.first-deck-status p{margin:0}.first-deck-status .btn-big{width:100%}.first-deck-more{justify-self:center}.first-deck-trail ul{gap:10px;margin:0;padding:0;list-style:none;display:grid}.first-deck-trail li{gap:10px;line-height:1.45;display:flex}.first-deck-trail li strong,.format-guide{display:block}.format-guide summary{cursor:pointer;align-items:center;gap:10px;list-style:none;display:flex}.format-guide summary::-webkit-details-marker{display:none}.format-guide summary:after{content:"▾";color:var(--ink-faint);margin-left:auto;transition:transform .15s}.format-guide[open] summary:after{transform:rotate(180deg)}.format-guide-body{flex-direction:column;gap:16px;padding-top:16px;display:flex}.format-guide-paste{border-top:2px solid var(--line);padding-top:16px}.paste-box:disabled{background:var(--surface-2);color:var(--ink-faint);cursor:not-allowed}.paste-box{min-height:180px;font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace;font-size:.92rem}.example{color:#e8e5ff;background:#1f1a4d;border-radius:14px;max-height:280px;margin:0;padding:14px;font-size:.85rem;line-height:1.5;overflow-x:auto}.preview-total{font-size:1.1rem}.preview-topics{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.preview-topics li{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.preview-sample{background:var(--surface-2);border-radius:14px;flex-direction:column;gap:4px;padding:12px;display:flex}.preview-sample .small{color:var(--good-text);font-weight:800}.exam-input{max-width:220px}.input-big{font-family:var(--font-display);font-size:1.3rem;font-weight:600}.topic-rows{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.topic-row{align-items:center;gap:8px;display:flex}.topic-row .input:not(.icon-input){flex:1;min-width:0}.color-swatch{background:var(--topic);cursor:pointer;border-radius:50%;flex:none;width:40px;height:40px;position:relative;box-shadow:inset 0 -3px #0003}.color-swatch:focus-within{outline:3px solid var(--gold);outline-offset:2px}.color-swatch input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.icon-input{text-align:center;flex:none;width:56px;padding:6px;font-size:1.2rem}.filter-row{scrollbar-width:thin;gap:8px;padding-bottom:4px;display:flex;overflow-x:auto}.filter-chip{border:2px solid var(--line);background:var(--surface);color:var(--ink-soft);border-radius:999px;flex:none;padding:6px 14px;font-size:.9rem;font-weight:800}.filter-chip.active{background:var(--topic,var(--brand));border-color:var(--topic,var(--brand));color:#fff}.question-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.question-item{background:var(--surface-2);border-left:6px solid var(--topic,var(--brand));border-radius:14px;align-items:center;gap:12px;padding:12px 12px 12px 14px;display:flex}.question-item-main{overflow-wrap:anywhere;flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.question-item-prompt{font-weight:700}.question-item-answer{color:var(--good-text);font-size:.95rem;font-weight:800}.question-form{background:var(--surface);border:3px solid var(--brand);border-radius:16px;flex-direction:column;gap:12px;padding:16px;display:flex}.answer-input{border-color:#b9ecc9}.wrong-grid{gap:8px;display:grid}@media (width>=640px){.wrong-grid{grid-template-columns:repeat(3,1fr)}}.topic-select{width:auto;min-width:160px}.player-rows{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.player-rows li{align-items:center;gap:10px;display:flex}.player-rows .input{flex:1;min-width:0}.add-player{align-self:flex-start}.topic-toggle-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;display:grid}.topic-toggle{border:3px solid var(--line);background:var(--surface);color:var(--ink-soft);border-radius:18px;flex-direction:column;align-items:center;gap:4px;padding:12px 8px;font-weight:800;transition:background .12s,border-color .12s;display:flex}.topic-toggle-icon{background:var(--surface-3);filter:grayscale();border-radius:50%;place-items:center;width:42px;height:42px;font-size:1.3rem;display:grid}.topic-toggle-name{color:var(--ink);overflow-wrap:anywhere;text-align:center}.topic-toggle.on{border-color:var(--topic);background:color-mix(in srgb, var(--topic) 12%, white)}.topic-toggle.on .topic-toggle-icon{background:var(--topic);filter:none}.how-page{max-width:720px}.device-decks,.trail-ready{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.device-decks>span:first-child,.trail-ready>span:first-child{flex:260px}.play-mode-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;display:grid}.play-mode{border:3px solid var(--line);border-radius:var(--radius);background:var(--surface);color:var(--ink);text-align:left;font-family:var(--font-body);cursor:pointer;box-shadow:0 4px 0 var(--line);flex-direction:column;align-items:flex-start;gap:2px;padding:14px;transition:transform 80ms;display:flex}.play-mode:hover{transform:translateY(-2px)}.play-mode[aria-pressed=true]{border-color:var(--brand);box-shadow:0 4px 0 var(--brand-dark);background:#f1eeff}.play-mode strong{font-family:var(--font-display);font-size:1.1rem;font-weight:600}.play-mode .small{color:var(--ink-soft)}.play-mode-icon{color:var(--brand-text);font-size:1.8rem;line-height:1.2}.play-mode-vs{color:var(--ink-soft);flex:none;font-weight:800}.play-mode-online{flex-direction:column;gap:10px;display:flex}.play-mode-online p{margin:0}.olu-check-note{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.olu-check-note>span:first-child{flex:260px}.olu-tip{border-radius:var(--radius-sm);color:var(--ink);background:#fff8e1;border:2px solid #ffe08a;flex-direction:column;gap:6px;margin-top:8px;padding:10px 12px;display:flex}.olu-live-check{flex-wrap:wrap;align-items:center;gap:6px;margin:6px 0 0;display:flex}.olu-live-check.is-ok{color:var(--good-text);font-weight:700}.olu-inline-offer{flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px;display:flex}.olu-tip-title{font-weight:800}.olu-tip-fix{border-radius:var(--radius-sm);background:var(--surface);padding:8px 10px}.olu-tip-label{text-transform:uppercase;letter-spacing:.04em;color:var(--ink-soft);font-size:.75rem;font-weight:800}.olu-check-badge{color:#7a5200;font:inherit;cursor:pointer;background:#fff8e1;border:2px solid #ffe08a;border-radius:999px;align-self:flex-start;padding:4px 10px;font-size:.85rem;font-weight:800}.olu-check-badge:hover{background:#ffefb8}.library-note{color:var(--on-dark-soft);margin:-8px 0 0}:root[data-theme=dark] .library-tabs-row .tab-bar.is-pill button[aria-selected=true]{background:var(--surface-2);box-shadow:none}@media (width>=960px){:root[data-theme=dark] .library-tabs-row .tab-bar.is-pill button[aria-selected=true]{background:var(--tint-brand);color:#fff}}:root[data-theme=dark] #library-panel .library-search{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b3aedb' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M16 16l4.5 4.5'/%3E%3C/svg%3E")}:root[data-theme=dark] .pill.warn{background:var(--tint-gold);color:var(--tint-gold-ink)}:root[data-theme=dark] .deck-card-warn,:root[data-theme=dark] .deck-review-line,:root[data-theme=dark] .upload-no-deck{color:var(--tint-gold-ink)}:root[data-theme=dark] .discover-hero{background:var(--surface-2)}:root[data-theme=dark] .deck-card.is-desk{background:color-mix(in srgb, var(--surface-2) 65%, var(--surface));box-shadow:0 0 0 1px var(--line)}:root[data-theme=dark] .deck-card.is-desk .deck-mastery-pct,:root[data-theme=dark] .deck-trail-line.is-done,:root[data-theme=dark] .upload-t-status .upload-in-deck{color:#7ed992}:root[data-theme=dark] .upload-table-card{background:color-mix(in srgb, var(--surface-2) 65%, var(--surface));box-shadow:0 0 0 1px var(--line)}:root[data-theme=dark] .btn.upload-t-btn:not(.btn-gold){--btn-ink:#ddd3fb}:root[data-theme=dark] .deck-card.is-desk .deck-progress-bar span{background:#7ed992}:root[data-theme=dark] .deck-card.is-desk .btn.deck-trail-btn{--btn-bg:var(--surface-3);--btn-edge:var(--surface-3)}@media (width>=960px){:root[data-theme=dark] .library-chips button{background:color-mix(in srgb, var(--surface-2) 65%, var(--surface));color:var(--ink-soft)}:root[data-theme=dark] .library-chips button:hover{background:var(--surface-3)}:root[data-theme=dark] .library-chips button[aria-pressed=true]{background:var(--tint-brand);color:#fff}}:root[data-theme=dark] .btn.deck-trail-btn.is-done{--btn-bg:#243b33;--btn-edge:#172821;--btn-ink:#8fdba3}:root[data-theme=dark] .deck-menu-panel{box-shadow:var(--shadow-card), 0 12px 32px #0000008c}:root[data-theme=dark] .upload-account{background:var(--tint-gold)}:root[data-theme=dark] .upload-account .muted{color:var(--tint-gold-ink)}:root[data-theme=dark] .file-list li.error{background:var(--tint-bad)}:root[data-theme=dark] .example{background:var(--surface-2)}:root[data-theme=dark] .answer-input:not(:focus){border-color:color-mix(in srgb, var(--good) 45%, var(--surface))}:root[data-theme=dark] .topic-toggle.on{background:color-mix(in srgb, var(--topic) 22%, var(--surface))}:root[data-theme=dark] .play-mode[aria-pressed=true]{background:var(--tint-brand)}:root[data-theme=dark] .olu-tip,:root[data-theme=dark] .olu-check-badge{border-color:color-mix(in srgb, var(--gold) 45%, var(--surface));background:var(--tint-gold)}:root[data-theme=dark] .olu-check-badge{color:var(--tint-gold-ink)}:root[data-theme=dark] .olu-check-badge:hover{background:color-mix(in srgb, var(--gold) 28%, var(--surface))}.catalog-sub{color:var(--on-dark-soft);margin:4px 0 0;font-weight:700}.catalog-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px;display:grid}.catalog-topic-list{gap:2px;margin:0;padding-left:18px;display:grid}.catalog-added{color:var(--good-text);align-self:center;font-weight:800}.ad-slot{flex-direction:column;place-self:center;align-items:center;gap:6px;margin-block:8px;display:flex}.ad-slot-label{letter-spacing:.08em;text-transform:uppercase;opacity:.6;font-size:.7rem;font-weight:700}.ad-slot-box{max-width:100vw}.ad-slot-preview{opacity:.45;border:2px dashed;border-radius:12px;place-items:center;font-weight:700;display:grid}.ad-slot-consent{color:inherit;font:inherit;opacity:.75;cursor:pointer;background:0 0;border:0;padding:4px 8px;font-size:.8rem;text-decoration:underline}.site-header{justify-content:space-between;align-items:center;gap:16px;width:100%;max-width:1080px;margin:0 auto;padding:18px 20px;display:flex}.site-logo{flex-shrink:0;display:inline-flex}.site-logo img{width:auto;height:52px}.site-links{align-items:center;gap:8px;display:flex}.site-links a{color:var(--on-dark-soft);border-radius:12px;padding:8px 14px;font-weight:800;text-decoration:none}.site-links a:hover{color:var(--on-dark);background:#ffffff14}.site-links .site-signin,.site-links .site-account{color:var(--on-dark);border:2px solid #ffffff59}@media (width<=420px){.site-logo img{height:44px}}.daily-page{min-height:100dvh;color:var(--on-dark)}.daily-main{flex-direction:column;gap:24px;width:100%;max-width:1080px;margin:0 auto;padding:24px 16px 56px;display:flex}.daily-back{color:inherit;background:#ffffff24;border-radius:999px;align-self:flex-start;align-items:center;gap:8px;padding:8px 16px 8px 12px;font-weight:800;text-decoration:none;display:inline-flex}.daily-back:hover{background:#ffffff3d}.daily-heading{text-align:center;flex-direction:column;align-items:center;gap:10px;display:flex}.daily-heading h1{text-shadow:var(--on-dark-lift);font-size:clamp(2.2rem,6vw,3.4rem)}.daily-date{color:var(--on-dark-gold);align-items:center;gap:8px;margin:0;font-weight:800;display:inline-flex}.daily-sub{color:var(--on-dark-soft);margin:0;font-size:1.1rem;font-weight:700}.daily-group{flex-direction:column;gap:14px;display:flex}.daily-group h2{color:var(--on-dark);font-size:1.5rem}.daily-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:18px;margin:0;padding:0;list-style:none;display:grid}.daily-card{border-radius:var(--radius);background:var(--surface);height:100%;color:var(--ink);box-shadow:0 6px 0 var(--surface-3), var(--shadow-card);grid-template-columns:auto 1fr;grid-template-areas:"badge text""meta meta""play play";align-items:center;gap:14px 16px;padding:20px;text-decoration:none;transition:transform .12s;display:grid}.daily-card:hover{transform:translateY(-3px)}.daily-card .category-badge{grid-area:badge}.daily-card-text{flex-direction:column;grid-area:text;gap:2px;min-width:0;display:flex}.daily-card-text strong{font-family:var(--font-display);font-size:1.3rem;font-weight:600}.daily-card-text span{color:var(--ink-soft);font-weight:600}.daily-card-meta{color:var(--ink-soft);grid-area:meta;align-items:center;gap:12px;font-size:.9rem;font-weight:700;display:flex}.daily-card-meta>span{align-items:center;gap:5px;display:inline-flex}.daily-level{background:var(--surface-2);color:var(--brand-text);border-radius:999px;padding:3px 10px}.daily-card-play{grid-area:play;width:100%}.daily-next{color:var(--on-dark-soft);justify-content:center;align-items:center;gap:6px;margin:0;font-weight:700;display:inline-flex}.daily-next.on-light{color:var(--ink-soft)}.daily-round{text-align:center;width:100%;max-width:560px;color:var(--ink);align-items:center;gap:14px;margin:12px auto 0}.daily-round h1{font-size:2.2rem}.daily-round-sub{color:var(--ink-soft);margin:-6px 0 0;font-weight:700}.daily-round-actions{justify-content:center}.daily-disclaimer{color:var(--ink-faint);margin:0;font-size:.78rem}.daily-loading,.daily-intro p{color:var(--ink-soft);margin:0;font-weight:700}.daily-intro{justify-items:center;gap:16px;display:grid}.daily-play{text-align:left;gap:12px;width:100%;display:grid}.daily-progress{gap:6px;display:flex}.daily-progress span{background:var(--surface-3);border-radius:99px;flex:1;height:8px}.daily-progress .done{background:var(--brand)}.daily-progress .now{background:var(--gold)}.daily-speed{background:var(--surface-2);border-radius:99px;height:6px;overflow:hidden}.daily-speed span{background:linear-gradient(90deg, var(--good-dark), var(--good));height:100%;display:block}.daily-area{color:var(--brand-text);text-transform:uppercase;letter-spacing:.04em;margin:4px 0 0;font-size:.85rem;font-weight:800}.daily-prompt{margin:0;font-size:1.3rem;line-height:1.35}.daily-prompt-long{font-size:1.1rem;line-height:1.45}.daily-picture{background:var(--surface-2);border-radius:18px;width:100%;max-width:340px;height:auto;margin:0 auto;display:block}.daily-choices{gap:10px;margin:0;padding:0;list-style:none;display:grid}.daily-choice{border:2px solid var(--surface-3);background:var(--surface);width:100%;min-height:54px;color:var(--ink);font:inherit;text-align:left;cursor:pointer;box-shadow:0 4px 0 var(--surface-3);border-radius:14px;align-items:center;gap:12px;padding:10px 14px;font-weight:700;display:flex}.daily-choice:hover:not(:disabled){border-color:var(--brand)}.daily-choice:disabled{cursor:default}.daily-choice-letter{background:var(--surface-2);width:30px;height:30px;color:var(--brand-text);font-family:var(--font-display);border-radius:9px;flex:none;place-items:center;display:grid}.daily-choice.right{border-color:var(--good);box-shadow:0 4px 0 var(--good-dark);background:#eafbf0}.daily-choice.right .daily-choice-letter{background:var(--good);color:#fff}.daily-choice.wrong{border-color:var(--bad);box-shadow:0 4px 0 var(--bad-dark);background:#fdecec}.daily-choice.wrong .daily-choice-letter{background:var(--bad);color:#fff}.daily-choice.dim{opacity:.55}.daily-feedback{background:var(--surface-2);border-radius:14px;justify-items:start;gap:8px;padding:14px 16px;display:grid}.daily-feedback p{margin:0}.daily-feedback-title{font-family:var(--font-display);font-size:1.2rem}.daily-feedback.right .daily-feedback-title{color:var(--good-text)}.daily-feedback.wrong .daily-feedback-title{color:var(--bad-text)}.daily-results{gap:10px;width:100%;display:grid}.daily-results p{margin:0}.daily-score strong{font-family:var(--font-display);color:var(--brand-text);font-size:3.2rem}.daily-score span,.daily-score-sub{color:var(--ink-soft);font-weight:800}.daily-bamboo{background:var(--tint-bamboo);color:var(--tint-bamboo-ink);font-family:var(--font-display);border-radius:999px;align-self:center;margin:0;padding:4px 14px;font-size:1.1rem}.daily-standing{background:var(--surface-2);border-radius:14px;padding:12px 14px;font-weight:700}.daily-standing a{color:var(--brand-text)}.daily-areas{color:var(--ink-soft)}.daily-review{text-align:left;gap:10px;margin:4px 0 0;padding:0;list-style:none;display:grid}.daily-review li{border:2px solid var(--surface-3);border-radius:14px;padding:12px 14px}.daily-review-q{font-weight:800}.daily-review-picture{border-radius:10px;width:112px;height:auto;margin-bottom:8px;display:block}.daily-review-a{color:var(--good-text);align-items:center;gap:6px;font-weight:800;display:flex;margin-top:6px!important}.daily-review-why{color:var(--ink-soft);font-size:.92rem;margin-top:4px!important}@media (width<=559.98px){.daily-prompt{font-size:1.12rem}.daily-picture{max-width:240px}.daily-prompt-long{font-size:1rem}.daily-score strong{font-size:2.6rem}}:root[data-theme=dark] .daily-choice.right{background:var(--tint-good)}:root[data-theme=dark] .daily-choice.wrong{background:var(--tint-bad)}.landing-page{min-height:100dvh;color:var(--on-dark);flex-direction:column;display:flex}.landing-hero{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:22px;width:100%;max-width:760px;margin:0 auto;padding:40px 16px 32px;display:flex}.landing-eyebrow{color:var(--on-dark-gold);background:#ffc93c24;border:2px solid #ffc93c73;border-radius:999px;align-items:center;gap:8px;margin:0;padding:8px 16px;font-size:.95rem;font-weight:800;display:inline-flex}.landing-title{text-wrap:balance;letter-spacing:-.01em;text-shadow:var(--on-dark-lift);font-size:clamp(2.3rem,8vw,4.6rem);line-height:1.02}.landing-title span{color:var(--on-dark-gold);display:block}.landing-points{color:var(--on-dark-soft);flex-direction:column;gap:6px;margin:0;padding:0;font-size:1.15rem;font-weight:700;list-style:none;display:flex}.landing-cta.btn{min-height:68px;box-shadow:0 7px 0 var(--btn-edge), 0 18px 40px #ffc93c59;border-radius:20px;gap:12px;padding:14px 34px;font-size:1.45rem;animation:2.4s ease-in-out infinite landing-cta-pulse}.landing-cta.btn:hover{animation-play-state:paused}.landing-cta.btn:active{box-shadow:0 1px 0 var(--btn-edge);animation:none;transform:translateY(6px)}@keyframes landing-cta-pulse{0%,to{transform:translateY(0)}50%{transform:translateY(-4px)}}.landing-meta{color:var(--on-dark-soft);flex-direction:column;align-items:center;gap:4px;margin-top:-4px;font-size:.95rem;font-weight:700;display:flex}.landing-meta p{align-items:center;gap:6px;margin:0;display:inline-flex}.landing-categories{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;width:100%;margin:18px 0 0;padding:0;list-style:none;display:grid}.landing-categories a{color:var(--on-dark);flex-direction:column;align-items:center;gap:10px;font-size:.85rem;font-weight:800;line-height:1.2;text-decoration:none;display:flex}.landing-categories li .category-badge{animation:3.2s ease-in-out infinite landing-float;animation-delay:var(--delay);transition:transform .12s}.landing-categories a:hover .category-badge{animation-play-state:paused;transform:translateY(-4px)scale(1.06)}@keyframes landing-float{0%,to{transform:translateY(0)}50%{transform:translateY(-6px)}}.landing-footer{text-align:center;flex-direction:column;align-items:center;gap:10px;padding:18px 16px 28px;display:flex}.landing-footer a{text-wrap:balance;color:var(--on-dark-gold);align-items:center;gap:6px;font-weight:800;text-decoration:none;display:inline-flex}.landing-footer a:hover{text-decoration:underline}.landing-footer p{max-width:560px;color:var(--on-dark-faint);margin:0;font-size:.8rem}@media (width<=640px){.landing-categories{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 10px}.landing-points{font-size:1.05rem}.landing-cta.btn{width:100%;font-size:1.3rem}}@media (prefers-reduced-motion:reduce){.landing-cta.btn,.landing-categories li .category-badge{animation:none}}.front-page{min-height:100dvh;color:var(--ink);background:#f7f5ff}.front-page p{margin:0}.front-wrap{width:100%;max-width:1280px;margin:0 auto;padding:0 32px}.front-header{align-items:center;gap:16px;padding-top:28px;padding-bottom:18px;display:flex}.front-logo{margin-right:auto;display:inline-flex}.front-logo img{width:auto;height:50px}.front-header-links{align-items:center;gap:6px;display:flex}.front-back,.front-header-links a:not(.btn){min-height:44px;color:var(--ink);border-radius:12px;align-items:center;gap:6px;padding:0 14px;font-weight:800;text-decoration:none;display:inline-flex}.front-back:hover,.front-header-links a:not(.btn):hover{background:var(--surface-3);color:var(--brand-text)}.front-header-links .btn{margin-left:8px}.front-back{padding-left:6px}.front-flip{transform:scaleX(-1)}.front-btn-outline.btn{--btn-bg:var(--surface);--btn-edge:var(--line);--btn-ink:var(--brand-text);border:2px solid #c9c4ee}.front-tile{background:var(--brand);color:#fff;width:56px;height:56px;box-shadow:0 5px 0 var(--brand-dark);border-radius:18px;flex:none;justify-content:center;align-items:center;display:inline-flex}.front-tile-gold{background:var(--gold);color:#1f1a4d;box-shadow:0 5px 0 var(--gold-dark)}.front-tile-big{border-radius:20px;width:68px;height:68px}.front-muted{color:var(--ink-soft);font-weight:700}.front-eyebrow{color:var(--brand);letter-spacing:.06em;text-transform:uppercase;font-size:.9rem;font-weight:800}.front-card{background:var(--surface);color:var(--ink);box-shadow:0 8px 0 var(--line);border-radius:28px;padding:26px}.front-actions{flex-wrap:wrap;gap:16px;margin-top:6px;display:flex}.front-actions-row{justify-content:center}.front-just-play{min-height:44px;color:var(--brand-text);text-align:left;align-items:center;gap:8px;font-weight:800;text-decoration:none;display:inline-flex}.front-just-play:hover{text-decoration:underline}.front-just-play img{flex:none;width:28px;height:28px}.front-hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:48px;padding-top:88px;padding-bottom:88px;display:grid}.front-hero-text{flex-direction:column;align-items:flex-start;gap:22px;display:flex}.front-hero h1{letter-spacing:-.01em;text-wrap:balance;font-size:clamp(2.6rem,6vw,4.6rem);font-weight:700;line-height:1.04}.front-hero h1 span{color:var(--brand)}.front-lead{max-width:540px;color:var(--ink-soft);font-size:1.25rem;font-weight:700;line-height:1.55}.front-checks{color:var(--ink-soft);flex-wrap:wrap;gap:8px 22px;margin:4px 0 0;padding:0;font-size:.95rem;font-weight:800;list-style:none;display:flex}.front-checks li{align-items:center;gap:6px;display:inline-flex}.front-checks .louie-icon{color:var(--good-text)}.front-stage{width:100%;max-width:560px;height:680px;margin:0 auto;position:relative}.front-map{background:var(--surface);width:390px;max-width:100%;height:640px;box-shadow:0 10px 0 var(--line), 0 30px 70px #2a208833, 0 -18px 56px #2a208829;border-radius:36px;position:absolute;top:20px;left:0;overflow:hidden}.front-map-line{width:100%;height:100%;position:absolute;inset:0}.front-map-line path{fill:none;stroke:var(--line);stroke-width:14px;stroke-linecap:round}.front-week{background:var(--surface-2);color:var(--brand-text);border-radius:16px;justify-content:space-between;align-items:center;gap:8px;padding:12px 16px;display:flex;position:absolute;bottom:20px;left:20px;right:20px}.front-week span{font-family:var(--font-display);font-size:1.1rem;font-weight:600}.front-week small{font-size:.85rem;font-weight:800}.front-week-now{background:var(--brand);color:#fff;box-shadow:0 5px 0 var(--brand-dark);top:20px;bottom:auto}.front-stop{color:#fff;border-radius:50%;justify-content:center;align-items:center;width:68px;height:68px;display:flex;position:absolute;transform:translate(-50%)}.front-stop-done{background:var(--good);box-shadow:0 6px 0 var(--good-dark)}.front-stop-1{top:92px;left:40%}.front-stop-2{top:190px;left:56%}.front-stop-now{background:var(--gold);width:88px;height:88px;box-shadow:0 7px 0 var(--gold-dark), 0 0 0 8px #ffc93c4d;top:280px;left:40%}.front-stop-now img{width:58px;height:58px}.front-stop-game{background:var(--info);box-shadow:0 6px 0 var(--info-dark);top:400px;left:24%}.front-stop-locked{background:var(--surface-3);color:var(--brand);top:498px;left:40%;box-shadow:0 6px #c9c4ee}.front-stop-label{background:var(--ink);color:#fff;white-space:nowrap;border-radius:12px;padding:8px 12px;font-size:.9rem;font-weight:800;position:absolute;top:296px;left:calc(40% + 58px)}.front-surprise{color:var(--info-text);background:#e5f1fd;border-radius:10px;padding:6px 10px;font-size:.8rem;font-weight:800;position:absolute;top:418px;left:calc(24% + 46px)}.front-exam-card{background:var(--surface);width:240px;box-shadow:0 6px 0 var(--line), 0 18px 40px #2a208824;border-radius:20px;flex-direction:column;gap:4px;padding:16px;display:flex;position:absolute;top:110px;right:0}.front-exam-card span{color:var(--bad-text);text-transform:uppercase;letter-spacing:.05em;font-size:.85rem;font-weight:800}.front-exam-card strong{font-family:var(--font-display);font-size:1.8rem;font-weight:700}.front-exam-card small{color:var(--ink-soft);font-size:.9rem;font-weight:700}.front-exam-card,.front-streak-chip,.front-mini-card{animation:4s ease-in-out infinite front-float}.front-streak-chip{animation-delay:-2s}.front-mini-card{animation-delay:-1.2s}@keyframes front-float{0%,to{translate:0}50%{translate:0 -8px}}.front-streak-chip{background:var(--surface);box-shadow:0 6px 0 var(--line), 0 18px 40px #2a208824;border-radius:999px;align-items:center;gap:10px;padding:8px 16px 8px 8px;font-weight:800;display:inline-flex;position:absolute;top:205px;left:-40px}.front-streak-chip img{width:36px;height:36px}.front-subjects-section{background:#fff;padding-bottom:88px}.front-subjects{grid-template-columns:repeat(6,minmax(0,1fr));align-items:start;gap:14px;margin:0 auto;list-style:none;display:grid}.front-subjects>li>a,.front-subjects>li>button{width:100%;font:inherit;color:var(--ink);text-align:center;cursor:pointer;background:0 0;border:0;flex-direction:column;align-items:center;gap:10px;padding:6px;font-size:.95rem;font-weight:800;text-decoration:none;display:flex}.front-subjects>li>a:hover,.front-subjects>li>button:hover{color:var(--brand-text)}.front-subjects .category-badge{transition:transform .12s}.front-subjects>li>a:hover .category-badge,.front-subjects>li>button:hover .category-badge{transform:translateY(-3px)}.front-subject-notes{grid-column:span 2}.front-subjects .front-subject-notes>a{background:#fff7dc;border:2px solid #ffe08a;border-radius:22px;flex-direction:row;justify-content:center;gap:14px;padding:14px 18px;font-size:1.1rem}.front-subjects-section .front-subjects-intro,.front-notes-card,.front-subjects-divider{display:none}.front-mini-card{background:var(--surface);width:240px;color:var(--ink);box-shadow:0 8px 0 var(--line), 0 24px 50px #2a20882e;border-radius:22px;flex-direction:column;gap:10px;padding:16px;display:flex;position:absolute;top:390px;right:0}.front-mini-top{justify-content:space-between;align-items:center;display:flex}.front-mini-top img{width:32px;height:32px}.front-mini-card .front-question-text{font-size:1.05rem}.front-mini-card .front-answer{padding:9px 12px;font-size:.95rem}.front-band{padding:88px 0}.front-band-white{background:#fff}.front-band-purple{color:#fff;background:#4b3fd6}.front-stack{flex-direction:column;gap:40px;display:flex}.front-kinds-head{justify-content:space-between;align-items:center;gap:32px;display:flex}.front-bamboo{flex:none;width:200px;height:auto;margin-right:48px;animation:4s ease-in-out -.6s infinite front-float;position:relative;top:-20px}.front-split{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:56px;display:grid}.front-split-plan{padding-top:88px;padding-bottom:88px}.front-copy{flex-direction:column;gap:18px;display:flex}.front-copy h2,.front-trust-section h2,.front-final h2{text-wrap:balance;font-size:clamp(2rem,4vw,3rem);font-weight:700;line-height:1.08}.front-copy p:not(.front-eyebrow){max-width:680px;color:var(--ink-soft);font-size:1.15rem;font-weight:600;line-height:1.55}.front-band-purple .front-copy p:not(.front-eyebrow){color:#ffffffe0}.front-notes-demo{justify-content:center;align-items:center;min-height:400px;display:flex;position:relative}.front-paper{color:#3b3566;background:#fffdf4 repeating-linear-gradient(#0000 0 28px,#e6e1c8 28px 29px);border-radius:14px;width:240px;padding:20px 20px 24px;font-size:.9rem;line-height:1.9;position:absolute;top:16px;left:0;transform:rotate(-6deg);box-shadow:0 14px 34px #2a20882e}.front-paper-title{font-family:var(--font-display);color:var(--brand-text);font-size:1.05rem;font-weight:600}.front-question{background:var(--surface);width:360px;max-width:100%;color:var(--ink);box-shadow:0 8px 0 var(--line), 0 24px 50px #2a208829;border-radius:24px;flex-direction:column;gap:10px;margin:80px 0 0 140px;padding:20px;display:flex;position:relative}.front-notes-arrow{z-index:1;background:var(--gold);color:#1f1a4d;width:56px;height:56px;box-shadow:0 5px 0 var(--gold-dark);border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;top:50%;left:-46px;transform:translateY(-50%)}.front-chip{color:#a02a5a;background:#fde8f1;border-radius:999px;align-self:flex-start;padding:4px 10px;font-size:.82rem;font-weight:800}.front-question-text{font-family:var(--font-display);font-size:1.2rem;font-weight:600;line-height:1.25}.front-answer{background:var(--surface-2);color:var(--ink);box-shadow:0 4px 0 var(--line);border-radius:12px;padding:10px 12px;font-weight:800}.front-chip-green{background:var(--tint-good);color:var(--good-text)}.front-answer-right{background:var(--good);color:#fff;box-shadow:0 4px 0 var(--good-dark);align-items:center;gap:8px;display:flex}.front-kinds{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0;padding:0;list-style:none;display:grid}.front-kind{--kind-bg:var(--surface-2);--kind-icon:var(--brand);--kind-ink:var(--ink-soft);background:var(--kind-bg);border-radius:22px;flex-direction:column;gap:10px;padding:22px;display:flex}.front-kind-blue{--kind-bg:#e5f1fd;--kind-icon:var(--info);--kind-ink:#33507a}.front-kind-space{--kind-bg:#ebe9f7;--kind-icon:#1a1446}.front-kind-green{--kind-bg:var(--tint-good);--kind-icon:var(--good-dark);--kind-ink:#2f5a3e}.front-kind-gold{--kind-bg:#fff7dc;--kind-icon:transparent;--kind-ink:#5c4400}.front-kind-icon{background:var(--kind-icon);color:#fff;border-radius:14px;justify-content:center;align-items:center;width:48px;height:48px;display:flex}.front-kind-space .front-kind-icon{color:var(--gold)}.front-kind-night{--kind-bg:#fdf0e1;--kind-icon:#27306b;--kind-ink:#6b4a2a}.front-kind-night .front-kind-icon{color:#fff3b0}.front-kind-icon img{width:48px;height:48px}.front-kind h3{font-size:1.2rem;font-weight:600}.front-kind p{color:var(--kind-ink);font-weight:600;line-height:1.45}.front-plan-copy{position:relative}.front-plan-copy h2{padding-right:190px}.study-panda{width:190px;height:auto;position:absolute;top:-64px;right:-16px}.study-panda-body{animation:3s ease-in-out infinite study-panda-bob}.study-panda-arm{transform-box:view-box;transform-origin:214px 174px;animation:6s ease-in-out infinite study-panda-write}.study-panda-head{transform-box:view-box;transform-origin:192px 170px;animation:6s ease-in-out infinite study-panda-glance}.study-panda-eyes{animation:6s ease-in-out infinite study-panda-look}@keyframes study-panda-glance{0%,64%,to{transform:rotate(0)}72%,90%{transform:rotate(9deg)translateY(-2px)}}@keyframes study-panda-look{0%,64%,to{transform:translate(0)}72%,90%{transform:translate(10px,-12px)}}.study-panda-lid{transform-box:fill-box;transform-origin:50%;animation:4.5s infinite study-panda-blink;transform:scaleY(0)}.study-panda-check{stroke-dasharray:1;stroke-dashoffset:0;animation:6s ease-out infinite study-panda-check}.study-panda-check-2{animation-name:study-panda-check-2}.study-panda-check-3{animation-name:study-panda-check-3}.study-panda-spark{transform-box:fill-box;transform-origin:50%;animation:2.4s ease-in-out infinite study-panda-twinkle}.study-panda-spark-2{animation-delay:-1.2s}@keyframes study-panda-bob{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}@keyframes study-panda-write{0%,to{transform:rotate(0)}10%,30%,50%{transform:rotate(-7deg)}20%,40%,60%{transform:rotate(4deg)}75%{transform:rotate(0)}}@keyframes study-panda-blink{0%,92%,to{transform:scaleY(0)}95%{transform:scaleY(1)}}@keyframes study-panda-check{0%,8%{stroke-dashoffset:1px}18%,88%{stroke-dashoffset:0}96%,to{stroke-dashoffset:1px}}@keyframes study-panda-check-2{0%,28%{stroke-dashoffset:1px}38%,88%{stroke-dashoffset:0}96%,to{stroke-dashoffset:1px}}@keyframes study-panda-check-3{0%,48%{stroke-dashoffset:1px}58%,88%{stroke-dashoffset:0}96%,to{stroke-dashoffset:1px}}@keyframes study-panda-twinkle{0%,to{opacity:.6;transform:scale(.7)}50%{opacity:1;transform:scale(1.1)}}.front-plan{flex-direction:column;gap:14px;display:flex}.front-plan-head{align-items:center;gap:12px;display:flex}.front-plan-head img{width:44px;height:44px}.front-plan-head h3{font-size:1.4rem;font-weight:600}.front-plan-row{background:var(--surface-2);border-radius:18px;align-items:center;gap:14px;padding:14px 16px;display:flex}.front-plan-row div{flex-direction:column;flex:1;gap:2px;display:flex}.front-plan-row strong{font-size:1.05rem;font-weight:800}.front-plan-row span:not(.front-plan-dot):not(.front-plan-time){color:var(--ink-soft);font-size:.92rem;font-weight:700}.front-plan-dot{border-radius:50%;flex:none;width:12px;height:12px}.front-plan-dot-red{background:var(--bad)}.front-plan-dot-gold{background:var(--gold)}.front-plan-dot-blue{background:var(--info)}.front-plan-time{color:var(--brand-text);white-space:nowrap;font-weight:800}.front-match{flex-direction:column;gap:20px;display:flex;box-shadow:0 10px #2a2088,0 30px 60px #0a063259}.front-match-top{color:var(--ink-soft);justify-content:space-between;align-items:center;gap:12px;font-weight:800;display:flex}.front-match-turn{background:var(--gold);color:#1f1a4d;white-space:nowrap;border-radius:999px;padding:6px 12px;font-size:.9rem}.front-player{align-items:center;gap:14px;display:flex}.front-player+.front-player{border-top:2px solid #ecebf7;padding-top:20px}.front-player-face{border-radius:50%;flex:none;justify-content:center;align-items:center;width:56px;height:56px;display:flex}.front-player-face img{width:44px;height:44px}.front-player-info{flex-direction:column;flex:1;gap:6px;font-size:1.1rem;display:flex}.front-crowns{gap:6px;display:flex}.front-crowns span{background:#ecebf7;border-radius:8px;width:26px;height:26px}.front-score{font-family:var(--font-display);font-size:2rem;font-weight:700}@media (width<=359.98px){.front-player{gap:10px}.front-player-info{min-width:0}.front-crowns{gap:4px}.front-crowns span{aspect-ratio:1;flex:0 26px;width:auto;height:auto}.front-score{font-size:1.6rem}}.front-spin-icon{width:32px;height:32px}.front-trust-section{flex-direction:column;gap:36px;padding-top:88px;padding-bottom:48px;display:flex}.front-trust-section h2{max-width:700px}.front-trust{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:0;padding:0;list-style:none;display:grid}.front-trust li{flex-direction:column;gap:10px;display:flex}.front-trust .louie-icon{color:var(--brand)}.front-trust h3{font-size:1.2rem;font-weight:600}.front-trust p{color:var(--ink-soft);font-weight:600;line-height:1.5}.front-daily{background:#fff7dc;border:2px solid #ffe08a;border-radius:28px;flex-wrap:wrap;align-items:center;gap:20px 28px;margin-bottom:96px;padding:28px 32px;display:flex}.front-daily>img{flex:none;width:72px;height:72px}.front-daily-text{flex-direction:column;flex:340px;gap:6px;display:flex}.front-daily-text h2{font-size:1.6rem;font-weight:600}.front-daily-text p{color:#5c4400;font-size:1.05rem;font-weight:700}.front-daily-go{flex-direction:column;align-items:center;gap:10px;display:flex}.front-daily-go span{color:#5c4400;font-size:.9rem;font-weight:800}.front-final-section{background:#fff;padding:104px 0}.front-final{text-align:center;flex-direction:column;align-items:center;gap:22px;display:flex}.front-final>img{width:240px;max-width:64%;height:auto}.front-final h2{max-width:760px;font-size:clamp(2.2rem,4.6vw,3.6rem)}.front-final .front-actions{margin-top:6px}.front-final .front-just-play{margin-top:4px}.front-footer{color:#fffc;background:#1f1a4d;padding:40px 0 48px}.front-footer .front-wrap{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:24px;display:flex}.front-footer img{width:auto;height:40px}.front-footer nav{flex-wrap:wrap;gap:24px;font-weight:800;display:flex}.front-footer a{color:#fff;text-decoration:none}.front-footer a:hover{color:var(--gold)}.front-footer p{color:#ffffffb3;flex-basis:100%;max-width:720px;font-size:.85rem;line-height:1.5}.front-start{padding-bottom:64px}.front-start-main{flex-direction:column;gap:36px;max-width:960px;padding-top:24px;display:flex}.front-start-title{text-align:center;flex-direction:column;align-items:center;gap:14px;display:flex}.front-start-title img{width:96px;height:96px}.front-start-title h1{font-size:clamp(2.2rem,5vw,3.4rem);font-weight:700}.front-own{border:3px solid var(--gold);background:#fff7dc;border-radius:30px;flex-direction:column;gap:22px;padding:28px;display:flex;box-shadow:0 8px #f3d27a}.front-own-head{flex-wrap:wrap;align-items:center;gap:18px;display:flex}.front-own-head>div{flex-direction:column;flex:300px;gap:4px;display:flex}.front-own h2{font-size:1.8rem;font-weight:700}.front-own-head p,.front-own-note{color:#5c4400;font-weight:700;line-height:1.45}.front-own-head p{font-size:1.1rem}.front-own-ways{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.front-own-ways .btn{white-space:normal}.front-btn-warm.btn{--btn-edge:#f3d27a;border-color:#ffe08a}.front-pick{flex-direction:column;gap:16px;display:flex}.front-pick h2{font-size:1.6rem;font-weight:600}.front-pick h3{font-family:var(--font-body);text-transform:uppercase;letter-spacing:.06em;color:var(--ink-soft);margin-top:8px;font-size:.95rem;font-weight:800}.front-subject-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0;padding:0;list-style:none;display:grid}.front-subject-card{background:var(--surface);width:100%;height:100%;color:var(--ink);font:inherit;text-align:left;cursor:pointer;border:2px solid #ecebf7;border-radius:20px;align-items:center;gap:14px;padding:16px;text-decoration:none;transition:transform .12s;display:flex;box-shadow:0 5px #ecebf7}.front-subject-card:hover{color:var(--ink);border-color:#c9c4ee;transform:translateY(-2px)}.front-subject-card>span:last-child{flex-direction:column;gap:2px;display:flex}.front-subject-card strong{font-size:1.1rem;font-weight:800}.front-subject-card small{color:var(--ink-soft);font-size:.9rem;font-weight:700}.front-start .front-just-play{align-self:center}.front-notes-main{flex-direction:column;gap:28px;max-width:720px;padding-top:24px;padding-bottom:48px;display:flex}.front-notes-lead{color:var(--ink-soft);font-size:1.15rem;font-weight:700}.front-notes{gap:14px}.front-notes-label{font-family:var(--font-display);font-size:1.35rem;font-weight:700}.front-notes-paste.textarea{background:#fff;min-height:180px}.front-notes-or{text-align:center;color:#5c4400;margin:0;font-weight:800}.front-notes-pick{cursor:pointer;gap:10px}.front-notes-pick:focus-within{outline:3px solid var(--brand);outline-offset:3px}.front-notes-files{gap:8px;margin:0;padding:0;list-style:none;display:grid}.front-notes-files li{background:#fff;border-radius:14px;align-items:center;gap:10px;padding:8px 8px 8px 14px;font-weight:700;display:flex}.front-notes-files li span{overflow-wrap:anywhere;flex:1;min-width:0}.front-notes-go.btn{width:100%}.front-notes-privacy{color:#5c4400;font-size:.9rem;line-height:1.45}.front-notes-privacy a{color:inherit;font-weight:800}@media (width<=1180px){.front-stage{grid-template-columns:repeat(2,minmax(0,1fr));place-items:center;gap:24px 16px;height:auto;display:grid}.front-map{grid-column:1/-1;margin-top:20px;position:relative;top:0}.front-exam-card,.front-streak-chip,.front-mini-card{position:relative;top:auto;left:auto;right:auto}.front-exam-card{justify-self:end;width:min(100%,240px)}.front-streak-chip{justify-self:start}.front-mini-card{grid-column:1/-1;width:min(100%,320px)}.study-panda{width:150px;top:-40px;right:0}.front-plan-copy h2{padding-right:140px}}@media (width<=960px){.front-hero,.front-split{grid-template-columns:minmax(0,1fr)}.front-split{gap:40px}.front-split>.front-copy{order:-1}.front-kinds{grid-template-columns:repeat(2,minmax(0,1fr))}.front-bamboo{width:140px;margin-right:0}.front-subjects{grid-template-columns:repeat(4,minmax(0,1fr))}.front-trust,.front-subject-list{grid-template-columns:repeat(2,minmax(0,1fr))}.front-hide-sm{display:none!important}}@media (width<=640px){.front-wrap{padding-left:16px;padding-right:16px}.front-hero{padding-top:40px;padding-bottom:64px}.front-band,.front-split-plan{padding-top:64px;padding-bottom:64px}.front-trust-section{padding-top:64px}.front-actions{align-self:stretch}.front-actions .btn{white-space:normal;width:100%}.front-notes-demo{flex-direction:column;align-items:stretch;gap:16px;min-height:0}.front-paper{width:auto;margin:0 12px;position:relative;top:0;transform:rotate(-2deg)}.front-notes-arrow{display:none}.front-question{width:auto;margin:0}.front-exam-card,.front-streak-chip{display:none}.front-mini-card{justify-self:end;width:min(88%,300px);margin-top:-84px}.front-week:not(.front-week-now){display:none}.front-kinds,.front-trust{grid-template-columns:minmax(0,1fr)}.study-panda{display:none}.front-kinds-head{display:block;position:relative}.front-kinds-head h2{padding-right:128px}.front-bamboo{width:96px;position:absolute;top:-12px;right:40px}.front-plan-copy h2{padding-right:0}.front-subjects{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:12px}.front-subjects-section{padding-bottom:64px}.front-subjects .front-subject-notes>a{display:none}.front-subjects-section .front-subjects-intro{gap:12px;margin-bottom:24px;display:flex}.front-notes-card{background:#fff7dc;border:2px solid #ffe08a;border-radius:24px;flex-direction:column;gap:18px;padding:20px;display:flex}.front-notes-card-head{align-items:center;gap:14px;display:flex}.front-notes-card h3{font-size:1.25rem;font-weight:700;line-height:1.15}.front-notes-card p{color:var(--ink-soft);margin-top:4px;font-size:.95rem;font-weight:600;line-height:1.35}.front-subjects-divider{color:var(--ink-soft);grid-column:1/-1;align-items:center;gap:14px;margin:16px 0 4px;font-size:.95rem;font-weight:800;display:flex}.front-subjects-divider:before,.front-subjects-divider:after{content:"";background:var(--line);border-radius:1px;flex:1;height:2px}.front-subjects>li:not(.front-subject-notes)>a,.front-subjects>li>button{border:2px solid var(--line);background:var(--surface);height:100%;box-shadow:0 4px 0 var(--line);border-radius:22px;gap:12px;padding:20px 10px 18px}.front-subjects .category-badge{--badge-size:52px!important}.front-subjects .category-badge .louie-icon{width:30px;height:30px}.front-plan-row{padding:12px}.front-final-section{padding:72px 0}.front-final{gap:18px}.front-final>img{width:150px}.front-final h2{font-size:1.75rem}.front-daily{margin-bottom:72px;padding:22px 20px}.front-daily-go,.front-daily-go .btn{width:100%}.front-own{padding:20px}.front-own-ways,.front-subject-list{grid-template-columns:minmax(0,1fr)}}:root[data-theme=dark] .front-page,:root[data-theme=dark] .front-band-white,:root[data-theme=dark] .front-band-purple,:root[data-theme=dark] .front-subjects-section,:root[data-theme=dark] .front-final-section{background:var(--bg)}:root[data-theme=dark] .front-match{box-shadow:0 10px 0 var(--bg-deep), 0 30px 60px #0a063259}:root[data-theme=dark] .front-footer{background:var(--bg);box-shadow:inset 0 1px 0 var(--line)}:root[data-theme=dark] .front-card,:root[data-theme=dark] .front-mini-card,:root[data-theme=dark] .front-question{box-shadow:0 0 0 2px var(--line), 0 8px 0 var(--line)}:root[data-theme=dark] .front-map{box-shadow:0 0 0 2px var(--line), 0 10px 0 var(--line)}:root[data-theme=dark] .front-exam-card,:root[data-theme=dark] .front-streak-chip{box-shadow:0 0 0 2px var(--line), 0 6px 0 var(--line)}:root[data-theme=dark] .front-hero h1 span,:root[data-theme=dark] .front-eyebrow{color:var(--brand-text)}:root[data-theme=dark] .front-btn-outline.btn{border-color:#554c9e}:root[data-theme=dark] .front-btn-warm.btn{--btn-edge:#6b5a2e;border-color:#8a7432}:root[data-theme=dark] .front-stop-locked{color:var(--brand-text);box-shadow:0 6px #2a2462}:root[data-theme=dark] .front-stop-label{color:#1f1a4d}:root[data-theme=dark] .front-surprise{background:var(--tint-info)}:root[data-theme=dark] .front-paper-title{color:#4434c4}:root[data-theme=dark] .front-chip{color:#ffa3c9;background:#4a2347}:root[data-theme=dark] .front-kind-blue{--kind-bg:var(--tint-info);--kind-ink:#a9c9ee}:root[data-theme=dark] .front-kind-space{--kind-bg:#29244f;--kind-icon:#0c0a21}:root[data-theme=dark] .front-kind-green{--kind-ink:#a6dcb9}:root[data-theme=dark] .front-kind-gold{--kind-bg:var(--tint-gold);--kind-ink:var(--tint-gold-ink)}:root[data-theme=dark] .front-kind-night{--kind-bg:#3a2c33;--kind-ink:#f2c9a0}:root[data-theme=dark] .front-crowns span{background:var(--surface-3)}:root[data-theme=dark] .front-player+.front-player{border-top-color:var(--line)}:root[data-theme=dark] .front-subjects .front-subject-notes>a,:root[data-theme=dark] .front-notes-card,:root[data-theme=dark] .front-daily{background:var(--tint-gold);border-color:#6b5a2e}:root[data-theme=dark] .front-own{background:var(--tint-gold);box-shadow:0 8px #6b5a2e}:root[data-theme=dark] .front-daily-text p,:root[data-theme=dark] .front-daily-go span,:root[data-theme=dark] .front-own-head p,:root[data-theme=dark] .front-own-note{color:var(--tint-gold-ink)}:root[data-theme=dark] .front-subject-card{border-color:var(--line);box-shadow:0 5px 0 var(--line)}:root[data-theme=dark] .front-subject-card:hover{border-color:#5a52a0}.trail-reward,.drill-coins{align-items:center;gap:4px;display:inline-flex}button.bamboo-pill:active{transform:translateY(2px);box-shadow:0 1px #a8d98a}.trail-week{gap:inherit;flex-direction:column;padding-top:6px;display:flex}.trail-week-banner{border-left:4px solid var(--course,var(--brand));min-height:28px;color:var(--on-dark);align-items:center;gap:10px;padding:0 0 0 12px;display:flex}.trail-week-title{flex-wrap:wrap;align-items:baseline;gap:0 10px;min-width:0;display:flex}.trail-week-banner h2{overflow-wrap:anywhere;font-size:1.15rem;line-height:1.2}.trail-week-eyebrow{letter-spacing:.06em;text-transform:uppercase;color:var(--on-dark-soft);font-size:.72rem;font-weight:800}.trail-week-rule{background:color-mix(in srgb, var(--on-dark) 22%, transparent);border-radius:1px;flex:1 1 0;min-width:12px;height:2px}@media (width<=560px){.trail-week-rule{visibility:hidden}}.trail-week-banner .btn-small{flex:none;min-height:28px;padding:2px 11px;font-size:.84rem}.trail-week-banner .icon-btn{border-radius:9px;flex:none;width:28px;height:28px;font-size:.95rem}.trail-week.is-complete .trail-week-eyebrow{color:var(--on-dark-gold)}:root[data-theme=dark] .trail-week.is-complete .trail-week-eyebrow{color:#ffd54a}.trail-week-note{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.trail-focus{border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-card);flex-wrap:wrap;align-items:center;gap:10px 14px;padding:12px 16px;display:flex}.trail-focus.is-on{border-left:6px solid var(--brand)}.trail-focus.is-suggested{border-left:6px solid #ffc93c}.trail-focus-text{flex-direction:column;flex:240px;gap:2px;display:flex}.trail-focus-text .small{color:var(--ink-soft)}.trails-intro{color:var(--on-dark-soft);max-width:62ch}.trails-intro a{color:var(--on-dark);font-weight:800}.trails-heading{color:var(--on-dark);font-size:1.3rem}.trail-deck.is-archived{opacity:.82}.trails-removed{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.trails-removed li{border-radius:var(--radius);color:var(--on-dark);background:#ffffff1f;justify-content:space-between;align-items:center;gap:12px;padding:10px 14px;display:flex}.trail-progress{background:#ffffff2e;border-radius:999px;flex:140px;height:14px;overflow:hidden}.trail-progress.light{background:var(--surface-3);flex:none;width:100%}.trail-progress-fill{border-radius:inherit;background:linear-gradient(90deg, var(--gold), #ffe08a);height:100%;transition:width .4s}.trail-screen.has-side{max-width:720px}.trail-main{--trail-gap:24px;gap:var(--trail-gap);flex-direction:column;min-width:0;display:flex}@media (width<=959.98px){.trail-main{--trail-gap:19px}}.trail-side{display:none}@media (width>=1200px){.trail-screen.has-side{grid-template-columns:minmax(0,1fr) clamp(330px,26vw,370px);align-items:start;gap:28px;max-width:1120px;display:grid}.trail-side{overflow-anchor:none;align-self:stretch;display:block}.trail-side-panel{z-index:26;flex-direction:column;gap:16px;display:flex;position:sticky;top:16px}.has-side .trail-overview,.has-side .trail-focus,.has-side .trail-main>.topbar{display:none}}.trail-side-pills .stat-btns{flex-wrap:nowrap;gap:8px}.trail-side-pills .stat-btn,.trail-side-pills .stat-btn:hover,.trail-side-pills .stat-btn.is-open,.trail-side-pills .stat-btn:active{background:var(--pill-bg);min-height:48px;box-shadow:none;white-space:nowrap;border-radius:14px;flex:1 1 0;justify-content:center;gap:8px;padding:6px 10px;transform:none}.trail-side-pills .stat-btn:hover,.trail-side-pills .stat-btn.is-open{box-shadow:inset 0 0 0 1.5px color-mix(in srgb, var(--pill-ink) 45%, transparent)}.trail-side-pills .stat-btn.is-hearts{--pill-bg:#fde6ee;--pill-ink:var(--stat-hearts)}.trail-side-pills .stat-btn.is-bamboo{--pill-bg:var(--tint-bamboo);--pill-ink:var(--stat-bamboo)}.trail-side-pills .stat-btn.is-lit{--pill-bg:#ffeedc;--pill-ink:var(--stat-lit)}.trail-side-pills .stat-btn.is-cold{--pill-bg:var(--surface-2);--pill-ink:var(--stat-off)}.trail-side-pills .stat-btn.stat-btn strong{font-family:var(--font-body);font-variant-numeric:tabular-nums;text-shadow:none;font-size:1.05rem;font-weight:700}.trail-side-pills .stat-btn .art-icon{width:22px;height:22px}.trail-side-card.trail-side-current{gap:0}.trail-side-eyebrow{color:var(--ink-soft);font-family:var(--font-body);letter-spacing:.06em;text-transform:uppercase;margin:0 0 12px;font-size:.78rem;font-weight:600}.trail-side-card .trail-switch{flex:none}.trail-side-head{width:calc(100% + 16px);color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:14px;align-items:center;gap:14px;margin:-8px;padding:8px;transition:background .12s;display:flex}.trail-side-head:hover,.trail-side-head.is-open{background:var(--surface-2)}.course-tile.trail-side-tile{border-radius:12px;flex:none;width:52px;height:52px;margin:0}.trail-side-title{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.trail-side-title strong{font-family:var(--font-display);letter-spacing:var(--tracking-display);text-overflow:ellipsis;white-space:nowrap;font-size:1.15rem;font-weight:650;overflow:hidden}.trail-side-title span{color:var(--ink-soft);font-size:.9rem}.trail-side-chevron{color:var(--ink-soft);flex:none;transition:transform .15s}.trail-side-head.is-open .trail-side-chevron{transform:rotate(180deg)}.trail-side-progress,.trail-side-facts{border-top:1px solid var(--line);flex-direction:column;margin:18px 0 0;padding:18px 0 0;display:flex}.trail-side-progress{gap:12px}.trail-side-facts{gap:10px}.trail-side-line{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.trail-side-progress .trail-side-line>strong{font-weight:600}.trail-side-percent{color:#a86f00;font-family:var(--font-display);letter-spacing:var(--tracking-display);font-size:1.4rem;font-weight:700;line-height:1}.trail-side-meter{background:var(--surface-3);border-radius:999px;height:10px;display:block;overflow:hidden}.trail-side-meter span{border-radius:inherit;background:var(--gold);height:100%;transition:width .4s;display:block}.trail-side-foot{color:var(--ink-soft);justify-content:space-between;gap:8px;font-size:.88rem;display:flex}.trail-side-facts dt{min-width:0;color:var(--ink-soft);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.trail-side-facts dd{color:var(--ink-soft);flex:none;margin:0;font-weight:600}.trail-side-grade{font-family:var(--font-display);font-size:1.35rem;font-weight:700;line-height:1}.trail-side-ungraded{font-size:.88rem}.trail-side-wallet{justify-content:center;align-items:center;min-height:50px;display:flex}.trail-side-wallet .stat-btns{flex-wrap:nowrap;gap:6px}.trail-side-wallet .stat-btn,.trail-side-wallet .stat-btn:hover,.trail-side-wallet .stat-btn.is-open,.trail-side-wallet .stat-btn:active{min-height:44px;box-shadow:none;background:0 0;border-radius:12px;gap:8px;padding:4px 12px;transform:none}.trail-side-wallet .stat-btn:hover,.trail-side-wallet .stat-btn.is-open{background:#ffffff1a}.trail-side-wallet .stat-btn.stat-btn strong{font-family:var(--font-body);color:var(--on-dark);text-shadow:none;font-size:1.12rem;font-weight:800}.trail-side-wallet .stat-btn .art-icon{width:24px;height:24px}.trail-side-card{border-radius:18px;gap:14px;padding:18px}.trail-side-h .louie-icon{color:var(--brand-text);flex:none}.trail-side-h-row{justify-content:space-between;align-items:center;gap:10px;display:flex}.trail-side-h{align-items:center;gap:10px;font-size:1.15rem;display:flex}.trail-side-link{color:var(--ink-soft);align-items:center;gap:4px;font-size:.9rem;font-weight:700;text-decoration:none;display:inline-flex}.trail-side-link:hover{color:var(--ink)}.trail-side-note{color:var(--ink-soft);font-size:.88rem;line-height:1.4}.trail-side-when{color:var(--ink-soft);font-size:.88rem}.trail-quests{flex-direction:column;gap:18px;margin:0;padding:0;list-style:none;display:flex}.trail-quests li{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;display:grid}.trail-quest-icon{background:var(--tint-brand);width:44px;height:44px;color:var(--brand-text);border-radius:10px;place-items:center;display:grid}.trail-quest-icon.is-xp{background:var(--tint-gold);color:#d99500}.trail-quest-icon.is-strong{background:var(--tint-bamboo);color:var(--tint-bamboo-ink)}.trail-quests li.is-done .trail-quest-icon{background:var(--good);color:#fff}.trail-quest-body{flex-direction:column;gap:5px;min-width:0;display:flex}.trail-quest-text{font-size:.95rem;line-height:1.25}.trail-quest-bar{background:var(--surface-3);border-radius:999px;height:6px;display:block;overflow:hidden}.trail-quest-bar span{border-radius:inherit;background:linear-gradient(90deg,#6a4cf0,#b5a2ff);height:100%;transition:width .4s;display:block}.trail-quests li.is-done .trail-quest-bar span{background:var(--good)}.trail-quest-count{color:var(--ink-soft);font-variant-numeric:tabular-nums;font-size:.85rem;line-height:1.2}.trail-quests li.is-done .trail-quest-count{color:var(--good-text);font-weight:700}.trail-quest-reward{color:var(--tint-bamboo-ink);font-variant-numeric:tabular-nums;white-space:nowrap;align-items:center;gap:4px;font-size:.95rem;font-weight:600;display:inline-flex}.trail-quest-reward .art-icon{width:16px;height:16px}.trail-side-me{background:var(--tint-brand);border-radius:12px;align-items:center;gap:12px;padding:10px 14px;display:flex}.trail-side-rank{color:#a86f00;font-variant-numeric:tabular-nums;text-align:center;min-width:1em;font-weight:800}.trail-side-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-weight:500;overflow:hidden}.trail-side-xp{color:var(--ink);font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:700}.trail-overview{color:var(--on-dark);flex-wrap:wrap;align-items:center;gap:10px;font-weight:700;display:flex}.trail-section{--topic-edge:color-mix(in srgb, var(--topic) 62%, #000);flex-direction:column;display:flex}.trail-section.is-locked{--topic:#a9a4cf;--topic-edge:#7f7aab}.trail-banner{background:var(--surface);color:var(--ink);box-shadow:var(--shadow-card), inset 0 -3px 0 var(--topic);border-radius:18px;align-items:center;gap:16px;padding:16px 20px 18px;display:flex}.trail-banner-icon{background:color-mix(in srgb, var(--topic) 20%, transparent);width:54px;height:54px;box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--topic) 45%, transparent);border-radius:15px;flex:none;place-items:center;font-size:1.75rem;display:grid}.trail-banner-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.trail-banner h2{overflow-wrap:anywhere;font-size:1.35rem}.trail-banner .small{color:var(--ink-soft)}.trail-banner-eyebrow{color:color-mix(in srgb, var(--topic) 70%, var(--ink));letter-spacing:.06em;text-transform:uppercase;font-size:.78rem;font-weight:800}.trail-section.is-locked .trail-banner{opacity:.85}.course-tile.trail-banner-tile{border-radius:14px;flex:none;width:52px;height:52px;margin:0}.trail-banner.is-phone h2{font-size:1.2rem}.trail-banner-crown{color:#d9a514;flex:none;align-self:center;display:grid}.trail-stuck{top:var(--stuck-top,16px);z-index:20;height:0;margin-bottom:calc(-1 * var(--trail-gap,24px));position:sticky}.trail-stuck-card{background:var(--bg);border-radius:18px;position:absolute;top:0;left:0;right:0}.trail-stuck-card .trail-banner-icon,.trail-stuck-card .trail-banner-text{animation:.16s ease-out trail-stuck-in}@media (width>=1200px){.has-side .trail-card{scroll-margin-top:var(--stuck-below,140px)}}@keyframes trail-stuck-in{0%{opacity:0;transform:translateY(4px)}}.trail-path{flex-direction:column;align-items:center;gap:22px;margin:0;padding:44px 0 28px;list-style:none;display:flex}.trail-step{flex-direction:column;align-items:center;width:100%;display:flex;position:relative}.trail-node{background:var(--topic);color:#fff;width:76px;height:72px;transform:translateX(var(--x));box-shadow:0 7px 0 var(--topic-edge), inset 0 -5px 0 #0000001a;border:0;border-radius:50%;place-items:center;padding:0;font-size:2rem;line-height:1;transition:transform 80ms,box-shadow 80ms;display:grid;position:relative}.trail-node:active{transform:translateX(var(--x)) translateY(5px);box-shadow:0 2px 0 var(--topic-edge), inset 0 -5px 0 #0000001a}.trail-node.is-selected{outline-offset:4px;outline:4px solid #fff}.trail-node.is-locked{color:#8f8bb5;background:#dcd8f2;font-size:1.5rem;box-shadow:0 7px #bdb8e0}.trail-node.is-skipped{background:color-mix(in srgb, var(--topic) 45%, #fff);box-shadow:0 7px 0 color-mix(in srgb, var(--topic) 60%, #000);font-size:1.6rem}.trail-node.is-game{box-shadow:0 7px 0 var(--topic-edge), inset 0 -5px 0 #0000001a, 0 0 0 5px #ffc93c}.trail-node.is-game.is-locked{font-size:1.9rem;box-shadow:0 7px #bdb8e0,0 0 0 5px #efe3b0}.trail-node.is-game.is-locked>span{filter:grayscale(.7)opacity(.65)}.trail-node.is-milestone{width:90px;height:86px;font-size:2.5rem}.trail-node.is-current:after{content:"";border:4px solid color-mix(in srgb, var(--topic) 55%, #fff);pointer-events:none;border-radius:50%;animation:1.6s ease-out infinite trail-ring;position:absolute;inset:-9px}.trail-node.kind-wheel .mini-wheel{filter:none}.trail-node.kind-chest{width:92px;height:84px;box-shadow:none;background:0 0;border-radius:24px}.trail-node.kind-chest:after{border-radius:24px}.trail-node.kind-chest.is-locked .chest{filter:grayscale()opacity(.55)}.trail-node.kind-chest.is-current .chest{animation:2.4s ease-in-out infinite trail-wiggle}.trail-check{background:var(--gold);color:#4a3200;width:28px;height:28px;box-shadow:0 2px 0 var(--gold-dark);border-radius:50%;place-items:center;font-size:.95rem;font-weight:900;display:grid;position:absolute;top:-4px;right:-4px}.trail-start{color:var(--topic-edge);font-family:var(--font-display);letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;background:#fff;border-radius:12px;padding:5px 12px;font-size:.85rem;font-weight:600;animation:1.4s ease-in-out infinite trail-bob;position:absolute;bottom:calc(100% + 14px);left:50%;translate:-50%;box-shadow:0 3px #00000026}.trail-start:after{content:"";border:7px solid #0000;border-top-color:#fff;margin-left:-7px;position:absolute;top:100%;left:50%}.trail-mascot{top:-24px;left:clamp(48px, calc(50% + var(--mx) - 10px), calc(100% - 48px));pointer-events:none;width:120px;height:120px;animation:2.2s ease-in-out infinite trail-bob;position:absolute;transform:translate(-50%)}.trail-card{border-radius:var(--radius);border-top:6px solid var(--topic);background:var(--surface);width:min(340px,100%);box-shadow:var(--shadow-card);flex-direction:column;gap:8px;margin-top:18px;padding:16px 18px;scroll-margin:16px 0 24px;animation:.18s trail-pop;display:flex}@media (width<=1199.98px){.trail-card{scroll-margin-top:var(--stuck-below,100px)}}@media (width<=959.98px){.trail-card{scroll-margin-bottom:calc(104px + env(safe-area-inset-bottom))}}.trail-card h3{font-size:1.2rem}.trail-card-status{color:var(--ink-soft);font-weight:700}.trail-card-note{background:var(--surface-2);color:var(--brand-text);border-radius:10px;padding:6px 10px;font-weight:700}.trail-card-chest-row{justify-content:center}.trail-card.is-game{border-top-color:#ffc93c}.trail-card-tag{color:#8a5a00;background:#fff3c4;border-radius:999px;align-self:flex-start;padding:3px 10px;font-size:.8rem;font-weight:800}.trail-finish{align-self:center;gap:12px}.chest{display:block;overflow:visible}.chest-lid{transform-origin:6px 29px;transition:transform .3s}.chest.open .chest-lid{transform:translate(-3px,-13px)rotate(-14deg)}.chest-reveal{gap:14px;max-width:420px;margin-block:auto}.chest-reveal .chest-lid{animation:.7s cubic-bezier(.3,1.5,.5,1) .15s both chest-open}.chest-reveal .chest-coins{animation:.6s ease-out .45s both chest-coins}.drill-screen .stage{align-items:flex-start;min-height:min(580px,100svh - 150px)}@media (width<=640px){.drill-screen .stage{flex:1 0 auto;min-height:0}.drill-screen.is-quiz .stage{padding-top:var(--quiz-top,clamp(16px, 10svh, 88px))}.drill-screen.is-quiz .drill-bar{margin-top:clamp(12px,3.5svh,36px)}}.drill-bar{gap:14px}.drill-progress{flex:1;gap:6px;display:flex}.drill-progress span{background:#fff3;border-radius:999px;flex:1;height:14px;transition:background .2s}.drill-progress span.is-right{background:var(--good)}.drill-progress span.is-wrong{background:var(--bad)}.drill-progress span.is-now{background:var(--gold)}.drill-note{color:var(--on-dark-soft);text-align:center;font-weight:700}.panda-cheer{flex-direction:column;align-items:center;gap:6px;width:100%;padding-top:24px;animation:.22s ease-out trail-pop;display:flex}.panda-cheer-bubble{border:2px solid var(--line);background:var(--surface);max-width:min(320px,100%);color:var(--ink);font-family:var(--font-display);text-align:center;border-radius:18px;margin:0;padding:14px 20px;font-size:1.2rem;font-weight:700;line-height:1.3;position:relative}.panda-cheer-bubble:before{content:"";border-bottom:2px solid var(--line);border-left:2px solid var(--line);background:inherit;width:16px;height:16px;position:absolute;bottom:-10px;left:calc(50% - 8px);transform:rotate(-45deg)}.drill-results{gap:10px}.drill-score{font-family:var(--font-display);color:var(--topic);font-size:4.2rem;font-weight:600;line-height:1}.drill-score small{color:var(--ink-faint);font-size:1.6rem}.drill-coins{color:#6b4500;font-family:var(--font-display);background:#fff3c4;border-radius:999px;padding:6px 16px;font-size:1.2rem}.drill-bamboo{background:var(--tint-bamboo);color:var(--tint-bamboo-ink);font-family:var(--font-display);border-radius:999px;padding:6px 16px;font-size:1.1rem;text-decoration:none}.drill-trophy{color:#7a4d00;background:#fff3c4}.drill-result-note{color:var(--ink-soft);font-weight:700}.shop-owned{gap:4px;display:flex}@keyframes trail-ring{0%{opacity:.9;transform:scale(.92)}to{opacity:0;transform:scale(1.22)}}@keyframes trail-bob{50%{translate:0 -5px}}.trail-start{animation-name:trail-start-bob}@keyframes trail-start-bob{0%,to{translate:-50%}50%{translate:-50% -5px}}@keyframes trail-wiggle{0%,80%,to{transform:rotate(0)}85%{transform:rotate(-6deg)}90%{transform:rotate(6deg)}95%{transform:rotate(-3deg)}}@keyframes trail-pop{0%{opacity:0;transform:translateY(-6px)scale(.97)}}@keyframes chest-open{0%{transform:none}}@keyframes chest-coins{0%{opacity:0;transform:translateY(14px)}}.trail-course-card{border-top:6px solid var(--course,var(--brand))}.trail-course-head{align-items:center;gap:12px;display:flex}.trail-course-head h3{font-size:1.3rem}.trail-course-next{color:var(--ink);margin:0}.trail-course-summary{border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-card);flex-wrap:wrap;align-items:center;gap:10px 16px;padding:14px 16px;display:flex}.trail-course-summary .trail-progress{flex:100%}.trail-course-link{margin-left:auto;font-weight:800}.trail-deck.is-next{box-shadow:0 0 0 4px var(--gold), var(--shadow-card)}.trail-main>.topbar{z-index:25;border-radius:0 0 var(--radius) var(--radius);background:color-mix(in srgb, var(--bg-deep) 82%, transparent);-webkit-backdrop-filter:blur(10px);margin:-10px -16px 0;padding:10px 16px;position:sticky;top:0}.trail-overview-decks{display:none}@media (width<=560px){.trail-topbar-name,.trail-topbar-decks{display:none}.trail-overview-decks{display:inline}.trail-main>.topbar .topbar-sub{text-overflow:ellipsis;white-space:nowrap;font-size:.85rem;overflow:hidden}.trail-main>.topbar h1 .course-icon{vertical-align:-6px;border-radius:9px;width:30px;height:30px;font-size:1.05rem}}.trail-switch{flex:none;position:relative}.trail-switch-btn{min-height:44px;color:var(--on-dark);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:12px;align-items:center;gap:8px;padding:4px 12px 4px 8px;font-weight:800;display:inline-flex}.trail-switch-btn:hover,.trail-switch-btn.is-open{background:#ffffff1a}.trail-switch-btn:active{transform:translateY(1px)}.trail-switch-deck-icon,.trail-switch .trail-switch-btn .course-icon{width:auto;height:auto;box-shadow:none;background:0 0;place-items:center;font-size:1.4rem;display:inline-grid}.trail-switch-chevron{color:var(--on-dark-soft);font-size:.85rem}@media (width<=560px){.trail-switch-label{display:none}}.trail-switch-caret,.trail-switch-panel{z-index:40;background:var(--surface);border:2px solid var(--line);position:absolute;top:calc(100% + 12px)}.trail-switch-caret{z-index:41;border-bottom:0;border-right:0;border-radius:4px 0 0;width:18px;height:18px;margin-top:-9px;left:50%;transform:translate(-50%)rotate(45deg)}.trail-switch-panel{border-radius:var(--radius);width:min(360px,100vw - 32px);max-height:min(560px,75vh);box-shadow:var(--shadow-card);color:var(--ink);flex-direction:column;animation:.14s ease-out trail-switch-pop;display:flex;right:0;overflow:hidden}@keyframes trail-switch-pop{0%{opacity:0;transform:translateY(-6px)}}@media (prefers-reduced-motion:reduce){.trail-switch-panel{animation:none}}.trail-switch-scroll{overscroll-behavior:contain;overflow-y:auto}.trail-switch-panel ul{margin:0;padding:0;list-style:none}.trail-switch-head{color:var(--ink-faint);font-family:var(--font-body);letter-spacing:.08em;text-transform:uppercase;margin:0;padding:14px 18px 8px;font-size:.8rem;font-weight:800}.trail-switch-row{min-width:0;color:var(--ink);flex:1;align-items:center;gap:12px;padding:10px 18px;text-decoration:none;display:flex}.trail-switch-row:hover{background:var(--surface-2)}.trail-switch-row.is-current,.trail-switch-course.is-current{background:var(--surface-3)}.trail-switch-row.is-current strong,.trail-switch-course.is-current strong{color:var(--brand-text)}.trail-switch-text{flex-direction:column;min-width:0;display:flex}.trail-switch-text strong{text-overflow:ellipsis;white-space:nowrap;font-family:var(--font-display);font-size:1.05rem;font-weight:600;overflow:hidden}.trail-switch-text .small{color:var(--ink-soft)}.trail-switch-course{align-items:stretch;display:flex}.trail-switch-expand{width:48px;color:var(--ink-soft);cursor:pointer;background:0 0;border:0;flex:none;font-size:1.2rem}.trail-switch-expand:hover{background:var(--surface-2)}.trail-switch-decks{border-left:3px solid var(--line);margin:0 0 6px 34px!important}.trail-switch-decks .trail-switch-row{padding:7px 14px}.trail-switch-decks .trail-switch-text strong{font-size:.95rem}.trail-switch-box{border:2px solid var(--line);border-radius:10px;flex:none;place-items:center;width:34px;height:34px;font-size:1.05rem;display:inline-grid}.trail-switch-empty{color:var(--ink-soft);margin:0;padding:14px 18px}.trail-switch-foot{border-top:2px solid var(--line);padding:4px 0}button.trail-switch-row{width:100%;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0}.trail-switch-box .louie-icon{color:var(--ink-soft)}.trail-switch-row.is-danger,.trail-switch-row.is-danger .louie-icon{color:var(--bad-text)}.trail-card-hearts{color:#b3134f;margin:0;font-weight:700}.trail-card-hearts.is-out{color:var(--ink-soft)}.trail-m-top{gap:10px}.trail-m-switch{min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:12px;flex:1;align-items:center;gap:12px;padding:0;display:flex}.course-tile.trail-m-icon{border-radius:12px;flex:none;width:48px;height:48px;margin:0}.trail-m-names{flex-direction:column;gap:2px;min-width:0;display:flex}.trail-m-name{align-items:center;gap:6px;min-width:0;display:flex}.trail-m-name h1{text-overflow:ellipsis;white-space:nowrap;flex:0 auto;margin:0;font-size:1.3rem;overflow:hidden}.trail-m-name .louie-icon{color:var(--on-dark-soft);flex:none;transition:transform .15s}.trail-m-name .louie-icon.is-open{transform:rotate(180deg)}.trail-m-names>.small{color:var(--on-dark-soft)}.trail-m-wallet{flex:none;gap:6px}.trail-m-wallet .wallet-pill{box-shadow:none;padding:9px 13px;font-size:1.02rem}.trail-m-panel{z-index:30;border-radius:var(--radius);background:var(--surface);max-height:min(70vh,520px);color:var(--ink);box-shadow:var(--shadow-card), 0 16px 40px #140a5a40;padding:14px 16px 6px;position:absolute;top:calc(100% + 6px);left:16px;right:16px;overflow-y:auto}.trail-m-panel-head{color:var(--ink-soft);font-family:var(--font-body);letter-spacing:.06em;text-transform:uppercase;margin:0 0 2px;font-size:.78rem;font-weight:700}.trail-m-list{margin:0;padding:0;list-style:none}.trail-m-row{width:100%;color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:12px;padding:10px 0;text-decoration:none;display:flex}.trail-m-row>.louie-icon:first-child{color:var(--ink-soft);flex:none}.trail-m-row-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.trail-m-row-text strong{overflow-wrap:anywhere;font-weight:650}.trail-m-row-text .small{color:var(--ink-soft)}.trail-m-row-text~.louie-icon{color:var(--ink-faint);flex:none}.trail-m-row.is-current .trail-m-row-text~.louie-icon{color:var(--brand-text)}.trail-m-row.is-danger,.trail-m-row.is-danger>.louie-icon:first-child{color:var(--bad-text)}.trail-m-links{border-top:1px solid var(--line);margin-top:6px;padding-top:4px}.trail-m-none{color:var(--ink-soft);margin:6px 0}.trail-m-progress{border-radius:var(--radius);gap:10px;padding:16px 18px}.trail-m-progress-top{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.trail-m-progress-top strong{font-size:1.08rem}.trail-m-percent{color:#a86f00;font-family:var(--font-display);font-size:1.15rem;font-weight:700}.trail-m-bar{background:var(--surface-3);border-radius:999px;height:10px;display:block;overflow:hidden}.trail-m-bar>span{border-radius:inherit;background:var(--gold);height:100%;display:block}.trail-m-progress-foot{color:var(--ink-soft);justify-content:space-between;gap:8px;display:flex}.trail-m-focus{border-radius:var(--radius);flex-direction:row;align-items:center;gap:14px;padding:14px 16px}.trail-m-focus.is-exam{box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--gold) 45%, transparent), var(--shadow-card)}.trail-m-focus-icon{background:var(--tint-brand);width:48px;height:48px;color:var(--brand-text);border-radius:12px;flex:none;place-items:center;display:grid}.trail-m-focus.is-exam .trail-m-focus-icon{background:var(--tint-gold);color:var(--tint-gold-ink)}.trail-m-focus-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.trail-m-focus-text strong{font-size:1.02rem}.trail-m-focus-text .small{color:var(--ink-soft)}.trail-m-focus .btn{flex:none;gap:6px}.trail-m-mode{flex-direction:column;gap:8px;display:flex}.trail-m-modes{border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-card);grid-template-columns:1fr 1fr;gap:4px;padding:4px;display:grid}.trail-m-modes button{min-height:52px;color:var(--ink-soft);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:12px;justify-content:center;align-items:center;gap:8px;font-size:1rem;font-weight:600;display:inline-flex}.trail-m-modes button[aria-pressed=true]{background:var(--tint-brand);color:var(--ink)}.trail-m-modes button[aria-pressed=true] .louie-icon{color:var(--brand-text)}.trail-m-mode p{color:var(--on-dark-soft);text-align:center;margin:0}:root[data-theme=dark] .trail-m-percent{color:var(--gold)}:root[data-theme=dark] .trail-m-modes{background:var(--glass)}:root[data-theme=dark] .trail-m-modes button[aria-pressed=true]{background:#3a3070}:root[data-theme=dark] .trail-banner-crown{color:var(--gold)}:root[data-theme=dark] .trail-m-panel{background:var(--surface-2);box-shadow:var(--shadow-card), 0 16px 40px #0000008c}:root[data-theme=dark] .trail-section.is-locked{--topic-edge:var(--line)}:root[data-theme=dark] .trail-node.is-locked:not(.kind-chest){background:var(--line);color:var(--ink-faint);box-shadow:0 7px 0 var(--surface-2)}:root[data-theme=dark] .trail-node.is-game.is-locked{box-shadow:0 7px 0 var(--surface-2), 0 0 0 5px #8c7838}:root[data-theme=dark] .trail-node.is-game.is-locked>span{filter:grayscale(.6)opacity(.8)}:root[data-theme=dark] .trail-node.is-skipped{background:color-mix(in srgb, var(--topic) 50%, var(--surface))}:root[data-theme=dark] .trail-card-tag,:root[data-theme=dark] .drill-coins,:root[data-theme=dark] .drill-trophy{background:var(--tint-gold);color:var(--tint-gold-ink)}:root[data-theme=dark] .trail-card-hearts{color:#ff9cc0}:root[data-theme=dark] .trail-card-hearts.is-out{color:var(--ink-soft)}:root[data-theme=dark] .trail-main>.topbar{box-shadow:0 2px 0 var(--line)}:root[data-theme=dark] .trail-switch-panel{box-shadow:0 14px 34px #00000080}:root[data-theme=dark] .trail-banner{background:var(--glass)}:root[data-theme=dark] .trail-side-meter,:root[data-theme=dark] .trail-quest-bar{background:#ffffff1a}:root[data-theme=dark] .trail-quest-icon.is-xp{color:#ffc93c}:root[data-theme=dark] .trail-side-pills .stat-btn.is-hearts{--pill-bg:#45202f}:root[data-theme=dark] .trail-side-pills .stat-btn.is-bamboo{--pill-bg:#213d2a}:root[data-theme=dark] .trail-side-pills .stat-btn.is-lit{--pill-bg:#3d2d2c}:root[data-theme=dark] .trail-side-pills .stat-btn.is-cold{--pill-bg:var(--surface-2)}:root[data-theme=dark] .trail-side-percent{color:var(--gold)}:root[data-theme=dark] .trail-side-me{background:#3a3070}:root[data-theme=dark] .trail-side-rank{color:var(--gold)}.games-section{gap:14px;margin-top:28px}.games-select{display:block;position:relative}.games-select-icon{pointer-events:none;font-size:1.5rem;line-height:1;position:absolute;top:50%;left:14px;translate:0 -50%}.games-select-icon .art-icon{width:2rem;height:2rem;display:block}.games-select .select{font-family:var(--font-display);padding-left:54px;font-weight:600}.games-thumb{aspect-ratio:1;border-radius:16px;flex:none;place-items:center;width:clamp(76px,24vw,96px);font-size:clamp(2.4rem,11vw,3.1rem);line-height:1;display:grid;overflow:hidden}.games-thumb .art-icon{width:70%;height:70%}.games-thumb>svg{width:100%;height:100%;display:block}.games-thumb .mini-wheel svg{display:block}.games-thumb.is-wheel{background:radial-gradient(circle at 30% 20%,#ffd8f0,#0000 60%),linear-gradient(135deg,#7b6cf6,#4a3bd0);padding:8px}.games-thumb.is-rapids{background:linear-gradient(#8fd6ff 0%,#2f8fea 100%)}.games-thumb.is-blast{background:radial-gradient(circle at 70% 25%,#8e5bd9,#0000 55%),linear-gradient(160deg,#2a2088,#120c4a)}.games-thumb.is-adventure{background:linear-gradient(#bdf0a6 0%,#33b84a 100%)}.games-thumb.is-sneak{background:linear-gradient(#ecc48d 0%,#dcab70 100%)}.games-thumb.is-match{background:linear-gradient(#ff9f6b 0%,#e8508a 100%)}.games-footnote{color:var(--on-dark-soft);text-align:center;justify-content:center;align-items:center;gap:8px;margin:4px 0 0;font-size:.92rem;display:flex}.games-footnote .coin{width:1.4rem;height:1.4rem}.weak-games-topics{flex-wrap:wrap;gap:8px;display:flex}.weak-games-topic{background:var(--surface-2);min-height:38px;color:var(--ink);cursor:pointer;border:0;border-radius:999px;align-items:center;gap:6px;padding:6px 14px;font-weight:700;display:inline-flex}.weak-games-topic:hover{background:var(--surface-3)}.weak-games-topic[aria-pressed=true]{background:var(--tint-brand);box-shadow:inset 0 0 0 2px var(--brand);color:var(--brand-text)}.weak-games-list{grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:10px;margin:0;padding:0;list-style:none;display:grid}.weak-game{border-radius:var(--radius);background:var(--surface-2);height:100%;color:var(--ink);text-align:center;flex-direction:column;align-items:center;gap:6px;padding:12px 10px 14px;text-decoration:none;transition:transform .12s;display:flex}.weak-game:hover{background:var(--surface-3);transform:translateY(-2px)}.weak-game .games-thumb{width:72px;font-size:2.2rem}.weak-game strong{font-family:var(--font-display);font-size:1rem;line-height:1.2}.weak-game .small{line-height:1.3}@media (width<=559.98px){.segmented.opponent-modes{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;width:100%;display:grid}.opponent-modes button{text-align:center;flex-direction:column;align-items:center;gap:2px;padding:7px 4px;font-size:.82rem;line-height:1.15;display:flex}.opponent-modes button span{font-size:1.15rem}}.opponent-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;display:grid}.opponent{border:3px solid var(--line);background:var(--surface);text-align:center;border-radius:20px;flex-direction:column;align-items:center;gap:6px;padding:14px 10px;display:flex}.opponent.selected{border-color:var(--player);background:color-mix(in srgb, var(--player) 14%, white)}.invite-panel{gap:18px}.invite-players{flex-wrap:wrap;justify-content:center;gap:18px;display:flex}.invite-player{flex-direction:column;align-items:center;gap:4px;display:flex}.invite-state{background:var(--surface-3);color:var(--ink-soft);border-radius:999px;padding:2px 10px;font-size:.78rem;font-weight:800}.invite-state.accepted,.invite-state.host{color:var(--good-text);background:#e3f9ea}.invite-state.declined{color:var(--bad-text);background:#ffeaea}.invite-seat{border:3px dashed var(--line);width:56px;height:56px;color:var(--ink-soft);border-radius:50%;place-items:center;font-size:1.6rem;font-weight:800;display:grid}.invite-link-card{flex-direction:column;gap:12px;width:100%;max-width:460px;margin-inline:auto;display:flex}.invite-link-card h2,.invite-link-card p{text-align:center;margin:0}.invite-link-url{text-align:center;width:100%;font-size:.92rem}.invite-link-notice{color:var(--good-text);font-weight:700}.invite-lobby-actions{flex-wrap:wrap;justify-content:center}.join-card{text-align:center;flex-direction:column;align-items:center;gap:14px;margin-top:clamp(12px,6vh,56px);padding-block:28px;display:flex}.join-card h1{letter-spacing:var(--tracking-display);overflow-wrap:anywhere;margin:0;font-size:clamp(1.5rem,6vw,1.9rem)}.join-card p{max-width:34em;margin:0}.join-card .btn-block{max-width:380px}.join-art{color:var(--brand-text);align-items:center;gap:10px;font-size:2rem;display:flex}.join-art img:last-child{transform:scaleX(-1)}.join-topics{flex-wrap:wrap;justify-content:center;gap:8px;margin:0;padding:0;list-style:none;display:flex}.join-topic{border:2px solid color-mix(in srgb, var(--topic) 55%, transparent);background:color-mix(in srgb, var(--topic) 12%, var(--surface));border-radius:999px;padding:5px 12px;font-size:.92rem;font-weight:700}.join-actions{flex-wrap:wrap;justify-content:center}.play-start-link{color:var(--brand-text);align-self:flex-start;font-weight:700;text-decoration:none}.play-start-link:hover{text-decoration:underline}.toast{z-index:60;background:var(--ink);color:#fff;max-width:calc(100% - 32px);box-shadow:var(--shadow-card);cursor:pointer;border-radius:14px;padding:12px 18px;font-weight:700;position:fixed;bottom:24px;left:50%;transform:translate(-50%)}.seg-link{color:var(--ink-soft);border-radius:10px;padding:8px 14px;font-weight:800;text-decoration:none}.seg-link[aria-current=true]{background:var(--surface);color:var(--brand-text);box-shadow:0 2px 6px #281e7826}.quick-match-card{background:var(--tint-gold);border-radius:18px;align-items:center;gap:14px;padding:14px 16px;display:flex}.quick-match-icon{background:var(--gold);width:52px;height:52px;box-shadow:inset 0 -3px 0 var(--gold-dark);border-radius:16px;flex:none;place-items:center;font-size:1.6rem;display:grid}.play-screen{gap:28px}.play-section-head{color:var(--on-dark);margin:0;scroll-margin-top:20px;font-size:clamp(1.4rem,4vw,1.9rem)}.play-loading{color:var(--on-dark-soft);margin:0}.play-head h2{font-size:30px}@media (width<=520px){.play-head h2{font-size:1.4rem}}:root[data-theme=dark] .games-section .play-head h2{text-shadow:0 2px 10px #140a4673,0 1px 3px #140a4659}.play-head p{color:var(--on-dark-soft);font-family:var(--font-display);margin:4px 0 0;font-size:17px;font-weight:600}.screen.play-d{gap:24px;max-width:1080px}.play-d-head h1{color:var(--on-dark);letter-spacing:-.025em;margin:0;font-size:2.3rem}.play-d-head p{color:var(--on-dark-soft);margin:4px 0 0;font-size:1.1rem}.play-d-main,.play-d-side,.play-d-side-body{flex-direction:column;gap:16px;min-width:0;display:flex}.play-d-side-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.play-d-side-head h2{color:var(--on-dark);margin:0;font-size:1.6rem}.play-d-turns{background:var(--tint-gold);color:var(--tint-gold-ink);white-space:nowrap;border-radius:999px;padding:6px 14px;font-size:.88rem;font-weight:650}@media (width>=1024px){.screen.play-d{grid-template-rows:auto 1fr;grid-template-columns:minmax(0,1fr) 340px;gap:28px 0;display:grid}.play-d-head,.play-d-main{grid-column:1;padding-right:28px}.play-d-main{grid-row:2}.play-d-side{grid-area:1/2/span 2;grid-template-rows:subgrid;display:grid}.play-d-side-head{align-self:center;padding-left:28px}.play-d-side-body{border-left:1px solid var(--line);padding-left:28px}}.play-d-row{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.play-d-row h2,.play-d-row h3{margin:0}.play-d .games-section{gap:24px;margin-top:0}.play-d-material{gap:14px;padding:18px 20px 20px}.play-d-material h2{font-size:1.08rem}.play-d-pickers{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;display:grid}.play-d-select{display:block;position:relative}.play-d-pickers .select{appearance:none;text-overflow:ellipsis;width:100%;padding-right:48px;font-weight:600}.play-d-select .louie-icon{color:var(--ink-soft);pointer-events:none;position:absolute;top:50%;right:18px;translate:0 -50%}.play-d-room{gap:14px}.play-d-room .play-d-row h2,.play-d-side-body .play-d-row h3{color:var(--on-dark);font-size:1.45rem}.play-d-room .play-d-row .small,.play-d-side-body .play-d-row .small{color:var(--on-dark-soft)}.play-d-games{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px;margin:0;padding:0;list-style:none;display:grid}.play-d-game{border-radius:var(--radius);background:var(--surface);height:100%;box-shadow:var(--shadow-card);color:var(--ink);grid-template:"cover cover""name play""line line"1fr/minmax(0,1fr) auto;align-items:center;gap:4px 10px;padding:8px 8px 16px;text-decoration:none;transition:transform .12s;display:grid}a.play-d-game:hover{transform:translateY(-3px)}.play-d-game.is-off{opacity:.55}.play-d-cover{aspect-ratio:1.75;background:color-mix(in srgb, var(--game) 16%, var(--surface));border-radius:14px;grid-area:cover;place-items:center;margin-bottom:8px;display:grid}.play-d-cover .games-thumb{border-radius:16px;width:47%;font-size:2.6rem}.play-d-game-text{display:contents}.play-d-game-text strong{min-width:0;font-family:var(--font-display);grid-area:name;padding-left:8px;font-size:1.08rem;font-weight:650;line-height:1.25}.play-d-game-text .small{grid-area:line;align-self:start;padding-left:8px;line-height:1.35}.play-d-game .play-m-play{grid-area:play;width:36px;height:36px;margin:0 4px 0 0}.play-d-start{gap:14px;padding:20px}.play-d-start h3{margin:0;font-size:1.25rem}.play-d-start p{color:var(--ink-soft);margin:-8px 0 0}.play-d-start-btns{grid-template-columns:1fr 1fr;gap:10px;margin-top:4px;display:grid}.play-d-start-btns .btn{white-space:nowrap;justify-content:center;min-height:50px;padding-inline:8px;font-size:1rem}.play-d-link{color:var(--brand-text);justify-content:center;align-items:center;gap:2px;font-size:.92rem;font-weight:650;text-decoration:none;display:inline-flex}.play-d-link:hover{text-decoration:underline}.play-d-side-body .play-d-row{margin-top:8px}.play-d-tabs{background:var(--surface);box-shadow:var(--shadow-card);border-radius:14px;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin-top:-4px;padding:4px;display:grid}.play-d-tabs button{min-height:40px;color:var(--ink-soft);font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:10px;padding:6px 4px;font-size:.9rem;font-weight:600}.play-d-tabs button[aria-selected=true]{background:var(--tint-brand);color:var(--ink)}.play-d-tab-count{font-variant-numeric:tabular-nums;opacity:.75;margin-left:4px}.play-d .play-m-score strong{font-size:1.9rem}.play-screen.play-m{gap:16px}.play-m-head{color:var(--on-dark);flex-direction:column;gap:4px;margin-top:clamp(20px,6vw,32px);display:flex}.play-m-title{justify-content:space-between;align-items:center;gap:12px;display:flex}.play-m-title h1{margin:0;font-size:clamp(1.6rem,6.4vw,1.9rem)}.play-m-head p{color:var(--on-dark-soft);margin:0}.play-m-modes{background:var(--surface);box-shadow:var(--shadow-card);border-radius:16px;grid-template-columns:1fr 1fr;gap:4px;padding:4px;display:grid}.play-m-modes button{min-height:48px;color:var(--ink-soft);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:12px;justify-content:center;align-items:center;gap:8px;font-size:1rem;font-weight:650;display:inline-flex}.play-m-modes button[aria-selected=true]{background:var(--tint-brand);color:var(--ink)}.play-m-badge{background:var(--gold);color:#4a3200;border-radius:999px;place-items:center;min-width:22px;height:22px;padding:0 6px;font-size:.8rem;font-weight:800;display:inline-grid}.play-m-panel{gap:14px}.play-m-material{gap:12px;padding:14px}.play-m-material-row{align-items:center;gap:12px;display:flex}.play-m-material .course-tile{flex:none;width:44px;height:44px;margin:0}.play-m-material-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.play-m-material-text strong{font-family:var(--font-display);overflow-wrap:anywhere;font-size:1.1rem;font-weight:650}.play-m-change{flex:none;gap:4px}.play-m-change .louie-icon.is-open{transform:rotate(180deg)}.play-m-pickers{gap:10px;display:grid}.play-m-games{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none;display:grid}.play-m-game{border-radius:var(--radius);background:var(--surface);height:100%;box-shadow:var(--shadow-card);color:var(--ink);grid-template-rows:auto 1fr;grid-template-columns:minmax(0,1fr) auto;text-decoration:none;display:grid;overflow:hidden}.play-m-game.is-off{opacity:.55}.games-thumb.play-m-cover{aspect-ratio:1.45;border-radius:0;grid-column:1/-1;width:100%;font-size:3rem}.games-thumb.play-m-cover.is-wheel{padding:12px}.play-m-game-text{flex-direction:column;gap:2px;min-width:0;padding:10px 6px 12px 12px;display:flex}.play-m-game-text strong{font-family:var(--font-display);font-size:.98rem;font-weight:650}.play-m-game-text .muted{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.play-m-play{background:var(--gold);color:#4a3200;border-radius:50%;place-items:center;width:30px;height:30px;margin:10px 10px 0 0;display:grid}.play-m-start{gap:14px;padding:18px}.play-m-start-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.play-m-start-head h2{margin:0;font-size:1.2rem}.play-m-start-head p{color:var(--ink-soft);margin:4px 0 0}.play-m-start-art{background:var(--tint-brand);width:46px;height:46px;color:var(--gold);border-radius:50%;flex:none;place-items:center;display:grid}.play-m-start-btns{grid-template-columns:1fr 1fr;gap:10px;display:grid}.play-m-start-btns .btn{white-space:normal;border-radius:16px;flex-direction:column;gap:4px;min-height:96px;padding:12px 8px}.play-m-start-btns .btn strong{font-size:1.05rem}.play-m-start-btns .btn .small{opacity:.85;font-weight:600}.play-m-challenge{--btn-bg:linear-gradient(180deg, #483db0 0%, #362d8f 100%);--btn-edge:#2b1f8f;--btn-ink:#fff}.play-m-link{color:var(--ink-soft);justify-content:center;align-items:center;gap:6px;font-weight:600;text-decoration:none;display:inline-flex}.play-m-link:hover{color:var(--ink);text-decoration:underline}.play-m-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:-6px;display:grid}.play-m-tabs button{background:var(--on-dark-fill);min-height:38px;color:var(--on-dark-soft);font:inherit;white-space:nowrap;cursor:pointer;border:0;border-radius:10px;padding:6px;font-size:.88rem;font-weight:600}.play-m-tabs button[aria-selected=true]{background:var(--tint-brand);color:var(--brand-text)}.play-m-empty{color:var(--on-dark-soft);margin:0}.play-m-matches{flex-direction:column;gap:12px;display:flex}.play-m-match{border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-card);flex-direction:column;gap:12px;padding:14px;display:flex}.play-m-match-top{justify-content:space-between;gap:10px;display:flex}.play-m-round{color:#a86f00;flex:none;font-weight:600}.play-m-vs{grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;display:grid}.play-m-side{text-align:center;flex-direction:column;align-items:center;gap:6px;min-width:0;display:flex}.play-m-side .small{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.play-m-side .play-m-title{margin-top:-4px;font-size:.76rem;font-weight:700}.play-m-score{flex-direction:column;align-items:center;gap:2px;display:flex}.play-m-score strong{font-family:var(--font-display);letter-spacing:.02em;font-size:1.6rem;font-weight:700}.play-m-note{text-align:center;margin:-4px 0 0}.play-m-go{gap:8px;min-height:48px;font-size:1rem}.play-m-discard{color:var(--ink-soft);font:inherit;cursor:pointer;background:0 0;border:0;align-self:center;margin-top:-4px;padding:4px 8px;font-weight:600}.play-m-discard:hover{color:var(--bad-text);text-decoration:underline}.play-m-buddies{border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-card);color:var(--ink);align-items:center;gap:12px;padding:14px;text-decoration:none;display:flex}.play-m-buddies .course-tile{--course:#8b72ff;flex:none;width:44px;height:44px;margin:0}.play-m-buddies-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}:root[data-theme=dark] .play-m-round{color:var(--tint-gold-ink)}:root[data-theme=dark] .play-d-game,:root[data-theme=dark] .play-d-tabs,:root[data-theme=dark] .play-d .play-m-match,:root[data-theme=dark] .play-d .play-m-buddies{background:var(--glass)}:root[data-theme=dark] .play-d-tabs button[aria-selected=true]{background:#3a3070}:root[data-theme=dark] .play-d-cover{background:color-mix(in srgb, var(--game) 30%, #17142f)}:root[data-theme=dark] .opponent.selected{background:color-mix(in srgb, var(--player) 24%, var(--surface))}:root[data-theme=dark] .invite-state.accepted,:root[data-theme=dark] .invite-state.host{background:var(--tint-good)}:root[data-theme=dark] .invite-state.declined{background:var(--tint-bad)}:root[data-theme=dark] .toast{background:var(--surface-3);color:var(--ink)}:root[data-theme=dark] .seg-link[aria-current=true]{background:var(--tint-brand);box-shadow:inset 0 0 0 2px var(--brand)}.settings-layout{align-items:start;gap:20px;display:grid}@media (width>=900px){.settings-layout{grid-template-columns:minmax(0,1.6fr) minmax(240px,1fr)}}.settings-card{gap:0}.settings-card h2,.settings-links h2,.help-section h2{margin:0 0 6px;font-size:1.3rem}.settings-row{border-top:2px solid var(--surface-2);align-items:center;gap:16px;padding:14px 0;display:flex}.settings-row-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.settings-row-text strong{font-family:var(--font-display);font-size:1.1rem;font-weight:600}.settings-row-text .small{color:var(--ink-soft)}.settings-theme-hint{color:var(--ink-soft);margin-bottom:14px}.theme-picker{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.theme-choice{border:3px solid var(--line);background:var(--surface);cursor:pointer;text-align:center;border-radius:16px;flex-direction:column;align-items:center;gap:8px;padding:10px 8px 12px;transition:border-color .12s;display:flex;position:relative}.theme-choice:hover{border-color:var(--surface-3)}.theme-choice:has(input:checked){border-color:var(--brand);background:var(--tint-brand)}.theme-choice:has(input:focus-visible){outline:3px solid var(--gold);outline-offset:2px}.theme-choice input{opacity:0;pointer-events:none;position:absolute}.theme-choice-name{font-family:var(--font-display);font-size:.98rem;font-weight:600;line-height:1.2}.theme-preview{aspect-ratio:4/3;background:#ebe7fb;border-radius:10px;width:100%;max-width:120px;display:block;position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px #ddd7f7}.theme-preview span{background:#fff;border-radius:8px 8px 0 0;position:absolute;inset:26% 16% 0;box-shadow:0 0 0 1px #ddd7f7}.theme-preview-dark{background:#0e0c24}.theme-preview-dark span{background:#0e0c24;box-shadow:inset 0 0 0 2px #413b7c}.theme-preview-system{background:linear-gradient(90deg,#ebe7fb 50%,#0e0c24 50%)}:root[data-theme=dark] .theme-preview-dark,:root[data-theme=dark] .theme-preview-system{box-shadow:inset 0 0 0 2px var(--line)}.theme-preview-system span{background:linear-gradient(90deg,#0000 50%,#413b7c 50%) top/100% 2px no-repeat,linear-gradient(90deg,#fff 50%,#0e0c24 50%);box-shadow:inset -2px 0 #413b7c}@media (width<=420px){.theme-picker{gap:6px}.theme-choice{padding:8px 4px 10px}.theme-choice-name{font-size:.88rem}}.settings-switch{background:var(--surface-3);cursor:pointer;border:0;border-radius:999px;flex:none;width:60px;height:34px;padding:0;transition:background .15s;position:relative;box-shadow:inset 0 -3px #00000014}.settings-switch span{background:#fff;border-radius:50%;width:26px;height:26px;transition:transform .15s;position:absolute;top:4px;left:4px;box-shadow:0 3px #140c5a2e}.settings-switch[aria-checked=true]{background:var(--good);box-shadow:inset 0 -3px 0 var(--good-dark)}.settings-switch[aria-checked=true] span{transform:translate(26px)}.settings-switch:disabled{cursor:default;opacity:.55}.settings-note{color:var(--on-dark-soft);margin:0}.settings-privacy-note{color:var(--ink-soft);margin:0}.settings-privacy-note a{color:var(--brand-text);font-weight:700}.settings-links{gap:2px}.settings-links a{color:var(--ink);font-family:var(--font-display);padding:8px 0;font-size:1.05rem;font-weight:600;text-decoration:none}.settings-links a:hover{color:var(--brand-text);text-decoration:underline}.settings-signout{width:100%}.help-intro{color:var(--on-dark-soft);margin:0}.help-intro a{color:#fff;font-weight:800}.help-section{gap:0;padding-bottom:8px}.help-item{border-top:2px solid var(--surface-2)}.help-item summary{cursor:pointer;align-items:center;gap:12px;padding:14px 0;font-weight:800;list-style:none;display:flex}.help-item summary::-webkit-details-marker{display:none}.help-item summary:after{content:"▾";color:var(--ink-faint);margin-left:auto;transition:transform .15s}.help-item[open] summary:after{transform:rotate(180deg)}.help-item summary:hover{color:var(--brand-text)}.help-answer{color:var(--ink-soft);flex-direction:column;align-items:flex-start;gap:10px;padding:0 0 16px;display:flex}.help-answer p{max-width:68ch;margin:0}:root[data-theme=dark] .settings-switch{background:color-mix(in srgb, var(--ink-faint) 70%, var(--surface))}:root[data-theme=dark] .settings-switch[aria-checked=true]{background:var(--good)}.legal-doc{gap:14px;line-height:1.6}.legal-doc p,.legal-doc ul{margin:0}.legal-doc ul{gap:8px;padding-left:1.25em;display:grid}.legal-doc a{color:var(--brand-text);font-weight:600}.legal-doc section{gap:10px;padding-top:8px;scroll-margin-top:16px;display:grid}.legal-doc h2{letter-spacing:var(--tracking-display);margin:0;font-size:1.15rem}p.legal-updated{color:var(--ink-faint);font-size:.9rem}.legal-contents{background:var(--surface-2);border-radius:12px;flex-wrap:wrap;gap:6px 14px;padding:12px 14px;display:flex}.legal-contents .link-btn{font-size:.9rem}.legal-other{color:var(--on-dark-soft);text-align:center;margin:4px 0 24px}.legal-other a{color:inherit;font-weight:700}.screen.class-phone{gap:16px}.class-p-head{color:var(--on-dark);flex-direction:column;gap:4px;margin-top:clamp(20px,6vw,32px);display:flex}.class-p-title{justify-content:space-between;align-items:center;gap:12px;display:flex}.class-p-title h1{margin:0;font-size:clamp(1.6rem,6.4vw,1.9rem)}.class-p-head p{color:var(--on-dark-soft);margin:0}.class-p-card{border-radius:var(--radius);gap:0;padding:14px 16px 16px}.class-p-top{align-items:center;gap:12px;display:flex}.course-tile.class-p-icon{--course:#5b8def;border-radius:12px;flex:none;width:48px;height:48px;margin:0}.class-p-name{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.class-p-pick{max-width:100%;color:var(--ink);border-radius:6px;align-self:flex-start;align-items:center;gap:6px;display:inline-flex;position:relative}.class-p-pick strong{font-family:var(--font-display);letter-spacing:var(--tracking-display);text-overflow:ellipsis;white-space:nowrap;font-size:1.2rem;font-weight:650;overflow:hidden}.class-p-pick .louie-icon{color:var(--ink-soft);flex:none}.class-p-pick select{opacity:0;cursor:pointer;width:100%;font-size:16px;position:absolute;inset:0}.class-p-pick:focus-within{outline:2px solid var(--brand);outline-offset:3px}.class-p-sub{color:var(--ink-soft);flex-wrap:wrap;align-items:center;gap:4px 10px;display:flex}.class-p-online{color:var(--good-text);align-items:center;gap:6px;display:inline-flex}.class-p-dot{background:var(--ink-faint);border-radius:50%;flex:none;width:8px;height:8px}.class-p-dot.is-on{background:var(--good)}.class-p-card .class-m-more,.class-p-deck .class-m-more{width:34px;height:34px;min-height:34px;color:var(--ink-soft);background:0 0;font-size:1.2rem}.class-p-card .class-m-menu{align-self:flex-start;margin:-4px -8px 0 0}.class-p-bottom{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;margin-top:14px;padding-top:14px;display:flex}.class-p-code{flex-direction:column;gap:2px;min-width:0;display:flex}.class-p-code-row{align-items:center;gap:4px;display:inline-flex}.class-p-code-row strong{color:color-mix(in srgb, var(--brand-text) 55%, var(--ink));font-family:var(--font-display);letter-spacing:.06em;font-size:1.35rem;font-weight:700}.class-p-code-row button{color:var(--ink-soft);cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;padding:6px;display:grid}.class-p-code-row button:hover{background:var(--surface-2);color:var(--ink)}.btn.class-p-invite{flex:none;min-height:48px;padding:8px 16px;font-size:.98rem}.class-p-tabs{border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-card);grid-template-columns:repeat(3,1fr);gap:4px;padding:4px;display:grid}.class-p-tabs button{min-height:58px;color:var(--ink-soft);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:4px;font-size:.85rem;font-weight:600;display:flex}.class-p-tabs button[aria-selected=true]{background:var(--tint-brand);color:var(--ink)}.class-p-panel{flex-direction:column;gap:12px;display:flex}.class-p-section{color:var(--on-dark);justify-content:space-between;align-items:center;gap:12px;margin-top:2px;display:flex}.class-p-section h2{margin:0;font-size:1.2rem}.class-p-section p{color:var(--on-dark-soft);margin:2px 0 0}.btn.class-p-share{flex:none;gap:6px}.class-p-loading{color:var(--on-dark-soft);margin:0}.class-p-empty{--class-art-glow:var(--tint-brand);--class-art-shadow:#1e145a1f;border-radius:var(--radius);text-align:center;align-items:center;gap:8px;padding:18px}.class-p-empty-art{width:150px;height:auto}.class-p-empty h3{margin:2px 0 0;font-size:1.15rem}.class-p-empty p{max-width:34ch;color:var(--ink-soft);text-wrap:pretty;margin:0}.btn.class-p-empty-btn{min-height:50px;margin-top:10px;font-size:1rem}.class-p-decks{flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;display:flex}.class-p-deck{border-radius:var(--radius);gap:10px;padding:14px}.class-p-deck-head{align-items:center;gap:12px;display:flex}.class-p-deck-head .course-tile{border-radius:12px;flex:none;width:48px;height:48px;margin:0}.class-p-deck-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.class-p-deck-text strong{font-family:var(--font-display);overflow-wrap:anywhere;font-size:1.08rem;font-weight:650}.class-p-deck-head .class-m-menu{align-self:flex-start;margin:-4px -6px 0 0}.class-p-deck-meta{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 12px;display:flex}.class-p-sharer{align-items:center;gap:8px;min-width:0;display:flex}.class-p-sharer .avatar{flex:none;width:24px;height:24px}.class-p-saved{color:var(--good-text);white-space:nowrap;align-items:center;gap:5px;font-weight:600;display:inline-flex}.class-p-deck-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.class-p-deck-actions.is-one{grid-template-columns:1fr}.class-p-deck-actions .btn{white-space:nowrap;gap:8px;min-height:46px;padding:8px 10px;font-size:.98rem}.overlay.class-p-share-overlay{align-items:center}.overlay-card.class-p-share-dialog{border-radius:var(--radius);gap:12px;max-width:480px;max-height:min(760px,100svh - 48px);padding:18px 18px 16px;overflow:hidden}.class-p-share-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.class-p-share-head h2{margin:0;font-size:1.25rem}.class-p-share-close{width:34px;height:34px;color:var(--ink-soft);cursor:pointer;background:0 0;border:0;border-radius:10px;place-items:center;margin-right:-6px;display:grid}.class-p-share-close:hover{background:var(--surface-2);color:var(--ink)}.class-p-share-sub,.class-p-share-none{margin:-6px 0 0}.class-p-share-search{display:block;position:relative}.class-p-share-search .louie-icon{color:var(--ink-soft);pointer-events:none;position:absolute;top:50%;left:14px;transform:translateY(-50%)}.class-p-share-search .input{border-radius:999px;width:100%;padding-left:42px}.class-p-share-list{flex:1;min-height:0;margin:0 -4px;padding:0 4px 2px;overflow-y:auto}.class-p-share-list ul{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.class-p-share-group{color:var(--ink-soft);font-family:var(--font-body);letter-spacing:.06em;text-transform:uppercase;margin:4px 0 8px;font-size:.75rem;font-weight:650}.class-p-share-list ul+.class-p-share-group{margin-top:16px}.class-p-pickrow{border:1.5px solid var(--line);background:var(--surface-2);cursor:pointer;border-radius:14px;align-items:center;gap:12px;padding:10px 12px;display:flex}.class-p-pickrow:has(input:checked){border-color:var(--brand);background:var(--tint-brand)}.class-p-pickrow:has(input:focus-visible){outline:2px solid var(--brand);outline-offset:2px}.class-p-pickrow.is-off{opacity:.5;cursor:default}.class-p-pickrow .course-tile{border-radius:10px;flex:none;width:40px;height:40px;margin:0}.class-p-check{border:2px solid var(--ink-faint);appearance:none;width:24px;height:24px;cursor:inherit;background:0 0;border-radius:7px;flex:none;place-items:center;margin:0;transition:background .12s,border-color .12s;display:grid}.class-p-check:checked{border-color:var(--brand);background:var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 16px no-repeat}.class-p-check:focus-visible{outline:none}.class-p-pickrow-done{color:var(--ink-soft);flex:none;display:grid}.class-p-share-foot{border-top:1px solid var(--line);flex-direction:column;gap:8px;padding-top:12px;display:flex}.class-p-share-foot p{margin:0}.class-p-share-lock{align-items:center;gap:6px;display:flex}.class-p-share-foot .btn{min-height:50px;margin-top:4px;font-size:1rem}.class-p-members{border-radius:var(--radius);gap:0;padding:2px 14px}.class-p-members ul{margin:0;padding:0;list-style:none}.class-p-member{align-items:center;gap:10px;padding:12px 0;display:flex}.class-p-member+.class-p-member{border-top:1px solid var(--line)}.class-p-who{min-width:0;color:inherit;flex:1;align-items:center;gap:12px;text-decoration:none;display:flex}.class-p-who .avatar{flex:none;width:46px;height:46px}.class-p-who-text{flex-direction:column;gap:3px;min-width:0;display:flex}.class-p-who-text strong{text-overflow:ellipsis;white-space:nowrap;font-size:1.02rem;overflow:hidden}.class-p-who-text strong .small{font-weight:500}.class-p-status{color:var(--ink-soft);align-items:center;gap:6px;display:inline-flex}.class-p-status:has(.is-on){color:var(--good-text)}.class-p-title{align-items:center;gap:4px;font-weight:700;display:inline-flex}.class-p-streak{color:#e8590c;flex:none;align-items:center;gap:4px;font-weight:700;display:inline-flex}.class-p-challenge{background:var(--tint-brand);min-height:36px;color:var(--brand-text);border-radius:10px;flex:none;align-items:center;gap:6px;padding:6px 12px;font-size:.9rem;font-weight:650;text-decoration:none;display:inline-flex}.class-p-go{color:var(--ink-faint);flex:none;place-items:center;margin-right:-4px;display:grid}.class-p-more{border:0;border-top:1px solid var(--line);width:100%;color:var(--brand-text);font:inherit;cursor:pointer;background:0 0;justify-content:center;align-items:center;gap:6px;padding:12px 0;font-weight:650;display:flex}.class-p-more .louie-icon.is-open{transform:rotate(180deg)}.class-p-none{margin:12px 0}.class-p-together{border-radius:var(--radius);flex-direction:row;align-items:center;gap:14px;padding:14px 16px}.class-p-together .class-m-together-art{background:var(--tint-brand);border-radius:999px;padding:4px 6px}.class-p-together-text{flex-direction:column;gap:3px;display:flex}.class-p-together-text strong{font-size:1.02rem}.class-p-copy-link{color:var(--brand-text);font:inherit;cursor:pointer;background:0 0;border:0;align-self:flex-start;align-items:center;gap:6px;margin-top:4px;padding:0;font-weight:650;display:inline-flex}.class-p-trophy,.class-p-crown{color:#d9a514;display:grid}.class-p-period{background:var(--surface);box-shadow:var(--shadow-card);border-radius:999px;align-self:flex-start;gap:4px;padding:3px;display:inline-flex}.class-p-period button{color:var(--ink-soft);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:999px;padding:6px 14px;font-size:.85rem;font-weight:650}.class-p-period button[aria-pressed=true]{background:var(--tint-brand);color:var(--ink)}.class-p-podium{border-radius:var(--radius);grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:8px;margin:0;padding:12px 12px 0;list-style:none;display:grid;overflow:hidden}.class-p-spot{--medal:#c9c6dc;--block:#ecebf4;--spot-ink:var(--ink-soft);text-align:center;flex-direction:column;align-items:center;gap:2px;min-width:0;display:flex}.class-p-spot.is-1{--medal:#e8b93c;--block:var(--tint-gold);--spot-ink:#a86f00}.class-p-spot.is-3{--medal:#c8906a;--block:#f6e5da;--spot-ink:#a0603a}.class-p-spot .class-p-crown{margin-bottom:2px}.class-p-spot-face{box-shadow:0 0 0 2.5px var(--medal);margin-bottom:6px}.class-p-spot .avatar-md.class-p-spot-face{width:46px;height:46px}.class-p-spot .avatar-lg.class-p-spot-face{width:60px;height:60px;box-shadow:0 0 0 3px var(--medal)}.class-p-spot strong{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:.95rem;font-weight:650;overflow:hidden}.class-p-spot-xp{color:var(--spot-ink);font-weight:650}.class-p-block{background:var(--block);width:100%;height:34px;color:var(--spot-ink);font-family:var(--font-display);border-radius:10px 10px 0 0;place-items:center;margin-top:6px;font-size:1.1rem;font-weight:700;display:grid}.class-p-spot.is-1 .class-p-block{height:50px}.class-p-spot.is-3 .class-p-block{height:26px}.class-p-standing{border-radius:var(--radius);gap:12px;padding:14px 16px}.class-p-standing-head{align-items:flex-start;gap:10px;display:flex}.class-p-standing-head>span:last-child{flex-direction:column;gap:2px;display:flex}.class-p-standing-head strong{font-size:1.02rem}.class-p-standing-stats{border-top:1px solid var(--line);text-align:center;grid-template-columns:1fr 1fr;margin:0;padding-top:12px;display:grid}.class-p-standing-stats>div{flex-direction:column-reverse;gap:2px;display:flex}.class-p-standing-stats dd{font-family:var(--font-display);margin:0;font-size:1.3rem;font-weight:700}.class-p-standing-stats .is-gold{color:#a86f00}.class-p-standing-stats .is-good{color:var(--good-text)}.class-p-standing-stats .is-brand{color:var(--brand-text)}.class-p-board{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.class-p-board li{background:var(--surface);box-shadow:var(--shadow-card);border-radius:14px;align-items:center;gap:12px;padding:10px 14px;display:flex}.class-p-board li.is-me{background:var(--tint-brand)}.class-p-board .avatar{flex:none;width:34px;height:34px}.class-p-board li strong{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:.98rem;font-weight:600;overflow:hidden}.class-p-rank{width:18px;color:var(--ink-soft);text-align:center;flex:none;font-weight:700}.class-p-xp{color:var(--ink-soft);flex:none;font-size:.95rem;font-weight:650}.class-p-rank.is-first,.class-p-xp.is-first{color:#a86f00}.class-p-alone{color:var(--on-dark-soft);margin:0}.class-p-board-name{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.class-p-board .class-p-board-name strong{flex:none}.class-p-leader{color:#a86f00;font-weight:600}.class-p-earn{color:var(--on-dark-soft);text-align:center;margin:4px 0 0}.screen.class-dk-screen{gap:24px;max-width:1120px}.class-dk{grid-template-columns:clamp(240px,27%,300px) minmax(0,1fr);grid-template-areas:"head head""side main";align-items:start;gap:20px 24px;display:grid}.class-dk-head{color:var(--on-dark);grid-area:head;justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.class-dk-head h1{letter-spacing:-.025em;margin:0;font-size:2.1rem}.class-dk-head p{color:var(--on-dark-soft);margin:4px 0 0;font-size:1.05rem}.class-dk-me{border-radius:50%;flex:none;display:grid}.class-dk-side{flex-direction:column;grid-area:side;gap:10px;min-width:0;display:flex}.class-dk-label{color:var(--on-dark-soft);justify-content:space-between;align-items:baseline;gap:8px;display:flex}.class-dk-label h2{color:inherit;font-family:var(--font-body);letter-spacing:.06em;text-transform:uppercase;margin:0;font-size:.8rem;font-weight:600}.class-dk-label span{font-size:.9rem;font-weight:600}.class-dk-list{flex-direction:column;gap:10px;max-height:480px;margin:-4px;padding:4px;display:flex;overflow-y:auto}.class-dk-class,.class-dk-add{border:1px solid var(--line);background:var(--surface);width:100%;color:var(--ink);font:inherit;text-align:left;cursor:pointer;align-items:center;transition:border-color .12s;display:flex}.class-dk-class{border-radius:14px;gap:12px;padding:12px}.class-dk-class:hover,.class-dk-add:hover,.class-dk-add[aria-expanded=true]{border-color:color-mix(in srgb, var(--brand) 45%, var(--line))}.class-dk-class.is-active{border-color:color-mix(in srgb, var(--brand) 55%, transparent);background:var(--tint-brand)}.class-dk-class>.louie-icon{color:var(--ink-soft);flex:none}.course-tile.class-dk-icon{border-radius:10px;flex:none;width:44px;height:44px;margin:0}.course-tile.class-dk-icon.is-big{border-radius:14px;width:64px;height:64px}.class-dk-class-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.class-dk-class-text strong{text-overflow:ellipsis;white-space:nowrap;font-size:1.02rem;font-weight:600;overflow:hidden}.class-dk-class-text .small{color:var(--ink-soft)}.class-dk-rule{border:0;border-top:1px solid var(--line);align-self:stretch;margin:10px 0}.class-dk-add{border-radius:12px;gap:12px;min-height:52px;padding:0 18px;font-size:1rem}.class-dk-add .louie-icon{color:var(--ink-soft);flex:none}.class-dk-together{color:var(--on-dark);text-align:center;flex-direction:column;align-items:center;gap:4px;margin-top:14px;display:flex}.class-dk-together strong{margin-top:6px;font-size:1.05rem;font-weight:600}.class-dk-together .small{color:var(--on-dark-soft)}.class-dk-together-art{justify-content:center;width:190px;height:140px;display:flex;position:relative}.class-dk-together-art:before{content:"";background:var(--tint-brand);border-radius:50%;width:120px;height:120px;position:absolute;top:14px;left:50%;translate:-50%}.class-dk-together-art img{width:78px;height:78px;margin-top:30px;position:relative}.class-dk-together-art img+img{margin-left:-14px;transform:scaleX(-1)}.class-dk-heart{fill:#b39cff;stroke:#fff;stroke-width:1.6px;position:absolute;bottom:8px;left:50%;translate:-50%}.class-dk-spark{fill:none;stroke:var(--gold);stroke-linecap:round;stroke-width:2.8px;position:absolute}.class-dk-spark.is-a{top:0;left:82px}.class-dk-spark.is-b{top:30px;right:8px}.class-dk-main{flex-direction:column;grid-area:main;gap:16px;min-width:0;display:flex}.class-dk-card{border-radius:var(--radius);gap:0;padding:20px 22px}.class-dk-card-top{align-items:center;gap:18px;display:flex}.class-dk-card-name{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex}.class-dk-card-name h2{overflow-wrap:anywhere;margin:0;font-size:1.75rem}.btn.class-dk-invite{flex:none;gap:8px;min-height:48px;padding:8px 18px}.class-dk-card .class-m-more{width:36px;height:36px;min-height:36px;color:var(--ink-soft);background:0 0;font-size:1.2rem}.class-dk-card-foot{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;margin-top:18px;padding-top:16px;display:flex}.class-dk-code{align-items:center;gap:10px;display:inline-flex}.class-dk-code strong{color:color-mix(in srgb, var(--brand-text) 55%, var(--ink));font-family:var(--font-display);letter-spacing:.06em;font-size:1.2rem;font-weight:700}.class-dk-code button{color:var(--ink-soft);cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;padding:6px;display:grid}.class-dk-code button:hover{background:var(--surface-2);color:var(--ink)}.class-dk-private{align-items:center;gap:6px;display:inline-flex}.class-dk-tabs button{flex-direction:row;gap:8px;min-height:54px;font-size:1rem}.class-dk-panel{gap:14px}.class-dk-panel .class-p-section h2{font-size:1.4rem}.class-dk-panel .class-p-decks{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px;display:grid}.class-dk-panel .class-p-deck{padding:18px}.class-dk-panel .class-p-empty{padding:28px 24px}.class-dk-panel .class-p-empty-art{width:190px}.class-dk-panel .btn.class-p-empty-btn{align-self:center;width:auto;padding-inline:26px}.class-dk-panel .class-p-members{padding:4px 20px}.class-dk-panel .class-p-member{padding-block:16px}.class-dk-panel .class-p-who .avatar{width:52px;height:52px}.class-dk-grow{border-radius:var(--radius);flex-direction:row;align-items:center;gap:16px;padding:16px 20px}.class-dk-grow .course-tile{--course:#8b72ff;border-radius:12px;flex:none;width:52px;height:52px;margin:0}.class-dk-grow-text{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.class-dk-grow-text strong{font-size:1.05rem}.class-dk-grow .class-p-copy-link{white-space:nowrap;align-self:center;margin-top:0}.class-dk-panel .class-p-board li{gap:16px;padding:14px 18px}.class-dk-panel .class-p-board .avatar{width:46px;height:46px}.class-dk-panel .class-p-rank{width:22px;font-size:1.1rem}.class-dk-panel .class-p-xp{font-size:1.05rem}:root[data-theme=dark] .class-p-empty{--class-art-shadow:#00000059}:root[data-theme=dark] .class-p-streak{color:#ff9d5c}:root[data-theme=dark] .class-p-trophy,:root[data-theme=dark] .class-p-crown{color:var(--gold)}:root[data-theme=dark] .class-p-rank.is-first,:root[data-theme=dark] .class-p-xp.is-first,:root[data-theme=dark] .class-p-standing-stats .is-gold,:root[data-theme=dark] .class-p-leader{color:var(--tint-gold-ink)}:root[data-theme=dark] .class-dk-class,:root[data-theme=dark] .class-dk-add{background:var(--glass)}:root[data-theme=dark] .class-dk-class.is-active{background:#3a3070;border-color:#6b5fc7}:root[data-theme=dark] .class-dk-together-art:before{background:#2a2450}:root[data-theme=dark] .class-p-tabs,:root[data-theme=dark] .class-p-period,:root[data-theme=dark] .class-p-board li:not(.is-me){background:var(--glass)}:root[data-theme=dark] .class-p-spot{--block:#3a3852}:root[data-theme=dark] .class-p-spot.is-1{--block:#54462c;--spot-ink:var(--tint-gold-ink)}:root[data-theme=dark] .class-p-spot.is-3{--block:#4a3a3e;--spot-ink:#d9a27c}.rematch{overflow:clip}.rematch-top{align-items:center;gap:12px;display:flex}.rematch-title{min-width:0;font-family:var(--font-display);letter-spacing:var(--tracking-display);margin:0;font-size:clamp(.95rem,4.1vw,1.08rem);font-weight:650;line-height:1.2}.rematch-left{color:var(--ink-soft);flex:none;margin-left:auto;font-size:.95rem}.rematch-topic{color:var(--ink-soft);font-size:.85rem;font-weight:600}.rematch-stack{max-width:720px;padding-bottom:14px;position:relative}.rematch-behind{background:var(--surface-2);box-shadow:inset 0 0 0 1px var(--line);transform-origin:bottom;border-radius:18px;position:absolute;inset:0 0 14px;transform:translateY(7px)scale(.96)}.rematch-behind.is-far{opacity:.7;transform:translateY(14px)scale(.92)}.rematch-card{z-index:1;border-top:5px solid var(--topic);background:var(--surface);box-shadow:0 0 0 1px var(--line), 0 8px 18px -10px #281e784d;border-radius:18px;flex-direction:column;gap:12px;padding:16px;animation:.22s ease-out rematch-forward;display:flex;position:relative}@keyframes rematch-forward{0%{transform:translateY(7px)scale(.96)}}.rematch-card.is-away{animation:.42s cubic-bezier(.5,0,.75,0) forwards rematch-away}@keyframes rematch-away{to{opacity:0;transform:translate(115%,-6%)rotate(14deg)}}.rematch-card.is-back{animation:.44s ease-in-out forwards rematch-back}@keyframes rematch-back{40%{transform:translate(-8%,4px)rotate(-5deg)}to{opacity:0;transform:translateY(14px)scale(.92)}}.rematch-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.rematch-prompt{font-size:1.05rem;font-weight:800;line-height:1.35}.rematch-choices{gap:8px;display:grid}.rematch-choice{background:var(--surface-2);width:100%;min-height:46px;box-shadow:inset 0 0 0 1.5px var(--line);color:var(--ink);text-align:left;border:0;border-radius:12px;align-items:center;gap:10px;padding:9px 12px;font-weight:650;transition:background .12s,transform 80ms;display:flex}.rematch-choice:hover:not([aria-disabled=true]){background:var(--surface-3)}.rematch-choice:active:not([aria-disabled=true]){transform:scale(.98)}.rematch-choice[aria-disabled=true]{cursor:default}.rematch-letter{background:var(--surface);width:26px;height:26px;box-shadow:inset 0 0 0 1px var(--line);color:var(--ink-soft);border-radius:8px;flex:none;place-items:center;font-size:.8rem;font-weight:800;display:grid}.rematch-choice.is-right{background:var(--tint-good);box-shadow:inset 0 0 0 2px var(--good);color:var(--good-text)}.rematch-choice.is-wrong{background:var(--tint-bad);box-shadow:inset 0 0 0 2px var(--bad);color:var(--bad-text)}.rematch-choice.is-out{opacity:.55}.rematch-result{flex-direction:column;align-items:flex-start;gap:8px;display:flex}.rematch-result:empty{margin-top:-12px}.rematch-note{font-weight:800}.rematch-note.is-right{color:var(--good-text)}.rematch-note.is-wrong{color:var(--bad-text)}.rematch-why{background:var(--tint-info);color:var(--info-text);border-radius:12px;padding:9px 12px;font-size:.95rem;font-weight:600}.rematch-back-btn{margin-top:2px}.rematch-done{text-align:center;flex-direction:column;align-items:center;gap:6px;padding:14px 8px 6px;display:flex}.rematch-done .btn{margin-top:6px}:root[data-theme=dark] .rematch-card{box-shadow:0 0 0 1px var(--line), 0 10px 22px -12px #000000b3}@media (width<=959.98px){.arcade{--arcade-fade:linear-gradient(180deg, #8c6eff1f 0%, #8c6eff00 100%);--arcade-fade-height:320px;isolation:isolate;position:relative}.arcade:before{content:"";z-index:-1;height:var(--arcade-fade-height);background:var(--arcade-fade);pointer-events:none;position:absolute;top:0;left:0;right:0}}.arcade{--arcade-edge:#6c5ce729;--arcade-lift:var(--shadow-card)}.arcade .card:not(.overlay-card){border-radius:var(--radius);box-shadow:var(--arcade-lift), inset 0 0 0 1px var(--arcade-edge)}.arcade .review-summary div{border-radius:12px}.arcade .crown-slot{border-radius:14px}.arcade .mini-board li{border-radius:12px}.arcade-phone-bar{--bar-pad:14px;top:calc(var(--bar-pad) + env(safe-area-inset-top,0px));z-index:20;margin:calc(var(--bar-pad) + env(safe-area-inset-top,0px) - 20px) -16px 0;align-items:center;gap:6px;padding:0 16px;display:flex;position:sticky}html:has(.arcade-phone-bar){overscroll-behavior-y:none}.arcade-phone-bar:before{content:"";top:calc(-1 * var(--bar-pad) - env(safe-area-inset-top,0px));bottom:calc(-1 * var(--bar-pad));z-index:-1;background:var(--arcade-fade), var(--page-backdrop);background-size:100% var(--arcade-fade-height), 100% 100vh, 100% 100vh, 100% 100vh;opacity:0;pointer-events:none;background-repeat:no-repeat;transition:opacity .16s ease-out;position:absolute;left:0;right:0;box-shadow:0 8px 20px -10px #4c3ab459}.arcade-phone-bar.is-stuck:before{opacity:1}.arcade-phone-bar-marker{pointer-events:none;width:1px;height:1px;position:absolute;top:0;left:0}.arcade-phone-bar .stat-btns{flex-wrap:nowrap;flex:1;justify-content:space-between;gap:2px;min-width:0}.arcade-phone-bar .stat-btn,.arcade-hero-more .more-phone-btn{min-height:48px;box-shadow:none;color:var(--on-dark);background:0 0;border:0;padding:6px 4px}.arcade-hero-more .more-phone-btn{color:var(--on-dark);padding:6px 10px;font-size:1.2rem}.arcade-phone-bar .stat-btn:active,.arcade-hero-more .more-phone-btn:active{box-shadow:none;transform:scale(.94)}.arcade-phone-bar .stat-course-icon{width:auto;height:auto;box-shadow:none;background:0 0}.arcade-phone-bar .stat-btn{gap:5px;padding-inline:2px}.arcade-phone-bar .stat-btn .stat-icon{place-items:center;font-size:clamp(1rem,5.1vw,1.5rem);line-height:1;display:grid}.arcade-phone-bar .stat-icon .art-icon{width:clamp(1.1rem,5.6vw,1.65rem);height:clamp(1.1rem,5.6vw,1.65rem)}.arcade-phone-bar .stat-icon .stat-course-icon{font-size:inherit}.arcade-phone-bar .stat-btn .stat-text{align-items:center;font-size:1rem;line-height:1.05;display:flex}.arcade-phone-bar .stat-btn strong{font-family:var(--font-body);letter-spacing:.01em;font-variant-numeric:tabular-nums;text-shadow:none;font-size:clamp(.85rem,4vw,1.15rem);font-weight:900}.arcade-phone-bar .stat-btn.is-course strong{color:var(--stat-course)}.arcade-phone-bar .stat-btn:hover,.arcade-phone-bar .stat-btn.is-open{background:0 0}.arcade-hero{color:var(--on-dark);align-items:flex-start;gap:10px;margin-top:clamp(14px,3vw,28px);display:flex}.arcade-hero-more{flex:none;order:1;margin-top:-6px}.arcade-player{flex:1 1 0;align-items:center;gap:12px;min-width:0;display:flex}.arcade-avatar{color:inherit;flex:none;text-decoration:none;position:relative}.arcade-avatar .avatar-lg{background:#fff;border-radius:18px;width:64px;height:64px;box-shadow:0 0 0 2px #a5a3b5,0 4px 12px #4c3ab429}.arcade-avatar .avatar-face{border-radius:inherit}.arcade-avatar .avatar-lg:not(.has-photo) .avatar-face{inset:5px}.arcade-me{flex:none;display:inline-flex;position:relative}.arcade-add-photo{bottom:-2px;right:-6px}.arcade-id{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.arcade-id h1{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:clamp(1.2rem,4.4vw,1.45rem);overflow:hidden}.arcade-greet{color:var(--on-dark-soft);font-size:.92rem;line-height:1.3}.arcade-xp{align-items:center;gap:10px;margin-top:6px;display:flex}.arcade-xp-track{background:#5b48d624;border-radius:999px;flex:1;height:8px;overflow:hidden}.arcade-xp-track span{border-radius:inherit;background:var(--gold);height:100%;transition:width .5s;display:block}.arcade-xp-text{color:var(--on-dark-soft);font-variant-numeric:tabular-nums;flex:none;font-size:.8rem;font-weight:700}.stat-btns{flex-wrap:wrap;gap:8px;display:flex;position:relative}.stat-btn{color:#fff;min-height:48px;font:inherit;cursor:pointer;background:#ffffff29;border:0;border-radius:16px;align-items:center;gap:8px;padding:6px 14px;font-weight:700;transition:background .12s,transform 80ms;display:inline-flex;box-shadow:inset 0 -4px #00000029}.stat-btn:hover,.stat-btn.is-open{background:#ffffff47}.stat-btn:active{transform:translateY(2px);box-shadow:inset 0 -2px #00000029}.stat-btn strong{font-family:var(--font-display);font-size:1.2rem}.stat-btn .art-icon{vertical-align:0;width:1.6rem;height:1.6rem}.stat-btn>span[aria-hidden]{font-size:1.4rem;line-height:1}.stat-btns{--stat-lit:#e8780c;--stat-bamboo:#3a9a1a;--stat-hearts:#e0245e;--stat-course:#1f86c9;--stat-off:var(--ink-faint)}:root[data-theme=dark] .stat-btns{--stat-lit:#ffb547;--stat-bamboo:#b9f5a0;--stat-hearts:#ffb3cc;--stat-course:#a8e4ff;--stat-off:#fff9}.stat-btn.is-lit strong{color:var(--stat-lit)}.stat-btn.is-cold .art-icon{filter:grayscale();opacity:.6}.stat-btn.is-cold strong{color:var(--stat-off)}.stat-btn.is-bamboo strong{color:var(--stat-bamboo)}.stat-btn.is-hearts strong{color:var(--stat-hearts)}.stat-btn.is-hearts.is-out strong{color:var(--stat-off)}.stat-course-icon{background:color-mix(in srgb, var(--course,#6c5ce7) 22%, white);width:2rem;height:2rem;box-shadow:inset 0 -3px 0 color-mix(in srgb, var(--course,#6c5ce7) 35%, white);border-radius:10px;flex:none;place-items:center;font-size:1.15rem;line-height:1;display:inline-grid}.stat-caret,.stat-panel{z-index:30;background:var(--surface);border:2px solid var(--line);position:absolute;top:calc(100% + 14px)}.stat-caret{z-index:31;border-bottom:0;border-right:0;border-radius:4px 0 0;width:18px;height:18px;margin-top:-9px;transform:translate(-50%)rotate(45deg)}.stat-panel{border-radius:var(--radius);width:min(380px,100vw - 32px);box-shadow:var(--shadow-card);color:var(--ink);animation:.14s ease-out stat-pop;right:0;overflow:hidden}@keyframes stat-pop{0%{opacity:0;transform:translateY(-6px)}}@media (prefers-reduced-motion:reduce){.stat-panel{animation:none}}@media (width<=720px){.stat-btns{width:100%}.stat-panel{width:auto;left:0}}@media (width<=480px){.stat-btns{flex-wrap:nowrap;justify-content:space-between;gap:6px}.stat-btn{gap:6px;padding:6px 10px}}.stat-panel h2{margin:0;font-size:1.35rem}.stat-panel p{margin:0}.stat-panel-btn{width:100%}.stat-courses-head{border-bottom:2px solid var(--line);color:var(--ink-faint);font-family:var(--font-body);letter-spacing:.08em;text-transform:uppercase;padding:14px 18px 10px;font-weight:800;font-size:.85rem!important}.stat-courses ul{max-height:290px;margin:0;padding:0;list-style:none;overflow-y:auto}.stat-courses ul a,.stat-courses-add{color:var(--ink);align-items:center;gap:14px;padding:12px 18px;text-decoration:none;display:flex}.stat-courses ul a:hover,.stat-courses-add:hover{background:var(--surface-2)}.stat-courses ul a.is-current{background:var(--surface-3)}.stat-courses ul a.is-current strong{color:var(--brand-text)}.stat-courses .stat-course-icon{width:2.5rem;height:2.5rem;font-size:1.4rem}.stat-course-text{flex-direction:column;min-width:0;display:flex}.stat-course-text strong{font-family:var(--font-display);font-size:1.1rem}.stat-course-text .small{text-overflow:ellipsis;white-space:nowrap;color:var(--ink-soft);overflow:hidden}.stat-course-grade{background:var(--grade-tint,var(--tint-brand));min-width:2.4rem;color:var(--grade,var(--brand-text));font-family:var(--font-display);text-align:center;border-radius:8px;flex:none;margin-left:auto;padding:3px 8px;font-weight:700}.stat-courses-empty{color:var(--ink-soft);padding:12px 18px}.stat-courses-add{border-top:2px solid var(--line)}.stat-add-box{border:2px solid var(--line);width:2.5rem;height:2.5rem;color:var(--ink-soft);border-radius:10px;place-items:center;font-size:1.2rem;display:inline-grid}.stat-streak{gap:14px;padding:18px;display:grid}.stat-streak-top{background:var(--surface-2);align-items:center;gap:12px;margin:-18px -18px 0;padding:20px 18px;display:flex}.stat-streak.is-lit .stat-streak-top{color:#fff;background:linear-gradient(135deg,#ffb547,#ff7a1a)}.stat-streak-top>div{flex:1;gap:6px;display:grid}.stat-streak.is-cold h2{color:var(--ink-soft)}.stat-streak.is-lit h2{text-shadow:0 2px #9632004d}.stat-streak-flame .art-icon{width:4.2rem;height:4.2rem}.stat-streak.is-cold .stat-streak-flame .art-icon{filter:grayscale();opacity:.45}.stat-streak-week{border-radius:var(--radius-sm);background:var(--surface-2);grid-template-columns:repeat(7,1fr);gap:4px;margin:0;padding:12px 10px;list-style:none;display:grid}.stat-streak-week li{justify-items:center;gap:6px;display:grid}.stat-day-letter{color:var(--ink-faint);font-size:.85rem;font-weight:800}.stat-streak-week .is-today .stat-day-letter{color:#ff7a1a}.stat-day-dot{background:var(--surface-3);border-radius:50%;place-items:center;width:34px;height:34px;font-size:1rem;display:grid}.stat-streak-week .is-today .stat-day-dot{box-shadow:0 0 0 3px #ffd3a8}.stat-streak-week .is-studied .stat-day-dot{background:#ffe1c2}.stat-streak-week .is-future .stat-day-dot{opacity:.5}.stat-streak-week .is-frozen .stat-day-dot{background:var(--tint-info);box-shadow:inset 0 0 0 2px #9fd2ff}.stat-streak-freeze{border-radius:var(--radius-sm);background:var(--tint-info);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 14px;display:grid}.stat-freeze-icon{font-size:1.7rem;line-height:1}.stat-freeze-text{gap:2px;display:grid}.stat-freeze-text .small{color:var(--ink-soft)}.stat-streak-freeze .stat-info-link{white-space:nowrap;margin-top:0}.stat-streak-freeze.is-repair{background:var(--tint-gold)}.stat-streak-freeze.is-repair .btn{gap:4px}.stat-streak-freeze.is-repair .btn .art-icon{width:1.2em;height:1.2em}.stat-streak-freeze.is-rescue{background:var(--tint-bamboo)}.stat-streak-freeze.is-rescue .stat-meter{height:8px;margin-top:6px}.stat-streak-goal{border:2px solid var(--line);border-radius:var(--radius-sm);gap:8px;padding:12px 14px;display:grid}.stat-goal-text{flex-wrap:wrap;justify-content:space-between;gap:4px 10px;display:flex}.stat-goal-text .small{color:var(--ink-soft)}.stat-meter{background:var(--surface-3);border-radius:6px;height:12px;overflow:hidden}.stat-meter span{background:linear-gradient(#ffb547,#ff7a1a);border-radius:6px;height:100%;display:block}.stat-info{align-items:center;gap:16px;padding:20px 18px;display:flex}.stat-info-art{flex:none;place-items:center;width:92px;display:grid}.stat-info-art .chest-lid{transform-origin:6px 29px;transform:translate(-3px,-13px)rotate(-14deg)}.stat-bamboo-art{font-size:4rem;line-height:1}.stat-info-text{gap:6px;min-width:0;display:grid}.stat-info-link{color:var(--info);letter-spacing:.06em;text-transform:uppercase;margin-top:4px;font-size:.9rem;font-weight:800;text-decoration:none}.stat-info-link:hover{text-decoration:underline}.stat-info-links{flex-wrap:wrap;gap:4px 16px;display:flex}.arcade-upload{border-radius:var(--radius);background:radial-gradient(circle at 100% 0%, var(--tint-brand), transparent 70%), var(--surface);box-shadow:var(--arcade-lift), inset 0 0 0 1px var(--arcade-edge);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px 12px;padding:13px clamp(14px,4.2vw,18px) 14px;display:grid}.arcade-upload-text{flex-direction:column;gap:2px;min-width:0;display:flex}.arcade-upload-text h2{font-size:clamp(1.05rem,4.4vw,1.2rem)}.arcade-upload-text p{color:var(--ink-soft);text-wrap:pretty;font-size:.86rem;line-height:1.35}.arcade-upload-art{width:clamp(40px,11vw,50px);height:clamp(40px,11vw,50px)}.arcade-upload.is-first{border-radius:var(--radius-lg);gap:14px 12px;padding:18px clamp(14px,4.4vw,20px)}.arcade-upload.is-first .arcade-upload-text{gap:4px}.arcade-upload.is-first .arcade-upload-text h2{font-size:clamp(1.3rem,5.6vw,1.6rem)}.arcade-upload.is-first .arcade-upload-text p{font-size:.98rem;line-height:1.4}.arcade-upload.is-first .arcade-upload-art{width:clamp(52px,15vw,68px);height:clamp(52px,15vw,68px)}.upload-art-back{fill:#d6ceff}.upload-art-page{fill:#fff;stroke:#c9c0fb;stroke-width:1.5px}.upload-art-lines{fill:none;stroke:#a597f2;stroke-width:3px;stroke-linecap:round}.upload-art-badge{fill:var(--brand);stroke:#fff;stroke-width:2.5px}.upload-art-plus{fill:none;stroke:#fff;stroke-width:3px;stroke-linecap:round}.arcade-upload-btn{width:100%;min-height:40px;box-shadow:0 4px 0 var(--btn-edge);border-radius:12px;grid-column:1/-1;padding-block:6px;font-size:.98rem}.arcade-upload.is-first .arcade-upload-btn{min-height:54px;box-shadow:0 7px 0 var(--btn-edge);border-radius:18px;padding-block:10px;font-size:1.15rem}.arcade-upload-btn:active{box-shadow:0 1px 0 var(--btn-edge)}.arcade-upload-alt{color:var(--brand-text);font-family:var(--font-display);cursor:pointer;background:0 0;border:0;grid-column:1/-1;justify-self:center;margin-top:-2px;padding:4px 8px;font-size:.95rem;font-weight:650;text-decoration:none}.arcade-upload-alt:hover{text-decoration:underline}.arcade-study{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.arcade-study-card{--study-tint:var(--tint-good);--study-edge:#22c55e38;--study-ink:var(--good-text);border-radius:var(--radius);background:var(--study-tint);min-width:0;box-shadow:inset 0 0 0 1px var(--study-edge);color:var(--ink);flex-direction:column;align-items:flex-start;gap:2px;padding:16px clamp(12px,3.6vw,16px) 14px;text-decoration:none;display:flex}.arcade-study-card.is-games{--study-tint:#f4ecff;--study-edge:#9b4dca33;--study-ink:#8a3fc0}.arcade-study-top{justify-content:space-between;align-self:stretch;align-items:flex-start;gap:8px;margin-bottom:8px;display:flex}.arcade-study-icon{color:var(--study-ink);flex:none}.arcade-study-tag{-webkit-line-clamp:2;line-clamp:2;overflow-wrap:anywhere;min-width:0;max-width:62%;color:var(--study-ink);text-align:right;-webkit-box-orient:vertical;font-size:.72rem;font-weight:700;line-height:1.25;display:-webkit-box;overflow:hidden}.arcade-study-card strong{font-family:var(--font-display);letter-spacing:var(--tracking-display);margin-bottom:6px;font-size:clamp(1.02rem,4.4vw,1.2rem);font-weight:650}.arcade-study-sub{color:var(--ink-soft);font-size:.88rem}.arcade-study-btn{min-height:40px;box-shadow:0 4px 0 var(--btn-edge);border-radius:12px;align-self:stretch;margin-top:12px;padding:6px 10px;font-size:clamp(.88rem,3.7vw,1rem)}.arcade-study-card:hover .arcade-study-btn{filter:brightness(1.06)}.arcade-study-card:active .arcade-study-btn{box-shadow:0 1px 0 var(--btn-edge);transform:translateY(3px)}.arcade-continue{border-radius:var(--radius);background:var(--surface);box-shadow:var(--arcade-lift), inset 0 0 0 1px var(--arcade-edge);flex-direction:column;display:flex;overflow:clip}.arcade-continue-row{align-items:center;gap:14px;padding:14px 14px 14px 18px;display:flex}.arcade-continue .rematch{border-top:1px solid var(--line);flex-direction:column;margin:4px 18px 0;padding:18px 0;display:flex;overflow:visible}.arcade-continue .rematch-top{color:var(--ink);padding-bottom:16px}.arcade-missed-icon{color:#a83fd0;flex:none}.arcade-continue .rematch-stack{padding-bottom:0}.arcade-continue .rematch-behind{display:none}.arcade-continue .rematch .rematch-card{background:var(--surface-2);box-shadow:none;border-top:0;border-radius:16px;gap:14px;padding:16px}.arcade-continue .rematch-prompt{font-family:var(--font-display);letter-spacing:var(--tracking-display);font-size:1.12rem;font-weight:650;line-height:1.3}.arcade-continue .rematch-choice{gap:12px;min-height:52px;padding:10px 14px 10px 10px;font-weight:550}.arcade-continue .rematch-choice:not(.is-right):not(.is-wrong){background:var(--surface-3);box-shadow:inset 0 0 0 1px var(--arcade-edge)}.arcade-continue .rematch-choice:not(.is-right):not(.is-wrong):not([aria-disabled=true]):hover{box-shadow:inset 0 0 0 1.5px var(--brand-text)}.arcade-continue .rematch-letter{background:var(--surface);width:30px;height:30px;box-shadow:none;color:var(--ink);font-size:.85rem;font-weight:650}.arcade-continue-text{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.arcade-continue-name{font-family:var(--font-display);letter-spacing:var(--tracking-display);overflow-wrap:anywhere;font-size:clamp(1.05rem,4.6vw,1.25rem);font-weight:650;line-height:1.2}.arcade-continue-sub{color:var(--ink-soft);font-size:.9rem}.arcade-pills{gap:4px;margin-top:8px;display:flex}.arcade-pill{background:var(--surface-3);border-radius:999px;flex:1;height:6px}.arcade-pill.is-won{background:var(--gold)}.arcade-spin{color:var(--brand-text);cursor:pointer;background:0 0;border:0;flex-direction:column;flex:none;align-items:center;gap:4px;padding:4px 2px;text-decoration:none;display:flex}.arcade-spin-wheel{aspect-ratio:1;width:clamp(52px,15vw,64px);transition:transform .12s;display:block;position:relative}.arcade-spin:active .arcade-spin-wheel{transform:scale(.94)}.arcade-spin-play{background:var(--brand);color:#fff;border-radius:50%;place-items:center;width:26px;height:26px;margin:auto;padding-left:2px;display:grid;position:absolute;inset:0;box-shadow:0 2px 6px #140c4659}.arcade-spin-label{font-family:var(--font-display);white-space:nowrap;font-size:.8rem;font-weight:700}.arcade-exam-entry{border-radius:var(--radius);background:var(--surface);box-shadow:var(--arcade-lift), inset 0 0 0 1px var(--arcade-edge);color:var(--ink);align-items:center;gap:12px;padding:12px 14px;text-decoration:none;display:flex}.arcade-exam-entry:hover{background:var(--surface-2)}.arcade-exam-entry.is-soon{--arcade-edge:var(--bad)}.arcade-exam-go{color:var(--brand-text);font-family:var(--font-display);white-space:nowrap;flex:none;margin-left:auto;font-size:.92rem;font-weight:700}.exam-date{background:var(--surface);width:52px;box-shadow:0 3px 0 var(--surface-3);text-align:center;border-radius:12px;flex-direction:column;flex:none;line-height:1.1;display:flex;overflow:hidden}.exam-month{background:var(--info);color:#fff;text-transform:uppercase;padding:3px 0;font-size:.72rem;font-weight:800}.exam-day{font-family:var(--font-display);padding:4px 0 5px;font-size:1.35rem;font-weight:600}.arcade-exam-entry.is-soon .exam-month{background:var(--bad)}.arcade-exam-entry.is-soon .exam-text .small{color:var(--bad-text);font-weight:800}.exam-text{flex-direction:column;gap:2px;min-width:0;display:flex}.arcade-section{flex-direction:column;gap:12px;display:flex}.arcade-section-head{color:var(--on-dark);justify-content:space-between;align-items:baseline;gap:12px;display:flex}.arcade-section-head h2{font-size:clamp(1.1rem,4.6vw,1.3rem)}.arcade-see-all{color:var(--brand-text);font-size:.95rem;font-weight:650;text-decoration:none}.arcade-see-all:hover{text-decoration:underline}.crown-shelf{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px;display:grid}.crown-slot{background:var(--surface-2);color:var(--ink);text-align:center;border-radius:20px;flex-direction:column;align-items:center;gap:6px;padding:22px 10px 14px;text-decoration:none;transition:transform .12s;display:flex;position:relative}.crown-slot:hover{transform:translateY(-3px)}.crown-slot-crown{font-size:1.3rem;position:absolute;top:2px}.crown-slot-icon{filter:grayscale(.85);opacity:.75;background:#d9d6ee;border-radius:50%;place-items:center;width:60px;height:60px;font-size:1.9rem;display:grid}.crown-slot.won .crown-slot-icon,.crown-slot:hover .crown-slot-icon{background:var(--topic);filter:none;opacity:1;box-shadow:inset 0 -4px #0000002e,0 0 0 3px #fff}.crown-slot.won{background:var(--tint-gold)}.crown-slot-meter{background:var(--surface-3);border-radius:6px;width:80%;height:8px;overflow:hidden}.crown-slot-meter span{background:var(--topic);border-radius:6px;height:100%;display:block}.crown-slot-grade{color:var(--grade,var(--ink));font-family:var(--font-display);font-weight:700}.crown-shelf.is-compact .crown-slot{gap:8px;padding:16px 10px 12px}.crown-shelf.is-compact .crown-slot-crown{font-size:1.1rem;top:0}.crown-shelf.is-compact .crown-slot-icon{width:48px;height:48px;font-size:1.5rem}.crown-shelf.is-compact .crown-slot:not(.won){box-shadow:inset 0 0 0 1px var(--line)}.crown-shelf.is-compact .crown-slot.won{box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--gold) 50%, transparent)}.crown-shelf.is-compact .crown-slot.won .crown-slot-icon{box-shadow:inset 0 -4px 0 #0000002e, 0 0 0 3px var(--gold)}.crown-shelf.is-compact .crown-slot-name{font-family:var(--font-display);margin:6px -6px 0;font-size:calc(.85rem - 2px);font-weight:600;line-height:1.25}.crown-slot-foot{align-items:center;gap:8px;width:100%;margin-top:auto;padding:4px 2px 0;display:flex}.crown-shelf.is-compact .crown-slot-meter{flex:1;width:auto;height:6px}.crown-shelf.is-compact .crown-slot-grade{text-align:right;flex:none;min-width:1.4em;font-size:calc(.95rem - 2px)}.crown-slot-grade.is-none{color:var(--ink-faint)}.arcade-review .card-header{flex-wrap:nowrap;gap:10px}.arcade-review .card-title{white-space:nowrap;flex:none}.arcade-review .deck-picker{appearance:none;text-overflow:ellipsis;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f1a4d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-position:right 14px center;background-repeat:no-repeat;background-size:16px;flex:0 auto;min-width:0;max-width:55%;padding-right:40px}.arcade-review .review-summary .small{font-size:.8rem}.arcade-crowns{flex-direction:column;gap:2px;display:flex}.arcade-crowns-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 12px;display:flex}.arcade-crowns-head h3,.arcade-crowns p{margin:0}.arcade-review-btn{align-self:stretch;gap:8px}:root[data-theme=dark] .arcade:before{content:none}:root[data-theme=dark] .arcade-phone-bar:before{background:var(--page-backdrop);box-shadow:0 2px 0 var(--line);background-repeat:no-repeat;background-size:100% 100vh}:root[data-theme=dark] .arcade{--arcade-edge:#aa9bff4d;--arcade-lift:0 0 #0000}:root[data-theme=dark] .arcade-upload{background:#7c64ff1f}:root[data-theme=dark] .arcade-upload-btn{--btn-bg:#a48bff;--btn-edge:#6a4cf0;--btn-ink:#17123d}:root[data-theme=dark] .upload-art-back{fill:#b9adff}:root[data-theme=dark] .upload-art-page{fill:#ece8ff;stroke:none}:root[data-theme=dark] .upload-art-lines{stroke:#8f80e8}:root[data-theme=dark] .upload-art-badge{fill:#8b72ff;stroke:#ece8ff}:root[data-theme=dark] .arcade-study-card{--study-tint:#22c55e1a;--study-edge:#5fdc8c42}:root[data-theme=dark] .arcade-study-card.is-games{--study-tint:#be78ff1c;--study-edge:#c99bff47;--study-ink:#d2a8ff}:root[data-theme=dark] .arcade-missed-icon{color:#e6a8ff}:root[data-theme=dark] .arcade-continue .rematch .rematch-card{box-shadow:none}:root[data-theme=dark] .arcade-continue .rematch-choice:not(.is-right):not(.is-wrong){box-shadow:inset 0 0 0 1px #aa9bff2e}:root[data-theme=dark] .arcade-spin-play{background:#8b72ff}:root[data-theme=dark] .stat-panel{box-shadow:0 12px 32px #0000008c}:root[data-theme=dark] .stat-streak-week .is-today .stat-day-dot{box-shadow:0 0 0 3px #b8581c}:root[data-theme=dark] .stat-streak-week .is-studied .stat-day-dot{background:#5a3530}:root[data-theme=dark] .stat-streak-week .is-frozen .stat-day-dot{box-shadow:inset 0 0 0 2px #3f74b8}:root[data-theme=dark] .stat-info-link{color:var(--info-text)}:root[data-theme=dark] .crown-slot:not(.won):not(:hover) .crown-slot-icon{background:var(--surface-3)}:root[data-theme=dark] .arcade-review .grade-a{--grade:#7ed992}:root[data-theme=dark] .arcade-review .deck-picker{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3f1ff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")}:root[data-theme=dark] .crown-shelf.is-compact .crown-slot{box-shadow:inset 0 0 0 1px #322a4e}:root[data-theme=dark] .crown-shelf.is-compact .crown-slot.won{background:#31293e;box-shadow:inset 0 0 0 1px #6f6143}:root[data-theme=dark] .crown-shelf.is-compact .crown-slot.won .crown-slot-icon{box-shadow:inset 0 -4px #0000002e,0 0 0 3px #fae2a8}:root[data-theme=dark] .crown-shelf.is-compact .crown-slot-meter{background:#423755}:root[data-theme=dark] .crown-shelf.is-compact .crown-slot:not(.won):not(:hover) .crown-slot-icon{background:#2f2d3f}:root[data-theme=dark] .arcade-avatar .avatar-lg{box-shadow:0 0 0 2px #a5a3b5,0 4px 14px #0006}:root[data-theme=dark] .arcade-xp-track{background:#ffffff24}:root[data-theme=dark] .stat-streak.is-lit .stat-streak-top{background:#ff7a1a}.desk{--desk-accent:linear-gradient(180deg, #8268ff 0%, #6447ea 100%);--desk-accent-edge:#4128b8;gap:24px;padding-top:32px}.desk-top{color:var(--on-dark);align-items:center;gap:16px;display:flex}.desk-avatar{border-radius:50%;flex:none;margin:4px;text-decoration:none;transition:transform .12s}.desk-avatar:hover{transform:translateY(-1px)}.desk-avatar:active{transform:translateY(1px)}.desk-me{flex:none;display:inline-flex;position:relative}.desk-add-photo{bottom:1px;right:1px}.desk-avatar .avatar{width:64px;height:64px;display:grid;box-shadow:inset 0 -5px #00000026,0 0 0 4px #fff,0 10px 24px -8px #0000008c}.desk-id{flex-direction:column;gap:3px;min-width:0;display:flex}.desk-name{font-family:var(--font-display);letter-spacing:var(--tracking-display);text-overflow:ellipsis;white-space:nowrap;font-size:1.55rem;font-weight:700;line-height:1.1;overflow:hidden}.desk-rank{color:var(--gold);align-items:center;gap:6px;font-size:.9rem;font-weight:800;display:inline-flex}.desk-xp{align-items:center;gap:14px;margin-top:4px;display:flex}.desk-xp-track{background:var(--on-dark-fill);border-radius:999px;flex:none;width:clamp(150px,24vw,340px);height:10px;display:block;overflow:hidden}.desk-xp-track span{border-radius:inherit;background:linear-gradient(90deg,#6a4cf0,#b5a2ff);min-width:10px;height:100%;transition:width .5s;display:block}.desk-xp-text{color:var(--on-dark-soft);white-space:nowrap;font-size:.88rem;font-weight:700}.desk-top-end{z-index:6;align-items:center;gap:12px;margin-left:auto;padding-left:22px;display:flex;position:relative}.desk-top .stat-btns{flex-wrap:nowrap;gap:14px}.desk-top .stat-btn,.desk-top .stat-btn:hover,.desk-top .stat-btn.is-open{min-height:42px;box-shadow:none;background:0 0;border-radius:12px;gap:8px;padding:6px 8px}.desk-top .stat-btn:active{box-shadow:none;transform:scale(.97)}.desk-top .stat-btn strong,.desk-top .stat-btn.is-hearts strong,.desk-top .stat-btn.is-bamboo strong{font-family:var(--font-body);color:var(--on-dark);text-shadow:none;font-size:1.02rem;font-weight:700}.desk-top .stat-btn .grade-a,.desk-top .stat-btn .grade-b,.desk-top .stat-btn .grade-c,.desk-top .stat-btn .grade-df{font-size:1.08rem}.desk-top .stat-btn strong[class*=grade-]{color:var(--grade)}:root[data-theme=dark] .desk-top .stat-btn .grade-a{color:#6ee7a0}:root[data-theme=dark] .desk-top .stat-btn .grade-b{color:#d6ccff}:root[data-theme=dark] .desk-top .stat-btn .grade-c{color:#ffd166}:root[data-theme=dark] .desk-top .stat-btn .grade-df{color:#ff5a5a}.desk-top .stat-btn .art-icon{width:22px;height:22px}.desk-top{--icon-outline:drop-shadow(1px 0 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 1px 0 #fff) drop-shadow(0 -1px 0 #fff)}.desk-top .stat-course-icon,.desk-top .stat-btn.is-lit .art-icon{filter:var(--icon-outline)}.desk-top .stat-btn.is-cold .art-icon{filter:grayscale(1) var(--icon-outline)}:root[data-theme=dark] .desk-top .stat-course-icon{filter:var(--icon-outline) drop-shadow(0 0 6px #7c64ff99)}:root[data-theme=dark] .desk-top .stat-btn.is-lit .art-icon{filter:var(--icon-outline) drop-shadow(0 0 6px #ff8c2899)}:root[data-theme=dark] .desk-top .stat-btn.is-hearts:not(.is-out) .art-icon{filter:drop-shadow(0 0 6px #ff46648c)}:root[data-theme=dark] .desk-top .stat-btn.is-bamboo .art-icon{filter:drop-shadow(0 0 6px #78d25a80)}.desk-top .stat-btn.is-hearts .art-icon{width:20px;height:20px}.desk-top .stat-course-icon .art-icon{width:30px;height:30px}.desk-top .stat-course-icon{width:auto;height:auto;box-shadow:none;background:0 0;font-size:20px}.desk-bell{position:relative}.desk-bell-btn{width:46px;height:46px;color:var(--on-dark);background:0 0;border:0;border-radius:50%;place-items:center;display:grid;position:relative}.desk-bell-btn:hover,.desk-bell-btn[aria-expanded=true]{background:var(--on-dark-fill)}.desk-bell-dot{width:10px;height:10px;box-shadow:0 0 0 2px var(--bg-deep);background:#ff5c8a;border-radius:50%;position:absolute;top:9px;right:10px}.desk-bell-panel{z-index:30;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);width:300px;color:var(--ink);padding:16px 12px 12px;position:absolute;top:calc(100% + 10px);right:0;box-shadow:0 18px 40px #0a062859}.desk-bell-panel h2{padding:0 8px 8px;font-size:1.05rem}.desk-bell-panel>p{padding:0 8px 4px}.desk-bell-panel ul{flex-direction:column;gap:2px;margin:0;padding:0;list-style:none;display:flex}.desk-bell-panel a{color:var(--ink);border-radius:10px;align-items:center;gap:10px;padding:10px;font-weight:700;text-decoration:none;display:flex}.desk-bell-panel a:hover{background:var(--surface-2)}.desk-bell-panel .louie-icon{color:var(--brand-text)}.desk .btn.desk-btn:not(.btn-outline){--btn-bg:var(--desk-accent);--btn-edge:var(--desk-accent-edge);box-shadow:0 4px 0 var(--btn-edge), 0 14px 26px -12px #6e50ffd9}.desk .btn.desk-btn:not(.btn-outline):active{box-shadow:0 1px 0 var(--btn-edge)}.desk .btn.desk-btn{border-radius:12px;min-height:50px;padding:12px 24px;font-size:1.05rem}.desk .btn.btn-small.desk-btn{min-height:42px;padding:8px 16px;font-size:.98rem}.desk-hero{isolation:isolate;color:#fff;background:radial-gradient(440px 300px at 84%,#9274ff5c,#0000 70%),linear-gradient(118deg,#2b2276 0%,#1b1654 52%,#120f3a 100%);border-radius:22px;align-items:center;gap:24px;min-height:250px;padding:30px 32px 30px 34px;display:flex;position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px #b8a4ff3d,0 26px 50px -30px #0c063cf2}.desk-hero:before{content:"";z-index:-1;pointer-events:none;background-image:radial-gradient(1.6px 1.6px at 58% 22%,#ffffffd9,#0000),radial-gradient(1.2px 1.2px at 66% 74%,#ffffffb3,#0000),radial-gradient(1.4px 1.4px at 74% 12%,#fff9,#0000),radial-gradient(1.2px 1.2px at 92% 28%,#ffffffbf,#0000),radial-gradient(1.6px 1.6px at 96% 82%,#fff9,#0000),radial-gradient(1.1px 1.1px at 52% 88%,#ffffff80,#0000),radial-gradient(1.3px 1.3px at 86% 92%,#ffffff8c,#0000);position:absolute;inset:0}.desk-hero-text{flex-direction:column;flex:1;align-items:flex-start;gap:10px;min-width:0;display:flex}.desk-hero-eyebrow{color:#c0b0ff;font-family:var(--font-display);align-items:center;gap:12px;font-size:1.12rem;font-weight:600;display:inline-flex}.desk-hero-cap{color:#cbbdff;background:#a48bff29;border-radius:12px;place-items:center;width:42px;height:42px;display:grid}.desk-hero h2{letter-spacing:-.024em;overflow-wrap:anywhere;max-width:100%;font-size:clamp(1.9rem,3.2vw,2.7rem);font-weight:700}.desk-hero-sub{color:#ffffffd1;font-size:1.05rem}.desk-hero-meter{background:#ffffff21;border-radius:999px;width:min(340px,100%);height:8px;display:block;overflow:hidden}.desk-hero-meter span{border-radius:inherit;background:linear-gradient(90deg,#6a4cf0,#bfb0ff);height:100%;display:block}.desk-hero-exam{color:#ffffffd9;background:#ffffff12;border-radius:999px;align-items:center;gap:8px;max-width:100%;margin-top:6px;padding:7px 12px 7px 10px;font-size:.92rem;text-decoration:none;display:inline-flex;box-shadow:inset 0 0 0 1px #ffffff24}.desk-hero-exam:hover{background:#ffffff1f}.desk-hero-exam strong{color:#fff;text-overflow:ellipsis;white-space:nowrap;font-weight:650;overflow:hidden}.desk-hero-exam>span{white-space:nowrap}.desk-hero-exam.is-soon .louie-icon:first-child{color:#ffc93c}.desk-hero-actions{flex-wrap:wrap;gap:14px;margin-top:10px;display:flex}.desk .desk-hero-outline{--btn-ink:#fff;--outline:#ffffff61}.desk .desk-hero-outline:hover:not(:disabled){background:#ffffff14}.desk-hero-art{flex:none;place-items:center;width:250px;height:230px;margin-right:6px;display:grid;position:relative}.desk-hero-orbit{pointer-events:none;border:1px solid #c4b4ff33;border-radius:50%;width:236px;height:236px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 28px #9678ff0d,0 0 0 60px #9678ff08}.desk-hero-wheel{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;padding:0;text-decoration:none;display:grid;position:relative}.desk-hero-wheel .mini-wheel{filter:drop-shadow(0 14px 26px #08042899);transition:transform .4s}.desk-hero-wheel:hover .mini-wheel{transform:rotate(40deg)}.desk-hero-spin{white-space:nowrap;background:#0e0c28e6;border-radius:999px;align-items:center;gap:6px;padding:6px 14px;font-size:.85rem;font-weight:800;display:inline-flex;position:absolute;bottom:-8px;left:50%;transform:translate(-50%);box-shadow:inset 0 0 0 1px #c4b4ff66}.desk-hero-wheel:hover .desk-hero-spin,.desk-hero-wheel:focus-visible .desk-hero-spin{background:#6447ea}:root:not([data-theme=dark]) .desk-rank{color:#c98a00}:root:not([data-theme=dark]) .desk-avatar .avatar{box-shadow:inset 0 -5px #0000001f,0 0 0 4px #fff,0 10px 22px -10px #4c3ab473}:root:not([data-theme=dark]) .desk-hero{box-shadow:var(--shadow-card);color:var(--ink);background:radial-gradient(520px 360px at 84% 42%,#a58cff4d,#0000 70%),linear-gradient(115deg,#fff 0%,#fcfbff 46%,#f2eeff 100%)}:root:not([data-theme=dark]) .desk-hero:before{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M38 100C52 88 64 70 78 64S94 58 100 50V100Z' fill='%23a58bff' fill-opacity='.2'/%3E%3Cpath d='M52 100C64 92 76 82 88 79S96 76 100 74V100Z' fill='%23a58bff' fill-opacity='.14'/%3E%3C/svg%3E") 50%/100% 100% no-repeat}:root:not([data-theme=dark]) .desk-hero:after{content:"";z-index:-1;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.9 6.6 4.5 10.6 12 12-7.5 1.4-11.1 5.4-12 12-.9-6.6-4.5-10.6-12-12C7.5 10.6 11.1 6.6 12 0z' fill='%23ffc93c'/%3E%3C/svg%3E") 4% 30%/30px 30px no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.9 6.6 4.5 10.6 12 12-7.5 1.4-11.1 5.4-12 12-.9-6.6-4.5-10.6-12-12C7.5 10.6 11.1 6.6 12 0z' fill='%23ffc93c'/%3E%3C/svg%3E") 12% 42%/16px 16px no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.9 6.6 4.5 10.6 12 12-7.5 1.4-11.1 5.4-12 12-.9-6.6-4.5-10.6-12-12C7.5 10.6 11.1 6.6 12 0z' fill='%23b7a6ff'/%3E%3C/svg%3E") 95% 16%/20px 20px no-repeat;width:46%;position:absolute;top:0;bottom:0;right:0}:root:not([data-theme=dark]) .desk-hero-eyebrow{color:var(--brand-text)}:root:not([data-theme=dark]) .desk-hero-cap{color:#5b48d6;background:#ece8ff}:root:not([data-theme=dark]) .desk-hero-sub{color:var(--ink-soft)}:root:not([data-theme=dark]) .desk-hero-meter{background:#e6e1fb}:root:not([data-theme=dark]) .desk-hero-exam{background:var(--surface-2);box-shadow:inset 0 0 0 1px var(--line);color:var(--ink-soft)}:root:not([data-theme=dark]) .desk-hero-exam:hover{background:var(--surface-3)}:root:not([data-theme=dark]) .desk-hero-exam strong{color:var(--ink)}:root:not([data-theme=dark]) .desk .desk-hero-outline{--btn-ink:var(--ink);--outline:#cfc8f2;background:#fff}:root:not([data-theme=dark]) .desk .desk-hero-outline:hover:not(:disabled){background:var(--surface-2)}:root:not([data-theme=dark]) .desk-hero-orbit{border-color:#7c64ff29;box-shadow:0 0 0 28px #9678ff12,0 0 0 60px #9678ff0a}:root:not([data-theme=dark]) .desk-hero-wheel .mini-wheel{filter:drop-shadow(0 14px 22px #4c3ab452)}:root:not([data-theme=dark]) .desk-hero-spin{color:var(--ink);background:#fff;box-shadow:0 6px 16px -6px #4c3ab473}:root:not([data-theme=dark]) .desk-hero-wheel:hover .desk-hero-spin,:root:not([data-theme=dark]) .desk-hero-wheel:focus-visible .desk-hero-spin{color:#fff;background:#6447ea}.desk .arcade-upload,.desk .arcade-upload.is-first{--arcade-edge:#6c5ce729;--arcade-lift:var(--shadow-card);border-radius:18px;grid-template-columns:auto minmax(0,1fr) auto;gap:4px 20px;padding:18px 24px}.desk .arcade-upload-art,.desk .arcade-upload.is-first .arcade-upload-art{grid-area:1/1;width:56px;height:56px}.desk .arcade-upload-text{grid-area:1/2}.desk .arcade-upload-btn{grid-area:1/3;width:auto;padding-inline:26px}.desk .arcade-upload.is-first .arcade-upload-art,.desk .arcade-upload.is-first .arcade-upload-text{grid-row:1/span 2}.desk .arcade-upload-alt{grid-area:2/3;margin-top:0}.desk-tiles{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;display:grid}.desk-tile{--tone:#6c5ce7;background:var(--surface);box-shadow:var(--shadow-card), inset 0 -3px 0 var(--tone);color:var(--ink);border-radius:18px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px 8px;padding:20px 16px 20px 20px;text-decoration:none;transition:transform .14s;display:grid}.desk-tile:hover{transform:translateY(-2px)}.desk-tile-icon{color:var(--tone);grid-column:1/-1;display:flex}.desk-tile-text{flex-direction:column;gap:2px;min-width:0;display:flex}.desk-tile-text strong{font-family:var(--font-display);letter-spacing:var(--tracking-display);font-size:1.22rem;font-weight:650}.desk-tile-text span{color:var(--ink-soft);text-overflow:ellipsis;white-space:nowrap;font-size:.92rem;overflow:hidden}.desk-tile-arrow{color:var(--ink-soft)}.desk-tile.is-purple{--tone:#6c5ce7}.desk-tile.is-blue{--tone:#2f8fea}.desk-tile.is-green{--tone:#16a34a}.desk-tile.is-orange{--tone:#ea8a00}.desk-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.desk-grid>:only-child{grid-column:1/-1}.desk .card{border-radius:20px;gap:18px;padding:22px 24px}.desk-card-head,.desk .card-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.desk-card-head h2,.desk .card-title{align-items:center;gap:12px;font-size:1.3rem;font-weight:650;display:flex}.desk-head-icon{border-radius:10px;flex:none;place-items:center;width:36px;height:36px;display:grid}.desk-head-icon.is-purple,.desk-head-icon.is-lilac{color:var(--brand-text);background:var(--tint-brand)}.desk-head-icon.is-gold{color:var(--tint-gold-ink);background:var(--tint-gold)}.desk-see-all,.desk .card-header>a.link{color:var(--ink-soft);align-items:center;gap:4px;font-size:.95rem;font-weight:700;text-decoration:none;display:inline-flex}.desk-see-all:hover,.desk .card-header>a.link:hover{color:var(--ink)}.desk-select{cursor:pointer;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d5890' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E");background-position:right 16px center;background-repeat:no-repeat;background-size:16px;border-width:1px;border-radius:12px;width:auto;max-width:240px;min-height:40px;padding:6px 42px 6px 14px;font-weight:700}:root[data-theme=dark] .desk-select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b3aedb' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E")}.desk-review-stats{grid-template-columns:minmax(0,1.8fr) repeat(2,minmax(0,1fr));align-items:center;display:grid}.desk-review-stats>*+*{border-left:1px solid var(--line)}.desk-grade{align-items:center;gap:16px;min-width:0;padding-right:18px;display:flex}.desk-ring{flex:none;place-items:center;display:grid;position:relative}.desk-ring-letter{font-family:var(--font-display);letter-spacing:-.02em;place-items:center;font-size:1.55rem;font-weight:700;display:grid;position:absolute;inset:0}.desk-ring-track{stroke:var(--surface-3)}.desk-ring-arc{stroke:var(--grade,url(#desk-ring-fill))}.desk-grade-text{flex-direction:column;gap:3px;min-width:0;display:flex}.desk-grade-text strong{font-family:var(--font-display);font-size:1.1rem;font-weight:650}.desk-grade-text span{color:var(--ink-soft);font-size:.86rem;line-height:1.35}.desk-stat{text-align:center;flex-direction:column;align-items:center;gap:2px;min-width:0;padding:4px 10px;display:flex}.desk-stat strong{font-family:var(--font-display);letter-spacing:-.03em;font-variant-numeric:tabular-nums;white-space:nowrap;font-size:1.65rem;font-weight:700;line-height:1.15}.desk-stat span{color:var(--ink-soft);font-size:.9rem;font-weight:600}.desk-review-foot{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;gap:8px 16px;padding-top:14px;display:flex}.desk-text-btn{color:var(--brand-text);cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;padding:2px 0;font-size:.95rem;font-weight:800;text-decoration:none;display:inline-flex}.desk-text-btn:hover{text-decoration:underline}.desk-text-btn .is-flipped{transform:rotate(180deg)}.desk-match-list{flex-direction:column;gap:8px;display:flex}.desk-actions{flex-wrap:wrap;gap:12px;margin-top:auto;display:flex}.desk .mini-board{gap:8px}.desk .mini-board li{background:var(--surface-2);border-radius:12px;padding:9px 14px}.desk .mini-board li.me{background:var(--tint-brand)}.desk .empty-mini .btn-gold{--btn-bg:var(--desk-accent);--btn-edge:var(--desk-accent-edge);--btn-ink:#fff}.desk-daily{isolation:isolate;color:#fff;background:radial-gradient(360px 200px at 78% 0,#a082ff59,#0000 70%),linear-gradient(110deg,#1c174d 0%,#251d62 55%,#33267c 100%);border-radius:20px;align-items:center;gap:20px;margin-top:4px;padding:28px 32px;display:flex;position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px #b8a4ff38,0 24px 50px -30px #0a0628e6}.desk-daily-hills{z-index:-1;fill:#8268f042;width:64%;height:100%;position:absolute;bottom:0;right:0;-webkit-mask-image:linear-gradient(90deg,#0000,#000 35%);mask-image:linear-gradient(90deg,#0000,#000 35%)}.desk-daily-hills .is-near{fill:#402ea099}.desk-daily-icon{color:#cbbdff;background:#a48bff29;border-radius:14px;flex:none;place-items:center;width:56px;height:56px;display:grid}.desk-daily-text{flex:1;min-width:0}.desk-daily-text h2{font-size:1.55rem;font-weight:700}.desk-daily-text p{color:#fffc;margin-top:4px}.desk .desk-daily-btn{flex:none}.desk-picks{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;display:grid}.desk-pick{background:radial-gradient(130px 110px at 85% 10%, color-mix(in srgb, var(--tint) 42%, transparent), transparent 70%), linear-gradient(165deg, color-mix(in srgb, var(--tint) 32%, #17133f) 0%, #15122f 100%);min-height:200px;box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--tint) 42%, transparent), 0 18px 34px -22px #000c;color:#fff;border-radius:18px;flex-direction:column;align-items:flex-start;gap:6px;padding:16px 16px 16px 18px;text-decoration:none;transition:transform .14s,box-shadow .14s;display:flex}.desk-pick:hover{box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--tint) 75%, transparent), 0 22px 40px -22px color-mix(in srgb, var(--tint) 70%, transparent);transform:translateY(-3px)}.desk-pick-icon{background:color-mix(in srgb, var(--tint) 22%, transparent);width:52px;height:52px;box-shadow:0 0 26px color-mix(in srgb, var(--tint) 45%, transparent);color:color-mix(in srgb, var(--tint) 35%, #fff);border-radius:16px;align-self:flex-end;place-items:center;margin-bottom:4px;display:grid}.desk-pick strong{font-family:var(--font-display);letter-spacing:var(--tracking-display);font-size:1.12rem;font-weight:700;line-height:1.2}.desk-pick-line{color:#ffffffb8;font-size:.88rem;line-height:1.35}.desk-pick-play{align-items:center;gap:6px;margin-top:auto;padding-top:10px;font-weight:700;display:inline-flex}.desk-pick-play .louie-icon{transition:transform .14s}.desk-pick:hover .desk-pick-play .louie-icon{transform:translate(3px)}:root:not([data-theme=dark]) .desk-daily{color:var(--ink);background:radial-gradient(420px 220px at 70% 0,#ffffffb3,#0000 70%),linear-gradient(110deg,#f1ecff 0%,#ebe4ff 55%,#e4dbff 100%);box-shadow:inset 0 0 0 1.5px #d4c8fb,0 18px 36px -24px #4c3ab466}:root:not([data-theme=dark]) .desk-daily-hills{fill:#9678f529}:root:not([data-theme=dark]) .desk-daily-hills .is-near{fill:#9678f51f}:root:not([data-theme=dark]) .desk-daily-icon{color:#5b48d6;background:#e3daff}:root:not([data-theme=dark]) .desk-daily-text p{color:var(--ink)}:root:not([data-theme=dark]) .desk-pick{background:linear-gradient(160deg, #fff 0%, #fff 38%, color-mix(in srgb, var(--tint) 13%, #fff) 100%);box-shadow:inset 0 0 0 1.5px color-mix(in srgb, var(--tint) 34%, #fff), 0 16px 30px -22px color-mix(in srgb, var(--tint) 55%, transparent);color:var(--ink)}:root:not([data-theme=dark]) .desk-pick:hover{box-shadow:inset 0 0 0 1.5px color-mix(in srgb, var(--tint) 60%, #fff), 0 20px 36px -20px color-mix(in srgb, var(--tint) 60%, transparent)}:root:not([data-theme=dark]) .desk-pick-icon{background:color-mix(in srgb, var(--tint) 15%, #fff);box-shadow:none;color:color-mix(in srgb, var(--tint) 85%, #000)}:root:not([data-theme=dark]) .desk-pick-line{color:var(--ink-soft)}@media (width<=1239.98px){.desk-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.desk-picks{grid-template-columns:repeat(3,minmax(0,1fr))}.desk-hero-art{width:200px}.desk-hero-art .mini-wheel{width:160px!important;height:160px!important}.desk-hero-orbit{width:196px;height:196px}}@media (width<=1139.98px){.desk-grid{grid-template-columns:minmax(0,1fr)}.desk-xp-text{display:none}}@media (width<=959.98px){.desk.arcade-desk-daily{gap:14px;margin-top:24px;padding-top:0;display:grid}.arcade-desk-daily .desk-daily{margin-top:0}.arcade-desk-daily .desk-pick{min-height:176px}}@media (width<=599.98px){.arcade-desk-daily .desk-daily{flex-wrap:wrap;gap:14px 16px;padding:20px}.arcade-desk-daily .desk-daily-icon{border-radius:12px;width:48px;height:48px}.arcade-desk-daily .desk-daily-text h2{font-size:1.35rem}.arcade-desk-daily .desk-daily-hills{width:100%}.desk.arcade-desk-daily .desk-daily-btn{flex:100%;justify-content:center}.arcade-desk-daily .desk-picks{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.arcade-desk-daily .desk-pick{min-height:168px;padding:14px 14px 14px 16px}.arcade-desk-daily .desk-pick-icon{border-radius:14px;width:46px;height:46px}}:root[data-theme=dark] .desk .arcade-upload{--arcade-edge:#aa9bff4d;--arcade-lift:0 0 #0000}:root[data-theme=dark] .desk-tile{background:var(--glass)}:root[data-theme=dark] .desk-tile.is-purple{--tone:#9a82ff}:root[data-theme=dark] .desk-tile.is-blue{--tone:#5cb4ff}:root[data-theme=dark] .desk-tile.is-green{--tone:#3fdc8f}:root[data-theme=dark] .desk-tile.is-orange{--tone:#ffad4d}:root[data-theme=dark] .desk-head-icon.is-purple{color:#a990ff;background:#a48bff24}:root[data-theme=dark] .desk-head-icon.is-lilac{color:#d3c8ff;background:#d3c8ff1a}:root[data-theme=dark] .desk-head-icon.is-gold{color:#ffc93c;background:#ffc93c21}:root[data-theme=dark] .desk-ring-track{stroke:#ffffff1a}:root[data-theme=dark] .desk .mini-board li,:root[data-theme=dark] .desk .game-row,:root[data-theme=dark] .desk .local-game-row{background:#ffffff0d}:root[data-theme=dark] .desk .game-row:hover,:root[data-theme=dark] .desk .local-game-row:hover{background:#ffffff17}:root[data-theme=dark] .desk .local-game-row>.game-row,:root[data-theme=dark] .desk .local-game-row>.game-row:hover{background:0 0}:root[data-theme=dark] .desk .mini-board li.me{background:linear-gradient(90deg,#7c5cff80,#7c5cff38);box-shadow:inset 0 0 0 1px #a48bff59}:root[data-theme=dark] .desk-bell-panel{border-color:var(--glass-edge);box-shadow:0 18px 44px #0009}.hearts-recovery{flex-direction:column;gap:14px;width:100%;display:flex}.hearts-recovery.is-out{max-width:560px;margin:0 auto;animation:.25s ease-out hearts-in}@keyframes hearts-in{0%{opacity:0;transform:translateY(12px)scale(.98)}}.hearts-recovery-head{text-align:center;flex-direction:column;align-items:center;gap:6px;display:flex}.hearts-recovery-head h2{font-size:clamp(1.35rem,5vw,1.75rem)}.hearts-recovery-head p{max-width:42ch;margin:0}.hearts-broken{font-size:3rem;line-height:1;animation:.6s ease-out hearts-wobble}@keyframes hearts-wobble{30%{transform:rotate(-10deg)scale(1.1)}60%{transform:rotate(8deg)}}.hearts-options{flex-direction:column;gap:8px;display:flex}.hearts-option{border-radius:var(--radius);background:var(--surface-2);grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:12px 14px;display:grid}.hearts-option>div{text-align:left;flex-direction:column;gap:2px;min-width:0;display:flex}.hearts-option-icon{font-size:1.8rem;line-height:1}.hearts-countdown{background:var(--surface);min-width:4.5ch;font-family:var(--font-display);font-variant-numeric:tabular-nums;text-align:center;border-radius:999px;padding:6px 12px;font-size:1.1rem}@media (width<=420px){.hearts-option{grid-template-columns:auto 1fr}.hearts-option>.btn,.hearts-option>.hearts-countdown{grid-column:2;justify-self:start}}.hearts-plus{border-radius:var(--radius);color:var(--ink);background:linear-gradient(135deg,#fff3c4,#ffe0f0);align-items:center;gap:10px;padding:12px 14px;text-decoration:none;display:flex}.hearts-plus span:nth-child(2){text-align:left;flex:1}.hearts-plus:hover,.hearts-plus:focus-visible{filter:brightness(.97)}.hearts-free-note{text-align:center;margin:0}.hearts-recovery.is-out>.btn{align-self:center}.heart-practice{flex-direction:column;gap:12px;display:flex}.heart-practice-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.heart-practice-count{gap:6px;display:flex}.heart-practice-count span{background:var(--surface-3);border-radius:999px;width:22px;height:10px}.heart-practice-count span.is-right{background:#e64a9c}.heart-practice-done{text-align:center;flex-direction:column;align-items:center;gap:6px;padding:12px 0;display:flex}.heart-practice-done p{margin:0}.heart-practice-big{font-size:3.4rem;line-height:1;animation:.6s ease-out hearts-wobble}.heart-practice-note{margin:0}.out-of-hearts-note{border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-card), inset 4px 0 0 var(--bad);color:var(--ink);flex-wrap:wrap;align-items:center;gap:10px 14px;padding:14px 16px;display:flex}.out-of-hearts-note-icon{font-size:1.6rem;line-height:1}.out-of-hearts-note-text{flex-direction:column;flex:220px;gap:2px;display:flex}.out-of-hearts-note-text .small{color:var(--ink-soft)}:root[data-theme=dark] .hearts-plus{background:var(--tint-gold)}.wheel{aspect-ratio:1;filter:drop-shadow(0 16px 30px #0a053c73);width:min(84vw,380px);margin:0 auto;position:relative}.wheel-disc{will-change:transform;width:100%;height:100%}.wheel-disc svg{width:100%;height:100%;display:block;overflow:visible}.wheel-rim{fill:#fff;stroke:var(--gold);stroke-width:4px}.wheel-wedge path:first-child{stroke:#fff;stroke-width:1.6px;stroke-linejoin:round}.wheel-inner{fill:#ffffffe6}.wheel-wedge{transition:opacity .25s}.wheel-wedge.dim{opacity:.35}.wheel-icon{text-anchor:middle;dominant-baseline:central;-webkit-user-select:none;user-select:none}.wheel-light{fill:#fff6d6;stroke:var(--gold-dark);stroke-width:.6px}.wheel-pointer{z-index:2;background:var(--gold);clip-path:polygon(0 0,100% 0,50% 100%);width:34px;height:42px;filter:drop-shadow(0 3px 0 var(--gold-dark));position:absolute;top:-14px;left:50%;transform:translate(-50%)}.wheel-pointer:after{content:"";clip-path:polygon(0 0,100% 0,50% 100%);background:#fff3c4;position:absolute;inset:5px 8px 14px}.wheel-hub{z-index:2;aspect-ratio:1;background:radial-gradient(circle at 35% 30%, #8d80ff, var(--brand-dark));color:#fff;width:27%;font-family:var(--font-display);letter-spacing:.04em;border:5px solid #fff;border-radius:50%;font-size:clamp(1rem,4.4vw,1.45rem);font-weight:700;transition:transform .1s,box-shadow .1s;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 6px #2c1f99,0 10px 18px #0000004d}.wheel-hub:not(:disabled):hover{filter:brightness(1.08)}.wheel-hub:not(:disabled):active{transform:translate(-50%,calc(4px - 50%));box-shadow:0 2px #2c1f99,0 4px 8px #0000004d}.wheel-hub:disabled{cursor:default}.wheel-hub:not(:disabled):after{content:"";pointer-events:none;border-radius:50%;animation:1.6s ease-in-out infinite hub-ring;position:absolute;inset:-5px}@keyframes hub-ring{0%,to{box-shadow:0 0 #ffc93cbf}50%{box-shadow:0 0 0 14px #ffc93c00}}.game-screen{gap:16px;padding-top:14px}.centered-screen{justify-content:center;min-height:100svh;padding-top:20px;padding-bottom:20px}.app-main:has(>.centered-screen){padding-bottom:0}.game-title{flex-direction:column;flex:1;min-width:0;display:flex}.game-title h1{text-overflow:ellipsis;white-space:nowrap;font-size:clamp(1.15rem,3.6vw,1.5rem);overflow:hidden}.stage{justify-content:center;display:flex}.panel{background:var(--surface);border-radius:var(--radius-lg);width:100%;max-width:640px;box-shadow:var(--shadow-card);text-align:center;flex-direction:column;align-items:center;gap:14px;padding:28px 22px;animation:.26s cubic-bezier(.2,.9,.3,1.2) pop-in;display:flex}.panel h2{font-size:clamp(1.5rem,4.5vw,2rem)}.eyebrow{text-transform:uppercase;letter-spacing:.08em;color:var(--ink-soft);font-size:.85rem;font-weight:800}@keyframes pop-in{0%{opacity:0;transform:scale(.94)translateY(8px)}to{opacity:1;transform:none}}.spin-view{width:100%;color:var(--on-dark);flex-direction:column;align-items:center;gap:22px;display:flex}.spin-status{place-items:center;min-height:52px;display:grid}.spin-banner{font-family:var(--font-display);text-align:center;font-size:clamp(1.25rem,4.2vw,1.6rem);font-weight:600}.spin-landed{font-family:var(--font-display);background:var(--topic);text-shadow:0 2px #0003;border-radius:999px;padding:8px 24px;font-size:clamp(1.4rem,5vw,2rem);font-weight:700;animation:.24s cubic-bezier(.2,.9,.3,1.4) pop-in;box-shadow:0 5px #00000040}.spin-meter{color:var(--on-dark-soft);text-align:center;margin-top:-6px;font-weight:700}.wheel-legend{flex-wrap:wrap;justify-content:center;gap:8px;max-width:640px;margin:0;padding:0;list-style:none;display:flex}.wheel-legend li{background:#ffffff1f;border-radius:999px;align-items:center;gap:6px;padding:5px 12px 5px 6px;font-size:.9rem;font-weight:700;display:inline-flex}.wheel-legend li span{background:var(--topic);border-radius:50%;place-items:center;width:24px;height:24px;font-size:.8rem;display:inline-grid}.question-card{background:var(--surface);border-radius:var(--radius-lg);width:100%;max-width:680px;box-shadow:var(--shadow-card);flex-direction:column;animation:.26s cubic-bezier(.2,.9,.3,1.2) pop-in;display:flex;overflow:hidden}.question-head{background:var(--topic);color:#fff;text-shadow:0 1px #0003;align-items:center;gap:12px;padding:14px 18px;display:flex}.question-topic-icon{width:46px;height:46px;text-shadow:none;background:#ffffff40;border-radius:50%;flex:none;place-items:center;font-size:1.5rem;display:grid}.question-head-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.question-topic{font-family:var(--font-display);text-overflow:ellipsis;white-space:nowrap;font-size:1.3rem;font-weight:600;overflow:hidden}.mode-tag{opacity:.95;font-size:.85rem;font-weight:800}.question-speak{cursor:pointer;background:#fff3;border:0;border-radius:50%;flex:none;place-items:center;width:38px;height:38px;padding:0;font-size:1.1rem;line-height:1;transition:background .12s;display:grid}.question-speak:hover{background:#ffffff52}.question-speak.is-speaking{background:#ffffff5c;animation:1.2s ease-in-out infinite question-speak-pulse}@keyframes question-speak-pulse{0%,to{box-shadow:0 0 #ffffffb3}50%{box-shadow:0 0 0 5px #fff0}}.question-no-voice{color:var(--ink-soft);text-align:center;margin:0;padding:0 22px}.question-player{white-space:nowrap;background:#fff3;border-radius:999px;align-items:center;gap:6px;max-width:40%;padding:4px 12px 4px 4px;font-weight:800;display:inline-flex;overflow:hidden}.question-player .avatar{width:28px;height:28px}.timer{align-items:center;gap:10px;padding:14px 18px 0;display:flex}.timer-track{background:var(--surface-3);border-radius:8px;flex:1;height:12px;overflow:hidden}.timer-fill{background:var(--good);border-radius:8px;height:100%;transition:width .1s linear,background .3s}.timer.low .timer-fill{background:var(--bad)}.timer-count{font-family:var(--font-display);text-align:right;min-width:2ch;font-size:1.2rem;font-weight:700}.timer.low .timer-count{color:var(--bad);animation:1s ease-in-out infinite tick}@keyframes tick{50%{transform:scale(1.2)}}.question-prompt{text-align:center;overflow-wrap:anywhere;padding:22px 22px 8px;font-size:clamp(1.25rem,3.6vw,1.6rem);line-height:1.3}.choices{gap:12px;padding:16px 18px;display:grid}@media (width>=640px){.choices{grid-template-columns:1fr 1fr}}.choice{background:var(--surface-2);min-height:60px;color:var(--ink);text-align:left;box-shadow:0 4px 0 var(--surface-3);border:0;border-radius:16px;align-items:center;gap:12px;padding:10px 14px;font-size:1.05rem;font-weight:700;transition:transform 80ms,box-shadow 80ms,background .15s,opacity .2s;display:flex}.choice:hover:not(:disabled){background:#ebe7ff}.choice:active:not(:disabled){box-shadow:0 1px 0 var(--surface-3);transform:translateY(3px)}.choice:disabled{cursor:default}.choice-letter{background:var(--topic);color:#fff;width:32px;height:32px;font-family:var(--font-display);border-radius:10px;flex:none;place-items:center;font-weight:700;display:grid}.choice-text{overflow-wrap:anywhere;flex:1}.choice.correct{background:var(--good);color:#fff;box-shadow:0 4px 0 var(--good-dark);animation:.4s bounce}.choice.wrong,.choice.missed{background:var(--bad);color:#fff;box-shadow:0 4px 0 var(--bad-dark)}.choice.wrong{animation:.4s shake}.choice.correct .choice-letter,.choice.wrong .choice-letter,.choice.missed .choice-letter{background:#ffffff40}.choice.dim{opacity:.45}.choice.bombed{opacity:.25;box-shadow:none;text-decoration:line-through}@keyframes bounce{40%{transform:scale(1.04)}}@keyframes shake{20%,60%{transform:translate(-6px)}40%,80%{transform:translate(6px)}}.powerups{flex-wrap:wrap;justify-content:center;gap:8px;padding:4px 18px 20px;display:flex}.powerup{border:2px solid var(--line);background:var(--surface);color:var(--ink-soft);border-radius:999px;align-items:center;gap:6px;padding:8px 14px 8px 10px;font-size:.9rem;font-weight:800;display:inline-flex;position:relative}.powerup:hover:not(:disabled){border-color:var(--brand);color:var(--brand-text)}.powerup:disabled{opacity:.4;cursor:not-allowed}.powerup-icon{font-size:1.1rem}.powerup-count{background:var(--surface-3);min-width:22px;height:22px;color:var(--ink);border-radius:999px;place-items:center;padding:0 6px;font-size:.8rem;display:inline-grid}.powerup-active{text-align:center;width:100%;color:var(--brand-text);font-weight:800}.feedback{border-radius:18px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:0 18px 18px;padding:14px 16px;animation:.22s pop-in;display:flex}.feedback.good{color:var(--good-text);background:#e3f9ea}.feedback.bad{color:var(--bad-text);background:#ffeaea}.feedback-text{flex-direction:column;gap:2px;min-width:0;display:flex}.feedback-text strong{font-family:var(--font-display);font-size:1.4rem;font-weight:700}.feedback .btn{flex:1 0 auto;max-width:100%}@media (width>=520px){.feedback .btn{flex:none}}.crown-burst{filter:drop-shadow(0 6px #d9950059);font-size:4.2rem;line-height:1;animation:.7s cubic-bezier(.2,.9,.3,1.5) crown-in}@keyframes crown-in{0%{opacity:0;transform:scale(.2)rotate(-30deg)}to{opacity:1;transform:none}}.topic-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px;width:100%;margin:6px 0;display:grid}.topic-tile{background:var(--topic);color:#fff;text-shadow:0 1px #0003;border:0;border-radius:20px;flex-direction:column;align-items:center;gap:8px;padding:16px 10px 14px;font-weight:800;transition:transform .1s;display:flex;position:relative;box-shadow:0 5px #00000038}.topic-tile:hover:not(:disabled){transform:translateY(-3px)}.topic-tile:active:not(:disabled){transform:translateY(3px);box-shadow:0 2px #00000038}.topic-tile:disabled{opacity:.4;cursor:not-allowed}.topic-tile-icon{width:54px;height:54px;text-shadow:none;background:#ffffff47;border-radius:50%;place-items:center;font-size:1.8rem;display:grid}.topic-tile-name{overflow-wrap:anywhere;line-height:1.2}.topic-tile-owned{background:#00000040;border-radius:999px;padding:2px 8px;font-size:.75rem;position:absolute;top:8px;right:8px}.duel-setup{text-align:left;align-items:stretch}.duel-setup h2{text-align:center}.duel-step{flex-direction:column;gap:10px;padding-top:6px;display:flex}.duel-step h3{font-size:1.05rem}.choice-chip{border:3px solid var(--line);background:var(--surface);border-radius:999px;align-items:center;gap:8px;min-height:46px;padding:6px 14px 6px 6px;font-weight:800;display:inline-flex}.choice-chip.selected{border-color:var(--player);background:color-mix(in srgb, var(--player) 14%, white)}.duel-actions{justify-content:flex-end;margin-top:6px}.duel-score{align-items:center;gap:14px;display:flex}.duel-vs{font-family:var(--font-display);color:var(--ink-faint);font-weight:700}.duel-player{background:var(--surface-2);border-radius:18px;flex-direction:column;align-items:center;gap:4px;min-width:110px;padding:12px 18px;display:flex}.duel-player.winner{background:color-mix(in srgb, var(--player) 22%, white);box-shadow:0 0 0 3px var(--player)}.duel-player-name{font-weight:800}.duel-player-score{font-family:var(--font-display);font-size:2.2rem;font-weight:700;line-height:1}.pass-view{gap:18px;padding:40px 22px}.pass-view .avatar-big{animation:.6s cubic-bezier(.2,.9,.3,1.4) crown-in}.pass-view p{max-width:420px}.results-hero{max-width:none}.results-hero h1{font-size:clamp(1.9rem,6vw,2.6rem)}.trophy{font-size:4.5rem;line-height:1;animation:.8s cubic-bezier(.2,.9,.3,1.5) crown-in}.results-actions{justify-content:center;margin-top:6px}.standings{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.standings li{background:var(--surface-2);border-radius:16px;flex-wrap:wrap;align-items:center;gap:12px;padding:10px 12px;display:flex}.standings-main{flex-direction:column;flex:1;min-width:120px;display:flex}.standings-crowns{flex-wrap:wrap;gap:4px;display:flex}.topic-bars{flex-direction:column;gap:10px;display:flex}.topic-bar{grid-template-columns:minmax(0,180px) 1fr auto;align-items:center;gap:12px;display:grid}.topic-bar-track{background:var(--surface-3);border-radius:8px;height:12px;overflow:hidden}.topic-bar-fill{background:var(--topic);border-radius:8px;height:100%}.topic-bar-value{color:var(--ink-soft);text-align:right;min-width:3ch;font-weight:800}.review-list{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.review-list li{background:var(--surface-2);border-left:6px solid var(--topic,var(--brand));border-radius:14px;padding:12px 14px}.review-prompt{font-weight:700}.review-answer{color:var(--good-text);flex-wrap:wrap;align-items:center;gap:8px;margin-top:4px;font-weight:800;display:flex}.overlay{z-index:40;background:var(--scrim);justify-content:center;align-items:flex-start;padding:24px 16px;display:flex;position:fixed;inset:0;overflow-y:auto}.overlay-card{width:100%;max-width:720px;animation:.22s pop-in}.question-stack{flex-direction:column;gap:14px;width:100%;max-width:680px;display:flex}.answer-tip{border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-card);border-left:6px solid var(--good);align-items:flex-start;gap:14px;padding:16px 18px;animation:.26s pop-in;display:flex}.answer-tip.bad{border-left-color:var(--gold)}.answer-tip-icon{background:var(--tint-info);border-radius:12px;flex:none;place-items:center;width:40px;height:40px;font-size:1.3rem;display:grid}.answer-tip-body{overflow-wrap:anywhere;flex-direction:column;gap:4px;min-width:0;display:flex}.answer-tip-body strong{font-family:var(--font-display);font-size:1.1rem}.answer-tip-pick{color:var(--bad-text);background:#ffeaea;border-radius:12px;margin-top:4px;padding:8px 12px;font-weight:700}.waiting-view{padding:36px 22px}.waiting-avatar{animation:1.6s ease-in-out infinite bob}@keyframes bob{50%{transform:translateY(-6px)}}.waiting-dots{gap:6px;display:flex}.waiting-dots span{background:var(--brand);border-radius:50%;width:10px;height:10px;animation:1.2s ease-in-out infinite dot}.waiting-dots span:nth-child(2){animation-delay:.15s}.waiting-dots span:nth-child(3){animation-delay:.3s}@keyframes dot{0%,80%,to{opacity:.25;transform:scale(.8)}40%{opacity:1;transform:scale(1)}}.turn-badge{color:#fff;background:#ffffff29;border-radius:999px;flex:none;padding:6px 12px;font-size:.85rem;font-weight:800}.turn-badge.mine{background:var(--gold);color:#4a3200}.demo-coach{background:var(--tint-gold);color:#4a3200;box-shadow:var(--shadow-card);border-radius:16px;align-items:center;gap:12px;padding:10px 14px;display:flex}.demo-coach-icon{font-size:1.4rem}.demo-coach-text{flex-direction:column;flex:1;min-width:0;font-size:.92rem;line-height:1.35;display:flex}.demo-coach-text strong{font-family:var(--font-display);font-size:1.05rem}.demo-coach-hide{color:#8a5a00;flex:none}.demo-next{background:var(--surface-2);border-radius:18px;flex-direction:column;align-items:center;gap:10px;margin-top:6px;padding:16px;display:flex}.demo-next h2{font-size:1.3rem}.taste-next{text-align:center}.taste-trail{flex-direction:column;align-items:center;gap:14px;width:100%;padding:6px 0 10px;display:flex}.taste-trail-banner{background:var(--topic);color:#fff;border-radius:999px;padding:6px 16px;font-weight:800}.taste-trail ol{flex-direction:column;align-items:center;gap:14px;margin:0;padding:0;list-style:none;display:flex}.taste-trail li{transform:translateX(var(--x));position:relative}.taste-node{background:color-mix(in srgb, var(--topic) 35%, var(--surface));width:58px;height:54px;box-shadow:0 5px 0 color-mix(in srgb, var(--topic) 55%, #000);border-radius:50%;place-items:center;font-size:1.5rem;line-height:1;display:grid}.taste-node.is-first{background:var(--topic);outline:4px solid color-mix(in srgb, var(--topic) 30%, #fff);outline-offset:3px}.taste-node svg,.taste-node img{max-width:38px;max-height:38px}.taste-start{background:var(--ink);color:var(--surface);border-radius:10px;padding:4px 10px;font-size:.8rem;font-weight:800;position:absolute;top:50%;left:calc(100% + 12px);transform:translateY(-50%)}.taste-actions{justify-content:center}.tilt-switch{border:2px solid var(--surface-2);background:var(--surface);color:var(--ink);font:inherit;cursor:pointer;border-radius:999px;align-items:center;gap:8px;padding:6px 8px 6px 14px;font-weight:800;display:inline-flex}.tilt-switch-state{background:var(--surface-2);min-width:3em;color:var(--ink-soft);border-radius:999px;padding:2px 10px}.tilt-switch[aria-checked=true]{border-color:var(--topic,var(--brand))}.tilt-switch[aria-checked=true] .tilt-switch-state{background:var(--topic,var(--brand));color:#fff}.wheel-box{display:contents}@media (width<=959.98px){.app-main:has(>.trivia-screen){padding-bottom:0}.trivia-screen{gap:10px;min-height:100svh;padding:8px 12px 12px;overflow-x:clip}.trivia-screen>.topbar{gap:8px;min-height:40px}.trivia-screen .scoreboard{grid-template-columns:repeat(auto-fit,minmax(min(140px,100%),1fr));gap:8px}.trivia-screen .scoreboard.versus{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.trivia-screen .score-card{border-radius:14px;gap:5px;padding:6px 8px}.trivia-screen .score-card.active{transform:none}.trivia-screen .score-card-head{gap:6px;font-size:.92rem}.trivia-screen .score-card .avatar{width:26px;height:26px}.trivia-screen .score-card-crowns{gap:3px}.trivia-screen .score-card-crowns .topic-badge .topic-badge-icon{--size:20px}.trivia-screen .demo-coach{gap:10px;min-height:90px;padding:8px 12px}.trivia-screen .demo-coach-icon{font-size:1.15rem}.trivia-screen .demo-coach-text{font-size:.84rem;line-height:1.3}.trivia-screen .demo-coach-text strong{font-size:.95rem}.trivia-screen>.stage{flex:1 0 auto;align-items:flex-start}.trivia-screen .spin-view{align-self:stretch;gap:8px}.trivia-screen .spin-status{height:44px;min-height:0}.trivia-screen .spin-banner{font-size:1.2rem}.trivia-screen .spin-landed{padding:4px 18px;font-size:1.35rem}.trivia-screen .wheel-box{flex-direction:column;flex:1 1 0;justify-content:center;align-items:center;width:100%;min-height:240px;display:flex;container-type:size}.trivia-screen .wheel-box .crown-arc{flex:none;width:min(62cqw,220px);margin-bottom:-16px}.trivia-screen .wheel-box .wheel{flex:none;width:min(100cqw - 8px,100cqh - min(20.7cqw,74px) + 12px,380px);container-type:inline-size}.trivia-screen .wheel-box .wheel-hub{letter-spacing:.02em;border-width:4px;font-size:clamp(.7rem,6.4cqw,1.45rem)}.trivia-screen .spin-meter{margin:0}.trivia-screen .wheel-legend{gap:5px}.trivia-screen .wheel-legend li{gap:4px;padding:3px 9px 3px 4px;font-size:.78rem}.trivia-screen .wheel-legend li span{width:20px;height:20px;font-size:.7rem}:is(.trivia-screen,.drill-screen) .question-stack{gap:10px}:is(.trivia-screen,.drill-screen) .question-head{gap:10px;padding:8px 12px}:is(.trivia-screen,.drill-screen) .question-topic-icon{width:34px;height:34px;font-size:1.15rem}:is(.trivia-screen,.drill-screen) .question-topic{font-size:1.1rem}:is(.trivia-screen,.drill-screen) .timer{padding:8px 12px 0}:is(.trivia-screen,.drill-screen) .timer-track{height:10px}:is(.trivia-screen,.drill-screen) .timer-count{font-size:1rem}:is(.trivia-screen,.drill-screen) .question-prompt{padding:10px 14px 2px;font-size:clamp(1.05rem,4.6vw,1.3rem)}:is(.trivia-screen,.drill-screen) .choices{gap:8px;padding:10px 12px}:is(.trivia-screen,.drill-screen) .choice{border-radius:14px;gap:10px;min-height:48px;padding:7px 12px;font-size:.98rem}:is(.trivia-screen,.drill-screen) .choice-letter{border-radius:9px;width:28px;height:28px}:is(.trivia-screen,.drill-screen) .powerups{gap:6px;padding:0 12px 12px}:is(.trivia-screen,.drill-screen) .powerup{gap:4px;padding:6px 9px 6px 7px;font-size:.8rem}:is(.trivia-screen,.drill-screen) .powerup-icon{font-size:1rem}:is(.trivia-screen,.drill-screen) .feedback{gap:8px;margin:0 12px 12px;padding:10px 12px}:is(.trivia-screen,.drill-screen) .feedback-text strong{font-size:1.2rem}:is(.trivia-screen,.drill-screen) .answer-tip{gap:10px;padding:10px 12px;font-size:.92rem}:is(.trivia-screen,.drill-screen) .answer-tip-icon{width:32px;height:32px;font-size:1.1rem}:is(.trivia-screen,.drill-screen) .answer-tip-body strong{font-size:1rem}.trivia-screen .panel{gap:10px;padding:20px 16px}.trivia-screen .waiting-view>p{place-items:center;min-height:2.7em;display:grid}}@media (width<=959.98px) and (height<=620px){.trivia-screen{gap:8px;padding-top:6px}.trivia-screen .demo-coach{min-height:78px;padding:6px 10px}.trivia-screen .demo-coach-text{font-size:.8rem;line-height:1.25}.trivia-screen .spin-meter{display:none}.trivia-screen .wheel-box{min-height:200px}.trivia-screen .wheel-box .crown-arc{width:min(50cqw,180px);margin-bottom:-14px}.trivia-screen .wheel-box .wheel{width:min(100cqw - 8px,100cqh - min(16.7cqw,60px) + 10px,380px)}:is(.trivia-screen,.drill-screen) .question-prompt{padding-top:8px;font-size:clamp(1rem,4.4vw,1.15rem)}:is(.trivia-screen,.drill-screen) .choices{gap:6px;padding:8px 12px}:is(.trivia-screen,.drill-screen) .choice{min-height:42px;padding:5px 10px;font-size:.94rem}:is(.trivia-screen,.drill-screen) .choice-letter{width:26px;height:26px}.trivia-screen .panel{padding:16px 14px}}@media (width<=959.98px) and (height<=700px){.trivia-screen .wheel-legend{scrollbar-width:none;flex-wrap:nowrap;justify-content:flex-start;max-width:100%;padding-inline:2px;overflow-x:auto}.trivia-screen .wheel-legend::-webkit-scrollbar{display:none}.trivia-screen .wheel-legend li{flex:none}}:root[data-theme=dark] .choice:hover:not(:disabled){background:var(--tint-brand)}:root[data-theme=dark] .timer.low .timer-count{color:var(--bad-text)}:root[data-theme=dark] .feedback.good{background:var(--tint-good)}:root[data-theme=dark] .feedback.bad,:root[data-theme=dark] .answer-tip-pick{background:var(--tint-bad)}:root[data-theme=dark] .choice-chip.selected{background:color-mix(in srgb, var(--player) 24%, var(--surface))}:root[data-theme=dark] .duel-player.winner{background:color-mix(in srgb, var(--player) 30%, var(--surface))}:root[data-theme=dark] .demo-coach,:root[data-theme=dark] .demo-coach-hide{color:var(--tint-gold-ink)}.matchmaking{z-index:70;align-items:center}.matchmaking-card{border-radius:var(--radius-lg);background:var(--surface);width:100%;max-width:440px;box-shadow:var(--shadow-card);text-align:center;flex-direction:column;align-items:center;gap:12px;padding:32px 24px;animation:.22s mm-in;display:flex}.matchmaking-card h2{font-size:1.7rem}.matchmaking-search,.matchmaking-vs{align-items:center;gap:14px;margin:6px 0;display:flex}.matchmaking-vs-word{font-family:var(--font-display);color:var(--ink-faint);font-size:1.5rem;font-weight:700}.matchmaking-reel{background:var(--surface-2);border-radius:50%;width:84px;height:84px;overflow:hidden;box-shadow:inset 0 -6px #00000014,0 0 0 4px #fff}.matchmaking-reel-strip{flex-direction:column;animation:1.6s linear infinite mm-reel;display:flex}.matchmaking-reel-strip>span{place-items:center;height:84px;display:grid}.matchmaking-reel-strip .avatar{box-shadow:none}.matchmaking-pop{animation:.42s cubic-bezier(.2,.9,.3,1.5) mm-pop}@keyframes mm-reel{0%{transform:translateY(0)}to{transform:translateY(-1344px)}}@keyframes mm-pop{0%{opacity:0;transform:scale(.3)}to{opacity:1;transform:none}}@keyframes mm-in{0%{opacity:0;transform:scale(.95)}}:root[data-theme=dark] .matchmaking-reel{box-shadow:inset 0 -6px 0 #00000014, 0 0 0 4px var(--surface)}:root[data-theme=dark] .matchmaking-card .avatar-xl{box-shadow:inset 0 -6px 0 #00000026, 0 0 0 4px var(--surface)}.adventure-screen{gap:12px}.adv-bamboo{background:var(--on-dark-fill);color:var(--on-dark);font-family:var(--font-display);white-space:nowrap;border-radius:999px;align-items:center;gap:6px;padding:4px 12px;font-size:1.05rem;display:inline-flex}.adv-stage{position:relative}.adv-world{flex-direction:column;gap:12px;display:flex}.adv-canvas-wrap{border-radius:var(--radius-lg);width:100%;height:clamp(240px,min(56vh,80vw),520px);box-shadow:var(--shadow-card);background:#4fc6d3;border:4px solid #ffffffd9;position:relative;overflow:hidden}.adv-canvas{width:100%;height:100%;display:block}.adv-pad{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;justify-content:space-between;align-items:center;gap:12px;display:flex}.adv-pad-group{gap:12px;display:flex}.adv-pad-btn{touch-action:none;min-width:72px;min-height:60px;font-size:1.6rem}.adv-jump{min-width:96px}@media (hover:hover) and (pointer:fine){.adv-pad{display:none}}@media (hover:none),(pointer:coarse){.adv-keys{display:none}}.adv-hint{color:#fff;text-align:center;pointer-events:none;background:#1f1a4db8;border-radius:999px;max-width:calc(100% - 24px);margin:0;padding:6px 14px;font-size:.92rem;font-weight:700;position:absolute;top:12px;left:50%;transform:translate(-50%)}.adv-banner{width:min(420px,100% - 24px);padding:22px 18px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.adv-banner[role=status]{animation:.26s cubic-bezier(.2,1.4,.4,1) both adv-banner-in}@keyframes adv-banner-in{0%{opacity:0;transform:translate(-50%,-50%)scale(.85)}}@media (prefers-reduced-motion:reduce){.adv-banner[role=status]{animation:none}}.adv-skip{position:absolute;bottom:12px;right:12px}.adv-options{color:var(--on-dark-soft);flex-wrap:wrap;align-items:center;gap:12px;display:flex}.adv-question-layer{z-index:40;background:linear-gradient(#140c4659,#140c46b3);justify-content:center;align-items:flex-start;padding:24px 16px;display:flex;position:fixed;inset:0;overflow-y:auto}.adv-question{flex-direction:column;align-items:center;gap:12px;width:100%;max-width:680px;margin:auto 0;animation:.22s pop-in;display:flex}.adv-asker{border-radius:var(--radius);background:var(--surface);color:var(--ink);font-family:var(--font-display);text-align:center;box-shadow:var(--shadow-card);margin:0;padding:8px 16px;font-size:1.1rem}@media (width<=520px){.adv-hint{border-radius:var(--radius-sm);padding:4px 10px;font-size:.8rem;top:8px}}@media (prefers-reduced-motion:reduce){.adv-question{animation:none}}:root[data-theme=dark] .adv-canvas-wrap{border-color:var(--line);box-shadow:none}:root[data-theme=dark] .adv-question-layer{background:var(--scrim)}.blast-screen{gap:10px;max-width:1100px}.blast-question{border-radius:var(--radius-lg);background:var(--surface);color:var(--on-dark);text-align:center;box-shadow:var(--shadow-card);border:2px solid #0000;flex-direction:column;align-items:center;gap:6px;padding:12px 20px 14px;display:flex}.blast-question-head{color:var(--on-dark-soft);flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;font-size:.85rem;font-weight:800;display:flex}.blast-topic{background:var(--topic,var(--brand));color:#fff;border-radius:999px;padding:2px 10px}.blast-prompt{min-height:2.5em;font-family:var(--font-display);justify-content:center;align-items:center;max-width:900px;margin:0;font-size:clamp(1.15rem,3vw,1.9rem);line-height:1.25;display:flex}.blast-timer{background:#ffffff2e;border-radius:999px;width:min(100%,520px);height:8px;overflow:hidden}.blast-timer span{border-radius:inherit;background:var(--gold);height:100%;animation:blast-timer var(--seconds) linear forwards;display:block}@keyframes blast-timer{0%{width:100%}to{width:0%}}.blast-field{border-radius:var(--radius-lg);width:100%;height:clamp(360px,100svh - 290px,640px);box-shadow:var(--shadow-card);background:#1a0f55;border:4px solid #ffffff29;position:relative;overflow:hidden}.blast-canvas-wrap{touch-action:none;-webkit-user-select:none;user-select:none;cursor:crosshair;position:absolute;inset:0}.blast-canvas{width:100%;height:100%;display:block}.blast-hud{pointer-events:none;color:#fff;font-family:var(--font-display);position:absolute;inset:0}.blast-level,.blast-streak{flex-direction:column;gap:4px;width:min(28%,170px);font-size:1rem;line-height:1;display:flex;position:absolute;top:10px}.blast-level{left:14px}.blast-streak{align-items:flex-end;right:14px}.blast-bar{background:#ffffff2e;border-radius:999px;width:100%;height:10px;overflow:hidden}.blast-bar span{border-radius:inherit;background:linear-gradient(90deg, #9c8dff, var(--gold));height:100%;transition:width .3s;display:block}.blast-pips{gap:4px;width:100%;display:flex}.blast-pips span{background:#ffffff2e;border-radius:999px;flex:1;height:10px;transition:background .2s}.blast-pips span.is-on{background:#c77dff;box-shadow:0 0 8px #c77dffcc}.blast-score{background:#140c468c;border-radius:999px;align-items:center;gap:6px;padding:2px 12px;font-size:1.25rem;display:flex;position:absolute;top:8px;left:50%;transform:translate(-50%)}.blast-mult{background:var(--gold);color:#4a3200;border-radius:999px;padding:0 8px;font-size:.95rem}.blast-bomb{position:absolute;bottom:14px;right:14px}.blast-how{background:#0a05288c;justify-content:center;align-items:center;padding:16px;display:flex;position:absolute;inset:0;overflow-y:auto}.blast-how-card{border-radius:var(--radius-lg);background:var(--surface);width:min(520px,100%);color:var(--ink);text-align:center;box-shadow:var(--shadow-card);flex-direction:column;align-items:center;gap:10px;padding:20px;animation:.24s cubic-bezier(.2,.9,.3,1.2) pop-in;display:flex}.blast-how-card h2{font-size:clamp(1.4rem,4vw,1.8rem)}.blast-rules{text-align:left;color:var(--ink-soft);gap:6px;margin:0;padding:0;font-weight:700;list-style:none;display:grid}.blast-rules li{border-radius:var(--radius-sm);background:var(--surface-2);gap:10px;padding:7px 12px;display:flex}.blast-review{flex-direction:column;gap:8px;width:min(640px,100% - 20px);max-height:56%;margin-inline:auto;animation:.2s pop-in;display:flex;position:absolute;top:10px;left:0;right:0;overflow-y:auto}.blast-review-head{border-radius:var(--radius);color:var(--bad-text);border-left:6px solid var(--bad);background:#fde8e8;flex-wrap:wrap;align-items:center;gap:6px 12px;padding:10px 14px;display:flex}.blast-review-head>span{min-width:180px;color:var(--ink);flex:1}.blast-review .answer-tip{padding:12px 14px}.blast-outro{color:#fff;text-align:center;pointer-events:none;flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.blast-outro h2{color:var(--gold);text-shadow:0 3px #5b2a86;font-size:clamp(1.8rem,6vw,2.8rem)}.blast-a11y{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.blast-a11y:focus-within{clip-path:none;border-radius:var(--radius);white-space:normal;background:#140c46d9;flex-wrap:wrap;justify-content:center;gap:6px;width:auto;max-width:calc(100% - 20px);height:auto;padding:8px;display:flex;bottom:60px;left:50%;transform:translate(-50%)}.blast-stats{flex-wrap:wrap;justify-content:center;gap:10px;margin:4px 0 0;padding:0;list-style:none;display:flex}.blast-stats li{border-radius:var(--radius-sm);background:var(--surface-2);color:var(--ink-soft);flex-direction:column;align-items:center;padding:8px 14px;font-size:.85rem;display:flex}.blast-stats strong{font-family:var(--font-display);color:var(--ink);font-size:1.3rem}.blast-keys{text-align:center;color:var(--on-dark-soft);margin:0}.blast-keys-touch{display:none}@media (hover:none),(pointer:coarse){.blast-keys-desk{display:none}.blast-keys-touch{display:inline}}@media (width<=640px){.blast-question{border-radius:var(--radius);padding:10px 12px}.blast-field{border-radius:var(--radius);border-width:3px;height:clamp(340px,100svh - 250px,600px)}.blast-level,.blast-streak{width:34%;font-size:.85rem}.blast-score{font-size:1.05rem}.blast-review{gap:6px;max-height:48%}.blast-review-head{padding:8px 10px;font-size:.9rem}.blast-review .answer-tip{padding:8px 10px;font-size:.88rem}.blast-review .answer-tip-icon{display:none}}@media (prefers-reduced-motion:reduce){.blast-how-card,.blast-review{animation:none}}:root:not([data-theme=dark]) .blast-timer{background:var(--surface-3)}:root:not([data-theme=dark]) .blast-field{border-color:#5b48d61f}:root[data-theme=dark] .blast-question{background:var(--surface);border-color:var(--line);box-shadow:none}:root[data-theme=dark] .blast-prompt{text-shadow:none}:root[data-theme=dark] .blast-field{border-color:var(--line);box-shadow:none}:root[data-theme=dark] .blast-review-head{background:var(--tint-bad)}:root[data-theme=dark] .blast-a11y:focus-within{background:color-mix(in srgb, var(--surface) 92%, transparent)}.match-screen{gap:10px;max-width:980px}.match-clock{flex:1;align-items:center;gap:10px;min-width:0;display:flex}.match-clock-bar{background:#fff3;border-radius:999px;flex:1;height:16px;overflow:hidden;box-shadow:inset 0 2px #00000026}.match-clock-bar span{border-radius:inherit;background:linear-gradient(180deg, #ffe07a, var(--gold));height:100%;transition:width .26s linear,background .3s;display:block}.match-clock strong{min-width:3.2em;font-family:var(--font-display);font-variant-numeric:tabular-nums;text-align:right;font-size:1.2rem}.match-screen.is-hurry .match-clock-bar span{background:linear-gradient(180deg, #ff8a8a, var(--bad))}.match-screen.is-hurry .match-clock strong{color:#ffb4b4;animation:1s ease-in-out infinite match-throb}@keyframes match-throb{50%{transform:scale(1.15)}}.match-hud{border-radius:var(--radius-lg);background:var(--surface);color:var(--on-dark);box-shadow:var(--shadow-card);border:2px solid #0000;grid-template-columns:auto 1fr minmax(0,1.2fr);align-items:center;gap:14px;padding:6px 16px 6px 8px;display:grid}.match-buddy{width:76px;height:88px;position:relative}.match-panda-canvas{display:block}.match-bubble{z-index:2;color:var(--ink);font-family:var(--font-display);white-space:nowrap;pointer-events:none;background:#fff;border-radius:12px;padding:4px 10px;font-size:.95rem;font-weight:600;animation:1.7s forwards match-bubble;position:absolute;top:-20px;left:40px;box-shadow:0 3px #0000002e}.match-bubble:before{content:"";border:6px solid #0000;border-top-color:#fff;border-bottom:0;position:absolute;bottom:-6px;left:10px}.match-bubble.is-combo,.match-bubble.is-party{background:var(--gold);color:#4a3200}.match-bubble.is-combo:before,.match-bubble.is-party:before{border-top-color:var(--gold)}.match-bubble.is-oops,.match-bubble.is-hurry{color:var(--bad-text);background:#ffe1e1}.match-bubble.is-oops:before,.match-bubble.is-hurry:before{border-top-color:#ffe1e1}@keyframes match-bubble{0%{opacity:0;transform:scale(.4)translateY(8px)}12%{opacity:1;transform:scale(1.08)}20%{transform:none}80%{opacity:1}to{opacity:0;transform:translateY(-6px)}}.match-score{flex-direction:column;align-items:flex-start;gap:2px;min-width:0;display:flex}.match-topic{background:var(--topic,var(--brand));color:#fff;white-space:nowrap;text-overflow:ellipsis;border-radius:999px;max-width:100%;padding:2px 10px;font-size:.8rem;font-weight:800;overflow:hidden}.match-score strong{font-family:var(--font-display);font-variant-numeric:tabular-nums;font-size:clamp(1.7rem,4.5vw,2.3rem);line-height:1.05}.match-score strong.is-bump{animation:.3s cubic-bezier(.2,.9,.3,1.4) match-bump}@keyframes match-bump{0%{color:var(--gold);transform:scale(1.18)}}.match-combo{grid-template-rows:auto auto;grid-template-columns:auto auto 1fr;align-items:center;gap:5px 8px;min-width:0;font-weight:800;display:grid}.match-level{background:#ffffff29;border-radius:999px;padding:2px 8px;font-size:.8rem}.match-mult{font-family:var(--font-display);color:#ffffff73;font-size:1.35rem;line-height:1}.match-mult.is-on{color:var(--gold);text-shadow:0 0 14px #ffc93cb3;animation:.36s cubic-bezier(.2,.9,.3,1.6) match-bump}.match-combo-count{color:var(--on-dark-soft);white-space:nowrap;text-overflow:ellipsis;font-size:.85rem;overflow:hidden}.match-combo-bar{background:#ffffff24;border-radius:999px;grid-column:1/-1;height:8px;overflow:hidden}.match-combo-bar span{border-radius:inherit;background:linear-gradient(90deg,#ff9f43,#ffd43b);height:100%;animation:linear forwards match-drain;display:block}@keyframes match-drain{0%{width:100%}to{width:0%}}.match-field{width:100%;height:clamp(330px,100svh - 290px,560px);position:relative}.match-board{--cols:minmax(0, 1.25fr) minmax(0, 1fr);grid-template-columns:var(--cols);gap:12px;height:100%;display:grid;position:relative}.match-col{grid-template-rows:repeat(var(--rows), minmax(0, 1fr));gap:10px;min-height:0;display:grid}.match-card{--card-bg:var(--surface);--card-edge:var(--surface-3);--card-ink:var(--ink);border:3px solid var(--card-line,transparent);background:var(--card-bg);min-height:0;color:var(--card-ink);box-shadow:0 5px 0 var(--card-edge);font:inherit;text-align:center;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation;border-radius:16px;justify-content:center;align-items:center;margin:0;padding:8px 14px;transition:transform 90ms,box-shadow 90ms,background .12s,border-color .12s;display:flex;position:relative;overflow:hidden}.match-card.is-new{animation:.28s cubic-bezier(.2,.9,.3,1.3) both match-in;animation-delay:var(--delay,0s)}.match-card.is-answer{--card-bg:#f6f3ff;--card-edge:#d9d3fb}.match-card:hover:not(:disabled){filter:brightness(1.03);border-color:#6c5ce759}.match-card:active:not(:disabled){box-shadow:0 2px 0 var(--card-edge);transform:translateY(3px)}.match-card:focus-visible{outline:3px solid var(--gold);outline-offset:2px}.match-card:disabled{cursor:default}.match-text{overflow-wrap:anywhere;max-height:100%;line-height:1.22;display:block}.match-card.is-answer .match-text{font-family:var(--font-display);font-size:1.2rem;font-weight:600}.match-card.is-question .match-text{font-size:1rem;font-weight:700}.match-card.is-answer.is-mid .match-text{font-size:1.02rem}.match-card.is-answer.is-long .match-text,.match-card.is-question.is-mid .match-text{font-size:.92rem}.match-card.is-question.is-long .match-text{font-size:.84rem}.match-key{background:var(--surface-3);min-width:18px;color:var(--ink-soft);border-radius:6px;padding:0 4px;font-size:.7rem;font-weight:800;line-height:18px;position:absolute;top:5px;left:7px}.match-card.is-picked{--card-bg:#fff6d6;--card-edge:var(--gold-dark);border-color:var(--gold);box-shadow:0 8px 0 var(--card-edge), 0 0 0 4px #ffc93c59;transform:translateY(-3px)}.match-card.is-wrong{--card-bg:#ffe1e1;--card-edge:#f3a7a7;--card-ink:var(--bad-text);border-color:var(--bad);animation:.38s shake}.match-card.is-out{--card-bg:var(--good);--card-edge:var(--good-dark);--card-ink:#fff;border-color:#86efac;animation:.38s forwards match-out}.match-card.is-out .match-key{visibility:hidden}.match-card.is-empty{box-shadow:none;cursor:default;background:0 0;border:3px dashed #ffffff29;animation:none}.match-card.is-hidden{background:#ffffff1f;border:3px solid #ffffff14}@keyframes match-in{0%{opacity:0;transform:scale(.7)}to{opacity:1;transform:none}}@keyframes match-out{0%{transform:scale(1)}35%{opacity:1;transform:scale(1.07)}to{opacity:0;transform:scale(.55)}}.match-pops{grid-template-columns:var(--cols);grid-template-rows:repeat(var(--rows), minmax(0, 1fr));pointer-events:none;gap:10px 12px;display:grid;position:absolute;inset:0}.match-pop{z-index:3;background:var(--good);color:#fff;font-family:var(--font-display);box-shadow:0 3px 0 var(--good-dark);border-radius:999px;grid-column:1;place-self:center end;margin-right:-14px;padding:2px 10px;font-size:1.05rem;animation:.9s ease-out forwards match-pop}.match-pop.is-combo{background:var(--gold);color:#4a3200;box-shadow:0 3px 0 var(--gold-dark)}@keyframes match-pop{0%{opacity:0;transform:translateY(6px)scale(.6)}20%{opacity:1;transform:scale(1.12)}70%{opacity:1}to{opacity:0;transform:translateY(-34px)}}.match-how,.match-outro,.match-countdown{z-index:5;border-radius:20px;justify-content:center;align-items:center;padding:12px;display:flex;position:absolute;inset:-4px}.match-how,.match-outro{background:#0a052880;overflow-y:auto}.match-how-card,.match-outro-card{border-radius:var(--radius-lg);background:var(--surface);width:min(500px,100%);color:var(--ink);text-align:center;box-shadow:var(--shadow-card);flex-direction:column;align-items:center;gap:10px;margin:auto;padding:20px;animation:.24s cubic-bezier(.2,.9,.3,1.2) pop-in;display:flex}.match-how-card h2,.match-outro-card h2{font-size:clamp(1.4rem,4vw,1.8rem)}.match-rules{text-align:left;width:100%;color:var(--ink-soft);gap:6px;margin:0;padding:0;font-weight:700;list-style:none;display:grid}.match-rules li{border-radius:var(--radius-sm);background:var(--surface-2);gap:10px;padding:7px 12px;display:flex}.match-countdown{pointer-events:none}.match-countdown span{font-family:var(--font-display);color:#fff;text-shadow:0 6px 0 var(--brand-dark), 0 0 40px #ffc93c99;font-size:clamp(5rem,22vw,9rem);line-height:1;animation:.9s ease-out both match-count}@keyframes match-count{0%{opacity:0;transform:scale(2)}25%{opacity:1;transform:scale(1)}80%{opacity:1}to{opacity:.2;transform:scale(.85)}}.match-stars{align-items:flex-end;gap:8px;font-size:clamp(2.6rem,10vw,3.4rem);line-height:1;display:flex}.match-stars span{color:var(--surface-3);text-shadow:0 3px #0000001f}.match-stars span:nth-child(2){font-size:1.25em;transform:translateY(-6px)}.match-stars span.is-on{color:var(--gold);text-shadow:0 3px #b07a00,0 0 18px #ffc93cbf;animation:.42s cubic-bezier(.2,.9,.3,1.5) both match-star;animation-delay:calc(.75s + var(--i) * .4s)}.match-stars span:nth-child(2).is-on{animation-name:match-star-mid}@keyframes match-star{0%{opacity:0;transform:scale(.2)rotate(-40deg)}to{opacity:1;transform:scale(1)rotate(0)}}@keyframes match-star-mid{0%{opacity:0;transform:translateY(-6px)scale(.2)rotate(-40deg)}to{opacity:1;transform:translateY(-6px)scale(1)rotate(0)}}.match-stats{flex-wrap:wrap;justify-content:center;gap:8px;margin:0;padding:0;list-style:none;display:flex}.match-stats li{border-radius:var(--radius-sm);background:var(--surface-2);flex-direction:column;align-items:center;min-width:84px;padding:8px 12px;display:flex}.match-stats strong{font-family:var(--font-display);font-size:1.45rem;line-height:1.1}.match-stats span{color:var(--ink-soft);font-size:.8rem;font-weight:700}.match-summary-stars{color:var(--gold-dark);letter-spacing:.06em}.match-bonus{color:var(--good-text);margin:0;font-weight:800}.match-keys{text-align:center;color:var(--on-dark-soft);margin:0;font-weight:700}.match-keys-touch,.match-combo-count .is-short{display:none}@media (hover:none),(pointer:coarse){.match-keys-desk,.match-key{display:none}.match-keys-touch{display:inline}}@media (width<=640px){.match-screen{gap:8px;padding-top:10px;padding-bottom:10px}.match-hud{grid-template-columns:auto minmax(0,1fr) minmax(0,1.1fr);gap:8px;padding:2px 10px 2px 2px}.match-buddy{width:64px;height:74px}.match-panda-canvas{transform-origin:0 0;transform:scale(.84)}.match-bubble{padding:3px 8px;font-size:.82rem;top:-18px;left:32px}.match-combo-count .is-long{display:none}.match-combo-count .is-short{display:inline}.match-field{height:clamp(320px,100svh - 220px,620px)}.match-board{--cols:minmax(0, 1.15fr) minmax(0, 1fr);gap:8px}.match-col,.match-pops{gap:8px}.match-card{box-shadow:0 4px 0 var(--card-edge);border-width:2px;border-radius:14px;padding:6px 8px}.match-card.is-answer .match-text{font-size:1.02rem}.match-card.is-answer.is-mid .match-text{font-size:.9rem}.match-card.is-answer.is-long .match-text,.match-card.is-question .match-text{font-size:.84rem}.match-card.is-question.is-mid .match-text{font-size:.8rem}.match-card.is-question.is-long .match-text{font-size:.74rem}.match-pop{margin-right:-10px;font-size:.9rem}}.reduce-motion .match-combo-bar span{width:100%;animation:none!important}@media (prefers-reduced-motion:reduce){.match-combo-bar span{width:100%;animation:none!important}}:root:not([data-theme=dark]) .match-clock-bar,:root:not([data-theme=dark]) .match-combo-bar{background:var(--surface-3)}:root:not([data-theme=dark]) .match-level{background:var(--surface-2)}:root:not([data-theme=dark]) .match-mult{color:var(--ink-faint)}:root:not([data-theme=dark]) .match-mult.is-on{color:var(--on-dark-gold);text-shadow:none}:root:not([data-theme=dark]) .match-card.is-empty{border-color:var(--line)}:root:not([data-theme=dark]) .match-card.is-hidden{background:var(--surface-2);border-color:var(--line)}:root[data-theme=dark] .match-hud{background:var(--surface);border-color:var(--line);box-shadow:none}:root[data-theme=dark] .match-bubble{color:#1f1a4d}:root[data-theme=dark] .match-bubble.is-combo,:root[data-theme=dark] .match-bubble.is-party{color:#4a3200}:root[data-theme=dark] .match-bubble.is-oops,:root[data-theme=dark] .match-bubble.is-hurry{color:#b91c1c}:root[data-theme=dark] .match-card{--card-bg:var(--surface);--card-edge:var(--line);--card-line:var(--line)}:root[data-theme=dark] .match-card:hover:not(:disabled,.is-picked,.is-wrong){border-color:var(--brand)}:root[data-theme=dark] .match-card.is-picked{--card-bg:var(--tint-gold);--card-edge:var(--gold-dark);border-color:var(--gold)}:root[data-theme=dark] .match-card.is-wrong{--card-bg:var(--tint-bad);--card-edge:var(--bad-dark);border-color:var(--bad)}:root[data-theme=dark] .match-card.is-out{--card-bg:var(--good);--card-edge:var(--good-dark)}.rapids-screen{gap:10px;max-width:1040px}.rapids-stage{border-radius:var(--radius-lg);width:100%;height:clamp(440px,100svh - 110px,780px);box-shadow:var(--shadow-card);background:#5fbf5a;border:4px solid #ffffffd9;position:relative;overflow:hidden}.rapids-canvas-wrap{touch-action:manipulation;-webkit-user-select:none;user-select:none;position:absolute;inset:0}.rapids-canvas{width:100%;height:100%;display:block}.rapids-hud{pointer-events:none;flex-direction:column;gap:6px;display:flex;position:absolute;top:10px;left:12px;right:12px}.rapids-track{background:#140c4673;border-radius:999px;height:14px;margin:0 28px 0 12px;position:relative;box-shadow:inset 0 0 0 2px #ffffff80}.rapids-flag{font-size:1.3rem;position:absolute;top:50%;right:-26px;transform:translateY(-55%)}.rapids-marker{border-radius:50%;place-items:center;width:28px;height:28px;font-size:1rem;transition:left .12s linear;display:grid;position:absolute;top:50%;transform:translate(-50%,-50%)}.rapids-marker.is-player{box-shadow:0 0 0 3px var(--brand);z-index:1;background:#fff}.rapids-marker.is-rival{background:#fff3e6;box-shadow:0 0 0 3px #d9621c}.rapids-hud-row{font-family:var(--font-display);justify-content:space-between;gap:8px;display:flex}.rapids-gap,.rapids-checks,.rapids-streak{color:#fff;background:#140c4699;border-radius:999px;padding:2px 12px;font-size:1rem}.rapids-gap.is-ahead{background:#228c50d9}.rapids-gap.is-behind{background:#d9621ce0}.rapids-streak.is-hot{background:var(--gold);color:#4a3200}.rapids-hud-row .rapids-checks{margin-left:auto}.rapids-meter{background:#140c4699;border-radius:999px;align-self:flex-start;align-items:center;gap:4px;padding:3px 10px;display:flex}.rapids-meter span:not([aria-hidden]){background:#ffffff40;border-radius:999px;width:14px;height:10px;transition:background .2s}.rapids-meter span.is-on{background:#8bd043;box-shadow:0 0 6px #8bd043e6}.rapids-card{border-radius:var(--radius);border-top:5px solid var(--topic);width:min(680px,100% - 20px);max-height:58%;color:var(--ink);box-shadow:var(--shadow-card);background:#fffffff2;flex-direction:column;gap:8px;padding:12px 14px;animation:.22s rapids-rise;display:flex;position:absolute;bottom:10px;left:50%;overflow-y:auto;transform:translate(-50%)}.rapids-card-head{color:var(--ink-soft);flex-wrap:wrap;align-items:center;gap:6px 10px;font-size:.8rem;font-weight:800;display:flex}.rapids-topic{background:var(--topic,var(--brand));color:#fff;border-radius:999px;padding:1px 9px}.rapids-paused{color:var(--brand-text);margin-left:auto}.rapids-prompt{font-family:var(--font-display);text-align:center;margin:0;font-size:clamp(1.05rem,2.6vw,1.35rem);line-height:1.25}.rapids-choices{grid-template-columns:1fr 1fr;gap:8px;display:grid}.rapids-card .choice{min-height:0;padding:8px 10px;font-size:.95rem}.rapids-card .choice-letter{width:28px;height:28px;font-size:.85rem}.rapids-review{flex-direction:column;align-items:center;gap:8px;display:flex}.rapids-review .answer-tip{width:100%;box-shadow:none;background:var(--surface-2);padding:10px 12px}.rapids-timer{background:var(--surface-3);border-radius:999px;height:6px;overflow:hidden}.rapids-timer span{border-radius:inherit;background:var(--gold);height:100%;animation:rapids-timer var(--seconds) linear forwards;display:block}.rapids-result{max-width:calc(100% - 24px);box-shadow:var(--shadow-card);text-align:center;pointer-events:none;background:#fffffff2;border-radius:999px;padding:10px 18px;animation:.2s rapids-rise,.4s 2.6s forwards rapids-fade;position:absolute;bottom:70px;left:50%;transform:translate(-50%)}.rapids-result.is-good{color:var(--good-text)}.rapids-result.is-bad{color:var(--bad-text)}.rapids-pad{pointer-events:none;touch-action:none;justify-content:space-between;display:flex;position:absolute;bottom:10px;left:10px;right:10px}.rapids-pad-btn{pointer-events:auto;opacity:.92;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;min-width:76px;min-height:64px;font-size:1.6rem}@media (hover:hover) and (pointer:fine){.rapids-pad{display:none}}.rapids-banner{pointer-events:none;text-align:center;color:#fff;max-width:calc(100% - 200px);font-family:var(--font-display);background:#140c46cc;border-radius:999px;margin:0;padding:8px 16px;font-size:1rem;animation:.22s rapids-rise;position:absolute;bottom:16px;left:50%;transform:translate(-50%)}@media (hover:hover) and (pointer:fine){.rapids-banner{max-width:calc(100% - 24px)}}.rapids-how{background:#0a1e3c59;justify-content:center;align-items:center;padding:16px;display:flex;position:absolute;inset:0;overflow-y:auto}.rapids-how-card{border-radius:var(--radius-lg);border-top:6px solid var(--topic);background:var(--surface);width:min(520px,100%);color:var(--ink);text-align:center;box-shadow:var(--shadow-card);flex-direction:column;align-items:center;gap:10px;padding:20px;animation:.24s cubic-bezier(.2,.9,.3,1.2) pop-in;display:flex}.rapids-how-card h2{font-size:clamp(1.35rem,4vw,1.75rem)}.rapids-rules{text-align:left;color:var(--ink-soft);gap:6px;margin:0;padding:0;font-weight:700;list-style:none;display:grid}.rapids-rules li{border-radius:var(--radius-sm);background:var(--surface-2);gap:10px;padding:7px 12px;display:flex}.rapids-finish{border-radius:var(--radius-lg);width:min(460px,100% - 24px);color:var(--ink);text-align:center;box-shadow:var(--shadow-card);background:#fffffff5;flex-direction:column;align-items:center;gap:4px;margin-inline:auto;padding:16px;animation:.3s cubic-bezier(.2,.9,.3,1.4) pop-in;display:flex;position:absolute;bottom:16px;left:0;right:0}.rapids-finish h2{font-size:clamp(1.4rem,4vw,1.8rem)}.rapids-finish p{color:var(--ink-soft);margin:0;font-weight:700}.rapids-finish-icon{font-size:2.6rem;line-height:1}.rapids-finish.is-win .rapids-finish-icon{animation:.6s ease-in-out infinite alternate rapids-bounce}.rapids-summary{flex-direction:column;align-items:center;gap:8px;display:flex}.rapids-place{margin:0;font-size:1.05rem;font-weight:800}.rapids-place.is-win{color:var(--good-text)}.rapids-stats{flex-wrap:wrap;justify-content:center;gap:10px;margin:0;padding:0;list-style:none;display:flex}.rapids-stats li{border-radius:var(--radius-sm);background:var(--surface-2);color:var(--ink-soft);flex-direction:column;align-items:center;padding:8px 14px;font-size:.85rem;display:flex}.rapids-stats strong{font-family:var(--font-display);color:var(--ink);font-size:1.3rem}@keyframes rapids-rise{0%{opacity:0;transform:translate(-50%,12px)}to{opacity:1;transform:translate(-50%)}}@keyframes rapids-fade{to{opacity:0;visibility:hidden}}@keyframes rapids-timer{0%{width:100%}to{width:0%}}@keyframes rapids-bounce{0%{transform:translateY(0)}to{transform:translateY(-8px)}}@media (width<=640px){.rapids-stage{border-radius:var(--radius);border-width:3px;height:clamp(460px,100svh - 90px,760px)}.rapids-card{max-height:62%;padding:10px}.rapids-paused{display:none}.rapids-card .choice{padding:6px 8px;font-size:.9rem}.rapids-banner{font-size:.85rem}}@media (width<=420px){.rapids-choices{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){.rapids-card,.rapids-banner,.rapids-how-card,.rapids-finish,.rapids-finish.is-win .rapids-finish-icon{animation:none}.rapids-result{animation:1ms linear 2.6s forwards rapids-fade}}:root[data-theme=dark] .rapids-stage{border-color:var(--line);box-shadow:none}:root[data-theme=dark] .rapids-card,:root[data-theme=dark] .rapids-result{background:color-mix(in srgb, var(--surface) 95%, transparent)}:root[data-theme=dark] .rapids-finish{background:color-mix(in srgb, var(--surface) 96%, transparent)}.sneak-screen{gap:10px;max-width:860px}.sneak-question{border-radius:var(--radius-lg);background:var(--surface);color:var(--on-dark);text-align:center;box-shadow:var(--shadow-card);border:2px solid #0000;flex-direction:column;align-items:center;gap:6px;padding:12px 20px 14px;display:flex}.sneak-question-head{color:var(--on-dark-soft);flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;font-size:.85rem;font-weight:800;display:flex}.sneak-topic{background:var(--topic,var(--brand));color:#fff;border-radius:999px;padding:2px 10px}.sneak-level{min-width:0;color:var(--on-dark);white-space:nowrap;text-overflow:ellipsis;flex:1;align-items:center;gap:8px;font-weight:800;display:flex;overflow:hidden}.sneak-level strong{font-family:var(--font-display);font-weight:600}.sneak-critter{flex:none;display:block}.sneak-prompt{min-height:2.5em;font-family:var(--font-display);justify-content:center;align-items:center;max-width:900px;margin:0;font-size:clamp(1.15rem,3vw,1.9rem);line-height:1.25;display:flex}.sneak-timer{background:#ffffff2e;border-radius:999px;width:min(100%,520px);height:8px;overflow:hidden}.sneak-timer span{border-radius:inherit;background:var(--gold);height:100%;animation:sneak-timer var(--seconds) linear forwards;display:block}.sneak-prompt.is-hint{color:var(--on-dark-soft);font-size:clamp(1rem,2.4vw,1.35rem)}.sneak-meter{width:min(100%,560px);color:var(--on-dark-soft);grid-template-columns:auto 1fr auto;align-items:center;gap:10px;font-size:.78rem;font-weight:800;display:grid}.sneak-meter-bar{gap:5px;display:flex}.sneak-meter-bar span{background:#ffffff29;border-radius:999px;flex:1;height:12px;transition:background .25s}.sneak-meter-bar span.is-calm{background:#7bd88f}.sneak-meter-bar span.is-stirring{background:var(--gold)}.sneak-meter-bar span.is-awake{background:var(--bad);box-shadow:0 0 10px #ff5d5db3}@keyframes sneak-timer{0%{width:100%}to{width:0%}}.sneak-field{border-radius:var(--radius-lg);width:100%;height:clamp(360px,100svh - 290px,640px);box-shadow:var(--shadow-card);background:#e8bd84;border:4px solid #ffffff29;position:relative;overflow:hidden}.sneak-canvas-wrap{touch-action:none;-webkit-user-select:none;user-select:none;position:absolute;inset:0}.sneak-canvas{width:100%;height:100%;display:block}.sneak-how{background:#18103880;padding:16px;display:flex;position:absolute;inset:0;overflow-y:auto}.sneak-how-card{border-radius:var(--radius-lg);background:var(--surface);width:min(520px,100%);color:var(--ink);text-align:center;box-shadow:var(--shadow-card);flex-direction:column;align-items:center;gap:8px;margin:auto;padding:16px 18px;animation:.24s cubic-bezier(.2,.9,.3,1.2) pop-in;display:flex}.sneak-how-card h2{font-size:clamp(1.4rem,4vw,1.8rem)}.sneak-rules{text-align:left;color:var(--ink-soft);gap:4px;margin:0;padding:0;font-size:.92rem;font-weight:700;list-style:none;display:grid}.sneak-rules li{gap:8px;display:flex}.sneak-levels{flex-wrap:wrap;justify-content:center;gap:6px;display:flex}.sneak-level-pick{border-radius:var(--radius-sm);background:var(--surface-2);color:var(--ink-soft);font:inherit;cursor:pointer;border:2px solid #00000014;flex-direction:column;align-items:center;gap:2px;padding:6px 10px 5px;font-size:.78rem;font-weight:800;display:flex}.sneak-level-pick.is-on{border-color:var(--gold);color:var(--ink);background:#fff6d6}.sneak-cast{text-align:left;width:100%;color:var(--ink-soft);gap:2px;margin:0;padding:0;font-size:.88rem;list-style:none;display:grid}.sneak-cast li{border-radius:999px;align-items:center;gap:8px;padding:1px 10px 1px 6px;display:flex}.sneak-cast li.is-new{color:var(--ink);background:#fff6d6}.sneak-cast strong{font-family:var(--font-display);color:var(--ink);font-weight:600}.sneak-ask{border-radius:var(--radius);width:min(640px,100% - 20px);box-shadow:var(--shadow-card);background:#241c54db;gap:8px;margin-inline:auto;padding:10px;animation:.2s pop-in;display:grid;position:absolute;left:0;right:0}.sneak-ask.is-top,.sneak-review.is-top{top:10px}.sneak-ask.is-bottom,.sneak-review.is-bottom{bottom:10px}.sneak-answer{text-align:left;white-space:normal;justify-content:flex-start;align-items:center;gap:10px;display:flex}.sneak-key{background:var(--brand,#6c5ce7);color:#fff;border-radius:50%;flex:none;place-items:center;width:26px;height:26px;font-size:.85rem;display:grid}.sneak-ask .sneak-timer{width:100%}.sneak-review{flex-direction:column;gap:8px;width:min(640px,100% - 20px);max-height:48%;margin-inline:auto;animation:.2s pop-in;display:flex;position:absolute;left:0;right:0;overflow-y:auto}.sneak-review-head{border-radius:var(--radius);color:var(--bad-text);border-left:6px solid var(--bad);background:#fde8e8;flex-wrap:wrap;align-items:center;gap:6px 12px;padding:10px 14px;display:flex}.sneak-review-head>span{min-width:180px;color:var(--ink);flex:1}.sneak-review .answer-tip{padding:12px 14px}.sneak-outro{color:#fff;text-align:center;background:radial-gradient(circle at 50% 45%,#1810388c,#181038d1);flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:16px;animation:.3s sneak-fade;display:flex;position:absolute;inset:0}.sneak-outro h2{color:var(--gold);text-shadow:0 3px #5b2a86;font-size:clamp(1.7rem,6vw,2.6rem)}.sneak-outro.is-caught h2{color:#ffb08a;text-shadow:0 3px #8a2f12}.sneak-outro p{max-width:420px;margin:0;font-weight:800}.sneak-outro .btn{margin-top:6px}.sneak-stars{align-items:flex-end;gap:8px;font-size:clamp(2.6rem,10vw,3.6rem);line-height:1;display:flex}.sneak-stars span{color:#ffffff38;text-shadow:0 3px #00000040}.sneak-stars span:nth-child(2){font-size:1.25em;transform:translateY(-6px)}.sneak-stars span.is-on{color:var(--gold);text-shadow:0 3px #b07a00,0 0 18px #ffc93cbf;animation:.42s cubic-bezier(.2,.9,.3,1.5) both sneak-star;animation-delay:calc(.35s + var(--i) * .4s)}.sneak-stars span:nth-child(2).is-on{animation-name:sneak-star-mid}@keyframes sneak-star{0%{opacity:0;transform:scale(.2)rotate(-40deg)}to{opacity:1;transform:scale(1)rotate(0)}}@keyframes sneak-star-mid{0%{opacity:0;transform:translateY(-6px)scale(.2)rotate(-40deg)}to{opacity:1;transform:translateY(-6px)scale(1)rotate(0)}}@keyframes sneak-fade{0%{opacity:0}to{opacity:1}}.sneak-bonus{color:#d9ffb8;background:#8bd04340;border-radius:999px;padding:4px 14px}.sneak-tip{color:var(--on-dark-soft)}.sneak-summary-stars{color:var(--gold);letter-spacing:2px;text-shadow:0 2px #b07a00}.sneak-notice{color:#fff;text-align:center;pointer-events:none;background:#241c54e6;border-radius:999px;width:fit-content;max-width:calc(100% - 24px);margin:0 auto;padding:6px 14px;font-size:.92rem;font-weight:800;animation:.22s both sneak-notice;position:absolute;left:0;right:0}.sneak-notice.is-top{top:52px}.sneak-notice.is-bottom{bottom:14px}@keyframes sneak-notice{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}.sneak-a11y{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.sneak-a11y:focus-within{clip-path:none;border-radius:var(--radius);white-space:normal;background:#241c54e0;flex-wrap:wrap;justify-content:center;gap:6px;width:auto;max-width:calc(100% - 20px);height:auto;padding:8px;display:flex;bottom:14px;left:50%;transform:translate(-50%)}.sneak-stats{flex-wrap:wrap;justify-content:center;gap:10px;margin:4px 0 0;padding:0;list-style:none;display:flex}.sneak-stats li{border-radius:var(--radius-sm);background:var(--surface-2);color:var(--ink-soft);flex-direction:column;align-items:center;padding:8px 14px;font-size:.85rem;display:flex}.sneak-stats strong{font-family:var(--font-display);color:var(--ink);font-size:1.3rem}.sneak-keys{text-align:center;color:var(--on-dark-soft);margin:0}.sneak-keys-touch{display:none}@media (hover:none),(pointer:coarse){.sneak-keys-desk{display:none}.sneak-keys-touch{display:inline}}@media (width<=640px){.sneak-question{border-radius:var(--radius);padding:10px 12px}.sneak-field{border-radius:var(--radius);border-width:3px;height:clamp(340px,100svh - 280px,600px)}.sneak-review{gap:6px;max-height:46%}.sneak-review-head{padding:8px 10px;font-size:.9rem}.sneak-review .answer-tip{padding:8px 10px;font-size:.88rem}.sneak-review .answer-tip-icon{display:none}.sneak-meter{grid-template-columns:1fr 1fr;gap:4px 10px}.sneak-meter-bar{grid-area:1/1/auto/-1}.sneak-meter-end:last-child{text-align:right}.sneak-answer{min-height:44px;padding:8px 12px;font-size:.95rem}}@media (prefers-reduced-motion:reduce){.sneak-stars span.is-on,.sneak-outro,.sneak-ask,.sneak-how-card,.sneak-review{animation:none}}:root:not([data-theme=dark]) .sneak-timer,:root:not([data-theme=dark]) .sneak-meter-bar span:not(.is-calm,.is-stirring,.is-awake){background:var(--surface-3)}:root:not([data-theme=dark]) .sneak-field{border-color:#5b48d61f}:root[data-theme=dark] .sneak-question{background:var(--surface);border-color:var(--line);box-shadow:none}:root[data-theme=dark] .sneak-field{border-color:var(--line);box-shadow:none}:root[data-theme=dark] .sneak-level-pick:not(.is-on){border-color:var(--line)}:root[data-theme=dark] .sneak-level-pick.is-on,:root[data-theme=dark] .sneak-cast li.is-new{background:var(--tint-gold)}:root[data-theme=dark] .sneak-review-head{background:var(--tint-bad)}:root[data-theme=dark] .sneak-ask,:root[data-theme=dark] .sneak-a11y:focus-within{background:color-mix(in srgb, var(--surface) 92%, transparent)}.profile-screen{max-width:1080px}.profile-screen.game-font{--font-display:"Nunito", ui-rounded, system-ui, sans-serif;font-weight:700}.profile-screen.game-font :where(h1,h2,h3,h4){font-family:Fredoka,Nunito,ui-rounded,system-ui,sans-serif}.profile-screen.game-font strong{font-weight:700}.profile-topbar{margin-bottom:-8px}.profile-layout{grid-template-columns:minmax(0,1fr) 340px;align-items:start;gap:28px;display:grid}.profile-main,.profile-aside{flex-direction:column;gap:22px;min-width:0;display:flex}.profile-notices{flex-direction:column;gap:10px;display:flex}.profile-notices:empty{display:none}.p-hero{flex-direction:column;gap:12px;display:flex}.p-hero>.notice{margin:0}.profile-hero{--hero-ink:var(--ink);--hero-handle:var(--ink-soft);--hero-soft:var(--ink-soft);--hero-link:var(--brand-text);--hero-focus:var(--brand);--hero-photo-bg:#ece8ff;--hero-rule:#7c6cf633;--hero-edit:#7c6cf61f;--hero-edit-on:#7c6cf638;--hero-edit-ink:var(--brand-text);--hero-tile:#fff;--hero-tile-share:22%;border-radius:var(--radius-lg);box-shadow:var(--shadow-card);color:var(--hero-ink);background:radial-gradient(420px 300px at 88% 30%,#a58cff3d,#0000 70%),linear-gradient(115deg,#fff 0%,#fcfbff 46%,#f2eeff 100%);padding:24px 26px 18px;position:relative;container-type:inline-size}.profile-hero-top{--photo:80px;--panda:112px;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"photo panda panda""who who menu";align-items:center;gap:14px 12px;display:grid}.profile-photo{width:var(--photo);height:var(--photo);background:var(--hero-photo-bg);color:inherit;font:inherit;border:3px solid #8b7cff;border-radius:50%;grid-area:photo;padding:0;display:grid;position:relative}.profile-photo>img,.profile-photo>.avatar{border-radius:50%;width:100%;height:100%}.profile-photo>img{object-fit:cover;-webkit-user-select:none;user-select:none;display:block}.profile-photo>.avatar{box-shadow:none}button.profile-photo{cursor:pointer}button.profile-photo:hover>img,button.profile-photo:focus-visible>img{filter:brightness(.9)}button.profile-photo:focus-visible{outline:3px solid var(--hero-focus);outline-offset:3px}.profile-photo-badge{color:#4434c4;background:#fff;border-radius:50%;place-items:center;width:32px;height:32px;transition:opacity .15s;display:grid;position:absolute;bottom:-2px;right:-2px;box-shadow:0 2px 8px #08042859}.profile-photo.is-mine:not(.is-empty) .profile-photo-badge{opacity:0}.profile-photo.is-mine:hover .profile-photo-badge,.profile-photo.is-mine:focus-visible .profile-photo-badge{opacity:1}.profile-who{grid-area:who}.profile-who,.profile-names{flex-direction:column;gap:4px;min-width:0;display:flex}.profile-who h1{color:var(--hero-ink);overflow-wrap:anywhere;font-size:clamp(1.6rem,7cqi,2.1rem);line-height:1.1}.profile-handle,.profile-joined{overflow-wrap:anywhere;margin:0}.profile-handle{color:var(--hero-handle);font-size:1.15rem}.profile-hero-action{width:max-content;min-width:calc(var(--panda) * .8);flex:none;justify-content:center;margin-left:auto;display:flex}.btn.profile-challenge{--btn-edge:#4529c2;box-shadow:inset 0 1px 0 #fff3, 0 3px 0 var(--btn-edge), 0 12px 22px -10px #6c4cffd9;background:linear-gradient(135deg,#7d63ff 0%,#5b3fe0 100%)}.btn.profile-challenge:active{box-shadow:inset 0 1px 0 #fff3, 0 1px 0 var(--btn-edge)}.profile-joined{color:var(--hero-soft);overflow-wrap:normal;white-space:nowrap}.profile-hero-panda{grid-area:panda;justify-self:end;align-items:center;gap:2px;min-width:0;display:flex}.profile-bubble{color:#1f1a4d;text-align:center;filter:drop-shadow(0 4px 10px #4c3ab429);background:#fff;border-radius:16px;min-width:0;max-width:116px;margin:0 0 18px;padding:7px 11px;font-size:.76rem;line-height:1.25;position:relative}.profile-bubble:after{content:"";background:inherit;clip-path:polygon(0 0,100% 100%,0 75%);width:16px;height:14px;position:absolute;bottom:6px;right:-9px}.profile-panda-stage{display:block;position:relative}.profile-panda-stage:before{content:"";background:#8b7cff47;border-radius:50%;height:11%;position:absolute;bottom:1%;left:20%;right:20%}.profile-banner-panda{line-height:0;display:block;position:relative}.profile-hero .panda-preview{background:0 0;border-radius:0;width:var(--panda)!important;height:var(--panda)!important}.profile-hero .panda-pose{width:calc(var(--panda) * .8)!important}a.profile-banner-panda{cursor:pointer;border-radius:50%;transition:transform .15s}a.profile-banner-panda:hover,a.profile-banner-panda:focus-visible{transform:scale(1.04)}.profile-sparkles{pointer-events:none;width:116%;height:104%;position:absolute;inset:-4% -8% 0}.profile-sparkle{transform-box:fill-box;transform-origin:50%;animation:2.8s ease-in-out infinite profile-twinkle}.profile-sparkle:not(.is-big){animation-delay:1.4s}@keyframes profile-twinkle{0%,to{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(.75)}}.profile-hero-menu{grid-area:menu;align-self:start}.profile-menu{position:relative}.profile-edit{background:var(--hero-edit);width:44px;height:44px;color:var(--hero-edit-ink);cursor:pointer;border:0;border-radius:12px;place-items:center;transition:background .15s;display:grid}.profile-edit:hover,.profile-edit[aria-expanded=true]{background:var(--hero-edit-on)}.profile-edit:focus-visible{outline:3px solid var(--hero-focus);outline-offset:2px}.profile-menu-panel{z-index:30;border:2px solid var(--line);border-radius:var(--radius);background:var(--surface);flex-direction:column;width:260px;padding:6px 0;display:flex;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 16px 34px -12px #140c4659}.profile-menu-panel>button,.profile-menu-panel>a{color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:11px 18px;text-decoration:none}.profile-menu-panel>button:hover,.profile-menu-panel>a:hover,.profile-menu-panel>button:focus-visible,.profile-menu-panel>a:focus-visible{background:var(--surface-2);outline:none}.profile-menu-note{border-top:2px solid var(--surface-2);color:var(--ink-soft);margin:4px 0 0;padding:10px 18px 6px;font-size:.82rem;line-height:1.35}.profile-extras{--panda:112px;border-top:1px solid var(--hero-rule);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 16px;margin-top:18px;padding-top:16px;display:flex}.profile-buddy-count{color:var(--hero-link);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:1.12rem;text-decoration:none}.profile-buddy-count:hover{text-decoration:underline}.profile-courses{gap:8px;display:flex}.profile-course{background:color-mix(in srgb, var(--course,#6c5ce7) var(--hero-tile-share), var(--hero-tile));border-radius:10px;place-items:center;width:42px;height:38px;font-size:1.15rem;text-decoration:none;transition:transform .15s;display:grid}.profile-course:hover{transform:translateY(-2px)}@container (width<=484.98px){.profile-hero-top.has-menu{--panda:136px;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"photo.menu""photo bubble panda""names names panda""joined joined panda";column-gap:8px}.has-menu .profile-photo{align-self:start}.has-menu .profile-joined{font-size:.95rem}.has-menu .profile-who,.has-menu .profile-hero-panda{display:contents}.has-menu .profile-names{grid-area:names;align-self:center}.has-menu .profile-joined{grid-area:joined;margin-top:-6px}.profile-hero-top.has-menu .profile-hero-menu{justify-self:end}.has-menu .profile-panda-stage{grid-area:panda;place-self:end}.has-menu .profile-bubble{grid-area:bubble;place-self:end;margin:0 0 -10px}}@container (width>=485px){.profile-hero-top{--photo:96px;--panda:128px;grid-template-columns:auto minmax(0,1fr) auto auto;grid-template-areas:"photo who panda menu";gap:14px}.profile-hero-top:not(.has-menu){grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"photo who panda"}.profile-extras{--panda:128px}.profile-hero-action{width:calc(var(--panda) * .8);min-width:0}.profile-hero-panda.has-bubble{flex-direction:column;gap:0;margin-top:-8px}.profile-bubble{white-space:nowrap;max-width:none;margin:0 0 4px;font-size:.82rem}.profile-bubble:after{clip-path:polygon(0 0,100% 0,30% 100%);width:14px;height:12px;bottom:-10px;left:calc(50% - 4px);right:auto}.profile-hero-menu{align-self:center}}@container (width>=620px){.profile-hero-top{--photo:100px;--panda:148px;gap:14px}.profile-extras{--panda:148px}.profile-hero-panda.has-bubble{flex-direction:row;gap:2px;margin-top:0}.profile-bubble{border-radius:22px;margin:0 0 30px;padding:9px 12px;font-size:.9rem}.profile-bubble:after{clip-path:polygon(0 0,100% 100%,0 75%);width:18px;height:16px;bottom:8px;left:auto;right:-10px}}@container (width<=290px){.profile-bubble{display:none}.profile-hero-top.has-menu{grid-template-areas:"photo.menu""photo bubble panda""names names panda""joined joined joined"}}@media (width<=480px){.profile-hero{padding:20px 18px 16px}}.profile-block{flex-direction:column;gap:12px;display:flex}.profile-view-all{color:var(--brand-text);font:inherit;letter-spacing:.06em;text-transform:uppercase;cursor:pointer;background:0 0;border:0;margin-left:auto;padding:2px 0 16px;font-weight:800}:root[data-theme=dark] .profile-view-all{color:#bfe3ff}.profile-view-all:hover{text-decoration:underline}.profile-section>.profile-view-all{padding:0}.profile-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none;display:grid}.profile-stat{border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-card);align-items:center;gap:14px;padding:18px 20px;display:flex}.profile-stat-icon{text-align:center;flex:none;width:1.6rem;font-size:1.4rem;line-height:1}.profile-stat.is-dim .profile-stat-icon{filter:grayscale();opacity:.45}.profile-stat>span:last-child{flex-direction:column;min-width:0;display:flex}.profile-stat strong{font-family:var(--font-display);overflow-wrap:anywhere;font-size:1.12rem;line-height:1.15}.profile-stat strong+span{color:var(--ink-soft);font-size:.84rem;font-weight:700}.achievement-list{gap:0;padding:6px 22px}.achievement-items{margin:0;padding:0;list-style:none}.achievement{grid-template-columns:64px minmax(0,1fr);align-items:center;gap:18px;padding:14px 0;display:grid}.achievement+.achievement{border-top:2px solid var(--surface-2)}.achievement-badge-tile{place-items:center;display:grid}.profile-worn-title{margin:0;font-weight:800}.achievement-body{flex-direction:column;gap:8px;min-width:0;display:flex}.achievement-top{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.achievement-top strong{font-family:var(--font-display);font-size:1.15rem}.achievement-count{color:var(--ink-soft);white-space:nowrap;font-weight:700}.achievement-bar{background:var(--surface-3);border-radius:999px;height:14px;display:block;overflow:hidden}.achievement-bar>span{border-radius:inherit;background:var(--gold);min-width:0;height:100%;display:block}.achievement-text{color:var(--ink)}.profile-aside-stats{justify-content:space-around;gap:12px;padding:4px 0;display:flex}.aside-stat{color:var(--on-dark);font-family:var(--font-body);align-items:center;gap:8px;font-size:1.12rem;font-weight:800;text-decoration:none;display:inline-flex}.aside-stat>span{line-height:0}.aside-stat .art-icon{width:24px;height:24px}.aside-stat.is-streak strong{color:#e8780c}.aside-stat.is-bamboo strong{color:#3a9a1a}.aside-stat.is-hearts strong{color:#e0245e}:root[data-theme=dark] .aside-stat.is-streak strong{color:#ffc56b}:root[data-theme=dark] .aside-stat.is-bamboo strong{color:#b9f5a0}:root[data-theme=dark] .aside-stat.is-hearts strong{color:#ffb3cc}.aside-stat.is-dim>span{filter:grayscale();opacity:.55}.aside-stat.is-dim strong{color:var(--on-dark-soft)}a.aside-stat:hover strong{text-decoration:underline}.buddies-panel{gap:0;padding:0;overflow:hidden}.buddies-head{border-bottom:2px solid var(--surface-2);align-items:center;display:flex}.buddies-head .buddies-tabs{border-bottom:0;flex:1}.overlay.buddies-overlay{align-items:center}.overlay-card.buddies-dialog{flex-direction:column;gap:0;max-width:560px;max-height:min(680px,100svh - 48px);padding:0;display:flex;overflow:hidden}.buddies-dialog .buddy-row-text strong{font-size:1.2rem}.buddies-dialog .buddy-row-text .small{font-size:.95rem}.buddies-dialog .buddies-head{gap:8px;padding:0 24px 0 16px}.buddies-dialog .buddies-tabs{margin-right:40px}.buddies-close{background:var(--surface-2);width:40px;height:40px;color:var(--ink-soft);cursor:pointer;border:0;border-radius:50%;flex:none;place-items:center;font-size:1.1rem;display:grid}.buddies-close:hover{background:var(--surface-3);color:var(--ink)}.buddies-dialog .buddies-rows{padding:8px 0;overflow-y:auto}.buddies-dialog .buddies-rows li{padding:14px 28px}.buddies-dialog .buddies-rows li+li{border-top:2px solid var(--surface-2)}.buddies-dialog .buddy-row{gap:16px}.buddies-dialog .buddies-empty{padding:24px 28px 28px}@media (width<=559.98px){.buddies-dialog .buddies-head{padding:0 8px 0 10px}.buddies-dialog .buddies-tabs{margin-right:0}.buddies-dialog .buddies-tabs button{letter-spacing:.03em;white-space:nowrap;padding-inline:4px;font-size:.78rem}.buddies-dialog .buddies-rows li{padding:12px 18px}}.buddies-tabs{border-bottom:2px solid var(--surface-2);grid-template-columns:1fr 1fr;display:grid}.buddies-tabs button{color:var(--ink-soft);font:inherit;letter-spacing:.06em;text-transform:uppercase;cursor:pointer;background:0 0;border:0;border-bottom:3px solid #0000;padding:16px 8px 13px;font-size:.85rem;font-weight:800}.buddies-tabs button.is-on{border-bottom-color:var(--brand);color:var(--brand)}.buddies-empty{margin:0;padding:18px 22px}.buddies-rows{flex-direction:column;margin:0;padding:8px 0;list-style:none;display:flex}.buddies-rows li{flex-wrap:wrap;align-items:center;gap:8px 10px;padding:8px 22px;display:flex}.buddy-row{min-width:0;color:var(--ink);flex:1;align-items:center;gap:12px;text-decoration:none;display:flex}.buddy-row .avatar{flex:none}.buddy-row-text{flex-direction:column;min-width:0;display:flex}.buddy-row-text strong{font-family:var(--font-display);overflow-wrap:anywhere;font-size:1.1rem}.buddy-row:hover strong{text-decoration:underline}.buddy-row-actions{gap:6px;display:flex}.buddies-more{border:0;border-top:2px solid var(--surface-2);width:100%;color:var(--ink);font:inherit;font-family:var(--font-display);cursor:pointer;background:0 0;justify-content:space-between;align-items:center;padding:16px 22px;font-size:1.05rem;display:flex}.buddies-more:hover{background:var(--surface-2)}.buddies-more span:last-child{font-size:1.5rem;line-height:1}.add-buddies{gap:6px}.my-shared-decks{gap:12px}.my-shared-more{border:0;border-top:2px solid var(--surface-2);width:100%;color:var(--ink);font:inherit;font-family:var(--font-display);cursor:pointer;background:0 0;justify-content:space-between;align-items:center;padding:12px 4px 0;font-size:1rem;display:flex}.my-shared-more:hover{color:var(--brand-text)}.my-shared-more span:last-child{font-size:1.4rem;line-height:1;transition:transform .15s}.my-shared-more[aria-expanded=true] span:last-child{transform:rotate(-90deg)}.add-buddies-row{border-radius:var(--radius);width:100%;color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;padding:10px 4px;display:grid}.add-buddies-row:hover{background:var(--surface-2)}.add-buddies-row strong{font-family:var(--font-display);font-size:1.05rem}.add-buddies-icon{font-size:1.9rem;line-height:1}.add-buddies-chevron{color:var(--ink-soft);font-size:1.6rem;line-height:1;transition:transform .15s}.add-buddies-row.is-open .add-buddies-chevron{transform:rotate(90deg)}.add-buddies-body{flex-direction:column;gap:8px;padding:0 4px 10px;display:flex}.add-buddies-body p,.add-buddies .notice{margin:0}.p-cheer .cheer-cards{flex-direction:column}@media (width<=959.98px){.profile-layout{flex-direction:column;align-items:stretch;gap:20px;display:flex}.profile-main,.profile-aside{display:contents}.p-notices{order:0}.p-hero{order:1}.p-aside-stats{display:none}.p-stats{order:3}.p-buddies{order:4}.p-add{order:5}.p-cheer{order:6}.p-achievements{order:7}.p-trophies{order:8}.p-decks{order:9}}@media (width<=420px){.profile-stat{gap:10px;padding:14px}.profile-stat strong{font-size:1.05rem}.achievement-list{padding:4px 16px}.achievement{grid-template-columns:64px minmax(0,1fr);gap:14px}.achievement-tile{gap:6px;width:64px;height:72px}.achievement-icon{font-size:1.6rem}.achievement-icon.is-streak,.achievement-icon.is-trophies{font-size:1.4rem}.achievement-level{font-size:.6rem}}.profile-badge{background:var(--tint-bamboo);color:var(--tint-bamboo-ink);border-radius:999px;align-items:center;gap:6px;padding:6px 12px;font-size:.9rem;font-weight:800;display:inline-flex}.profile-section{gap:12px}.profile-subtitle{color:var(--ink-soft);margin:6px 0 0;font-size:1rem}.profile-trophies{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:10px;margin:0;padding:0;list-style:none;display:grid}.profile-trophy{border-radius:var(--radius);background:var(--surface-2);text-align:center;flex-direction:column;align-items:center;gap:2px;padding:12px 10px;display:flex}.profile-trophy.is-gold,.profile-trophy.is-course{background:#fff3c4}.profile-trophy strong{overflow-wrap:anywhere}.profile-trophy-icon{font-size:2.2rem;line-height:1.2}.profile-decks{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px;margin:0;padding:0;list-style:none;display:grid}.profile-decks a{border-radius:var(--radius);background:var(--surface-2);height:100%;color:var(--ink);flex-direction:column;gap:2px;padding:10px 12px;text-decoration:none;display:flex}.profile-decks a:hover,.profile-decks a:focus-visible{background:var(--surface-3)}.profile-decks strong{font-family:var(--font-display)}.profile-decks.is-compact a{flex-direction:row;align-items:center;gap:12px}.profile-deck-icon{background:color-mix(in srgb, var(--deck-color,var(--brand)) 24%, var(--surface));border-radius:12px;flex:none;place-items:center;width:42px;height:42px;font-size:1.35rem;line-height:1;display:grid}.profile-deck-icon .art-icon{width:26px;height:26px}.profile-deck-text{flex-direction:column;gap:1px;min-width:0;display:flex}.profile-deck-text strong{-webkit-line-clamp:2;line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.profile-deck-text .small{white-space:nowrap}.my-profile-decks{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.my-profile-decks li{border-radius:var(--radius);background:var(--surface-2);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 12px;padding:8px 12px;display:flex}.my-profile-decks a{color:var(--ink);overflow-wrap:anywhere;min-width:0}.buddy-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.buddy-list li{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.buddy-add{flex-wrap:wrap;gap:10px;display:flex}.buddy-add .input{flex:1;min-width:180px}.buddy-name{min-width:0;color:var(--ink);flex:1;align-items:center;gap:10px;text-decoration:none;display:flex}.buddy-name:hover strong,.buddy-name:focus-visible strong{text-decoration:underline}.buddy-online{color:var(--good-text);font-size:.85rem;font-weight:800}.deck-search-note{color:var(--on-dark-soft);margin:0}.deck-search-results a{gap:4px}.deck-search-owner{color:var(--ink-soft);align-items:center;gap:6px;font-weight:700;display:inline-flex}.buddy-deck{flex-direction:column;gap:14px;display:flex}.buddy-deck .topbar-sub a{color:inherit}.buddy-deck-actions{flex-direction:column;gap:10px;display:flex}.buddy-deck-actions p{margin:0}.buddy-deck-topics{flex-wrap:wrap;gap:8px;display:flex}.buddy-deck-topic h2{border-left:5px solid var(--topic,var(--surface-3));padding-left:10px;font-size:1.15rem}.buddy-deck-topic ol{flex-direction:column;gap:6px;margin:10px 0 0;padding-left:22px;display:flex}.shared-deck-report{color:var(--on-dark-soft);font:inherit;cursor:pointer;background:0 0;border:0;align-self:flex-start;padding:4px 0;font-weight:700;text-decoration:underline}.shared-deck-report-done{color:var(--on-dark-soft);margin:0}.shared-deck-report-form{gap:10px}.shared-deck-report-form h2{font-size:1.1rem}.shared-deck-reason{align-items:center;gap:8px;font-weight:700;display:flex}.panda-card{flex-direction:column;gap:14px;display:flex}.panda-card-body{flex-direction:column;gap:18px;display:flex}.panda-card-stage{text-align:center;flex-direction:column;align-items:center;gap:8px;display:flex}.panda-card-stage .panda-preview{background:radial-gradient(circle at 50% 75%, color-mix(in srgb, var(--player,#ffd166) 35%, white), color-mix(in srgb, var(--player,#ffd166) 70%, white));border-radius:50%;width:200px;height:200px;box-shadow:inset 0 -8px #00000014}.panda-card-stage p{max-width:280px;margin:0}.panda-card-options{flex-direction:column;gap:14px;min-width:0;display:flex}.panda-card-options .notice{margin:0}.panda-card-options>.panda-tabs{align-self:center;width:min(100%,420px)}.panda-card .shop-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.panda-card .shop-item{gap:4px;padding:10px 6px}.panda-card .shop-item strong{font-size:.92rem;line-height:1.2}.panda-card .shop-item .btn-small{white-space:nowrap;padding-inline:10px}@media (width<=559.98px){.panda-card .shop-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.panda-card .shop-item .btn-small{padding-inline:8px;font-size:.82rem}.panda-card .shop-unlock{font-size:.75rem}}.panda-card-more{align-self:flex-start}.panda-card-earn{margin:0}.bamboo-pill{background:var(--tint-bamboo);color:var(--tint-bamboo-ink);font-family:var(--font-display);white-space:nowrap;cursor:default;border:0;border-radius:999px;align-items:center;gap:6px;padding:6px 14px;font-size:1.1rem;display:inline-flex;box-shadow:0 3px #a8d98a}button.bamboo-pill{cursor:pointer}.panda-tabs{background:var(--surface-2);border-radius:999px;gap:6px;padding:4px;display:flex}.panda-tabs button{color:var(--ink-soft);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:999px;flex:1;padding:8px 10px;font-weight:800}.panda-tabs button.is-on{background:var(--surface);color:var(--ink);box-shadow:0 2px 6px #140c5a1f}.shop-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;margin:0;padding:0;list-style:none;display:grid}.shop-item{border-radius:var(--radius);background:var(--surface-2);text-align:center;flex-direction:column;align-items:center;gap:4px;padding:12px 10px;display:flex}.shop-item.is-locked{opacity:.75}.shop-unlock{color:var(--brand-text);font-weight:700}.shop-owned{color:var(--good-text);font-weight:800}.panda-preview{border-radius:var(--radius);background:radial-gradient(circle at 50% 70%,#e5f7d4,#c9eeb0);flex:none}.dress-options{flex-direction:column;flex:1;gap:8px;min-width:220px;display:flex}.dress-options h3{color:var(--ink-soft);font-size:1rem}.wear-row,.tint-row{flex-wrap:wrap;gap:8px;display:flex}.wear-choice{border-radius:var(--radius);background:var(--surface-2);width:64px;height:64px;color:var(--ink);font:inherit;cursor:pointer;border:3px solid #0000;place-items:center;padding:0;display:inline-grid}.wear-choice:hover{background:var(--surface-3)}.wear-picture{pointer-events:none;display:block}.wear-none{opacity:.6;font-size:1.5rem;line-height:1}.wear-choice.is-on{border-color:var(--brand);background:var(--surface-3)}.dress-slot{flex-direction:column;gap:8px;display:flex}.wear-shop{flex-direction:column;gap:14px;display:flex}.wear-shop-title{color:var(--ink-soft);margin:0 0 8px;font-size:1rem}.shop-try{margin-bottom:2px;display:inline-grid;position:relative}.shop-lock{font-size:1.2rem;position:absolute;bottom:-4px;right:-6px}.shop-item.is-locked .shop-try .avatar{filter:grayscale(.7)}.tint{border:3px solid var(--surface);background:var(--tint);width:34px;height:34px;box-shadow:0 0 0 2px var(--line);cursor:pointer;border-radius:50%}.tint.is-on{box-shadow:0 0 0 3px var(--ink)}:root[data-theme=dark] .buddies-tabs button.is-on{color:var(--brand-text)}:root[data-theme=dark] .profile-hero{--hero-ink:#fff;--hero-handle:#ffffffeb;--hero-soft:#ffffffb8;--hero-link:#c2b9ff;--hero-focus:#fff;--hero-photo-bg:#2a2468;--hero-rule:#a091ff4d;--hero-edit:#8b7cff42;--hero-edit-on:#8b7cff66;--hero-edit-ink:#fff;--hero-tile:#1d1850;--hero-tile-share:42%;background:var(--glass);box-shadow:var(--shadow-card)}:root[data-theme=dark] .profile-bubble{filter:none;background:#ecebfb}:root[data-theme=dark] .bamboo-pill{box-shadow:0 3px #2f6022}:root[data-theme=dark] button.bamboo-pill:active{box-shadow:0 1px #2f6022}:root[data-theme=dark] .profile-trophy.is-gold,:root[data-theme=dark] .profile-trophy.is-course{background:var(--tint-gold)}:root[data-theme=dark] .tint{box-shadow:0 0 0 2px var(--ink-faint)}:root[data-theme=dark] .tint.is-on{box-shadow:0 0 0 3px var(--ink)}:root[data-theme=dark] .panda-preview{background:#c9eeb0}:root[data-theme=dark] .profile-hero .panda-preview{background:0 0}:root[data-theme=dark] .panda-card-stage .panda-preview{background:color-mix(in srgb, var(--player,#ffd166) 70%, white)}:root[data-theme=dark] .panda-tabs button.is-on{background:var(--tint-brand);box-shadow:inset 0 0 0 2px var(--brand)}.screen.panda-dk{gap:18px;max-width:1120px}.panda-dk-top{color:var(--on-dark);align-items:center;gap:14px;display:flex}.panda-dk-title{flex:1;min-width:0}.panda-dk-title h1{margin:0;font-size:2rem}.panda-dk-title p{color:var(--on-dark-soft);margin:2px 0 0;font-size:1.05rem}.panda-dk-top .bamboo-pill{box-shadow:none;cursor:pointer;border-radius:14px;padding:10px 18px;font-size:1.3rem}.panda-dk-layout{grid-template-columns:minmax(0,.85fr) minmax(0,1fr);align-items:start;gap:20px;display:grid}.panda-dk-preview{border-radius:18px;align-items:center;gap:10px;padding:18px 20px 22px}.panda-dk-label{color:var(--ink-soft);letter-spacing:.07em;text-transform:uppercase;justify-content:space-between;align-self:stretch;align-items:center;font-size:.85rem;font-weight:700;display:flex}.panda-dk-label .louie-icon{color:var(--brand-text)}.panda-dk-stage{aspect-ratio:1;background:color-mix(in srgb, var(--tint) 62%, #fff);width:min(100%,340px);box-shadow:0 8px 0 color-mix(in srgb, var(--tint) 70%, #000);border-radius:50%;place-items:center;margin:14px 0 10px;display:grid}.panda-dk-stage .panda-preview.panda-preview{background:0 0;border-radius:50%;width:100%!important;height:100%!important}.panda-dk-name{font-family:var(--font-display);font-size:1.3rem}.panda-dk-status{min-height:1.5em;color:var(--ink-soft);align-items:center;gap:6px;margin:0;font-size:.95rem;display:inline-flex}.panda-dk-status.is-done{color:var(--good-text)}.panda-dk-status.is-trying{color:var(--brand-text)}.panda-dk-colors{border-top:1px solid var(--line);align-self:stretch;margin-top:8px;padding-top:18px}.panda-dk-colors-head{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.panda-dk-colors-head h3{margin:0;font-size:1.1rem}.panda-dk-tints{grid-template-columns:repeat(4,minmax(0,1fr));justify-items:center;gap:14px;display:grid}.panda-dk-tint{background:var(--tint);color:#1f1a4d;cursor:pointer;border:0;border-radius:50%;place-items:center;width:44px;height:44px;padding:0;display:grid;box-shadow:inset 0 0 0 1px #ffffff2e}.panda-dk-tint:hover{transform:scale(1.06)}.panda-dk-tint[aria-pressed=true]{box-shadow:0 0 0 3px var(--surface), 0 0 0 6px var(--ink)}.panda-dk-side,.panda-dk-panel{flex-direction:column;gap:16px;min-width:0;display:flex}.panda-dk-tabs{background:var(--surface);box-shadow:var(--shadow-card);border-radius:16px;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:6px;display:grid}.panda-dk-tabs button{min-height:58px;color:var(--ink-soft);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:12px;justify-content:center;align-items:center;gap:10px;padding:8px;font-size:1.05rem;display:flex}.panda-dk-tabs button:hover{background:var(--surface-2);color:var(--ink)}.panda-dk-tabs button[aria-selected=true]{background:var(--tint-brand);color:var(--ink)}.panda-dk-head{color:var(--on-dark);justify-content:space-between;align-items:baseline;gap:12px;display:flex}.panda-dk-head h2{margin:0;font-size:1.5rem}.panda-dk-head .muted{color:var(--on-dark-soft)}.panda-dk-box{border-radius:18px;gap:0;padding:18px}.panda-dk-chips{border-bottom:1px solid var(--line);flex-wrap:wrap;gap:8px;padding-bottom:18px;display:flex}.panda-dk-chips button{background:var(--surface-2);min-height:44px;color:var(--ink-soft);font:inherit;cursor:pointer;border:0;border-radius:10px;padding:8px 14px;font-size:.98rem}.panda-dk-chips button:hover{color:var(--ink)}.panda-dk-chips button[aria-pressed=true]{background:var(--tint-brand);color:var(--ink)}.panda-dk-sub{justify-content:space-between;align-items:baseline;margin:18px 0 14px;display:flex}.panda-dk-sub h3{margin:0;font-size:1.1rem}.panda-dk-tiles{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;margin:0;padding:0;list-style:none;display:grid}.panda-dk-tile{background:var(--surface-2);color:var(--ink);font:inherit;text-align:center;cursor:pointer;border:2px solid #0000;border-radius:14px;flex-direction:column;align-items:center;gap:4px;padding:26px 12px 16px;display:flex;position:relative}.panda-dk-tile:hover{border-color:var(--line)}.panda-dk-tile.is-on{border-color:var(--brand);background:var(--tint-brand)}.panda-dk-tile strong{font-size:1rem}.panda-dk-tile .muted{font-size:.92rem}.panda-dk-corner{color:var(--brand-text);position:absolute;top:10px;right:10px}.panda-dk-dot{background:var(--surface-3);border-radius:50%;width:14px;height:14px;display:block}.panda-dk-picture{width:72px;height:72px;color:var(--ink-soft);place-items:center;margin-bottom:8px;display:grid;position:relative}.panda-dk-lock{color:var(--ink-soft);position:absolute;bottom:-2px;right:-4px}.panda-dk-tile.is-shop{cursor:default;gap:10px;padding:18px 12px 14px}.panda-dk-try{color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;flex-direction:column;align-items:center;gap:4px;padding:0;display:flex}.panda-dk-tile.is-locked .panda-dk-picture img{opacity:.55}.btn.panda-dk-buy{--btn-bg:var(--surface);--btn-ink:var(--tint-bamboo-ink);width:100%;min-height:40px;box-shadow:none;border-radius:10px;padding:6px 12px;font-weight:700}.btn.panda-dk-buy:active:not(:disabled){box-shadow:none;transform:translateY(1px)}.panda-dk-unlock{line-height:1.3}.panda-dk-empty{text-align:center;flex-direction:column;align-items:center;gap:6px;padding:18px 12px 6px;display:flex}.panda-dk-empty>.louie-icon{color:var(--brand-text)}.panda-dk-empty strong{font-size:1.15rem}.panda-dk-empty .btn{margin-top:10px}.panda-dk-equipped h3{color:var(--on-dark-soft);letter-spacing:.07em;text-transform:uppercase;margin:0 0 10px;font-size:.85rem}.panda-dk-equipped ul{flex-wrap:wrap;gap:10px;margin:0;padding:0;list-style:none;display:flex}.panda-dk-equipped button{background:var(--surface);min-height:48px;box-shadow:var(--shadow-card);color:var(--ink);font:inherit;cursor:pointer;border:0;border-radius:12px;align-items:center;gap:8px;padding:8px 14px;display:inline-flex}.panda-dk-equipped .muted{color:var(--on-dark-soft);margin:0}.panda-dk-more{background:var(--tint-brand);color:var(--ink);font:inherit;text-align:left;cursor:pointer;border:0;border-radius:16px;flex-direction:row;align-items:center;gap:14px;padding:16px 18px;text-decoration:none}.panda-dk-more-icon{background:var(--surface);width:46px;height:46px;color:var(--brand-text);border-radius:12px;flex:none;place-items:center;display:grid}.panda-dk-more-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.panda-dk-more-text strong{font-size:1.05rem}.panda-dk-more-go{color:var(--ink-soft);flex:none}.panda-dk-note{color:var(--on-dark-soft);align-items:center;gap:10px;margin:4px 0 0;font-size:.95rem;display:flex}.screen.panda-ph{gap:14px}.panda-ph-top{color:var(--on-dark);align-items:center;gap:10px;display:flex}.panda-ph-top h1{flex:1;margin:0;font-size:1.6rem}.panda-ph-top .bamboo-pill{box-shadow:none;cursor:pointer;padding:8px 14px}.panda-ph-preview{border-radius:18px;gap:0;padding:14px 16px 18px}.panda-ph-label{color:var(--ink-soft);justify-content:space-between;align-items:center;font-size:.95rem;display:flex}.panda-ph-reset{width:36px;height:36px;color:var(--ink-soft);cursor:pointer;background:0 0;border:0;border-radius:10px;place-items:center;margin:-6px -6px -6px 0;display:grid}.panda-ph-reset:hover:not(:disabled){background:var(--surface-2);color:var(--ink)}.panda-ph-reset:disabled{opacity:.35;cursor:default}.panda-dk-stage.panda-ph-stage{width:min(68%,280px);margin:6px auto 22px;position:relative;overflow:visible}.panda-ph-sparkle{fill:#f5b917;width:14px;height:14px;position:absolute}.panda-ph-sparkle.is-a{top:22%;left:7%}.panda-ph-sparkle.is-b{width:18px;height:18px;top:12%;right:6%}.panda-ph-sparkle.is-c{bottom:26%;right:3%}.panda-ph-tints.panda-dk-tints{grid-template-columns:repeat(8,minmax(0,1fr));gap:6px}.panda-ph-tints .panda-dk-tint{width:36px;height:36px}.panda-ph .panda-dk-tabs button{min-height:52px}.panda-ph-slots{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;display:grid}.panda-ph-slots button{min-width:0;color:var(--on-dark-soft);font:inherit;cursor:pointer;background:0 0;border:0;flex-direction:column;align-items:center;gap:8px;padding:0;font-size:.9rem;display:flex}.panda-ph-slot-icon{border:1px solid var(--line);background:var(--surface);width:100%;height:56px;color:var(--ink-soft);border-radius:12px;place-items:center;display:grid}.panda-ph-slots button[aria-pressed=true]{color:var(--on-dark)}.panda-ph-slots button[aria-pressed=true] .panda-ph-slot-icon{border-color:var(--brand);background:var(--tint-brand);color:var(--ink)}.panda-ph-panel{flex-direction:column;display:flex}.panda-ph .panda-dk-sub{color:var(--on-dark)}.panda-ph .panda-dk-sub h3{font-size:1.35rem}.panda-ph .panda-dk-sub .muted{color:var(--on-dark-soft)}.panda-ph .panda-dk-tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.panda-ph ul.panda-dk-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.panda-ph .panda-dk-tile{border-color:var(--line);background:var(--surface);padding:24px 8px 14px}.panda-ph .panda-dk-tile.is-on{border-color:var(--brand);background:var(--tint-brand)}.panda-ph .panda-dk-picture{width:60px;height:60px}.panda-ph .panda-dk-empty{color:var(--on-dark)}.panda-ph .panda-dk-status{align-self:center;margin-top:18px}.panda-ph-note{border-top:1px solid var(--line);margin-top:6px;padding-top:16px}:root[data-theme=dark] .panda-dk-preview,:root[data-theme=dark] .panda-ph-preview,:root[data-theme=dark] .panda-ph-slot-icon,:root[data-theme=dark] .panda-ph .panda-dk-tile:not(.is-on),:root[data-theme=dark] .panda-dk-box,:root[data-theme=dark] .panda-dk-tabs,:root[data-theme=dark] .panda-dk-equipped button{background:color-mix(in srgb, var(--surface-2) 65%, var(--surface));box-shadow:0 0 0 1px var(--line)}:root[data-theme=dark] .panda-dk-tabs button[aria-selected=true],:root[data-theme=dark] .panda-dk-chips button[aria-pressed=true]{color:#fff}:root[data-theme=dark] .panda-dk-tile{background:var(--surface-2)}:root[data-theme=dark] .panda-dk-tile.is-on{background:var(--tint-brand);border-color:#a78bfa}:root[data-theme=dark] .panda-dk-more{background:color-mix(in srgb, var(--tint-brand) 70%, var(--surface))}:root[data-theme=dark] .panda-dk-more-icon{background:var(--tint-brand)}:root[data-theme=dark] .panda-dk-top .bamboo-pill,:root[data-theme=dark] .panda-ph-top .bamboo-pill{box-shadow:none;background:#26412f}:root[data-theme=dark] .panda-ph-slots button[aria-pressed=true] .panda-ph-slot-icon{background:var(--tint-brand);box-shadow:none;color:#fff;border-color:#a78bfa}:root[data-theme=dark] .panda-ph .panda-dk-tile.is-on{border-color:#a78bfa}:root[data-theme=dark] .panda-ph-sparkle{fill:#ffeec2}.screen.profile-m{gap:14px}.profile-m .is-bronze{--tier:#c8906a}.profile-m .is-silver{--tier:#a9a6c4}.profile-m .is-gold{--tier:#e0a91f}.profile-m .is-platinum{--tier:#3fb5b0}.profile-m .is-diamond{--tier:#8b6cf0}.profile-m .is-locked,.profile-m .is-none{--tier:var(--ink-faint)}.profile-m-top{color:var(--on-dark);align-items:center;gap:10px;margin-top:clamp(12px,4vw,24px);display:flex}.profile-m-top h1{flex:1;margin:0;font-size:1.45rem}.profile-m-settings{color:var(--on-dark-soft)}.profile-m-hero{border-radius:var(--radius);gap:0;padding:16px}.profile-m-who{align-items:center;gap:14px;display:flex}.profile-m-photo{--ring:var(--tier,var(--brand));border:3px solid var(--ring);background:var(--surface-2);cursor:pointer;border-radius:50%;flex:none;place-items:center;width:72px;height:72px;padding:0;display:grid;overflow:hidden}.profile-m-photo.is-none{--ring:var(--brand)}span.profile-m-photo{cursor:default}.profile-m-photo img{object-fit:cover;width:100%;height:100%}.profile-m-photo .avatar-xl{width:100%;height:100%;box-shadow:none}.profile-m-names{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.profile-m-names h2{overflow-wrap:anywhere;margin:0;font-size:1.35rem;line-height:1.15}.profile-m-names p{margin:0}.profile-m-title{font-weight:800}.profile-m-menu{align-self:flex-start}.profile-m-extras{flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px;display:flex}.profile-m-level{border-top:1px solid var(--line);align-items:center;gap:12px;margin-top:14px;padding-top:14px;display:flex}.profile-m-level-text{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex}.profile-m-level-top{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.profile-m-level-top strong{font-size:1.1rem}.profile-m-xpbar,.profile-m-bar{background:var(--surface-3);border-radius:999px;height:8px;display:block;overflow:hidden}.profile-m-xpbar>span,.profile-m-bar>span{border-radius:inherit;background:var(--brand);height:100%;display:block}.profile-m-bar>span{background:var(--tier,var(--brand))}.profile-m-panda{flex:none;width:84px;height:84px;display:grid}.profile-m .profile-m-panda .panda-preview.panda-preview{background:0 0}.profile-m-stats{border-radius:var(--radius);text-align:center;grid-template-columns:repeat(3,1fr);gap:4px;margin:0;padding:12px 8px;list-style:none;display:grid}.profile-m-stats li{flex-direction:column;align-items:center;gap:2px;min-width:0;display:flex}.profile-m-stats strong{font-size:1.25rem}.profile-m-stat-icon{place-items:center;height:22px;font-size:1.2rem;display:grid}.profile-m-stat-icon .art-icon{width:19px;height:19px}.profile-m-stat-icon.is-xp{color:#d9a514}.profile-m-stat-icon.is-third{color:var(--brand-text)}.profile-m-tabs{border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-card);grid-template-columns:repeat(3,1fr);gap:4px;padding:4px;display:grid}.profile-m-tabs button{min-height:56px;color:var(--ink-soft);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:4px;font-size:.82rem;font-weight:700;display:flex}.profile-m-tabs button[aria-selected=true]{background:var(--tint-brand);color:var(--ink)}.profile-m-badge{color:var(--bad-text);font-weight:800}.profile-m-panel{flex-direction:column;gap:14px;display:flex}.profile-m-section{flex-direction:column;gap:10px;display:flex}.profile-m-head{color:var(--on-dark);justify-content:space-between;align-items:center;gap:12px;display:flex}.profile-m-head h2{margin:0;font-size:1.2rem}.profile-m-head p{margin:2px 0 0}.profile-m-head .muted{color:var(--on-dark-soft)}.profile-m-link{color:var(--brand-text);font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;padding:4px 0;font-weight:700;display:inline-flex}.profile-m-hint{color:var(--on-dark-soft);margin:-6px 0 0}.profile-m-showcase{border-radius:var(--radius);gap:0;padding:16px 12px 4px}.profile-m-badges{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0;padding:0;list-style:none;display:grid}.profile-m-badges li{text-align:center;flex-direction:column;align-items:center;gap:2px;min-width:0;display:flex}.profile-m-badges .achievement-badge{width:min(88px,100%);height:auto;margin-bottom:4px}.profile-m-badges strong{font-size:.95rem}.profile-m-badges .tier-text{font-size:.85rem;font-weight:700}.profile-m-showcase-empty{align-items:center;gap:14px;padding:0 6px 10px;display:flex}.profile-m-showcase-empty p{flex-direction:column;gap:2px;margin:0;display:flex}.profile-m-all{border:0;border-top:1px solid var(--line);width:100%;color:var(--brand-text);font:inherit;cursor:pointer;background:0 0;justify-content:center;align-items:center;gap:6px;margin-top:12px;padding:12px 0;font-weight:700;display:flex}.profile-m-milestones{border-radius:var(--radius);gap:0;margin:0;padding:4px 14px;list-style:none}.profile-m-milestones li{align-items:center;gap:12px;padding:12px 0;display:flex}.profile-m-milestones li+li{border-top:1px solid var(--line)}.profile-m-milestone-icon{background:color-mix(in srgb, var(--tier) 18%, var(--surface));width:40px;height:40px;color:var(--tier);border-radius:12px;flex:none;place-items:center;display:grid}.profile-m-milestone-text{flex-direction:column;flex:1;gap:5px;min-width:0;display:flex}.profile-m-milestone-top{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.profile-m-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none;display:grid}.profile-m-card{border-radius:var(--radius);width:100%;height:100%;color:var(--ink);font:inherit;text-align:center;cursor:pointer;border:1.5px solid #0000;align-items:center;gap:4px;padding:14px 12px 12px;position:relative}.profile-m-card.is-locked .achievement-badge{opacity:.6}.profile-m-card.is-picked{border-color:var(--brand)}.profile-m-card:disabled{opacity:.55;cursor:default}.profile-m-card strong{font-size:.98rem}.profile-m-card .tier-text{font-size:.82rem;font-weight:700}.profile-m-card .profile-m-bar{align-self:stretch;height:6px;margin:6px 0 2px}.profile-m-corner{color:var(--ink-faint);display:grid;position:absolute;top:10px;right:10px}.profile-m-card.is-picked .profile-m-corner{color:var(--brand-text)}.profile-m-dot{background:var(--surface-3);border-radius:50%;width:12px;height:12px}.profile-m-tiers{border-radius:var(--radius);gap:10px;padding:14px 16px}.profile-m-tiers h3{margin:0;font-size:.98rem}.profile-m-tiers ul{grid-template-columns:repeat(5,1fr);gap:4px;margin:0;padding:0;list-style:none;display:grid}.profile-m-tiers li{flex-direction:column;align-items:center;gap:4px;font-size:.78rem;font-weight:700;display:flex}.overlay.profile-m-overlay{align-items:center}.overlay-card.profile-m-sheet{border-radius:var(--radius);text-align:center;align-items:center;gap:8px;max-width:420px;padding:22px 20px 20px;position:relative}.profile-m-sheet h2{margin:4px 0 0;font-size:1.3rem}.profile-m-sheet p{margin:0}.profile-m-close{width:34px;height:34px;color:var(--ink-soft);cursor:pointer;background:0 0;border:0;border-radius:10px;place-items:center;display:grid;position:absolute;top:10px;right:10px}.profile-m-goals{background:var(--surface-2);text-align:left;border-radius:14px;flex-direction:column;align-self:stretch;gap:6px;margin:6px 0;padding:10px 12px;list-style:none;display:flex}.profile-m-goals li{grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-weight:700;display:grid}.profile-m-goals li.is-ahead{color:var(--ink-soft);font-weight:600}.profile-m-wear{align-self:stretch;margin-top:6px}.profile-m-worn{color:var(--good-text);justify-content:center;align-items:center;gap:6px;font-weight:700;display:inline-flex}.profile-m-row{border-radius:var(--radius);width:100%;color:var(--ink);font:inherit;text-align:left;cursor:pointer;border:0;flex-direction:row;align-items:center;gap:12px;padding:14px 16px}.profile-m-row-icon{background:var(--tint-brand);width:40px;height:40px;color:var(--brand-text);border-radius:12px;flex:none;place-items:center;display:grid}.profile-m-row-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.profile-m-row .louie-icon.is-open{transform:rotate(180deg)}.profile-m-buddy-btns{grid-template-columns:1fr 1fr;gap:10px;display:grid}.profile-m-buddy-btns .btn{white-space:nowrap;gap:8px;min-height:48px;padding:8px 10px}.profile-m-finder{border-radius:var(--radius);gap:10px;padding:14px 16px}.profile-m-finder p{margin:0}.profile-m-none{border-radius:var(--radius);margin:0;padding:16px}.profile-m-buddies{border-radius:var(--radius);gap:0;margin:0;padding:2px 14px;list-style:none}.profile-m-buddies li{align-items:center;gap:10px;padding:12px 0;display:flex}.profile-m-buddies li+li{border-top:1px solid var(--line)}.profile-m-buddy{min-width:0;color:inherit;flex:1;align-items:center;gap:12px;text-decoration:none;display:flex}.profile-m-buddy .avatar{flex:none;width:46px;height:46px}.profile-m-buddy-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.profile-m-buddy-text strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.profile-m-challenge{background:var(--tint-brand);min-height:36px;color:var(--brand-text);border-radius:10px;flex:none;align-items:center;gap:6px;padding:6px 12px;font-size:.9rem;font-weight:700;text-decoration:none;display:inline-flex}.profile-m-go{color:var(--ink-faint);flex:none;margin-right:-4px;display:grid}.profile-m-requests{border-radius:var(--radius);gap:10px;padding:14px 16px}.profile-m-requests-head{color:var(--ink);align-items:center;gap:8px;display:flex}.profile-m-requests-head .small{margin-left:auto}.profile-m-requests ul{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.profile-m-requests li{flex-wrap:wrap;align-items:center;gap:8px 10px;display:flex}:root[data-theme=dark] .profile-m .is-bronze{--tier:#d9a27c}:root[data-theme=dark] .profile-m .is-silver{--tier:#d9d7ea}:root[data-theme=dark] .profile-m .is-gold{--tier:#f2cf72}:root[data-theme=dark] .profile-m .is-platinum{--tier:#a8e6e2}:root[data-theme=dark] .profile-m .is-diamond{--tier:#cdbdff}:root[data-theme=dark] .profile-m-tabs{background:var(--glass)}:root[data-theme=dark] .profile-m-stat-icon.is-xp{color:var(--gold)}.screen.profile-dk{--profile-zoom:.9;gap:16px}.screen.profile-dk>:not(.overlay){zoom:var(--profile-zoom)}.profile-dk-top{color:var(--on-dark);align-items:center;gap:12px;display:flex}.profile-dk-top h1{flex:1;margin:0;font-size:2rem}.profile-dk-settings{width:44px;height:44px;color:var(--on-dark-soft);border-radius:12px;place-items:center;display:grid}.profile-dk-settings:hover{background:var(--on-dark-fill);color:var(--on-dark)}.profile-dk-hero{--hero-edit:var(--tint-brand);--hero-edit-on:color-mix(in srgb, var(--brand) 22%, var(--tint-brand));--hero-edit-ink:var(--brand-text);--hero-focus:var(--brand);border-radius:20px;gap:0;padding:24px 26px 22px}.profile-dk-who{border-bottom:1px solid var(--line);align-items:center;gap:22px;padding-bottom:22px;display:flex}.profile-dk-photo{border:3px solid var(--brand);background:var(--tint-brand);cursor:pointer;border-radius:50%;flex:none;place-items:center;width:112px;height:112px;padding:0;display:grid;overflow:hidden}span.profile-dk-photo{cursor:default}.profile-dk-photo img{object-fit:cover;width:100%;height:100%}.profile-dk-photo .avatar-xl{width:100%;height:100%;box-shadow:none}.profile-dk-names{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.profile-dk-names h2{overflow-wrap:anywhere;margin:0;font-size:2rem;line-height:1.15}.profile-dk-names p{margin:0}.profile-dk-title{font-size:1.15rem}.profile-dk-extras{flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px;display:flex}.profile-dk-panda{color:var(--brand-text);flex-direction:column;flex:none;align-items:center;gap:2px;font-size:.98rem;text-decoration:none;display:flex}a.profile-dk-panda:hover span{text-decoration:underline}.profile-dk .profile-dk-panda .panda-preview.panda-preview{background:0 0}.profile-dk-menu{flex:none;align-self:center}.profile-edit-desk{background:var(--tint-brand);min-height:48px;color:var(--ink);font:inherit;white-space:nowrap;cursor:pointer;border:0;border-radius:12px;align-items:center;gap:10px;padding:0 14px 0 18px;font-size:1.05rem;display:inline-flex}.profile-edit-desk:hover,.profile-edit-desk[aria-expanded=true]{background:color-mix(in srgb, var(--brand) 22%, var(--tint-brand))}.profile-edit-desk:focus-visible{outline:3px solid var(--brand);outline-offset:2px}.profile-edit-desk .profile-edit-chevron{color:var(--ink-soft);transition:transform .12s}.profile-edit-desk[aria-expanded=true] .profile-edit-chevron{transform:rotate(180deg)}.profile-menu-panel.is-desk{border-width:1px;border-radius:16px;width:360px;padding:6px 8px}.profile-menu-group{flex-direction:column;padding:4px 0 6px;display:flex}.profile-menu-group+.profile-menu-group{border-top:1px solid var(--line)}.profile-menu-label{color:var(--ink-soft);letter-spacing:.07em;text-transform:uppercase;margin:0;padding:10px 12px 6px;font-size:.78rem}.profile-menu-group>a,.profile-menu-group>button{color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:14px;padding:11px 12px;font-size:1rem;text-decoration:none;display:flex}.profile-menu-group>a:hover,.profile-menu-group>button:hover,.profile-menu-group>a:focus-visible,.profile-menu-group>button:focus-visible{background:var(--surface-2);outline:none}.profile-menu-group .louie-icon{color:var(--brand-text);flex:none}.profile-menu-group .is-danger,.profile-menu-group .is-danger .louie-icon{color:var(--bad-text)}.profile-menu-group .profile-menu-go{color:var(--ink-soft);margin-left:auto}.profile-menu-panel.is-desk .profile-menu-note{border-top:1px solid var(--line);align-items:flex-start;gap:10px;margin:0;padding:12px 12px 8px;display:flex}.profile-menu-panel.is-desk .profile-menu-note .louie-icon{flex:none;margin-top:1px}.profile-dk-numbers{text-align:center;grid-template-columns:repeat(4,minmax(0,1fr));margin:0;padding:22px 0 0;list-style:none;display:grid}.profile-dk-numbers li{flex-direction:column;gap:4px;display:flex}.profile-dk-numbers strong{color:var(--ink);font-size:1.75rem;line-height:1.1}.profile-dk-tabs{grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:24px;display:grid}.profile-dk-tabs button{border:0;border-bottom:3px solid var(--line);min-height:54px;color:var(--on-dark-soft);font:inherit;cursor:pointer;background:0 0;justify-content:center;align-items:center;gap:8px;padding:8px 6px;font-size:1.1rem;display:flex}.profile-dk-tabs button:hover{color:var(--on-dark)}.profile-dk-tabs button[aria-selected=true]{border-bottom-color:var(--brand);color:var(--on-dark)}.profile-dk-badge{background:var(--bad);color:#fff;border-radius:999px;place-items:center;min-width:20px;height:20px;margin-left:6px;padding:0 6px;font-size:.75rem;line-height:1;display:inline-grid}.profile-dk-panel{flex-direction:column;gap:16px;display:flex}.profile-dk-head{color:var(--on-dark);justify-content:space-between;align-items:center;gap:16px;margin-top:6px;display:flex}.profile-dk-head h2{margin:0;font-size:1.6rem}.profile-dk-head p{margin:6px 0 0}.profile-dk-head .muted{color:var(--on-dark-soft)}.profile-dk-head-side{flex:none;align-items:center;gap:14px;display:flex}.profile-dk-link{color:var(--brand-text);font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;padding:6px 2px;font-size:1.05rem;display:inline-flex}.profile-dk-link:hover{text-decoration:underline}.btn.profile-dk-find{gap:6px}.profile-dk-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0;padding:0;list-style:none;display:grid}.profile-dk-grid li{display:flex}.profile-dk-ach{min-width:0;color:var(--ink);font:inherit;text-align:center;cursor:pointer;border:0;border-radius:16px;flex-direction:column;flex:1;align-items:center;gap:6px;padding:20px 18px 22px;transition:transform .12s;display:flex}.profile-dk-ach:hover{transform:translateY(-2px)}.profile-dk-ach .achievement-badge{margin-bottom:8px}.profile-dk-ach.is-locked .achievement-badge{opacity:.55}.profile-dk-ach strong{font-size:1.15rem}.profile-dk-ach .muted,.profile-dk-ach .tier-text{font-size:1rem}.profile-dk-bar{background:var(--surface-3);border-radius:999px;align-self:stretch;height:8px;margin:8px 0 4px;overflow:hidden}.profile-dk-bar>span{border-radius:inherit;background:var(--brand);height:100%;display:block}.profile-dk-list{border-radius:16px;gap:0;padding:4px 20px}.profile-dk-list ul{margin:0;padding:0;list-style:none}.profile-dk-list li{align-items:center;gap:14px;padding:16px 0;display:flex}.profile-dk-list li+li{border-top:1px solid var(--line)}.profile-dk-row-main{min-width:0;color:var(--ink);flex:1;align-items:center;gap:16px;text-decoration:none;display:flex}.profile-dk-row-main:hover strong{text-decoration:underline}.profile-dk-row-main .course-tile{border-radius:14px;flex:none;width:56px;height:56px;margin:0}.profile-dk-row-text{flex-direction:column;gap:4px;min-width:0;display:flex}.profile-dk-row-text strong{text-overflow:ellipsis;white-space:nowrap;font-size:1.12rem;overflow:hidden}.profile-dk-shared{color:var(--good-text)}.profile-dk-challenge{background:var(--tint-brand);color:var(--brand-text);border-radius:10px;flex:none;align-items:center;gap:8px;padding:10px 16px;text-decoration:none;display:inline-flex}.profile-dk-challenge:hover{filter:brightness(1.08)}.profile-dk-go{width:28px;color:var(--ink-soft);flex:none;place-items:center;display:grid}.profile-dk-more{color:var(--ink-soft);font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;margin:0 0 14px;padding:4px 0;display:inline-flex}.profile-dk-more:hover{color:var(--ink)}.profile-dk-more .is-open{transform:rotate(180deg)}.profile-dk-none{margin:0;padding:18px 20px}.profile-dk-invite{color:var(--on-dark-soft);font:inherit;cursor:pointer;background:0 0;border:0;flex-direction:column;align-self:center;align-items:center;gap:4px;padding:8px 14px;font-size:1.05rem;display:inline-flex}.profile-dk-invite:hover{color:var(--on-dark)}.profile-dk-menu-wrap{flex:none;position:relative}.course-menu-list.profile-dk-vis{min-width:250px}.profile-dk-vis-title{color:var(--ink-soft);padding:8px 14px 4px;font-size:.85rem}.profile-dk-vis button,.profile-dk-vis a{align-items:center;gap:10px;display:flex}.profile-dk-vis button .louie-icon{color:var(--brand-text);margin-left:auto}.profile-dk-vis a{border-top:1px solid var(--line);color:var(--ink);margin-top:4px;padding:12px 14px;text-decoration:none}.profile-dk-vis a:hover{background:var(--surface-2)}.overlay-card.profile-dk-titles{border-radius:var(--radius);gap:10px;width:min(460px,100%);padding:26px 24px 24px;position:relative}.profile-dk-titles h2{margin:0;font-size:1.4rem}.profile-dk-titles>p{margin:0;padding-right:30px}.profile-dk-titles ul{flex-direction:column;gap:8px;margin:8px 0 0;padding:0;list-style:none;display:flex}.profile-dk-titles li button{border:2px solid var(--line);background:var(--surface);width:100%;color:var(--ink);font:inherit;text-align:left;cursor:pointer;border-radius:14px;align-items:center;gap:14px;padding:10px 14px;display:flex}.profile-dk-titles li button:hover{background:var(--surface-2)}.profile-dk-titles li button[aria-pressed=true]{border-color:var(--brand);background:var(--tint-brand)}.profile-dk-titles li button>span:nth-child(2){flex-direction:column;flex:1;gap:2px;display:flex}.profile-dk-titles li button>.louie-icon{color:var(--brand-text);flex:none}.profile-dk-title-best{background:var(--tint-brand);width:40px;height:40px;color:var(--brand-text);border-radius:50%;place-items:center;display:grid}:root[data-theme=dark] .profile-dk-hero,:root[data-theme=dark] .profile-dk-ach,:root[data-theme=dark] .profile-dk-list,:root[data-theme=dark] .profile-dk-none{background:color-mix(in srgb, var(--surface-2) 65%, var(--surface));box-shadow:0 0 0 1px var(--line)}:root[data-theme=dark] .profile-dk-hero{--hero-edit-ink:#fff}:root[data-theme=dark] .profile-edit-desk{color:#fff}:root[data-theme=dark] .profile-menu-panel.is-desk{background:#1b1830;border-color:#3a3252}:root[data-theme=dark] .profile-menu-group .is-danger,:root[data-theme=dark] .profile-menu-group .is-danger .louie-icon{color:#e79aab}:root[data-theme=dark] .profile-dk-photo{border-color:#a78bfa}:root[data-theme=dark] .profile-dk-panda .panda-preview{filter:drop-shadow(1.5px 0 #fff)drop-shadow(-1.5px 0 #fff)drop-shadow(0 1.5px #fff)drop-shadow(0 -1.5px #fff)}:root[data-theme=dark] .profile-dk-tabs button[aria-selected=true]{border-bottom-color:#907ae7}:root[data-theme=dark] .profile-dk-bar>span{background:#ab97e6}:root[data-theme=dark] .profile-dk-shared{color:#7ed992}:root[data-theme=dark] .profile-dk-challenge{color:#ddd3fb}.shop-screen{--shop-edge:#ddd8f6;max-width:1120px}.shop-main,.shop-side{flex-direction:column;gap:20px;min-width:0;display:flex}.shop-top{justify-content:flex-end;display:flex}.shop-side .shop-side-stats{display:none}@media (width>=1200px){.shop-screen{grid-template-columns:minmax(0,1fr) 330px;align-items:start;gap:32px;display:grid}.shop-side{gap:16px;position:sticky;top:16px}.shop-side .shop-side-stats{margin-top:-13px;display:flex}.shop-side .trail-side-h-row{margin-bottom:10px}.shop-side .trail-side-card+.trail-side-card{margin-top:10px}.shop-top{display:none}}.shop-plus{isolation:isolate;color:#fff;background:radial-gradient(80% 120% at 100% 0,#a073ff8c 0%,#0000 60%),linear-gradient(150deg,#29226b 0%,#3a2a9a 48%,#6a3fd6 100%);border-radius:24px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:18px 26px;padding:24px 28px 28px;display:grid;position:relative;overflow:hidden;box-shadow:0 18px 40px -22px #140a46cc;container:shop-plus/inline-size}.shop-plus:before{content:"";z-index:-1;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 52C14 44 30 50 46 64S80 88 100 92V100H0Z' fill='%23a58bff' fill-opacity='.22'/%3E%3Cpath d='M0 70C18 62 36 70 54 82S84 98 100 99V100H0Z' fill='%23a58bff' fill-opacity='.16'/%3E%3Cpath d='M0 52C14 44 30 50 46 64S80 88 100 92' fill='none' stroke='%23c6b5ff' stroke-opacity='.45' stroke-width='.6' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") 50%/100% 100% no-repeat;position:absolute;inset:0}.shop-plus:after{content:"";z-index:-1;opacity:.35;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 50'%3E%3Cpath d='M6 40 2 9l16 13L32 2l14 20 16-13-4 31z' fill='%23b49bff'/%3E%3Crect x='6' y='41' width='52' height='8' rx='3' fill='%23b49bff'/%3E%3C/svg%3E") 50%/contain no-repeat;width:124px;height:96px;position:absolute;top:22px;right:20px;transform:rotate(14deg)}.shop-plus.is-member:after{opacity:.9;filter:drop-shadow(0 0 14px #ffd16673);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 50'%3E%3Cpath d='M6 40 2 9l16 13L32 2l14 20 16-13-4 31z' fill='%23ffd166'/%3E%3Crect x='6' y='41' width='52' height='8' rx='3' fill='%23ffd166'/%3E%3C/svg%3E")}.shop-plus.is-member .shop-plus-pill{color:#ffe08a;white-space:nowrap;background:#ffd16638}.shop-plus.is-member h2{text-wrap:balance}@media (width<=389.98px){.shop-plus.is-member .shop-plus-pill{gap:4px;padding:3px 9px;font-size:.8rem}.shop-plus.shop-plus.is-member:after{width:42px;height:32px;top:4px;right:4px}}.shop-plus-olu{width:96px;margin:0 12px 0 10px;padding-bottom:12px;display:block;position:relative}.shop-plus-float{animation:3.2s ease-in-out infinite shop-float;display:block;position:relative}.shop-plus-float img{width:100%;height:auto;display:block}.shop-plus-shadow{background:radial-gradient(closest-side,#0c0630bf,#0c063052 60%,#0000);border-radius:50%;width:104%;height:22px;animation:3.2s ease-in-out infinite shop-shadow;position:absolute;bottom:2px;left:50%;translate:-50%}.shop-plus-twinkle{z-index:-1;fill:#fff;filter:drop-shadow(0 0 4px #d2c3ffe6);animation:3.3s ease-in-out infinite shop-twinkle;position:absolute}.shop-plus-twinkle.is-a{top:26px;right:158px}.shop-plus-twinkle.is-b{top:14px;left:138px}.shop-plus-twinkle.is-c{top:132px;right:34px}@keyframes shop-float{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}@keyframes shop-shadow{0%,to{opacity:1;transform:scale(1)}50%{opacity:.65;transform:scale(.8)}}@keyframes shop-twinkle{0%,to{opacity:.95;transform:scale(1)rotate(0)}50%{opacity:.35;transform:scale(.55)rotate(20deg)}}.reduce-motion .shop-plus-float,.reduce-motion .shop-plus-shadow,.reduce-motion .shop-plus-twinkle{animation:none}.shop-plus-text{flex-direction:column;align-items:flex-start;min-width:0;padding-right:96px;display:flex;container-type:inline-size}.shop-plus-pill{background:#ffffff29;border-radius:999px;align-items:center;gap:6px;padding:4px 12px;font-size:.9rem;font-weight:700;display:inline-flex}.shop-plus h2{color:#fff;margin:10px 0 6px;font-size:clamp(1.4rem,7.2cqi,1.95rem);line-height:1.15}.shop-plus p{color:#ffffffd1;white-space:nowrap;margin:0 -96px 0 0;font-size:clamp(.8rem,3.44828cqi + 3.31034px,1.02rem)}.btn.shop-plus-btn{--btn-bg:#fff;--btn-edge:#c9c2ef;--btn-ink:#1f1a4d;width:100%;min-height:52px;font-family:var(--font-app-display);letter-spacing:.06em;text-transform:uppercase;grid-column:1/-1;font-size:1rem;font-weight:700}@media (width>=560px){@container shop-plus (width<=640px){.shop-plus-olu{width:80px;margin:0 4px}.shop-plus-text{padding-right:44px}.shop-plus p{margin-right:-44px;font-size:clamp(.8rem,3.44828cqi + 1.51724px,1.02rem)}.shop-plus:after{width:88px;height:68px}.shop-plus-twinkle.is-a{right:118px}.shop-plus-twinkle.is-c{display:none}}}.shop-section{gap:0;padding:22px 24px 24px}.shop-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;padding-bottom:14px;display:flex}.shop-head h2{align-items:center;gap:12px;margin:0;font-size:1.5rem;display:flex}.shop-head h2 .louie-icon{color:var(--brand-text)}.shop-head-note{color:var(--ink-soft);align-items:center;gap:12px;font-size:.88rem;font-weight:700;display:inline-flex}.shop-head-note .hearts-row .art-icon{width:24px;height:24px}.shop-head-link{color:var(--brand-text);align-items:center;gap:4px;font-weight:700;text-decoration:none;display:inline-flex}.shop-intro{color:var(--ink-soft);margin:-4px 0 16px;font-size:.98rem;line-height:1.45}.shop-rows{margin:0;padding:0;list-style:none}.shop-row{border-top:1px solid var(--line);grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:18px;padding:16px 0;display:grid}.shop-row:last-child{padding-bottom:0}.shop-row-icon{place-items:center;width:64px;height:56px;font-size:2.3rem;line-height:1;display:grid}.shop-row-icon .art-icon{width:50px;height:50px}.shop-row-text h3{margin:0;font-size:1.12rem}.shop-row-text p{color:var(--ink-soft);margin:3px 0 0;font-size:.95rem;line-height:1.4}.shop-infinite{place-items:center;display:grid;position:relative}.shop-infinite>span{color:#fff;text-shadow:0 1px 2px #78001e73;place-items:center;padding-bottom:5px;font-size:1.5rem;font-weight:700;display:grid;position:absolute;inset:0}.shop-tiles{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0;padding:0;list-style:none;display:grid}.shop-tile{background:var(--surface-2);box-shadow:inset 0 0 0 1px var(--line);text-align:center;border-radius:18px;flex-direction:column;align-items:center;gap:4px;padding:18px 12px 16px;display:flex;position:relative}.shop-tile.is-wearing{box-shadow:inset 0 0 0 2px var(--good)}.shop-tile-icon{font-size:2.6rem;line-height:1.15}.shop-tile-panda{margin-bottom:4px}.shop-tile h3{margin:4px 0 0;font-size:1.12rem}.shop-tile p{color:var(--ink-soft);flex:1;margin:0 0 8px;font-size:.88rem;line-height:1.3}.shop-tile .btn{width:100%;min-width:0;max-width:124px;margin-top:auto}.shop-tile h3+.btn{margin-top:10px}.shop-tile-count{background:var(--tint-bamboo);color:var(--tint-bamboo-ink);border-radius:999px;padding:1px 8px;font-size:.72rem;font-weight:700;position:absolute;top:8px;right:8px}@media (width<=639.98px){.shop-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}.btn.shop-buy{--btn-bg:transparent;--btn-edge:var(--shop-edge);--btn-ink:var(--tint-bamboo-ink);min-width:132px;min-height:42px;box-shadow:inset 0 0 0 2px var(--btn-edge), 0 4px 0 var(--btn-edge);border-radius:12px;padding:8px 16px;font-weight:700}.btn.shop-buy.is-action{--btn-ink:var(--brand-text)}.btn.shop-buy.is-equipped{--btn-edge:var(--good);--btn-ink:var(--good-text);background:var(--tint-good);cursor:default;gap:6px}.btn.shop-buy:hover:not(:disabled,.is-equipped){filter:none;background:var(--surface-3)}.btn.shop-buy:active:not(:disabled,.is-equipped){box-shadow:inset 0 0 0 2px var(--btn-edge), 0 1px 0 var(--btn-edge)}.btn.shop-buy.is-equipped:active{transform:none}.btn.shop-buy:disabled{--btn-ink:var(--ink-faint);opacity:1}.btn.shop-buy:disabled .art-icon{filter:grayscale();opacity:.6}.btn.shop-cta{--btn-bg:linear-gradient(180deg, #8268ff 0%, #6447ea 100%);--btn-edge:#4128b8;--btn-ink:#fff;min-height:42px;box-shadow:0 4px 0 var(--btn-edge);border-radius:12px;padding:8px 20px;font-weight:700}.shop-earn ul{margin:0;padding:0;list-style:none}.shop-earn li{border-top:1px solid var(--line);align-items:center;gap:14px;padding:10px 0;font-size:.95rem;line-height:1.35;display:flex}.shop-earn li:first-child{border-top:0;padding-top:0}.shop-earn-icon{background:var(--surface-2);width:38px;height:38px;color:var(--brand-text);border-radius:11px;flex:none;place-items:center;display:grid}.shop-earn-icon.is-gold{color:#f5b917}.shop-earn .trail-side-h .art-icon{width:24px;height:24px}.shop-earn-left{color:var(--ink-soft);margin:0;font-size:.85rem;font-weight:700}@media (width<=559.98px){.shop-plus{gap:6px 14px;padding:18px 18px 20px}.shop-plus-text{display:contents}.shop-plus-olu{grid-row:1/3;width:66px;margin:0 8px 0 2px}.shop-plus-twinkle.is-a{top:64px;right:18px}.shop-plus-twinkle.is-b{top:10px;left:76px}.shop-plus-twinkle.is-c{display:none}.shop-plus-pill{grid-column:2;place-self:end start}.shop-plus h2{grid-column:2;align-self:start;margin:4px 0 0;font-size:1.4rem}.shop-plus p{white-space:normal;text-wrap:balance;grid-column:1/-1;margin:10px 0 8px;font-size:1rem}.shop-plus:after{width:64px;height:50px;top:12px;right:10px}.shop-section{padding:18px 16px 20px}.shop-row{grid-template-columns:48px minmax(0,1fr);gap:10px 14px}.shop-row-icon{width:48px;height:48px;font-size:2rem}.shop-row-icon .art-icon{width:42px;height:42px}.shop-row>.btn{grid-column:2;justify-self:start}}.shop-tabs{background:var(--surface);box-shadow:var(--shadow-card);border-radius:16px;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:6px;display:grid}.shop-tabs button{min-height:74px;color:var(--ink-soft);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:8px;font-size:1rem;display:flex}.shop-tabs button:hover{background:var(--surface-2);color:var(--ink)}.shop-tabs button[aria-selected=true]{background:var(--tint-brand);color:var(--ink)}.shop-desk{flex-direction:column;gap:16px;display:flex}.shop-essentials .shop-head h2{font-size:1.4rem}.shop-essentials .shop-row{grid-template-columns:56px minmax(0,1fr) auto;gap:16px}.shop-essentials .shop-row-icon{background:var(--surface-2);border-radius:12px;width:56px;height:56px;font-size:1.7rem}.shop-essentials .shop-row-icon .art-icon{width:32px;height:32px}.shop-essentials .shop-infinite>span{padding-bottom:3px;font-size:1.05rem}.shop-row-extra{font-size:.9rem}.shop-essentials .shop-row.is-plus{border:1px solid color-mix(in srgb, var(--brand) 28%, var(--surface));background:color-mix(in srgb, var(--brand) 7%, var(--surface));border-radius:14px;margin-top:8px;padding:14px 16px}.shop-essentials .shop-row.is-plus .shop-row-icon{background:color-mix(in srgb, var(--brand) 18%, var(--surface))}.shop-row.is-plus h3{align-items:center;gap:8px;display:flex}.shop-row-crown{color:var(--brand-text);flex:none}.shop-tab-section{flex-direction:column;gap:14px;display:flex}.shop-tab-head{color:var(--on-dark);justify-content:space-between;align-items:center;gap:12px;display:flex}.shop-tab-head h2{margin:0;font-size:1.5rem}.shop-tab-section .shop-intro{color:var(--on-dark-soft);margin:-6px 0 0}.shop-desk .shop-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.shop-desk .shop-tile,.shop-desk .shop-tile.is-wearing{background:var(--surface);box-shadow:var(--shadow-card);border-radius:16px;gap:6px;padding:22px 18px 18px}.shop-desk .shop-tile p{font-size:.95rem}.shop-desk .shop-tile .btn{width:100%;max-width:none}.shop-desk .shop-tile-panda{background:var(--tint-brand);border-radius:50%;place-items:center;width:96px;height:96px;margin-bottom:8px;display:grid}.shop-desk .btn.shop-buy{--btn-bg:var(--tint-brand);min-width:0;min-height:44px;box-shadow:none;border-radius:10px;padding:8px 16px}.shop-desk .btn.shop-buy:hover:not(:disabled,.is-equipped){background:color-mix(in srgb, var(--brand) 16%, var(--tint-brand))}.shop-desk .btn.shop-buy:active:not(:disabled,.is-equipped){box-shadow:none;transform:translateY(1px)}.shop-desk .btn.shop-buy.is-equipped{--btn-bg:var(--tint-good);box-shadow:none}:root[data-theme=dark] .shop-screen{--shop-edge:#463f8c}:root[data-theme=dark] .shop-tabs,:root[data-theme=dark] .shop-desk .shop-essentials,:root[data-theme=dark] .shop-desk .shop-tile{background:color-mix(in srgb, var(--surface-2) 65%, var(--surface));box-shadow:0 0 0 1px var(--line)}:root[data-theme=dark] .shop-tabs button[aria-selected=true]{color:#fff}:root[data-theme=dark] .shop-essentials .shop-row-icon{background:var(--surface-3)}:root[data-theme=dark] .shop-essentials .shop-row.is-plus{background:color-mix(in srgb, var(--brand) 16%, var(--surface));border-color:#967dff52}:root[data-theme=dark] .shop-essentials .shop-row.is-plus .shop-row-icon{background:color-mix(in srgb, var(--brand) 34%, var(--surface))}:root[data-theme=dark] .shop-desk .btn.shop-buy.is-equipped{--btn-ink:#8fdba3;background:#26412f}
