@font-face{font-family:Alegreya;src:url('/alegreya-bold.woff2?v=1c582501cee54f71') format('woff2');font-weight:700;font-display:swap}
:root{--paper:#f1f0e8;--white:#fffef8;--ink:#203e35;--forest:#183e35;--leaf:#dfe6d7;--muted:#56665a;--line:#b8c4b5;--gold:#e8ba59;--green:#245b3f;--green-bg:#e4eddd;--red:#813c2b;--red-bg:#f5e5db;--radius:14px;--ease:cubic-bezier(.16,1,.3,1);color-scheme:light;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box;scrollbar-color:var(--line) var(--paper);scrollbar-width:thin}body{margin:0}button,input{font:inherit}button,a,input,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;touch-action:manipulation;border:0;background:none}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible{outline:3px solid #a55b20;outline-offset:4px}button:hover:not(:disabled){filter:brightness(.94)}button:active:not(:disabled){transform:translateY(1px)}[hidden]{display:none!important}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.header button:focus-visible,.header a:focus-visible{outline-color:var(--gold)}::selection{background:var(--gold);color:var(--ink)}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:Alegreya,Georgia,serif;font-weight:700;line-height:1.1;letter-spacing:-.025em;text-wrap:balance;overflow-wrap:break-word}p{line-height:1.55}h1{font-size:40px}h2{font-size:32px}h3{font-size:28px}a{color:inherit;text-underline-offset:4px}input{caret-color:var(--forest)}.skip-link{position:absolute;top:-100px;background:var(--gold);color:var(--ink);padding:16px;z-index:9}.skip-link:focus{top:8px}
.header{background:var(--forest);color:var(--white)}.header-inner{max-width:1280px;min-height:88px;padding:16px 40px;margin:auto;display:flex;align-items:center;gap:40px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font:700 30px/1 Alegreya,Georgia,serif}.brand-tile{width:40px;height:44px;display:grid;place-items:center;border:1px solid #c5d2bd;border-radius:50% 50% 3px 3px;color:var(--gold);font-size:33px}.brand-caption{display:block;font:12px/1.5 ui-sans-serif,system-ui;color:#cbd8c9;margin-top:5px;letter-spacing:.01em}.header nav{display:flex;gap:8px}.nav-button{min-height:48px;padding:12px 18px;font-size:15px;font-weight:650;border-radius:7px;color:#e0e8db}.nav-button.active{background:var(--white);color:var(--ink)}#book-count{font-size:12px;margin-left:5px}.save-indicator{margin-left:auto;display:flex;align-items:center;gap:8px;color:#cbd8c9;font-size:12px}.save-dot{width:6px;height:6px;border-radius:50%;background:var(--gold);flex-shrink:0}main{max-width:1280px;margin:auto;padding:32px 40px}.page-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:24px;align-items:center;margin-bottom:28px}.page-heading h1{grid-column:1;font-size:34px}.page-heading p{grid-column:1;font-size:14px;color:var(--muted);margin-top:8px}.page-heading>.primary{grid-column:2;grid-row:1/3}.primary,.secondary,.text-button,.back-button,.hear-small{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:13px 22px;border-radius:7px;font-size:16px;font-weight:650;transition:background-color .16s var(--ease),transform .16s var(--ease)}.primary{background:var(--forest);color:var(--white)}.secondary{border:1px solid var(--ink);background:transparent}.text-button{font-size:14px;padding:10px 12px;text-decoration:underline;text-underline-offset:4px}.back-button{justify-self:start;padding:10px 12px;min-width:48px;font-size:14px}.realm-tabs{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));margin-bottom:24px;border-bottom:1px solid var(--line);gap:4px}.realm-tab{min-height:62px;padding:8px 6px 12px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px 8px;font-size:13px;border-bottom:3px solid transparent}.realm-tab.selected{border-bottom-color:var(--forest);background:var(--leaf)}.realm-tab svg{width:14px;height:14px}.realm-age{font:700 25px/1 Alegreya,Georgia,serif}.realm-short{font-weight:600}.realm-tab.earned .realm-age{color:#865d16}
.realm-spread{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);background:var(--forest);color:var(--white);border-radius:var(--radius);overflow:hidden}.realm-copy{padding:36px 36px 22px;display:flex;flex-direction:column;justify-content:center;min-width:0}.realm-copy h2{font-size:clamp(36px,3.7vw,50px);max-width:13ch;line-height:1.04}.realm-meta{font-size:13px;color:#d3ddce;margin-top:14px}.realm-meta span{margin:0 9px;color:#a9bbab}.realm-description{font-size:16px;max-width:35ch;margin-top:18px;color:#edf1e7}.realm-completion{display:flex;justify-content:space-between;gap:16px;margin-top:28px;font-size:12px;color:#d3ddce;font-variant-numeric:tabular-nums}.realm-rule{height:4px;margin-top:9px;background:#597366}.realm-rule span{display:block;height:100%;background:var(--gold)}.realm-art,.place-thumb,.brief-landscape{background-image:url('/realm-atlas.webp?v=dc273cc64ce82714');background-size:200% 400%;background-position:var(--art-x,0%) var(--art-y,0%);background-repeat:no-repeat}.realm-art{aspect-ratio:3/2;min-height:100%;position:relative}.landscape-caption{position:absolute;left:20px;bottom:20px;background:var(--white);color:var(--ink);padding:8px 13px;font-size:12px;border-radius:3px}.guardian-art{display:block;flex-shrink:0;width:120px;aspect-ratio:3/2;background-image:url('/guardians-atlas.webp?v=5bcf8cc06c12f9d3');background-size:200% 400%;background-position:var(--art-x,0%) var(--art-y,0%);background-repeat:no-repeat}.guardian-note{display:flex;align-items:center;gap:12px;margin-top:16px}.guardian-note .guardian-art{width:100px}.guardian-note p{font-size:12px;color:#d3ddce}.guardian-note strong{font-family:Alegreya,Georgia,serif;font-size:20px;color:var(--white);display:block;margin-bottom:2px}.guardian-note p>span{display:block;max-width:20ch}
.chapter-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:32px 0 20px}.chapter-heading h2{font-size:28px}.chapter-tabs{display:flex;gap:4px}.chapter-tabs button{min-height:48px;padding:10px 16px;display:flex;align-items:center;justify-content:center;gap:6px;font-size:14px;border-radius:6px;font-weight:600}.chapter-tabs .selected{background:var(--leaf)}.chapter-tabs svg{width:16px;height:16px}.chapter-route{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;list-style:none;margin:0;padding:0 0 22px}.chapter-route li{position:relative;min-width:0}.chapter-route li:not(:last-child)::after{content:'';position:absolute;top:29px;left:calc(50% + 33px);width:calc(100% - 42px);border-top:1px dashed #8d9f8b;pointer-events:none}.route-step{height:100%;width:100%;padding:0 4px 10px;display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;border-radius:8px}.route-token{width:58px;height:58px;border:1px solid #859d8a;border-radius:50%;display:grid;place-items:center;background:var(--paper);color:var(--ink);font:700 25px Alegreya,Georgia,serif}.route-token svg{width:22px;height:22px}.route-step.selected .route-token{background:var(--forest);color:var(--white);outline:2px solid var(--forest);outline-offset:4px}.route-step.cleared .route-token{background:var(--gold);border-color:#9a782e;color:var(--ink)}.route-step.locked .route-token{border-style:dashed;color:#60705f}.route-copy{max-width:24ch;min-width:0}.route-copy strong{display:block;font-size:15px;font-weight:650;line-height:1.35;overflow-wrap:anywhere}.route-copy small{display:block;font-size:12px;color:var(--muted);margin-top:5px}.route-step.selected .route-copy strong{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}.stage-detail{display:flex;align-items:center;gap:24px;padding:26px 30px;background:var(--leaf);border-radius:12px}.stage-text{flex:1;min-width:0}.stage-text h3{font-size:30px}.stage-meta{color:var(--muted);font-size:12px;margin-top:6px}.stage-text>p:last-child{margin-top:12px;font-size:15px;max-width:65ch}.stage-action{width:230px;flex-shrink:0}.stage-action .primary{width:100%}.stage-note{font-size:12px;color:var(--muted);margin-top:10px;line-height:1.5}.stage-guardian{width:140px}.earned-seals{margin-top:36px;padding-top:26px;border-top:1px solid var(--line)}.earned-seals h2{font-size:28px}.seal-collection{display:flex;flex-wrap:wrap;gap:20px 28px;margin-top:18px}.realm-seal{width:132px;text-align:center}.realm-seal .guardian-art{width:132px}.realm-seal strong{font:700 20px Alegreya,Georgia,serif;display:block}.realm-seal>span:last-child{display:block;font-size:12px;line-height:1.4;margin-top:5px;color:var(--muted)}.review-prompt{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:30px;padding:24px 0;border-top:1px solid var(--line)}.review-prompt h2{font-size:27px}.review-prompt p{font-size:14px;margin-top:5px;color:var(--muted)}.how-it-works{max-width:75ch;font-size:14px;margin-top:24px}.how-it-works summary{cursor:pointer;min-height:48px;align-content:center;font-weight:650}.how-it-works div{padding:4px 0 12px}.how-it-works p+p{margin-top:12px}.site-footer{max-width:1280px;margin:0 auto;padding:24px 40px 32px;display:flex;justify-content:space-between;gap:20px;font-size:12px;color:var(--muted)}.global-error{background:var(--red-bg);color:var(--red);border-radius:12px;padding:20px;margin-bottom:24px;line-height:1.5}.global-error button{margin:8px}.loading-copy{padding:60px 0;color:var(--muted)}
.play-heading{display:grid;grid-template-columns:minmax(100px,1fr) minmax(0,auto) minmax(120px,1fr);align-items:center;gap:20px;margin:0 auto 24px}.play-heading h1{text-align:center;font-size:32px;max-width:25ch}.play-place{justify-self:end;display:flex;align-items:center;gap:10px;max-width:200px;font-size:12px;color:var(--muted)}.place-thumb{width:60px;aspect-ratio:3/2;flex-shrink:0;border-radius:4px}.play-card{max-width:800px;margin:auto;background:var(--white);border-radius:var(--radius);padding:28px 36px}.question-top{display:flex;justify-content:space-between;gap:12px;font-size:14px;font-variant-numeric:tabular-nums}.question-top>span:last-child{color:var(--muted)}.progress-track{display:flex;gap:6px;margin:12px 0 24px;height:5px}.progress-track span{flex:1;background:#d9e1d4}.progress-track .done{background:var(--green)}.progress-track .wrong{background:#b86e4e}.progress-track .current{background:#bd8d26}.word-prompt{display:flex;gap:24px;align-items:flex-start;justify-content:space-between}.word-prompt>div{min-width:0}.word-prompt h2{font-size:31px;margin-bottom:14px}.definition{font-size:18px;font-weight:550;line-height:1.45;max-width:65ch}.sentence{font-size:15px;color:var(--muted);margin-top:10px;max-width:65ch}.listen{border:1px solid #8eaa94;border-radius:8px;background:#edf1e7;min-width:104px;min-height:78px;padding:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;font-size:14px;font-weight:650}.listen svg{width:24px;height:24px}.audio-status{font-size:12px;line-height:1.4;min-height:18px;margin:8px 0;color:var(--muted)}.answer-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px}.answer-heading label{font-size:14px;font-weight:650}.answer-heading label span{font-size:12px;color:var(--muted);margin-left:8px;font-weight:400}.input-switch{display:flex;background:#e8eddf;border-radius:6px;padding:3px;gap:3px}.input-switch button{min-height:44px;padding:8px 14px;font-size:13px;font-weight:650;border-radius:4px}.input-switch [aria-pressed=true]{background:var(--forest);color:var(--white)}.answer-input{display:block;width:100%;height:60px;border:2px solid var(--ink);border-radius:7px;background:var(--white);padding:10px 16px;font-size:28px;letter-spacing:.025em;color:var(--ink)}.answer-input::placeholder{font-size:18px;letter-spacing:0;color:#657262}.answer-input[aria-invalid=true]{border-color:var(--red)}.input-message{color:var(--red);font-size:13px;line-height:1.4;margin:7px 0}.input-message:empty{margin:0}.letter-keyboard{margin:18px auto;max-width:650px}.keyboard-row{display:flex;justify-content:center;gap:6px;margin-top:6px}.letter-key{display:grid;place-items:center;min-width:0;width:56px;height:52px;border:1px solid #a4b49b;border-radius:6px;background:#edf0e4;font-size:23px;font-weight:600;text-transform:lowercase;user-select:none}.letter-key:hover:not(:disabled){background:var(--leaf)}.letter-key:active:not(:disabled){background:var(--gold)}.delete-key{width:88px;font-size:13px}.tile-tray{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:20px 0 8px}.supplied{background:#f4e4bd;border-color:#b29350}.supplied:disabled{opacity:.25}.keyboard-tools{display:flex;justify-content:center;gap:20px}.typing-note{font-size:13px;color:var(--muted);padding:14px 0}.form-actions{display:flex;gap:12px;margin-top:16px}.form-actions>.primary{flex:1}.form-actions>.secondary{min-width:102px}.answer-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:10px;font-size:13px;color:var(--muted)}.hint-box{padding:14px 18px;background:#f6e7bf;color:#5e481f;border-radius:8px;margin-top:16px;font-size:15px}.repair-prompt{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin:4px 0 16px;padding:12px 16px;background:#eef1e8;border-radius:6px}.repair-prompt span{font-size:12px;color:var(--muted)}.repair-prompt strong{font-size:23px;letter-spacing:.025em;overflow-wrap:anywhere}.shield-row{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 20px}.shield-row span{display:grid;place-items:center;width:32px;height:32px;background:var(--forest);color:var(--white);border-radius:5px}.shield-row .broken{background:var(--gold);color:var(--ink)}.shield-row svg{width:20px;height:20px}.boss-encounter{display:flex;align-items:center;justify-content:center;gap:18px;padding-bottom:18px;margin-bottom:22px;border-bottom:1px solid var(--line)}.boss-encounter .guardian-art{width:140px}.boss-encounter strong{display:block;font:700 28px Alegreya,Georgia,serif}.boss-encounter div>span{display:block;font-size:13px;color:var(--muted);margin-top:4px}
.feedback{display:flex;align-items:flex-start;gap:16px;padding:24px;margin:12px 0 22px;border-radius:12px;animation:stamp .32s var(--ease)}.feedback.correct{background:var(--green-bg);color:var(--green)}.feedback.missed{background:var(--red-bg);color:var(--red)}.feedback-symbol{width:38px;height:38px;border:1px solid currentColor;border-radius:50%;display:grid;place-items:center;flex-shrink:0}.feedback>div:last-child{min-width:0}.feedback h3{font-size:26px}.correct-word{font-family:Alegreya,Georgia,serif;font-size:42px;line-height:1.2;overflow-wrap:anywhere;margin:8px 0}.feedback p:not(.correct-word){font-size:15px;max-width:65ch;overflow-wrap:anywhere}.old-answer{margin:0 0 12px}.feedback-action{width:100%}.brief-card{max-width:760px;padding:0 36px 36px;overflow:hidden}.brief-landscape{height:160px;margin:0 -36px 26px;background-size:200% 400%;background-position:var(--art-x,0%) var(--art-y,0%)}.brief-mark{width:48px;height:48px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;margin-bottom:18px;background:var(--leaf)}.brief-guardian{width:260px;margin:18px auto 8px}.brief-card h2{font-size:36px;max-width:26ch;margin-bottom:18px}.lesson-rule{font-size:18px;line-height:1.6;max-width:65ch}.brief-instruction{margin-top:24px;padding-top:22px;border-top:1px solid var(--line)}.brief-instruction strong{font-size:14px}.brief-instruction p{font-size:16px;margin-top:7px}.brief-detail{font-size:14px;color:var(--muted);margin:20px 0 26px}.brief-card>.primary{width:100%}.save-warning{background:var(--red-bg);color:var(--red);padding:18px;margin:0 0 24px;border-radius:10px;font-size:14px}.save-warning p{margin:8px 0 16px}.save-warning .secondary{font-size:14px}.result-card{padding:36px}.result-mark{width:54px;height:54px;border:1px solid #b59654;border-radius:50%;background:#f3e6c7;display:grid;place-items:center;margin-bottom:20px}.result-mark.try-again{background:var(--red-bg);color:var(--red);border-color:#c99380}.result-title{font-size:40px}.result-copy{font-size:17px;margin-top:14px;max-width:65ch}.result-summary{display:flex;flex-wrap:wrap;gap:24px;margin:24px 0;font-size:14px}.result-summary strong{font:700 28px Alegreya,Georgia,serif;margin-right:6px}.result-actions{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0 32px}.review-title{font-size:26px}.review-list{list-style:none;padding:0;margin:16px 0 0}.review-list li{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding:18px 0}.review-list li>div{min-width:0}.review-list strong{font-size:19px;overflow-wrap:anywhere}.review-list p{font-size:14px;color:var(--muted);margin-top:6px;overflow-wrap:anywhere}.review-list li>span{font-size:12px;white-space:nowrap;padding-top:5px}.correct-status{color:var(--green)}.missed-status{color:var(--red)}.earned-guardian{float:right;width:210px;text-align:center;margin:0 0 20px 24px}.earned-guardian .guardian-art{width:210px}.earned-guardian>span{display:block;font-size:12px;color:var(--muted);margin-top:6px}.book-filter{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:28px}.book-filter button{min-height:48px;padding:10px 20px;border:1px solid var(--line);border-radius:6px;font-size:14px;font-weight:600}.book-filter [aria-pressed=true]{background:var(--forest);color:var(--white);border-color:var(--forest)}.word-collection{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:32px;row-gap:26px}.word-entry{border-top:1px solid #7f9580;padding:18px 0}.word-entry-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-height:50px}.word-entry h2{font-size:30px;min-width:0;padding-top:7px;overflow-wrap:anywhere}.hear-small{min-width:48px;min-height:48px;padding:12px;background:var(--leaf)}.word-entry p{font-size:15px;margin-top:12px}.word-entry .word-tip{font-size:13px;color:var(--muted)}.word-memory{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--muted);margin-top:18px}.word-memory svg{width:15px;height:15px}.word-memory.remembered{color:var(--green)}.empty-state{max-width:580px;margin:60px auto;text-align:center}.empty-state h1,.empty-state h2{font-size:38px}.empty-state p{margin:20px 0 28px}.empty-state .brief-mark{margin:0 auto 24px}.empty-state .text-button{display:flex;margin:12px auto}.empty-state button{max-width:100%}@keyframes stamp{0%{transform:scale(.97) rotate(-1deg)}100%{transform:scale(1) rotate(0)}}
@media(min-width:960px) and (max-height:850px){.header-inner{min-height:72px;padding-top:10px;padding-bottom:10px}main{padding-top:24px}.play-heading{margin-bottom:16px}.play-heading h1{font-size:30px}.play-place>span:last-child{display:none}.play-card:has(#answer-form){max-width:none;padding:24px;display:grid;grid-template-columns:minmax(240px,.72fr) minmax(510px,1.28fr);column-gap:28px}.play-card:has(#answer-form) .question-top,.play-card:has(#answer-form) .progress-track{grid-column:1/-1}.play-card:has(#answer-form) .word-prompt{grid-column:1;grid-row:3;display:block}.play-card:has(#answer-form) .listen{min-height:52px;flex-direction:row;margin-top:20px;padding:10px 16px}.play-card:has(#answer-form) #answer-form{grid-column:2;grid-row:3/8}.play-card:has(#answer-form) .audio-status{grid-column:1;grid-row:5}.play-card:has(#answer-form) .repair-prompt{grid-column:1;grid-row:4;margin-top:16px}.play-card:has(#answer-form) .shield-row{grid-column:1;grid-row:4;margin-top:16px}.play-card:has(#answer-form) .hint-box{grid-column:1;grid-row:6}.play-card:has(#answer-form) .answer-footer{grid-column:2;grid-row:8}.play-card:has(#answer-form) .letter-keyboard{margin-top:12px}.play-card:has(#answer-form) .definition{font-size:17px}.play-card:has(#answer-form) .sentence{font-size:14px}.keyboard-row{gap:4px}.letter-key{height:50px}.boss-play .play-card:has(#answer-form) .boss-encounter{grid-column:1/-1;padding-bottom:12px;margin-bottom:16px;grid-row:1}.boss-play .play-card:has(#answer-form) .boss-encounter .guardian-art{width:100px}.boss-play .play-card:has(#answer-form) .question-top{grid-row:2}.boss-play .play-card:has(#answer-form) .progress-track{grid-row:3}.boss-play .play-card:has(#answer-form) .word-prompt{grid-row:4}.boss-play .play-card:has(#answer-form) #answer-form{grid-row:4/9}.boss-play .play-card:has(#answer-form) .shield-row{grid-row:5}.boss-play .play-card:has(#answer-form) .audio-status{grid-row:6}.boss-play .play-card:has(#answer-form) .answer-footer{grid-row:9}}
@media(max-width:1050px){.header-inner{gap:28px;padding-left:28px;padding-right:28px}main{padding-left:28px;padding-right:28px}.realm-copy{padding:28px 26px 20px}.realm-copy h2{font-size:40px}.realm-description{font-size:15px}.guardian-note .guardian-art{width:84px}.realm-completion{margin-top:20px}.realm-short{font-size:12px}.chapter-route{gap:16px}.chapter-route li:not(:last-child)::after{width:calc(100% - 50px)}.site-footer{padding-left:28px;padding-right:28px}.stage-guardian{width:110px}}
@media(max-width:900px){.header-inner{gap:22px;padding-left:24px;padding-right:24px}.save-indicator{max-width:100px;line-height:1.4}main{padding:28px 24px}.realm-spread{grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr)}.realm-copy{padding:26px 24px 18px}.realm-copy h2{font-size:36px}.realm-description{font-size:14px}.realm-art{aspect-ratio:auto}.guardian-note .guardian-art{width:70px}.guardian-note{gap:6px}.guardian-note strong{font-size:19px}.guardian-note p>span{font-size:12px}.realm-tabs{gap:2px}.realm-tab{gap:5px;padding:8px 3px 12px}.realm-short{display:block;width:100%;font-size:12px;order:3}.realm-age{font-size:23px}.stage-detail{padding:22px;gap:20px}.stage-action{width:205px}.stage-guardian{display:none}.play-heading{grid-template-columns:100px minmax(0,1fr)}.play-heading h1{text-align:right;justify-self:end}.play-place{display:none}.word-collection{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.site-footer{padding-left:24px;padding-right:24px}.chapter-tabs button{font-size:13px;padding:10px 11px}}
@media(max-width:600px){.header-inner{padding:12px 16px;gap:12px;flex-wrap:wrap;row-gap:10px}.brand{font-size:26px;gap:8px}.brand-tile{width:31px;height:36px;font-size:28px}.brand-caption{font-size:12px;margin-top:4px}.header nav{gap:2px;margin-left:auto}.nav-button{padding:10px;font-size:13px;min-height:46px}.save-indicator{width:100%;max-width:none;margin-left:0;font-size:12px}.save-dot{width:5px;height:5px}main{padding:24px 16px}.page-heading{grid-template-columns:1fr;margin-bottom:22px}.page-heading h1{font-size:30px}.page-heading p{font-size:13px;margin-top:6px}.page-heading>.primary{grid-column:1;grid-row:auto;margin-top:16px;justify-self:start;min-height:48px;font-size:14px}.realm-tabs{display:flex;overflow-x:auto;margin:0 -16px 20px;padding:0 16px;scroll-snap-type:x proximity;border:0;gap:6px}.realm-tab{min-width:80px;min-height:70px;border-bottom:2px solid var(--line);scroll-snap-align:center;padding-bottom:10px;flex-shrink:0}.realm-short{font-size:12px}.realm-spread{display:flex;flex-direction:column}.realm-art{order:-1;min-height:0;aspect-ratio:3/2;width:100%}.landscape-caption{left:14px;bottom:14px;font-size:12px;padding:7px 10px}.realm-copy{padding:24px}.realm-copy h2{font-size:38px;max-width:15ch}.realm-meta{font-size:12px;margin-top:10px}.realm-description{margin-top:14px;font-size:15px;max-width:40ch}.realm-completion{margin-top:22px;font-size:12px}.guardian-note{margin-top:14px;gap:12px}.guardian-note .guardian-art{width:86px}.guardian-note p>span{font-size:12px;max-width:24ch}.guardian-note strong{font-size:21px}.chapter-heading{display:block;margin:28px 0 22px}.chapter-heading h2{font-size:27px;margin-bottom:12px}.chapter-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px}.chapter-tabs button{padding:9px 3px;font-size:12px;min-width:0;flex-direction:column;gap:4px;border-radius:5px}.chapter-route{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px;padding-bottom:20px}.chapter-route li::after{display:none}.route-token{width:50px;height:50px;font-size:23px}.route-copy strong{font-size:14px}.route-copy small{font-size:12px}.route-step{gap:10px;padding:0 4px 8px}.stage-detail{display:block;padding:22px}.stage-text h3{font-size:28px}.stage-text>p:last-child{font-size:15px;margin-top:12px}.stage-action{width:auto;margin-top:20px}.stage-note{font-size:12px}.review-prompt{display:block;margin-top:24px;padding-top:24px}.review-prompt .secondary{width:100%;margin-top:16px}.review-prompt h2{font-size:26px}.seal-collection{gap:24px 12px;justify-content:flex-start}.realm-seal{width:calc(50% - 6px)}.realm-seal .guardian-art{width:130px;max-width:100%;margin:auto}.realm-seal strong{font-size:21px}.how-it-works{font-size:13px}.site-footer{padding:20px 16px 28px;flex-wrap:wrap;gap:10px;font-size:12px}.play-heading{grid-template-columns:44px minmax(0,1fr);gap:12px;margin-bottom:16px}.play-heading h1{font-size:26px;max-width:24ch;overflow-wrap:anywhere}.back-button{padding:10px;min-width:44px}.back-button span{display:none}.play-card{padding:22px 16px;margin:0 -4px}.question-top{font-size:12px;gap:8px}.progress-track{gap:4px;margin-bottom:20px}.word-prompt{gap:12px}.word-prompt h2{font-size:27px;margin-bottom:12px}.definition{font-size:16px}.sentence{font-size:14px}.listen{min-width:66px;min-height:74px;padding:8px 5px;font-size:12px}.listen svg{width:23px;height:23px}.answer-heading{gap:8px}.answer-heading label{font-size:13px}.answer-heading label span{display:block;margin:3px 0 0;font-size:12px}.input-switch button{padding:8px 10px;font-size:12px}.answer-input{height:58px;font-size:25px;padding:10px 12px}.answer-input::placeholder{font-size:16px}.letter-keyboard{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;max-width:400px;margin:16px auto}.keyboard-row{display:contents}.letter-key{width:100%;height:48px;font-size:21px}.delete-key{grid-column:span 2;font-size:12px}.tile-tray .letter-key{width:48px}.form-actions{gap:8px}.form-actions>.primary{padding:13px 10px;font-size:14px}.form-actions>.secondary{min-width:76px;padding:12px;font-size:14px}.answer-footer{font-size:12px}.answer-footer .text-button{font-size:12px;padding:10px 0}.feedback{padding:18px 14px;gap:12px}.feedback h3{font-size:24px}.feedback-symbol{width:30px;height:30px}.correct-word{font-size:clamp(23px,6.8vw,36px)}.feedback p:not(.correct-word){font-size:14px}.hint-box{font-size:14px;padding:14px}.brief-card{padding:0 22px 28px}.brief-landscape{margin:0 -22px 24px;height:140px}.brief-card h2{font-size:32px}.lesson-rule{font-size:17px}.brief-instruction p{font-size:15px}.brief-detail{font-size:13px}.brief-guardian{width:220px;max-width:100%}.brief-mark{margin-bottom:16px}.result-card{padding:26px 22px}.result-title{font-size:35px}.result-copy{font-size:16px}.result-summary{gap:18px}.result-actions{flex-direction:column}.result-actions button{width:100%}.review-list li{gap:12px}.review-list li>span{font-size:12px}.earned-guardian{float:none;margin:0 auto 24px;width:200px}.earned-guardian .guardian-art{width:200px}.boss-encounter{gap:12px;justify-content:flex-start;padding-bottom:14px;margin-bottom:18px}.boss-encounter .guardian-art{width:110px}.boss-encounter strong{font-size:25px}.boss-encounter div>span{font-size:12px}.shield-row{gap:4px}.shield-row span{width:25px;height:28px}.shield-row svg{width:17px;height:17px}.word-collection{grid-template-columns:1fr;gap:18px}.word-entry h2{font-size:30px}.book-filter{gap:6px}.book-filter button{padding:10px 12px;font-size:12px}.empty-state{margin:36px auto}.empty-state h1,.empty-state h2{font-size:34px}}
@media(max-width:400px){.letter-keyboard{grid-template-columns:repeat(6,minmax(0,1fr))}.header nav{width:100%;margin-left:0;display:grid;grid-template-columns:1fr 1fr}.nav-button{font-size:14px}.realm-copy{padding:22px}.realm-copy h2{font-size:35px}}
@media(max-width:360px){.letter-keyboard{grid-template-columns:repeat(5,minmax(0,1fr))}.realm-copy h2{font-size:32px}.brief-card h2{font-size:30px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Crop lesson panoramas without stretching the atlas cell. */
.brief-landscape{position:relative;overflow:hidden}.brief-landscape::before{content:"";position:absolute;left:0;right:0;top:50%;aspect-ratio:3/2;background:inherit;transform:translateY(-50%)}

.offline-panel{margin-bottom:24px;padding-bottom:16px;border-bottom:1px solid var(--line);font-size:14px}
.offline-panel summary{font-weight:650;cursor:pointer;min-height:44px;display:list-item;align-content:center}
.offline-panel>div{max-width:72ch;padding-top:10px}
.offline-panel p{margin:0 0 14px}
.offline-panel p+p{color:var(--muted)}
.offline-choices{display:flex;flex-wrap:wrap;gap:12px}
.offline-panel button{min-height:48px}
#offline-sync{margin-bottom:12px}

#save-settings h2{font-size:24px;margin:24px 0 12px}
#save-settings h2:first-child{margin-top:0}
.file-button{display:inline-flex;align-items:center;min-height:48px;padding:12px 18px;border:1px solid var(--ink);border-radius:7px;cursor:pointer;font-weight:650;position:relative}
.file-button input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}
.file-button:focus-within{outline:3px solid #a6563b;outline-offset:4px}
.sound-setting{display:flex;align-items:center;gap:12px;min-height:48px;cursor:pointer}
.sound-setting input{width:24px;height:24px;accent-color:var(--forest)}
#backup-message:not(:empty),#restore-preview,#speech-notice{margin-top:16px}

/* Reserve the map while durable progress opens, so controls do not jump. */
.realm-tabs{min-height:63px}.loading-copy{min-height:700px}
@media(max-width:600px){.realm-tabs{min-height:70px}}
