@font-face{font-family:Nunito;font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/nunito-cyrillic-400-normal.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:700;font-display:swap;src:url(../fonts/nunito-cyrillic-700-normal.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:800;font-display:swap;src:url(../fonts/nunito-cyrillic-800-normal.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:900;font-display:swap;src:url(../fonts/nunito-cyrillic-900-normal.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:400;font-display:swap;src:url(../fonts/nunito-latin-ext-400-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Nunito;font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/nunito-latin-400-normal.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:700;font-display:swap;src:url(../fonts/nunito-latin-ext-700-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Nunito;font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/nunito-latin-700-normal.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:800;font-display:swap;src:url(../fonts/nunito-latin-ext-800-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Nunito;font-style:normal;font-weight:800;font-display:swap;src:url(../fonts/nunito-latin-800-normal.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:900;font-display:swap;src:url(../fonts/nunito-latin-ext-900-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Nunito;font-style:normal;font-weight:900;font-display:swap;src:url(../fonts/nunito-latin-900-normal.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}:root{--bg:#f4f5fb;--surface:#fff;--surface-2:#eef0f8;--text:#1b1d2a;--muted:#6b6f85;--border:#e1e3ef;--accent:#5b5bf0;--accent-2:#14b8a6;--accent-soft:#e7e7fd;--good:#16a34a;--bad:#e5484d;--c-red:#e5484d;--c-blue:#3b82f6;--c-green:#16a34a;--c-yellow:#d4a106;--shadow:0 6px 24px #1b1d2a14;--radius:18px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#11121a;--surface:#1b1d29;--surface-2:#252838;--text:#eceef8;--muted:#9599b3;--border:#2e3144;--accent:#8b8bff;--accent-2:#2dd4bf;--accent-soft:#2a2b4d;--c-yellow:#facc15;--shadow:0 6px 24px #00000059}}*{box-sizing:border-box}html,body{background:var(--bg);min-height:100%;color:var(--text);-webkit-tap-highlight-color:transparent;margin:0;font-family:Nunito,system-ui,-apple-system,Segoe UI,sans-serif}#app{max-width:560px;min-height:100dvh;margin:0 auto}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation;-webkit-user-select:none;user-select:none}h1,h2,h3{margin:0;line-height:1.2}.muted{color:var(--muted)}.small{font-size:.85rem}.center{text-align:center}.page{padding:12px 16px 32px}.topbar{grid-template-columns:44px 1fr 44px;align-items:center;margin-bottom:12px;display:grid}.topbar h1{text-align:center;font-size:1.15rem}.content{flex-direction:column;gap:14px;display:flex}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:20px}.card h3{margin-bottom:12px;font-size:1rem}.row{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.btn{border:1px solid var(--border);background:var(--surface-2);border-radius:14px;padding:12px 22px;font-weight:700;transition:transform 80ms,filter .15s}.btn:active{transform:scale(.97)}.btn.primary{background:linear-gradient(135deg, var(--accent), #7c5cf0);color:#fff;border-color:#0000}.btn.danger{width:100%;color:var(--bad)}.btn.big{padding:16px 28px;font-size:1.1rem}.icon-btn{background:var(--surface-2);border:none;border-radius:50%;width:44px;height:44px;font-size:1.2rem}.hero{text-align:center;padding:16px 8px 20px;position:relative}.hero-topbar{justify-content:space-between;align-items:center;gap:8px;width:100%;margin-bottom:14px;display:flex}.hero-actions{align-items:center;gap:8px;display:flex}.hero-actions .icon-btn{width:40px;height:40px;font-size:1.25rem}.legacy-settings-btn{inset-inline-end:0;position:absolute;top:12px}.logo{color:var(--accent);letter-spacing:.02em;align-items:center;gap:8px;margin-bottom:14px;font-weight:800;display:inline-flex}.logo img{width:30px;height:30px}.hero h1{margin-bottom:6px;font-size:1.8rem}.hero p{margin:0 0 14px}.streak{background:var(--surface-2);border-radius:999px;padding:6px 14px;font-size:.9rem;font-weight:700;display:inline-block}.streak.on{color:#b45309;background:#fff1e0}@media (prefers-color-scheme:dark){.streak.on{color:#fbbf24;background:#3b2a12}}.menu-card{text-align:left;border-radius:var(--radius);border:1px solid var(--border);background:var(--surface);width:100%;box-shadow:var(--shadow);align-items:center;gap:14px;padding:18px;transition:transform .1s;display:flex}.menu-card:active{transform:scale(.98)}.menu-card.featured{background:linear-gradient(135deg, var(--accent), #7c5cf0 60%, var(--accent-2));color:#fff;border:none}.menu-card.featured small{color:#ffffffd9}.menu-card.done{border:2px solid var(--accent-2)}.menu-icon{background:#7f7f7f1f;border-radius:14px;flex-shrink:0;place-items:center;width:52px;height:52px;font-size:2rem;display:grid}.menu-text{flex-direction:column;flex:1;gap:2px;display:flex}.menu-text b{font-size:1.1rem}.menu-text small{color:var(--muted)}.chev{opacity:.6;font-size:1.6rem}.onboard{place-items:center;min-height:100dvh;display:grid}.onboard-logo{width:84px;height:84px;margin:0 auto}.intro,.result{text-align:center;flex-direction:column;align-items:center;gap:12px;display:flex}.intro p{margin:4px 0 8px;line-height:1.5}.intro label,.form label{text-align:left;flex-direction:column;gap:6px;width:100%;font-weight:700;display:flex}.form{flex-direction:column;gap:16px;display:flex}.form label.inline{flex-direction:row;align-items:center;gap:10px}.form input[type=checkbox]{width:22px;height:22px;accent-color:var(--accent)}.input{font:inherit;border:1px solid var(--border);background:var(--surface-2);color:var(--text);border-radius:12px;width:100%;padding:12px 14px}.intro-icon{font-size:3.2rem}.chip{text-transform:uppercase;letter-spacing:.05em;border-radius:999px;padding:3px 10px;font-size:.75rem;font-weight:800}.domain-speed{--dc:#b45309;--dbg:#fef3c7}.domain-attention{--dc:#be185d;--dbg:#fce7f3}.domain-executive{--dc:#7c3aed;--dbg:#ede9fe}.domain-wm{--dc:#1d4ed8;--dbg:#dbeafe}.domain-memory{--dc:#047857;--dbg:#d1fae5}.domain-spatial{--dc:#0e7490;--dbg:#cffafe}.domain-reasoning{--dc:#a21caf;--dbg:#fae8ff}.domain-language{--dc:#c2410c;--dbg:#ffedd5}.domain-coordination{--dc:#0d9488;--dbg:#ccfbf1}.chip[class*=domain-]{background:var(--dbg);color:var(--dc)}.big-score{color:var(--accent);font-variant-numeric:tabular-nums;font-size:4rem;font-weight:900;line-height:1}.ring{background:radial-gradient(closest-side, var(--surface) 82%, transparent 83%), conic-gradient(var(--accent), var(--accent-2), var(--accent));border-radius:50%;place-content:center;width:190px;height:190px;display:grid}.ring .big-score{font-size:3.4rem}.ring-max{color:var(--muted);font-weight:700}.rank{font-size:1.3rem;font-weight:800}.badge-best{color:#b45309;font-weight:800;animation:.5s pop}.badge-speed{color:#d97706;font-weight:800;animation:.5s pop}.parts{flex-direction:column;gap:6px;width:100%;margin:10px 0;display:flex}.part{text-align:left;grid-template-columns:1.4fr 1fr 34px;align-items:center;gap:10px;padding:2px 0;font-size:.85rem;display:grid}.part-label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.part b{text-align:right;font-variant-numeric:tabular-nums}.part-bar{background:var(--surface-2);border-radius:99px;height:8px;overflow:hidden}.part-bar div{background:linear-gradient(90deg, var(--accent), var(--accent-2));border-radius:99px;height:100%}.ex-grid{grid-template-columns:repeat(2,1fr);gap:12px;display:grid}.ex-card{border-radius:var(--radius);border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);flex-direction:column;align-items:center;gap:8px;padding:20px 10px;display:flex;position:relative}.ex-card:active{transform:scale(.97)}.ex-icon{font-size:2.4rem}.stamp{background:var(--accent-2);color:#fff;border-radius:50%;place-items:center;width:24px;height:24px;font-size:.8rem;font-weight:900;display:grid;position:absolute;top:8px;right:10px}.chart{width:100%;height:auto}.chart .grid-line{stroke:var(--border)}.chart .axis{fill:var(--muted);font-size:9px}.chart .line{fill:none;stroke:var(--accent);stroke-width:2.5px;stroke-linejoin:round}.chart .area{fill:var(--accent);opacity:.12}.chart .dot{fill:var(--surface);stroke:var(--accent);stroke-width:2px}.calendar{grid-template-columns:repeat(7,1fr);gap:6px;display:grid}.cal-day{aspect-ratio:1;background:var(--surface-2);color:var(--muted);border-radius:10px;place-items:center;font-size:.8rem;display:grid}.cal-day.on{background:linear-gradient(135deg, var(--accent), var(--accent-2));color:#fff;font-weight:800}.cal-day.today{outline:2px solid var(--accent);outline-offset:1px}.play{flex-direction:column;height:100dvh;padding:12px 16px 16px;display:flex}.play-bar{align-items:center;gap:12px;margin-bottom:12px;display:flex}.progress{background:var(--surface-2);border-radius:99px;flex:1;height:10px;overflow:hidden}.progress-fill{background:linear-gradient(90deg, var(--accent), var(--accent-2));border-radius:99px;width:0;height:100%;transition:width .25s}.progress-label{text-align:right;font-variant-numeric:tabular-nums;min-width:48px;font-weight:800}.stage{flex-direction:column;flex:1;justify-content:center;align-items:center;gap:16px;min-height:0;display:flex}.countdown{color:var(--accent);font-size:6rem;font-weight:900;animation:.5s pop}.math-board{text-align:center;width:100%;padding:16px 0}.math-q{font-variant-numeric:tabular-nums;font-size:2.8rem;font-weight:800}.math-a{min-height:3rem;color:var(--accent);border-radius:14px;margin-top:10px;font-size:2.4rem;font-weight:800}.keypad{grid-template-columns:repeat(3,1fr);gap:10px;width:100%;max-width:340px;display:grid}.key{border:1px solid var(--border);background:var(--surface);height:62px;box-shadow:var(--shadow);border-radius:16px;font-size:1.6rem;font-weight:800}.key:active{background:var(--accent-soft)}.key-fn{background:var(--surface-2);font-size:1.3rem}.clash-rule{background:var(--accent-soft);color:var(--accent);border-radius:999px;padding:8px 16px;font-weight:800}.clash-rule.alt{color:#c2410c;background:#ffedd5}.clash-word{letter-spacing:.04em;min-height:4.4rem;font-size:3.4rem;font-weight:900}.clash-grid{grid-template-columns:repeat(2,1fr);gap:12px;width:100%;display:grid}.clash-btn{background:var(--surface);box-shadow:var(--shadow);padding:22px 8px;font-size:1.15rem}.path-hint{color:var(--muted);font-weight:800}.path-board{flex:1;width:100%;min-height:300px;position:relative}.path-node{border:2px solid var(--accent);background:var(--surface);width:52px;height:52px;box-shadow:var(--shadow);color:var(--accent);border-radius:50%;font-size:1.2rem;font-weight:900;position:absolute}.path-node.done{background:var(--accent);color:#fff;opacity:.35}.grid-status{font-size:1.1rem;font-weight:800}.tile-grid{aspect-ratio:1;border-radius:var(--radius);grid-template-columns:repeat(4,1fr);gap:10px;width:min(100%,360px);padding:10px;display:grid}.tile-grid.locked{pointer-events:none}.tile{background:var(--surface-2);border:none;border-radius:14px;transition:background .12s,transform .12s}.tile.lit{background:var(--accent-2);box-shadow:0 0 24px var(--accent-2);transform:scale(1.05)}.tile.tap{background:var(--accent)}.vault-title{font-size:1.1rem;font-weight:800}.vault-timer{color:var(--accent);font-size:2rem;font-weight:900}.vault-list{grid-template-columns:repeat(2,1fr);gap:8px;width:100%;display:grid}.vault-word{text-align:center;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:10px;font-weight:700}.vault-probe{text-align:center;border-radius:var(--radius);background:var(--surface);width:100%;box-shadow:var(--shadow);padding:36px 16px;font-size:2.4rem;font-weight:900}.vault-actions{grid-template-columns:1fr 1fr;gap:12px;width:100%;display:grid}.good-btn{background:var(--accent);color:#fff;border-color:#0000}.reflex-hint{color:var(--muted);font-weight:800}.reflex-grid{aspect-ratio:1;grid-template-columns:1fr 1fr;gap:14px;width:min(100%,380px);display:grid}.reflex-pad{background:var(--surface-2);border:none;border-radius:24px;transition:background 50ms}.reflex-pad.go{background:var(--good)}.reflex-pad.nogo{background:var(--bad)}.reflex-pad.wrong{outline:4px solid var(--bad)}.hidden{display:none!important}.why{text-align:left;background:var(--surface-2);border-radius:12px;width:100%;padding:10px 14px;font-size:.9rem}.why summary{cursor:pointer;font-weight:800}.why p{margin:8px 0 0;line-height:1.5}.level-change{background:var(--surface-2);border-radius:999px;padding:4px 12px;font-weight:800}.level-change.up{color:#15803d;background:#dcfce7}.level-change.down{color:#b91c1c;background:#fee2e2}.interlude{text-align:center;z-index:2;flex-direction:column;align-items:center;gap:10px;display:flex;position:absolute;inset:auto 16px 30%}.interlude p{margin:0}.stage{position:relative}.domain-group{flex-direction:column;gap:8px;display:flex}.domain-title{text-transform:uppercase;letter-spacing:.06em;color:var(--dc);margin:6px 4px 0;font-size:.85rem}.plan-sub{flex-direction:column;gap:6px;display:flex}.plan-icons{gap:6px;font-size:1.2rem;display:flex}.plan-icons span{opacity:.55}.plan-icons span.done{opacity:1;filter:drop-shadow(0 0 4px #fffc)}.level-tag{font-size:.75rem;display:block}.glance-prompt{min-height:1.4rem;font-weight:800}.glance-field{aspect-ratio:1;background:var(--surface);width:min(100%,400px);box-shadow:var(--shadow);border-radius:50%;position:relative}.glance-center,.glance-slot{place-items:center;display:grid;position:absolute;transform:translate(-50%,-50%)}.glance-center{width:64px;height:64px;color:var(--muted);font-size:2.6rem;top:50%;left:50%}.glance-slot{width:40px;height:40px;color:var(--muted);pointer-events:none;background:0 0;border:none;border-radius:50%;font-size:1.6rem}.glance-slot.target{color:var(--accent)}.glance-slot.distractor{color:var(--muted)}.mask{color:var(--muted);opacity:.7}.glance-slot.pickable{pointer-events:auto;background:var(--surface-2);border:2px dashed var(--accent)}.glance-choices{gap:16px;display:flex}.glance-choice{padding:10px 28px;font-size:2.2rem}.echo-rule{color:var(--accent);font-weight:800}.echo-grid{aspect-ratio:1;grid-template-columns:repeat(3,1fr);gap:8px;width:min(100%,320px);display:grid}.echo-cell{background:var(--surface-2);color:#fff;border-radius:12px;place-items:center;font-size:2rem;font-weight:900;display:grid}.echo-cell.lit{background:var(--accent)}.echo-actions{grid-template-columns:1fr 1fr;gap:12px;width:100%;display:grid}.switch-cue{border-radius:999px;padding:8px 16px;font-weight:900}.switch-cue[data-rule=parity]{color:#1d4ed8;background:#dbeafe}.switch-cue[data-rule=size]{color:#c2410c;background:#ffedd5}.switch-num{background:var(--surface);border:8px solid #0000;border-radius:28px;place-items:center;width:150px;height:150px;font-size:4.5rem;font-weight:900;display:grid}.switch-num[data-rule=parity]{border-color:#3b82f6}.switch-num[data-rule=size]{border-color:#f97316}.switch-pad{grid-template-columns:1fr 1fr;gap:12px;width:100%;display:grid}.switch-btn{background:var(--surface);flex-direction:column;gap:4px;padding:16px 8px;display:flex}.switch-btn span{opacity:.35}.switch-pad[data-rule=parity] .l-parity,.switch-pad[data-rule=size] .l-size{opacity:1;font-size:1.2rem}.rotate-pair{border-radius:var(--radius);grid-template-columns:1fr 1fr;gap:12px;width:100%;display:grid}.rotate-shape{aspect-ratio:1;background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);place-items:center;padding:14%;display:grid}.rotate-shape svg{width:100%;height:100%;overflow:visible}.rotate-shape rect{fill:var(--accent)}.rotate-pair.good .rotate-shape{outline:3px solid var(--good)}.rotate-pair.bad .rotate-shape{outline:3px solid var(--bad)}.rotate-timer{background:var(--surface-2);border-radius:99px;width:100%;height:6px;overflow:hidden}.rotate-timer div{background:var(--accent-2);height:100%}.radar-canvas,.pilot-canvas{border-radius:var(--radius);background:var(--surface);touch-action:none;flex:1;width:100%;min-height:280px}.pilot-canvas{background:#2f7d4f}.pilot-status{min-height:1.6rem;font-size:1.2rem;font-weight:900}.pilot-status.ok{color:var(--good)}.pilot-status.ko{color:var(--bad)}.pilot-btn{width:100%}.tower-goal{align-items:center;gap:12px;display:flex}.tower-board{justify-content:center;align-items:flex-end;gap:14px;display:flex}.peg{border:none;border-bottom:8px solid var(--muted);background:linear-gradient(var(--muted), var(--muted)) center / 8px 100% no-repeat, var(--surface-2);border-radius:10px 10px 4px 4px;flex-direction:column-reverse;align-items:center;gap:6px;width:92px;padding:8px 0 10px;display:flex}.peg.cap3{height:240px}.peg.cap2{height:172px}.peg.cap1{height:104px}.peg.selected{outline:3px solid var(--accent)}.ball{border-radius:50%;width:58px;height:58px;transition:transform .12s;box-shadow:inset -6px -6px #0000002e}.ball.up{transform:translateY(-10px)}.tower-board.small .peg{background-size:4px 100%;border-bottom-width:4px;gap:2px;width:36px;padding:3px 0 4px}.tower-board.small .peg.cap3{height:82px}.tower-board.small .peg.cap2{height:58px}.tower-board.small .peg.cap1{height:34px}.tower-board.small .ball{width:22px;height:22px;box-shadow:none}.odd-grid{grid-template-columns:repeat(3,1fr);gap:10px;width:100%;display:grid}.odd-grid[data-n="4"]{grid-template-columns:repeat(2,1fr);max-width:300px}.odd-item{aspect-ratio:1.2;border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:16px;place-items:center;padding:12px;display:grid}.odd-item svg{width:100%;max-height:46px}.odd-item.right{outline:3px solid var(--good)}.odd-item.wrong{outline:3px solid var(--bad)}.digits-display{min-height:6rem;color:var(--accent);font-size:5rem;font-weight:900}.digits-slots{letter-spacing:.15em;border-radius:12px;min-height:2.6rem;padding:0 10px;font-size:2rem;font-weight:800}.pairs-list{grid-template-columns:repeat(2,1fr);gap:8px;width:100%;display:grid}.pair{background:var(--surface);border:1px solid var(--border);border-radius:12px;align-items:center;gap:10px;padding:8px 12px;font-weight:700;display:flex}.pair-sym{font-size:1.8rem}.vault-probe.pair-sym{font-size:4rem}.pairs-options{grid-template-columns:1fr 1fr;gap:10px;width:100%;display:grid}.pairs-options.single{grid-template-columns:1fr}.reading-tag{color:var(--accent);font-weight:800}.reading-text{border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow);margin:0;padding:18px;font-size:1.25rem;line-height:1.7}.stage-reading,.stage-pairs,.stage-vault{justify-content:flex-start;overflow-y:auto}.radar{width:100%;max-width:360px;margin:0 auto;display:block;overflow:visible}.radar-ring{fill:none;stroke:var(--border)}.radar-area{fill:var(--accent);fill-opacity:.25;stroke:var(--accent);stroke-width:2.5px;stroke-linejoin:round}.radar-label{fill:var(--muted);font-size:10px;font-weight:700}html.big-text{font-size:118%}.good{animation:.35s good}.bad{animation:.4s bad}.pop{animation:.2s pop}.shake{animation:.4s shake}@keyframes good{50%{box-shadow:0 0 0 6px color-mix(in srgb, var(--good) 45%, transparent)}}@keyframes bad{0%,to{transform:translate(0)}25%{box-shadow:0 0 0 4px color-mix(in srgb, var(--bad) 45%, transparent);transform:translate(-6px)}75%{transform:translate(6px)}}@keyframes shake{25%{border-color:var(--bad);transform:translate(-5px)}75%{border-color:var(--bad);transform:translate(5px)}}@keyframes pop{0%{opacity:.4;transform:scale(.85)}to{opacity:1;transform:scale(1)}}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}.example{background:var(--surface-2);border-radius:14px;flex-direction:column;align-items:center;gap:10px;width:100%;padding:14px;display:flex}.example p{text-align:center;margin:0;font-size:.92rem;line-height:1.45}.ex-row{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;display:flex}.ex-arrow{color:var(--muted);font-weight:800}.ex-answer{background:var(--good);color:#fff;border-radius:999px;padding:4px 10px;font-size:.9rem;font-weight:800}.ex-chip{background:var(--surface);border:1px solid var(--border);border-radius:999px;padding:4px 10px;font-size:.9rem;font-weight:700}.ex-chip.big{padding:2px 8px;font-size:1.2rem}.ex-big,.ex-word{font-size:1.5rem;font-weight:900}.ex-mini{gap:3px;width:54px;display:grid}.ex-mini span{aspect-ratio:1;background:var(--surface);color:#fff;border-radius:4px;place-items:center;font-size:.6rem;font-weight:900;display:grid}.ex-mini span.on{background:var(--accent)}.ex-glance{background:var(--surface);border-radius:50%;width:70px;height:70px;position:relative}.ex-glance .c{place-items:center;font-size:1.3rem;display:grid;position:absolute;inset:0}.ex-glance .s{color:var(--accent);position:absolute;top:4px;right:6px}.ex-pads{grid-template-columns:1fr 1fr;gap:3px;width:44px;display:grid}.ex-pads span{aspect-ratio:1;background:var(--surface);border-radius:5px;place-items:center;font-size:.7rem;display:grid}.ex-pads .go{background:var(--good)}.ex-pads .nogo{background:var(--bad)}.ex-node{border:2px solid var(--accent);width:30px;height:30px;color:var(--accent);background:var(--surface);border-radius:50%;place-items:center;font-weight:900;display:grid}.ex-balls{gap:4px;display:flex}.ex-balls i{background:var(--muted);border-radius:50%;width:16px;height:16px}.ex-balls i.on{background:var(--accent)}.ex-balls i.pick{outline:3px solid var(--good)}.ex-num{background:var(--surface);border:4px solid;border-radius:10px;place-items:center;width:38px;height:38px;font-size:1.2rem;font-weight:900;display:grid}.ex-num.parity{border-color:#3b82f6}.ex-num.size{border-color:#f97316}.ex-seq{letter-spacing:.1em;color:var(--muted);font-size:1.2rem}.ex-seq b{color:var(--accent)}.ex-shape{width:56px;box-shadow:none;padding:8px}.ex-odd{background:var(--surface);border-radius:8px;place-items:center;width:46px;height:40px;padding:6px;display:grid}.ex-odd svg{width:26px}.ex-odd.right{outline:3px solid var(--good)}.tip{color:var(--muted);margin:0;font-size:.88rem}.btn.ghost{background:0 0}.row.left{justify-content:flex-start;align-items:center}.input.time{width:auto}.combo{color:#ea580c;opacity:0;white-space:nowrap;min-width:0;font-weight:900;transition:opacity .2s}.combo.on{opacity:1}.combo.bump{animation:.25s pop}.practice-tag{color:#b45309;white-space:nowrap;background:#fef3c7;border-radius:999px;padding:3px 8px;font-size:.75rem;font-weight:800}.play{position:relative}.toasts{pointer-events:none;z-index:5;flex-direction:column;align-items:center;gap:6px;display:flex;position:absolute;top:124px;left:16px;right:16px}.toast{box-shadow:var(--shadow);background:var(--surface);border-radius:999px;padding:8px 16px;font-weight:800;animation:.25s ease-out toast-in}.toast.up{color:#fff;background:#16a34a}.toast.down{background:var(--surface-2);color:var(--muted)}.toast.hint{text-align:center;border:2px solid #f59e0b;border-radius:14px;max-width:460px;font-size:.9rem;font-weight:700}@keyframes toast-in{0%{opacity:0;transform:translateY(-10px)}}.level-box{flex-direction:column;align-items:center;gap:4px;width:100%;display:flex}.level-box p{text-align:center;margin:0}.history{flex-direction:column;align-items:center;gap:2px;margin-top:6px;display:flex}.spark svg{width:100%;max-width:240px;height:auto;display:block}.spark polyline{fill:none;stroke:var(--accent);stroke-width:2.5px;stroke-linejoin:round;stroke-linecap:round}.spark circle{fill:var(--accent)}.ex-progress .spark svg{max-width:120px}.xp{grid-template-columns:auto 1fr auto;align-items:center;gap:10px;width:100%;font-size:.85rem;display:grid}.xp-level{color:var(--accent);font-weight:900}.xp-bar{background:var(--surface-2);border-radius:99px;height:8px;overflow:hidden}.xp-bar div{background:linear-gradient(90deg,#f59e0b,#ea580c);border-radius:99px;height:100%;transition:width .6s}.xp-num{color:var(--muted);font-variant-numeric:tabular-nums}.hero .xp{max-width:360px;margin:14px auto 0}.xp-gain{flex-direction:column;align-items:center;gap:8px;width:100%;display:flex}.xp-chip{color:#c2410c;background:#fff7ed;border-radius:999px;padding:4px 12px;font-weight:900;animation:.4s pop}.level-up{color:#c2410c}.new-badges{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;display:flex}.badge-pill{background:var(--accent-soft);border-radius:999px;align-items:center;gap:6px;padding:6px 12px;font-weight:800;animation:.5s pop;display:inline-flex}.hero-chips{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.next-goal{text-align:left;border-radius:var(--radius);border:1px dashed var(--border);background:0 0;grid-template-columns:52px 1fr;align-items:center;gap:4px 14px;width:100%;padding:14px 18px;display:grid}.goal-icon{text-align:center;grid-row:span 2;font-size:2rem}.goal-bar{background:var(--surface-2);border-radius:99px;width:100%;height:6px;overflow:hidden}.goal-bar div{background:var(--accent-2);border-radius:99px;height:100%}.badges{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px;display:grid}.badge{text-align:center;background:var(--surface-2);opacity:.6;filter:grayscale(.8);border-radius:14px;flex-direction:column;align-items:center;gap:4px;padding:12px 8px;display:flex}.badge.earned{opacity:1;filter:none;background:var(--accent-soft)}.badge-icon{font-size:1.8rem}.badge small{font-size:.72rem}.badge-date{color:var(--accent);font-weight:700}@media (prefers-color-scheme:dark){.practice-tag{color:#fbbf24;background:#3b2a12}.xp-chip{color:#fdba74;background:#3b2412}.level-up{color:#fdba74}}.verdict{z-index:6;pointer-events:none;opacity:0;color:#fff;text-align:center;border-radius:999px;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px 10px;max-width:85%;padding:10px 22px;display:flex;position:absolute;top:64px;left:50%;transform:translate(-50%);box-shadow:0 10px 30px #00000040}.verdict.ok{background:#16a34af0}.verdict.bad{background:#e5484df2}.verdict.show.ok{animation:.6s ease-out forwards verdict}.verdict.show.bad{animation:1.2s ease-out forwards verdict}.verdict-icon{font-size:2rem;font-weight:900;line-height:1}.verdict-text{font-size:1.1rem;font-weight:900}.verdict-was{opacity:.95;font-size:.95rem;font-weight:700}@keyframes verdict{0%{opacity:0;transform:translate(-50%)scale(.6)}12%{opacity:1;transform:translate(-50%)scale(1.1)}22%{transform:translate(-50%)scale(1)}75%{opacity:1}to{opacity:0;transform:translate(-50%)scale(1)}}.play.glow-ok{animation:.6s ease-out glow-ok}.play.glow-bad{animation:.9s ease-out glow-bad}@keyframes glow-ok{0%{box-shadow:inset 0 0 #16a34a00}20%{box-shadow:inset 0 0 0 8px #16a34ad9}to{box-shadow:inset 0 0 #16a34a00}}@keyframes glow-bad{0%{box-shadow:inset 0 0 #e5484d00}15%{box-shadow:inset 0 0 0 10px #e5484de6}to{box-shadow:inset 0 0 #e5484d00}}.correct-hint{outline-offset:2px;animation:.5s ease-in-out 2 hint-pulse;outline:4px solid var(--good)!important}@keyframes hint-pulse{50%{transform:scale(1.06)}}.tile.answer{background:var(--good);color:#fff;font-size:1.2rem;font-weight:900}.glance-center.right{color:var(--good)}.glance-center.wrong{background:#e5484d26;border-radius:50%}.glance-slot.reveal{outline:3px solid var(--good);border-radius:50%}.glance-slot.wrong-pick{color:var(--bad);font-weight:900}@media (prefers-reduced-motion:reduce){.verdict.show{opacity:1}}.echo-demo{flex-direction:column;align-items:center;gap:8px;display:flex}.echo-demo-col{flex-direction:column;align-items:center;gap:3px;display:flex}.echo-demo-col small{color:var(--muted);font-weight:800}.echo-demo-cell{place-items:center;min-width:54px;min-height:54px;display:grid}.echo-demo-verdict{min-width:110px}.echo-demo-text{min-height:2.6em;font-weight:700}.echo-strip{background:var(--surface-2);border-radius:14px;flex-direction:column;align-items:center;gap:6px;width:100%;padding:10px;display:flex}.echo-strip-items{align-items:flex-end;gap:10px;display:flex}.echo-strip-item{opacity:.6;border-radius:10px;flex-direction:column;align-items:center;gap:3px;padding:4px;display:flex}.echo-strip-item small{font-size:.75rem;font-weight:800}.echo-strip-item.now{opacity:1;outline:2px solid var(--accent)}.echo-strip-item.compare{opacity:1;outline:3px dashed #f59e0b}.echo-strip-hint{text-align:center;margin:0;font-size:.85rem;font-weight:700}.echo-mini{grid-template-columns:repeat(3,1fr);gap:2px;width:42px;display:grid}.echo-mini span{aspect-ratio:1;background:var(--surface);color:#fff;border-radius:3px;place-items:center;font-size:.55rem;font-weight:900;display:grid}.echo-mini span.on{background:var(--accent)}.stage-echo{justify-content:flex-start}.play.practice .echo-grid{width:min(100%,220px)}.pairs-tip{text-align:center;max-width:460px;color:var(--muted);margin:0;font-size:.9rem;line-height:1.45}.pairs-timer{color:var(--accent);font-weight:800}.stage-pairs .pairs-list{grid-template-columns:1fr;max-width:360px}.stage-pairs .pair{border:2px solid var(--accent-soft);grid-template-columns:56px 28px 1fr;align-items:center;padding:10px 16px;font-size:1.15rem;display:grid}.stage-pairs .pair-sym{text-align:center;font-size:2.2rem}.pair-link{opacity:.7}.pair-word{font-weight:800}.echo-series{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-size:.8rem;font-weight:800}.echo-turn{text-align:center;min-height:1.4rem;font-weight:800}.echo-turn.wait{color:#b45309}.echo-timer{background:var(--surface-2);border-radius:99px;width:min(100%,320px);height:6px;overflow:hidden}.echo-timer div{background:var(--accent-2);border-radius:99px;height:100%}.echo-grid.between{opacity:.45}.echo-grid{transition:opacity .15s}.echo-actions .btn.off{opacity:.35;pointer-events:none}.echo-actions.single{grid-template-columns:1fr;width:min(100%,320px)}.onboard{align-content:center;gap:8px}.link-btn{color:var(--muted);font-size:inherit;background:0 0;border:none;padding:6px;text-decoration:underline}.legal p{margin:8px 0 0;line-height:1.5}.legal-links a{color:var(--accent);font-weight:700}.lang-picker{align-items:center;gap:4px;font-size:.9rem;display:inline-flex}.lang-picker select{font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--border);cursor:pointer;border-radius:999px;max-width:10em;padding:5px 10px}.hero .hero-topbar .lang-picker{position:static}.legacy-hero-lang{inset-inline-start:0;position:absolute;top:14px}.onboard{position:relative}.legacy-onboard-lang{top:16px;position:absolute;inset-inline-end:16px}.legal-links .lang-picker{margin-inline-start:8px}[dir=rtl] .stage{direction:ltr}[dir=rtl] .stage :is(p,h2,h3,.reading-text,.muted){direction:rtl}[dir=rtl] :is(.chev,.topbar .icon-btn,.ex-arrow){transform:scaleX(-1)}.page.onboard{min-height:100dvh;padding-bottom:40px;display:block}.onboard-topbar{justify-content:space-between;align-items:center;gap:12px;width:100%;max-width:720px;margin:0 auto;padding:12px 16px;display:flex}.onboard-hero{text-align:center;max-width:680px;margin:0 auto;padding:18px 16px 20px}.onboard-logo-img{width:48px;height:48px}.landing-title{background:linear-gradient(135deg, var(--text) 30%, var(--accent) 100%);-webkit-text-fill-color:transparent;-webkit-background-clip:text;margin:8px 0 10px;font-size:2rem;line-height:1.25}.landing-sub{color:var(--muted);max-width:580px;margin:0 auto 16px;font-size:1.05rem;line-height:1.6}.trust-chips{flex-wrap:wrap;justify-content:center;gap:8px;margin:8px auto 16px;display:flex}.trust-chip{background:var(--surface-2);border:1px solid var(--border);color:var(--text);border-radius:999px;align-items:center;padding:5px 12px;font-size:.82rem;font-weight:600;display:inline-flex}.onboard-content{flex-direction:column;gap:24px;max-width:680px;margin:0 auto;display:flex}.landing-start-card{text-align:center;background:linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);border:2px solid var(--accent);padding:24px 20px;box-shadow:0 8px 24px #5b5bf026}.landing-start-card h2{margin-bottom:6px;font-size:1.35rem}.start-input-group{flex-direction:column;gap:12px;width:100%;max-width:380px;margin:16px auto 4px;display:flex}.landing-section{flex-direction:column;gap:12px;display:flex}.landing-section-title{text-align:center;margin-bottom:4px;font-size:1.2rem;font-weight:700}.pillars-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;display:grid}.pillar-card{text-align:left;flex-direction:column;gap:6px;padding:16px;display:flex}.pillar-icon{margin-bottom:4px;font-size:1.8rem}.pillar-card h3{margin:0;font-size:1rem;font-weight:700}.domains-grid{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.domain-pill{padding:6px 14px;font-size:.85rem;font-weight:600}.guide-cta-card{text-align:center;border:1px dashed var(--accent);background:var(--surface);padding:20px 16px}.guide-cta-card h3{margin-bottom:6px}.guide-cta-card p{margin-bottom:12px}.landing-footer{flex-direction:column;gap:8px;margin-top:16px;display:flex}.guide-screen-wrapper{flex-direction:column;gap:20px;max-width:720px;margin:0 auto;display:flex}.guide-screen-header{flex-direction:column;gap:10px;margin-bottom:8px;display:flex}.guide-intro-card{border-left:4px solid var(--accent);padding:20px;line-height:1.65}.guide-block{flex-direction:column;gap:12px;display:flex}.guide-block-title{color:var(--text);margin:8px 0 4px;font-size:1.25rem;font-weight:800}.guide-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px;display:grid}.guide-card{padding:16px;line-height:1.55}.guide-card h3{color:var(--accent);margin-bottom:6px;font-size:1.05rem}.guide-domain-section{flex-direction:column;gap:10px;margin-bottom:14px;display:flex}.domain-header{align-self:flex-start;padding:6px 14px;font-size:.9rem;font-weight:700}.guide-exercises-list{flex-direction:column;gap:12px;display:flex}.guide-exercise-card{flex-direction:column;gap:10px;padding:16px 18px;display:flex}.guide-ex-header{align-items:center;gap:12px;display:flex}.guide-ex-icon{background:var(--surface-2);border-radius:10px;place-items:center;width:44px;height:44px;font-size:2rem;line-height:1;display:grid}.guide-ex-meta{flex-direction:column;gap:2px;display:flex}.guide-ex-name{margin:0;font-size:1.1rem;font-weight:700}.guide-ex-body{flex-direction:column;gap:8px;line-height:1.5;display:flex}.guide-ex-field{flex-direction:column;gap:2px;display:flex}.guide-field-label{color:var(--accent);text-transform:uppercase;letter-spacing:.04em;font-size:.85rem}.guide-field-text{margin:0;font-size:.95rem}.guide-ex-example{background:var(--surface-2);border-left:3px solid var(--accent-2);border-radius:8px;margin-top:4px;padding:8px 12px}.span-mode{background:var(--surface-2);color:var(--accent);border-radius:99px;margin-bottom:8px;padding:4px 12px;font-size:.85rem;font-weight:700;display:inline-block}.span-mode.alt{color:var(--c-red);background:#fef2f2}.story-title{color:var(--accent);margin-bottom:8px;font-size:1.1rem;font-weight:700}.story-card{border-radius:var(--radius);background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);margin-bottom:16px;padding:18px;font-size:1.05rem;line-height:1.6}.story-q{margin-bottom:16px;font-size:1.15rem;font-weight:700}.story-opts{flex-direction:column;gap:10px;width:100%;display:flex}.story-opt{text-align:left;padding:14px;font-size:1rem}.flanker-hint{color:var(--muted);margin-bottom:12px;font-size:.95rem}.flanker-display{justify-content:center;align-items:center;gap:12px;min-height:100px;margin:16px 0;font-size:2.8rem;font-weight:800;display:flex}.flanker-display .center-arrow{color:var(--accent);transform:scale(1.15)}.flanker-controls{justify-content:center;gap:16px;width:100%;display:flex}.flanker-btn{flex:1;max-width:140px;padding:16px 0;font-size:2rem}.gonogo-hint{color:var(--muted);margin-bottom:12px;font-size:.95rem}.gonogo-arena{border-radius:var(--radius);background:var(--surface);border:2px dashed var(--border);cursor:pointer;-webkit-user-select:none;user-select:none;touch-action:manipulation;place-items:center;width:100%;max-width:320px;height:240px;margin:16px auto;display:grid}.gonogo-target{border-radius:50%;place-items:center;width:110px;height:110px;font-size:3rem;font-weight:900;transition:transform .1s;display:grid}.gonogo-target.go{color:#fff;background:#10b981;box-shadow:0 0 20px #10b98166}.gonogo-target.nogo{color:#fff;background:#ef4444;box-shadow:0 0 20px #ef444466}.gonogo-target.empty{color:var(--border);background:0 0}.good-flash{animation:.25s ease-out good-pulse}.bad-flash{animation:.35s ease-out bad-pulse}.msit-hint{color:var(--muted);margin-bottom:12px;font-size:.95rem}.msit-display{letter-spacing:.2em;min-height:80px;margin:20px 0;font-size:3.2rem;font-weight:800}.msit-controls{justify-content:center;gap:14px;width:100%;display:flex}.msit-btn{flex:1;max-width:90px;padding:16px 0;font-size:1.8rem;font-weight:700}.binding-goal{background:var(--surface-2);border-radius:8px;margin-bottom:16px;padding:8px 14px;font-size:1.1rem;font-weight:700}.binding-grid{grid-template-columns:repeat(4,1fr);gap:12px;max-width:320px;margin:0 auto;display:grid}.binding-tile{border-radius:var(--radius);background:var(--surface);border:1px solid var(--border);width:64px;height:64px;box-shadow:var(--shadow);cursor:pointer;place-items:center;font-size:2.2rem;display:grid}.binding-tile:active{transform:scale(.94)}.stage-sorting{flex-direction:column;align-items:center;gap:12px;width:100%;max-width:480px;margin:0 auto;display:flex}.sorting-header{text-align:center;flex-direction:column;align-items:center;gap:6px;display:flex}.sorting-title{color:var(--text);letter-spacing:-.01em;font-size:1.1rem;font-weight:800}.sorting-dims{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.sorting-dim-pill{background:var(--surface);border:1px solid var(--border);color:var(--text);border-radius:999px;align-items:center;gap:4px;padding:4px 12px;font-size:.8rem;font-weight:700;transition:all .2s;display:inline-flex}.sorting-dim-pill.eliminated{opacity:.35;filter:grayscale(.9);border-color:#ef44444d;text-decoration:line-through}.sorting-dim-pill.active-rule{border-color:var(--c-green);color:var(--c-green);background:#10b9812e;font-weight:800;box-shadow:0 0 10px #10b9814d}.sorting-section-label{text-transform:uppercase;letter-spacing:.05em;color:var(--muted);text-align:center;margin-bottom:6px;font-size:.75rem;font-weight:700}.sorting-refs-wrapper{width:100%}.sorting-refs{grid-template-columns:repeat(4,1fr);gap:10px;width:100%;display:grid}.sorting-ref-btn{background:var(--surface);border:2px solid var(--border);border-radius:var(--radius);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;min-height:96px;padding:12px 6px;transition:transform .1s,border-color .15s,box-shadow .15s;display:flex;position:relative}.sorting-ref-btn:hover{border-color:var(--accent);transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.sorting-ref-btn:active{transform:translateY(0)}.sorting-ref-num{color:var(--muted);font-size:.7rem;font-weight:800;position:absolute;top:4px;left:6px}.sorting-feedback{text-align:center;background:var(--surface);min-height:38px;color:var(--muted);border:1px solid var(--border);border-radius:8px;justify-content:center;align-items:center;width:100%;padding:8px 14px;font-size:.88rem;font-weight:600;transition:all .2s;display:flex}.sorting-feedback.good{color:var(--c-green);background:#10b9811f;border-color:#10b98166}.sorting-feedback.bad{color:var(--c-red);background:#ef44441f;border-color:#ef444466}.sorting-feedback.switch{color:var(--c-yellow);background:#f59e0b26;border-color:#f59e0b80}.sorting-test-wrapper{flex-direction:column;align-items:center;gap:6px;width:100%;display:flex}.sorting-test{justify-content:center;align-items:center;min-height:100px;display:flex}.sorting-timer-bar{background:var(--border);border-radius:2px;width:180px;height:4px;margin-top:6px;overflow:hidden}.sorting-timer-fill{background:var(--accent);border-radius:2px;width:100%;height:100%}.sorting-card{flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;font-size:1.6rem;font-weight:700;line-height:1;display:flex}.sorting-card.test-card{border-radius:var(--radius);background:var(--surface);border:2px solid var(--accent);min-width:180px;min-height:96px;padding:18px 36px;font-size:2.6rem;box-shadow:0 4px 20px #00000026}.resources-header{background:var(--surface-2);border-radius:8px;justify-content:space-between;width:100%;margin-bottom:14px;padding:10px 14px;font-size:.95rem;display:flex}.resources-header.overbudget{color:var(--c-red);background:#fee2e2}.resources-grid{grid-template-columns:repeat(2,1fr);gap:10px;width:100%;margin-bottom:16px;display:grid}.resource-card{border-radius:var(--radius);background:var(--surface);border:1px solid var(--border);text-align:left;cursor:pointer;flex-direction:column;gap:4px;padding:12px;transition:all .15s;display:flex}.resource-card.selected{border-color:var(--accent);background:var(--accent-soft);box-shadow:0 0 0 2px var(--accent)}.resource-card .cost{color:#d97706;font-size:.85rem}.resource-card .value{color:#10b981;font-size:.85rem}.resources-submit{width:100%}.resources-header{flex-direction:column;gap:6px;display:flex}.resources-bar{background:var(--border);border-radius:999px;height:8px;overflow:hidden}.resources-bar>div{border-radius:inherit;height:100%;transition:width .2s}.resources-bar.spent>div{background:#d97706}.resources-bar.gained>div{background:#10b981}.overbudget .resources-bar.spent>div{background:var(--c-red)}.resource-card b{font-size:1.05rem}.reaction-pad{border-radius:var(--radius);cursor:pointer;-webkit-user-select:none;user-select:none;touch-action:manipulation;flex-direction:column;justify-content:center;align-items:center;gap:8px;width:100%;max-width:360px;height:280px;margin:16px auto;transition:background .15s;display:flex}.reaction-pad.waiting{color:#fff;background:#f59e0b}.reaction-pad.active{color:#fff;background:#10b981;box-shadow:0 0 30px #10b98180}.reaction-pad.false-start{color:#fff;background:#ef4444}.reaction-pad.success{background:var(--surface);color:var(--fg);border:2px solid #10b981}.reaction-pad.slow{background:var(--surface);color:var(--fg);border:2px solid #f59e0b}.reaction-text{font-size:2rem;font-weight:800}.reaction-sub{opacity:.9;font-size:1rem}.stage-dots{text-align:center;flex-direction:column;justify-content:center;align-items:center;width:100%;max-width:440px;margin:0 auto;display:flex}.dots-hint{color:var(--muted);margin-bottom:12px;font-size:.95rem}.dots-container{gap:16px;width:100%;max-width:380px;margin:0 auto 16px;display:flex}.dots-side{border-radius:var(--radius);background:var(--surface);border:2px solid var(--border);flex:1;place-items:center;height:180px;font-size:2.2rem;font-weight:800;display:grid;position:relative;overflow:hidden;box-shadow:0 4px 16px #0000001a}.dot-cloud{width:100%;height:100%;position:absolute;top:0;left:0}.dot-item{background:var(--accent);border-radius:50%;position:absolute}.dot-mask{color:var(--muted);font-size:2.5rem}.dots-controls{gap:16px;width:100%;max-width:380px;margin:0 auto;display:flex}.dots-btn{flex:1;padding:14px 0;font-size:1.1rem;font-weight:700}.anagram-status{color:var(--muted);margin-bottom:12px;font-size:.95rem}.anagram-slots{justify-content:center;gap:8px;min-height:54px;margin-bottom:20px;display:flex}.anagram-slot{border-bottom:3px solid var(--border);place-items:center;width:44px;height:50px;font-size:1.6rem;font-weight:800;display:grid}.anagram-slot.filled{border-bottom-color:var(--accent)}.anagram-tiles{flex-wrap:wrap;justify-content:center;gap:10px;margin-bottom:16px;display:flex}.anagram-tile{min-width:48px;height:52px;font-size:1.4rem;font-weight:700}.anagram-tile.used{opacity:.25;pointer-events:none}.anagram-actions{justify-content:center;gap:10px;display:flex}.stage-fluency{text-align:center;flex-direction:column;justify-content:center;align-items:center;width:100%;max-width:440px;margin:0 auto;display:flex}.fluency-header{justify-content:center;align-items:center;gap:8px;margin-bottom:16px;font-size:1.15rem;display:flex}.fluency-letter{color:var(--accent);font-size:2.2rem;font-weight:900;display:inline-block}.fluency-card{letter-spacing:.08em;background:var(--surface);border:2px solid var(--border);border-radius:var(--radius);justify-content:center;align-items:center;width:100%;max-width:380px;min-height:90px;margin:0 auto 24px;font-size:2.4rem;font-weight:900;display:flex;box-shadow:0 4px 16px #0000001f}.fluency-controls{justify-content:center;align-items:center;gap:16px;width:100%;max-width:380px;margin:0 auto;display:flex}.fluency-btn{flex:1;min-height:56px;font-size:1.15rem;font-weight:700}.stage-matrix{text-align:center;flex-direction:column;justify-content:center;align-items:center;width:100%;max-width:440px;margin:0 auto;display:flex}.matrix-status-box{flex-direction:column;align-items:center;gap:8px;min-height:54px;margin-bottom:16px;display:flex}.matrix-status{color:var(--text);font-size:1.05rem;font-weight:700}.matrix-badge{background:var(--surface);border:1px solid var(--border);color:var(--accent);border-radius:999px;align-items:center;gap:6px;padding:4px 14px;font-size:.85rem;font-weight:700;display:inline-flex}.matrix-badge.rot{border-color:var(--accent);background:#0e749026}.matrix-timer-bar{background:var(--border);border-radius:2px;width:260px;height:4px;margin-top:4px;overflow:hidden}.matrix-timer-fill{background:var(--accent);width:100%;height:100%;transition:width linear}.matrix-grid{gap:10px;width:270px;height:270px;margin:0 auto 20px;display:grid}.matrix-grid.size-3{grid-template-rows:repeat(3,1fr);grid-template-columns:repeat(3,1fr)}.matrix-cell{aspect-ratio:1;box-sizing:border-box;background:var(--surface);border:2px solid var(--border);-webkit-user-select:none;user-select:none;border-radius:12px;justify-content:center;align-items:center;width:100%;min-width:0;height:100%;min-height:0;margin:0;padding:0;font-family:inherit;font-size:2.2rem;line-height:1;transition:border-color .15s,background .15s,box-shadow .15s;display:flex;overflow:hidden}.matrix-cell.filled{border-color:var(--accent);background:#0e749033}.matrix-cell.btn-cell{cursor:pointer;outline:none}.matrix-cell.btn-cell:hover{border-color:var(--accent)}.matrix-cell.btn-cell.active{border-color:var(--accent);background:#0e749047;box-shadow:0 0 12px #0e749059}.matrix-cell.correct-hint{border-color:var(--c-green)!important;background:#10b98140!important}.matrix-cell.wrong-hint{border-color:var(--c-red)!important;background:#ef444440!important}.matrix-confirm{width:100%;max-width:270px;min-height:48px;margin:0 auto;font-size:1.05rem;font-weight:700}.bilateral-hint{color:var(--muted);text-align:center;margin-bottom:12px;font-size:.95rem}.pad-key-hint{opacity:.75;letter-spacing:.02em;margin-top:3px;font-size:.72rem;font-weight:600;display:block}.bilateral-seq{flex-wrap:wrap;justify-content:center;gap:8px;min-height:50px;margin-bottom:24px;display:flex}.seq-node{background:var(--surface-2);border:1px solid var(--border);width:38px;height:38px;color:var(--fg);border-radius:50%;place-items:center;font-size:1.1rem;font-weight:700;display:grid}.seq-node.done{color:#fff;background:#10b981;border-color:#10b981}.seq-node.current{border-color:var(--accent);transform:scale(1.1);box-shadow:0 0 0 3px #0d948859}.bilateral-controls{gap:16px;width:100%;max-width:440px;margin:0 auto;display:flex}.bilateral-pad{touch-action:manipulation;flex-direction:column;flex:1;justify-content:center;align-items:center;min-height:88px;font-size:1.4rem;font-weight:800;display:flex}.swipe-container{gap:16px;width:100%;max-width:440px;margin:0 auto 16px;display:flex}.swipe-col{flex-direction:column;flex:1;align-items:center;gap:8px;display:flex}.swipe-zone{border-radius:var(--radius);background:var(--surface);border:2px dashed var(--border);cursor:grab;-webkit-user-select:none;user-select:none;touch-action:none;flex-direction:column;justify-content:center;align-items:center;gap:4px;width:100%;height:120px;display:flex}.swipe-arrow{color:var(--accent);font-size:2.8rem;font-weight:800;line-height:1}.swipe-label{color:var(--muted);font-size:.8rem;font-weight:700}.swipe-dpad{flex-direction:column;align-items:center;gap:4px;width:100%;display:flex}.swipe-dpad-row{justify-content:center;gap:6px;width:100%;display:flex}.swipe-dbtn{touch-action:manipulation;justify-content:center;align-items:center;gap:4px;min-width:48px;padding:6px 12px;font-size:1.1rem;font-weight:800;display:flex}.swipe-dbtn .k-hint{opacity:.7;font-size:.68rem}.rhythm-track{border-radius:var(--radius);background:var(--surface);border:1px solid var(--border);place-items:center;width:100%;max-width:320px;height:100px;margin:0 auto 20px;display:grid}.rhythm-beat-indicator{color:var(--accent);font-size:2.2rem;font-weight:800}.rhythm-beat-indicator.side-L{color:#3b82f6}.rhythm-beat-indicator.side-R{color:#ec4899}.rhythm-beat-indicator.beat{text-shadow:0 0 14px;animation:.18s ease-out beat-pulse}@keyframes beat-pulse{0%{transform:scale(1.45)}to{transform:scale(1)}}[dir=rtl] :is(.bilateral-controls,.rhythm-pads,.cross-arena,.cross-controls,.swipe-container,.dualtask-container,.dots-container,.dots-controls,.flanker-controls,.switch-pad,.vault-actions,.ex-row){direction:ltr}.rhythm-pads{gap:16px;width:100%;max-width:440px;margin:0 auto;display:flex}.rhythm-pad{touch-action:manipulation;flex-direction:column;flex:1;justify-content:center;align-items:center;min-height:88px;font-size:1.4rem;font-weight:800;display:flex}.cross-rule{border-radius:99px;margin-bottom:12px;padding:6px 14px;font-size:1.1rem;font-weight:800;display:inline-block}.cross-rule.same-mode{color:#0369a1;background:#e0f2fe}.cross-rule.cross-mode{color:#b45309;background:#fef3c7}.cross-arena{border-radius:var(--radius);background:var(--surface);border:1px solid var(--border);width:100%;max-width:360px;height:130px;margin:0 auto 16px;display:flex;overflow:hidden}.cross-half{flex:1;place-items:center;height:100%;display:grid}.cross-half.left-half{border-right:2px dashed var(--border)}.cross-orb{font-size:2.5rem}.cross-controls{gap:16px;width:100%;max-width:440px;margin:0 auto;display:flex}.cross-btn{touch-action:manipulation;flex-direction:column;flex:1;justify-content:center;align-items:center;min-height:84px;font-size:1.4rem;font-weight:700;display:flex}.dualtask-container{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;touch-action:none;gap:12px;width:100%;max-width:480px;margin:0 auto 16px;display:flex}.dualtask-panel{border-radius:var(--radius);background:var(--surface);border:2px solid var(--border);-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;flex-direction:column;flex:1;align-items:center;gap:10px;padding:14px 10px;display:flex}.dualtask-side-label{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;font-size:.82rem}.dualtask-hold-btn{touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;cursor:pointer;border:2px dashed var(--border);border-radius:var(--radius);flex-direction:column;justify-content:center;align-items:center;gap:4px;width:100%;min-height:90px;font-size:1.05rem;font-weight:700;transition:all .15s;display:flex}.dualtask-hold-btn.holding{transform:scale(.98);color:#fff!important;background:#10b981!important;border-style:solid!important;border-color:#059669!important;box-shadow:0 0 16px #10b98173!important}.dualtask-meter{background:var(--border);border-radius:4px;width:100%;height:8px;overflow:hidden}.dualtask-meter .meter-bar{background:#10b981;width:0%;height:100%;transition:width .15s}.dualtask-meter.holding .meter-bar{width:100%}.dualtask-card{height:64px;color:var(--accent);place-items:center;font-size:3rem;font-weight:900;display:grid}.dualtask-buttons{gap:8px;width:100%;display:flex}.dualtask-buttons .btn{touch-action:manipulation;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:2px;min-height:60px;padding:8px 4px;font-weight:700;display:flex}.seg{background:var(--surface-2);border-radius:14px;gap:4px;padding:4px;display:flex}.seg button{color:var(--muted);background:0 0;border:none;border-radius:10px;flex:1;padding:10px 6px;font-weight:700}.seg button.on{background:var(--surface);color:var(--text);box-shadow:var(--shadow)}.board-filters{gap:8px;display:flex}.board-filters .input{flex:1;min-width:0}.board-list{flex-direction:column;gap:6px;margin-bottom:12px;padding:0;list-style:none;display:flex}.board-row{background:var(--surface-2);border-radius:12px;grid-template-columns:3rem 1fr auto;align-items:center;gap:8px;padding:10px 12px;display:grid}.board-row.me{background:var(--accent-soft);outline:2px solid var(--accent)}.board-rank{text-align:center;font-variant-numeric:tabular-nums;font-weight:800}.board-name{overflow-wrap:anywhere;min-width:0}.board-you{background:var(--accent);color:#fff;border-radius:999px;margin-inline-start:6px;padding:1px 8px;font-weight:800}.board-value{font-variant-numeric:tabular-nums;white-space:nowrap}.board-gap{text-align:center;color:var(--muted);line-height:1}.board-error{color:var(--bad)}.board-error:empty,.turnstile-box:empty{display:none}.board-value{flex-direction:column;align-items:flex-end;line-height:1.2;display:flex}.board-value small{color:var(--muted);font-weight:600}.board-filters .btn{white-space:nowrap;padding:10px 14px}.board-prompt{border-color:var(--accent)}.group-form{gap:8px;display:flex}.group-form .input{flex:1;min-width:0}.group-code{letter-spacing:.08em;-webkit-user-select:all;user-select:all;font-family:ui-monospace,monospace}.group-members{margin-bottom:14px}.group-members summary{cursor:pointer;margin-bottom:8px;font-weight:700}.member-list{flex-direction:column;gap:6px;padding:0;list-style:none;display:flex}.member-row{background:var(--surface-2);border-radius:12px;align-items:center;gap:10px;padding:8px 12px;display:flex}.member-row .board-name{flex:55%}.member-row .board-value{white-space:normal;text-align:end;flex:0 45%;min-width:0}.member-row .board-you,.member-row .member-owner{white-space:nowrap;display:inline-block}.member-row.me{background:var(--accent-soft)}.member-owner{color:var(--muted);white-space:nowrap;margin-inline-start:6px;font-weight:700}.icon-btn.member-remove{width:32px;height:32px;color:var(--bad);flex:none;font-size:.85rem}
