/* Shared Aurora frame: aligned with Spellkeys, PixelCraft and the classroom site.
   Lesson surfaces remain light; correctness colours retain their meaning. */
:root{--paper:#f7f8fc;--white:#fffefa;--ink:#142c52;--muted:#53657f;--green:#173d81;--line:#dbe1ee;--blue:#6c62a8;--shadow:0 8px 28px #0825720c;--aurora-navy:#08152e;--aurora-aqua:#73f9ff;--aurora-lilac:#e49aff}
.sidebar{background:linear-gradient(180deg,#102651,var(--aurora-navy) 70%);border-color:#33486e;color:#f7f9fc}
.brand{color:#f7f9fc;letter-spacing:-.7px}.brand small{color:var(--aurora-aqua);font-size:9px;letter-spacing:1.7px}
.sidebar .nav-label,.sidebar .version{color:#bcc9df}.nav-button{color:#bcc9df}.nav-button:hover{background:#1b315b;color:white}.nav-button.active{background:linear-gradient(110deg,#7554a150,#12659b30);color:#fff;border:1px solid #827aa6;box-shadow:inset 3px 0 var(--aurora-lilac)}.nav-button .nav-dot{background:var(--aurora-aqua)}
.sidebar .camp-card{background:#10234b;border-color:#33486e}.camp-card p{color:#bcc9df}.camp-icon{color:var(--aurora-aqua)}
.topbar{background:#08152e;border-color:#33486e;color:#f7f9fc;height:70px}.breadcrumb,.local-tag{color:#bcc9df}.breadcrumb strong{color:white}.status-dot{background:var(--aurora-aqua)}.avatar{background:#24365b;color:var(--aurora-aqua);border-color:#33486e;outline:0}
.main{max-width:1440px;padding:32px clamp(20px,3vw,44px) 32px}.welcome-row{padding:8px 0 22px;margin:0;align-items:center}.welcome-row h1{font-size:clamp(30px,3vw,42px);line-height:1.15}.welcome-row p{font-size:17px;max-width:580px}.eyebrow{color:#56678a;font-size:11px;letter-spacing:1.5px}.chapter-pill{background:#f0eafa;border-color:#dcd0ee;color:#534578}
.levels{border-radius:16px;padding:8px;margin-bottom:24px;gap:5px;box-shadow:var(--shadow)}.level-intro{color:#53657f}.level-btn{font-size:14px;padding:10px;min-height:44px}.level-btn:hover{background:#edf5fc}.level-btn.selected{background:#e9e4fa;color:#173d81;box-shadow:inset 0 0 0 1px #c3b4e1}.level-btn .small-dot{background:#598da3}
.adventure-grid{grid-template-columns:minmax(0,1fr) 290px;gap:20px;align-items:start}.town-card{border-color:var(--line)}.town-heading{background:linear-gradient(110deg,#e9f8fb,#f1eafa)}.town-heading h2{color:#173d81}.town-heading>span{color:#53657f}.town-legend{background:#fffefa;color:#53657f}.town-marker.is-ready{background:#dcb9f5;color:#172951}.town-marker.is-current{outline-color:#73f9ff}.town-marker.is-done{background:#185d70}.legend-ready{background:#dcb9f5!important}.legend-done{background:#185d70!important}
.adventure-grid>.quest-card{padding:24px;gap:0;border-top:4px solid #bda2dc;align-self:start;min-height:0}.quest-card>.eyebrow{margin-bottom:16px}.quest-card .tag{font-size:11px;color:#6b5594}.quest-card h2{font:800 25px/1.25 'Nunito',sans-serif;color:#173d81}.quest-card .character{margin:20px 0}.character strong{font-size:16px}.character small{font-size:12px}.quest-meta{flex-wrap:wrap;font-size:12px;color:#53657f}.skill-pips{gap:6px;margin-bottom:22px}.skill-pip{background:#edf0fa;border-color:#dbe1ee;color:#647393}.quest-card .primary{margin-top:4px}.quest-note{color:#53657f!important;font-size:12px!important}
.primary{background:linear-gradient(105deg,#e49aff,#73f9ff);color:#082572;border:1px solid #b7bce6;box-shadow:0 3px 0 #b4b7d8;font-weight:800;min-height:48px}.primary:hover{background:linear-gradient(105deg,#edb9ff,#a3fbff)}.primary:active{box-shadow:0 1px 0 #b4b7d8}.secondary{color:#173d81;border-color:#bdc9df;background:#f2f4fc}.secondary:hover{background:#e7eafa}.text-button{color:#345b93}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-color:#7861c3}.sidebar button:focus-visible,.sidebar a:focus-visible{outline-color:#73f9ff}
.story-panel{margin-top:24px;background:#f0ecfa;border-color:#d8cdeb;border-radius:20px;padding:26px}.story-panel h2{color:#173d81}.chapter-trail{gap:12px;margin-top:22px}.chapter-tile{background:#fffefa;border:1px solid #cbd2e6;box-shadow:0 3px 0 #d9dfee}.chapter-tile strong{color:#203f6c}.chapter-number{background:#e8dff5;color:#64518a}.chapter-done{background:#e9f6f8;border-color:#87b5c0}.chapter-done .chapter-number{background:#cae9ee;color:#185d70}.chapter-locked{opacity:1;background:#f3f2f8;color:#67738b}.chapter-locked strong{color:#67738b}.chapter-locked em{color:#67738b}.learning-history{background:#eaf3fa;border-color:#d3e1ee;margin:24px 0}.skill-card h3{font-size:16px}.skill-card small{font-size:12px;line-height:1.5;color:var(--muted)}.section-head h2{font:800 21px 'Nunito',sans-serif}.footer-note{flex-wrap:wrap;line-height:1.6;color:#53657f}.scene-story{background:#edf3fb;border-color:#cbd6ea}.scene-story h3{color:#173d81}.dialog-header progress,.skill-card progress{accent-color:#8473b1}progress::-webkit-progress-value{background:#8473b1}
@media(max-width:1100px){.adventure-grid{grid-template-columns:1fr}.adventure-grid>.quest-card{display:grid;grid-template-columns:1fr 1fr;column-gap:24px}.quest-card>.eyebrow,.quest-card>.tag{grid-column:1/-1}.quest-card .character{grid-column:1;grid-row:3/6}.quest-card h2,.quest-card>p:not(.quest-note),.quest-card .quest-meta{grid-column:2}.quest-card .skill-pips{grid-column:1;margin:12px 0}.quest-card .primary,.quest-card .quest-note{grid-column:2}.welcome-row{flex-wrap:wrap}}
@media(max-width:700px){.main{padding:22px 16px}.topbar{padding:0 16px}.welcome-row{gap:14px}.welcome-row p{font-size:16px}.levels{flex-wrap:wrap;overflow:visible}.level-intro{width:100%;padding:6px 10px}.level-btn{flex:1 0 23%;font-size:13px}.adventure-grid>.quest-card{display:flex;padding:20px}.quest-card .character{margin:14px 0}.quest-card .skill-pips{margin:10px 0 20px}.story-panel{padding:20px 16px}.sidebar .nav-button{border-radius:8px}.chapter-pill{white-space:normal}.learning-history{padding:20px}.skill-card{padding:14px}.footer-note{font-size:11px}.top-actions{gap:10px}}
/* Lessons are a page in the main workspace, not a modal overlay. */
.lesson-open .sidebar,.lesson-open .topbar{display:none}
.lesson-open .shell{display:block}.lesson-open .workspace{margin:0;width:100%;min-width:0}
.lesson-open .main{max-width:none;width:100%;padding:0;margin:0}
#quest-dialog.lesson-frame{position:relative;inset:auto;display:flex;flex-direction:column;width:100%;max-width:none;max-height:none;min-height:100dvh;margin:0;border:0;border-radius:0;box-shadow:none;background:#fffefa;color:var(--ink)}
#quest-dialog.lesson-frame[hidden]{display:none}
#quest-dialog.lesson-frame .dialog-header{padding:12px clamp(16px,3vw,40px);background:linear-gradient(100deg,#eef8fc,#f0eafa);gap:16px}
#quest-dialog.lesson-frame .dialog-header h2{margin:5px 0;font-size:22px}
#quest-dialog.lesson-frame .dialog-header progress{height:7px;max-width:320px;width:100%}
#quest-dialog.lesson-frame .dialog-body{overflow:visible;padding:20px clamp(16px,3vw,40px);flex:1}
.lesson-grid{display:grid;grid-template-columns:minmax(260px,.9fr) minmax(360px,1.1fr);gap:clamp(20px,4vw,56px);max-width:1450px;margin:auto;align-items:start}
.lesson-picture{position:sticky;top:18px}.lesson-task{min-width:0}
#quest-dialog.lesson-frame .g5-art,#quest-dialog.lesson-frame .activity-scene .task-picture,#quest-dialog.lesson-frame .activity-scene figure{max-width:100%;width:100%;margin:0 auto}
#quest-dialog.lesson-frame .task-title{margin:4px 0 16px;font-size:clamp(22px,2.5vw,30px);line-height:1.35}
#quest-dialog.lesson-frame .stepper{max-width:800px;margin:0 auto 20px;gap:8px}
#quest-dialog.lesson-frame .step-marker{min-height:44px;padding:10px;border-radius:10px;background:#f0f3f8;font-size:16px}
#quest-dialog.lesson-frame .step-marker.current{background:#e5e2fa;border-color:#8c77b9;font-weight:800}
#quest-dialog.lesson-frame .dialog-footer{position:sticky;bottom:0;z-index:3;background:#fffefaf5;border-top:1px solid #d5dcec;padding:12px clamp(16px,3vw,40px);justify-content:space-between;box-shadow:0 -4px 18px #1523450c}
#quest-dialog.lesson-frame .dialog-footer .primary{min-width:180px;min-height:58px;font-size:20px}
#quest-dialog.lesson-frame .dialog-footer small{font-size:13px;max-width:45%}
#quest-dialog.lesson-frame .japanese-directions{margin:10px 0;padding:10px 14px;font-size:16px}
#quest-dialog.lesson-frame summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:8px;font-weight:700}
.scene-details{margin-top:16px;border:1px solid #d6dceb;border-radius:12px;padding:8px 14px;background:#f5f4fc}
.scene-details p{line-height:1.6}.scene-details .scene-story{margin:8px 0}
#quest-dialog.lesson-frame .choices{gap:10px}#quest-dialog.lesson-frame .choice{min-height:58px;font-size:20px}
#quest-dialog.lesson-frame .answer-picture{display:none}
#quest-dialog.lesson-frame .writing-area{min-height:180px;margin-top:8px}
#quest-dialog.lesson-frame .writing-meta{font-size:12px}
#quest-dialog.lesson-frame .writing-audio-controls{padding:10px;gap:8px;margin:8px 0}
#quest-dialog.lesson-frame .self-study-help{font-size:15px;margin:8px 0;padding:8px 14px}
.return-recap{background:#eef4fb;border:1px solid #ccd8e8;border-radius:18px;padding:24px;margin-bottom:24px}
@media(max-width:760px){.lesson-grid{grid-template-columns:1fr;gap:16px}.lesson-picture{position:static}#quest-dialog.lesson-frame .lesson-picture .g5-art{max-width:340px}#quest-dialog.lesson-frame .dialog-body{padding:12px 16px}#quest-dialog.lesson-frame .dialog-header h2{font-size:18px}#quest-dialog.lesson-frame .dialog-header .eyebrow{font-size:9px}#quest-dialog.lesson-frame .step-marker svg{display:block}#quest-dialog.lesson-frame .step-marker{font-size:12px;padding:8px 4px}#quest-dialog.lesson-frame .dialog-footer small{display:none}#quest-dialog.lesson-frame .dialog-footer .primary{width:100%}.scene-details{margin-top:8px}}
.practice-open .sidebar,.practice-open .topbar{display:none}.practice-open .shell{display:block}.practice-open .workspace{margin:0;width:100%}.practice-open .main{padding:0;max-width:none}
.practice-frame{display:block;min-height:100dvh;background:#fffefa}.practice-frame[hidden]{display:none}.practice-frame .dialog-body{max-width:1000px;margin:auto;padding:24px}.practice-frame .dialog-header{background:#eef3fc}.practice-frame .g5-art{max-width:360px}
@media(min-width:761px){#quest-dialog.lesson-frame .lesson-picture .g5-art,#quest-dialog.lesson-frame .lesson-picture .task-picture,#quest-dialog.lesson-frame .lesson-picture figure{max-width:min(100%,58dvh)}}

/* Hikari: audio-first instructions, with deliberate written backup. */
.helper-panel{margin:12px 0 24px;padding:16px;background:linear-gradient(135deg,#ede7ff,#def5f8);border:1px solid #cbc5e4;border-radius:22px}
.helper-main{display:flex;align-items:center;gap:22px}.question-help{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;flex:0 0 132px;min-height:140px;border:3px solid #fff;border-radius:28px;background:linear-gradient(145deg,#8662bd,#254c91);color:#fff;box-shadow:0 5px 0 #1c3766;cursor:pointer;font-weight:750}.question-symbol{font-size:78px;line-height:1}.question-help>span:last-child{display:flex;align-items:center;gap:6px;font-size:16px}.question-help:active{transform:translateY(3px);box-shadow:0 2px 0 #1c3766}.question-help:disabled{opacity:.5;cursor:default}.question-help:focus-visible{outline:4px solid #e9b951;outline-offset:4px}.helper-options{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.helper-languages{display:flex;flex-wrap:wrap;gap:6px}.helper-languages button{min-height:46px}.helper-languages [aria-pressed="true"]{background:#244e82;color:white;border-color:#244e82}.instruction-backup{margin-top:18px;border-top:1px solid #c9cee5;padding-top:8px}.instruction-backup summary{display:flex;align-items:center;gap:8px;min-height:44px;cursor:pointer;color:#294b76;font-weight:650}.instruction-backup p{line-height:1.7}.helper-task-title{display:flex;align-items:center;gap:12px;font-size:24px!important}.process-audio-help{margin:18px 0}.process-audio-help .question-help{min-height:110px;min-width:110px;flex-basis:110px}.process-audio-help .question-symbol{font-size:58px}
@media(max-width:520px){.helper-panel{padding:12px}.helper-main{gap:12px}.question-help{flex-basis:110px;min-height:126px}.question-symbol{font-size:66px}.helper-options .secondary{font-size:13px;padding:8px}.helper-languages{gap:4px}}

.lesson-open .dialog-footer>small{display:none}.lesson-open .dialog-footer{display:flex;justify-content:flex-end}

/* Keep every lesson screen inside the visible game window. */
#quest-dialog.lesson-frame{height:100dvh;min-height:0;overflow:hidden}
#quest-dialog.lesson-frame .dialog-header,#quest-dialog.lesson-frame .dialog-footer{flex:0 0 auto}
#quest-dialog.lesson-frame .dialog-body{min-height:0;overflow:auto;overscroll-behavior:contain}
#quest-dialog.lesson-frame .dialog-footer{position:static;justify-content:flex-end}
#quest-dialog.lesson-frame .g5-art,#quest-dialog.lesson-frame .lesson-art{width:100%;max-width:min(420px,100%,55dvh);margin:0 auto 18px}
#quest-dialog.lesson-frame .complete-hero .lesson-art{max-width:min(360px,100%,42dvh)}
#quest-dialog.lesson-frame .complete-hero{max-width:760px;margin:auto;padding-top:0}
#quest-dialog.lesson-frame .dialog-body>.process-audio-help,#quest-dialog.lesson-frame .dialog-body>.self-study-help{max-width:1060px;margin:16px auto}
.chapter-intro{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:start;gap:clamp(20px,4vw,48px);max-width:1060px;margin:0 auto}
.chapter-art,.chapter-copy{min-width:0}.chapter-copy .speech-card{margin-bottom:16px}.chapter-copy .scene-list{margin-bottom:0}
@media(max-width:700px){.chapter-intro{grid-template-columns:1fr;gap:16px}#quest-dialog.lesson-frame .chapter-art .lesson-art{max-width:min(320px,100%,34dvh)}#quest-dialog.lesson-frame .complete-hero .lesson-art{max-width:min(300px,100%,34dvh)}}
@media(max-height:600px) and (min-width:701px){#quest-dialog.lesson-frame .chapter-art .lesson-art,#quest-dialog.lesson-frame .complete-hero .lesson-art{max-width:min(300px,100%,45dvh)}}

/* Center the action dock and spacious transition screens consistently. */
#quest-dialog.lesson-frame .dialog-footer{position:relative;justify-content:center;align-items:center;gap:16px;padding:12px 24px}
#quest-dialog.lesson-frame .dialog-footer>.primary{min-width:220px;min-height:60px;justify-content:center;font-size:19px;margin:0}
#quest-dialog.lesson-frame .footer-hints{position:absolute;right:calc(50% + 130px);display:flex;align-items:center;gap:6px}
#quest-dialog.lesson-frame .footer-hints .audio-hint{min-height:52px;min-width:110px;justify-content:center}
.lesson-interlude{width:100%;max-width:1060px;margin:0 auto;text-align:center}
.lesson-interlude .chapter-intro{text-align:center}.lesson-interlude .chapter-copy .speech-card{justify-content:center}
.lesson-interlude .chapter-copy .scene-list{text-align:left}
.lesson-interlude .process-audio-help{justify-content:center;margin:24px auto 16px}
.lesson-interlude>.self-study-help{max-width:640px;margin:0 auto 20px;text-align:left}
.lesson-interlude .evidence-list,.lesson-interlude>.task-text{max-width:760px;margin-left:auto;margin-right:auto}
.scene-break{max-width:640px;margin:clamp(20px,6vh,60px) auto 24px;text-align:center}
.break-check{display:grid;place-items:center;width:78px;height:78px;margin:0 auto 24px;background:#dcefe6;color:#295e53;border-radius:50%}.break-check svg{width:40px;height:40px}
.next-scene-card{margin:24px 0;padding:28px;background:#eef1fc;border:1px solid #cfd6ee;border-radius:20px}
.next-scene-card h3{margin:10px 0 0}
#quest-dialog .feedback:empty{display:none}
#quest-dialog .feedback.success{font-size:24px;text-align:center}
@media(max-width:600px){#quest-dialog.lesson-frame .dialog-footer{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;padding:10px}#quest-dialog.lesson-frame .dialog-footer>.primary{grid-column:2;min-width:170px;font-size:16px}#quest-dialog.lesson-frame .footer-hints{position:static;grid-column:1;grid-row:1;justify-content:center}#quest-dialog.lesson-frame .footer-hints .audio-hint{min-width:52px;padding:12px 8px}#quest-dialog.lesson-frame .footer-hints>.text-button{display:none}}
#quest-dialog.lesson-frame .lesson-interlude>.self-study-help{max-width:640px;margin:16px auto 20px;text-align:left}

/* Keep portraits on a clean atlas frame; neighbouring rows must never bleed in. */
.cast-portrait{overflow:hidden;padding:4px;transition:box-shadow .18s,transform .18s}
.cast-portrait .cast-sprite,.cast-portrait:hover .cast-sprite{animation:none;background-position-y:0%;background-size:400% 285%;width:100%;height:100%}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.cast-portrait:hover{transform:translateY(-2px);box-shadow:0 3px 0 #b9c9d8,0 0 0 3px #b9eef0}}
body.reduced-motion .cast-portrait:hover{transform:none}
.question-audio{margin:0 0 18px}.question-play{display:flex;align-items:center;justify-content:center;gap:20px;width:100%;min-height:108px;padding:18px 24px;border:2px solid #56c9d2;border-radius:20px;background:linear-gradient(120deg,#123b76,#086c7d);box-shadow:0 5px 0 #092f50;color:white;text-align:left}
.question-play:hover{background:linear-gradient(120deg,#194e94,#087f91)}.question-play:active{transform:translateY(2px);box-shadow:0 2px 0 #092f50}.question-play:focus-visible{outline:4px solid #a678d6;outline-offset:5px}
.question-play>span:last-child{display:grid;gap:3px}.question-play strong{font-size:25px}.question-play span[lang]{font-size:17px;color:#d8fcff}.play-disc{display:grid;place-items:center;width:60px;height:60px;flex:0 0 60px;border-radius:50%;background:#ecffff;color:#123b76;font-size:30px;padding-left:3px}
#quest-dialog .helper-panel{background:#f5f4fa;border-color:#ddd9e9;padding:12px;margin:16px 0 22px;border-radius:16px}
#quest-dialog .helper-panel .question-help{flex-basis:76px;min-height:80px;border:1px solid #ccc4e0;border-radius:16px;background:#eee9f8;color:#4c4470;box-shadow:0 2px 0 #c4bdd6}
#quest-dialog .helper-panel .question-symbol{font-size:36px}#quest-dialog .helper-panel .question-help>span:last-child{font-size:12px}
#quest-dialog .helper-panel .helper-main{gap:16px}#quest-dialog .helper-panel .helper-options{flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px}#quest-dialog .helper-panel .helper-options button{min-height:40px;font-size:13px}#quest-dialog .helper-panel .instruction-backup{margin-top:10px;padding-top:0}
.friend-turn{display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center}.friend-turn h3{margin:0}.friend-turn .cast-portrait{width:96px;height:108px}.voice-saved{font-size:14px;color:#406a60}.friend-play{max-width:480px}.reply-complete{font-size:30px;color:#236453}
@media(max-width:600px){.question-play{gap:12px;padding:16px;min-height:96px}.question-play strong{font-size:21px}.play-disc{width:48px;height:48px;flex-basis:48px;font-size:25px}#quest-dialog .helper-panel .helper-options{gap:4px}#quest-dialog.lesson-frame .dialog-footer>.primary{white-space:normal;text-align:center}}
.sound-check{max-width:680px;text-align:center;margin:auto}.setup-symbol{font-size:64px}.sound-check .mic-setup{display:grid;gap:16px;text-align:left;margin:24px auto}.sound-check audio{display:block;width:100%;margin:18px 0}.inline-audio-hint{padding:16px;background:#f5f4fa;border:1px solid #ddd9e9;border-radius:16px;margin-top:20px}.inline-audio-hint details{margin-top:12px}.sound-check .mic-setup select{width:100%;min-height:48px}.sound-check meter{width:100%;height:28px}
.sound-check .setup-symbol{display:block;color:#7460a3;margin:0 auto 8px}.sound-check .setup-symbol svg{width:44px;height:44px}.sound-check h3{margin:8px 0 14px}.sound-check .question-help{min-height:72px;width:76px;flex-basis:76px}.sound-check .question-symbol{font-size:36px}.sound-check .mic-setup{margin:14px auto;padding:14px;gap:10px}.sound-check .mic-setup small{font-size:12px}.sound-check .process-help{margin:10px 0}
/* Shared-account entrance, independent from the account provider. */
.login-layout{max-width:1080px;margin:clamp(12px,3vw,40px) auto;display:grid;grid-template-columns:1.05fr 1fr;gap:clamp(24px,4vw,56px);align-items:center}
.login-story h1{font-size:clamp(30px,3.2vw,46px);line-height:1.15;margin:16px 0}.login-story>img{width:100%;height:auto;max-height:330px;object-fit:cover;border-radius:20px;border:1px solid #c5cbea;display:block;margin-top:24px}.login-story>p:last-child{color:#52638c;text-align:center;font-weight:700}
.login-card{background:#fffefa;border:1px solid #c5cbea;border-radius:24px;padding:clamp(22px,3vw,36px);box-shadow:0 10px 30px #11295b12}.login-card h2{font-size:28px;margin:12px 0}.login-card h2 small{display:block;font-size:17px;color:#52638c;margin-top:7px}.login-card .profile-form{display:grid;gap:18px;margin-top:24px}.login-card .profile-form input{width:100%;min-height:52px;font-size:20px}.login-card .primary{width:100%;min-height:56px;justify-content:center}.login-card [data-login-error]:empty{display:none}.login-note,.login-other small{font-size:14px;color:#52638c;line-height:1.6}.login-help{margin:20px 0}.login-help summary{cursor:pointer;min-height:44px;padding:12px 0;font-weight:600}.login-other{border-top:1px solid #dce0ef;padding-top:22px;display:grid;gap:12px}.login-other button{min-height:50px;justify-content:center}.login-card>a{display:inline-flex;margin-top:20px}.login-unavailable{padding:16px;background:#edf3fc;border-radius:12px;margin:20px 0}
@media(max-width:800px){.login-layout{grid-template-columns:1fr;max-width:520px}.login-story>img{max-height:180px}.login-story h1{font-size:30px}.login-story>p:last-child{display:none}.login-card{padding:24px}.top-actions .local-tag{display:none}}
.recording-review{margin:16px 0}.recording-review .question-play{width:100%;min-height:80px;font-size:18px}.recording-review .play-disc{width:48px;height:48px;flex-basis:48px;font-size:24px}.recording-review audio{display:block;width:100%;margin:12px 0}.recording-review [role=status]:empty{display:none}.recording-review [role=status]{font-size:15px;line-height:1.6}

/* Approved WordTrail companion artwork; CSS viewports preserve the original sheet. */
.wt-wordmark,.wt-welcome-brand,.wt-mascot{position:relative;display:block;overflow:hidden;background:transparent;isolation:isolate;border-radius:0;flex-shrink:0}
.wt-wordmark img,.wt-welcome-brand img,.wt-mascot img{position:absolute!important;max-width:none!important;height:auto!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;pointer-events:none}
.wt-wordmark{width:100%;aspect-ratio:1000/340}.wt-wordmark img{width:153.6%!important;left:-48%;top:-44.12%}
.wt-brand{display:flex;flex-direction:column;align-items:stretch;gap:6px;min-width:0}.wt-brand small{display:block;text-align:center;font-size:9px;letter-spacing:1.7px;color:var(--aurora-aqua)}
.wt-welcome-brand{width:100%;max-width:540px;aspect-ratio:1536/535;margin:0 0 24px}.wt-welcome-brand img{width:100%!important;left:0;top:0}
.wt-mascot{width:112px;aspect-ratio:512/480}.wt-mascot img{width:300%!important;top:-114.58%}.wt-mascot-reading img{left:0}.wt-mascot-hint img{left:-100%}.wt-mascot-celebrate img{left:-200%}
.camp-card .wt-mascot{width:88px;margin:0 auto 10px}.wt-companion-banner{display:flex;align-items:center;gap:18px;margin:16px 0 22px}.wt-companion-banner p{font-size:15px;line-height:1.5}.complete-hero>.wt-mascot{width:144px;margin:0 auto 18px}
@media(max-width:700px){.wt-brand{width:150px;max-width:100%}.wt-welcome-brand{margin-bottom:18px}.wt-companion-banner .wt-mascot{width:80px}.wt-companion-banner{gap:12px}.complete-hero>.wt-mascot{width:112px}}

/* Keep the teal wordmark readable against the dark navigation without a tile. */
.wt-brand .wt-wordmark img{filter:drop-shadow(1px 0 0 #fff3d6) drop-shadow(-1px 0 0 #fff3d6) drop-shadow(0 1px 0 #fff3d6) drop-shadow(0 -1px 0 #fff3d6)}
