:root,html[data-theme=light],body[data-theme=light]{color:#1e293b;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;background-color:#f0f7ff;font-family:Nunito,Quicksand,Comic Sans MS,Segoe UI,system-ui,-apple-system,sans-serif;font-weight:600;line-height:1.4}html[data-theme=dark],body[data-theme=dark]{color:#f1f5f9;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background-color:#0b1120}*{box-sizing:border-box;margin:0;padding:0}body{color:#1e293b;background:radial-gradient(circle at 15% 15%,#e0f2fe 0%,#f5f3ff 52%,#fef9c3 100%);min-height:100vh;transition:background .25s,color .25s;overflow-x:hidden}body[data-theme=dark]{color:#f1f5f9;background:radial-gradient(circle at 15% 15%,#0f172a 0%,#1e1b4b 55%,#090d16 100%)}button{cursor:pointer;background:0 0;border:none;font-family:inherit}input{font-family:inherit}.mindgames-app{flex-direction:column;gap:1rem;max-width:1360px;margin:0 auto;padding:1rem 1.25rem 6.5rem;display:flex}.app-header{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffffeb;border-radius:22px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;padding:.85rem 1.35rem;display:flex;box-shadow:0 8px 24px -6px #0f172a14,0 0 0 2px #ffffffe6}.brand-block{align-items:center;gap:.85rem;display:flex}.brand-logo-icon{background:linear-gradient(135deg,#38bdf8,#818cf8);border-radius:16px;justify-content:center;align-items:center;width:54px;height:54px;font-size:2.3rem;display:flex;box-shadow:0 4px 12px #38bdf859}.brand-title{letter-spacing:-.02em;background:linear-gradient(90deg,#0284c7,#7c3aed,#db2777);-webkit-text-fill-color:transparent;-webkit-background-clip:text;font-size:1.55rem;font-weight:900}.brand-subtitle{color:#64748b;font-size:.85rem;font-weight:700}.header-stats-bar{flex-wrap:wrap;align-items:center;gap:.65rem;display:flex}.stat-pill{border-radius:999px;align-items:center;gap:.4rem;padding:.5rem .95rem;font-size:.92rem;font-weight:800;transition:transform .15s,box-shadow .15s;display:inline-flex}.streak-pill{color:#ea580c;background:#fff7ed;border:2px solid #fed7aa}.flame-active{color:#f97316;fill:#fb923c;animation:1.2s infinite alternate pulseFlame}@keyframes pulseFlame{0%{transform:scale(1)}to{transform:scale(1.2)}}.star-pill{color:#a16207;background:#fefce8;border:2px solid #fde047}.star-pill:hover,.trophy-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000014}.trophy-btn{color:#6d28d9;background:linear-gradient(135deg,#ede9fe,#fce7f3);border:2px solid #ddd6fe}.icon-circle-btn{color:#334155;background:#f1f5f9;border:2px solid #e2e8f0;border-radius:50%;justify-content:center;align-items:center;width:40px;height:40px;transition:all .15s;display:flex}.icon-circle-btn:hover{background:#e2e8f0}.icon-circle-btn-active{color:#fff;background:#0284c7;border-color:#0369a1;box-shadow:0 4px 10px #0284c759}.icon-circle-btn-active:hover{background:#0369a1}.icon-circle-btn-theme-dark{color:#0f172a;background:#facc15;border-color:#eab308;box-shadow:0 4px 10px #facc1559}.icon-circle-btn-theme-dark:hover{background:#fde047}.category-tabs-grid{grid-template-columns:repeat(auto-fit,minmax(195px,1fr));gap:.75rem;display:grid}.category-tab-card{text-align:left;background:#fff;border:3px solid #0000;border-radius:18px;align-items:center;gap:.85rem;padding:.8rem 1rem;transition:all .18s;display:flex;box-shadow:0 4px 14px #0f172a0f}.category-tab-card:hover{border-color:var(--cat-color);transform:translateY(-3px)}.category-tab-active{background:var(--cat-bg);border-color:var(--cat-color);transform:translateY(-2px);box-shadow:0 8px 20px -4px #0000001f}.category-big-symbol{background:var(--cat-color);color:#fff;border-radius:14px;flex-shrink:0;justify-content:center;align-items:center;min-width:48px;height:48px;padding:0 .45rem;font-size:1.35rem;font-weight:900;display:flex;box-shadow:0 4px 10px #00000026}.tables-picker-ribbon{background:#ffffffeb;border:2.5px solid #0d9488;border-radius:18px;flex-direction:column;gap:.6rem;padding:.75rem 1.1rem;display:flex;box-shadow:0 6px 18px #0d94881f}.tables-picker-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;display:flex}.tables-header-actions{flex-wrap:wrap;align-items:center;gap:.45rem;display:flex}.custom-table-box{align-items:center;gap:.25rem;display:inline-flex}.custom-table-input{border:2px solid #0d9488;border-radius:10px;outline:none;width:135px;padding:.38rem .6rem;font-size:.85rem;font-weight:800}.custom-table-go-btn{color:#fff;background:#0d9488;border-radius:10px;padding:.4rem .7rem;font-size:.84rem;font-weight:900}.custom-table-go-btn:disabled{opacity:.45;cursor:not-allowed}.table-sheet-container{justify-content:center;width:100%;margin:.25rem auto;display:flex}.table-sheet-outer{width:min(100%,820px)}.table-sheet-outer:hover{transform:none}.table-sheet-inner-frame{min-height:auto;padding:0;overflow:hidden}.table-sheet-top-bar{background:#ffffff59;border-bottom:2px solid #0088a959;justify-content:space-between;align-items:center;gap:.5rem;padding:.65rem .95rem;display:flex}.sheet-active-row-label{color:#0086ad;margin-left:.35rem;font-size:.8rem;font-weight:800}.math-worksheet-table{border-collapse:collapse;width:100%;font-family:inherit}.sheet-row{cursor:pointer;transition:background-color .2s}.sheet-row:hover{background-color:#0088a90f}.sheet-row-selected{background-color:#38bdf824}.sheet-cell{text-align:center;vertical-align:middle;color:#0086ad;letter-spacing:-.02em;border:2px solid #0088a959;padding:.55rem .75rem;font-size:2.55rem;font-weight:900;line-height:1}.math-worksheet-table tr:first-child .sheet-cell{border-top:none}.math-worksheet-table tr:last-child .sheet-cell{border-bottom:none}.math-worksheet-table .sheet-cell:first-child{border-left:none}.math-worksheet-table .sheet-cell:last-child{border-right:none}.sheet-col-num{width:16%}.sheet-col-op,.sheet-col-eq{width:13%}.sheet-col-ans{width:42%}.sheet-row-correct{background-color:#dcfce7!important}.sheet-row-correct .sheet-cell{border-color:#15803d59;color:#15803d!important}.sheet-row-wrong{background-color:#fee2e2!important}.sheet-row-wrong .sheet-cell{border-color:#b91c1c59;color:#b91c1c!important}.sheet-row-revealed{background-color:#fef9c3!important}.sheet-row-revealed .sheet-cell{border-color:#ca8a0459;color:#a16207!important}.sheet-answer-cell-inner{flex-wrap:nowrap;justify-content:center;align-items:center;gap:.5rem;display:flex}.sheet-input-wrapper{align-items:center;gap:.4rem;display:inline-flex}.sheet-answer-input{text-align:center;color:#0f172a;background:#fff;border:3px solid #0086ad;border-radius:14px;outline:none;width:110px;height:52px;font-size:2.1rem;font-weight:900;transition:border-color .15s,box-shadow .15s;box-shadow:inset 0 2px 5px #0f172a14}.sheet-answer-input:focus{border-color:#0284c7;box-shadow:0 0 0 4px #38bdf859}.sheet-input-wrong{color:#b91c1c!important;background:#fff5f5!important;border-color:#dc2626!important}.sheet-row-check-btn{border-radius:14px;width:48px;height:52px;font-size:1.45rem}.sheet-solved-value{color:#15803d;background:#bbf7d0;border:3px solid #22c55e;border-radius:14px;align-items:center;gap:.45rem;padding:.05rem 1.1rem;font-size:2.2rem;font-weight:900;line-height:1.15;display:inline-flex}.sheet-revealed-value{color:#a16207;background:#fef08a;border-color:#eab308}.sheet-check-icon{color:#15803d}.sheet-row-meta{align-items:center;gap:.35rem;margin-left:auto;display:inline-flex}.sheet-show-answer-btn{color:#fff;background:linear-gradient(135deg,#f59e0b,#d97706);border-radius:10px;align-items:center;gap:.3rem;padding:.4rem .75rem;font-size:.78rem;font-weight:900;animation:1.1s infinite alternate pulseUnlock;display:inline-flex;box-shadow:0 4px 10px #d9770659}.sheet-mini-tool{padding:.28rem .45rem}.tables-numbers-grid{grid-template-columns:repeat(auto-fill,minmax(52px,1fr));gap:.45rem;display:grid}.table-num-pill{color:#0f766e;text-align:center;background:#f0fdfa;border:2px solid #99f6e4;border-radius:11px;padding:.45rem .5rem;font-size:.9rem;font-weight:900;transition:all .15s}.table-num-pill:hover{background:#ccfbf1;transform:translateY(-2px)}.table-all-pill{padding:.4rem .9rem}.table-pill-active{box-shadow:0 4px 10px #0d948859;color:#fff!important;background:#0d9488!important;border-color:#0f766e!important}.category-tab-text{flex-direction:column;display:flex}.category-tab-name{color:#0f172a;font-size:1.05rem;font-weight:900}.category-tab-tagline{color:#475569;font-size:.78rem;font-weight:700}.controls-ribbon{background:#ffffffe0;border-radius:18px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;padding:.7rem 1.1rem;display:flex;box-shadow:0 4px 14px #0f172a0d}.control-group{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.control-label{color:#475569;text-transform:uppercase;letter-spacing:.04em;font-size:.85rem;font-weight:800}.segmented-pills{background:#f1f5f9;border-radius:12px;gap:.25rem;padding:.25rem;display:inline-flex}.seg-pill{color:#475569;border-radius:9px;align-items:center;gap:.35rem;padding:.4rem .75rem;font-size:.84rem;font-weight:800;transition:all .15s;display:inline-flex}.seg-pill:hover{color:#0f172a}.seg-pill-active{color:#0284c7;background:#fff;box-shadow:0 2px 6px #0f172a14}.deal-new-deck-btn{color:#fff;background:linear-gradient(135deg,#2563eb,#7c3aed);border-radius:12px;align-items:center;gap:.45rem;padding:.55rem 1.1rem;font-size:.9rem;font-weight:800;transition:transform .15s,box-shadow .15s;display:inline-flex;box-shadow:0 4px 12px #2563eb47}.deal-new-deck-btn:hover{transform:translateY(-2px);box-shadow:0 6px 16px #2563eb5c}.mascot-companion-bar{background:linear-gradient(90deg,#fff 0%,#f8fafc 100%);border:2px solid #e2e8f0;border-radius:18px;grid-template-columns:auto 1fr minmax(220px,280px);align-items:center;gap:1rem;padding:.75rem 1.15rem;display:grid}@media (width<=820px){.mascot-companion-bar{grid-template-columns:1fr}}.mascot-avatar-box{cursor:pointer;background:#f0f9ff;border:2px solid #bae6fd;border-radius:14px;align-items:center;gap:.55rem;padding:.35rem .85rem;transition:transform .15s;display:flex}.mascot-avatar-box:hover{transform:scale(1.03)}.mascot-emoji{font-size:1.9rem}.mascot-name-tag{color:#0369a1;font-size:.86rem;font-weight:900}.mascot-speech-bubble{color:#713f12;background:#fefce8;border:2px solid #fde047;border-radius:14px;padding:.55rem .95rem;font-size:.94rem;font-weight:800}.deck-progress-box{flex-direction:column;gap:.35rem;display:flex}.deck-progress-labels{color:#475569;justify-content:space-between;font-size:.82rem;font-weight:800;display:flex}.deck-progress-track{background:#e2e8f0;border-radius:999px;height:12px;overflow:hidden}.deck-progress-fill{background:linear-gradient(90deg,#22c55e,#10b981);border-radius:999px;height:100%;transition:width .35s}.flashcards-grid{grid-template-columns:repeat(auto-fill,minmax(290px,1fr));align-items:stretch;gap:1.35rem;display:grid}.flashcard-outer{-webkit-user-select:none;user-select:none;background:#f5f3e7;border-radius:22px;flex-direction:column;padding:12px;transition:transform .2s,box-shadow .2s,background-color .25s;display:flex;position:relative;box-shadow:0 12px 24px -6px #0f172a24,0 4px 8px #0f172a0f,inset 0 1px #ffffffe6}.flashcard-outer:hover{transform:translateY(-4px);box-shadow:0 18px 30px -8px #0f172a2e}.flashcard-selected{box-shadow:0 0 0 4px #38bdf8,0 16px 32px -8px #0284c747}.flashcard-inner-frame{border:3.5px solid #0088a9;border-radius:16px;flex-direction:column;flex:1;justify-content:space-between;min-height:360px;padding:.75rem .9rem;transition:border-color .25s,background-color .25s;display:flex;position:relative}.frame-cyan .flashcard-inner-frame{border-color:#0088a9}.frame-berry .flashcard-inner-frame{border-color:#a31d55}.card-state-correct{animation:.38s cubic-bezier(.34,1.56,.64,1) popGreen;background:#dcfce7!important;box-shadow:0 0 0 4px #22c55e,0 14px 28px -6px #16a34a4d!important}.card-state-correct .flashcard-inner-frame{background:#ffffff8c;border-color:#15803d!important}.card-state-correct .vertical-top-number,.card-state-correct .vertical-bottom-number,.card-state-correct .vertical-operator,.card-state-correct .horiz-number,.card-state-correct .horiz-operator,.card-state-correct .horiz-equals{color:#15803d!important}.card-state-correct .vertical-divider-line{background:#15803d!important}@keyframes popGreen{0%{transform:scale(.96)}60%{transform:scale(1.04)}to{transform:scale(1)}}.card-state-wrong{background:#fee2e2!important;box-shadow:0 0 0 4px #ef4444,0 14px 28px -6px #dc262647!important}.card-state-wrong .flashcard-inner-frame{background:#ffffff73;border-color:#b91c1c!important}.card-state-wrong .vertical-top-number,.card-state-wrong .vertical-bottom-number,.card-state-wrong .vertical-operator,.card-state-wrong .horiz-number,.card-state-wrong .horiz-operator,.card-state-wrong .horiz-equals{color:#b91c1c!important}.card-state-wrong .vertical-divider-line{background:#b91c1c!important}.card-state-revealed{background:#fef9c3!important;box-shadow:0 0 0 4px #eab308,0 12px 24px -6px #ca8a0440!important}.card-state-revealed .flashcard-inner-frame{border-color:#ca8a04!important}.flashcard-shake{animation:.45s ease-in-out redShake}@keyframes redShake{0%,to{transform:translate(0)}20%,60%{transform:translate(-8px)rotate(-1deg)}40%,80%{transform:translate(8px)rotate(1deg)}}.flashcard-top-bar{z-index:2;justify-content:space-between;align-items:center;gap:.4rem;display:flex}.card-mini-tools{align-items:center;gap:.3rem;display:flex}.card-tool-btn{color:#334155;white-space:nowrap;background:#fffc;border:1.5px solid #94a3b866;border-radius:8px;align-items:center;gap:.25rem;padding:.28rem .5rem;font-size:.74rem;font-weight:800;transition:all .15s;display:inline-flex}.card-tool-btn:hover{color:#0284c7;background:#fff;border-color:#0284c7;transform:translateY(-1px)}.attempt-dots-pill{background:#ffffffd1;border:1.5px solid #94a3b859;border-radius:999px;align-items:center;gap:5px;padding:.28rem .55rem;display:inline-flex}.attempt-dot{background:#cbd5e1;border-radius:50%;width:10px;height:10px;transition:all .2s}.attempt-dot-failed{background:#ef4444;transform:scale(1.15);box-shadow:0 0 6px #ef4444b3}.attempt-dot-solved{background:#22c55e}.vertical-math-body{flex-direction:column;justify-content:center;align-items:center;width:100%;max-width:210px;margin:.35rem auto;display:flex}.vertical-top-number{text-align:right;color:#0086ad;letter-spacing:-.02em;width:100%;padding-right:.8rem;font-size:4.1rem;font-weight:900;line-height:1.05}.vertical-bottom-row{justify-content:space-between;align-items:baseline;width:100%;padding:0 .8rem .25rem .45rem;display:flex}.vertical-operator{color:#0086ad;font-size:3.1rem;font-weight:900;line-height:1}.vertical-bottom-number{color:#0086ad;letter-spacing:-.02em;font-size:4.1rem;font-weight:900;line-height:1.05}.vertical-divider-line{background:#0086ad;border-radius:99px;width:92%;height:5px;margin:.2rem 0 .65rem}.vertical-answer-zone{justify-content:center;align-items:center;width:100%;min-height:64px;display:flex}.answer-input-row{justify-content:center;align-items:center;gap:.45rem;display:flex}.flashcard-input{text-align:center;color:#0f172a;background:#fff;border:3px solid #0086ad;border-radius:14px;outline:none;width:118px;height:58px;font-size:2.3rem;font-weight:900;transition:border-color .15s,box-shadow .15s;box-shadow:inset 0 2px 5px #0f172a14}.flashcard-input:focus{border-color:#0284c7;box-shadow:0 0 0 4px #38bdf859}.input-wrong{color:#b91c1c!important;background:#fff5f5!important;border-color:#dc2626!important}.check-answer-btn{color:#fff;background:linear-gradient(135deg,#0284c7,#0369a1);border-radius:14px;justify-content:center;align-items:center;width:54px;height:58px;font-size:1.65rem;font-weight:900;transition:transform .15s,opacity .15s;display:flex;box-shadow:0 4px 10px #0284c74d}.check-answer-btn:hover:not(:disabled){transform:scale(1.05)}.check-answer-btn:disabled{opacity:.45;cursor:not-allowed}.solved-number-badge{color:#15803d;background:#bbf7d0;border:3px solid #22c55e;border-radius:16px;padding:.1rem 1.4rem;font-size:3.3rem;font-weight:900;line-height:1.15}.revealed-number-badge{color:#a16207;background:#fef08a;border-color:#eab308}.horizontal-corner-preview{color:#991b1b;cursor:pointer;background:#fff9;border-radius:8px;align-self:flex-start;align-items:center;gap:.35rem;margin-top:.35rem;padding:.2rem .45rem;font-size:.85rem;font-weight:900;display:inline-flex}.frame-cyan .horizontal-corner-preview{color:#0076a8}.horizontal-corner-box{border:2px solid;border-radius:4px;padding:.05rem .35rem;font-weight:900}.horizontal-math-body{flex:1;justify-content:center;align-items:center;padding:1rem .25rem;display:flex}.horizontal-equation-row{flex-wrap:wrap;justify-content:center;align-items:center;gap:.45rem;display:flex}.horiz-number,.horiz-operator,.horiz-equals{color:#8f1d1d;font-size:3.2rem;font-weight:900;line-height:1.1}.frame-cyan .horiz-number,.frame-cyan .horiz-operator,.frame-cyan .horiz-equals{color:#0076a8}.horiz-input-group{align-items:center;gap:.35rem;display:inline-flex}.horiz-answer-box{text-align:center;color:#0f172a;background:#fff;border:4px solid #8f1d1d;border-radius:10px;outline:none;justify-content:center;align-items:center;width:86px;height:64px;font-size:2.35rem;font-weight:900;display:flex}.frame-cyan .horiz-answer-box{border-color:#0076a8}.horiz-box-solved{color:#15803d;background:#bbf7d0;border-color:#15803d!important}.horiz-box-revealed{color:#a16207;background:#fef08a;border-color:#ca8a04!important}.horiz-check-btn{border-radius:10px;width:46px;height:64px}.flashcard-feedback-zone{flex-direction:column;justify-content:center;align-items:center;min-height:52px;margin:.25rem 0;display:flex}.feedback-pill{text-align:center;border-radius:999px;align-items:center;gap:.35rem;padding:.35rem .75rem;font-size:.82rem;font-weight:800;display:inline-flex}.feedback-success{color:#fff;background:#16a34a}.feedback-error{color:#fff;background:#dc2626}.wrong-feedback-stack{flex-direction:column;align-items:center;gap:.35rem;width:100%;display:flex}.wrong-tries-list{color:#991b1b;flex-wrap:wrap;align-items:center;gap:.25rem;font-size:.75rem;font-weight:800;display:flex}.wrong-try-chip{background:#dc262624;border:1px solid #dc262666;border-radius:6px;padding:.05rem .4rem;text-decoration:line-through}.show-answer-unlock-btn{color:#fff;background:linear-gradient(135deg,#f59e0b,#d97706);border-radius:12px;align-items:center;gap:.4rem;margin-top:.2rem;padding:.5rem .95rem;font-size:.85rem;font-weight:900;animation:1.1s infinite alternate pulseUnlock;display:inline-flex;box-shadow:0 4px 12px #d9770666}@keyframes pulseUnlock{0%{transform:scale(1)}to{transform:scale(1.05)}}.revealed-explanation-box{color:#713f12;background:#ffffffe6;border:2px solid #eab308;border-radius:12px;width:100%;padding:.45rem .65rem;font-size:.8rem}.revealed-header{justify-content:space-between;align-items:center;gap:.4rem;display:flex}.why-toggle-btn{color:#854d0e;background:#fef08a;border:1px solid #facc15;border-radius:6px;padding:.15rem .5rem;font-size:.74rem;font-weight:800}.revealed-steps-list{text-align:left;margin-top:.35rem;padding-left:1.1rem;font-size:.76rem;line-height:1.35}.flashcard-bottom-bar{justify-content:space-between;align-items:flex-end;gap:.5rem;margin-top:.25rem;display:flex}.card-category-tag{color:#64748b;font-size:.75rem;font-weight:800}.post-solve-actions{flex-wrap:wrap;align-items:center;gap:.35rem;display:flex}.next-card-mini-btn,.flip-bonus-mini-btn{border-radius:9px;align-items:center;gap:.25rem;padding:.35rem .65rem;font-size:.76rem;font-weight:800;display:inline-flex}.next-card-mini-btn{color:#fff;background:#0284c7}.flip-bonus-mini-btn{color:#fff;background:#7c3aed}.vertical-corner-inset{color:#0086ad;cursor:pointer;background:#f5f3e7f2;border:2.5px solid #0088a9;border-radius:11px;flex-direction:column;align-items:flex-end;min-width:52px;padding:.2rem .45rem;font-size:.78rem;font-weight:900;line-height:1.05;transition:transform .15s;display:flex}.frame-berry .vertical-corner-inset{border-color:#a31d55}.vertical-corner-inset:hover{transform:scale(1.08)}.corner-mid{justify-content:space-between;gap:.25rem;width:100%;display:flex}.corner-line{background:#0086ad;width:100%;height:2px;margin:2px 0}.focus-zen-mode{justify-content:center;min-height:100vh;padding-top:1.5rem;padding-bottom:2rem}.focus-mode-stage{justify-content:center;align-items:center;gap:1.5rem;max-width:720px;margin:1rem auto;display:flex}.focus-card-wrapper{flex-direction:column;gap:.75rem;width:100%;max-width:390px;display:flex}.focus-top-controls,.grid-top-controls{justify-content:space-between;align-items:center;gap:.65rem;display:flex}.grid-top-controls{margin-bottom:.9rem}.focus-counter-pill{color:#0284c7;background:#fff;border-radius:999px;padding:.35rem .95rem;font-size:.88rem;font-weight:800;box-shadow:0 2px 8px #00000012}.unhide-menu-btn{color:#334155;background:#fff;border:2px solid #cbd5e1;border-radius:999px;align-items:center;gap:.35rem;padding:.35rem .9rem;font-size:.85rem;font-weight:800;transition:all .15s;display:inline-flex;box-shadow:0 2px 8px #00000012}.unhide-menu-btn:hover{color:#0284c7;border-color:#0284c7;transform:translateY(-1px)}.focus-nav-btn{color:#0284c7;background:#fff;border-radius:20px;flex-direction:column;justify-content:center;align-items:center;width:74px;height:74px;font-size:.82rem;font-weight:800;transition:transform .15s;display:flex;box-shadow:0 6px 16px #0f172a17}.focus-nav-btn:hover:not(:disabled){transform:scale(1.06)}.focus-nav-btn:disabled{opacity:.35;cursor:not-allowed}.board-complete-banner{color:#fff;background:linear-gradient(135deg,#16a34a,#059669);border-radius:22px;margin-top:1.25rem;padding:1.25rem 1.75rem;box-shadow:0 12px 28px #16a34a4d}.board-complete-content{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;display:flex}.play-again-giant-btn{color:#15803d;background:#fff;border-radius:14px;align-items:center;gap:.5rem;padding:.75rem 1.4rem;font-size:1.05rem;font-weight:900;display:inline-flex;box-shadow:0 4px 14px #00000026}.working-calc-floating{color:#f8fafc;z-index:80;background:#1e293b;border-radius:24px;flex-direction:column;gap:.75rem;width:310px;padding:1rem;animation:.22s ease-out popGreen;display:flex;position:fixed;top:86px;right:22px;box-shadow:0 20px 42px #0f172a61,0 0 0 3px #38bdf8}.calc-title-bar{justify-content:space-between;align-items:center;display:flex}.calc-title-left{color:#38bdf8;align-items:center;gap:.45rem;font-size:.92rem;font-weight:900;display:flex}.calc-close-btn{color:#e2e8f0;background:#334155;border-radius:50%;justify-content:center;align-items:center;width:30px;height:30px;display:flex}.calc-close-btn:hover{background:#475569}.calc-lcd-screen{text-align:right;background:#0f172a;border:2px solid #334155;border-radius:14px;flex-direction:column;gap:.15rem;padding:.6rem .85rem;display:flex}.calc-lcd-history{color:#94a3b8;min-height:1.15rem;font-size:.82rem;font-weight:700}.calc-lcd-main{color:#4ade80;letter-spacing:.02em;text-overflow:ellipsis;font-size:2.05rem;font-weight:900;overflow:hidden}.calc-helper-strip{align-items:center;gap:.4rem;display:flex}.calc-quick-solve-btn,.calc-use-answer-btn{border-radius:10px;flex:1;justify-content:center;align-items:center;gap:.3rem;padding:.42rem .55rem;font-size:.78rem;font-weight:800;display:inline-flex}.calc-quick-solve-btn{color:#38bdf8;background:#334155;border:1.5px solid #475569}.calc-quick-solve-btn:hover{background:#475569}.calc-use-answer-btn{color:#fff;background:#16a34a}.calc-use-answer-btn:hover{background:#15803d}.calc-keypad-grid{grid-template-columns:repeat(4,1fr);gap:.45rem;display:grid}.calc-btn{border-radius:12px;justify-content:center;align-items:center;height:48px;font-size:1.25rem;font-weight:900;transition:transform .1s,background .15s;display:flex}.calc-btn:active{transform:scale(.95)}.calc-btn-num{color:#f8fafc;background:#334155}.calc-btn-num:hover{background:#475569}.calc-btn-zero{grid-column:span 2}.calc-btn-clear{color:#fff;background:#dc2626}.calc-btn-util{color:#f8fafc;background:#475569}.calc-btn-op{color:#fff;background:#0284c7;font-size:1.4rem}.calc-op-active{color:#0f172a;background:#38bdf8}.calc-btn-equals{color:#fff;background:linear-gradient(135deg,#22c55e,#16a34a);grid-row:span 2;height:100%;font-size:1.5rem}.kid-numpad-dock{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);z-index:50;background:#fffffff5;border:2px solid #cbd5e1;border-bottom:none;border-radius:22px 22px 0 0;width:min(100%,880px);position:fixed;bottom:0;left:50%;transform:translate(-50%);box-shadow:0 -8px 28px #0f172a26}.numpad-header-bar{cursor:pointer;justify-content:space-between;align-items:center;padding:.6rem 1.2rem;display:flex}.numpad-active-preview{color:#334155;align-items:center;gap:.5rem;font-size:.9rem;font-weight:800;display:flex}.numpad-equation-pill{color:#0369a1;background:#e0f2fe;border-radius:8px;padding:.2rem .65rem}.numpad-toggle-btn{color:#0284c7;background:#f0f9ff;border-radius:10px;align-items:center;gap:.35rem;padding:.35rem .75rem;font-size:.85rem;font-weight:800;display:inline-flex}.numpad-body{border-top:1px solid #e2e8f0;padding:.6rem 1.2rem 1rem}.numpad-digits-row{flex-wrap:wrap;justify-content:center;align-items:center;gap:.5rem;display:flex}.numpad-digit-btn{color:#0f172a;background:#f8fafc;border:2px solid #cbd5e1;border-radius:14px;width:52px;height:52px;font-size:1.4rem;font-weight:900;transition:transform .1s,background .1s;box-shadow:0 3px #cbd5e1}.numpad-digit-btn:active:not(:disabled){background:#e0f2fe;transform:translateY(2px)}.numpad-action-btn{color:#b91c1c;background:#fee2e2;border:2px solid #fecaca;border-radius:14px;height:52px;padding:0 .9rem;font-size:1rem;font-weight:900}.numpad-submit-btn{color:#fff;background:linear-gradient(135deg,#16a34a,#15803d);border-radius:14px;align-items:center;gap:.35rem;height:52px;padding:0 1.2rem;font-size:1rem;font-weight:900;display:inline-flex}.numpad-reveal-btn{color:#fff;background:linear-gradient(135deg,#f59e0b,#d97706);border-radius:14px;align-items:center;gap:.35rem;height:52px;padding:0 1rem;font-size:.92rem;font-weight:900;display:inline-flex}.modal-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:100;background:#0f172a8c;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.visual-modal-card,.rewards-modal-card{background:#fff;border-radius:24px;flex-direction:column;gap:1rem;width:min(100%,740px);max-height:90vh;padding:1.35rem 1.5rem;display:flex;overflow-y:auto;box-shadow:0 24px 48px #0f172a40}.visual-modal-header{border-bottom:2px solid #f1f5f9;justify-content:space-between;align-items:center;gap:.75rem;padding-bottom:.75rem;display:flex}.visual-modal-title{color:#0f172a;align-items:center;gap:.5rem;font-size:1.2rem;font-weight:900;display:flex}.sparkle-icon{color:#f59e0b}.trophy-gold-icon{color:#eab308}.visual-modal-actions{align-items:center;gap:.5rem;display:flex}.speak-modal-btn{color:#0284c7;background:#e0f2fe;border-radius:10px;align-items:center;gap:.35rem;padding:.4rem .8rem;font-size:.85rem;font-weight:800;display:inline-flex}.close-modal-btn{color:#475569;background:#f1f5f9;border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.visual-tap-instruction{color:#475569;background:#f8fafc;border-radius:12px;padding:.55rem .9rem;font-size:.92rem}.counted-badge{color:#0284c7;margin-left:.5rem}.visual-stage{background:#f8fafc;border:2px dashed #cbd5e1;border-radius:18px;padding:1rem}.visual-addition-groups{flex-wrap:wrap;justify-content:center;align-items:center;gap:1rem;display:flex}.visual-group-box{background:#fff;border:2px solid #e2e8f0;border-radius:16px;flex:1;min-width:210px;padding:.75rem}.visual-group-label{color:#475569;margin-bottom:.5rem;font-size:.85rem;font-weight:800}.visual-plus-sign{color:#0284c7;font-size:2rem;font-weight:900}.emoji-grid{flex-wrap:wrap;gap:.45rem;display:flex}.emoji-counter-btn{background:#f1f5f9;border:2px solid #cbd5e1;border-radius:12px;justify-content:center;align-items:center;width:46px;height:46px;font-size:1.45rem;transition:transform .15s,background .15s;display:flex;position:relative}.emoji-counter-btn:hover{transform:scale(1.08)}.emoji-counted{background:#dcfce7;border-color:#22c55e;transform:scale(1.06)}.emoji-num{color:#fff;background:#16a34a;border-radius:50%;justify-content:center;align-items:center;width:19px;height:19px;font-size:.68rem;font-weight:900;display:flex;position:absolute;bottom:-5px;right:-5px}.emoji-crossed-out{opacity:.45;background:#fee2e2}.crossed-slash{font-size:.9rem;position:absolute}.visual-rows-grid{flex-direction:column;gap:.5rem;margin-top:.5rem;display:flex}.visual-mult-row{background:#fff;border:2px solid #e2e8f0;border-radius:12px;align-items:center;gap:.75rem;padding:.45rem .75rem;display:flex}.highlight-first-box{background:#f0f9ff;border-color:#38bdf8}.row-badge{color:#0369a1;min-width:75px;font-size:.78rem;font-weight:800}.row-emojis{flex-wrap:wrap;gap:.35rem;display:flex}.visual-tips-box{color:#713f12;background:#fefce8;border:2px solid #fde047;border-radius:14px;padding:.75rem 1rem;font-size:.88rem}.visual-tips-box ul{margin-top:.3rem;padding-left:1.2rem}.got-it-btn{color:#fff;background:linear-gradient(135deg,#0284c7,#2563eb);border-radius:14px;width:100%;padding:.75rem;font-size:1rem;font-weight:900}.rewards-star-balance{color:#a16207;background:#fefce8;border:2px solid #fde047;border-radius:999px;align-items:center;gap:.35rem;padding:.35rem .8rem;font-weight:900;display:inline-flex}.rewards-section h4{margin-bottom:.25rem;font-size:1.02rem;font-weight:900}.rewards-subtext{color:#64748b;margin-bottom:.75rem;font-size:.82rem}.buddies-grid{grid-template-columns:repeat(auto-fill,minmax(195px,1fr));gap:.75rem;display:grid}.buddy-shop-card{text-align:center;background:#f8fafc;border:2px solid #e2e8f0;border-radius:16px;flex-direction:column;align-items:center;gap:.35rem;padding:.8rem;display:flex}.buddy-selected{background:#f0f9ff;border-color:#0284c7}.buddy-big-emoji{font-size:2.4rem}.buddy-name{font-size:.95rem;font-weight:900}.buddy-cheer-preview{color:#64748b;min-height:32px;font-size:.75rem}.buddy-select-btn,.buddy-unlock-btn{border-radius:10px;justify-content:center;align-items:center;gap:.3rem;width:100%;padding:.45rem .65rem;font-size:.8rem;font-weight:800;display:inline-flex}.buddy-select-btn{color:#1e293b;background:#e2e8f0}.btn-active-buddy{color:#fff;background:#0284c7}.buddy-unlock-btn{color:#854d0e;background:#fef08a;border:1.5px solid #facc15}.buddy-unlock-btn:disabled{opacity:.5;cursor:not-allowed}.achievements-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:.65rem;margin-top:.5rem;display:grid}.achievement-card{border:2px solid #e2e8f0;border-radius:14px;align-items:center;gap:.65rem;padding:.65rem;display:flex}.achievement-earned{background:#fefce8;border-color:#fde047}.achievement-locked{opacity:.65;background:#f8fafc}.ach-emoji{font-size:1.75rem}.ach-title{font-size:.85rem;font-weight:900}.ach-desc{color:#64748b;font-size:.73rem}.rewards-stats-summary{background:#f8fafc;border-radius:14px;grid-template-columns:repeat(auto-fit,minmax(95px,1fr));gap:.5rem;padding:.75rem;display:grid}.stat-box{flex-direction:column;align-items:center;display:flex}.stat-val{color:#0284c7;font-size:1.15rem;font-weight:900}.stat-lbl{color:#64748b;font-size:.72rem}html[data-theme=dark] .app-header,html[data-theme=dark] .controls-ribbon{background:#1e293beb;box-shadow:0 8px 24px -6px #00000073,0 0 0 1.5px #334155}html[data-theme=dark] .brand-subtitle,html[data-theme=dark] .control-label,html[data-theme=dark] .deck-progress-labels{color:#94a3b8}html[data-theme=dark] .icon-circle-btn{color:#e2e8f0;background:#334155;border-color:#475569}html[data-theme=dark] .icon-circle-btn:hover{background:#475569}html[data-theme=dark] .icon-circle-btn-active{color:#fff;background:#0284c7;border-color:#38bdf8}html[data-theme=dark] .icon-circle-btn-theme-dark{color:#0f172a;background:#facc15;border-color:#eab308}html[data-theme=dark] .streak-pill{color:#fdba74;background:#ea580c2e;border-color:#c2410c}html[data-theme=dark] .star-pill{color:#fde047;background:#eab3082e;border-color:#a16207}html[data-theme=dark] .trophy-btn{color:#ddd6fe;background:#7c3aed40;border-color:#6d28d9}html[data-theme=dark] .category-tab-card{background:#1e293b;border-color:#334155;box-shadow:0 4px 14px #00000059}html[data-theme=dark] .category-tab-active{border-color:var(--cat-color);box-shadow:0 0 0 2px var(--cat-color), 0 8px 20px #00000073;background:#0f172a}html[data-theme=dark] .category-tab-name{color:#f8fafc}html[data-theme=dark] .category-tab-tagline{color:#94a3b8}html[data-theme=dark] .segmented-pills{background:#0f172a}html[data-theme=dark] .seg-pill{color:#94a3b8}html[data-theme=dark] .seg-pill:hover{color:#f8fafc}html[data-theme=dark] .seg-pill-active{color:#38bdf8;background:#1e293b}html[data-theme=dark] .mascot-companion-bar{background:linear-gradient(90deg,#1e293b 0%,#0f172a 100%);border-color:#334155}html[data-theme=dark] .mascot-avatar-box{background:#0f172a;border-color:#0284c7}html[data-theme=dark] .mascot-name-tag{color:#38bdf8}html[data-theme=dark] .mascot-speech-bubble{color:#fef08a;background:#eab30824;border-color:#ca8a04}html[data-theme=dark] .deck-progress-track{background:#334155}html[data-theme=dark] .focus-counter-pill{color:#38bdf8;background:#1e293b;border:1.5px solid #334155}html[data-theme=dark] .unhide-menu-btn,html[data-theme=dark] .focus-nav-btn{color:#e2e8f0;background:#1e293b;border-color:#475569}html[data-theme=dark] .unhide-menu-btn:hover{color:#38bdf8;border-color:#38bdf8}html[data-theme=dark] .flashcard-outer{background:#1e293b;box-shadow:0 14px 28px -6px #0000008c,inset 0 1px #ffffff14}html[data-theme=dark] .frame-cyan .flashcard-inner-frame{border-color:#22d3ee}html[data-theme=dark] .frame-berry .flashcard-inner-frame{border-color:#f43f5e}html[data-theme=dark] .vertical-top-number,html[data-theme=dark] .vertical-bottom-number,html[data-theme=dark] .vertical-operator{color:#38bdf8}html[data-theme=dark] .vertical-divider-line{background:#38bdf8}html[data-theme=dark] .horiz-number,html[data-theme=dark] .horiz-operator,html[data-theme=dark] .horiz-equals{color:#fb7185}html[data-theme=dark] .frame-cyan .horiz-number,html[data-theme=dark] .frame-cyan .horiz-operator,html[data-theme=dark] .frame-cyan .horiz-equals{color:#38bdf8}html[data-theme=dark] .flashcard-input,html[data-theme=dark] .horiz-answer-box{color:#f8fafc;background:#0f172a;border-color:#38bdf8}html[data-theme=dark] .card-tool-btn,html[data-theme=dark] .attempt-dots-pill{color:#e2e8f0;background:#0f172ad9;border-color:#475569}html[data-theme=dark] .attempt-dot{background:#475569}html[data-theme=dark] .card-category-tag{color:#94a3b8}html[data-theme=dark] .card-state-correct{background:#064e3b!important;box-shadow:0 0 0 4px #22c55e,0 14px 28px #00000080!important}html[data-theme=dark] .card-state-correct .flashcard-inner-frame{background:#064e3b8c;border-color:#4ade80!important}html[data-theme=dark] .card-state-correct .vertical-top-number,html[data-theme=dark] .card-state-correct .vertical-bottom-number,html[data-theme=dark] .card-state-correct .vertical-operator,html[data-theme=dark] .card-state-correct .horiz-number,html[data-theme=dark] .card-state-correct .horiz-operator,html[data-theme=dark] .card-state-correct .horiz-equals{color:#86efac!important}html[data-theme=dark] .card-state-correct .vertical-divider-line{background:#4ade80!important}html[data-theme=dark] .card-state-wrong{background:#450a0a!important;box-shadow:0 0 0 4px #ef4444,0 14px 28px #00000080!important}html[data-theme=dark] .card-state-wrong .flashcard-inner-frame{background:#450a0a8c;border-color:#f87171!important}html[data-theme=dark] .card-state-wrong .vertical-top-number,html[data-theme=dark] .card-state-wrong .vertical-bottom-number,html[data-theme=dark] .card-state-wrong .vertical-operator,html[data-theme=dark] .card-state-wrong .horiz-number,html[data-theme=dark] .card-state-wrong .horiz-operator,html[data-theme=dark] .card-state-wrong .horiz-equals{color:#fca5a5!important}html[data-theme=dark] .card-state-wrong .vertical-divider-line{background:#f87171!important}html[data-theme=dark] .wrong-tries-list{color:#fecaca}html[data-theme=dark] .card-state-revealed{background:#422006!important}html[data-theme=dark] .card-state-revealed .flashcard-inner-frame{border-color:#facc15!important}html[data-theme=dark] .revealed-explanation-box{color:#fef08a;background:#0f172a;border-color:#eab308}html[data-theme=dark] .kid-numpad-dock{background:#0f172af5;border-color:#334155}html[data-theme=dark] .numpad-active-preview{color:#e2e8f0}html[data-theme=dark] .numpad-body{border-top-color:#334155}html[data-theme=dark] .numpad-digit-btn{color:#f8fafc;background:#1e293b;border-color:#475569;box-shadow:0 3px #334155}html[data-theme=dark] .visual-modal-card,html[data-theme=dark] .rewards-modal-card{color:#f8fafc;background:#1e293b}html[data-theme=dark] .visual-modal-header{border-bottom-color:#334155}html[data-theme=dark] .visual-modal-title{color:#f8fafc}html[data-theme=dark] .visual-tap-instruction,html[data-theme=dark] .visual-stage,html[data-theme=dark] .buddy-shop-card,html[data-theme=dark] .rewards-stats-summary,html[data-theme=dark] .achievement-locked{color:#cbd5e1;background:#0f172a;border-color:#334155}html[data-theme=dark] .visual-group-box,html[data-theme=dark] .visual-mult-row{background:#1e293b;border-color:#334155}html[data-theme=dark] .emoji-counter-btn{background:#0f172a;border-color:#475569}html[data-theme=dark] .achievement-earned{background:#eab30829;border-color:#eab308}html[data-theme=dark] .tables-picker-ribbon{background:#1e293bf2;border-color:#14b8a6}html[data-theme=dark] .table-num-pill{color:#5eead4;background:#0f172a;border-color:#115e59}html[data-theme=dark] .table-num-pill:hover{background:#134e4a}html[data-theme=dark] .custom-table-input{color:#f8fafc;background:#0f172a;border-color:#14b8a6}html[data-theme=dark] .sheet-cell{color:#38bdf8;border-color:#38bdf847}html[data-theme=dark] .table-sheet-top-bar{background:#0f172a73;border-bottom-color:#38bdf847}html[data-theme=dark] .sheet-active-row-label{color:#38bdf8}html[data-theme=dark] .sheet-row:hover{background-color:#38bdf814}html[data-theme=dark] .sheet-row-selected{background-color:#38bdf829}html[data-theme=dark] .sheet-answer-input{color:#f8fafc;background:#0f172a;border-color:#38bdf8}html[data-theme=dark] .sheet-row-correct{background-color:#064e3b!important}html[data-theme=dark] .sheet-row-correct .sheet-cell,html[data-theme=dark] .sheet-solved-value{color:#86efac;border-color:#22c55e}html[data-theme=dark] .sheet-row-wrong{background-color:#450a0a!important}html[data-theme=dark] .sheet-row-wrong .sheet-cell{color:#fca5a5;border-color:#ef4444}html[data-theme=dark] .sheet-row-revealed{background-color:#422006!important}html[data-theme=dark] .sheet-row-revealed .sheet-cell{color:#fde047;border-color:#eab308}
