:root{font-family:ui-rounded,SF Pro Rounded,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#303b50;background:#f7f9fc;font-synthesis:none;--ink:#303b50;--muted:#6b7587;--purple:#6b58b4;--line:#e5e9f1;--radius:24px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default}button,a,input,select{-webkit-tap-highlight-color:transparent}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #5941a5;outline-offset:4px}button:disabled{opacity:.55}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(1.8rem,4vw,2.7rem);line-height:1.2;letter-spacing:-.045em;font-weight:760}h1:focus{outline:none}h2{font-size:1.4rem;letter-spacing:-.025em}h3{font-size:1.1rem}p{line-height:1.65;color:var(--muted)}.app-shell{max-width:1192px;margin:auto;padding:0 max(28px,env(safe-area-inset-left)) 0 max(28px,env(safe-area-inset-right))}.site-header{height:116px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:16px}.brand{display:flex;align-items:center;gap:12px;text-align:left;border:0;background:transparent;padding:0;font-weight:800;font-size:1.7rem;letter-spacing:-.05em}.brand:disabled{opacity:1}.brand-mark{display:block;width:48px;height:48px;transform:rotate(-8deg);background:#fff;border-radius:15px;padding:5px}.brand-coding{color:var(--purple);margin-left:5px}.brand small{display:block;font-size:.73rem;font-weight:500;letter-spacing:.015em;color:var(--muted);margin-top:4px}.header-actions{display:flex;align-items:center;gap:24px}.star-wallet{display:flex;align-items:center;gap:9px;font-size:1.1rem;font-weight:750;background:#fff4d6;padding:10px 18px;border-radius:24px}.star-wallet span{color:#a87005;font-size:1.45rem}.parent-button{display:flex;align-items:center;gap:8px;background:transparent;border:1px solid #dce2eb;border-radius:14px;min-height:44px;padding:10px 15px;font-size:.9rem}.parent-button svg{width:20px;height:20px}.welcome{display:flex;justify-content:space-between;align-items:center;padding:39px 0 26px}.eyebrow{font-size:.8rem;font-weight:750;letter-spacing:.08em;color:var(--purple);text-transform:uppercase;display:block;margin-bottom:12px}.hello-sun{color:#ca8a32;font-size:1.2rem;margin-right:6px}.welcome h1{margin-bottom:10px}.welcome p{margin:0;font-size:1rem}.welcome-doodle{font-size:6rem;color:#d5caeb;line-height:1;margin-right:25px}.hero{position:relative;display:flex;min-height:298px;overflow:hidden;border-radius:28px;background:#ece9f8;border:1px solid #e2ddf1;margin-bottom:36px}.hero-copy{width:52%;padding:30px 36px;z-index:1}.hero-label{display:flex;align-items:center;gap:7px;font-size:.72rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:#756397;margin-bottom:17px}.hero-label span{width:7px;height:7px;background:#8f79bd;border-radius:50%}.hero h2{font-size:2rem;max-width:360px;line-height:1.16;margin-bottom:12px}.hero p{font-size:.93rem;max-width:350px;line-height:1.6;margin-bottom:19px;color:#716b88}.button{border:0;min-height:48px;padding:12px 20px;border-radius:14px;font-size:.94rem;font-weight:650;display:inline-flex;align-items:center;justify-content:center;gap:16px;text-decoration:none;line-height:1.4;transition:background-color .15s,transform .15s}.button:active:not(:disabled){transform:translateY(1px)}.button.primary{background:var(--purple);color:#fff;min-height:56px}.button.dark{background:#3e3659;color:#fff;min-width:147px}.button.dark span{color:#d2b5ed}.button.outline{background:#fff;border:1px solid #dce1ed}.button.subtle{background:transparent;color:#666980}.button.danger{color:#a33f56}.hero-art{position:relative;width:48%;min-height:298px;background:radial-gradient(ellipse at center,#dcd6ed 0%,transparent 69%)}.art-card{position:absolute;display:flex;background:#fffdfb;padding:15px 19px;gap:15px;border-radius:19px;box-shadow:0 7px #d1c9e0;align-items:center}.art-card .shape-symbol{width:45px;height:45px}.art-card-one{top:58px;left:7%;transform:rotate(-8deg);z-index:2}.art-card-one span{font-size:2.2rem;color:#b7acc9;width:45px;text-align:center}.art-card-two{top:145px;left:20%;transform:rotate(7deg);z-index:3}.art-spark{position:absolute;color:#a98bc8;font-size:2.8rem}.spark-one{top:27px;right:39px}.spark-two{bottom:18px;left:22px;font-size:3.5rem}.little-buddy{background:#efbd66;width:70px;height:72px;position:absolute;top:24px;left:42%;border-radius:24px 24px 20px 20px;transform:rotate(12deg);z-index:1;display:flex;justify-content:center;gap:13px;padding-top:23px}.buddy-eye{width:5px;height:7px;border-radius:50%;background:#584958}.buddy-smile{position:absolute;top:36px;left:29px;width:14px;height:8px;border-bottom:2px solid #584958;border-radius:50%}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;gap:12px}.section-heading h2{margin:0;font-size:1.2rem}.section-heading>span{font-size:.8rem;color:#7a8290;background:#edf0f5;padding:7px 12px;border-radius:12px}.category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}.category-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;text-align:left;min-height:221px;border:1px solid rgba(80,80,100,.07);border-radius:21px;padding:21px;transition:transform .16s}.category-card:hover{transform:translateY(-2px)}.lavender{background:#efebfa;color:#7b60ad}.peach{background:#fff0e7;color:#ba7357}.mint{background:#e8f3ee;color:#4f8b74}.pink{background:#fbeaf0;color:#bb6d8a}.blue{background:#e8effb;color:#5f83b2}.yellow{background:#fbf3dd;color:#aa863d}.purple{background:#eeeafa;color:#8c70b1}.aqua{background:#e7f3f3;color:#4d9694}.category-icon{display:flex;align-items:center;justify-content:center;width:54px;height:54px;border-radius:16px;background:#ffffff9c;margin-bottom:18px}.category-icon .shape-symbol{width:39px;height:39px}.category-info strong{display:block;font-size:1.04rem;color:var(--ink);letter-spacing:-.02em;margin-bottom:6px}.category-info>span{display:block;color:#6d7483;font-size:.78rem;line-height:1.45;margin-bottom:14px}.availability{font-size:.67rem;color:#7c7d85;letter-spacing:.015em;padding:4px 0;margin-top:auto}.availability.live{color:#8e603e;font-weight:700}.availability.live:before{content:"✓";margin-right:5px}.card-corner{position:absolute;right:19px;top:23px;font-size:1.2rem;opacity:.5}.offline-card{display:flex;flex-wrap:wrap;align-items:center;gap:18px;border:1px solid var(--line);border-radius:20px;background:#fff;padding:22px 25px;margin-top:28px}.offline-icon{width:47px;height:47px;color:#8a91a7}.offline-icon svg{width:100%;height:100%}.offline-card h3{font-size:.98rem;margin-bottom:4px}.offline-card p{font-size:.85rem;margin-bottom:0}.offline-card>.button{margin-left:auto;font-size:.82rem}.offline-message{width:100%}.offline-card .button:disabled{opacity:.8}footer{text-align:center;display:flex;align-items:center;justify-content:center;gap:9px;padding:32px 12px 26px;font-size:.75rem;color:#8c91a0}.footer-flower{color:#b8a5ce;font-size:1.25rem}.shape-symbol{display:block;width:100%;height:100%;flex-shrink:0}.notice{padding:14px 20px;background:#eeebfb;border-radius:14px;margin:18px 0;line-height:1.5}.notice.warning{background:#fff0da}.back-button{margin-top:22px}.page-heading{text-align:center;padding:25px 0 20px}.page-heading h1{margin-bottom:12px}.page-heading p{margin-bottom:8px}.selection-level{display:flex;align-items:center;justify-content:center;gap:15px;margin-bottom:32px;font-size:.9rem}.level-pill{display:inline-block;padding:7px 15px;border-radius:12px;background:#e5f2eb;color:#397358;font-size:.8rem;font-weight:700}.game-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;max-width:850px;margin:auto}.game-option{text-align:left;padding:28px;background:#fff;border:1px solid var(--line);border-radius:24px;display:flex;flex-direction:column;align-items:flex-start}.option-icon{width:70px;height:70px;color:#9276ba;background:#f0ebf9;border-radius:20px;padding:12px;margin-bottom:20px}.game-option h2{margin-bottom:8px}.game-option p{font-size:.95rem}.game-status{font-size:.8rem;color:#837192;margin-bottom:20px}.game-option .button{width:100%;margin-top:auto}.planned-panel{text-align:center;padding:50px 20px;background:#fff;border-radius:24px}.planned-panel>.shape-symbol{width:90px;height:90px;margin:0 auto 20px;color:var(--purple)}.game-page{max-width:920px;margin:auto}.game-top{display:flex;align-items:center;justify-content:space-between;margin-top:20px}.session-stars{font-weight:750;color:#9c750c;font-size:1.15rem;padding:10px 16px;border-radius:15px;background:#fff3cf}.game-heading{text-align:center;padding-top:15px}.game-heading h1{margin-bottom:12px;font-size:2.1rem}.game-heading p{margin-bottom:20px;font-size:1.05rem}.progress-track{display:flex;gap:8px;max-width:400px;margin:0 auto 25px}.progress-track span{height:7px;flex:1;border-radius:4px;background:#e2e5ef}.progress-track .current{background:#bbaadf}.progress-track .complete{background:#7eab8f}.question-card{background:#fff;border:1px solid #e4e7ef;border-radius:27px;padding:26px 30px}.question-note{text-align:center;color:#7b7389;font-size:.9rem;margin-bottom:27px}.tiny-spark{color:#bc995a;margin-right:6px}.sequence-board{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;max-width:770px;margin:auto}.pattern-cell{width:66px;height:66px;background:#f5f6fa;border-radius:16px;position:relative;border:2px solid transparent}.pattern-cell.blank{background:#faf9fd;border:2px dashed #c2b7d8}.pattern-cell.active{border:2px solid #8161bd;background:#f0eafb;box-shadow:0 0 0 3px #efe9f9}.pattern-cell.correct{border:2px solid #4b9674;background:#edf8f1}.pattern-cell.hinted{box-shadow:0 0 0 4px #e1ab3f;border-color:#b1831f}.pattern-cell button,.clue-cell{border:0;background:transparent;width:100%;height:100%;padding:8px;display:flex;align-items:center;justify-content:center;border-radius:14px}.pattern-cell button:disabled{opacity:1}.question-mark{font-size:1.75rem;color:#ab9fc4;font-weight:600}.palette-heading{text-align:center;font-size:.86rem;color:#7f758d;margin:30px 0 14px;font-weight:600}.answer-palette{display:flex;flex-wrap:wrap;justify-content:center;gap:13px}.palette-button{background:#fff;border:1px solid #dde2ec;border-bottom:3px solid #dfe3ed;border-radius:18px;min-width:83px;min-height:90px;padding:10px 12px;display:flex;flex-direction:column;align-items:center;gap:5px}.palette-button .shape-symbol{width:43px;height:43px}.palette-button span{font-size:.73rem;color:#656e7f}.palette-button:active{background:#f1edf9}.game-feedback{min-height:65px;text-align:center;padding:15px 8px 8px;font-size:.97rem;color:#7b628a;font-weight:600;line-height:1.5}.game-feedback.success{color:#39745b}.game-feedback p{font-size:.9rem;font-weight:400;margin:8px 0}.game-actions{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;padding-bottom:32px}.edit-actions{display:flex;flex-wrap:wrap;gap:2px}.edit-actions .button{font-size:.85rem;padding:12px}.check{min-width:210px}.sequence-board.path{display:grid;gap:17px 12px;max-width:520px}.path .pattern-cell{width:100%;height:75px}.path-number{position:absolute;top:-9px;left:-5px;z-index:1;background:#eeebf7;color:#6b5d88;font-size:.67rem;min-width:22px;height:21px;display:flex;align-items:center;justify-content:center;border-radius:8px;font-weight:750;padding:0 4px}.path .clue-cell,.path button{padding:12px}.result-page{text-align:center;max-width:650px;padding:45px 15px;margin:auto}.result-art{font-size:2.1rem;color:#b6a0d2;margin-bottom:25px;display:flex;align-items:center;justify-content:center;gap:30px}.result-art>span{font-size:6.5rem;color:#e4b23f;animation:pop .35s ease-out}.result-page h1{margin-bottom:16px}.earned-stars{display:flex;flex-wrap:wrap;justify-content:center;font-size:2rem;color:#c08a1e;gap:8px;margin:24px 0}.result-metrics{display:flex;justify-content:center;gap:40px;margin:30px 0}.result-metrics>div{display:flex;flex-direction:column;gap:8px}.result-metrics strong{font-size:2.1rem}.result-metrics span{font-size:.85rem;color:var(--muted)}.result-page>.button{margin:8px}.settings-page{padding-top:20px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:25px}.settings-card{padding:26px;background:#fff;border:1px solid var(--line);border-radius:24px}.settings-card>label:not(.check-label){display:flex;flex-direction:column;gap:9px;margin:20px 0;font-weight:600;font-size:.95rem}select{min-height:48px;padding:10px 15px;border:1px solid #dce1eb;border-radius:11px;background:#f9fafc;color:var(--ink);width:100%}.check-label{display:flex;gap:12px;align-items:center;min-height:48px;font-size:.95rem;cursor:pointer}.check-label input{width:24px;height:24px;accent-color:var(--purple);flex-shrink:0}.check-label small{display:block;color:var(--muted);font-size:.78rem;margin-top:5px}.settings-card h3{margin:25px 0 10px}.settings-card p{font-size:.88rem}.category-toggles{display:grid;grid-template-columns:1fr 1fr;gap:5px}.parent-metrics{display:flex;gap:15px;align-items:center;flex-wrap:wrap;margin:20px 0}.parent-metrics strong{color:#a37516;font-size:1.7rem}.parent-metrics>span{color:var(--muted);font-size:.85rem}.progress-row{display:flex;flex-direction:column;gap:8px;padding:14px 0;border-bottom:1px solid var(--line);font-size:.85rem}.progress-row>span{color:var(--muted);line-height:1.5}.storage-note{margin-top:24px}.backup-actions{display:flex;gap:10px;flex-wrap:wrap}.file-label{position:relative;cursor:pointer;overflow:hidden}.file-label input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.file-label:focus-within{outline:3px solid #5941a5;outline-offset:4px}.modal-backdrop{position:fixed;inset:0;z-index:10;background:#30304466;display:flex;align-items:center;justify-content:center;padding:24px;overflow-y:auto}.modal{background:#fff;border-radius:25px;max-width:440px;width:100%;padding:30px;text-align:center;max-height:100%;overflow-y:auto;box-shadow:0 10px 40px #30304420}.modal h2{line-height:1.45}.modal>.button{width:100%;margin-top:10px}.modal-icon{display:block;color:#aa8ec2;font-size:2.5rem;margin-bottom:10px}.gate-sum{display:flex;align-items:center;justify-content:center;gap:10px;font-size:1.8rem;font-weight:700;margin:25px 0}.gate-sum input{width:80px;min-height:56px;text-align:center;border:2px solid #c9bfde;border-radius:12px;background:#f8f5fc}.skip-link{position:fixed;top:0;left:20px;z-index:30;transform:translateY(-110%);background:#fff;padding:15px}.skip-link:focus{transform:translateY(0)}@keyframes pop{0%{transform:scale(.8)}to{transform:scale(1)}}@media(min-width:1300px){.app-shell{padding-left:42px;padding-right:42px}.hero{min-height:320px}.hero-copy{padding:33px 39px}.hero-art{min-height:320px}.art-card-one{top:62px}.art-card-two{top:160px}.hero h2{font-size:2.2rem}}@media(max-width:900px){.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.category-card{min-height:191px}.hero-copy{width:55%;padding:27px}.hero-art{width:45%}.art-card{padding:13px;gap:9px}.art-card .shape-symbol{width:36px;height:36px}.art-card-one{left:0;top:70px}.art-card-two{left:4%;top:160px}.hero h2{font-size:1.8rem}.hero p{font-size:.88rem}.hero-art .little-buddy{left:36%;top:35px}.settings-grid{grid-template-columns:1fr}.settings-card{padding:25px}.game-actions{align-items:center}.question-card{padding:25px 20px}.sequence-board{gap:10px}.pattern-cell{width:60px;height:60px}}@media(max-width:560px){.app-shell{padding:0 max(18px,env(safe-area-inset-left)) 0 max(18px,env(safe-area-inset-right))}.site-header{height:90px;gap:8px}.brand{font-size:1.35rem;gap:8px}.brand-mark{width:37px;height:37px;border-radius:12px;padding:3px}.brand small{font-size:.58rem;letter-spacing:0}.header-actions{gap:9px}.star-wallet{padding:6px 10px;gap:5px;font-size:.95rem}.star-wallet span{font-size:1.2rem}.parent-button{padding:10px;min-width:44px;border-radius:12px}.parent-button>span{display:none}.welcome{padding:29px 0 23px}.welcome .eyebrow{font-size:.65rem;letter-spacing:.05em}.welcome h1{font-size:1.85rem;max-width:300px}.welcome p{font-size:.86rem}.welcome-doodle{display:none}.hero{display:block;min-height:0;border-radius:23px;margin-bottom:28px}.hero-copy{width:100%;padding:25px 25px 0}.hero h2{font-size:1.8rem;max-width:260px}.hero p{max-width:280px}.hero-label{font-size:.65rem;margin-bottom:14px}.hero .button{min-height:48px}.hero-art{height:184px;min-height:184px;width:100%;margin-top:5px}.art-card-one{top:26px;left:8%;padding:11px 16px;gap:11px}.art-card-two{top:96px;left:32%;padding:11px 16px;gap:11px}.art-card .shape-symbol{width:34px;height:34px}.art-card-one span{width:34px;font-size:1.8rem}.hero-art .little-buddy{top:-6px;left:57%;width:56px;height:58px;padding-top:20px;border-radius:20px;gap:10px}.buddy-smile{left:22px;top:31px;width:12px}.spark-one{top:1px;right:19px;font-size:2rem}.spark-two{bottom:5px;left:22px;font-size:2.5rem}.section-heading h2{font-size:1rem;max-width:240px;line-height:1.4}.section-heading>span{font-size:.68rem;white-space:nowrap;padding:6px 10px}.category-grid{gap:12px}.category-card{padding:17px 14px;min-height:207px;border-radius:18px}.category-icon{width:47px;height:47px;border-radius:14px;margin-bottom:16px}.category-icon .shape-symbol{width:34px;height:34px}.category-info strong{font-size:.92rem;line-height:1.3}.category-info>span{font-size:.72rem;line-height:1.55}.availability{font-size:.61rem}.card-corner{right:13px;top:17px}.offline-card{gap:13px;padding:20px 18px;margin-top:22px}.offline-icon{width:34px;height:34px;flex-shrink:0}.offline-card>div:nth-child(2){flex:1;min-width:190px}.offline-card h3{font-size:.94rem}.offline-card p{font-size:.78rem}.offline-card>.button{margin-left:0;width:100%;font-size:.8rem}footer{font-size:.65rem;line-height:1.6;padding:25px 0}.page-heading{padding:26px 0 16px}.page-heading h1{font-size:1.8rem}.page-heading p{font-size:.9rem}.selection-level{gap:9px;font-size:.75rem;flex-wrap:wrap}.game-grid{grid-template-columns:1fr}.game-option{padding:23px}.game-option h2{font-size:1.3rem}.game-option .option-icon{width:58px;height:58px}.game-top{margin-top:14px}.game-top .button{font-size:.85rem;padding:10px 0;min-width:60px}.game-heading{padding-top:18px}.game-heading h1{font-size:1.75rem}.game-heading p{font-size:.9rem;max-width:300px;margin:0 auto 18px}.game-heading .eyebrow{font-size:.7rem}.progress-track{margin-bottom:20px}.question-card{padding:20px 13px;border-radius:21px}.question-note{font-size:.78rem;margin-bottom:22px;line-height:1.5}.sequence-board{gap:8px}.pattern-cell{width:50px;height:50px;border-radius:12px}.pattern-cell button,.clue-cell{padding:6px;border-radius:10px}.question-mark{font-size:1.4rem}.palette-heading{margin-top:25px;font-size:.8rem}.answer-palette{gap:9px}.palette-button{min-width:74px;min-height:80px;padding:8px 9px;border-radius:14px}.palette-button .shape-symbol{width:36px;height:36px}.palette-button span{font-size:.66rem}.game-feedback{font-size:.85rem;min-height:65px;padding:14px 3px 9px}.game-actions{flex-direction:column;gap:8px;align-items:stretch;padding-bottom:max(22px,env(safe-area-inset-bottom))}.edit-actions{justify-content:center}.edit-actions .button{min-height:44px;font-size:.78rem}.check{width:100%;min-height:56px;order:-1}.sequence-board.path{gap:16px 8px}.path .pattern-cell{height:54px}.path .clue-cell,.path button{padding:7px}.path-number{font-size:.59rem;min-width:18px;height:18px;top:-10px}.result-page{padding:35px 0}.result-page h1{font-size:1.9rem}.result-page>p{font-size:.93rem}.result-art{gap:20px}.result-art>span{font-size:5rem}.result-metrics{gap:28px}.result-metrics span{font-size:.78rem}.settings-card{padding:20px}.category-toggles{grid-template-columns:1fr}.modal{padding:25px 20px}.notice{font-size:.85rem}.backup-actions .button{font-size:.8rem}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@media(hover:none){.category-card:hover{transform:none}}.palette-button span{font-size:.875rem}.question-note{font-size:.9rem}.alphabet-option{max-width:650px;margin:0 auto 26px;padding:12px 18px;background:#eeebf8;border-radius:16px}.alphabet-option small{line-height:1.5}.word-workspace{display:grid;grid-template-columns:minmax(230px,.7fr) minmax(0,1.5fr);gap:20px;align-items:start}.code-reference{padding:22px 18px;border:1px solid #e2ddee;background:#f0edf9;border-radius:24px}.code-reference h2{font-size:1.05rem;margin:0 0 8px}.code-reference h2 span{color:#a68ac2;margin-right:6px}.code-reference>p{font-size:.875rem;line-height:1.5;margin-bottom:16px}.code-table{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.code-entry{display:flex;align-items:center;justify-content:center;gap:8px;border:2px solid transparent;background:#ffffffc9;border-radius:13px;min-height:62px;padding:6px}.code-entry .code-symbol,.code-entry .code-color{width:39px;height:39px;flex-shrink:0}.code-entry strong{font-size:1.25rem;color:#594a72}.code-entry.hinted,.coded-letter.hinted{outline:3px solid #bc8c20;outline-offset:3px}.code-color{width:100%;height:100%;border-radius:12px;display:flex;justify-content:center;align-items:center;padding:9px}.code-color>.shape-symbol,.code-color>svg{width:100%;height:100%}.code-symbol{display:block;width:100%;height:100%}.word-question{padding:24px 18px}.coded-words{display:flex;justify-content:center;flex-wrap:wrap;gap:16px 22px;margin:10px 0 24px}.coded-group{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;max-width:100%}.coded-letter{width:52px;border-radius:13px;display:flex;flex-direction:column;align-items:center;gap:9px;padding-top:3px}.encoded-symbol{width:47px;height:47px}.letter-slot{width:52px;min-height:56px;border:2px dashed #bfb1d7;border-radius:12px;background:#faf8ff;font-size:1.5rem;font-weight:700;color:#624d91;line-height:1}.letter-slot.active{border:2px solid #8161bd;background:#eee8f9;box-shadow:0 0 0 3px #eee8f9}.letter-slot.fixed{border:2px solid #dce1e8;background:#edf0f5;color:#626c7e}.letter-slot.correct{border:2px solid #4b9674;background:#edf8f1;color:#39745b}.letter-slot:disabled{opacity:1}.letter-tools{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;color:#77668f;font-size:.875rem}.letter-tools .button{font-size:.875rem;padding:8px;min-height:44px}.letter-keyboard{display:grid;grid-template-columns:repeat(7,minmax(44px,1fr));gap:7px}.letter-key{min-width:44px;min-height:48px;border:1px solid #dbe0eb;border-bottom:3px solid #dbe0eb;border-radius:11px;background:#fff;font-size:1.15rem;font-weight:650;color:#554567}.letter-key:active:not(:disabled){background:#ece7f8}.letter-keyboard.limited{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}.limited .letter-key{min-width:56px;min-height:56px}.word-choices{display:flex;flex-direction:column;gap:10px}.word-choice{width:100%;min-height:56px;border:2px solid #e0dbea;border-radius:14px;background:#fff;font-size:1.25rem;font-weight:650;letter-spacing:.08em}.word-choice[aria-pressed=true]{border-color:#8161bd;background:#eee8f9}.word-choice:disabled{opacity:1}.word-game .game-feedback{min-height:72px}@media(max-width:900px){.word-workspace{grid-template-columns:1fr}.code-reference{padding:18px 20px}.code-table{grid-template-columns:repeat(4,minmax(0,1fr))}.code-table.full-alphabet{grid-template-columns:repeat(6,minmax(0,1fr))}.word-question{padding:24px}.letter-keyboard{grid-template-columns:repeat(10,minmax(44px,1fr))}.coded-group{gap:10px}}@media(max-width:650px){.letter-keyboard{grid-template-columns:repeat(7,minmax(44px,1fr))}.code-table.full-alphabet{grid-template-columns:repeat(4,minmax(0,1fr))}.code-entry{gap:5px;padding:5px}.code-entry .code-symbol,.code-entry .code-color{width:34px;height:34px}.code-entry strong{font-size:1.05rem}}@media(max-width:560px){.word-workspace{gap:16px}.code-reference{padding:18px 12px;border-radius:20px}.code-table{gap:7px;grid-template-columns:repeat(4,minmax(0,1fr))}.code-entry{min-height:54px}.code-entry .code-color{padding:6px;border-radius:9px}.code-entry .code-symbol,.code-entry .code-color{width:29px;height:29px}.word-question{padding:20px 13px}.word-question .question-note{font-size:.875rem}.letter-keyboard{grid-template-columns:repeat(6,minmax(44px,1fr));gap:6px}.letter-key{min-height:48px}.coded-group{gap:7px}.coded-letter{width:48px}.letter-slot{width:48px;min-height:52px}.encoded-symbol{width:43px;height:43px}.coded-words{gap:16px 19px}.letter-tools{flex-wrap:wrap}.alphabet-option{margin-bottom:20px}.code-reference h2{font-size:1rem}}@media(max-width:350px){.code-table,.code-table.full-alphabet{grid-template-columns:repeat(3,minmax(0,1fr))}.letter-keyboard{grid-template-columns:repeat(5,minmax(44px,1fr))}}.number-color-reference{background:#eaf2fa;border:1px solid #dce6f1;border-radius:23px;padding:20px 24px;margin-bottom:20px}.number-color-reference h2{font-size:1.08rem;margin-bottom:7px}.number-color-reference>p{font-size:.875rem;margin-bottom:15px;line-height:1.5}.number-color-legend{display:flex;flex-wrap:wrap;gap:10px}.number-color-entry{display:flex;align-items:center;justify-content:center;gap:9px;padding:8px 12px;background:#ffffffd9;border:2px solid transparent;border-radius:13px;min-height:60px}.number-color-entry strong{font-size:1.5rem}.number-color-entry>span{color:#8290a6}.number-color-entry .color-swatch{width:37px;height:37px;padding:7px}.number-color-entry.hinted,.number-color-cell.hinted{outline:3px solid #b7861c;outline-offset:3px}.number-color-question{padding:25px}.number-color-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:38px;align-items:start;max-width:720px;margin:auto}.number-color-workspace.single{display:block;max-width:330px}.source-panel h2,.answer-panel h2{font-size:.95rem;text-align:center;margin-bottom:18px;color:#726780}.number-color-grid{display:grid;gap:9px;width:100%;max-width:330px;margin:0 auto}.number-color-cell{display:flex;align-items:center;justify-content:center;position:relative;min-width:0;min-height:70px;border:2px solid transparent;border-radius:16px;background:#f0f2f7;padding:6px;line-height:1;aspect-ratio:1}.number-color-cell .color-swatch{width:100%;height:100%;min-height:52px;padding:17%;border-radius:10px}.number-color-cell.editable{border:2px dashed #c0b5d3;background:#fbf9fe}.number-color-cell.active{border:2px solid #8161bd;background:#eee8f9;box-shadow:0 0 0 3px #eee8f9}.number-color-cell.correct{border:2px solid #4b9674}.number-color-cell:disabled{opacity:1}.grid-cell-value{font-size:1.9rem;font-weight:700;color:#65557e}.source-grid .grid-cell-value{color:#4a5c78}.number-color-cell.piece{background:transparent;border:2px solid transparent;padding:0;border-radius:14px;min-height:90px}.piece.active{background:#f6f1fc;border:2px solid #8161bd}.puzzle-piece-background{position:absolute;inset:0;width:100%;height:100%}.number-color-cell .piece-color-mark{position:absolute;top:12%;left:20%;width:27%;height:27%;min-height:0;padding:5%;border-radius:5px}.piece-number{position:relative;margin-top:19%;width:45%;min-width:40px;min-height:40px;border-radius:12px;background:#fff;display:flex;align-items:center;justify-content:center;font-size:1.5rem;font-weight:750;color:#546}.grid-match-note{align-self:center;padding:15px;text-align:center}.grid-match-note>span{font-size:3rem;color:#c7b7df}.grid-match-note p{font-size:1rem;margin:15px 0}.grid-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:28px}.grid-choice{background:#fff;border:2px solid #e0dbea;border-radius:19px;padding:13px;text-align:center;min-width:0}.grid-choice[aria-pressed=true]{border:2px solid #8161bd;background:#f2edf9;box-shadow:0 0 0 2px #eee8f9}.grid-choice:disabled{opacity:1}.grid-option-label{display:block;font-size:.875rem;color:#756487;margin-bottom:10px}.grid-choice .number-color-grid{gap:5px}.grid-choice .number-color-cell{min-height:34px;padding:0;border-radius:8px;min-width:0}.grid-choice .color-swatch{min-height:0;padding:17%;border-radius:6px}.number-color-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px 0 14px;color:#75688a;font-size:.875rem}.number-color-tools .button{font-size:.875rem;padding:8px 12px;min-height:44px}.number-color-palette{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}.color-key{background:#fff;border:1px solid #dce2eb;border-bottom:3px solid #dce2eb;border-radius:16px;min-width:85px;min-height:90px;padding:10px;display:flex;flex-direction:column;align-items:center;gap:8px}.color-key .color-swatch{width:44px;height:44px;padding:10px}.color-key>span{font-size:.875rem;max-width:105px;color:#6d627d;line-height:1.3}.number-keypad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-width:280px;margin:0 auto}.number-key{min-width:56px;min-height:56px;border:1px solid #dce2eb;border-bottom:3px solid #dce2eb;border-radius:14px;background:#fff;font-size:1.5rem;font-weight:700;color:#655183}.number-key:active:not(:disabled),.color-key:active:not(:disabled){background:#f0ebfa}@media(max-width:650px){.number-color-question{padding:22px 17px}.number-color-workspace{gap:22px}.number-color-cell{min-height:56px;border-radius:13px}.grid-cell-value{font-size:1.6rem}.grid-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.grid-match-note{padding:10px}.grid-match-note p{font-size:.875rem}.number-color-reference{padding:18px}.number-color-entry{padding:7px 10px;gap:8px}.number-color-entry .color-swatch{width:33px;height:33px}.source-panel h2,.answer-panel h2{font-size:.875rem;line-height:1.4}}@media(max-width:560px){.number-color-workspace{grid-template-columns:1fr;gap:24px}.number-color-grid{max-width:280px;gap:9px}.number-color-cell{min-height:64px}.number-color-question{padding:20px 15px}.number-color-reference{padding:18px 14px}.number-color-reference h2{font-size:1rem}.number-color-legend{gap:8px}.number-color-entry{min-height:54px;gap:7px;padding:6px 8px}.number-color-entry strong{font-size:1.25rem}.number-color-entry .color-swatch{width:30px;height:30px;padding:6px}.grid-match-note{display:none}.grid-choice{padding:10px;border-radius:16px}.grid-choice .number-color-grid{gap:4px}.grid-choice .number-color-cell{min-height:30px}.number-color-palette{gap:9px}.color-key{min-width:83px;min-height:90px;flex:0 1 95px}.color-key>span{font-size:.875rem}.number-color-tools{margin-top:22px}}.color-swatch{width:100%;height:100%}.math-reference{padding:20px 24px;background:#eef3fc;border:1px solid #dce5f5;border-radius:23px;margin-bottom:22px}.math-reference h2{font-size:1.08rem;margin-bottom:7px}.math-reference>p{font-size:.875rem;line-height:1.5;margin-bottom:16px}.math-legend{display:flex;flex-wrap:wrap;gap:11px}.math-code{display:flex;align-items:center;justify-content:center;gap:10px;min-height:68px;padding:9px 13px;background:#ffffffd9;border-radius:14px;border:2px solid transparent}.math-code>.code-symbol,.math-code>.code-color{width:42px;height:42px;flex-shrink:0}.math-code strong{font-size:1.4rem;color:#4e5c7b}.math-code>span{color:#8390a6}.math-code.hinted,.math-operand.hinted{outline:3px solid #b78723;outline-offset:3px}.math-question{padding:28px 25px}.math-operation-note{text-align:center;color:#7d708e;font-size:.94rem;line-height:1.5;margin-bottom:28px}.math-equation{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:17px;margin:20px auto 32px;max-width:650px}.math-operand{width:92px;height:92px;padding:12px;background:#f4f5fa;border-radius:21px;border:2px solid transparent;flex-shrink:0}.math-operator,.math-equals{font-size:2rem;font-weight:650;color:#9483aa}.math-answer{width:92px;height:92px;border:2px dashed #c1b4d6;background:#faf7ff;border-radius:20px;display:flex;align-items:center;justify-content:center;font-size:2rem;font-weight:750;color:#755698;padding:12px;flex-shrink:0}.math-answer:disabled{opacity:1}.math-answer.correct{border:2px solid #4b9674;background:#edf8f1;color:#39745b}.math-picture-choices,.math-number-choices{display:flex;flex-wrap:wrap;justify-content:center;gap:13px}.math-picture-choice{width:78px;height:78px;border:2px solid #e0dbea;border-bottom:4px solid #e0dbea;border-radius:18px;background:#fff;padding:12px}.math-picture-choice[aria-pressed=true],.math-number-choice[aria-pressed=true]{border-color:#8161bd;background:#eee8f9}.math-number-choice{min-width:68px;min-height:68px;font-size:1.7rem;font-weight:700;border:2px solid #e0dbea;border-bottom:4px solid #e0dbea;border-radius:17px;background:#fff;color:#655183;padding:10px 16px}.math-input-tools{display:flex;justify-content:space-between;align-items:center;gap:12px;max-width:320px;margin:0 auto 15px;font-size:.875rem;color:#7b6b8d}.math-input-tools .button{min-height:44px;padding:8px;font-size:.875rem}.math-keypad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-width:290px;margin:auto}.math-digit{min-width:56px;min-height:56px;border:1px solid #dce2eb;border-bottom:3px solid #dce2eb;border-radius:14px;background:#fff;color:#655183;font-size:1.4rem;font-weight:700}.math-digit:last-child{grid-column:2}.math-input-help{max-width:320px;text-align:center;margin:14px auto 0;font-size:.875rem;line-height:1.5}.math-hint{max-width:540px;margin:auto}.math-hint p{margin-bottom:14px}.counting-groups{display:flex;justify-content:center;gap:18px;align-items:center;margin-bottom:18px}.counting-groups>div{display:flex;flex-wrap:wrap;gap:7px;max-width:180px;justify-content:center;padding:12px;border-radius:15px;background:#eeeaf8}.counting-dot{width:15px;height:15px;display:block;border-radius:50%;background:#9b84bb;flex-shrink:0}.counting-groups>div:last-child .counting-dot{background:#619a89}.math-picture-choice:active:not(:disabled),.math-number-choice:active:not(:disabled),.math-digit:active:not(:disabled){background:#f0eafa}@media(max-width:650px){.math-reference{padding:18px}.math-legend{gap:9px}.math-code{min-height:60px;gap:8px;padding:8px 10px}.math-code>.code-symbol,.math-code>.code-color{width:36px;height:36px}.math-code strong{font-size:1.25rem}.math-question{padding:24px 20px}.math-equation{gap:12px}.math-operand,.math-answer{width:76px;height:76px;padding:10px;border-radius:17px}.math-operator,.math-equals{font-size:1.8rem}}@media(max-width:560px){.math-reference{padding:18px 14px;margin-bottom:18px}.math-reference h2{font-size:1rem}.math-legend{gap:8px}.math-code{padding:7px 9px;gap:7px;min-height:56px}.math-code>.code-symbol,.math-code>.code-color{width:32px;height:32px}.math-code strong{font-size:1.2rem}.math-question{padding:21px 14px}.math-operation-note{font-size:.875rem;margin-bottom:22px}.math-equation{gap:9px;flex-wrap:nowrap;margin:15px auto 26px}.math-operand,.math-answer{width:64px;height:64px;padding:8px;border-radius:14px}.math-operator,.math-equals{font-size:1.35rem}.math-answer{font-size:1.65rem}.math-number-choices{gap:10px}.math-number-choice{min-width:62px;min-height:62px;font-size:1.5rem;padding:9px 13px}.math-picture-choices{gap:10px}.math-picture-choice{width:69px;height:69px;padding:10px;border-radius:15px}.counting-groups{gap:12px}.counting-groups>div{max-width:135px;padding:10px;gap:6px}.counting-dot{width:13px;height:13px}}@media(max-width:365px){.math-equation{gap:6px}.math-operand,.math-answer{width:56px;height:56px;padding:6px}.math-operator,.math-equals{font-size:1.15rem}}.geometry-shape,.object-picture{display:block;width:100%;height:100%}.visual-question{padding:28px}.visual-note{text-align:center;font-size:.875rem;line-height:1.6;color:#77698a}.visual-question h2{font-size:1rem;text-align:center;color:#716780;margin-bottom:18px}.visual-question .hinted{outline:3px solid #b78623;outline-offset:3px}.match-board{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 44px;max-width:620px;margin:auto}.match-lines{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.match-object,.match-target{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;padding:8px 12px;background:#faf9fd;border:2px solid #e2ddeb;border-radius:17px;min-width:0;min-height:90px;font-size:.875rem;line-height:1.3;touch-action:none}.match-object>.object-picture,.match-target>.geometry-shape{width:48px;height:48px;flex-shrink:0}.match-object.selected,.shape-target.selected,.coloring-target.selected{border:2px solid #8161bd;background:#f2ecfc;box-shadow:0 0 0 2px #eee8f9}.connection-tick{position:absolute;right:7px;top:7px;color:#40745d;font-weight:800}.remove-connection{display:flex;margin:18px auto 0}.layer-example{max-width:260px;margin:0 auto 20px}.layer-example>svg{width:100%;display:block}.layer-example .geometry-shape{width:61px;height:61px}.layer-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.layer-choice{min-height:90px;display:flex;flex-wrap:wrap;gap:8px;justify-content:center;align-items:center;background:#fff;border:2px solid #e0dbea;border-radius:18px;padding:13px}.layer-choice>.geometry-shape{width:48px;height:48px}.layer-choice[aria-pressed=true]{border-color:#8161bd;background:#f0eafa}.visual-code-table{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;padding:18px;background:#eeedf8;border-radius:19px;margin-bottom:25px}.shape-code-entry{display:flex;align-items:center;gap:8px;padding:9px 11px;border-radius:13px;background:#fff}.shape-code-entry>.color-swatch,.shape-code-entry>.geometry-shape{width:39px;height:39px;flex-shrink:0}.shape-targets{display:flex;flex-wrap:wrap;gap:15px;justify-content:center;margin:20px 0 28px}.shape-target{display:flex;flex-direction:column;align-items:center;gap:9px;min-width:110px;max-width:140px;min-height:128px;border:2px solid #e2ddeb;border-radius:17px;background:#faf9fc;padding:13px}.shape-target>svg{width:72px;height:72px}.shape-target small{font-size:.875rem;color:#6e617e}.visual-shape-palette,.visual-color-palette{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:24px}.visual-shape-key,.visual-color-key{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:80px;min-width:76px;max-width:135px;border:1px solid #dce1eb;border-bottom:3px solid #dce1eb;border-radius:16px;background:#fff;padding:10px;font-size:.875rem;line-height:1.4}.visual-shape-key>.geometry-shape{width:44px;height:44px}.visual-color-key>.color-swatch{width:44px;height:44px;flex-shrink:0}.visual-color-key[aria-pressed=true]{border:2px solid #8161bd;background:#eee8f9}.visual-copy-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:30px;align-items:start}.pixel-game{max-width:1100px}.pixel-tools{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:12px;color:#7b688e}.pixel-viewport{max-width:100%;overflow:auto;border-radius:9px;border:1px solid #dce2eb;background:#edf0f5;-webkit-overflow-scrolling:touch}.pixel-board{display:grid;max-width:none;gap:0;user-select:none;-webkit-user-select:none}.pixel-board.painting{touch-action:none}.pixel-board.reference{max-width:300px;margin:auto}.pixel-cell{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;width:44px;height:44px;padding:0;border:1px solid #cbd1dc;border-radius:0;aspect-ratio:1;font-size:.875rem;color:#fff;font-weight:750}.pixel-cell:disabled{opacity:1}.pixel-board.reference .pixel-cell{min-width:0;min-height:0;width:100%;height:auto;font-size:.7rem;aspect-ratio:1}.pixel-cell.hinted{outline:3px solid #b78623;outline-offset:-4px;z-index:1}.panning .pixel-board{touch-action:auto}.dot-viewport{max-width:100%;overflow:auto}.dot-board{display:block;width:100%;max-width:360px;min-width:304px;margin:auto;user-select:none;-webkit-user-select:none}.dot-board.interactive{touch-action:none}.dot-hit{cursor:pointer}.dot-hit:focus{stroke:#9e80c4;stroke-width:3}.dot-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:15px;margin:22px 0 0}.dot-tools p{font-size:.875rem;margin:0;max-width:500px}.coloring-code-entry{display:flex;align-items:center;gap:10px;background:#fff;padding:10px;border-radius:14px}.coloring-code-entry>.object-picture{width:54px;height:54px}.coloring-code-entry>.color-swatch{width:34px;height:34px}.coloring-targets{display:flex;flex-wrap:wrap;justify-content:center;gap:18px;margin:24px 0}.coloring-target{display:flex;flex-direction:column;align-items:center;gap:10px;min-width:130px;min-height:145px;padding:15px;border:2px solid #e2ddeb;border-radius:20px;background:#fbfafd;font-size:.875rem}.coloring-target>.object-picture{width:88px;height:88px}.visual-question button:disabled{opacity:.65}.visual-question .pixel-cell:disabled{opacity:1}@media(max-width:900px){.visual-copy-layout{grid-template-columns:1fr;gap:28px}.visual-question{padding:24px}.layer-example{max-width:230px}.visual-copy-layout>div{min-width:0}.pixel-game .pixel-viewport{max-width:100%}.pixel-game .pixel-board.reference{max-width:280px}.visual-copy-layout .pixel-viewport:not(.panning){scrollbar-width:auto}}@media(max-width:560px){.visual-question{padding:20px 14px}.match-board{gap:12px 34px}.match-object,.match-target{padding:8px;font-size:.875rem}.match-object>.object-picture,.match-target>.geometry-shape{width:44px;height:44px}.layer-example{max-width:210px}.layer-choices{gap:11px}.layer-choice{padding:11px;gap:5px;min-height:100px}.layer-choice>.geometry-shape{width:42px;height:42px}.visual-code-table{padding:14px 10px;gap:9px}.shape-code-entry{padding:8px;gap:6px}.shape-code-entry>.color-swatch,.shape-code-entry>.geometry-shape{width:31px;height:31px}.shape-target{min-width:104px;min-height:122px;padding:12px}.shape-targets{gap:12px}.shape-target>svg{width:64px;height:64px}.visual-shape-key{min-width:76px}.visual-color-key{max-width:100px;min-width:76px}.visual-copy-layout{gap:24px}.coloring-target{min-width:120px;min-height:137px;padding:13px}.coloring-target>.object-picture{width:78px;height:78px}.coloring-code-entry{padding:8px;gap:7px}.coloring-code-entry>.object-picture{width:44px;height:44px}.coloring-code-entry>.color-swatch{width:30px;height:30px}.dot-tools{gap:12px}.pixel-tools{flex-wrap:wrap}.visual-color-palette{gap:10px}}
