:root{--ink:#2b2d42;--muted:#5c6070;--bg:#fff9ec;--brand:#7b2ff7;color:var(--ink);background:var(--bg);font-family:Segoe UI,system-ui,-apple-system,sans-serif}*{box-sizing:border-box}body{background-color:var(--bg);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='160' viewBox='0 0 180 160'%3E%3Cpath d='M28 15l3.5 8.5L40 27l-8.5 3.5L28 39l-3.5-8.5L16 27l8.5-3.5z' fill='%23f2c879' fill-opacity='.38'/%3E%3Ccircle cx='111' cy='28' r='3' fill='%239b83d5' fill-opacity='.32'/%3E%3Cpath d='M145 70l2.5 6 6 2.5-6 2.5-2.5 6-2.5-6-6-2.5 6-2.5z' fill='%23ed9c91' fill-opacity='.32'/%3E%3Ccircle cx='56' cy='112' r='4' fill='%2379b99a' fill-opacity='.28'/%3E%3Cpath d='M116 126l2.5 6 6 2.5-6 2.5-2.5 6-2.5-6-6-2.5 6-2.5z' fill='%23f2c879' fill-opacity='.34'/%3E%3Ccircle cx='24' cy='77' r='2.5' fill='%239b83d5' fill-opacity='.28'/%3E%3C/svg%3E");background-attachment:fixed;flex-direction:column;min-height:100vh;margin:0;display:flex}#root{flex-direction:column;min-height:100vh;display:flex}main{flex:1}a{color:var(--brand)}:where(a:not(.tile):not(.card):not(.brand):not(.btn):not(.back-link)){color:#6330c4;text-underline-offset:3px;background-color:#f5edff;border-radius:.35em;padding:.08em .28em;font-weight:700;text-decoration-color:#ffb703;text-decoration-thickness:2px;transition:background-color .15s,color .15s}:where(a:not(.tile):not(.card):not(.brand):not(.btn):not(.back-link)):hover{color:#4b20a8;background-color:#fff1bd}.site-header{background:#fff;border-bottom:3px solid #ffd60a;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;padding:.75rem 1.25rem;display:flex}.brand{color:var(--brand);flex-direction:column;font-size:1.4rem;font-weight:800;line-height:1.1;text-decoration:none;display:flex}.tagline{color:var(--muted);font-size:.75rem;font-weight:600}.site-header nav{flex-wrap:wrap;gap:1rem;display:flex}.site-header nav a{min-height:40px;color:var(--ink);background:linear-gradient(135deg,#fff,#f8f0ff);border:2px solid #f3e7ff;border-radius:999px;align-items:center;padding:.45rem .75rem;font-weight:600;text-decoration:none;transition:transform .15s,background .15s,box-shadow .15s;display:inline-flex}.site-header nav a:hover,.site-header nav a:focus-visible{color:#4b20a8;background:#f0e2ff;transform:translateY(-2px);box-shadow:0 3px #e4d7ff}.site-footer{text-align:center;color:var(--muted);padding:1rem;font-size:.85rem}.page{max-width:960px;margin:0 auto;padding:1.5rem 1rem 2rem}.page.narrow{max-width:640px}.page.early-learning-letters-page{max-width:1200px}.feedback-form{background:#fff;border:2px solid #e8ddff;border-radius:20px;gap:.65rem;margin:1.5rem 0;padding:1.25rem;display:grid;box-shadow:0 4px #e8ddff}.feedback-form h2,.feedback-form p{margin-top:0}.feedback-form label{margin-top:.35rem;font-weight:700}.feedback-form input,.feedback-form select,.feedback-form textarea{width:100%;min-height:44px;color:var(--ink);font:inherit;background:#fff;border:2px solid #b8b2c8;border-radius:10px;padding:.65rem .75rem}.feedback-form textarea{resize:vertical;min-height:140px}.feedback-form input:focus-visible,.feedback-form select:focus-visible,.feedback-form textarea:focus-visible{outline-offset:2px;outline:3px solid #8b5cf6}.feedback-safety{color:#59451a;background:#fff4cf;border-radius:12px;padding:.75rem;font-size:.95rem}.feedback-status{min-height:1.5em;margin-bottom:0;font-weight:700}.center{text-align:center}.muted{color:var(--muted)}.hero-title{text-align:center;margin:.5rem 0 1rem;font-size:clamp(1.6rem,4vw,2.4rem)}.btn{background:var(--brand);color:#fff;border-radius:999px;padding:.6rem 1.2rem;font-weight:700;text-decoration:none;display:inline-block}.btn.big{padding:.9rem 1.8rem;font-size:1.15rem}.back-link{color:#6330c4;background:linear-gradient(135deg,#fff,#f3eaff);border:2px solid #e8ddff;border-radius:999px;align-items:center;gap:.45rem;min-height:42px;padding:.55rem 1rem .55rem .8rem;font-weight:750;text-decoration:none;transition:transform .15s,box-shadow .15s,background .15s;display:inline-flex;box-shadow:0 3px #e4d7ff}.back-link:hover{background:linear-gradient(135deg,#fff,#e9dcff);transform:translateY(-2px);box-shadow:0 5px #e4d7ff}.back-link:active{transform:translateY(1px);box-shadow:0 1px #e4d7ff}.back-link:focus-visible{outline-offset:3px;outline:3px solid #1d6fd8}.tile-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin:1.5rem 0;display:grid}.tile-grid.three{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.tile{min-height:140px;color:var(--ink);border-radius:20px;flex-direction:column;gap:.35rem;padding:1.25rem;text-decoration:none;transition:transform .15s;display:flex}.tile:hover,.tile:focus-visible{transform:translateY(-3px)}.tile strong{font-size:1.25rem}.tile .ages{font-weight:700}.card{color:var(--ink);background:#fff;border:2px solid #eee;border-radius:20px;flex-direction:column;gap:.25rem;padding:.75rem;text-decoration:none;display:flex}.card:hover,.card:focus-visible{border-color:var(--brand)}.chips{flex-wrap:wrap;justify-content:center;gap:.5rem;display:flex}.chip,.tool{border:2px solid var(--ink);color:var(--ink);font:inherit;cursor:pointer;background:#fff;border-radius:999px;padding:.5rem 1rem;font-weight:600}.chip.selected,.tool.selected{background:var(--ink);color:#fff}.tool:disabled{opacity:.4;cursor:not-allowed}:focus-visible{outline-offset:2px;outline:3px solid #1d6fd8}.coloring-canvas{background:#fff;border:2px solid #eee;border-radius:16px;width:100%;height:auto;display:block}.coloring-canvas .region,.coloring-canvas .region-static{stroke:var(--ink);stroke-width:4px;stroke-linejoin:round}.coloring-canvas .region{cursor:pointer}.coloring-canvas .region:hover{opacity:.85}.coloring-canvas .region:focus-visible{stroke:#1d6fd8;stroke-width:6px;outline:none}.detail-dark{fill:var(--ink);stroke:none}.detail-line{fill:none;stroke:var(--ink);stroke-width:4px;stroke-linecap:round}.canvas-wrap{position:relative}.celebrate{text-align:center;color:#2d6a4f;margin:.75rem 0 0;font-size:1.3rem;font-weight:800}.toolbar{flex-direction:column;align-items:center;gap:.75rem;margin-top:1rem;display:flex}.palette{flex-wrap:wrap;justify-content:center;gap:.5rem;display:flex}.swatch{cursor:pointer;border:3px solid #fff;border-radius:50%;width:44px;height:44px;box-shadow:0 0 0 2px #bbb}.swatch.selected{box-shadow:0 0 0 4px var(--ink)}.tool-buttons{flex-wrap:wrap;justify-content:center;gap:.5rem;display:flex}.memory-grid{gap:.6rem;margin:1rem 0;display:grid}.memory-card{aspect-ratio:1;border:3px solid var(--ink);background:var(--brand);color:#fff;cursor:pointer;border-radius:16px;font-size:clamp(2rem,9vw,3.5rem);font-weight:800}.memory-card.up{color:var(--ink);background:#fff}.memory-card.matched{background:#d8f3dc;border-color:#2d6a4f}.math-prompt{text-align:center;margin:.5rem 0 1rem;font-size:clamp(1.7rem,7vw,2.8rem);font-weight:800}.math-options{grid-template-columns:repeat(2,1fr);gap:.75rem;margin-bottom:1rem;display:grid}.math-option{font:inherit;border:3px solid var(--ink);color:var(--ink);cursor:pointer;background:#fff;border-radius:16px;padding:1rem;font-size:1.8rem;font-weight:800}.math-option:disabled{cursor:default}.math-option.correct{background:#d8f3dc;border-color:#2d6a4f}.math-option.wrong{background:#ffe0e0;border-color:#e63946}.btn:disabled{opacity:.4;cursor:not-allowed}button.btn{font:inherit;cursor:pointer;border:none;font-weight:700}.drawing-canvas{aspect-ratio:4/3;touch-action:none;cursor:crosshair;background:#fff;border:2px solid #eee;border-radius:16px;width:100%;height:auto;display:block}.drawing-canvas[data-fill-mode=true]{cursor:cell}.math-topic{margin:.25rem 0;font-weight:700}.math-topics{margin-bottom:1.25rem}.region-number{text-anchor:middle;dominant-baseline:central;fill:var(--ink);font-size:22px;font-weight:800}.legend{flex-wrap:wrap;justify-content:center;gap:.5rem;display:flex}.legend-item{font:inherit;cursor:pointer;background:#fff;border:3px solid #bbb;border-radius:999px;align-items:center;gap:.4rem;padding:.3rem .7rem .3rem .3rem;display:flex}.legend-item.selected{border-color:var(--ink);background:#fff3c4}.legend-swatch{border:2px solid var(--ink);border-radius:50%;width:34px;height:34px}.legend-number{font-size:1.3rem;font-weight:800}.maze-svg{background:#fff;border:2px solid #eee;border-radius:12px;width:100%;max-width:520px;height:auto;margin:0 auto;display:block}.maze-walls line{stroke:var(--ink);stroke-width:4px;stroke-linecap:round}.maze-walls line.maze-gate{stroke:#e68a17;stroke-width:7px}.maze-emoji{text-anchor:middle;dominant-baseline:central;font-size:26px}.dpad{grid-template-columns:repeat(3,64px);grid-template-areas:".n.""w.e"".s.";justify-content:center;gap:.4rem;margin:1rem 0;display:grid}.dpad .tool{height:56px;font-size:1.3rem}.dpad-n{grid-area:n}.dpad-w{grid-area:w}.dpad-e{grid-area:e}.dpad-s{grid-area:s}.brain-tile{justify-content:center;min-height:160px}.chess-disclaimer{color:#59451a;background:#fff4cf;border:2px solid #ffd36a;border-radius:18px;margin:1rem 0 1.5rem;padding:1rem 1.2rem}.chess-disclaimer strong{font-size:1.05rem}.chess-disclaimer p{margin:.4rem 0 0}.chess-start{padding:1rem 0 2rem}.chess-board{aspect-ratio:1;border:4px solid #59451a;border-radius:12px;grid-template-rows:repeat(8,minmax(0,1fr));grid-template-columns:repeat(8,minmax(0,1fr));width:min(100%,520px);margin:1rem auto;display:grid;overflow:hidden;box-shadow:0 7px #e8d5a5}.chess-square{cursor:pointer;border:0;border-radius:0;place-items:center;min-width:0;min-height:0;padding:0;display:grid;position:relative}.chess-square.light{background:#fff4d6}.chess-square.dark{background:#76a878}.chess-square.last-move{box-shadow:inset 0 0 0 4px #ffcf52}.chess-square.selected{box-shadow:inset 0 0 0 4px #8b5cf6}.chess-square.capture-target{box-shadow:inset 0 0 0 4px #e63946}.chess-square:focus-visible{z-index:1;outline-offset:-4px;outline:4px solid #1d6fd8}.chess-piece{z-index:1;-webkit-user-select:none;user-select:none;font-family:Segoe UI Symbol,"Noto Sans Symbols 2",serif;font-size:clamp(1.8rem,8vw,3.8rem);line-height:1;position:relative}.white-piece{color:#fff;text-shadow:-1px -1px #38334a,1px -1px #38334a,-1px 1px #38334a,1px 1px #38334a,0 2px 2px #38334a}.black-piece{color:#302b3e;text-shadow:0 1px 1px #fff8}.chess-move-dot{aspect-ratio:1;background:#39284e66;border-radius:50%;width:23%}.chess-status{min-height:1.5em;margin:1rem 0 .3rem;font-size:1.15rem;font-weight:800}.sudoku-difficulties{margin-bottom:1rem}.sudoku-board{aspect-ratio:1;border:3px solid var(--ink);border-radius:8px;grid-template-columns:repeat(9,minmax(0,1fr));width:min(100%,540px);margin:1rem auto;display:grid;overflow:hidden}.sudoku-cell{color:#2265bd;min-width:0;min-height:0;font:inherit;cursor:pointer;background:#fff;border:1px solid #b8b8c2;border-top:0;border-left:0;border-radius:0;place-items:center;padding:0;font-size:clamp(1rem,5vw,1.75rem);display:grid}.sudoku-cell.given{color:var(--ink);background:#f0edff;font-weight:800}.sudoku-cell.box-right{border-right:3px solid var(--ink)}.sudoku-cell.box-bottom{border-bottom:3px solid var(--ink)}.sudoku-cell.selected{background:#ffe795;box-shadow:inset 0 0 0 2px #8b5cf6}.sudoku-cell.same-digit:not(.selected){background:#e7f2ff}.sudoku-cell.wrong{color:#bd2430;background:#ffe0e0}.sudoku-cell:focus-visible{z-index:1;outline-offset:-3px;position:relative}.sudoku-number-pad{grid-template-columns:repeat(5,minmax(42px,1fr));gap:.5rem;max-width:540px;margin:1rem auto;display:grid}.sudoku-number-pad .tool{min-height:48px;padding:.45rem;font-size:1.15rem}.sudoku-status{min-height:1.5em;font-weight:700}.sudoku-actions{flex-wrap:wrap;justify-content:center;gap:.5rem;display:flex}.age-brain-games{max-width:720px;margin:0 auto}.early-game-tabs,.advanced-game-tabs{margin:1rem 0 1.25rem}.early-game,.arithmetic-grid-game,.block-slider,.rubiks-game{background:#fff;border:2px solid #e8ddff;border-radius:22px;padding:1rem;box-shadow:0 5px #e8ddff}.early-question{margin:.5rem 0 1rem}.early-picture-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;max-width:460px;margin:1rem auto;display:grid}.early-picture{min-height:112px;color:var(--ink);font:inherit;cursor:pointer;background:#faf7ff;border:3px solid #e4d7ff;border-radius:18px;justify-items:center;gap:.35rem;padding:.6rem;font-size:1rem;font-weight:750;transition:transform .12s,background .12s;display:grid}.early-picture:hover:not(:disabled){background:#f0e8ff;transform:translateY(-2px)}.early-picture:disabled{cursor:default}.early-picture.correct,.shadow-card.matched{background:#e4f8ec;border-color:#52b788}.early-picture.incorrect{background:#fff0ef;border-color:#e7a5a5}.early-emoji{font-size:clamp(2.4rem,11vw,4rem);line-height:1.1}.early-status{min-height:1.5em;margin:1rem 0 .5rem;font-weight:750}.early-learning-tabs{margin:1rem 0 1.25rem}.early-learning-card{background:#fff;border:2px solid #e8ddff;border-radius:20px;margin:1rem 0;padding:1.25rem;box-shadow:0 4px #e8ddff}.early-letters-layout{margin:1rem 0}.early-letters-layout.has-revealed-example{grid-template-columns:minmax(0,1.55fr) minmax(280px,.85fr);align-items:stretch;gap:1rem;display:grid}.early-learning-letter-row{justify-content:center;align-items:center;gap:clamp(1rem,6vw,3rem);margin:.25rem 0;display:flex}.early-learning-letter{text-align:center;color:#6330c4;margin:.25rem 0;font-size:clamp(4rem,18vw,7rem);font-weight:900;line-height:1}.early-learning-letter span{color:#ff9f1c}.early-learning-reveal-trigger{color:#6330c4;min-height:110px;font:inherit;cursor:pointer;background:#faf7ff;border:2px solid #e4d7ff;border-radius:14px;flex:0 0 clamp(140px,20vw,200px);align-content:center;justify-items:center;margin:0;padding:.75rem;font-weight:750;display:grid}.early-learning-reveal-trigger:hover{background:#f0e8ff}.early-learning-example-panel{background:#fff;border:2px solid #e8ddff;border-radius:20px;grid-template-rows:minmax(240px,1fr) auto;min-width:0;display:grid;overflow:hidden;box-shadow:0 4px #e8ddff}.early-learning-example-picture{background:#fff4cf;place-items:center;min-height:300px;padding:1rem;display:grid}.early-learning-example-picture span{font-size:clamp(9rem,18vw,14rem);line-height:1}.early-learning-example-info{color:var(--ink);text-align:center;background:#fffaf0;border-top:2px solid #ffe2a8;padding:1rem;font-size:clamp(1.5rem,3vw,2rem);font-weight:850}.early-learning-reveal-trigger:focus-visible{outline-offset:3px;outline:3px solid #6330c4}.early-learning-example-panel{min-height:0}.early-learning-example-panel[hidden]{display:none}.early-learning-choices,.early-feeling-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;max-width:440px;margin:1rem auto;display:grid}.early-learning-choice,.early-word-choice,.early-feeling-choice{border:3px solid var(--ink);min-height:76px;color:var(--ink);font:inherit;cursor:pointer;background:#fff9ec;border-radius:16px;padding:.5rem;font-size:2.4rem}.early-learning-choice.selected,.early-word-choice.selected,.early-feeling-choice.selected{background:#d8f3dc;border-color:#2d6a4f}.early-word-choice{min-height:76px;color:var(--ink);font:inherit;cursor:pointer;overflow-wrap:anywhere;background:#faf7ff;border:3px solid #e4d7ff;border-radius:16px;padding:.6rem;font-size:clamp(1.2rem,5vw,1.8rem);font-weight:800}.early-word-choice:hover{background:#f0e8ff}.early-number-choices{grid-template-columns:repeat(5,minmax(0,1fr))}.early-number-choices .early-learning-choice{font-size:1.8rem}.early-learning-feedback{color:#2d6a4f;min-height:1.5em;font-size:1.15rem;font-weight:800}.early-number-ranges{margin:1rem 0}.early-number-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:.45rem;max-width:520px;margin:1rem auto;display:grid}.early-number-tile{min-width:0;min-height:48px;color:var(--ink);font:inherit;cursor:pointer;background:#faf7ff;border:2px solid #d5c7ee;border-radius:12px;font-size:1.15rem;font-weight:800}.early-number-tile:hover,.early-number-tile.selected{background:#e8ddff;border-color:#6330c4}.early-number-name{text-align:center;flex-wrap:wrap;justify-content:center;align-items:center;gap:.75rem;margin:1.25rem 0 .25rem;display:flex}.early-number-name>span{color:#6330c4;font-size:2.5rem;font-weight:900}.early-number-name>strong{text-transform:capitalize;font-size:1.5rem}.early-story-visual{text-align:center;background:#faf7ff;border:2px solid #e8ddff;border-radius:20px;justify-items:center;gap:.5rem;max-width:620px;margin:1rem auto;padding:1rem;display:grid}.early-story-visual>span{font-size:clamp(6rem,20vw,10rem);line-height:1.1}.early-story-illustration{border-radius:16px;width:min(100%,520px);height:auto;display:block}.early-story-thumbnail{border-radius:8px;width:3.25rem;max-width:none}.early-story-visual p{max-width:32rem;margin:0;font-size:1.2rem;font-weight:700}.early-story-index{background:#faf7ff;border:2px solid #e4d7ff;border-radius:16px;max-width:620px;margin:1rem auto}.early-story-index summary{color:#6330c4;cursor:pointer;padding:.85rem 1rem;font-size:1.05rem;font-weight:800}.early-story-index summary:focus-visible{outline-offset:3px;outline:3px solid #6330c4}.early-story-index-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;max-height:340px;margin:0;padding:0 .75rem .75rem;list-style:none;display:grid;overflow-y:auto}.early-story-index-item{width:100%;min-height:48px;color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:#fff;border:2px solid #e4d7ff;border-radius:12px;align-items:flex-start;gap:.5rem;padding:.55rem .65rem;font-size:.95rem;line-height:1.3;display:flex}.early-story-index-item>span:first-child{color:#6330c4;flex:none;font-weight:850}.early-story-index-item.selected{background:#f0e8ff;border-color:#6330c4;font-weight:750}.early-story-index-item:focus-visible{outline-offset:2px;outline:3px solid #6330c4}.early-story-scenes{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;max-width:620px;margin:1rem auto;display:grid}.early-story-scene{min-width:0;min-height:76px;color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:#fff;border:2px solid #e4d7ff;border-radius:16px;align-items:center;gap:.65rem;padding:.6rem;display:flex}.early-story-scene.selected{background:#f0e8ff;border-color:#6330c4}.early-story-scene>span:first-child{flex:none;font-size:2.5rem}.early-story-scene .early-story-thumbnail{vertical-align:middle}.early-story-scene>span:last-child{font-size:1rem;line-height:1.35}.early-story-scene:focus-visible{outline-offset:2px;outline:3px solid #6330c4}.early-counting-pictures{flex-wrap:wrap;justify-content:center;gap:.35rem;min-height:3.5rem;margin:1rem 0;font-size:clamp(2.2rem,10vw,3.5rem);display:flex}.early-tracing-board{touch-action:none;cursor:crosshair;background:#fffdf6;border:2px solid #e8ddff;border-radius:16px;width:100%;max-width:520px;margin:1rem auto;display:block}.early-tracing-guide{fill:none;stroke:#b7a4da;stroke-width:9px;stroke-dasharray:2 13;stroke-linecap:round;stroke-linejoin:round}.early-tracing-ink{fill:none;stroke:#ff8c42;stroke-width:8px;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.early-feeling-situation{background:#fff4cf;border-radius:16px;padding:1rem;font-size:1.25rem;font-weight:700}.early-feeling-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.early-feeling-choice{font-size:1.1rem;font-weight:700}.early-feeling-prompt{text-align:center;background:#e8f5e9;border-radius:16px;margin:1rem auto;padding:1rem}.early-feeling-prompt p{margin-bottom:0}.early-learning-note{margin-top:1.5rem;font-size:.9rem}@media (width<=760px){.early-letters-layout.has-revealed-example{grid-template-columns:1fr}.early-learning-example-picture{min-height:220px}.early-learning-example-picture span{font-size:clamp(8rem,30vw,12rem)}}@media (width<=560px){.early-learning-letter-row{gap:.5rem}.early-learning-letter{font-size:clamp(3.5rem,18vw,6rem)}.early-learning-reveal-trigger{flex-basis:clamp(120px,35vw,160px);min-height:90px}.early-story-scenes,.early-story-index-list{grid-template-columns:1fr}}.size-order{grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem;max-width:460px;margin:1rem auto;display:grid}.size-order-slot{color:#777184;background:#faf8ff;border:2px dashed #c9c0d8;border-radius:14px;place-items:center;min-height:68px;font-size:1.6rem;display:grid;position:relative}.size-order-slot.filled{background:#e4f8ec;border-style:solid;border-color:#52b788}.size-order-slot small{font-size:.65rem;font-weight:800;position:absolute;bottom:3px;right:5px}.shadow-match-board{grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;max-width:480px;margin:1rem auto;display:grid}.shadow-column{gap:.55rem;display:grid}.shadow-card{min-width:0;min-height:62px;color:var(--ink);font:inherit;cursor:pointer;background:#faf7ff;border:2px solid #e4d7ff;border-radius:14px;justify-content:center;align-items:center;gap:.45rem;padding:.45rem;display:flex}.shadow-card>span{font-size:2rem}.shadow-card small{font-size:.8rem;font-weight:700}.shadow-card.selected{background:#f0e8ff;border-color:#8b5cf6}.shadow-card.shadow-silhouette>span{filter:brightness(0)}.shadow-card:disabled:not(.matched){opacity:.56;cursor:default}.arithmetic-grid{aspect-ratio:1;border:2px solid var(--ink);border-radius:8px;grid-template-columns:repeat(4,minmax(0,1fr));width:min(100%,400px);margin:1rem auto;display:grid;overflow:hidden}.arithmetic-cell{color:#302748;min-width:0;min-height:0;font:inherit;cursor:pointer;background:#fff;border:1px solid #c9c3d3;place-items:center;padding:0;font-size:clamp(1.3rem,6vw,2.2rem);font-weight:800;display:grid;position:relative}.arithmetic-cell.cage-edge-top{border-top:2px dashed #756a87}.arithmetic-cell.cage-edge-bottom{border-bottom:2px dashed #756a87}.arithmetic-cell.cage-edge-left{border-left:2px dashed #756a87}.arithmetic-cell.cage-edge-right{border-right:2px dashed #756a87}.arithmetic-cell.selected{z-index:1;background:#fff1b8;box-shadow:inset 0 0 0 3px #8b5cf6}.cage-label{font-size:clamp(.55rem,2vw,.75rem);line-height:1;position:absolute;top:2px;left:4px}.arithmetic-number-pad{flex-wrap:wrap;justify-content:center;gap:.5rem;margin:1rem 0;display:flex}.arithmetic-number-pad .tool{min-width:48px;min-height:48px;font-size:1.1rem}.arithmetic-status,.block-slider-count{min-height:1.5em;font-weight:700}.brain-game-actions,.slider-controls{flex-wrap:wrap;justify-content:center;gap:.55rem;margin:.75rem 0;display:flex}.slider-board-wrap{width:min(100%,460px);margin:1rem auto;position:relative}.slider-board{aspect-ratio:1;background-color:#f8f3ff;background-image:linear-gradient(90deg,#d6cedf 1px,#0000 1px),linear-gradient(#d6cedf 1px,#0000 1px);background-size:16.6667% 16.6667%;border:4px solid #554b69;border-radius:14px;width:calc(100% - 38px);position:relative;overflow:hidden;box-shadow:0 5px #ded2f6}.slider-exit{color:#2d7b50;writing-mode:vertical-rl;width:40px;font-size:.7rem;font-weight:850;position:absolute;top:40%;right:0}.slider-vehicle{cursor:pointer;border:3px solid #fff;border-radius:13px;place-items:center;min-width:0;min-height:0;padding:0;transition:filter .12s;display:grid;position:absolute;box-shadow:0 2px 4px #30274855}.slider-vehicle>span{font-size:clamp(1.2rem,5vw,2rem);line-height:1}.slider-vehicle.selected{z-index:1;outline-offset:-2px;filter:saturate(1.15);outline:4px solid #7054b4}.slider-vehicle.slider-target{border-color:#fff2bd}.slider-vehicle:disabled{cursor:default}.rubiks-game{max-width:620px;margin:0 auto}.rubik-stage{perspective:850px;place-items:center;width:100%;height:255px;margin:1rem auto .5rem;display:grid;overflow:hidden}.rubik-cube{width:156px;height:156px;transform-style:preserve-3d;position:relative;transform:rotateX(-25deg)rotateY(-35deg)}.rubik-cubie{width:52px;height:52px;transform-style:preserve-3d;background:#191919;border:2px solid #111;border-radius:5px;position:absolute}.rubik-sticker{backface-visibility:hidden;border:2px solid #252525;border-radius:7px;width:44px;height:44px;display:block;position:absolute;top:2px;left:2px}.rubik-sticker.face-f{transform:translateZ(26px)}.rubik-sticker.face-b{transform:rotateY(180deg)translateZ(26px)}.rubik-sticker.face-r{transform:rotateY(90deg)translateZ(26px)}.rubik-sticker.face-l{transform:rotateY(-90deg)translateZ(26px)}.rubik-sticker.face-u{transform:rotateX(90deg)translateZ(26px)}.rubik-sticker.face-d{transform:rotateX(-90deg)translateZ(26px)}.rubik-scramble-note{min-height:1.5em;font-weight:750}.rubik-controls{grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;max-width:420px;margin:1rem auto;display:grid}.rubik-face-controls{justify-content:center;gap:.3rem;display:flex}.rubik-face-controls .tool{min-width:48px;min-height:46px;padding:.4rem}.rubik-face-controls .rubik-inverse{background:#f2ecff}.rubik-key{font-size:.9rem}.seed-form{margin:.5rem 0 1rem}.seed-form input{border:2px solid var(--ink);width:9ch;font:inherit;border-radius:10px;padding:.4rem .6rem}.seed-form [role=alert]{color:#b00020;font-weight:600}.dots-svg{background:#fff;border:2px solid #eee;border-radius:12px;width:100%;max-width:520px;height:auto;margin:0 auto;display:block}.dots-line{fill:none;stroke:var(--ink);stroke-width:4px;stroke-linecap:round;stroke-linejoin:round}.dots-fill{fill:#ffd60a;fill-opacity:.5}.dot{cursor:pointer}.dot-hit{fill:#0000}.dot-mark{fill:var(--ink)}.dot-done .dot-mark{fill:#52b788}.dot-next .dot-mark{fill:#e63946}.dot-next .dot-hit{stroke:#e63946;stroke-width:3px;stroke-dasharray:4 4}.dot:focus-visible{outline:none}.dot:focus-visible .dot-hit{stroke:#1d6fd8;stroke-width:3px}.dot-number{fill:var(--ink);text-anchor:middle;dominant-baseline:central;pointer-events:none;font-size:15px;font-weight:800}.ws-words{flex-wrap:wrap;justify-content:center;gap:.5rem;margin:.5rem 0;padding:0;list-style:none;display:flex}.ws-words li{border:2px solid var(--ink);letter-spacing:.05em;background:#fff;border-radius:999px;padding:.25rem .8rem;font-weight:700}.ws-words li.ws-found{opacity:.55;text-decoration:line-through}.ws-grid{background:#fff;border:2px solid #eee;border-radius:12px;gap:4px;max-width:520px;margin:0 auto;padding:8px;display:grid}.ws-cell{aspect-ratio:1;color:var(--ink);font:inherit;cursor:pointer;background:#fff;border:2px solid #d9dbe3;border-radius:8px;padding:0;font-size:clamp(1rem,5vw,1.6rem);font-weight:800}.ws-cell.ws-first{outline-offset:-2px;outline:4px solid #e63946}.word-builder{max-width:700px;margin:0 auto}.word-scoreboard,.cosmic-scoreboard{flex-wrap:wrap;justify-content:center;gap:.75rem;margin:1rem 0;display:flex}.word-scoreboard span,.cosmic-scoreboard span{border:2px solid var(--ink);background:#fff;border-radius:999px;padding:.45rem 1rem}.word-builder-heading{margin:1.1rem 0 .6rem;font-size:1.15rem}.word-build-row,.word-rack{border-radius:18px;flex-wrap:wrap;justify-content:center;align-items:center;gap:.5rem;min-height:76px;padding:.65rem;display:flex}.word-build-row{background:#faf7ff;border:2px dashed #c3b4e8}.word-rack{background:#e8ddc8;box-shadow:inset 0 0 0 2px #d2c2a8}.letter-tile{color:#382912;cursor:pointer;background:linear-gradient(145deg,#fff8df,#f3d9a8);border:2px solid #8b6a3e;border-radius:9px;flex:0 0 52px;place-items:center;width:52px;height:58px;padding:0;font-size:1.6rem;font-weight:900;display:grid;position:relative;box-shadow:0 3px #b18c58}.letter-tile small{font-size:.65rem;line-height:1;position:absolute;bottom:1px;right:4px}.letter-tile.placed{background:linear-gradient(145deg,#fff,#e8ddff);border-color:#7960ae;flex-basis:48px;width:48px;height:54px;box-shadow:0 3px #b6a2dc}.word-placeholder{color:#696477;font-weight:600}.word-builder-actions,.cosmic-actions{flex-wrap:wrap;justify-content:center;gap:.6rem;margin:1rem 0 .5rem;display:flex}.word-builder-status,.cosmic-status{min-height:1.6em;font-weight:700}.word-builder-note,.cosmic-note{font-size:.9rem}.cosmic-game{max-width:760px;margin:0 auto}.cosmic-difficulties{margin:1rem 0}.codebreaker-game,.pattern-game,.comes-next-game{max-width:700px;margin:0 auto}.codebreaker-history{gap:.5rem;max-width:560px;margin:1rem auto;display:grid}.codebreaker-row{background:#faf8ff;border:2px solid #ded2f6;border-radius:14px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;padding:.65rem .85rem;display:flex}.codebreaker-colors{gap:.35rem;font-size:1.4rem;display:flex}.codebreaker-feedback{color:#504476;font-weight:700}.codebreaker-heading{margin:1.2rem 0 .6rem}.codebreaker-slots,.codebreaker-palette{flex-wrap:wrap;justify-content:center;gap:.5rem;margin:.75rem auto;display:flex}.codebreaker-slot{width:58px;height:58px;font:inherit;cursor:pointer;background:#faf8ff;border:2px dashed #9e8bc5;border-radius:16px;place-items:center;font-size:1.7rem;display:grid}.codebreaker-color{font:inherit;cursor:pointer;background:#fff;border:2px solid #d5c7ee;border-radius:999px;padding:.45rem .75rem;font-weight:700}.codebreaker-color:disabled{opacity:.45;cursor:not-allowed}.pattern-card{background:linear-gradient(145deg,#f5f0ff,#fff);border:2px solid #b9a2e8;border-radius:20px;margin:1rem auto;padding:1rem;box-shadow:0 5px #ded2f6}.pattern-card h2{text-align:center;margin:.25rem 0 1rem;font-size:1.2rem}.pattern-sequence{text-align:center;letter-spacing:.08em;overflow-wrap:anywhere;padding:.75rem .25rem;font-size:clamp(1.5rem,5vw,2.4rem);font-weight:800}.pattern-choices{flex-wrap:wrap;justify-content:center;gap:.65rem;display:flex}.pattern-choice,.comes-next-choice{min-width:72px;min-height:56px}.pattern-choice.correct,.comes-next-choice.correct{background:#d7f7e5;border-color:#27885b}.pattern-choice.incorrect,.comes-next-choice.incorrect{background:#ffe2e2;border-color:#bd4d4d}.pattern-feedback{line-height:1.6}.science-game{max-width:700px;margin:0 auto}.science-topics{margin-bottom:1.25rem}.science-lessons{margin:1.5rem 0 2rem}.science-lesson-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:.75rem;display:grid}.science-lesson-card{background:#f3fff7;border:2px solid #b8dfc7;border-radius:18px;padding:1rem}.science-lesson-card h3{margin:0 0 .5rem;font-size:1.1rem}.science-lesson-card p{margin:0;line-height:1.55}.science-difficulties{margin:.75rem 0 1.25rem}.science-fact{background:#edfff4;border:2px solid #84c9a5;border-radius:18px;max-width:600px;margin:1rem auto;padding:1rem 1.2rem;line-height:1.6}.science-fact p{margin:.4rem 0 0}.science-result{margin:1.5rem 0}.cosmic-clue-card{background:linear-gradient(145deg,#f5f0ff,#fff);border:2px solid #b9a2e8;border-radius:20px;padding:1rem 1.2rem;box-shadow:0 5px #ded2f6}.cosmic-clue-card h2{margin:0 0 .5rem;font-size:1.2rem}.cosmic-clue-card ol{gap:.55rem;margin:.5rem 0 1rem;padding-left:1.5rem;display:grid}.cosmic-clue-card li{padding-left:.2rem;line-height:1.5}.cosmic-deduction{margin:.6rem 0 0;font-weight:700}.cosmic-map-title{margin:1.4rem 0 .7rem}.cosmic-orbit{background:radial-gradient(#fff2be 0 6%,#0000 6.5% 22%,#d7c7f5 22.5% 23.5%,#0000 24%),linear-gradient(145deg,#242149,#3c3364);border:3px solid #504476;border-radius:24px;gap:clamp(.25rem,1.5vw,.65rem);max-width:600px;margin:0 auto;padding:clamp(.5rem,3vw,1rem);display:grid}.cosmic-sector{aspect-ratio:1;color:#302748;min-width:0;font:inherit;cursor:pointer;background:#fff;border:2px solid #c9b8eb;border-radius:16px;place-items:center;gap:.05rem;font-size:clamp(.85rem,3.2vw,1.25rem);font-weight:800;transition:transform .12s,background .12s;display:grid}.cosmic-sector:hover:not(:disabled){background:#f0e9ff;transform:translateY(-2px)}.cosmic-sector.selected{background:#fff1b8;border-color:#ffcb45;box-shadow:0 0 0 3px #ffcb4566}.cosmic-sector.investigated{color:#777;cursor:default;background:#e4e1e9;border-color:#9c97a8}.cosmic-sector.discovered{background:#dcffe9;border-color:#49b783}.cosmic-sector:disabled{cursor:default}.cosmic-sector-number{font-size:.95rem}.cosmic-sector span[aria-hidden=true]{color:#806bb0;line-height:1}.cosmic-sector.discovered span[aria-hidden=true]{font-size:1.5rem}.cosmic-status{margin:1rem 0 .5rem}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.english-hero-header{margin-bottom:1.25rem}.english-fun-container{flex-direction:column;gap:1.25rem;max-width:780px;margin:1.5rem auto;display:flex}.english-search-bar-wrap{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;display:flex}.english-search-form{flex:300px;gap:.5rem;display:flex}.english-search-input{min-height:48px;font:inherit;color:var(--ink);background:#fff;border:2px solid #b8b2c8;border-radius:999px;flex:1;padding:.6rem 1rem;font-size:1.05rem;transition:border-color .15s,box-shadow .15s}.english-search-input:focus-visible{border-color:#8b5cf6;outline:none;box-shadow:0 0 0 3px #8b5cf633}.english-search-btn{color:#fff;cursor:pointer;background:#7b2ff7;border:none;border-radius:999px;min-height:48px;padding:.6rem 1.25rem;font-weight:700}.english-surprise-btn{color:#3b2000;cursor:pointer;background:linear-gradient(135deg,#ffb703,#fb8500);border:none;border-radius:999px;min-height:48px;padding:.6rem 1.25rem;font-weight:800;transition:transform .12s,box-shadow .12s;box-shadow:0 3px #d46b08}.english-surprise-btn:hover{transform:translateY(-2px);box-shadow:0 5px #d46b08}.english-surprise-btn:active{transform:translateY(1px);box-shadow:0 1px #d46b08}.english-quick-words{flex-wrap:wrap;align-items:center;gap:.5rem;padding:.5rem .25rem;display:flex}.english-quick-label{color:var(--muted);font-size:.9rem;font-weight:700}.english-word-chip{color:#4b20a8;font:inherit;cursor:pointer;background:#fff;border:1.5px solid #d4c8f0;border-radius:999px;padding:.35rem .85rem;font-size:.95rem;font-weight:600;transition:all .12s}.english-word-chip:hover{background:#f1e9ff;border-color:#8b5cf6;transform:translateY(-1px)}.english-word-chip.active{color:#fff;background:#7b2ff7;border-color:#7b2ff7;font-weight:700}.english-loading-card,.english-error-card{text-align:center;background:#fff;border:2px solid #e8ddff;border-radius:24px;padding:2.5rem 1.5rem;box-shadow:0 4px #e8ddff}.english-spinner{border:4px solid #f0e6ff;border-top-color:#7b2ff7;border-radius:50%;width:44px;height:44px;margin:0 auto 1rem;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.english-error-icon{margin-bottom:.5rem;font-size:3rem;display:block}.english-error-actions{flex-wrap:wrap;justify-content:center;gap:.75rem;margin-top:1rem;display:flex}.btn-secondary{color:#2b2d42;background:#eef2f6;border:2px solid #cfd8dc}.english-word-card{background:#fff;border:2px solid #e2d4fc;border-radius:24px;padding:1.75rem 1.5rem;box-shadow:0 6px #e2d4fc}.english-card-header{border-bottom:2px solid #f2eaff;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;padding-bottom:1.25rem;display:flex}.english-word-title-group{flex-wrap:wrap;align-items:baseline;gap:.85rem;display:flex}.english-word-heading{color:#3b1b70;text-transform:capitalize;letter-spacing:-.02em;margin:0;font-size:clamp(2rem,6vw,2.75rem);font-weight:800}.english-phonetic{color:#6c5ce7;background:#f4f0ff;border-radius:8px;padding:.2rem .6rem;font-family:Segoe UI,system-ui,sans-serif;font-size:1.25rem;font-weight:600}.english-audio-btn{color:#4b20a8;min-height:48px;font:inherit;cursor:pointer;background:linear-gradient(135deg,#f8f4ff,#ede4ff);border:2px solid #8b5cf6;border-radius:999px;align-items:center;gap:.5rem;padding:.55rem 1.15rem;font-size:1.05rem;font-weight:800;transition:transform .12s,box-shadow .12s;display:inline-flex;box-shadow:0 3px #d3c0f8}.english-audio-btn:hover{background:#e6d7ff;transform:translateY(-2px);box-shadow:0 5px #d3c0f8}.english-audio-btn.speaking{color:#fff;background:#7b2ff7;border-color:#5d1bc4;animation:.6s infinite alternate pulse-audio}@keyframes pulse-audio{0%{transform:scale(1)}to{transform:scale(1.06)}}.english-speaker-icon{font-size:1.35rem}.english-category-badge{color:#8c5b00;background:#fff8e1;border:1px solid #ffe082;border-radius:12px;margin:1rem 0 .5rem;padding:.35rem .85rem;font-size:.9rem;display:inline-flex}.english-meanings-section{margin-top:1.25rem}.english-pos-tabs{flex-wrap:wrap;gap:.5rem;margin-bottom:1rem;display:flex}.english-pos-tab{color:var(--ink);font:inherit;cursor:pointer;background:#faf8ff;border:2px solid #e4d7ff;border-radius:14px;align-items:center;gap:.45rem;padding:.45rem .9rem;font-weight:700;transition:all .15s;display:inline-flex}.english-pos-tab:hover{background:#f1e9ff;border-color:#c9b4f7}.english-pos-tab.active{color:#fff;background:#3b1b70;border-color:#3b1b70;box-shadow:0 3px #210c44}.pos-badge{text-transform:uppercase;letter-spacing:.04em;border-radius:6px;padding:.15rem .5rem;font-size:.85rem;font-weight:800}.pos-noun{color:#0369a1;background:#e0f2fe}.pos-verb{color:#15803d;background:#dcfce7}.pos-adjective{color:#b45309;background:#fef3c7}.pos-adverb{color:#7e22ce;background:#f3e8ff}.pos-pronoun{color:#be123c;background:#ffe4e6}.pos-preposition,.pos-conjunction,.pos-interjection{color:#475569;background:#f1f5f9}.english-pos-tab.active .pos-badge{color:#3b1b70;background:#fff}.pos-def-count{opacity:.85;font-size:.85rem}.english-meaning-panel{background:#faf8ff;border:1.5px solid #ece4fc;border-radius:18px;padding:1.25rem}.english-definitions-list{flex-direction:column;gap:1.1rem;margin:0;padding-left:1.35rem;display:flex}.english-definition-item{padding-left:.35rem}.english-def-text{color:#2b2d42;margin:0 0 .5rem;font-size:1.15rem;font-weight:600;line-height:1.45}.english-example-quote{color:#4b5563;background:#fff;border-left:4px solid #7b2ff7;border-radius:0 10px 10px 0;margin:.5rem 0 .75rem;padding:.6rem .9rem;font-size:1.02rem;font-style:italic;line-height:1.4}.quote-mark{color:#7b2ff7;margin:0 .2rem;font-weight:800}.english-rel-words{flex-wrap:wrap;align-items:center;gap:.45rem;margin-top:.4rem;display:flex}.rel-label{color:var(--muted);font-size:.85rem;font-weight:750}.rel-chips{flex-wrap:wrap;gap:.35rem;display:flex}.rel-chip{font:inherit;cursor:pointer;border:1.5px solid #0000;border-radius:999px;padding:.2rem .65rem;font-size:.85rem;font-weight:700;transition:all .12s}.syn-chip{color:#2e7d32;background:#e8f5e9;border-color:#c8e6c9}.syn-chip:hover{color:#fff;background:#2e7d32;transform:translateY(-1px)}.ant-chip{color:#d84315;background:#fbe9e7;border-color:#ffccbc}.ant-chip:hover{color:#fff;background:#d84315;transform:translateY(-1px)}.english-meaning-footer-rel{border-top:1px dashed #dcd3f2;flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:1rem;padding-top:.85rem;display:flex}.english-extra-insights{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem;margin-top:1.5rem;display:grid}.english-origin-box,.english-fun-fact-box{border:1.5px solid;border-radius:16px;padding:1.1rem}.english-origin-box{background:#fbf9f4;border-color:#e5dec9}.english-fun-fact-box{background:#f4fbf7;border-color:#cdeee0}.extra-box-header{color:#2b2d42;align-items:center;gap:.45rem;margin-bottom:.4rem;font-size:1rem;display:flex}.extra-icon{font-size:1.25rem}.english-origin-box p,.english-fun-fact-box p{color:#4a4d5a;margin:0;font-size:.95rem;line-height:1.45}.english-challenge-card{background:linear-gradient(135deg,#fff9e6,#fff3cf);border:2px solid #ffd166;border-radius:20px;padding:1.25rem 1.5rem;box-shadow:0 4px #f0be43}.challenge-header{align-items:center;gap:.5rem;display:flex}.challenge-header h3{color:#633a00;margin:0;font-size:1.15rem}.challenge-star{font-size:1.4rem}.english-challenge-card p{color:#543200;margin:.6rem 0 .4rem;font-size:1.05rem}.challenge-highlight{color:#7b2ff7;font-size:1.15rem;font-weight:800}.challenge-tips{color:#785002;font-size:.88rem;font-style:italic}.sentence-builder-form{flex-direction:column;gap:.75rem;margin:1rem 0;display:flex}.sentence-textarea{width:100%;font:inherit;color:var(--ink);resize:vertical;background:#fff;border:2px solid #e0c878;border-radius:14px;min-height:80px;padding:.85rem 1rem;font-size:1.05rem;line-height:1.45;transition:border-color .15s,box-shadow .15s}.sentence-textarea:focus-visible{border-color:#7b2ff7;outline:none;box-shadow:0 0 0 3px #7b2ff733}.sentence-builder-actions{flex-wrap:wrap;align-items:center;gap:.6rem;display:flex}.btn-check-sentence{color:#fff;cursor:pointer;background:linear-gradient(135deg,#7b2ff7,#5c1bc4);border:none;padding:.65rem 1.4rem;font-size:1.05rem;font-weight:800;transition:transform .12s,box-shadow .12s;box-shadow:0 3px #411094}.btn-check-sentence:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 5px #411094}.btn-speak-sentence{color:#4b20a8;cursor:pointer;background:#fff;border:2px solid #8b5cf6;padding:.6rem 1.1rem;font-weight:750}.btn-speak-sentence.speaking{color:#fff;background:#7b2ff7}.btn-sample-sentence{background:#fff;border-color:#e0c878}.sentence-feedback-card{border:2px solid;border-radius:18px;margin:1.25rem 0 1rem;padding:1.25rem}.sentence-check-disclosure,.sentence-check-status,.sentence-check-error{margin:.25rem 0;font-size:.92rem}.sentence-check-disclosure{color:var(--muted)}.sentence-check-status{color:#315b39;font-weight:700}.sentence-check-error{color:#a12622;font-weight:700}.sentence-suggestions{background:#faf7ff;border:2px solid #d9c8ff;border-radius:14px;padding:1rem}.sentence-suggestions h4{color:#4b20a8;margin:0 0 .5rem}.sentence-suggestions ul{gap:.75rem;margin:0;padding-left:1.25rem;display:grid}.sentence-suggestions li p{margin:.25rem 0}.sentence-suggestion-options{flex-wrap:wrap;gap:.45rem;margin-top:.4rem;display:flex}.sentence-suggestion-option{color:#4b20a8;font:inherit;cursor:pointer;background:#fff;border:1px solid #ad91eb;border-radius:999px;padding:.45rem .7rem;font-weight:700}.sentence-suggestion-option:hover{background:#eee5ff}.sentence-suggestion-option:focus-visible{outline-offset:2px;outline:3px solid #6330c4}.feedback-success{background:#f0fdf4;border-color:#86efac}.feedback-tips{background:#fffdf5;border-color:#fde047}.feedback-banner{border-bottom:1px dashed #d1d5db;align-items:center;gap:.75rem;padding-bottom:.85rem;display:flex}.feedback-badge-icon{font-size:2.2rem}.feedback-banner-text h4{color:#1f2937;margin:0 0 .25rem;font-size:1.15rem}.feedback-score{color:#4b5563;font-size:.95rem}.feedback-score strong{color:#15803d;font-size:1.05rem}.sentence-checklist{margin-top:.85rem}.sentence-checklist h5{color:#374151;margin:0 0 .5rem;font-size:.95rem}.checklist-items{flex-direction:column;gap:.55rem;margin:0;padding:0;list-style:none;display:flex}.checklist-item{background:#fff;border-radius:10px;align-items:flex-start;gap:.55rem;padding:.45rem .65rem;display:flex}.checklist-item.passed{border:1px solid #bbf7d0}.checklist-item.needs-work{background:#fffbeb;border:1px solid #fef08a}.checklist-status-icon{font-size:1.15rem;line-height:1.2}.checklist-text-group{flex-direction:column;gap:.15rem;display:flex}.checklist-label{color:#1f2937;font-size:.95rem;font-weight:750}.checklist-tip{color:#854d0e;margin:0;font-size:.88rem;line-height:1.35}.indic-font{font-family:Nirmala UI,Kohinoor Devanagari,Kohinoor Bangla,"Shree Devanagari 714",Bangla MN,Segoe UI,system-ui,sans-serif}.hindi-fun-container,.bengali-fun-container{flex-direction:column;gap:1.25rem;max-width:780px;margin:1.5rem auto;display:flex}.hindi-main-word,.bengali-main-word{letter-spacing:normal;font-size:clamp(2.2rem,7vw,3.2rem)}.hindi-card-theme{border-color:#ffd8a8;box-shadow:0 6px #ffd8a8}.bengali-card-theme{border-color:#bbf7d0;box-shadow:0 6px #bbf7d0}.hindi-challenge-theme{background:linear-gradient(135deg,#fff4e6,#ffe8cc);border-color:#ffa94d;box-shadow:0 4px #fd7e14}.bengali-challenge-theme{background:linear-gradient(135deg,#e6fcf5,#c3fae8);border-color:#63e6be;box-shadow:0 4px #20c997}.indic-english-tag{color:#8c5b00;background:#fff3c4;border-radius:8px;padding:.2rem .65rem;font-size:1.2rem;font-weight:750}.indic-pos-header{margin:1rem 0 .5rem}.indic-definition-box{background:#faf8ff;border:1.5px solid #ece4fc;border-radius:16px;padding:1.15rem}.indic-def-text{color:#1f2328;margin:0 0 .4rem;font-size:1.25rem;font-weight:600;line-height:1.5}.indic-meaning-english{color:#57606a;margin:0;font-size:1rem}.indic-subheading{color:#3b1b70;margin:1.1rem 0 .4rem;font-size:1.05rem}.indic-example-box{flex-direction:column;gap:.25rem;display:flex}.indic-example-hindi{color:#1f2328;margin:0;font-size:1.2rem;font-weight:700}.indic-example-romanized{color:#6c5ce7;margin:0;font-size:.95rem}.indic-example-trans{color:#4b5563;margin:.2rem 0 0;font-size:.95rem}.indic-relations-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:.85rem;margin-top:1rem;display:grid}.indic-rel-card{background:#f8fafc;border:1.5px solid #e2e8f0;border-radius:14px;flex-direction:column;gap:.45rem;padding:.85rem 1rem;display:flex}.btn-toggle-kb{color:#4b20a8;cursor:pointer;background:#fff;border:2px solid #8b5cf6;border-radius:999px;min-height:48px;padding:.55rem 1rem;font-weight:750;transition:all .15s}.btn-toggle-kb:hover{background:#f1e8ff}.btn-toggle-kb.active{color:#fff;background:#7b2ff7}.search-keyboard-container,.sentence-keyboard-container{margin:.5rem 0 1rem}.indic-keyboard-wrapper{background:linear-gradient(145deg,#fff,#fbf9ff);border:2px solid #ded4f4;border-radius:18px;padding:1rem;box-shadow:0 4px #ded4f4}.indic-keyboard-header{border-bottom:1.5px solid #eee5ff;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.85rem;padding-bottom:.6rem;display:flex}.indic-kb-tabs{gap:.4rem;display:flex}.indic-kb-tab{color:#4b20a8;font:inherit;cursor:pointer;background:#fff;border:1.5px solid #dcd1f4;border-radius:10px;padding:.4rem .85rem;font-size:.92rem;font-weight:750}.indic-kb-tab.active{color:#fff;background:#4b20a8;border-color:#4b20a8}.indic-kb-hint{color:var(--muted);font-size:.85rem;font-style:italic}.indic-kb-keys-grid{grid-template-columns:repeat(auto-fill,minmax(46px,1fr));gap:.4rem;display:grid}.indic-kb-key{color:#2b2d42;min-height:48px;font:inherit;cursor:pointer;background:#fff;border:2px solid #d4c8ef;border-radius:10px;justify-content:center;align-items:center;padding:.35rem;font-size:1.25rem;font-weight:750;transition:transform .1s,background-color .1s;display:flex;box-shadow:0 2px #d4c8ef}.indic-kb-key:hover{background:#f1e9ff;border-color:#7b2ff7;transform:translateY(-2px)}.indic-kb-key:active{transform:translateY(1px);box-shadow:0 0 #d4c8ef}.indic-kb-actions{border-top:1.5px solid #eee5ff;flex-wrap:wrap;gap:.5rem;margin-top:.85rem;padding-top:.75rem;display:flex}.indic-kb-action-key{color:#3b1b70;font:inherit;cursor:pointer;background:#f4f0ff;border:2px solid #ccc5de;border-radius:10px;padding:.5rem .9rem;font-size:.95rem;font-weight:750;transition:all .12s;box-shadow:0 2px #ccc5de}.indic-kb-action-key:hover{background:#e9deff;transform:translateY(-1px)}.indic-kb-action-key.space-key{flex:2 140px}.indic-kb-action-key.purna-viram-key{color:#d9480f;background:#fff4e6;border-color:#ffd8a8;flex:100px}.indic-kb-action-key.backspace-key{color:#c92a2a;background:#ffe3e3;border-color:#ffc9c9;flex:110px}.indic-kb-action-key.clear-key{color:#495057;background:#f1f3f5;border-color:#dee2e6;flex:90px}
