.audio-settings .roast-setting{justify-content:flex-start;gap:10px}.roast-setting input{width:21px;height:21px;accent-color:#3269d0}#voice-samples{display:flex;gap:8px;flex-wrap:wrap}#voice-samples[hidden]{display:none}#voice-samples button{font-size:13px;flex:1}
.answer-review{margin-top:12px}.answer-review summary{cursor:pointer;color:#264d87;font-size:14px;font-weight:700}.answer-review .answers{margin-top:12px}
body.focus-mode .question-head{padding:10px 17px}
body.focus-mode .question-head h2{font-size:21px;line-height:1.35}
body.focus-mode .question-head .tag{font-size:12px;margin-bottom:6px}
body.focus-mode .question-body{gap:12px;padding:0 17px 12px}
body.focus-mode .answer{font-size:16px;line-height:1.4;padding:9px 11px;min-height:49px;border-bottom-width:4px}
body.focus-mode .answers{gap:7px}
body.focus-mode .answers-label{margin:0;font-size:12px}
body.focus-mode :is(.official-image img,.original-road-scene svg,.diagram svg){max-height:170px;min-height:0;object-fit:contain}
body.focus-mode .official-image{padding:6px}
body.focus-mode .game-progress{padding:6px 17px 0}
body.focus-mode .game-progress>span{display:none}
body.focus-mode .game-progress .route-dots>span{width:23px;height:23px;font-size:11px}
body.focus-mode .inline-feedback{margin:0;padding:13px;min-width:0;animation:none}
body.focus-mode .inline-feedback h3{font-size:19px;line-height:1.45}
body.focus-mode .inline-feedback .success-thumb{font-size:32px}
body.focus-mode .inline-feedback .success-heading{gap:8px}
body.focus-mode .inline-feedback p{font-size:16px;line-height:1.5}
body.focus-mode .inline-feedback .feedback-footer{margin-top:10px}
body.focus-mode .inline-feedback .feedback-footer button{min-height:37px;padding:6px 10px}
body.focus-mode .rotate-hint>span{display:none}
body.focus-mode .rotate-hint{padding:5px 14px;background:transparent;justify-content:flex-end;gap:4px}
body.focus-mode .rotate-hint .landscape-button{min-height:33px;padding:5px 10px;font-size:13px}
body.focus-mode :is(.practice-controls,.exam-controls){padding-top:7px;gap:4px 10px}
body.focus-mode :is(.practice-controls,.exam-controls) button{min-height:42px;font-size:16px;padding:7px 11px}
body.focus-mode .navigation-feedback{font-size:12px}
body.landscape-layout.focus-mode :is(.official-image img,.original-road-scene svg,.diagram svg){max-height:160px}
body.landscape-layout.focus-mode .question-head h2{font-size:20px}
body.landscape-layout.focus-mode .question-body.text-only:has(.inline-feedback){max-width:850px;margin:auto}
@media(max-width:700px) and (orientation:portrait){body.focus-mode .question-head h2{font-size:20px}body.focus-mode .question-body{gap:9px}body.focus-mode .original-road-scene figcaption,body.focus-mode .official-image figcaption{font-size:10px;padding:3px;margin:0}body.focus-mode .question-body .inline-feedback{width:100%}}
/* Long official text remains fully readable; overflow is allowed instead of clipping or tiny type. */
#play-tools{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:5px max(16px,5vw);background:#102a65;color:white;position:sticky;top:0;z-index:45;min-height:48px}
#play-tools .language-label{gap:4px}#play-tools select{font-size:14px;min-height:38px;padding:5px;max-width:110px}
#play-tools button{min-height:38px;padding:6px 10px;font-size:14px;white-space:nowrap;border:2px solid #a5bde6;text-decoration:none}
#play-tools #sound{min-width:42px;width:42px;font-size:20px;padding:3px;color:#102a65}
#play-tools #roast-mode[aria-pressed=true]{background:#ffda63;border-color:#ffad24;color:#502600;box-shadow:inset 0 -3px #df971e}
#play-tools #roast-mode[aria-pressed=false]{background:#fff;color:#243757}
body.focus-mode .lesson-top{position:relative;padding:4px 14px;min-height:38px}
body.focus-mode .question-head .tag,body.focus-mode .answers-label{display:none}
body.focus-mode .game-progress{padding-top:3px;padding-bottom:0}
body.focus-mode .question-head{padding-top:7px;padding-bottom:7px}
body.focus-mode .lesson{min-height:0}
body.focus-mode .question-head h2{margin-bottom:0}
body.focus-mode footer{margin:5px auto 95px;padding:0 10px}
body.focus-mode .rotate-hint{margin-block:0;padding-block:2px}
body.focus-mode .official-image{margin:0}
body.focus-mode .question-body{padding-bottom:6px}
@media(max-width:400px){#play-tools{gap:6px;padding-inline:10px}#play-tools button{font-size:13px}#play-tools .language-label>span{display:none}}
@media(max-height:740px) and (orientation:portrait){body.focus-mode :is(.official-image img,.original-road-scene svg,.diagram svg){max-height:130px}body.focus-mode .game-progress{display:none}}
body.landscape-layout.focus-mode .question-head{padding-block:5px}
body.landscape-layout.focus-mode .question-body{gap:10px}
body.landscape-layout.focus-mode .game-progress{display:none}
body.landscape-layout.focus-mode .exam-toolbar{padding:4px 18px}
/* A compact common quiz layout for diagnostics, practice and the timed exam. */
body{padding-bottom:0}
body .rotate-hint>span{display:none}
body .rotate-hint{padding:3px 12px;min-height:0;background:transparent;justify-content:flex-end}
.header .brandmark{width:46px;height:46px;padding:0;background:transparent;box-shadow:none;display:block;flex-shrink:0}
.brandmark img{display:block;width:100%;height:100%;object-fit:contain}
body.journey-mode .header .brand,body.journey-mode .header [data-i18n="brand"]{color:#fff}
body.journey-mode .header .brand-sub{color:#dce8ff}
body.focus-mode footer{display:none!important}
body.focus-mode .lesson{min-height:0}
body.focus-mode #exercise{margin:0 auto;padding-bottom:90px;width:100%}
body.focus-mode .lesson-top{display:flex;flex-wrap:nowrap;align-items:center;gap:8px;padding:6px 14px;min-height:46px}
body.focus-mode .lesson-top #lesson-label{min-width:0;font-size:14px}
body.focus-mode .lesson-top #count{font-size:14px;white-space:nowrap;padding:5px 8px}
body.focus-mode .lesson-top #restart-session{margin-inline-start:auto;font-size:22px;min-width:38px;width:38px;height:36px;min-height:36px;padding:2px}
body.focus-mode .lesson-top #exit-session{font-size:14px;min-height:36px;padding:5px 10px;white-space:nowrap;margin:0}
body.focus-mode .question-head{padding:8px 16px}
body.focus-mode .question-head h2{font-size:21px;line-height:1.35}
body.focus-mode .question-body{gap:12px;padding:0 16px 10px}
body.focus-mode :is(.official-image img,.original-road-scene svg,.diagram svg){max-height:min(24dvh,170px);min-height:0;object-fit:contain}
body.focus-mode :is(.official-image figcaption,.original-road-scene figcaption){font-size:12px;line-height:1.25;padding:4px;margin:0}
body.focus-mode .inline-feedback{padding:12px;border-width:2px;border-radius:15px}
body.focus-mode .inline-feedback h3{font-size:18px;line-height:1.4;margin:0 0 10px}
body.focus-mode .inline-feedback p{font-size:16px;line-height:1.4;margin:8px 0}
body.focus-mode .inline-feedback .feedback-footer{margin-top:10px}
body.focus-mode .exercise-note{display:none}
body.focus-mode:not(:has(.practice-controls)):not(:has(.exam-controls)) #exercise{padding-bottom:12px}
@media(max-width:600px){
  body.focus-mode .question-head h2{font-size:20px}
  body.focus-mode .question-body{gap:9px}
  body.focus-mode .answer{font-size:16px;padding:8px 10px;min-height:46px;line-height:1.3}
  body.focus-mode :is(.official-image img,.original-road-scene svg,.diagram svg){max-height:min(20dvh,140px)}
  body.focus-mode .rotate-hint{padding:2px 12px}
  body.focus-mode .lesson-top{gap:6px;padding-inline:12px}
}
.journey-welcome{padding:20px 28px}
.journey-art{height:110px}
.journey-welcome h1{font-size:30px;margin:8px 0 14px}
.journey-welcome h2{margin:14px 0 10px}
.journey-welcome .date-choices{margin:12px 0;gap:10px}
.journey-welcome .date-choices button{min-height:58px;padding:10px 8px}
.journey-welcome .journey-more{margin-top:16px;padding-top:12px}
body.landscape-layout.focus-mode .question-body .answers{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body.landscape-layout.focus-mode .answer{font-size:16px;line-height:1.3;padding:8px;min-height:48px}
