:root{--bg:#101f2b;--panel:#182d39;--raised:#203a46;--text:#f0f3ef;--muted:#a9bbc2;--copper:#edab7d;--teal:#89d3c5;--line:#344c57;--sans:"Noto Sans SC","Noto Sans JP","PingFang SC","Microsoft YaHei",system-ui,sans-serif;--serif:"Noto Serif SC","Songti SC","STSong",serif;color-scheme:dark;font:16px/1.6 var(--sans)}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--teal);outline-offset:5px}[hidden]{display:none!important}.atmosphere{position:fixed;inset:0;pointer-events:none;z-index:-1;background:radial-gradient(ellipse at 12% 10%,#254b4b70,transparent 45%),radial-gradient(ellipse at 100% 70%,#553e3233,transparent 45%)}.topbar{max-width:1220px;margin:auto;padding:30px 30px 23px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{color:var(--text);text-decoration:none;display:flex;align-items:center;gap:14px;font-weight:600;font-size:1.1rem}.brand-mark{color:var(--copper);line-height:14px;font-size:23px;text-align:center;width:30px;letter-spacing:2px}.brand-mark i{display:block;height:3px;background:currentColor;margin-top:4px}.edition{color:var(--muted);font-size:.875rem;letter-spacing:.08em}main{max-width:1160px;padding:29px 0 0;margin:auto}.journey{display:flex;align-items:center;gap:15px;color:var(--muted);font-size:.9rem}.journey span{display:flex;align-items:center;gap:8px;white-space:nowrap}.journey b{display:grid;place-items:center;width:25px;height:25px;border:1px solid var(--line);border-radius:50%;font-weight:500}.journey i{width:38px;height:1px;background:var(--line)}.journey .active{color:var(--copper)}.journey .active b{background:var(--copper);color:var(--bg);border-color:var(--copper)}.journey .done{color:var(--teal)}.heading{display:flex;justify-content:space-between;align-items:end;margin:32px 0 20px;gap:24px}.eyebrow{color:var(--copper);font-size:.875rem;letter-spacing:.12em;margin:0 0 11px}h1{font:600 clamp(2rem,3.6vw,2.9rem)/1.3 var(--serif);letter-spacing:.02em;margin:0}h2{font-size:1.1rem;line-height:1.4;margin:0;font-weight:600}.stage-note{color:var(--muted);text-align:right;margin:0 0 4px;font-size:.95rem}.stage-note strong{color:var(--copper);font-size:1.3rem}.mobile-break{display:none}.prompt{color:var(--muted);font-size:.9rem;margin:0 0 20px}.prompt summary{cursor:pointer;width:fit-content}.prompt summary span{margin-left:10px;color:var(--teal)}.prompt p{max-width:960px;margin:10px 0 0;line-height:1.8}.audio-player{display:flex;position:relative;align-items:center;gap:18px;border:1px solid var(--line);background:#182d39b3;border-radius:18px;padding:17px 20px;margin:20px 0 30px}.audio-player button{border:0}.audio-player #play{background:var(--copper);color:var(--bg);width:52px;height:52px;flex-shrink:0;border-radius:50%;display:grid;place-items:center}.audio-player #play svg{width:26px;height:26px;fill:currentColor}.pause-icon{display:none}.playing .play-icon{display:none}.playing .pause-icon{display:block}.audio-main{flex:1;min-width:0}.audio-meta{display:flex;justify-content:space-between;gap:12px;font-size:.875rem;color:var(--muted);font-variant-numeric:tabular-nums}.audio-meta #audio-label{color:var(--text)}#seek{width:100%;display:block;accent-color:var(--copper);height:20px;margin:6px 0 0;cursor:pointer}.back-ten{background:transparent;color:var(--muted);padding:12px 4px;font-size:.875rem}.speed-label select{appearance:none;background:var(--bg);color:var(--text);border:1px solid var(--line);border-radius:8px;padding:8px 10px;font-size:.875rem;text-align:center;cursor:pointer}#audio-error{position:absolute;top:100%;margin:3px 0;font-size:.85rem;color:#ffb6a3}#audio-error a{color:inherit}.game-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:44px}.section-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:17px}.section-heading>span{font-size:.875rem;color:var(--muted)}.reference-grid{display:grid;grid-template-columns:repeat(6,1fr);border-top:1px solid var(--line);border-left:1px solid var(--line);border-radius:12px;overflow:hidden}.ref-cell{border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:#162c37aa;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:end;padding:10px 5px 8px;height:119px;gap:2px}.ref-cell svg{height:78px;width:100%;max-width:88px;color:#dbe6e1}.ref-cell span{font:1.2rem Georgia,serif;color:var(--teal)}.reference-note{color:var(--muted);font-size:.875rem;margin:15px 0}.answer-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:13px}.answer-card{background:linear-gradient(140deg,#213944,#182d39);color:var(--text);position:relative;display:flex;align-items:center;justify-content:center;min-height:143px;border:1px solid var(--line);border-radius:13px;transition:transform .18s,border-color .18s,background .18s;box-shadow:0 5px 0 #09172070}.answer-card:hover{border-color:#71898e;transform:translateY(-2px)}.answer-card:active{transform:translateY(1px);box-shadow:none}.answer-card[aria-pressed=true]{background:#31473f;border:2px solid var(--copper);color:var(--copper)}.answer-number{position:absolute;top:12px;left:15px;color:var(--muted);font:1.2rem Georgia,serif}.answer-card[aria-pressed=true] .answer-number{color:var(--copper)}.answer-card svg{height:112px;width:98px}.answer-card .selected-tick{display:none;position:absolute;right:12px;top:10px;color:var(--copper)}.answer-card[aria-pressed=true] .selected-tick{display:block}.button{min-height:48px;padding:12px 22px;border-radius:10px;border:1px solid transparent;font-size:1rem;font-weight:600;transition:filter .18s,transform .18s;text-align:center}.button:hover{filter:brightness(1.1)}.button:active{transform:translateY(1px)}.button.primary{background:var(--copper);color:#17232a}.button.secondary{background:transparent;color:var(--text);border-color:var(--line)}.button:disabled{background:#263c48;color:#83939b;cursor:not-allowed;filter:none}.full{width:100%;margin-top:20px}.hint{font-size:.82rem;color:var(--muted);text-align:center;margin:10px 0 0}.evidence-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin:40px 0 28px}.evidence{margin:0;padding:25px;border:1px solid var(--line);border-radius:16px;min-width:0;background:#182d3988}.evidence legend{font-size:1.15rem;font-weight:600;padding:0 8px}.evidence legend>span{display:block;color:var(--teal);font-size:.875rem;margin-bottom:6px}.evidence-options{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}.evidence-options button{min-height:76px;background:var(--raised);border:1px solid var(--line);border-radius:11px;color:var(--text);font-size:1.35rem;white-space:nowrap;transition:background .15s}.evidence-options button[aria-pressed=true]{background:#36514b;border-color:var(--teal);color:var(--teal)}.evidence p{font-size:.875rem;color:var(--muted);margin:8px 0}.round-actions{display:flex;justify-content:space-between;gap:20px}.review{margin:26px 0;padding:24px;border:1px solid var(--line);border-radius:14px}.review .reference-grid{max-width:600px;margin:auto}.result-top{display:flex;align-items:center;justify-content:space-between;gap:30px;margin:35px 0 26px}.result-message{color:var(--muted);margin:15px 0 0}.score-orbit{width:140px;height:140px;flex-shrink:0;border:1px solid var(--copper);border-radius:50%;display:flex;align-items:baseline;justify-content:center;flex-wrap:wrap;padding:15px 22px 24px;background:radial-gradient(circle,#674c3544,transparent 70%)}.score-orbit strong{font:4rem Georgia,serif;color:var(--copper);line-height:1.2}.score-orbit>span{color:var(--muted);margin-left:7px}.score-orbit small{width:100%;text-align:center;color:var(--muted);font-size:.875rem}.score-breakdown{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:30px}.score-item{display:flex;justify-content:space-between;align-items:center;background:var(--panel);border-radius:10px;padding:14px 20px;font-size:.95rem}.score-item strong{color:var(--teal)}.score-item.missed strong{color:var(--copper)}.decoded{display:grid;grid-template-columns:260px 1fr;gap:42px;background:#182d39a6;border:1px solid var(--line);padding:34px;border-radius:18px}.decoded-art{text-align:center;color:var(--teal);font-weight:600;border-right:1px solid var(--line);padding-right:32px}.decoded-art svg{display:block;margin:8px auto 0;height:230px;width:180px}.decoded-copy h2{font:2.8rem Georgia,serif;margin:10px 0 24px}.decoded-copy h2>span{color:var(--muted)}.formula-row{display:flex;align-items:center;gap:20px;margin:12px 0;font-size:1.05rem}.teal{color:var(--teal)}.copper{color:var(--copper)}blockquote{margin:23px 0 0;padding-top:19px;border-top:1px solid var(--line);color:#d3dfdf;line-height:1.8;font-size:1.1rem}.result-bottom{display:flex;align-items:center;justify-content:space-between;gap:25px;margin:25px 0}.result-bottom p{color:var(--muted)}.result-bottom>div{display:flex;gap:12px}footer{max-width:1160px;margin:48px auto 0;padding:24px 0 30px;border-top:1px solid var(--line);color:var(--muted);font-size:.82rem;display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px}footer details{width:100%;max-width:930px}footer summary{cursor:pointer;width:fit-content}footer p{line-height:1.8}#celebration{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:20}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.stage{animation:enter .35s ease-out}@keyframes enter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1240px){main,footer{margin-left:30px;margin-right:30px}.game-grid{gap:28px}}@media(max-width:820px){.game-grid{grid-template-columns:1fr 1fr;gap:22px}.reference-grid{grid-template-columns:repeat(3,1fr)}.ref-cell{height:108px}.ref-cell svg{height:67px}.answer-card{min-height:200px}.answer-card svg{height:152px;width:123px}.evidence-grid{gap:20px}.evidence{padding:18px}.evidence-options{gap:7px}.evidence-options button{font-size:1.05rem}.decoded{grid-template-columns:200px 1fr;gap:25px;padding:25px}.decoded-art{padding-right:22px}.result-bottom{align-items:start;flex-direction:column}.wide-only{display:none}}
@media(max-width:600px){.topbar{padding:21px 20px 17px}.brand{font-size:1rem;gap:11px}.edition{font-size:.75rem;letter-spacing:0}main{margin:0;padding:23px 20px 0}.journey{gap:9px;font-size:.8rem;justify-content:space-between}.journey i{width:17px}.journey span{gap:6px}.journey b{width:23px;height:23px}.heading{margin-top:27px;align-items:start}.stage-note{font-size:.82rem;max-width:115px;margin-top:25px}.mobile-break{display:block}h1{font-size:2rem;line-height:1.35}.eyebrow{font-size:.8rem}.prompt{font-size:.85rem}.audio-player{padding:14px 13px;gap:11px;border-radius:13px;margin:22px 0 27px}.audio-player #play{width:45px;height:45px}.audio-meta{font-size:.75rem;gap:8px;flex-wrap:wrap}.audio-meta #audio-label{font-size:.8rem}.audio-main{flex-basis:100px}.back-ten{display:none}.speed-label select{padding:8px 5px;font-size:.8rem}#seek{margin-top:4px}.game-grid{grid-template-columns:1fr;gap:27px}.reference-grid{grid-template-columns:repeat(6,1fr)}.ref-cell{height:104px;padding:8px 3px 6px}.ref-cell svg{height:64px}.ref-cell span{font-size:1.05rem}.section-heading{margin-bottom:13px}.section-heading h2{font-size:1rem}.section-heading>span{font-size:.8rem}.reference-note{font-size:.8rem;margin:10px 0 0}.answer-card{min-height:145px}.answer-card svg{height:116px;width:99px}.full{margin-top:19px}.evidence-grid{grid-template-columns:1fr;gap:28px;margin-top:30px}.evidence{padding:19px}.evidence legend{font-size:1.04rem}.evidence-options{gap:10px;margin:15px 0}.evidence-options button{font-size:1.2rem;min-height:65px}.round-actions{flex-direction:column-reverse;gap:13px}.result-top{gap:16px}.result-top h1{font-size:1.9rem}.result-message{font-size:.9rem}.score-orbit{width:97px;height:97px;padding:11px 12px 15px}.score-orbit strong{font-size:2.7rem}.score-orbit small{font-size:.7rem}.score-breakdown{gap:7px}.score-item{flex-direction:column;gap:5px;padding:11px 5px;font-size:.8rem}.decoded{grid-template-columns:1fr;gap:22px;padding:24px 20px}.decoded-art{border-right:0;border-bottom:1px solid var(--line);padding:0 0 18px;display:flex;align-items:center;justify-content:center;gap:35px}.decoded-art svg{width:80px;height:115px;margin:0}.decoded-copy h2{font-size:2.2rem;margin:8px 0 23px}.formula-row{font-size:1rem;gap:16px}blockquote{font-size:.95rem}.result-bottom>div{width:100%;display:grid;grid-template-columns:1fr 1fr}.result-bottom>div .button{padding:12px 9px;font-size:.95rem}.result-bottom p{font-size:.9rem}footer{margin:37px 20px 0;padding:21px 0 26px;display:block;font-size:.75rem}footer>span{display:block;margin-bottom:5px}footer details{margin-top:12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Keep replay controls available on phones, where repeated listening matters. */
#seek{appearance:none;-webkit-appearance:none;background:transparent;height:20px}
#seek::-webkit-slider-runnable-track{height:6px;background:#dceae1;border-radius:9px}
#seek::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:15px;height:15px;background:#6f9c88;border-radius:50%;margin-top:-4.5px}
#seek::-moz-range-track{height:6px;background:#dceae1;border-radius:9px}
#seek::-moz-range-thumb{width:15px;height:15px;background:#6f9c88;border:0;border-radius:50%}
@media(max-width:600px){.audio-player{display:grid;grid-template-columns:45px minmax(0,1fr) 52px;row-gap:4px}.audio-main{grid-column:2/4}.back-ten{display:block;grid-column:2;justify-self:end;padding:6px 10px;min-height:40px}.speed-label{grid-column:3;justify-self:end}.speed-label select{min-height:40px}.audio-meta{flex-wrap:wrap}}
@media(max-width:600px){.heading{flex-direction:column;gap:12px}.stage-note{margin:0;max-width:none;text-align:left}.stage-note br{display:none}.stage-note strong{margin-right:10px}h1{font-size:clamp(1.7rem,8vw,2rem)}}
/* Soft stone-and-mint theme */
:root{--bg:#f3faf5;--panel:#fff;--raised:#eaf4ee;--text:#304b4a;--muted:#6a807c;--copper:#9770a8;--teal:#348571;--line:#d5e4db;--serif:"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;color-scheme:light}
.atmosphere{background:radial-gradient(ellipse at 4% 14%,#dbefe4,transparent 44%),radial-gradient(ellipse at 95% 55%,#f8e9db99,transparent 45%)}
.topbar{border-bottom-style:dashed}.brand-mark{color:#d5926c}.brand{letter-spacing:.04em}.journey .active{color:#79558e}.journey .active b{background:#e5d9ed;color:#79558e;border-color:#d4bfe0}.journey .done{color:var(--teal)}
h1{font-weight:750;letter-spacing:.01em}.heading{align-items:center;margin-top:25px}.heading .stage-note{margin-top:16px;text-align:left}.eyebrow{font-weight:600;color:#8c659e}.mascot{width:190px;flex-shrink:0;transform:rotate(3deg);animation:bob 4s ease-in-out infinite}.mascot svg{display:block;width:100%}@keyframes bob{0%,100%{transform:translateY(0) rotate(3deg)}50%{transform:translateY(-6px) rotate(0)}}
.audio-player{background:#fff;border-color:#d5e4db;box-shadow:0 5px 0 #dbe9df;border-radius:21px}.audio-player #play{background:#f5c8a5;color:#67472f;box-shadow:0 3px 0 #e6b38d}#seek{accent-color:#6f9c88}.speed-label select{background:#f1f7f2;border-color:#d5e4db;color:#42685e}.reference-grid{border-radius:17px;border-color:#d5e4db}.ref-cell{background:#fff;border-color:#d5e4db}.ref-cell:nth-child(2n){background:#f8fcf9}.ref-cell svg{color:#466d60}.ref-cell span{color:#426a5e}.answer-card{background:#fff;border-color:#d5e4db;box-shadow:0 5px 0 #dbe9df;border-radius:19px;color:#4d7164}.answer-card:hover{border-color:#9ab9ab;background:#fbfefb}.answer-card[aria-pressed=true]{background:#f1e9f7;border-color:#a788bc;color:#785591;box-shadow:0 5px 0 #dfcee8}.answer-card[aria-pressed=true] .answer-number,.answer-card .selected-tick{color:#89619e}.button{border-radius:15px}.button.primary{background:#8b6ca6;color:#fff;box-shadow:0 4px 0 #71528b}.button.secondary{background:#fff;border-color:#d5e4db;box-shadow:0 4px 0 #dbe9df;color:#416859}.button:disabled{background:#e5ece6;color:#8b9d91;box-shadow:0 4px 0 #d9e3db}.score-orbit{background:#f2e8fa;border:2px dashed #c7b1d9}.score-orbit strong{color:#88649e}.score-item{background:#fff;border:1px solid var(--line)}.score-item.missed strong{color:#ad6f4e}.score-breakdown{grid-template-columns:repeat(2,1fr)}.decoded{background:#fff;border-radius:23px;box-shadow:0 6px 0 #dfebe2}.decoded-art{color:#3d8b70}.decoded .copper{color:#b07853}.decoded-copy blockquote{color:#536c68}.decoded-copy h2{color:#315d4e}.locked-badge{color:#7e5e93;background:#eee4f4;border:1px solid #dfcde9;border-radius:30px;padding:9px 18px;white-space:nowrap;font-size:.9rem}.locked-badge strong{margin-left:6px}
#player-slot-two{position:sticky;top:10px;z-index:5}.cloze-heading{display:flex;justify-content:space-between;align-items:center;margin:34px 0 18px;gap:14px}.cloze-heading>span{font-size:.875rem;color:#78638c;background:#ece4f1;padding:5px 12px;border-radius:20px}.cloze-list{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:30px}.cloze-card{border:1px solid var(--line);background:#fff;border-radius:20px;padding:24px 25px;box-shadow:0 4px 0 #e0ece3}.cloze-card:last-child{grid-column:1/-1}.sentence-tag{display:block;color:#8b6b9c;font-size:.8rem;letter-spacing:.07em;margin-bottom:13px}.cloze-card p{font-family:"Noto Sans JP",var(--sans);font-size:1.1rem;line-height:2.25;margin:0;color:#304b4a}.word-input{width:8.2rem;max-width:100%;border:0;border-bottom:2px solid #ba9ecc;background:#f4eff9;border-radius:8px 8px 3px 3px;color:#705183;text-align:center;font-size:1.05rem;padding:7px 8px;line-height:1.6;vertical-align:middle;margin:3px 3px;outline-offset:2px}.word-input.long{width:12.8rem}.word-input.short{width:6.5rem}.word-input::placeholder{font-size:.9rem;color:#a08aaf}.word-input.has-value{background:#eaf5ee;border-color:#83b29a;color:#2f7259}.word-results-section{margin-top:35px}.word-results-section h2{font-size:1.2rem}#word-results{display:grid;grid-template-columns:1fr 1fr;gap:18px}.word-result{background:#fff;border:1px solid #d4e5d8;border-radius:18px;padding:22px}.word-result.incorrect{border-color:#e8d0ba}.word-result:last-child{grid-column:1/-1}.word-result-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.result-number{font-size:.8rem;color:#82958a;background:#eef5ef;border-radius:50%;width:23px;height:23px;display:grid;place-items:center}.word-result-head strong{font-size:1.3rem;color:#316c53}.reading{font-size:.9rem;color:#728a7b}.word-status{font-size:.8rem;color:#4f9877;margin-left:auto;font-weight:500}.incorrect .word-status{color:#b8875c}.word-result p{font-size:.95rem;color:#526f61;margin:10px 0 0}.word-result p.your-answer{font-size:.82rem;color:#8b998e}.word-result .word-context{background:#f3f8f2;padding:13px 14px;border-radius:9px;color:#436354;line-height:1.8}.review{background:#fff}footer{border-top-style:dashed}
@media(max-width:820px){.mascot{width:150px}.cloze-list,#word-results{grid-template-columns:1fr}.cloze-card:last-child,.word-result:last-child{grid-column:auto}.cloze-card p{font-size:1.1rem}}
@media(max-width:600px){.heading{position:relative;align-items:start;padding-right:0}.heading>div:first-child{max-width:100%}#round-one .heading{padding-right:75px;min-height:170px}#round-one h1{font-size:clamp(1.5rem,6.6vw,1.9rem)}.mascot{position:absolute;right:-13px;bottom:8px;width:113px;z-index:-1}.heading .stage-note{margin-top:13px;font-size:.82rem;max-width:225px}.mascot svg{opacity:.95}.locked-badge{margin:0;font-size:.82rem;padding:7px 13px}.cloze-heading{margin:28px 0 16px}.cloze-heading h2{font-size:1rem}.cloze-heading>span{font-size:.8rem;padding:4px 10px}.cloze-list{gap:19px}.cloze-card{padding:20px 18px;border-radius:18px}.cloze-card p{font-size:1.05rem;line-height:2.3}.word-input{width:7.3rem;font-size:1rem}.word-input.long{width:11.2rem}.word-input.short{width:5.4rem}.word-result{padding:20px 18px}.word-result-head{gap:8px}.word-result-head strong{font-size:1.2rem}.reading{font-size:.82rem}.word-status{font-size:.75rem}.word-result p{font-size:.9rem}.score-breakdown{gap:12px}.score-item{flex-direction:row;padding:12px 15px}.result-top h1{font-size:1.75rem}.result-message{font-size:.875rem}.ref-cell svg{color:#466d60}.hint{line-height:1.6}}
