.topbar .wordmark{display:block;width:clamp(154px,42vw,210px);min-width:140px;flex:0 1 210px;line-height:0}
.brand-wordmark{display:block;width:100%;height:auto;overflow:visible}
.brand-wordmark .ink{fill:#171915}.brand-wordmark .gold{fill:#946500}
.topbar{flex-wrap:nowrap;gap:12px}.topbar .topactions{gap:8px;margin-left:auto;flex-shrink:0}
.topbar #sound-button{display:grid;place-items:center;width:44px;height:44px;padding:10px;flex:0 0 44px}
.sound-symbol{display:block;width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#sound-button[data-muted="false"] .sound-off,#sound-button[data-muted="true"] .sound-on{display:none}
.practice-loader{position:fixed;inset:0;z-index:2000;background:#fbf8f1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:24px;transition:opacity 220ms ease-out}
.practice-loader .loader-logo{width:min(78vw,360px)}
.practice-loader .loader-credit{margin:0;color:#625e52;font:13px/1.4 Arial,sans-serif;letter-spacing:.08em}
.practice-loader .brand-letter{fill-opacity:0;stroke-width:.65;stroke-dasharray:1;stroke-dashoffset:1;animation:brand-outline 1150ms cubic-bezier(.22,1,.36,1) 100ms forwards,brand-fill 450ms ease-out 1200ms forwards}
.practice-loader .ink{stroke:#171915}.practice-loader .gold{stroke:#946500}
.practice-loader.leaving{opacity:0;pointer-events:none}
.practice-loader.loader-error .brand-letter{animation:none;stroke:none;fill-opacity:1}
.loader-retry{margin-top:12px}
@keyframes brand-outline{to{stroke-dashoffset:0}}
@keyframes brand-fill{to{fill-opacity:1;stroke-opacity:0}}
@media(max-width:600px){.topbar{padding:12px 14px;gap:8px}.topbar .wordmark{width:clamp(140px,41vw,184px);flex-basis:clamp(140px,41vw,184px)}.topbar .hos-language>summary{padding:10px 9px;gap:6px}}
@media(prefers-reduced-motion:reduce){.practice-loader{transition:none}.practice-loader .brand-letter{animation:none;stroke:none;fill-opacity:1}}

/* Greeting: one compact screen with a full landscape portrait. */
body.intro-ready-screen #app{padding:16px 18px calc(88px + env(safe-area-inset-bottom))}.intro-ready{gap:24px;max-width:900px;margin:0 auto}.intro-ready>div{display:grid;gap:14px}.intro-ready h1{font-size:clamp(25px,3vw,36px);line-height:1.12;margin:0}.intro-ready>.intro-ready-portrait{width:100%;height:auto;aspect-ratio:16/9;max-height:none;object-fit:contain!important;margin:0}.intro-ready .personal-caption{display:block;min-height:5.6em;font-size:17px;line-height:1.4;margin:0;padding:14px 16px;border-radius:16px}.intro-ready .primary{width:100%;margin:0;min-height:46px}
@media(max-width:760px){.intro-ready{grid-template-columns:1fr;gap:14px}.intro-ready>div{gap:12px}.intro-ready h1{font-size:26px}.intro-ready .personal-caption{font-size:16px;line-height:1.4;min-height:6em;padding:12px 14px}.intro-ready>.intro-ready-portrait{max-height:none}}
@media(max-width:760px) and (max-height:700px){body.intro-ready-screen #app{padding-top:10px}.intro-ready,.intro-ready>div{gap:10px}.intro-ready h1{font-size:24px}.intro-ready>.intro-ready-portrait{max-height:25svh;object-fit:contain!important}.intro-ready .personal-caption{font-size:15px;padding:10px 12px;min-height:5.6em}}
