*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#faf9f6;color:#34354c;font-family:'Trebuchet MS','Segoe UI',Arial,sans-serif;line-height:1.5}button,input{font:inherit}button,a,input,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:default}button,a{touch-action:manipulation}a{color:#675090}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible{outline:3px solid #e6a52a;outline-offset:4px}button{border:0}h1,h2,p{margin-top:0}h1,h2{letter-spacing:-1px;line-height:1.16}h1{font-size:clamp(32px,4.8vw,58px)}h2{font-size:30px}.shell{max-width:1220px;margin:auto;padding:0 36px}header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:25px 0;border-bottom:1px solid #e9e6ed}.brand{display:flex;gap:11px;align-items:center;text-decoration:none;color:#36334b;font-size:25px;font-weight:900;letter-spacing:-1px;line-height:1.05}.brand small{display:block;font-size:9px;letter-spacing:1.7px;margin-top:7px;color:#8d839e}.brand-icon{display:grid;place-items:center;background:#ebe5f6;color:#7962a5;border-radius:14px;transform:rotate(-6deg);width:44px;height:44px;font-size:27px}nav{display:flex;gap:16px;align-items:center}nav button{background:none;font-size:13px;font-weight:700;color:#6e687c;padding:10px 4px}.sound{border:1px solid #dcd4e9;border-radius:11px;padding:9px 12px;background:#fff;color:#78609f}.eyebrow{font-size:10px;letter-spacing:1.6px;font-weight:800;color:#86759d;margin-bottom:16px}.eyebrow i{display:inline-block;width:7px;height:7px;background:#e9ae52;border-radius:50%;margin-right:7px}.hero{display:grid;grid-template-columns:1.15fr 1fr;align-items:center;min-height:490px;padding:45px 0 34px}.hero h1{margin-bottom:20px;max-width:520px}.hero h1 em{font-style:normal;display:block;color:#a16d65;font-size:1.3em}.lead{font-size:18px;line-height:1.75;color:#7b7584;margin-bottom:26px}.mode-picker{display:flex;width:max-content;border:1px solid #ddd5e8;background:#fff;border-radius:14px;padding:4px;gap:3px;margin-bottom:22px}.mode-picker button{min-width:117px;padding:9px 12px;background:none;color:#82758d;border-radius:10px;font-weight:800;font-size:14px}.mode-picker button span{display:block;font-size:11px;font-weight:400;margin-top:1px}.mode-picker .active{background:#ece6f5;color:#725b96}.hero-actions{display:flex;align-items:center;gap:14px}.button{display:inline-flex;justify-content:center;align-items:center;text-align:center;text-decoration:none;font-weight:800;font-size:15px;min-height:48px;padding:12px 22px;border-radius:13px;gap:17px;transition:transform .15s}.button:hover{transform:translateY(-2px)}.primary{background:#f2c35e;color:#493b2b;box-shadow:0 4px 0 #e5ad43}.primary span{font-size:21px}.purple{background:#7d67a7;color:#fff;box-shadow:0 3px #66508e}.light{background:#fff;border:1px solid #ded5ea;color:#75618f;box-shadow:0 2px 0 #eae5f1}.text-button{background:none;color:#827193;font-size:13px;font-weight:700;padding:12px 4px}.quiet{font-size:12px;color:#89818f;line-height:1.65;margin:20px 0 0}.hero-art{min-height:385px;position:relative;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse,#f0e8d8 0,transparent 65%)}.hero-mascot{width:305px;max-height:350px;object-fit:contain;position:relative;z-index:2;margin-top:38px;margin-left:25px;filter:drop-shadow(0 14px 13px #c3b69b24)}.letter-sun{position:absolute;width:135px;height:142px;border-radius:32px;background:#fff5dd;color:#a77460;box-shadow:0 5px 0 #e9d7b7;top:0;left:22px;transform:rotate(-9deg);font-size:76px;font-weight:900;text-align:center;z-index:1}.letter-sun span{font-size:57px}.star{position:absolute;color:#d8b35d;z-index:3}.star-one{right:18px;top:15px;font-size:36px;transform:rotate(15deg)}.star-two{left:12px;bottom:80px;font-size:24px}.speech{background:#fff;border:1px solid #e6dfee;box-shadow:0 3px #eee9f2;border-radius:16px;color:#86739d;font-weight:800;font-size:13px;padding:11px 17px}.hero-art .speech{position:absolute;right:0;bottom:12px;z-index:4;transform:rotate(3deg)}.resume{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 25px;background:#eee7f6;border-radius:18px;margin:10px 0 28px}.resume strong,.resume span{display:block}.resume strong{font-size:17px}.resume span{font-size:12px;color:#8b7c9f;margin-top:4px}.meet{display:flex;align-items:center;gap:20px;padding:23px 26px;background:#fff7e6;border:1px solid #f1e4c7;border-radius:19px;margin:0 0 42px}.meet h2{font-size:20px;letter-spacing:-.4px;margin-bottom:5px}.meet p{font-size:13px;color:#8c806d;margin:0}.meet .button{margin-left:auto;font-size:13px;flex-shrink:0}.vowel-mark{width:35px;height:35px;display:block;border-radius:50%;background:#da7973;box-shadow:inset 0 -3px #c76965;flex-shrink:0}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:23px}.section-heading h2{margin:0}.section-heading .eyebrow{margin-bottom:9px}.section-heading>p{font-size:12px;color:#9b8fa5;margin-bottom:3px}.stage-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.stage{display:flex;gap:12px;align-items:flex-start;text-align:left;border-radius:18px;min-height:157px;padding:22px 17px;border:1px solid #e2dbe9;position:relative;transition:transform .15s}.stage:hover{transform:translateY(-3px)}.lavender{background:#f0ebf8}.mint{background:#eaf3ec;border-color:#d9e7db}.peach{background:#fcf0e6;border-color:#f0dfd0}.sky{background:#eaf1f7;border-color:#d8e4ef}.stage-symbol{font-size:20px;font-weight:900;color:#8b729f;width:37px;flex-shrink:0}.stage-copy{display:block;padding-right:5px}.stage-copy small{display:block;font-size:8px;letter-spacing:1px;color:#9684a4;font-weight:800;margin-bottom:7px}.stage-copy strong{display:block;font-size:17px;line-height:1.3;margin-bottom:8px}.stage-copy>span{display:block;font-size:12px;color:#8d8294;line-height:1.6}.stage>b{position:absolute;right:13px;bottom:10px;color:#a090af;font-size:18px}.bottom-note{display:flex;align-items:center;gap:14px;padding:21px 23px;margin-top:25px;color:#8c7d9a;font-size:22px;border-radius:15px;background:#f2eef6}.bottom-note p{font-size:12px;margin:0}footer{padding:30px 0;display:flex;justify-content:space-between;color:#aaa0b2;font-size:10px;gap:20px;margin-top:14px}.game-top{margin:27px 0 15px;display:flex;align-items:center;justify-content:space-between;font-size:14px;color:#8b7d9b}.game-top .button{font-size:13px;min-height:40px;padding:8px 16px}.progress{height:7px;border-radius:8px;background:#eae4f0;overflow:hidden;margin-bottom:28px}.progress>span{display:block;background:#b19bc8;height:100%;border-radius:8px}.play-layout{display:grid;grid-template-columns:minmax(0,1fr) 235px;gap:30px;align-items:start}.play-card{background:#fff;border:1px solid #e5dfeb;border-radius:25px;padding:30px;text-align:center;box-shadow:0 5px #efebf3}.play-card h1{font-size:30px;letter-spacing:-.7px;margin-bottom:9px}.play-card .eyebrow{font-size:9px;margin-bottom:14px}.task-context{font-size:14px;color:#83758e;margin:10px 0}.listen-task{margin:0 0 15px}.letter-sample{color:#9a8ba8;font-size:12px;margin-bottom:20px}.letter-sample b{display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;width:48px;height:55px;background:#faf2df;border-radius:12px;color:#ad7f5d;font-size:36px;margin-left:9px}.choices{display:grid;gap:13px}.letter-grid{grid-template-columns:repeat(4,1fr);padding:0 28px}.choice{background:#f8f6fb;border:2px solid #e5deee;border-radius:17px;position:relative;transition:background .15s,transform .15s}.choice:hover:not(:disabled){background:#eee7f6;transform:translateY(-2px)}.choice.selected{border-color:#9072b0;background:#eee5fa;box-shadow:0 3px #d7c6eb}.letter-choice{font-weight:800;font-size:46px;min-height:89px;color:#645773;line-height:1.2}.letter-choice small{position:absolute;right:5px;top:3px;font-size:15px;color:#8c6dac}.selection-note{font-size:12px;color:#9c90a7;margin:17px 0 7px}.picture-grid{grid-template-columns:repeat(3,1fr);gap:14px}.image-choice{padding:14px 12px 23px;width:100%;height:152px;background:#fff}.image-choice img{width:100%;height:100%;object-fit:contain}.pick-mark{position:absolute;right:5px;bottom:5px;display:grid;place-items:center;background:#f1edf6;border-radius:50%;color:#8f7b9e;font-size:14px;width:22px;height:22px}.selected .pick-mark{background:#9276b0;color:white}.word-audio{font-size:12px;background:none;padding:8px 3px;color:#8b789d;min-height:39px}.picture-label{display:block;font-size:13px;color:#756880}.word-picture{display:flex;align-items:center;flex-direction:column;gap:8px;margin:0 0 24px}.word-picture img{height:160px;width:220px;max-width:100%;object-fit:contain}.word-picture .button{font-size:12px;padding:7px 12px;min-height:36px}.revealed-word{font-size:19px;color:#74618a}.position-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.position{padding:20px 6px;font-size:15px;font-weight:700;display:flex;align-items:center;flex-direction:column;gap:16px}.sound-track{display:flex;gap:6px;border-bottom:2px solid #b1a6bd;padding-bottom:7px}.sound-track i{width:17px;height:17px;background:#e5dfeb;display:block;border-radius:50%}.sound-track .red{background:#db7b74}.plain-grid{grid-template-columns:repeat(2,120px);justify-content:center;margin-top:23px}.case-display{font-size:37px;font-weight:800;color:#8f6e9c;padding:17px;background:#f8f4fc;border-radius:15px}.oral-rows{background:#f8f5fc;padding:17px;border-radius:18px;margin:8px 0 20px;font-size:43px;line-height:1.7;font-weight:800;color:#8d7d9c;letter-spacing:3px}.loud{color:#806399;font-size:1.12em}.soft{color:#9f8ab3;font-size:.85em}.oral-note{font-size:14px;color:#867493;margin:15px 0}.adult-check{font-size:12px;text-align:left;background:#faf8fc;border:1px dashed #cbbdd9;border-radius:12px;padding:12px;margin-top:20px;color:#7c6b8c}.adult-check summary{cursor:pointer;font-weight:700}.adult-check p{margin:12px 0}.adult-check>div{display:flex;gap:9px;flex-wrap:wrap}.adult-check .button{font-size:12px;padding:9px 10px;gap:4px}.sentence-picture img{width:210px;height:150px;object-fit:contain}.sentence-slots{display:flex;gap:9px;align-items:center;justify-content:center;flex-wrap:wrap;min-height:76px;background:#f6f1fc;border:1px dashed #ccb8e1;border-radius:13px;padding:12px;margin:15px 0 18px}.sentence-slots>span{font-size:14px;color:#a08daf}.word-chip{padding:13px 19px;border:1px solid #cdbfe0;background:#fff;box-shadow:0 3px #e0d6ed;border-radius:11px;font-size:22px;color:#735c8f;font-weight:800}.word-chip:disabled{opacity:.45}.sentence-slots .word-chip:disabled{opacity:1}.word-chip small{font-size:15px;font-weight:400;color:#a695b8}.word-options{display:flex;justify-content:center;gap:15px;flex-wrap:wrap}.word-options>span{display:flex;gap:5px;align-items:center}.chunk-audio{width:39px;height:44px;border-radius:10px;background:#f2ecf8;color:#8b70a7;font-size:20px}.hint{display:flex;gap:10px;align-items:center;text-align:left;background:#fff6dc;border:1px solid #edddb7;border-radius:14px;padding:14px;color:#9c7d42;margin:19px 0;font-size:14px}.feedback{min-height:30px;margin:19px 0 13px;font-size:14px;font-weight:700;border-radius:12px;padding:8px;color:#8c7a9c}.feedback.good{color:#68856b;background:#edf5ed}.feedback.retry{color:#a27b40;background:#fff7e7}.task-actions{display:flex;gap:10px;align-items:center;justify-content:center;flex-wrap:wrap}.task-actions .button{font-size:14px}.skip{font-size:12px;margin-left:5px}.companion{text-align:center;padding-top:35px}.side-mascot{width:100%;height:240px;object-fit:contain}.companion .speech{margin:5px 0 24px;display:block;font-size:12px;padding:10px}.mini-route{display:flex;gap:5px;justify-content:center;flex-wrap:wrap;max-width:165px;margin:auto}.mini-route span{display:grid;place-items:center;border-radius:50%;background:#eee7f3;color:#a496ae;font-size:10px;width:24px;height:24px}.mini-route .current{background:#8c70aa;color:#fff;box-shadow:0 0 0 3px #e4d9ee}.result,.history{padding-top:35px}.result-hero{display:flex;align-items:center;gap:20px;background:#f0eaf8;border-radius:23px;padding:24px 35px}.result-hero>div{flex:1}.result-hero h1{font-size:36px}.result-hero p:last-child{color:#8e7d9e;font-size:15px;margin-bottom:0}.result-mascot{width:170px;height:190px;object-fit:contain}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin:25px 0 18px}.stats>div{padding:22px;background:#fff;border:1px solid #e6dfed;border-radius:18px;text-align:center}.stats b{display:block;color:#8b6dab;font-size:38px;line-height:1.3;margin-bottom:8px}.stats span{font-size:12px;color:#95839f;line-height:1.6}.result-note{font-size:13px;color:#83728f}.oral-result{display:flex;justify-content:space-between;gap:15px;background:#f1f4eb;padding:17px 20px;border-radius:15px;font-size:13px;color:#738268}.result-actions{display:flex;align-items:center;gap:13px;flex-wrap:wrap;margin:26px 0}.result-details,.modal details{border-top:1px solid #e7e0ed;padding:17px 0;color:#83738f;font-size:13px}.result-details summary,.modal summary{cursor:pointer;font-weight:800;color:#776086}.result-details p{margin:15px 0}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px}td,th{text-align:left;padding:11px 8px;border-bottom:1px solid #ede7f2}th{color:#77608e;white-space:nowrap}.history h1{font-size:36px;max-width:700px}.history-list{margin:25px 0;display:grid;gap:10px}.history-list>button{display:flex;justify-content:space-between;gap:15px;text-align:left;background:#fff;border:1px solid #e6deef;border-radius:15px;padding:18px 20px;color:#877397}.history-list small{display:block;margin-top:5px;color:#a391af;font-size:11px}.overlay{position:fixed;inset:0;background:#35304369;z-index:10;display:grid;place-items:center;padding:22px;backdrop-filter:blur(4px)}.modal{background:#fcfbfe;border:1px solid #e3d8ec;border-radius:24px;padding:35px;position:relative;width:100%;max-width:620px;max-height:90dvh;overflow:auto;box-shadow:0 15px 80px #39314224}.modal h2{font-size:29px}.modal>p{color:#8a7a96;font-size:14px}.close{position:absolute;right:14px;top:12px;font-size:25px;background:none;color:#9b89a8;width:35px;height:35px}.modal-actions{display:flex;gap:15px;flex-wrap:wrap;margin-top:24px}.learner-label{display:block;font-size:12px;color:#8a7896;margin-bottom:15px}.learner-label input{display:block;width:100%;padding:12px;margin-top:8px;border:1px solid #dcd0e7;background:#fff;border-radius:11px;color:#6f597f}.modal>.button{margin-bottom:20px}.modal details p{line-height:1.8;margin:13px 0 0}.html-download{margin-top:15px}.notice{padding:15px 18px;background:#fff1d6;border:1px solid #ead3a8;color:#8e723c;border-radius:14px;font-size:13px;margin:20px 0}.skip-link{position:fixed;top:-100px;left:10px;background:#fff;z-index:50;padding:12px}.skip-link:focus{top:10px}[hidden]{display:none!important}
@media(max-width:1000px){.shell{padding:0 24px}.hero{grid-template-columns:1fr .9fr}.hero-mascot{width:260px}.hero-art{min-height:340px}.letter-sun{width:110px;height:120px;font-size:65px;left:0}.letter-sun span{font-size:47px}.play-layout{grid-template-columns:minmax(0,1fr) 180px;gap:20px}.stage-grid{grid-template-columns:repeat(2,1fr)}.stage{min-height:143px}.play-card{padding:25px 20px}.side-mascot{height:205px}nav{gap:11px}.hero-actions{gap:9px}.hero-actions .button{padding:12px 16px}}
@media(max-width:700px){.shell{padding:0 17px}header{flex-wrap:wrap;padding:20px 0 14px;gap:14px}.brand{font-size:23px}nav{width:100%;justify-content:space-between;gap:4px}nav button{font-size:11px;padding:8px 2px}.sound{padding:7px 8px}.hero{grid-template-columns:1fr;position:relative;min-height:0;padding:33px 0 25px}.hero-copy{position:relative;z-index:3}.hero h1{font-size:40px;max-width:280px;margin-bottom:16px}.hero h1 em{font-size:1.15em}.lead{font-size:14px;max-width:215px;line-height:1.8;margin-bottom:22px}.hero-art{position:absolute;right:0;top:82px;width:130px;min-height:170px;pointer-events:none;background:none}.hero-mascot{width:130px;max-height:170px;margin:0}.letter-sun,.hero-art .speech,.star-two{display:none}.star-one{font-size:20px;right:3px;top:-8px}.hero-actions{flex-wrap:wrap}.hero-actions .button{font-size:14px}.mode-picker button{min-width:100px;font-size:13px}.hero>.quiet{font-size:11px}.meet{padding:17px;gap:12px;align-items:flex-start;flex-wrap:wrap;margin-bottom:30px}.meet h2{font-size:18px}.meet p{font-size:12px}.meet>div{flex:1;min-width:200px}.meet .button{margin-left:47px;padding:8px 13px;min-height:38px;font-size:12px}.vowel-mark{width:27px;height:27px}.section-heading{display:block}.section-heading h2{font-size:26px}.section-heading>p{margin-top:9px}.stage-grid{grid-template-columns:1fr;gap:10px}.stage{min-height:111px;padding:17px}.stage-symbol{width:38px;font-size:24px}.stage-copy strong{font-size:17px;margin-bottom:4px}.stage-copy>span{font-size:12px}.stage-copy small{font-size:8px;margin-bottom:5px}.stage>b{right:18px;bottom:15px}.bottom-note{padding:15px}.bottom-note p{font-size:11px}.resume{padding:17px;gap:10px}.resume strong{font-size:14px}.resume span{font-size:10px}.resume .button{font-size:12px;padding:10px 12px;min-height:43px;white-space:nowrap}.play-layout{display:flex;flex-direction:column;gap:10px}.play-card{width:100%;padding:23px 13px;border-radius:20px}.play-card h1{font-size:25px}.companion{display:flex;align-items:center;width:100%;padding:0;gap:10px}.side-mascot{width:70px;height:85px}.companion .speech{font-size:11px;padding:8px;margin:0;flex:1}.companion .mini-route,.companion .quiet{display:none}.letter-grid{gap:10px;padding:0 3px}.letter-choice{font-size:37px;min-height:70px;border-radius:13px}.picture-grid{grid-template-columns:repeat(2,1fr);gap:11px}.image-choice{height:140px;padding:13px 12px 22px}.position-grid{gap:6px}.position{font-size:12px;padding:18px 2px}.sound-track i{width:14px;height:14px}.sound-track{gap:4px}.task-actions{gap:9px}.task-actions .button{font-size:13px;padding:11px 15px;gap:6px;min-height:44px}.task-actions .skip{padding:10px 3px;margin-left:0}.oral-rows{font-size:32px;letter-spacing:1px;padding:13px 6px}.adult-check .button{width:100%;font-size:12px}.word-chip{font-size:19px;padding:11px 14px}.case-display{font-size:31px}.result-hero{padding:22px 18px;gap:0}.result-hero h1{font-size:27px}.result-mascot{width:85px;height:120px}.result-hero p:last-child{font-size:12px}.result-hero .eyebrow{font-size:8px}.stats{gap:7px;margin-top:18px}.stats>div{padding:16px 5px;border-radius:13px}.stats b{font-size:30px}.stats span{font-size:10px}.result-note{font-size:12px}.oral-result{display:block;padding:14px;font-size:12px}.oral-result>span{display:block;margin-top:8px}.result-actions{gap:10px}.result-actions .button{font-size:12px;padding:10px 12px}.history h1{font-size:29px}.history-list>button{font-size:12px;padding:16px 13px}.modal{padding:30px 20px}.modal h2{font-size:25px}.overlay{padding:12px}footer{font-size:9px;padding:20px 0}.game-top{margin-top:19px}.game-top>span{font-size:12px}.hint{font-size:12px;padding:12px}.feedback{font-size:12px}.result-details{font-size:12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media print{header,footer,.result-actions,.result-details summary,.companion,.overlay,.skip-link{display:none!important}.shell{max-width:none;padding:0}.result{padding:0}.result-details{display:block}.result-details>*{display:block!important}.result-mascot{width:100px;height:100px}.result-hero{background:white;border:1px solid #ddd}.stats>div{padding:8px}.table-scroll{overflow:visible}table{font-size:10px}td,th{padding:5px}}

/* Shared sound symbols: the user's chosen convention. */
.rose{background:#fae9e9;border-color:#ebd4d4}.sound-legend{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:-22px 0 35px;padding:18px 22px;background:#fff;border:1px solid #e5dfeb;border-radius:16px}.sound-legend>div{display:flex;gap:11px;align-items:center}.sound-legend strong{display:block;font-size:13px}.sound-legend small{display:block;color:#8b8195;font-size:11px}.sound-token{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;font-weight:900;font-size:25px;flex-shrink:0}.sound-token.red{background:#d85e65;color:#fff;font-size:0}.sound-token.hard,.sound-token.soft{background:transparent;color:#315cb6;border-radius:0;font-size:0;position:relative}.sound-token.hard::before,.sound-token.soft::before{content:"";display:block;width:30px;height:4px;background:currentColor;border-radius:1px}.sound-token.soft::before{transform:translateY(-5px);box-shadow:0 10px 0 currentColor}.vowel-song{font-size:49px;color:#c85c64;font-weight:900;background:#fff0ef;border-radius:18px;padding:22px 10px;margin:10px 0 18px;letter-spacing:3px}.singing-vowel{color:#c85c64;background:#fff0ef}.singing-vowel .loud,.singing-vowel .soft{color:#c85c64;font-size:1em}.vowel-choices{display:flex;justify-content:center;gap:15px;flex-wrap:wrap;margin:25px 0 20px}.vowel-choice{display:flex;align-items:center;justify-content:center;gap:12px;min-height:84px;min-width:155px;padding:18px;font-weight:800;font-size:20px}.color-question{color:#95819e;font-size:14px;margin-top:16px}.play-card .sound-legend{margin:20px 0 0;justify-content:center;padding:15px;gap:13px}.play-card .sound-legend>div{flex:1;min-width:130px}.play-card .sound-legend strong{font-size:11px}.play-card .sound-legend small{font-size:10px}
@media(max-width:700px){.sound-legend{margin:-13px 0 30px;gap:13px;padding:15px}.sound-legend>div{width:100%}.sound-token{width:34px;height:34px;font-size:23px}.vowel-song{font-size:37px;letter-spacing:2px}.vowel-choice{font-size:17px;min-width:0;flex:1;padding:14px 10px;min-height:76px;gap:7px}.vowel-choices{gap:10px}.vowel-choices:has(.sound-token){flex-direction:column}.vowel-choices:has(.sound-token) .vowel-choice{justify-content:flex-start;padding-left:25px}.play-card .sound-legend{flex-direction:column;gap:11px}}
/* Letter fragments and a keyboard/touch puzzle. */
.a-fragment{margin:7px auto 20px}.a-fragment-window{position:relative;width:180px;height:180px;background:#f5f0fa;border:1px dashed #cdbdde;border-radius:20px;display:grid;place-items:center;margin:auto}.a-fragment-glyph{display:block;font-family:Arial,sans-serif;font-size:160px;line-height:180px;font-weight:700;color:#82669e;width:180px;height:180px}.a-fragment-glyph.upper-top{clip-path:inset(12% 0 15% 38%)}.a-fragment-glyph.upper-middle{clip-path:inset(40% 22% 18% 22%)}.a-fragment-glyph.lower-right{clip-path:inset(22% 0 9% 43%)}.a-fragment-glyph.lower-left{clip-path:inset(24% 43% 9% 0)}.revealed .a-fragment-glyph{clip-path:none!important}.a-fragment figcaption{font-size:12px;color:#9684a4;margin-top:9px}.fragment-choices{display:grid;grid-template-columns:repeat(3,100px);gap:15px;justify-content:center}.puzzle-board{--tile:110px;display:grid;grid-template-columns:repeat(2,114px);gap:4px;justify-content:center;margin:18px auto 12px}.puzzle-slot{padding:0;background:#faf5e9;border:2px dashed #e5d5b0;border-radius:8px;width:114px;height:114px;display:grid;place-items:center;overflow:hidden}.puzzle-slot.can-place{border-color:#a28bb9;background:#f3ecfa}.slot-number{color:#c6b99d;font-size:15px}.piece-window{--tile:110px;display:block;position:relative;width:var(--tile);height:var(--tile);overflow:hidden;background:#fff}.piece-glyph{position:absolute;left:calc(var(--column) * var(--tile) * -1);top:calc(var(--row) * var(--tile) * -1);display:block;width:calc(var(--tile) * 2);height:calc(var(--tile) * 2);font-family:Arial,sans-serif;font-weight:700;font-size:calc(var(--tile) * 1.9);line-height:calc(var(--tile) * 2);text-align:center;color:#82669e}.puzzle-step{font-size:14px;color:#887199;margin:18px 0}.puzzle-tray{display:grid;grid-template-columns:repeat(4,88px);gap:12px;justify-content:center}.puzzle-piece{padding:4px;border:2px solid #dfd2eb;border-radius:10px;background:white;display:grid;place-items:center;min-height:88px}.puzzle-piece .piece-window{--tile:76px}.puzzle-piece.chosen{border-color:#84659e;box-shadow:0 0 0 3px #e4d6f0}.puzzle-piece:disabled{opacity:.3}.puzzle-reference{display:flex;align-items:center;justify-content:center;gap:20px;color:#a58ab8;margin:5px 0}.puzzle-reference small{font-size:12px}.puzzle-reference>span{font-family:Arial,sans-serif;font-size:75px;font-weight:700;line-height:1.1}.puzzle-slot:disabled .piece-window{background:#f3edf8}.letter-sample b{white-space:nowrap;min-width:48px;width:auto;padding:0 10px}
@media(max-width:700px){.fragment-choices{grid-template-columns:repeat(3,75px);gap:12px}.puzzle-tray{grid-template-columns:repeat(4,62px);gap:8px}.puzzle-piece .piece-window{--tile:50px}.puzzle-piece{min-height:62px;padding:3px}.a-fragment-window{width:160px;height:160px}.a-fragment-glyph{width:160px;height:160px;font-size:145px;line-height:160px}}

.star-count{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;border-radius:14px;background:#fff0bd;color:#886614;padding:8px 15px;font-size:22px;font-weight:bold}
.earned-stars{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;max-width:190px;margin:18px auto;color:#ded7e7;font-size:25px}.earned-stars .earned{color:#d5a51e}
.reward-total{display:inline-flex;align-items:center;gap:13px;margin:16px 0 5px;background:#fff0bd;color:#806018;padding:14px 22px;border-radius:17px;font-size:19px}.reward-total b{font-size:35px}.reward-total .reward-icon{font-size:40px}
.game-top{gap:12px;flex-wrap:wrap}.feedback.good{font-weight:bold}
@media(max-width:600px){.star-count{font-size:19px;padding:7px 12px}.game-top .button{padding:10px 13px}.reward-total{font-size:17px}}

/* Three reading routes, matching the newer adventures. */
.route-section{margin:25px 0 28px}.reading-levels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.reading-level{display:flex;flex-direction:column;gap:8px;text-align:left;border:2px solid #e3dbe9;border-radius:19px;background:#fff;padding:22px;min-height:150px}.reading-level strong{font-size:22px;line-height:1.3}.reading-level span{font-size:16px;line-height:1.5;color:#6b6377}.reading-level small{font-size:15px;color:#705394;font-weight:bold;margin-top:auto}.reading-level.selected{background:#eee5f7;border-color:#9271b4;box-shadow:0 3px 0 #d4c3e6}.route-start{display:flex;gap:15px;margin-top:22px}.reading-display{font-size:36px;font-weight:bold;line-height:1.6;white-space:pre-line;overflow-wrap:break-word;margin:22px auto 26px;color:#5f467f}.reading-display.sentence{font-size:31px;color:inherit}.reading-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:26px 0 18px}.reading-option{display:flex;flex-direction:column;gap:7px;align-items:center;min-width:0}.reading-option>.choice{position:relative;width:100%;height:150px;min-height:80px}.reading-option>.reading-choice{height:auto;min-height:85px;font-size:24px;padding:15px;line-height:1.4}.reading-option>.choice img{max-width:100%;max-height:100%;object-fit:contain}.reading-options .picture-cluster{height:100%;width:100%}.reading-pick{position:absolute;top:5px;right:9px;font-size:18px;color:#705394}.route-name{display:block;font-size:14px;color:#6b6377;margin:8px 0}.route-note{font-size:15px;color:#6b6377;text-align:center}
@media(max-width:700px){.reading-levels{grid-template-columns:1fr;gap:11px}.reading-level{min-height:0;display:grid;grid-template-columns:1fr auto;padding:17px}.reading-level strong{font-size:20px}.reading-level span{font-size:15px;grid-column:1}.reading-level small{grid-column:2;grid-row:1/3;align-self:center}.reading-display{font-size:29px}.reading-display.sentence{font-size:27px}.reading-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.reading-option>.choice{height:135px}.reading-option>.reading-choice{font-size:22px;min-height:80px}.route-start{justify-content:center}}
