@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;--tangram-silhouette-fill:#1e293b;--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;--tangram-silhouette-fill:#0a0d17}}*{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)}a.btn{color:var(--text);text-align:center;text-decoration:none}.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-svg{pointer-events:none;z-index:1;width:100%;height:100%;position:absolute;inset:0}.path-laser-line{stroke:var(--accent);stroke-width:3.5px;stroke-linecap:round;stroke-dasharray:600;stroke-dashoffset:600px;filter:drop-shadow(0 0 6px var(--accent));animation:.25s ease-out forwards pathLineDraw}@keyframes pathLineDraw{to{stroke-dashoffset:0}}.path-node{border:2px solid var(--accent);background:var(--surface);width:52px;height:52px;box-shadow:var(--shadow);color:var(--accent);z-index:2;touch-action:manipulation;border-radius:50%;font-size:1.2rem;font-weight:900;transition:transform .15s cubic-bezier(.34,1.56,.64,1),background .15s,opacity .2s;position:absolute}.path-node:active{transform:scale(.92)}.path-node.done{background:var(--accent);color:#fff;opacity:.45;transform:scale(.94)}.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{letter-spacing:.02em;min-height:1.4rem;font-weight:800}.glance-field{aspect-ratio:1;background:radial-gradient(circle at center, transparent calc(24% - 1.5px), var(--border) 24%, transparent calc(24% + 1.5px)), radial-gradient(circle at center, transparent calc(42% - 1.5px), var(--border) 42%, transparent calc(42% + 1.5px)), radial-gradient(circle at center, transparent calc(50% - 2px), var(--border) 50%, transparent calc(50% + 2px)), var(--surface);width:min(100%,400px);box-shadow:var(--shadow), inset 0 0 24px #0000000a;border:2px solid var(--border);border-radius:50%;position:relative;overflow:hidden}.glance-field:before,.glance-field:after{content:"";background:var(--border);opacity:.55;pointer-events:none;position:absolute}.glance-field:before{width:1px;top:0;bottom:0;left:50%;transform:translate(-50%)}.glance-field:after{height:1px;top:50%;left:0;right:0;transform:translateY(-50%)}.glance-center,.glance-slot{transform-origin:50%;place-items:center;display:grid;position:absolute;translate:-50% -50%}.glance-center{width:68px;height:68px;color:var(--muted);z-index:2;font-size:2.8rem;transition:transform .2s cubic-bezier(.34,1.56,.64,1),color .15s,background .15s;top:50%;left:50%}.glance-slot{width:44px;height:44px;color:var(--muted);pointer-events:none;-webkit-user-select:none;user-select:none;z-index:2;background:0 0;border:none;border-radius:50%;font-size:1.7rem;transition:transform .14s cubic-bezier(.34,1.56,.64,1),background .15s,border-color .15s,box-shadow .15s,color .15s}.glance-slot.target{color:#f59e0b;filter:drop-shadow(0 0 10px #f59e0bd9)}.glance-slot.distractor{color:var(--muted);opacity:.85}.mask{color:var(--muted);opacity:.7}.glance-slot.pickable{pointer-events:auto;cursor:pointer;background:var(--surface-2);border:2px dashed var(--accent);box-shadow:0 2px 6px #00000014}.glance-slot.pickable:hover{background:var(--accent-soft);border-color:var(--accent);box-shadow:0 0 12px var(--accent-soft);transform:scale(1.1)}.glance-slot.pickable:active{background:var(--accent-soft);transform:scale(.92)}.glance-slot.pop{animation:.28s cubic-bezier(.34,1.56,.64,1) glance-pop}@keyframes glance-pop{0%{opacity:.5;transform:scale(.8)}50%{opacity:1;filter:drop-shadow(0 0 14px #f59e0be6);transform:scale(1.28)}to{opacity:1;transform:scale(1)}}.glance-choices{z-index:3;gap:16px;display:flex}.glance-choice{cursor:pointer;padding:10px 28px;font-size:2.2rem;transition:transform .12s cubic-bezier(.34,1.56,.64,1),box-shadow .15s}.glance-choice:hover{transform:scale(1.06)}.glance-choice:active{transform:scale(.94)}.echo-rule{color:var(--accent);font-weight:800}.echo-grid{aspect-ratio:1;grid-template-rows:repeat(3,1fr);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;min-width:0;min-height:0;font-size:2rem;font-weight:900;line-height:1;display:grid;overflow:hidden}.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%}.time-bar{flex:none;max-width:320px;margin:6px auto}.time-bar.off{visibility:hidden}.rhythm-meter{background:var(--surface-2);direction:ltr;border-radius:99px;flex:none;width:min(100%,320px);height:16px;margin:10px auto;position:relative;overflow:hidden}.rhythm-zone{background:#16a34a8c;position:absolute;top:0;bottom:0;left:50%;transform:translate(-50%)}.rhythm-center{opacity:.6;background:#fff;width:2px;position:absolute;top:0;bottom:0;left:50%}.rhythm-dot{background:var(--muted);border-radius:50%;width:12px;height:12px;transition:left .1s;position:absolute;top:2px;transform:translate(-50%)}.rhythm-dot.hit{background:#fff}.rhythm-dot.miss{background:var(--bad)}.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{background:var(--surface);border:1px solid var(--border);border-radius:16px;justify-content:center;align-items:center;gap:14px;padding:8px 16px;display:flex;box-shadow:0 2px 8px #0000000a}.tower-header-row{justify-content:center;align-items:center;gap:16px;width:100%;min-height:40px;display:flex}.tower-counter{font-variant-numeric:tabular-nums;font-size:1.1rem;font-weight:800}.tower-undo{cursor:pointer;border-radius:999px;justify-content:center;align-items:center;min-height:36px;padding:4px 14px;font-size:1.15rem;transition:transform .15s,opacity .15s;display:inline-flex}.tower-undo:disabled{opacity:.35;cursor:default}.tower-undo:not(:disabled):active{transform:scale(.92)}.tower-wrap{-webkit-user-select:none;user-select:none;flex-direction:column;align-items:center;width:100%;display:flex;position:relative}.tower-board{justify-content:center;align-items:flex-end;gap:14px;display:flex;position:relative}.tower-base{background:var(--muted);opacity:.28;border-radius:6px;width:min(100%,330px);height:10px;margin-top:-3px}.peg{border:none;border-bottom:8px solid var(--muted);background:linear-gradient(var(--muted), var(--muted)) center / 8px 100% no-repeat, var(--surface-2);cursor:pointer;touch-action:manipulation;appearance:none;box-sizing:border-box;border-radius:12px 12px 4px 4px;outline:none;flex-direction:column-reverse;align-items:center;gap:6px;width:92px;margin:0;padding:8px 0 10px;transition:box-shadow .2s cubic-bezier(.2,.8,.2,1),background-color .2s,transform .15s;display:flex;box-shadow:0 4px 12px #0000000a}.peg.cap3{height:240px}.peg.cap2{height:172px}.peg.cap1{height:104px}.peg.selected{box-shadow:0 0 0 3px var(--accent), 0 8px 24px color-mix(in srgb, var(--accent) 25%, transparent);background-color:color-mix(in srgb, var(--accent) 6%, var(--surface-2))}.peg:focus-visible{box-shadow:0 0 0 3px var(--accent)}.peg.peg-shake{box-shadow:0 0 0 3px var(--bad), 0 6px 16px color-mix(in srgb, var(--bad) 30%, transparent);animation:.35s cubic-bezier(.36,.07,.19,.97) both peg-shake}@keyframes peg-shake{0%,to{transform:translate(0)}20%{transform:translate(-6px)}40%{transform:translate(6px)}60%{transform:translate(-4px)}80%{transform:translate(4px)}}.ball{box-sizing:border-box;z-index:2;border-radius:50%;flex-shrink:0;width:58px;height:58px;transition:transform .22s cubic-bezier(.34,1.56,.64,1),box-shadow .22s;position:relative;box-shadow:inset -4px -5px 10px #00000047,inset 4px 4px 8px #ffffff59,0 3px 6px #00000029}.ball.up{box-shadow:inset -4px -5px 10px #00000047, inset 4px 4px 8px #ffffff59, 0 16px 22px #0000003d, 0 0 14px color-mix(in srgb, var(--accent) 40%, transparent);z-index:10;animation:1.8s ease-in-out infinite alternate ball-hover;transform:translateY(-24px)scale(1.04)}@keyframes ball-hover{0%{transform:translateY(-24px)scale(1.04)}to{transform:translateY(-30px)scale(1.06)}}.ball-flyer{box-sizing:border-box;pointer-events:none;z-index:999;border-radius:50%;position:fixed;box-shadow:inset -4px -5px 10px #00000047,inset 4px 4px 8px #ffffff59,0 14px 22px #00000047}.tower-board.small{gap:8px}.tower-board.small .peg{width:36px;box-shadow:none;cursor:default;background-size:4px 100%;border-bottom-width:4px;gap:2px;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;transition:none;box-shadow:inset -2px -2px 4px #00000038,inset 2px 2px 4px #ffffff4d}.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-chip.zen{background:color-mix(in srgb, var(--good) 15%, var(--surface));border-color:var(--good);color:var(--good);font-weight:800}.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}.play-bar .quit-btn.armed{background:var(--bad);color:#fff}.exit-note{left:50%;bottom:max(24px, env(safe-area-inset-bottom));z-index:1000;width:max-content;max-width:calc(100vw - 32px);position:fixed;transform:translate(-50%)}@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);filter:drop-shadow(0 0 12px #16a34a99);transform:scale(1.15)}.glance-center.wrong{background:#e5484d2e;border-radius:50%;animation:.35s shake}.glance-slot.reveal{outline:3px solid var(--good);outline-offset:2px;color:#f59e0b;background:#16a34a29;border-radius:50%;box-shadow:0 0 16px #16a34a80}.glance-slot.wrong-pick{outline:3px solid var(--bad);outline-offset:2px;color:var(--bad);background:#e5484d29;border-radius:50%;font-weight:900;animation:.35s shake;box-shadow:0 0 14px #e5484d73}@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)}.echo-timer.echo-timer-good{outline:2px solid var(--good);box-shadow:0 0 14px color-mix(in srgb, var(--good) 65%, transparent)}.echo-timer.echo-timer-good div{background:var(--good);opacity:.9;width:100%!important}.echo-grid.echo-grid-zen{outline:2px solid color-mix(in srgb, var(--good) 50%, transparent);box-shadow:0 0 18px color-mix(in srgb, var(--good) 30%, transparent);border-radius:14px}.echo-actions .btn.echo-btn-zen{box-shadow:0 0 14px color-mix(in srgb, var(--good) 35%, transparent);outline:2px solid var(--good)!important;border-color:var(--good)!important;background:color-mix(in srgb, var(--good) 16%, var(--surface-2))!important;color:var(--good)!important}.echo-turn.good-cr{color:var(--good);font-weight:900;animation:.25s ease-out pop}.echo-strip-hint.good{color:var(--good)}.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:14px;display:flex}.guide-lang{justify-content:center;display:flex}.guide-hero{text-align:center;color:#fff;border-radius:var(--radius);background:linear-gradient(135deg, var(--accent), #7c5cf0 55%, var(--accent-2));box-shadow:0 10px 30px color-mix(in srgb, var(--accent) 35%, transparent);padding:22px 18px 18px;position:relative;overflow:hidden}.guide-hero:before{content:"";pointer-events:none;background:radial-gradient(closest-side,#ffffff47,#0000);border-radius:50%;width:220px;height:220px;position:absolute;inset:-40% -20% auto auto}.guide-hero-emoji{font-size:3rem;line-height:1;animation:3.2s ease-in-out infinite guide-float}.guide-hero h2{margin:8px 0 6px;font-size:1.45rem;font-weight:900}.guide-hero p{opacity:.95;max-width:34ch;margin:0 auto 14px;line-height:1.45}.guide-stats{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.guide-stat{background:#ffffff29;border-radius:14px;flex-direction:column;align-items:center;padding:8px 4px;display:flex}.guide-stat b{font-size:1.6rem;font-weight:900;line-height:1.1}.guide-stat span{opacity:.9;font-size:.75rem;font-weight:700}.guide-sticky{z-index:20;background:color-mix(in srgb, var(--bg) 88%, transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);margin:0 -16px;padding:8px 16px 6px;position:sticky;top:0}.guide-tabs{background:var(--surface-2);border:1px solid var(--border);border-radius:16px;grid-template-columns:repeat(5,1fr);gap:4px;padding:4px;display:grid}.guide-tab{min-width:0;color:var(--muted);background:0 0;border:none;border-radius:12px;flex-direction:column;align-items:center;gap:2px;padding:6px 2px;font-size:.72rem;font-weight:800;transition:background .2s,color .2s,transform .1s;display:flex;position:relative}.guide-tab span:last-child{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.guide-tab-icon{filter:grayscale(.6);font-size:1.25rem;line-height:1.1;transition:filter .2s,transform .2s}.guide-tab:active{transform:scale(.94)}.guide-tab[aria-selected=true]{background:var(--surface);color:var(--accent);box-shadow:var(--shadow)}.guide-tab[aria-selected=true] .guide-tab-icon{filter:none;transform:scale(1.15)}.guide-tab.seen:after{content:"";top:5px;background:var(--accent-2);border-radius:50%;width:7px;height:7px;position:absolute;inset-inline-end:8px}.guide-meter{color:var(--muted);align-items:center;gap:8px;margin-top:6px;font-size:.75rem;font-weight:800;display:flex}.guide-meter-bar{background:var(--surface-2);border-radius:999px;flex:0 0 72px;height:6px;overflow:hidden}.guide-meter-fill{border-radius:inherit;background:linear-gradient(90deg, var(--accent), var(--accent-2));width:0;height:100%;transition:width .45s cubic-bezier(.34,1.56,.64,1);display:block}.guide-meter.done{color:var(--accent)}.guide-meter.pop{animation:.5s pop}.guide-panel{flex-direction:column;gap:10px;animation:.32s ease-out guide-panel-in;display:flex}.guide-panel[hidden]{display:none}.guide-lead{color:var(--muted);text-align:center;margin:0;line-height:1.5}.guide-steps{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.guide-step{border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow);align-items:flex-start;gap:12px;padding:14px;animation:.35s ease-out backwards guide-panel-in;display:flex}.guide-step:nth-child(2){animation-delay:60ms}.guide-step:nth-child(3){animation-delay:.12s}.guide-step-num{color:#fff;background:linear-gradient(135deg, var(--accent), var(--accent-2));border-radius:50%;flex:0 0 34px;place-items:center;height:34px;font-weight:900;display:grid}.guide-step h3{margin-bottom:3px;font-size:1.02rem}.guide-step p{color:var(--muted);margin:0;line-height:1.45}.guide-golden{text-align:center;color:var(--accent);background:var(--accent-soft);border:1px dashed var(--accent);border-radius:14px;margin:0;padding:12px 14px;font-weight:800}.guide-fold{background:var(--surface);box-shadow:var(--shadow);border:1px solid var(--border);border-radius:16px;transition:border-color .2s;overflow:hidden}.guide-fold summary{cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:12px;padding:12px 14px;list-style:none;display:flex}.guide-fold summary::-webkit-details-marker{display:none}.guide-fold summary:active{background:var(--surface-2)}.guide-sum-text{flex-direction:column;flex:1;gap:1px;min-width:0;line-height:1.3;display:flex}.guide-chevron{color:var(--muted);font-size:1.4rem;font-weight:900;transition:transform .25s}.guide-fold[open] .guide-chevron{color:var(--accent);transform:rotate(90deg)}.guide-fold[open]{border-color:color-mix(in srgb, var(--accent) 45%, var(--border))}.guide-fold-body{flex-direction:column;gap:10px;padding:0 14px 14px;line-height:1.5;animation:.25s ease-out guide-panel-in;display:flex}.guide-fold-body p{margin:0}.guide-sci{border-inline-start:5px solid var(--sc)}.guide-sci-icon{background:color-mix(in srgb, var(--sc) 16%, var(--surface));border-radius:12px;flex:0 0 44px;place-items:center;height:44px;font-size:1.5rem;display:grid}.guide-sci-tag{text-transform:uppercase;letter-spacing:.06em;color:color-mix(in srgb, var(--sc) 80%, var(--text));font-size:.68rem;font-weight:900}.guide-in-app{background:color-mix(in srgb, var(--sc,var(--accent)) 10%, var(--surface-2));border-radius:12px;padding:10px 12px}.guide-sources{flex-wrap:wrap;gap:6px;display:flex}.guide-source{color:var(--muted);background:var(--surface-2);border:1px solid var(--border);border-radius:999px;padding:4px 10px;font-size:.72rem;font-weight:700;text-decoration:none}.guide-source:hover{color:var(--accent);border-color:var(--accent)}.guide-reality{border-radius:var(--radius);background:var(--surface);border:2px dashed var(--border);padding:14px}.guide-reality h3{margin-bottom:8px;font-size:1.02rem}.guide-reality ul{flex-direction:column;gap:8px;margin:0 0 10px;padding:0;line-height:1.45;list-style:none;display:flex}.guide-reality li{gap:8px;display:flex}.guide-filters{scrollbar-width:none;gap:6px;padding:2px 0 6px;display:flex;overflow-x:auto}.guide-filters::-webkit-scrollbar{display:none}.guide-filter{border:1px solid var(--border);background:var(--surface);color:color-mix(in srgb, var(--dc,var(--text)) 70%, var(--text));border-radius:999px;flex:none;align-items:center;gap:6px;padding:6px 12px;font-size:.8rem;font-weight:800;transition:transform .1s,background .2s;display:inline-flex}.guide-filter:active{transform:scale(.94)}.guide-filter[aria-pressed=true]{color:#fff;background:var(--dc,var(--accent));border-color:#0000}.guide-filter-count{background:color-mix(in srgb, currentColor 18%, transparent);border-radius:999px;padding:0 6px;font-size:.7rem}.guide-domain{flex-direction:column;gap:8px;margin-bottom:6px;display:flex}.guide-domain[hidden]{display:none}.guide-domain>.chip{align-self:flex-start}.guide-game-icon{background:color-mix(in srgb, var(--dc) 16%, var(--surface));border-radius:12px;flex:0 0 44px;place-items:center;height:44px;font-size:1.5rem;display:grid}.guide-game[open]{border-color:var(--dc)}.guide-game .guide-label{color:color-mix(in srgb, var(--dc) 75%, var(--text))}.guide-example{background:var(--surface-2);border-inline-start:3px solid var(--accent-2);border-radius:10px;padding:8px 12px;font-size:.9rem}.guide-play{align-self:flex-start}.guide-cta{text-align:center;border-radius:var(--radius);background:linear-gradient(135deg, var(--accent-soft), var(--surface-2));flex-direction:column;align-items:center;gap:12px;padding:18px 16px;display:flex}.guide-cta .btn{text-decoration:none}@keyframes guide-panel-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes guide-float{0%,to{transform:translateY(0)rotate(-4deg)}50%{transform:translateY(-6px)rotate(4deg)}}@media (prefers-reduced-motion:reduce){.guide-hero-emoji,.guide-panel,.guide-step,.guide-fold-body{animation:none}}.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{-webkit-user-select:none;user-select:none;flex-direction:column;align-items:center;gap:12px;width:100%;max-width:500px;margin:0 auto;display:flex}.sorting-header{text-align:center;flex-direction:column;align-items:center;gap:8px;width:100%;display:flex}.sorting-title{color:var(--text);letter-spacing:-.01em;align-items:center;gap:6px;font-size:1.05rem;font-weight:800;display:flex}.sorting-dims{flex-wrap:wrap;justify-content:center;gap:8px;width:100%;display:flex}.sorting-dim-pill{background:var(--surface);border:1.5px solid var(--border);color:var(--text);border-radius:999px;align-items:center;gap:5px;padding:5px 13px;font-size:.82rem;font-weight:700;transition:all .25s cubic-bezier(.34,1.56,.64,1);display:inline-flex;box-shadow:0 2px 6px #0000000d}.sorting-dim-pill.eliminated{opacity:.35;filter:grayscale(.85);background:#ef44440f;border-color:#ef444466;text-decoration:line-through}.sorting-dim-pill.active-rule{border-color:var(--c-green);color:var(--c-green);background:#10b9812e;font-weight:800;animation:1.8s ease-in-out infinite alternate sortingPulse;transform:scale(1.05);box-shadow:0 0 14px #10b98173}.sorting-dim-pill.hint-deduced{border-color:var(--c-yellow);color:var(--c-yellow);background:#f59e0b2e;font-weight:800;animation:1.5s ease-in-out infinite alternate sortingPulse;box-shadow:0 0 12px #f59e0b59}.sorting-dots-container{flex-direction:column;align-items:center;gap:4px;display:flex}.sorting-dots-label{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-size:.72rem;font-weight:700}.sorting-dots{justify-content:center;align-items:center;gap:8px;display:flex}.sorting-dot{border:2px solid var(--border);background:var(--surface);border-radius:50%;width:13px;height:13px;transition:all .25s cubic-bezier(.34,1.56,.64,1)}.sorting-dot.filled{background:var(--accent);border-color:var(--accent);box-shadow:0 0 10px var(--accent);transform:scale(1.2)}.sorting-dot.solved{background:var(--c-green);border-color:var(--c-green);box-shadow:0 0 14px var(--c-green);transform:scale(1.3)}.sorting-section-label{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);text-align:center;margin-bottom:5px;font-size:.72rem;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:calc(var(--radius) + 2px);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;min-height:98px;padding:10px 4px;transition:transform .15s cubic-bezier(.34,1.56,.64,1),border-color .15s,box-shadow .15s;display:flex;position:relative;box-shadow:0 3px 10px #00000014}.sorting-ref-btn:hover{border-color:var(--accent);transform:translateY(-3px)scale(1.02);box-shadow:0 6px 16px #00000024}.sorting-ref-btn:active{transform:translateY(0)scale(.98)}.sorting-ref-btn.good{border-color:var(--c-green)!important;background:#10b98124!important;box-shadow:0 0 18px #10b98173!important}.sorting-ref-btn.bad{animation:.35s sortingShake;border-color:var(--c-red)!important;background:#ef44441f!important}.sorting-ref-num{color:var(--muted);background:#0000000f;border:1px solid #80808026;border-radius:4px;padding:1px 5px;font-size:.68rem;font-weight:800;position:absolute;top:4px;left:6px}.sorting-feedback{text-align:center;background:var(--surface);min-height:42px;color:var(--text);border:1.5px solid var(--border);border-radius:10px;justify-content:center;align-items:center;width:100%;padding:9px 16px;font-size:.9rem;font-weight:700;transition:all .2s cubic-bezier(.34,1.56,.64,1);display:flex;box-shadow:0 2px 8px #0000000d}.sorting-feedback.good{color:var(--c-green);background:#10b98124;border-color:#10b98173;box-shadow:0 0 12px #10b98133}.sorting-feedback.bad{color:var(--c-red);background:#ef44441f;border-color:#ef444473;animation:.35s sortingShake}.sorting-feedback.clue{color:var(--c-blue);background:#3b82f61f;border-color:#3b82f666}.sorting-feedback.switch{color:var(--c-yellow);background:#f59e0b29;border-color:#f59e0b8c;animation:.3s sortingPop;box-shadow:0 0 14px #f59e0b40}.sorting-feedback.cracked{color:var(--c-green);border-color:var(--c-green);background:linear-gradient(135deg,#10b98138,#3b82f638);font-size:.96rem;font-weight:800;animation:.35s sortingPop;box-shadow:0 0 20px #10b98166}.sorting-test-wrapper{flex-direction:column;align-items:center;gap:6px;width:100%;display:flex}.sorting-test{justify-content:center;align-items:center;width:100%;min-height:110px;display:flex}.sorting-timer-bar{background:var(--border);border-radius:999px;width:200px;height:5px;margin-top:6px;overflow:hidden}.sorting-timer-fill{background:var(--accent);border-radius:999px;width:100%;height:100%}.sorting-card{justify-content:center;align-items:center;font-weight:700;line-height:1;display:flex;position:relative}.sorting-card.ref-card{min-height:60px;font-size:1.5rem}.sorting-card.test-card{border-radius:calc(var(--radius) + 6px);background:var(--surface);border:2px solid var(--accent);min-width:190px;min-height:105px;padding:16px 28px;font-size:2.8rem;transition:transform .2s,opacity .2s;animation:.25s cubic-bezier(.34,1.56,.64,1) sortingCardIn;box-shadow:0 6px 24px #00000029}.sorting-card.test-card.fly-to{opacity:0;transform:translateY(-50px)scale(.6)}.sorting-pips{place-items:center;gap:6px;display:grid}.sorting-pips.count-1{grid-template-columns:1fr}.sorting-pips.count-2{grid-template-columns:repeat(2,auto)}.sorting-pips.count-3{grid-template-columns:repeat(3,auto)}.sorting-pips.count-4{grid-template-columns:repeat(2,auto)}.sorting-pip{filter:drop-shadow(0 2px 4px #0000001f);line-height:1;display:inline-block}@keyframes sortingPulse{0%{filter:drop-shadow(0 0 2px);transform:scale(1)}to{filter:drop-shadow(0 0 10px);transform:scale(1.05)}}@keyframes sortingPop{0%{opacity:.8;transform:scale(.92)}to{opacity:1;transform:scale(1)}}@keyframes sortingShake{0%,to{transform:translate(0)}20%,60%{transform:translate(-6px)}40%,80%{transform:translate(6px)}}@keyframes sortingCardIn{0%{opacity:0;transform:translateY(18px)scale(.92)}to{opacity:1;transform:translateY(0)scale(1)}}.resources-header{border-radius:var(--radius);background:var(--surface-2);flex-direction:column;gap:8px;width:100%;margin-bottom:14px;padding:12px 14px;font-size:.95rem;transition:all .2s;display:flex}.resources-header.overbudget{color:var(--c-red);background:#ef444426}.resources-budget-row{justify-content:space-between;align-items:center;font-weight:600;display:flex}.resources-hint-text{color:var(--muted);font-size:.85rem}.resources-error-reason{color:var(--c-red);margin-top:4px;font-size:.9rem}.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;-webkit-user-select:none;user-select:none;flex-direction:column;gap:4px;padding:12px;transition:all .15s;display:flex}.resource-card:active:not(:disabled){transform:scale(.98)}.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}.resource-card b{font-size:1.05rem}.resources-submit{width:100%}.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:var(--accent)}.resources-header.reached{outline:2px solid var(--good)}.reached .resources-goal{color:var(--good);font-weight:800}.reached .resources-bar.gained{height:12px}.reached .resources-bar.gained>div{background:var(--good)}.resources-header.perfect{background:#eab30826;outline:2px solid #eab308}.perfect .resources-goal{color:#ca8a04;font-weight:800}.perfect .resources-bar.gained>div{background:#eab308}.overbudget .resources-bar.spent>div{background:var(--c-red)}.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}.stage-reaction{cursor:pointer;-webkit-user-select:none;user-select:none;touch-action:manipulation}.reaction-pad.active{color:#fff;background:#10b981;transition:none;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:6px;font-size:.95rem}.time-bar.anagram-timer{background:var(--surface-2);border-radius:99px;width:min(100%,340px);max-width:340px;height:8px;margin:6px auto 16px;overflow:hidden;box-shadow:inset 0 1px 2px #0000001f}.time-bar.anagram-timer div{background:linear-gradient(90deg, var(--accent), var(--accent-2));border-radius:99px;height:100%;transition:width linear,background .4s,box-shadow .4s}.time-bar.anagram-timer.urgent div{background:linear-gradient(90deg, #f59e0b, var(--bad));box-shadow:0 0 10px color-mix(in srgb, var(--bad) 70%, transparent)}.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:clamp(34px,8.5vw,44px);height:clamp(42px,10.5vw,50px);font-size:clamp(1.2rem,3.8vw,1.6rem);font-weight:800;transition:border-bottom-color .2s,color .2s,background .2s,transform .15s;display:grid}.anagram-slot.filled{border-bottom-color:var(--accent);color:var(--accent);animation:.18s cubic-bezier(.34,1.56,.64,1) pop}.anagram-slot.revealed{border-bottom-color:var(--bad);color:var(--bad);background:color-mix(in srgb, var(--bad) 12%, transparent);border-radius:6px 6px 0 0}.anagram-tiles{flex-wrap:wrap;justify-content:center;gap:10px;margin-bottom:16px;display:flex}.anagram-tile{cursor:pointer;-webkit-user-select:none;user-select:none;min-width:clamp(42px,10vw,48px);height:clamp(44px,10.5vw,52px);font-size:clamp(1.2rem,3.2vw,1.4rem);font-weight:700;transition:transform .12s,opacity .2s,filter .15s}.anagram-tile:not(.used):hover{filter:brightness(1.08)}.anagram-tile:not(.used):active{transform:scale(.92)}.anagram-tile.used{opacity:.2;pointer-events:none;transform:scale(.92)}.anagram-actions{justify-content:center;gap:10px;display:flex}.anagram-scramble-btn{font-size:1.25rem;transition:transform .2s cubic-bezier(.34,1.56,.64,1)}.anagram-scramble-btn:active{transform:rotate(180deg)scale(.9)}.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);-webkit-user-select:none;user-select:none;touch-action:pan-y;cursor:grab;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;transition:transform .2s cubic-bezier(.34,1.56,.64,1),box-shadow .2s,border-color .2s;display:flex;box-shadow:0 4px 16px #0000001f}.fluency-card:active{cursor:grabbing}.fluency-card.swipe-right{border-color:#16a34a;transform:translate(50px)rotate(6deg)scale(.96);box-shadow:0 8px 24px #16a34a59}.fluency-card.swipe-left{border-color:#e5484d;transform:translate(-50px)rotate(-6deg)scale(.96);box-shadow:0 8px 24px #e5484d59}.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-grid.size-4{grid-template-rows:repeat(4,1fr);grid-template-columns:repeat(4,1fr);gap:8px}.matrix-grid.size-4 .matrix-cell{font-size:1.6rem}.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;transition:all .25s;display:flex;overflow:hidden}.cross-arena.is-crossing{background:linear-gradient(135deg,#f59e0b0f,#3b82f60f);border-color:#f59e0b;box-shadow:0 0 20px #f59e0b40}.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{animation:1.2s ease-in-out infinite reactorPulse;transform:scale(.98);color:#fff!important;background:#10b981!important;border-style:solid!important;border-color:#059669!important;box-shadow:0 0 20px #10b98199!important}@keyframes reactorPulse{0%,to{box-shadow:0 0 16px #10b98173}50%{box-shadow:0 0 28px #10b981d9}}.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-saved{color:var(--good);font-weight:700}.board-saved:empty,.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}.member-actions{flex:none;gap:4px;display:flex}.member-hint{margin-top:8px}.member-hint:empty{display:none}.group-banned-title{margin:12px 0 6px;font-weight:700}.group-code-row{flex-wrap:wrap;align-items:center;gap:8px 10px;margin-bottom:14px;display:flex}.btn.small-btn{padding:6px 12px;font-size:.85rem}.board-saved.failed{color:var(--bad)}.group-code-row .board-saved{flex-basis:100%}.share-dialog{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);width:min(460px,100vw - 24px);max-height:calc(100dvh - 24px);color:var(--text);padding:16px;overflow-y:auto}.share-dialog::backdrop{background:#0009}.share-head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;display:flex}.share-head h2{margin:0;font-size:1.2rem}.share-card{border-radius:12px;width:100%;height:auto;display:block}.share-text{overflow-wrap:anywhere;margin:12px 0}.share-actions{flex-direction:column;gap:8px;display:flex}.share-status{min-height:1.4em;margin:8px 0 0}.share-offer{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 14px;margin-top:10px;display:flex}.badge-share{margin-top:4px}.share-celebration{border-radius:var(--radius);border:2px solid var(--accent);text-align:center;background:linear-gradient(135deg,#4646d81f,#0f766e1f);width:100%;margin:16px 0 12px;padding:18px 16px;animation:.4s ease-out pop;box-shadow:0 4px 20px #4646d826}.share-celebration-head{justify-content:center;align-items:center;gap:8px;margin-bottom:10px;display:flex}.share-celebration-head h3{color:var(--text);margin:0;font-size:1.25rem;font-weight:900}.celebration-sparkle{font-size:1.4rem}.share-reminder-banner{text-align:left;background:#eab30826;border:1px dashed #eab308;border-radius:12px;margin-bottom:14px;padding:10px 14px}.share-reminder-banner b{color:var(--text);margin-bottom:4px;font-size:.95rem;display:block}.share-reminder-banner p{color:var(--muted);margin:0;font-size:.82rem;line-height:1.4}.share-reminder-list{flex-direction:column;gap:12px;display:flex}.share-reminder-item{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:12px;flex-direction:column;gap:10px;padding:12px;display:flex}.share-reminder-badge{text-align:left;align-items:center;gap:12px;display:flex}.share-reminder-icon{flex-shrink:0;font-size:2.2rem;line-height:1}.share-reminder-info{flex-direction:column;gap:2px;display:flex}.share-reminder-name{color:var(--text);font-size:1.05rem;font-weight:900}.share-reminder-btns{flex-wrap:wrap;justify-content:stretch;gap:8px;display:flex}.share-reminder-btns .btn{flex:1;justify-content:center;min-width:140px;text-decoration:none}.share-celebrate-btn{color:#fff;background:linear-gradient(135deg,#4646d8,#0f766e);border:none;font-weight:800}.btn-whatsapp{font-weight:800;color:#fff!important;background:#25d366!important;border:none!important}.btn-whatsapp:hover{background:#1eb857!important}.btn-telegram{font-weight:800;color:#fff!important;background:#229ed9!important;border:none!important}.btn-telegram:hover{background:#1b85b8!important}.share-celebration-foot{margin-top:12px}.share-dialog.no-modal{z-index:100;margin:0 auto;position:fixed;inset:12px 0 auto}.transfer-dialog{max-width:440px}.transfer-body{flex-direction:column;gap:12px;display:flex}.transfer-hint{color:var(--text);margin:0;font-size:.95rem;line-height:1.45}.transfer-code-box{background:var(--bg);border:2px dashed var(--accent);border-radius:var(--radius);-webkit-user-select:all;user-select:all;justify-content:center;align-items:center;margin:4px 0;padding:16px;display:flex}.transfer-code-value{letter-spacing:3px;color:var(--accent);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:1.9rem;font-weight:800}.transfer-actions{flex-wrap:wrap;gap:8px;display:flex}.transfer-actions .btn{flex:120px}.transfer-privacy{margin:4px 0 8px;line-height:1.4}.transfer-code-input{letter-spacing:2px;text-align:center;text-transform:uppercase;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:1.3rem;font-weight:700}.transfer-input-row{gap:8px;display:flex}.transfer-input-row input{flex:1}.transfer-preview-box{background:var(--bg);border:1px solid var(--border);border-radius:var(--radius);flex-direction:column;gap:10px;padding:14px;animation:.25s ease-out pop;display:flex}.transfer-preview-title{margin:0;font-size:1.05rem;font-weight:800}.transfer-details{flex-direction:column;gap:6px;font-size:.9rem;display:flex}.transfer-detail-row{justify-content:space-between;gap:8px;display:flex}.transfer-warning{color:#f59e0b;margin:4px 0 0;line-height:1.4}@keyframes confettiExplode{0%{opacity:1;transform:translate(-50%,-50%)scale(.6)rotate(0)}65%{opacity:1}to{transform:translate(calc(-50% + var(--dx)), calc(-50% + var(--dy) + 70px)) rotate(var(--rot)) scale(.85);opacity:0}}.stage-game2048{-webkit-user-select:none;user-select:none;flex-direction:column;justify-content:center;align-items:center;width:100%;max-width:440px;margin:0 auto;display:flex}.game2048-wrap{-webkit-user-select:none;user-select:none;flex-direction:column;align-items:center;width:100%;max-width:380px;margin:0 auto;display:flex}.game2048-hud{grid-template-columns:1.15fr 1fr 1fr auto;align-items:center;gap:8px;width:100%;margin-bottom:12px;display:grid}.game2048-pill{background:var(--surface);border:1px solid var(--border);border-radius:14px;flex-direction:column;justify-content:center;align-items:center;min-height:52px;padding:6px 8px;transition:border-color .15s,background .15s,transform .15s;display:flex;box-shadow:0 2px 6px #0000000a}.game2048-pill .pill-label{text-transform:uppercase;letter-spacing:.5px;color:var(--muted);margin-bottom:2px;font-size:.68rem;font-weight:800;line-height:1.1}.game2048-pill .pill-val{font-variant-numeric:tabular-nums;color:var(--text);font-size:1.15rem;font-weight:900;line-height:1.1}.game2048-pill.target-pill{border-color:var(--accent);background:var(--accent-soft)}.game2048-pill.target-pill .pill-label,.game2048-pill.target-pill .pill-val{color:var(--accent)}.game2048-pill.moves-pill.danger{border-color:var(--bad);background:#e5484d1f;animation:1s infinite alternate movesPulse}.game2048-pill.moves-pill.danger .pill-label,.game2048-pill.moves-pill.danger .pill-val{color:var(--bad)}@keyframes movesPulse{0%{transform:scale(1)}to{transform:scale(1.04)}}.game2048-undo-btn{border:1px solid var(--border);background:var(--surface);height:52px;color:var(--text);cursor:pointer;-webkit-user-select:none;user-select:none;touch-action:manipulation;border-radius:14px;justify-content:center;align-items:center;gap:4px;padding:0 14px;font-size:.95rem;font-weight:800;transition:transform .1s,background .15s,opacity .2s;display:flex;box-shadow:0 2px 6px #0000000a}.game2048-undo-btn:hover:not(:disabled){background:var(--surface-2);transform:translateY(-1px)}.game2048-undo-btn:active:not(:disabled){transform:scale(.95)}.game2048-undo-btn:disabled{opacity:.35;cursor:not-allowed}.game2048-grid{aspect-ratio:1;touch-action:none;-webkit-user-select:none;user-select:none;cursor:grab;background:#bbada0;border:5px solid #bbada0;border-radius:18px;grid-template-rows:repeat(4,1fr);grid-template-columns:repeat(4,1fr);gap:8px;width:100%;max-width:360px;margin-bottom:14px;padding:6px;display:grid;box-shadow:0 8px 24px #00000026}.game2048-grid:active{cursor:grabbing}@media (prefers-color-scheme:dark){.game2048-grid{background:#2e2b28;border-color:#2e2b28;box-shadow:0 8px 32px #00000080}}.game2048-cell{background:#eee4da59;border-radius:10px;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:relative}@media (prefers-color-scheme:dark){.game2048-cell{background:#ffffff14}}.game2048-tile{-webkit-user-select:none;user-select:none;border-radius:10px;justify-content:center;align-items:center;width:100%;height:100%;font-family:inherit;font-size:clamp(1.4rem,5.2vw,1.95rem);font-weight:900;line-height:1;transition:transform 80ms;display:flex;box-shadow:0 3px 6px #0000001f}.game2048-tile.small-text{font-size:clamp(1.15rem,4.2vw,1.55rem)}.game2048-tile.xsmall-text{font-size:clamp(.92rem,3.4vw,1.25rem)}.game2048-tile.tile-spawn{animation:.18s cubic-bezier(.175,.885,.32,1.275) forwards tileSpawn}.game2048-tile.tile-merge{animation:.22s cubic-bezier(.175,.885,.32,1.275) forwards tileMerge}@keyframes tileSpawn{0%{opacity:0;transform:scale(0)}80%{opacity:1;transform:scale(1.08)}to{opacity:1;transform:scale(1)}}@keyframes tileMerge{0%{transform:scale(.85)}50%{transform:scale(1.2)}to{transform:scale(1)}}.game2048-tile.val-2{color:#776e65;background:#eee4da}.game2048-tile.val-4{color:#776e65;background:#ede0c8}.game2048-tile.val-8{color:#fff;background:#f2b179}.game2048-tile.val-16{color:#fff;background:#f59563}.game2048-tile.val-32{color:#fff;background:#f67c5f}.game2048-tile.val-64{color:#fff;background:#f65e3b}.game2048-tile.val-128{color:#fff;background:#edcf72;box-shadow:0 0 14px #edcf728c}.game2048-tile.val-256{color:#fff;background:#edcc61;box-shadow:0 0 18px #edcc61a6}.game2048-tile.val-512{color:#fff;background:#edc850;box-shadow:0 0 22px #edc850bf}.game2048-tile.val-1024{color:#fff;background:#edc53f;box-shadow:0 0 26px #edc53fd9}.game2048-tile.val-2048{color:#fff;background:#edc22e;box-shadow:0 0 30px #edc22ef2}.game2048-tile.val-4096{color:#fff;background:#9333ea;box-shadow:0 0 32px #9333eaf2}.game2048-tile.val-obstacle{color:#fff;background:#475569;font-size:1.4rem}.game2048-dpad{-webkit-user-select:none;user-select:none;flex-direction:column;align-items:center;gap:8px;margin:0 auto;display:flex}.game2048-dpad .dpad-row{gap:12px;display:flex}.game2048-dbtn{background:var(--surface);border:1px solid var(--border);color:var(--text);cursor:pointer;width:62px;height:48px;box-shadow:var(--shadow);-webkit-user-select:none;user-select:none;touch-action:manipulation;border-radius:14px;justify-content:center;align-items:center;font-size:1.25rem;font-weight:900;transition:transform 80ms,background .12s,box-shadow 80ms;display:flex}.game2048-dbtn:hover{background:var(--surface-2)}.game2048-dbtn:active{background:var(--accent-soft);color:var(--accent);transform:scale(.92)}@media (width<=380px){.game2048-hud{gap:5px}.game2048-pill{min-height:46px;padding:4px 6px}.game2048-pill .pill-val{font-size:1.05rem}.game2048-undo-btn{height:46px;padding:0 10px;font-size:.85rem}.game2048-dbtn{width:54px;height:42px;font-size:1.15rem}}@media (height<=700px){.game2048-grid{max-width:300px;margin-bottom:8px}.game2048-dbtn{height:40px}}.confetti-particle{pointer-events:none;z-index:999;border-radius:2px;width:9px;height:14px;animation:1.1s cubic-bezier(.25,1,.5,1) forwards confettiExplode;position:absolute}.nonogram-header{justify-content:space-between;align-items:center;gap:8px;width:100%;max-width:440px;margin:0 auto 10px;display:flex}.nonogram-badge{background:var(--surface-2);color:var(--text);border:1px solid var(--border);border-radius:20px;padding:6px 14px;font-size:.95rem;font-weight:800}.nonogram-actions{align-items:center;gap:6px;display:flex}.nonogram-tool-btn{border-radius:12px;padding:6px 10px;font-size:.95rem}.nonogram-mode-pill{background:var(--surface-2);border:1px solid var(--border);border-radius:24px;width:fit-content;margin:0 auto 12px;padding:3px;display:flex;box-shadow:0 2px 8px #0000000a}.nonogram-toggle-btn{color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:20px;padding:6px 16px;font-size:.9rem;font-weight:700;transition:all .15s}.nonogram-toggle-btn.active{background:var(--accent);color:#fff;box-shadow:0 2px 8px #5b5bf04d}.nonogram-board{-webkit-user-select:none;user-select:none;touch-action:none;flex-direction:column;align-items:center;margin:0 auto;display:flex}.nonogram-grid-top{align-items:flex-end;display:flex}.nonogram-corner{flex-shrink:0;width:58px}.nonogram-cols-header{gap:2px;display:flex}.nonogram-col-clue{width:var(--nono-cell-size,42px);min-height:48px;color:var(--muted);flex-direction:column;justify-content:flex-end;align-items:center;padding-bottom:4px;font-size:.78rem;font-weight:800;line-height:1.15;transition:color .2s,opacity .2s;display:flex}.nonogram-col-clue.satisfied{color:var(--good);opacity:.85}.nonogram-grid-body{flex-direction:column;gap:2px;display:flex}.nonogram-grid-row{align-items:center;gap:2px;display:flex}.nonogram-row-clue{width:58px;color:var(--muted);flex-shrink:0;justify-content:flex-end;align-items:center;gap:4px;padding-right:6px;font-size:.78rem;font-weight:800;transition:color .2s,opacity .2s;display:flex}.nonogram-row-clue.satisfied{color:var(--good);opacity:.85}.nonogram-cell{width:var(--nono-cell-size,42px);height:var(--nono-cell-size,42px);border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:4px;justify-content:center;align-items:center;padding:0;font-family:inherit;font-weight:800;transition:background .12s,border-color .12s,transform 80ms;display:flex}.nonogram-cell:active{transform:scale(.92)}.nonogram-cell.filled{background:var(--accent);border-color:var(--accent);color:#fff;border-radius:5px;transform:scale(.95)}.nonogram-cell.crossed{color:var(--muted);background:var(--surface-2);font-size:1.05rem;font-weight:700}.nonogram-cell.hint-pop{animation:.6s cubic-bezier(.34,1.56,.64,1) forwards hintPop}@keyframes hintPop{0%{background:#facc15;border-color:#facc15;transform:scale(1.4)}50%{transform:scale(1.15)}to{transform:scale(.95)}}.nonogram-board.size-4{--nono-n:4;--nono-cell-size:min(52px, calc((100vw - 110px) / 4))}.nonogram-board.size-5{--nono-n:5;--nono-cell-size:min(46px, calc((100vw - 110px) / 5))}.nonogram-board.size-6{--nono-n:6;--nono-cell-size:min(40px, calc((100vw - 110px) / 6))}.nonogram-board.size-7{--nono-n:7;--nono-cell-size:min(36px, calc((100vw - 110px) / 7))}.nonogram-board[class*=size-]{padding-right:clamp(0px, calc(100vw - 32px - 58px - var(--nono-n) * var(--nono-cell-size) - (var(--nono-n) - 1) * 2px), 58px)}.nonogram-board.solved .nonogram-cell.revealed-block{background:var(--accent);border-color:#0000;border-radius:3px;animation:.45s cubic-bezier(.34,1.56,.64,1) forwards nonoSolvedPop;transform:scale(.98)}.nonogram-board.solved .nonogram-cell.revealed-empty{background:0 0;border-color:#0000}.nonogram-board.solved .nonogram-col-clue,.nonogram-board.solved .nonogram-row-clue{opacity:.18}@keyframes nonoSolvedPop{0%{opacity:.8;transform:scale(.8)}60%{transform:scale(1.08)}to{opacity:1;transform:scale(.98)}}.nonogram-reveal-banner{background:var(--surface);border:2px solid var(--accent);box-shadow:var(--shadow);border-radius:18px;align-items:center;gap:12px;width:fit-content;margin:14px auto 0;padding:10px 22px;display:flex}.nonogram-reveal-banner.hidden{display:none}.reveal-icon{font-size:2.2rem;line-height:1}.reveal-title{color:var(--text);font-size:1.15rem;font-weight:800}.ex-nono-wrap{flex-direction:column;gap:2px;font-size:.65rem;font-weight:700;display:flex}.ex-nono-cols{gap:2px;margin-left:20px;display:flex}.ex-nono-cols span{text-align:center;width:14px;color:var(--muted)}.ex-nono-row{align-items:center;gap:2px;display:flex}.ex-nono-row .clue{text-align:right;width:18px;color:var(--muted);padding-right:2px;font-size:.65rem}.ex-nono-row span:not(.clue){border:1px solid var(--border);background:var(--surface);border-radius:2px;width:14px;height:14px}.ex-nono-row span.on{background:var(--accent);border-color:var(--accent)}.stage-crack-the-code{-webkit-user-select:none;user-select:none;flex-direction:column;align-items:center;gap:12px;width:100%;max-width:480px;margin:0 auto;display:flex}.ctc-lock-wrap{flex-direction:column;align-items:center;width:100%;margin-top:14px;display:flex;position:relative}.ctc-shackle{z-index:1;transform-origin:15% 100%;border:10px solid #8e95aa;border-bottom:none;border-radius:52px 52px 0 0;width:104px;height:52px;margin-bottom:-10px;transition:transform .45s cubic-bezier(.34,1.56,.64,1)}.ctc-shackle.unlocked{border-color:var(--good);transform:translateY(-22px)rotate(-18deg)}.ctc-lock-body{z-index:2;background:var(--surface);border:2px solid var(--border);width:100%;box-shadow:var(--shadow);border-radius:20px;flex-direction:column;align-items:center;gap:10px;padding:14px 16px 12px;display:flex;position:relative}.ctc-dials-row{justify-content:center;align-items:center;gap:10px;width:100%;display:flex}.ctc-dial-col{background:var(--surface-2);border:2px solid var(--border);cursor:pointer;border-radius:14px;outline:none;flex-direction:column;align-items:center;min-width:54px;padding:4px 6px;transition:border-color .15s,box-shadow .15s;display:flex}.ctc-dial-col:hover{border-color:var(--accent)}.ctc-dial-col.focused{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.ctc-dial-btn{color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:6px;padding:2px 8px;font-size:.85rem;transition:color .15s,transform .1s,background-color .15s}.ctc-dial-btn:hover{color:var(--accent);background:var(--accent-soft)}.ctc-dial-btn:active{transform:scale(.9)}.ctc-dial-val{color:var(--text);text-align:center;min-width:30px;padding:2px 0;font-size:1.85rem;font-weight:900;line-height:1.1}.ctc-tries-badge{color:var(--muted);letter-spacing:.02em;font-size:.78rem;font-weight:700}.ctc-unlock-btn{cursor:pointer;border-radius:12px;width:100%;max-width:240px;padding:10px 16px;font-size:1rem;font-weight:800;transition:transform .15s,box-shadow .15s;box-shadow:0 4px 12px #5b5bf040}.ctc-unlock-btn:hover{transform:translateY(-1px);box-shadow:0 6px 16px #5b5bf059}.ctc-unlock-btn:active{transform:translateY(1px)}.ctc-rule-banner{width:100%;color:var(--muted);background:var(--surface);border:1px solid var(--border);text-align:center;border-radius:12px;padding:8px 12px;font-size:.78rem;font-weight:700;line-height:1.35;box-shadow:0 2px 6px #00000008}.ctc-clues-list{flex-direction:column;gap:7px;width:100%;display:flex}.ctc-clue-card{background:var(--surface);border:1px solid var(--border);cursor:pointer;border-radius:12px;align-items:center;gap:10px;padding:7px 10px;transition:opacity .2s,background-color .2s,border-color .2s;display:flex;box-shadow:0 2px 8px #00000008}.ctc-clue-card:hover{border-color:var(--accent)}.ctc-clue-card.dimmed{opacity:.42;background:var(--surface-2)}.ctc-clue-card.dimmed .ctc-clue-check{color:var(--good);opacity:1}.ctc-clue-digits{flex-shrink:0;gap:4px;display:flex}.ctc-clue-digit{background:var(--surface-2);border:1px solid var(--border);width:28px;height:28px;color:var(--text);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;font-size:.95rem;font-weight:800;transition:transform .12s,background-color .15s,color .15s;display:inline-flex}.ctc-clue-digit:hover{border-color:var(--accent);transform:scale(1.1)}.ctc-clue-digit.eliminated{opacity:.35;border-color:var(--bad);color:var(--bad);background:#e5484d1f;text-decoration:line-through}.ctc-clue-digit.confirmed{border-color:var(--good);color:var(--good);background:#16a34a2e;font-weight:900}.ctc-clue-badge{border-radius:8px;flex:1;padding:4px 8px;font-size:.8rem;font-weight:700;line-height:1.25}.ctc-clue-badge.badge-well{color:var(--good);background:#16a34a1f}.ctc-clue-badge.badge-wrong{color:var(--c-blue);background:#3b82f61f}.ctc-clue-badge.badge-none{background:var(--surface-2);color:var(--muted)}.ctc-clue-check{color:var(--muted);opacity:.25;padding:0 4px;font-size:.95rem;font-weight:900}.ctc-scratch-wrap{background:var(--surface);border:1px solid var(--border);border-radius:14px;flex-direction:column;align-items:center;gap:5px;width:100%;padding:8px 10px;display:flex}.ctc-scratch-header{flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;display:flex}.ctc-scratch-label{color:var(--muted);letter-spacing:.02em;text-transform:uppercase;font-size:.72rem;font-weight:700}.ctc-scratch-hint{color:var(--muted);opacity:.85;font-size:.72rem;font-weight:500}.ctc-scratch-bar{justify-content:space-between;gap:3px;width:100%;display:flex}.ctc-scratch-chip{background:var(--surface-2);border:1px solid var(--border);max-width:36px;height:32px;color:var(--text);cursor:pointer;border-radius:8px;flex:1;justify-content:center;align-items:center;padding:0;font-size:.88rem;font-weight:800;transition:transform .1s,background-color .15s,border-color .15s,color .15s;display:inline-flex}.ctc-scratch-chip:hover{border-color:var(--accent);transform:translateY(-2px)}.ctc-scratch-chip.eliminated{opacity:.35;border-color:var(--bad);color:var(--bad);background:#e5484d1f;text-decoration:line-through}.ctc-scratch-chip.confirmed{border-color:var(--good);color:var(--good);background:#16a34a2e;font-weight:900}@media (width<=480px){.ctc-dial-col{min-width:44px;padding:3px 4px}.ctc-dial-val{font-size:1.6rem}.ctc-scratch-chip{height:30px;font-size:.8rem}.ctc-clue-badge{font-size:.74rem}}.progress-tabs{z-index:20;-webkit-backdrop-filter:blur(12px);margin-bottom:14px;position:sticky;top:54px}.progress-tabs button{white-space:nowrap;justify-content:center;align-items:center;gap:4px;padding:8px 4px;font-size:.85rem;display:flex}@media (width<=420px){.progress-tabs button{gap:2px;padding:7px 2px;font-size:.76rem}}.progress-stats-grid{grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:12px;display:grid}.progress-stat-card{background:var(--surface-2);border-radius:var(--radius);text-align:center;border:1px solid var(--border);flex-direction:column;justify-content:center;align-items:center;gap:2px;padding:12px 6px;display:flex}.progress-stat-card .stat-icon{font-size:1.4rem;line-height:1}.progress-stat-card .stat-val{font-variant-numeric:tabular-nums;background:linear-gradient(135deg, var(--accent), var(--accent-2));-webkit-text-fill-color:transparent;-webkit-background-clip:text;font-size:1.25rem;font-weight:900}.progress-stat-card .stat-lbl{color:var(--muted);font-size:.72rem;font-weight:600;line-height:1.1}.progress-banner{border-radius:var(--radius);background:var(--surface-2);border:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;padding:12px 14px;display:flex}.progress-banner.actionable{background:linear-gradient(135deg, var(--accent-soft), var(--surface-2));border-color:var(--accent)}.progress-banner-text{text-align:left;flex-direction:column;gap:2px;display:flex}.progress-banner-text b{font-size:.92rem}.progress-banner-text p{color:var(--muted);margin:0;font-size:.76rem}.near-goals-list{flex-direction:column;gap:8px;margin-top:8px;display:flex}.near-goal-item{background:var(--surface-2);border:1px solid var(--border);color:inherit;cursor:pointer;border-radius:12px;grid-template-columns:32px 1fr 50px;align-items:center;gap:10px;padding:10px 12px;text-decoration:none;transition:transform .15s,border-color .15s;display:grid}.near-goal-item:hover,.near-goal-item:active{border-color:var(--accent);transform:translateY(-1px)}.near-goal-icon{place-items:center;font-size:1.6rem;display:grid}.near-goal-info{text-align:left;flex-direction:column;gap:4px;min-width:0;display:flex}.near-goal-info b{white-space:nowrap;text-overflow:ellipsis;font-size:.88rem;overflow:hidden}.near-goal-info small{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:.74rem;overflow:hidden}.near-goal-pct{text-align:right;color:var(--accent);font-variant-numeric:tabular-nums;font-size:.84rem;font-weight:800}.domain-highlights{grid-template-columns:1fr 1fr;gap:8px;margin-top:10px;display:grid}.domain-highlight-box{background:var(--surface-2);border:1px solid var(--border);text-align:left;border-radius:12px;flex-direction:column;gap:4px;padding:10px;display:flex}.domain-highlight-box.strength{border-left:3px solid var(--good)}.domain-highlight-box.growth{border-left:3px solid var(--accent)}.domain-highlight-label{color:var(--muted);text-transform:uppercase;letter-spacing:.4px;font-size:.72rem;font-weight:700}.domain-highlight-title{font-size:.88rem;font-weight:800}.domain-highlight-score{color:var(--muted);font-variant-numeric:tabular-nums;font-size:.8rem}.chip-bar{scrollbar-width:thin;-webkit-overflow-scrolling:touch;gap:6px;padding:4px 0 10px;display:flex;overflow-x:auto}.chip-bar::-webkit-scrollbar{height:4px}.chip-bar::-webkit-scrollbar-thumb{background:var(--border);border-radius:4px}.chip{border:1px solid var(--border);background:var(--surface-2);color:var(--muted);cursor:pointer;border-radius:99px;flex-shrink:0;align-items:center;gap:4px;padding:6px 12px;font-size:.8rem;font-weight:700;transition:all .15s;display:inline-flex}.chip.on{background:var(--accent);color:#fff;border-color:var(--accent);box-shadow:0 2px 6px #0000001f}.ex-progress-card{background:var(--surface-2);border:1px solid var(--border);border-radius:12px;align-items:center;gap:10px;margin-bottom:8px;padding:10px 12px;transition:border-color .15s;display:flex}.ex-progress-card:hover{border-color:var(--border-hover,var(--accent))}.ex-progress-icon{flex-shrink:0;font-size:1.8rem}.ex-progress-main{text-align:left;flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.ex-progress-title-row{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.ex-progress-title{font-size:.9rem;font-weight:700}.ex-progress-domain-badge{background:var(--surface);color:var(--muted);border-radius:6px;padding:1px 6px;font-size:.68rem;font-weight:600}.ex-progress-graph-row{align-items:center;gap:8px;display:flex}.ex-progress-graph-row .spark,.ex-progress-graph-row .part-bar{flex:1;max-width:140px}.ex-progress-score{color:var(--text);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:.82rem;font-weight:800}.ex-progress-play-btn{background:var(--surface);color:var(--accent);cursor:pointer;border:none;border:1px solid var(--border);white-space:nowrap;border-radius:8px;align-items:center;gap:3px;padding:7px 12px;font-size:.8rem;font-weight:800;transition:all .15s;display:inline-flex}.ex-progress-play-btn:hover,.ex-progress-play-btn:active{background:var(--accent);color:#fff;border-color:var(--accent);transform:scale(1.03)}.badge-header-progress{margin-bottom:12px}.badge-header-stats{justify-content:space-between;align-items:center;margin-bottom:6px;font-size:.88rem;font-weight:700;display:flex}.science-box{background:var(--surface-2);border:1px solid var(--border);border-left:3px solid var(--accent);text-align:left;border-radius:12px;flex-direction:column;gap:6px;margin-top:10px;padding:12px;display:flex}.science-box-title{color:var(--accent);align-items:center;gap:6px;font-size:.85rem;font-weight:800;display:flex}.science-box-body{color:var(--muted);margin:0;font-size:.78rem;line-height:1.4}.stage-tangram{justify-content:flex-start;padding-top:8px}.tangram-wrap{-webkit-user-select:none;user-select:none;flex-direction:column;align-items:center;gap:10px;width:100%;max-width:440px;margin:0 auto;display:flex}.tangram-header{justify-content:space-between;align-items:center;width:100%;display:flex}.tangram-timer-row{align-items:center;gap:10px;width:100%;display:flex}.tangram-timer-badge{border:1px solid var(--border);white-space:nowrap;font-variant-numeric:tabular-nums;border-radius:12px;align-items:center;gap:6px;padding:4px 10px;font-family:inherit;font-size:.84rem;font-weight:800;transition:all .25s;display:inline-flex}.tangram-timer-badge.gold{color:#f59e0b;background:#f59e0b26;border-color:#f59e0b66;box-shadow:0 0 12px #f59e0b40}.tangram-timer-badge.silver{color:#94a3b8;background:#94a3b826;border-color:#94a3b859}.tangram-timer-badge.bronze{color:#d97706;background:#d9770626;border-color:#d9770659}.tangram-timer-badge.standard{background:var(--surface-2);color:var(--muted);border-color:var(--border)}.tangram-timer-track{background:var(--surface-2);border:1px solid var(--border);border-radius:999px;flex:1;height:6px;position:relative;overflow:hidden}.tangram-timer-fill{border-radius:999px;width:100%;height:100%;transition:width .1s linear,background-color .3s}.tangram-timer-fill.gold{background:linear-gradient(90deg,#f59e0b,#fbbf24);box-shadow:0 0 8px #f59e0b80}.tangram-timer-fill.silver{background:linear-gradient(90deg,#64748b,#94a3b8)}.tangram-timer-fill.bronze{background:linear-gradient(90deg,#b45309,#d97706)}.tangram-timer-fill.standard{background:var(--muted)}.tangram-decoy-badge{color:#ec4899;background:#ec48991f;border:1px solid #ec489940;border-radius:8px;align-items:center;gap:3px;margin-left:6px;padding:2px 7px;font-size:.78rem;font-weight:700;display:inline-flex}.tangram-badge{background:var(--surface-2);color:var(--text);border:1px solid var(--border);border-radius:14px;padding:6px 14px;font-size:.92rem;font-weight:800}.tangram-actions{align-items:center;gap:6px;display:flex}.tangram-tool-btn{border-radius:12px;padding:6px 10px;font-size:.92rem}.tangram-board-container{aspect-ratio:1;background:var(--surface);border:2px solid var(--border);width:100%;max-width:320px;max-height:320px;box-shadow:var(--shadow);border-radius:20px;flex-shrink:0;justify-content:center;align-items:center;padding:8px;transition:border-color .15s,box-shadow .15s;display:flex;position:relative;overflow:hidden}.tangram-flash-bad{border-color:var(--bad)!important;box-shadow:0 0 0 4px #ef444459!important}.tangram-svg-board{touch-action:none;width:100%;height:100%;transition:filter .4s}.tangram-svg-board.solved-glow{animation:1.2s ease-in-out infinite alternate tangramBoardVictory}@keyframes tangramBoardVictory{0%{filter:drop-shadow(0 0 10px #f59e0b73)}to{filter:drop-shadow(0 0 24px #f59e0bd9)}}.tangram-silhouette-base{filter:drop-shadow(0 6px 14px #00000047)}.tangram-base-polygon{fill:var(--tangram-silhouette-fill,#1e293b);stroke:var(--tangram-silhouette-fill,#1e293b);stroke-width:1.5px;stroke-linejoin:round}.tangram-slot{transition:transform .25s cubic-bezier(.34,1.56,.64,1),fill .2s,stroke .2s}.tangram-slot.empty{fill:var(--tangram-silhouette-fill,#1e293b);stroke:var(--tangram-silhouette-fill,#1e293b);stroke-width:1.5px;stroke-linejoin:round;cursor:pointer}.tangram-slot.empty.practice-guide{stroke-dasharray:4 3;stroke-width:1.5px;stroke:#ffffff4d!important}.tangram-slot-hint-glow{stroke-dasharray:4 3;stroke-linejoin:round;pointer-events:none;animation:.7s ease-out forwards tangramHintPulse;fill:#f59e0b47!important;stroke:#f59e0b!important;stroke-width:3px!important}@keyframes tangramHintPulse{0%{opacity:0}30%{opacity:1}to{opacity:0}}.tangram-slot.filled{cursor:pointer;filter:drop-shadow(0 2px 6px #00000038);animation:.3s cubic-bezier(.34,1.56,.64,1) forwards tangramPieceSnap}@keyframes tangramPieceSnap{0%{transform:scale(.92)}50%{transform:scale(1.05)}to{transform:scale(1)}}.tangram-slot.filled:hover{filter:brightness(1.1)drop-shadow(0 4px 10px #00000052);transform-origin:50%;transform:scale(1.02)}.tangram-controls-bar{flex-shrink:0;justify-content:center;align-items:center;gap:10px;width:100%;min-height:44px;display:flex}.tangram-control-btn{background:var(--surface-2);border:1px solid var(--border);color:var(--text);border-radius:18px;padding:7px 16px;font-size:.9rem;font-weight:700;transition:background .15s,border-color .15s,color .15s;box-shadow:0 2px 6px #0000000f}.tangram-control-btn:hover{background:var(--surface);border-color:var(--accent);color:var(--accent)}.tangram-tray{background:var(--surface-2);border:1px solid var(--border);border-radius:20px;flex-wrap:wrap;flex-shrink:0;justify-content:center;align-items:center;gap:10px;width:100%;min-height:90px;padding:10px;display:flex}.tangram-tray-item{background:var(--surface);border:2px solid var(--border);cursor:grab;touch-action:none;border-radius:16px;justify-content:center;align-items:center;width:72px;height:72px;transition:border-color .2s,box-shadow .2s;display:flex;box-shadow:0 2px 6px #00000014}.tangram-tray-item:hover{border-color:var(--accent)}.tangram-tray-item:active{cursor:grabbing}.tangram-tray-item.selected{border-color:var(--accent);box-shadow:0 0 0 3px #6366f166,0 4px 12px #00000026}.tangram-tray-item.decoy-unused{opacity:.35;filter:grayscale(.7);pointer-events:none}.tangram-tray-svg{pointer-events:none;width:100%;height:100%}.tangram-dragging-clone{pointer-events:none;z-index:9999;filter:drop-shadow(0 12px 28px #00000073);opacity:.95;width:96px;height:96px;position:fixed;transform:translate(-50%,-50%)}.tangram-reveal-banner{background:var(--surface);box-shadow:var(--shadow);border:2px solid #10b981;border-radius:18px;align-items:center;gap:10px;margin-top:8px;padding:10px 20px;animation:.45s cubic-bezier(.34,1.56,.64,1) forwards tangramPopIn;display:flex}.tangram-reveal-banner.hidden{display:none}.tangram-reveal-icon{font-size:2rem;line-height:1}.tangram-reveal-text{color:var(--text);font-size:1.1rem;font-weight:800}@keyframes tangramPopIn{0%{opacity:0;transform:scale(.7)}to{opacity:1;transform:scale(1)}}.stage-memoria{-webkit-user-select:none;user-select:none;touch-action:manipulation;flex-direction:column;justify-content:center;align-items:center;gap:12px;width:100%;max-width:480px;margin:0 auto;display:flex;position:relative}.memoria-tip{text-align:center;max-width:440px;color:var(--muted);margin:0;font-size:.9rem;line-height:1.4}.memoria-header{width:100%;max-width:440px;color:var(--text);justify-content:space-between;align-items:center;gap:8px;padding:4px 6px;font-size:.95rem;font-weight:800;display:flex}.memoria-stat-pill{background:var(--surface);border:1px solid var(--border);border-radius:999px;align-items:center;gap:6px;padding:6px 12px;display:inline-flex;box-shadow:0 2px 6px #0000000d}.memoria-stat-icon{font-size:1.15rem}.memoria-stat-val{font-variant-numeric:tabular-nums;letter-spacing:-.01em}.memoria-combo-tag{color:#fff;letter-spacing:.02em;background:linear-gradient(135deg,#f59e0b,#ef4444);border-radius:999px;align-items:center;gap:4px;padding:6px 12px;font-size:.85rem;font-weight:900;animation:.25s cubic-bezier(.34,1.56,.64,1) pop;display:inline-flex;box-shadow:0 2px 10px #f59e0b73}.memoria-combo-tag.pulse{animation:.35s memoriaComboPulse}@keyframes memoriaComboPulse{0%{transform:scale(1)}50%{transform:scale(1.18)}to{transform:scale(1)}}.memoria-grid{perspective:1000px;box-sizing:border-box;gap:8px;width:100%;max-width:440px;padding:4px;display:grid}.memoria-card{aspect-ratio:1;cursor:pointer;perspective:1000px;-webkit-tap-highlight-color:transparent;background:0 0;border:none;outline:none;padding:0;display:block;position:relative}.memoria-card-inner{text-align:center;width:100%;height:100%;transform-style:preserve-3d;border-radius:14px;transition:transform .38s cubic-bezier(.34,1.3,.64,1);position:relative}.memoria-card:hover .memoria-card-inner{transform:translateY(-2px)}.memoria-card.flipped .memoria-card-inner,.memoria-card.matched .memoria-card-inner{transform:rotateY(180deg)}.memoria-card-face{backface-visibility:hidden;box-sizing:border-box;border-radius:14px;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.memoria-card-front{color:#fff;background:linear-gradient(135deg,#4f46e5 0%,#312e81 100%);border:2px solid #ffffff2e;box-shadow:0 4px 10px #4f46e538,inset 0 1px 1px #ffffff4d}.memoria-card-seal{opacity:.85;filter:drop-shadow(0 2px 4px #0000004d);font-size:1.5rem;transition:transform .2s}.memoria-card:active .memoria-card-seal{transform:scale(.9)}.memoria-card-back{background:var(--surface);border:2px solid var(--border);-webkit-user-select:none;user-select:none;transform:rotateY(180deg);box-shadow:0 4px 10px #00000014}.memoria-grid.cols-3 .memoria-card-sym{font-size:2.4rem}.memoria-grid.cols-4 .memoria-card-sym{font-size:2.1rem}.memoria-grid.cols-5 .memoria-card-sym{font-size:1.75rem}.memoria-grid.cols-6 .memoria-card-sym{font-size:1.45rem}.memoria-grid.cols-7 .memoria-card-sym{font-size:1.25rem}.memoria-card.matched .memoria-card-back{background:linear-gradient(145deg, var(--surface) 0%, #f59e0b26 100%);border-color:#f59e0b;animation:.5s ease-out matchRadiance;box-shadow:0 0 16px #f59e0b73}@keyframes matchRadiance{0%{transform:rotateY(180deg)scale(1)}50%{transform:rotateY(180deg)scale(1.1);box-shadow:0 0 24px #f59e0bb3}to{transform:rotateY(180deg)scale(1)}}@keyframes memoriaShake{0%,to{transform:rotateY(180deg)translate(0)}20%{transform:rotateY(180deg)translate(-5px)}40%{transform:rotateY(180deg)translate(5px)}60%{transform:rotateY(180deg)translate(-3px)}80%{transform:rotateY(180deg)translate(3px)}}.memoria-card.mismatch .memoria-card-inner{animation:.45s memoriaShake}.memoria-card.mismatch .memoria-card-back{border-color:var(--bad)}.memoria-float-layer{pointer-events:none;z-index:100;position:absolute;inset:0;overflow:visible}.memoria-floating-msg{pointer-events:none;color:#f59e0b;text-shadow:0 2px 10px #00000059;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);white-space:nowrap;background:#11121ae0;border:1px solid #f59e0b80;border-radius:999px;padding:6px 14px;font-size:1.35rem;font-weight:900;animation:.85s ease-out forwards memoriaFloat;position:absolute;transform:translate(-50%,-50%);box-shadow:0 4px 16px #00000040}@keyframes memoriaFloat{0%{opacity:0;transform:translate(-50%)scale(.7)}25%{opacity:1;transform:translate(-50%,-20px)scale(1.15)}75%{opacity:1;transform:translate(-50%,-35px)scale(1)}to{opacity:0;transform:translate(-50%,-50px)scale(.9)}}.ex-card-pair{align-items:center;gap:6px;display:inline-flex}.ex-mini-card{border-radius:8px;justify-content:center;align-items:center;width:38px;height:38px;font-size:1.3rem;display:inline-flex;box-shadow:0 2px 6px #0000001a}.ex-mini-card.face{background:var(--surface);border:2px solid #f59e0b}.ex-mini-card.back{color:#fff;background:linear-gradient(135deg,#4f46e5 0%,#312e81 100%);border:2px solid #fff3;font-size:1.1rem}@media (width<=400px){.memoria-grid{gap:5px}.memoria-grid.cols-6 .memoria-card-sym{font-size:1.25rem}.memoria-grid.cols-7 .memoria-card-sym{font-size:1.1rem}}.how-box{text-align:start;background:var(--surface-2);border:1px solid var(--border);border-radius:14px;width:100%;padding:12px 14px}.how-box h3{margin:0 0 6px;font-size:1rem}.how-steps{flex-direction:column;gap:6px;margin:0;padding-inline-start:1.4em;line-height:1.45;display:flex}.how-steps li::marker{color:var(--accent);font-weight:900}.reading-goal{font-weight:700}.reading-pacer>div{background:linear-gradient(90deg, var(--accent-2), var(--accent))}.xp-chip.extra{background:var(--accent-soft);color:var(--accent);font-size:.9rem;font-weight:800}.near-best{color:var(--accent);font-weight:800;animation:.5s pop}.surprise-card{color:#451a03;background:linear-gradient(135deg,#fde68a,#f59e0b);border-radius:16px;flex-direction:column;align-items:center;gap:2px;padding:12px 18px;animation:.7s cubic-bezier(.2,1.4,.4,1) surprise-in;display:flex;box-shadow:0 6px 22px #f59e0b73}.surprise-card b{font-size:1.15rem;font-weight:900}.surprise-icon{font-size:1.6rem}@keyframes surprise-in{0%{opacity:0;transform:scale(.3)rotate(-8deg)}70%{opacity:1;transform:scale(1.08)rotate(2deg)}to{transform:scale(1)rotate(0)}}.tomorrow-hook{color:var(--accent);font-weight:700}.today-hook{color:var(--accent);flex-direction:column;gap:2px;margin:10px 0 2px;font-size:.9rem;font-weight:700;display:flex}@media (prefers-color-scheme:dark){.xp-chip.extra{color:#c7c7ff;background:#26264a}}@media (prefers-reduced-motion:reduce){.surprise-card{animation:none}}:root{--ease-out:cubic-bezier(.2, .7, .2, 1);--focus-ring:color-mix(in srgb, var(--accent) 70%, transparent);--shadow-lift:0 12px 32px #1b1d2a1f}@media (prefers-color-scheme:dark){:root{--shadow-lift:0 12px 32px #00000073}}html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizelegibility}:is(h1,h2,h3):not(.stage *){text-wrap:balance}:is(p,small,li):not(.stage *){text-wrap:pretty}.hero h1,.landing-title{letter-spacing:-.02em;font-weight:900}.landing-title{font-size:clamp(2rem,1.4rem + 2.6vw,2.75rem);line-height:1.12}.landing-section-title,.landing-start-card h2{letter-spacing:-.01em;font-weight:800}.xp-num,.streak,.community{color:var(--muted);margin:8px 0 0;font-size:.85rem}.community:empty{display:none}.today-hook,.community,.plan-sub{font-variant-numeric:tabular-nums}:is(button,a,select,summary,[tabindex]):focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px}.input:focus,.lang-picker select:focus-visible{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);outline:none}.input{transition:border-color .15s,box-shadow .15s}.onboard-topbar .btn{text-wrap:balance;padding:9px 14px;line-height:1.25}@media (width<=420px){.onboard-topbar .btn{padding:8px 12px;font-size:.82rem}.onboard-topbar .lang-picker select{max-width:8.5em}}:is(.menu-card,.ex-card,.next-goal,.pillar-card,.btn,.icon-btn):not(.stage *){transition:transform .18s var(--ease-out), box-shadow .18s var(--ease-out), filter .15s, background-color .15s, border-color .15s}.chev{transition:transform .18s var(--ease-out), opacity .18s;display:inline-block}@media (hover:hover) and (pointer:fine){:is(.menu-card,.ex-card,.next-goal):not(.stage *):hover{box-shadow:var(--shadow-lift);transform:translateY(-2px)}:is(.menu-card,.ex-card,.next-goal):not(.stage *):hover:active{transform:translateY(0)scale(.98)}.menu-card:not(.featured):hover{border-color:color-mix(in srgb, var(--accent) 35%, var(--border))}.menu-card:hover .chev{opacity:1;transform:translate(3px)}[dir=rtl] .menu-card:hover .chev{transform:scaleX(-1)translate(3px)}.pillar-card:hover{box-shadow:var(--shadow-lift);transform:translateY(-2px)}.btn:not(.stage *):not(:disabled):hover{filter:brightness(1.06);border-color:color-mix(in srgb, var(--accent) 30%, var(--border))}.btn.primary:not(.stage *):not(:disabled):hover{box-shadow:0 8px 22px color-mix(in srgb, var(--accent) 35%, transparent);transform:translateY(-1px)}.btn.primary:not(.stage *):not(:disabled):hover:active{box-shadow:none;transform:scale(.97)}.icon-btn:not(.stage *):hover{background:color-mix(in srgb, var(--accent) 14%, var(--surface-2))}.link-btn:hover{color:var(--accent)}}@keyframes polish-rise{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}.onboard-hero>*,.landing-start-card{animation:polish-rise .55s var(--ease-out) both}.onboard-hero>:nth-child(2){animation-delay:60ms}.onboard-hero>:nth-child(3){animation-delay:.12s}.onboard-hero>:nth-child(n+4){animation-delay:.18s}.landing-start-card{animation-delay:.24s}@media (prefers-reduced-motion:reduce){.onboard-hero>*,.landing-start-card{animation:none}:is(.menu-card,.ex-card,.next-goal,.pillar-card,.btn,.icon-btn,.chev):not(.stage *){transition:none}}.seo-page a{color:var(--accent)}.seo-page a.btn.primary{color:#fff}.seo-page a.btn:not(.primary){color:var(--text)}.seo-page .topbar a.icon-btn{color:var(--text);place-items:center;text-decoration:none;display:grid}.seo-brand{justify-self:center;font-weight:800;text-decoration:none;color:var(--text)!important}.seo-game{text-align:center;flex-direction:column;align-items:center;gap:12px;display:flex}.seo-game h1{font-size:1.6rem}.seo-page h2{margin:0 0 8px;font-size:1.05rem}.seo-alias{margin:-6px 0 0}.seo-meta{flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;margin:0;display:flex}.seo-lead{margin:0;font-size:1.1rem;line-height:1.45}.seo-play{width:100%}.seo-why,.seo-part{text-align:start;width:100%;line-height:1.5}.seo-why p,.seo-part,.seo-store{margin:0}.seo-crumbs a{color:var(--muted)!important}.seo-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.seo-item{background:var(--surface);border:1px solid var(--border);border-radius:14px;align-items:center;gap:12px;padding:12px 14px;text-decoration:none;display:flex;color:var(--text)!important}.seo-item b,.seo-item small{display:block}.seo-item small{margin-top:2px;line-height:1.35}.seo-item-icon{font-size:1.6rem}.seo-related,.seo-domain{flex-direction:column;gap:8px;display:flex}.seo-langs ul{flex-wrap:wrap;justify-content:center;gap:6px 14px;margin:0;padding:0;font-size:.85rem;list-style:none;display:flex}.seo-note{color:var(--muted);font-size:.85rem;line-height:1.45}.seo-note h2{font-size:.9rem}.daily-squares{letter-spacing:.15em;text-align:center;margin:0;font-size:1.6rem}.daily-squares.big{font-size:2.2rem}.daily-line{margin:0;font-size:1.1rem;font-weight:800}.daily-result{text-align:center;flex-direction:column;align-items:center;gap:12px;display:flex}.press-icon{border-radius:22%}.press-section h2{margin-bottom:10px}.press-section ul{margin:0;padding-inline-start:1.2em;line-height:1.5}.press-facts{grid-template-columns:max-content 1fr;gap:6px 14px;margin:0;display:grid}.press-facts dt{font-weight:800}.press-facts dd{margin:0}.press-feature{border-radius:12px;width:100%;height:auto;margin:12px 0}.press-variant h3{margin:14px 0 8px;font-size:.95rem}.press-section .press-grid{grid-template-columns:repeat(4,1fr);gap:8px;padding:0;list-style:none;display:grid}.press-grid li{text-align:center;flex-direction:column;gap:4px;font-size:.75rem;display:flex}.press-grid img{border:1px solid var(--border);border-radius:8px;width:100%;height:auto}@media (width<=420px){.press-section .press-grid{grid-template-columns:repeat(2,1fr)}.press-facts{grid-template-columns:1fr}}
