:root{--ink:#342c4e;--muted:#756f81;--paper:#fffbee;--cream:#f8f5e9;--mint:#abd7be;--mint-dark:#416b58;--pink:#efb5b9;--lav:#d3c3ed;--blue:#b9d8e7;--yellow:#f6cf75;--border:2px solid var(--ink);--shadow:4px 4px 0 var(--ink);--font:ui-rounded,'Arial Rounded MT Bold','Apple SD Gothic Neo','Malgun Gothic',system-ui,sans-serif;--pixel:ui-monospace,'Courier New',monospace}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:var(--font);background-color:var(--cream);background-image:radial-gradient(#cbcbbd 0.6px,transparent 0.6px);background-size:12px 12px;line-height:1.5;font-size:16px}button,select,input{font:inherit}button{color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}button:disabled{cursor:not-allowed;opacity:.48}button:focus-visible,select:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid #8656af;outline-offset:5px}button svg{pointer-events:none}button:active:not(:disabled){transform:translate(2px,2px);box-shadow:1px 1px 0 var(--ink)}a{color:#655081}svg{display:block}h1,h2,h3,p{margin:0}button{border:0;background:none}button,h1,h2,h3{-webkit-font-smoothing:antialiased}button .pixel-icon{width:21px;height:21px;flex-shrink:0}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.shell{max-width:1120px;margin:auto;padding:0 36px}.nav{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:94px;border-bottom:1px solid #d6d2c6}.brand{display:flex;align-items:center;gap:10px;padding:0;min-height:48px;text-align:left}.brand-icon{display:grid;place-items:center;width:42px;height:44px;background:var(--mint);border:var(--border);box-shadow:2px 2px 0 var(--ink)}.brand-icon .pixel-icon{width:27px;height:34px}.brand-name{font:900 19px/1 var(--pixel);letter-spacing:-1px}.brand-sub{display:block;font-size:10px;letter-spacing:1.2px;color:var(--muted);margin-top:5px}.nav-actions{display:flex;align-items:center;gap:10px}.plain-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #c3bdcc;background:#fffcef;padding:9px 13px;min-height:42px;font-size:13px;border-radius:8px}.lang-btn{font-family:var(--pixel);font-weight:700}.settings-btn .pixel-icon{width:16px;height:16px}.hero{display:grid;grid-template-columns:1fr 1.04fr;gap:36px;padding:44px 0 36px;align-items:center}.eyebrow{display:flex;align-items:center;gap:8px;font-size:10px;font-family:var(--pixel);font-weight:700;letter-spacing:1.5px}.dot{width:7px;height:7px;background:#78a589;box-shadow:2px 2px 0 #c4d8b6}.hero h1{font:900 clamp(43px,5.9vw,69px)/.95 var(--pixel);letter-spacing:-5px;margin:17px 0 20px;text-shadow:3px 3px 0 #dccfef}.hero h1 span{color:#748f72;text-shadow:3px 3px 0 #d0dfb6}.hero-copy{font-weight:700;font-size:18px;line-height:1.65;letter-spacing:-.6px}.hero-fine{font-size:12px;color:var(--muted);margin-top:10px}.hero-fine span+span:before{content:'·';margin:0 8px}.console{border:var(--border);border-radius:14px;background:#d8ccec;padding:14px;box-shadow:6px 6px 0 var(--ink);position:relative;transform:rotate(1deg)}.console-top{display:flex;justify-content:space-between;gap:12px;align-items:center;font:700 9px var(--pixel);letter-spacing:1px;margin:2px 1px 10px}.led{width:6px;height:6px;background:#f6a2ad;display:inline-block;margin-right:5px}.screen-wrap{overflow:hidden;border:2px solid var(--ink);border-radius:4px;position:relative}.screen-wrap:after{content:'';pointer-events:none;position:absolute;inset:0;background:repeating-linear-gradient(transparent,transparent 3px,#342c4e08 3px,#342c4e08 4px)}.island-scene{width:100%;display:block}.console-bottom{display:flex;align-items:center;justify-content:space-between;padding:12px 9px 2px}.dpad{width:44px;height:44px;position:relative}.dpad:before{content:'';position:absolute;left:14px;top:0;width:16px;height:44px;background:#615270;border:1px solid var(--ink)}.dpad:after{content:'';position:absolute;left:0;top:14px;width:44px;height:16px;background:#615270;border:1px solid var(--ink)}.console-caption{font:700 8px var(--pixel);letter-spacing:2px;color:#6e5e84}.pad-buttons{display:flex;gap:10px;transform:rotate(-20deg)}.pad-buttons i{display:block;width:22px;height:22px;border-radius:50%;border:var(--border);background:#eaa8ac;box-shadow:1px 2px 0 var(--ink)}.section-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:10px 0 16px}.section-kicker{font-size:10px;letter-spacing:1.7px;font-family:var(--pixel);font-weight:700;color:#847691}.section-head h2{font-size:20px;font-weight:800;letter-spacing:-.5px;margin-top:3px}.mini-tag{font-size:11px;color:var(--muted);border:1px solid #c8c1cf;padding:4px 9px;border-radius:20px;white-space:nowrap}.mode-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.mode-card{display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:17px 15px 15px;background:var(--paper);border:var(--border);box-shadow:3px 3px 0 #c8c0cc;border-radius:9px;position:relative;transition:transform .16s,box-shadow .16s;min-height:180px}.mode-card:hover{transform:translateY(-3px);box-shadow:4px 6px 0 #b4acbd}.mode-card.selected{box-shadow:4px 4px 0 var(--ink);background:#e9f1df}.mode-card.green{--accent:#acd1b1}.mode-card.purple{--accent:#d4c1e8}.mode-card.peach{--accent:#efc2a6}.mode-card.blue{--accent:#b9dbe5}.mode-icon{display:grid;place-items:center;width:58px;height:58px;background:var(--accent);border:1px solid var(--ink);border-radius:8px;margin-bottom:12px}.mode-icon .pixel-icon{width:35px;height:35px}.world-num{position:absolute;right:13px;top:13px;font:10px var(--pixel);color:#81738e}.select-dot{position:absolute;right:14px;top:47px;display:grid;place-items:center;border:1px solid #a99eae;background:var(--paper);border-radius:50%;width:19px;height:19px}.selected .select-dot{background:var(--ink);border-color:var(--ink);color:var(--paper)}.select-dot .pixel-icon{width:11px;height:11px}.mode-card strong{font-size:14px;line-height:1.25}.mode-card .mode-ko{font-size:12px;margin-top:5px;color:#6c607b}.mode-card .skill{font-size:10px;color:#7f7687;margin-top:7px}.launch-bar{margin-top:26px;display:flex;align-items:center;justify-content:space-between;gap:18px;background:var(--paper);border:1px solid #cfc8d4;border-radius:10px;padding:18px 20px}.launch-text{display:flex;align-items:center;gap:12px}.launch-text .pixel-icon{width:30px;height:37px}.launch-text strong{display:block;font-size:13px}.launch-text small{font-size:11px;color:var(--muted)}.primary-btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;background:var(--pink);border:var(--border);box-shadow:var(--shadow);border-radius:7px;padding:13px 20px;min-height:50px;font-weight:800;font-size:14px;white-space:nowrap}.primary-btn .pixel-icon{width:17px;height:17px}.primary-btn.green{background:var(--mint)}.footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:28px 0 22px;font-size:10px;color:#867c8b}.footer strong{letter-spacing:1px;font-family:var(--pixel);font-size:9px;color:#71677a}.footer button{font-size:11px;color:#655977;min-height:35px;text-decoration:underline;text-underline-offset:3px}.small-stars{letter-spacing:4px;color:#d2b475}.game-area{padding:25px 0 5px}.game-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.back-btn{font-size:12px;display:flex;align-items:center;gap:7px;min-height:44px}.back-btn .pixel-icon{width:16px;height:16px}.game-mode-label{font-size:10px;font-family:var(--pixel);font-weight:700;letter-spacing:1px}.round-tag{background:#fff3d7;border:1px solid #bdac88;border-radius:8px;padding:7px 11px;font-size:12px;white-space:nowrap}.round-tag b{font-family:var(--pixel);font-size:17px}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:22px;align-items:start}.game-cabinet{background:var(--paper);border:var(--border);border-radius:13px;box-shadow:5px 5px 0 var(--ink);overflow:hidden}.cabinet-header{background:#ddd2ec;display:flex;justify-content:space-between;padding:10px 17px;border-bottom:var(--border);font:700 10px var(--pixel);letter-spacing:1px}.progress-lights{display:flex;gap:5px;align-items:center}.progress-lights span{width:8px;height:8px;background:#f5ebdc;border:1px solid #786782}.progress-lights span.complete{background:#95cbb1}.game-content{padding:22px 24px 19px;text-align:center}.level-kicker{font-size:10px;font-family:var(--pixel);letter-spacing:1px;color:#8a7694;margin-bottom:5px}.game-content h1{font-size:24px;letter-spacing:-.8px;line-height:1.35}.game-prompt{font-size:13px;margin-top:7px;color:var(--muted);min-height:20px}.listening-stage{display:flex;justify-content:center;align-items:center;gap:22px;padding:18px 0 14px;min-height:131px}.target-illustration{width:88px;height:88px;display:grid;place-items:center;border:2px solid #d5cbb4;background:#fff5d6;border-radius:16px}.target-illustration .pixel-icon{width:60px;height:60px}.target-illustration.mystery{background:#e9ddf3;border-color:#c7b5d8;color:#79618d;font-family:var(--pixel);font-size:52px;font-weight:800}.listen-main{display:flex;align-items:center;justify-content:center;gap:10px;background:var(--mint);border:var(--border);border-radius:9px;box-shadow:3px 3px 0 var(--ink);min-height:56px;padding:12px 21px;font-weight:800;font-size:15px;min-width:175px}.listen-main .pixel-icon{width:23px;height:23px}.listen-main.playing{animation:soft-pulse 1s infinite;background:#bee1cc}.listen-tools{display:flex;justify-content:center;gap:15px;font-size:11px;margin-top:10px}.text-control{color:#6f5d7f;font-size:11px;min-height:30px;text-decoration:underline;text-underline-offset:3px;padding:0 2px}.slow-control{border:1px solid #a9a092;border-radius:6px;padding:3px 7px;min-height:30px;font-size:11px;background:#fff8e7}.slow-control.active{background:#d9e8d0;border-color:#739480}.choice-hint{font-size:11px;color:#867c89;margin:0 0 11px}.choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.choice{background:#fffcef;border:var(--border);border-radius:10px;overflow:hidden;box-shadow:2px 2px 0 #d8cfca;position:relative}.choice.correct{background:#e0edda;border-color:#618267}.choice.tried{border-color:#c7acaf;background:#fff8f4}.choice-btn{width:100%;min-height:120px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;position:relative;padding:15px 8px 9px}.choice-btn .pixel-icon{width:68px;height:68px;transition:transform .15s}.choice-btn:hover:not(:disabled) .pixel-icon{transform:translateY(-3px)}.choice-num{position:absolute;top:7px;left:9px;font-family:var(--pixel);font-size:10px;color:#9b8f9b}.choice-select-text{font-size:10px;color:#807281}.choice-speaker{border-top:1px solid #d8cdc3;background:#f3eee3;width:100%;min-height:38px;display:flex;justify-content:center;align-items:center;gap:6px;font-size:11px}.choice-speaker .pixel-icon{width:15px;height:15px}.choice.correct .choice-speaker{background:#d5e6ce}.feedback{border:1px solid #e0d6c6;background:#f5f0e4;border-radius:8px;min-height:52px;margin-top:18px;display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 13px;font-size:13px;line-height:1.5}.feedback.good{background:#e4f0dd;border-color:#a9c59e}.feedback.retry{background:#fcf0dc;border-color:#dec699}.feedback .pixel-icon{width:23px;height:23px}.next-row{display:flex;justify-content:center;margin-top:15px}.next-row .primary-btn{min-height:46px;padding:9px 20px}.side-panel{background:#f4f0e4;border:1px solid #ccc4c6;border-radius:11px;padding:17px}.side-panel h2{font:700 11px var(--pixel);letter-spacing:1px}.side-panel .screen-wrap{border-color:#8a967c;margin:12px 0}.side-panel .island-scene{height:130px;object-fit:cover}.side-status{font-size:12px;color:#726a7c;display:flex;justify-content:space-between}.helper-card{display:flex;gap:12px;margin-top:20px;padding-top:18px;border-top:1px dashed #c8bbc5;align-items:flex-start}.helper-card .pixel-icon{width:35px;height:41px;flex-shrink:0}.helper-card strong{font-size:12px}.helper-card p{font-size:11px;color:#817482;margin-top:4px;line-height:1.8}.keyboard-tip{margin-top:15px;font-size:10px;color:#817c84;line-height:1.8}.keyboard-tip kbd{font:10px var(--pixel);background:#fffcee;border:1px solid #d2c5c5;border-radius:3px;padding:1px 4px}.phoneme-dots{display:flex;justify-content:center;align-items:center;gap:9px;min-height:29px;margin:0 0 8px}.phoneme-dot{width:14px;height:14px;background:#dfd4e9;border:1px solid #9a86ab;border-radius:3px}.phoneme-dot.active{background:#eeb9a8;transform:translateY(-3px);box-shadow:0 3px 0 #c09894}.sound-tokens{display:flex;justify-content:center;align-items:center;gap:10px;margin:6px 0 17px;min-height:53px}.sound-token{height:46px;width:46px;border:2px dashed #cabfd1;border-radius:8px;display:grid;place-items:center;background:#f1e9f3}.sound-token.filled{border:2px solid #b8975c;background:#fff0c8;box-shadow:2px 2px 0 #cfb38c}.sound-token .pixel-icon{width:29px;height:29px}.tap-actions{display:flex;justify-content:center;align-items:center;gap:12px}.tap-main{border:var(--border);box-shadow:3px 3px 0 var(--ink);border-radius:10px;padding:13px 21px;background:#f4cc77;min-height:66px;font-size:14px;font-weight:800;display:flex;align-items:center;gap:10px}.tap-main .pixel-icon{width:28px;height:28px}.tap-undo{font-size:12px;border:1px solid #c6bac7;border-radius:7px;min-height:46px;padding:8px 12px;background:#f9f2eb}.count-caption{font-size:12px;color:#8a7b89;margin-top:13px}.check-count{margin-top:15px;min-width:190px}.results-wrap{max-width:760px;margin:34px auto}.result-hero{border:var(--border);box-shadow:5px 5px 0 var(--ink);border-radius:14px;overflow:hidden;background:var(--paper);text-align:center}.result-banner{background:#d8e8d0;padding:23px 24px 28px;border-bottom:var(--border)}.result-stars{display:flex;justify-content:center;gap:9px;margin-bottom:15px}.result-stars .pixel-icon{width:31px;height:31px}.result-banner h1{font-size:28px;letter-spacing:-1px}.result-banner p{font-size:13px;color:#68775f;margin-top:7px}.result-body{padding:24px}.result-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:22px}.result-stat{border:1px solid #d8cfca;background:#faf5e9;border-radius:8px;padding:14px 8px}.result-stat b{display:block;font:700 27px var(--pixel)}.result-stat span{font-size:11px;color:#7a6e7e}.result-message{font-size:13px;background:#eee5f4;border-radius:8px;padding:13px;line-height:1.8}.result-actions{display:flex;justify-content:center;gap:15px;flex-wrap:wrap;margin-top:22px}.result-actions .plain-btn{min-height:49px;border:var(--border)}.review-title{font-size:12px;text-align:left;margin:22px 0 10px;color:#85768e}.review-row{display:flex;align-items:center;gap:10px;text-align:left;padding:9px 1px;border-top:1px solid #e6ded7;font-size:12px}.review-row .pixel-icon{width:28px;height:28px}.review-row .review-status{margin-left:auto;color:#7e7087}.review-play{min-height:38px;padding:7px;border:1px solid #d9cfc9;border-radius:6px}.review-play .pixel-icon{width:16px;height:16px}dialog{border:var(--border);border-radius:12px;padding:0;max-width:600px;width:calc(100% - 30px);background:var(--paper);color:var(--ink);box-shadow:6px 6px 0 #342c4e85;max-height:85dvh}dialog::backdrop{background:#342c4e77;backdrop-filter:blur(3px)}.modal-head{display:flex;justify-content:space-between;align-items:center;padding:14px 20px;background:#dfd2ec;border-bottom:var(--border);position:sticky;top:0;z-index:2}.modal-head h2{font-size:17px}.close-modal{width:36px;height:36px;display:grid;place-items:center;font-size:24px;background:#fff7e9;border:1px solid #ae9bba;border-radius:6px}.modal-body{padding:21px;font-size:13px}.modal-body p{margin-bottom:12px;line-height:1.8}.modal-body h3{font-size:14px;margin:19px 0 9px}.modal-body h3:first-child{margin-top:0}.setting-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 0;border-bottom:1px solid #e3d8d2}.setting-row strong{font-size:13px}.setting-row small{display:block;font-size:11px;color:#807587;margin-top:3px}.setting-row select{max-width:190px;padding:8px;border:1px solid #b7a9bf;border-radius:6px;background:#fffbef;color:var(--ink);font-size:12px}.toggle{border:1px solid #ac9cb7;border-radius:6px;padding:8px 13px;background:#e3efd9;font-size:12px;min-height:38px;white-space:nowrap}.note{background:#f7edda;border-left:3px solid #c3a567;padding:12px!important;font-size:12px;color:#7c6856;border-radius:0 6px 6px 0;margin:16px 0}.audio-note{background:#eae1f1;border-color:#b39cc4;color:#73627e}.history-list{font-size:12px}.history-item{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid #e7ded6}.parent-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:14px}.parent-actions .plain-btn{font-size:12px}.danger{color:#975264;border-color:#c8a5ad}.upload-label{display:inline-block;padding:10px 14px;border:1px solid #b09aba;background:#eee4f3;border-radius:7px;cursor:pointer;font-size:12px}.file-list{font-size:11px;word-break:break-word;color:#7c6a88;margin-top:9px}details{border-top:1px solid #ded3d0;margin-top:17px;padding-top:12px}summary{cursor:pointer;font-size:13px;font-weight:700;min-height:35px}code{font:11px var(--pixel);background:#eee9df;padding:2px 4px;border-radius:3px}.sound-library{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-top:13px}.sound-library button{border:1px solid #b9a8bd;background:#f7f0f7;border-radius:6px;min-height:38px;font-size:12px}.help-steps{counter-reset:step}.help-step{display:flex;gap:12px;margin:14px 0;align-items:flex-start}.help-step:before{counter-increment:step;content:counter(step);background:#e9d4df;border:1px solid #b9a0b9;border-radius:5px;min-width:26px;height:26px;display:grid;place-items:center;font:700 12px var(--pixel)}.help-step p{margin:0}.help-example{border:1px solid #d5c5b4;background:#fff2d6;padding:13px;border-radius:8px;line-height:1.8}.help-example .pixel-icon{width:36px;height:36px;display:inline-block;vertical-align:middle;margin-right:8px}.modal-bottom{display:flex;justify-content:flex-end;margin-top:19px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);padding:12px 18px;background:var(--ink);color:#fff9ee;border-radius:9px;box-shadow:3px 3px 0 #9887a8;z-index:20;font-size:13px;max-width:90vw;text-align:center}.confetti{position:fixed;pointer-events:none;top:-15px;z-index:10;width:8px;height:8px;animation:confetti-fall 1.5s ease-in forwards}.audio-error{color:#945366!important;background:#fae8dc!important;border-color:#c89c96!important}.no-js{padding:18px;background:#f5decf;text-align:center;font-size:14px}
@keyframes soft-pulse{50%{box-shadow:1px 1px 0 var(--ink);transform:translate(1px,1px)}}@keyframes confetti-fall{100%{transform:translateY(90vh) rotate(360deg);opacity:0}}
@media(min-width:1250px){.shell{padding:0 26px}.hero{gap:54px}.hero h1{font-size:76px}.hero-copy{font-size:20px}}
@media(max-width:950px){.shell{padding:0 26px}.hero{gap:26px}.hero h1{font-size:55px}.hero-copy{font-size:16px}.game-layout{grid-template-columns:minmax(0,1fr) 210px;gap:16px}.game-content{padding:20px 17px}.game-content h1{font-size:21px}.choice-btn .pixel-icon{width:60px;height:60px}.mode-card{padding:14px 12px}.mode-card strong{font-size:12px}.choices{gap:10px}.side-panel{padding:14px}.launch-text small{max-width:330px;display:block}}
@media(max-width:740px){.shell{padding:0 20px}.nav{min-height:77px}.brand-name{font-size:18px}.brand-sub{font-size:8px}.settings-label{display:none}.settings-btn{padding:10px;min-width:42px}.nav-actions{gap:7px}.hero{padding:28px 0 28px;gap:24px}.hero h1{font-size:47px;letter-spacing:-3px}.hero-copy{font-size:14px}.hero-fine{font-size:10px}.hero-fine span+span:before{margin:0 5px}.eyebrow{font-size:8px;letter-spacing:.7px}.console{padding:10px;box-shadow:4px 4px 0 var(--ink)}.console-caption{display:none}.console-top{font-size:7px}.console-bottom{padding:8px 4px 0}.dpad{transform:scale(.7);transform-origin:left center;height:35px}.pad-buttons{gap:7px}.pad-buttons i{width:19px;height:19px}.mode-grid{grid-template-columns:repeat(2,1fr);gap:15px}.mode-card{min-height:163px;padding:14px 16px}.mode-card strong{font-size:14px}.mode-icon{width:49px;height:49px;margin-bottom:10px}.mode-icon .pixel-icon{width:30px;height:30px}.section-head h2{font-size:18px}.launch-bar{padding:16px;gap:12px}.launch-text small{font-size:10px;max-width:210px}.launch-text strong{font-size:12px}.primary-btn{font-size:13px;padding:12px 15px;min-height:46px}.game-layout{display:block}.side-panel{margin-top:20px;display:none}.game-area{padding-top:15px}.game-toolbar{margin-bottom:10px}.game-content{padding:21px}.game-content h1{font-size:23px}.choice-btn .pixel-icon{width:66px;height:66px}.footer{font-size:9px}.footer .small-stars{display:none}.result-banner h1{font-size:24px}}
@media(max-width:480px){.shell{padding:0 16px}.hero{grid-template-columns:1fr;padding:27px 0 25px;gap:22px}.hero-text{text-align:center}.eyebrow{justify-content:center;font-size:9px;letter-spacing:1.6px}.hero h1{font-size:63px;margin:13px 0 15px;letter-spacing:-4px}.hero h1 br{display:none}.hero h1 span:before{content:' '}.hero-copy{font-size:15px;line-height:1.7}.hero-copy br{display:none}.hero-fine{font-size:10px;margin-top:8px}.console{max-width:320px;width:100%;justify-self:center;transform:rotate(.6deg);padding:10px}.console-top{font-size:8px}.screen-wrap .island-scene{max-height:133px}.console-bottom{padding:6px 6px 0}.console-caption{display:block;font-size:7px}.dpad{height:31px}.console .pad-buttons i{width:17px;height:17px}.section-head{margin-top:4px}.section-head h2{font-size:17px}.mini-tag{font-size:10px;padding:4px 7px}.mode-card{min-height:162px;padding:13px}.mode-card strong{font-size:13px}.mode-card .mode-ko{font-size:12px}.mode-card .skill{font-size:9px}.mode-grid{gap:13px}.mode-icon{width:46px;height:46px}.launch-bar{flex-direction:column;align-items:stretch;margin-top:22px;padding:16px}.launch-text small{max-width:none}.launch-text{justify-content:center}.launch-bar .primary-btn{margin-top:1px}.footer{margin-top:18px;flex-wrap:wrap;justify-content:center;gap:4px 13px}.brand-icon{width:35px;height:37px}.brand-icon .pixel-icon{width:22px;height:28px}.brand-name{font-size:16px}.brand-sub{font-size:7px;letter-spacing:.8px}.brand{gap:8px}.plain-btn{padding:8px 10px;font-size:11px}.nav{min-height:71px}.game-toolbar{gap:7px}.game-mode-label{font-size:8px;letter-spacing:.6px}.round-tag{padding:6px 8px;font-size:11px}.round-tag b{font-size:15px}.back-btn{font-size:11px}.cabinet-header{font-size:9px;padding:9px 12px}.game-content{padding:18px 12px 16px}.game-content h1{font-size:21px;letter-spacing:-.8px}.game-prompt{font-size:11px;margin-top:8px}.listening-stage{gap:15px;min-height:119px;padding:16px 0 12px}.target-illustration{width:72px;height:72px;border-radius:12px}.target-illustration .pixel-icon{width:50px;height:50px}.target-illustration.mystery{font-size:44px}.listen-main{min-width:156px;min-height:51px;font-size:13px;padding:10px 13px}.listen-main .pixel-icon{width:21px;height:21px}.listen-tools{gap:10px;margin-top:6px}.text-control,.slow-control{font-size:10px}.choice-hint{font-size:10px;line-height:1.7}.choices{gap:9px}.choice-btn{min-height:107px;padding:13px 5px 8px}.choice-btn .pixel-icon{width:55px;height:55px}.choice-select-text{font-size:9px}.choice-speaker{min-height:38px;font-size:10px;gap:4px}.choice-speaker .pixel-icon{width:13px;height:13px}.feedback{font-size:12px;padding:10px 9px;min-height:56px}.next-row .primary-btn{width:100%}.sound-tokens{gap:8px}.sound-token{width:41px;height:43px}.tap-main{font-size:13px;padding:12px 16px}.result-stats{gap:8px}.result-stat b{font-size:23px}.result-stat span{font-size:10px}.result-body{padding:17px}.result-message{font-size:12px}.result-banner{padding:21px 16px}.result-banner h1{font-size:23px}.modal-body{padding:17px}.setting-row{gap:10px}.setting-row select{max-width:155px;font-size:11px}.sound-library{grid-template-columns:repeat(4,1fr)}.result-actions .primary-btn,.result-actions .plain-btn{width:100%}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{body{background:white}.nav,.footer,.game-area,.hero,.launch-bar,.mode-grid,.section-head,dialog{display:none}.result-hero{box-shadow:none}}

/* Mobile app shell */
.learning-note{margin:24px 0;padding:20px;background:var(--paper);border:2px solid var(--ink);border-radius:12px}
.learning-note h2{font-size:20px}.learning-note>p{font-size:14px;margin-top:16px}
.unit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}.unit-grid p{padding:12px;border:1px solid #cabbd3;border-radius:8px;font-size:14px}.unit-grid b{display:block;margin-bottom:8px;font-size:14px}
.extended-game{max-width:780px;margin:auto}.extended-game .game-prompt{font-size:16px;line-height:1.6}.extended-game .listening-stage>.word-photo{width:92px;height:92px}.extended-game .listening-stage>.pixel-icon{max-width:92px;max-height:92px}
.unit-reminder{padding:10px;background:#ede5f5;border-radius:8px;margin-top:12px;font-size:14px}.syllable .unit-reminder{background:#fff0d1}
.unit-tokens{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin:20px 0}.unit-token{display:grid;place-items:center;width:42px;height:42px;border:2px dashed #aea4ba;border-radius:50%;font-size:18px;font-weight:700}.unit-token.filled{background:#d6c4ed;border-style:solid}.syllable .unit-token{border-radius:10px;width:48px}.syllable .unit-token.filled{background:#f7d88e}.sentence .unit-token{border-radius:2px}.sentence .unit-token.filled{background:#b8dce9}
.photo-target{width:220px;height:180px}.photo-target .word-photo{width:100%;height:100%}.text-choices .choice-btn{min-height:80px}.text-choices strong{font-size:22px;overflow-wrap:anywhere}.text-choices .choice-speaker{min-height:48px;font-size:14px}
.rhyme-choices{display:flex;justify-content:center;gap:16px;flex-wrap:wrap}.pair-listen{display:flex;align-items:center;gap:10px;border:2px solid var(--ink);border-radius:8px;min-height:54px;padding:12px}.pair-listen svg{width:24px}.teacher-units table{width:100%;border-collapse:collapse}.teacher-units td{padding:7px;border-bottom:1px solid #ccc}.listening-symbol svg{width:64px;height:64px}
.mode-card .skill,.mode-card .mode-ko{font-size:14px}.text-control,.slow-control{min-height:44px;font-size:14px}.close-modal{min-width:44px;min-height:44px}.modal-body{font-size:16px}.setting-row select{font-size:16px}.sound-library button{min-height:44px}
@media(max-width:600px){.unit-grid{grid-template-columns:1fr}.extended-game .game-content{padding:16px 12px}.extended-game .listening-stage{flex-wrap:wrap}.text-choices{gap:7px}.text-choices strong{font-size:18px}.rhyme-choices .primary-btn{white-space:normal;flex:1}.mode-card{min-height:180px}.hero{padding:16px 0}.hero h1{font-size:42px}.hero-fine,.hero .eyebrow{display:none}.hero .console{max-width:240px}.mode-grid{gap:10px}}
.word-photo{object-fit:contain;background:#fff;border-radius:8px}
.choice-btn .word-photo{width:100%;height:96px;max-width:140px}
.target-illustration:has(.word-photo){background:#fff;overflow:hidden}
.target-illustration .word-photo{width:100%;height:100%}
@media(max-width:480px){.choice-btn .word-photo{width:100%;height:82px;max-width:110px}}
html{min-height:100%;background:var(--cream);-webkit-text-size-adjust:100%}
body{min-height:100vh;min-height:100dvh;padding-top:env(safe-area-inset-top);padding-right:env(safe-area-inset-right);padding-bottom:env(safe-area-inset-bottom);padding-left:env(safe-area-inset-left);overscroll-behavior-y:none}
.nav{position:relative;z-index:2}
.install-card{position:fixed;z-index:50;left:max(14px,env(safe-area-inset-left));right:max(14px,env(safe-area-inset-right));bottom:max(14px,env(safe-area-inset-bottom));display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;max-width:560px;margin:0 auto;padding:13px 14px;background:#fff9e8;border:2px solid var(--ink);border-radius:12px;box-shadow:5px 5px 0 var(--ink)}
.install-card[hidden]{display:none}
.install-bunny{font-size:29px;line-height:1}
.install-card strong{display:block;font-size:13px}
.install-card p{margin-top:2px;font-size:11px;color:var(--muted);line-height:1.45}
.install-button{min-height:43px;padding:8px 12px;background:var(--mint);border:2px solid var(--ink);border-radius:7px;box-shadow:2px 2px 0 var(--ink);font-size:12px;font-weight:800;white-space:nowrap}
.install-close{position:absolute;right:-7px;top:-11px;width:27px;height:27px;border:1px solid var(--ink);border-radius:50%;background:#f2d2d6;font-size:18px;line-height:1}
@media(max-width:480px){
  .shell{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}
  .mode-card,.choice-btn,.choice-speaker,.listen-main,.tap-main,.primary-btn{touch-action:manipulation}
  .choice-btn{min-height:112px}
  .choice-speaker{min-height:44px}
  .listen-main{min-height:56px}
  .install-card{grid-template-columns:auto 1fr;padding-right:16px}
  .install-button{grid-column:1 / -1;width:100%}
}
@media(display-mode:standalone){.install-card{display:none!important}.nav{padding-top:2px}}

/* Update notice never forces a reload in the middle of a round. */
.app-update{position:fixed;bottom:16px;left:50%;transform:translateX(-50%);z-index:1000;display:flex;align-items:center;gap:12px;width:min(92vw,640px);box-sizing:border-box;background:#30223e;color:#fff;padding:16px;border-radius:14px;font-size:16px;box-shadow:0 4px 20px #0004}.app-update button{font:inherit;flex-shrink:0;min-height:44px;border:0;border-radius:8px;padding:8px 12px;background:#e9ff96;color:#24212c;cursor:pointer}@media(max-width:480px){.app-update{flex-direction:column;align-items:stretch}}
/* Picture sentence cards */
.sentence-scene{max-width:650px;margin:18px auto 24px;border:4px solid #35273f;border-radius:16px;overflow:hidden;background:#fff}.sentence-scene img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain}.sentence-choices{display:grid;grid-template-columns:1fr;gap:12px;max-width:700px;margin:auto}.sentence-choices .choice{display:grid;grid-template-columns:minmax(0,1fr) 92px}.sentence-choices .choice-btn{min-height:78px;display:flex;flex-direction:row;gap:14px;text-align:left;padding:16px}.sentence-choices .choice-btn strong{font-size:clamp(16px,3.5vw,21px);line-height:1.4}.sentence-choices .choice-speaker{min-height:48px;border-top:0;border-left:2px solid #ddd}.sentence-choices .choice-num{position:static;flex-shrink:0}.sentence-reveal{font-size:20px;font-weight:700}.picture-sentence .game-content{padding:24px 18px}@media(max-width:480px){.sentence-choices .choice{grid-template-columns:minmax(0,1fr) 76px}.sentence-choices .choice-btn{padding:12px;gap:8px}}
