/* Approved sailing banner + English-only listening view, build 24. */
.hero { padding:18px max(24px,calc((100vw - 1100px)/2)) 8px; scroll-margin-top:80px; }
.hero .hero-copy { display:block; max-width:1100px; width:100%; }
.hero-welcome { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); align-items:center; min-height:174px; }
.hero h1 { font-size:3.05rem; line-height:1.14; letter-spacing:-.035em; }
.hero h1 span { display:block; }
.hero h1 span::after { display:none; }
.hero h1 .hero-destination::after { display:block; left:0; right:25%; bottom:-7px; height:3px; border-bottom:0; border-top:2px solid #b9d8df; }
.hero-vignette { display:block; width:100%; height:185px; object-fit:contain; }
.hero .hero-lead { margin:0 0 14px; max-width:none; font-size:.85rem; line-height:1.6; color:#94897c; }
.hero .identity-strip { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(120px,.72fr); gap:14px; padding:10px 13px; border:1px solid #e8e0d3; border-radius:26px; background:#faf8ef; }
.identity-strip label { min-width:0; padding:0 9px; }
.identity-strip label+label { border-left:1px solid #dfd5c8; }
.identity-strip label span { margin:1px 0 4px; font-size:.72rem; font-weight:500; }
.identity-strip input,.identity-strip select { min-height:34px; height:34px; padding:3px 10px; background:#fffdf63b; border:1px solid #e8e1d5; border-radius:10px; font-size:1.1rem; }
.hero .identity-strip .primary-button { grid-column:auto; padding:10px 20px; font-size:1.06rem; align-self:center; min-height:48px; }
.hero .adventure-passport { max-width:none; margin:0; padding:11px 5px 3px; border:0; gap:12px; }
.passport-star { font-size:2rem; color:#caa252; }
.adventure-passport .profile-summary { margin:0; color:#7d746b; font-size:.85rem; }
.banner-collection { display:flex; align-items:center; gap:8px; padding:8px 2px 8px 12px; background:none; border:0; color:#79716a; font-size:.83rem; white-space:nowrap; }
.banner-collection .nav-icon { width:25px; height:25px; color:#7d9d76; }
.hero .identity-hint { margin:1px 0 0 46px; min-height:18px; font-size:.7rem; font-weight:500; }
.map-section { padding-top:14px; }
.section-heading { padding-top:20px; border-top:1px dashed #e2d7c7; }
.section-heading h2 { font-size:1.65rem; color:#5a463c; }
.legend { font-size:.8rem; padding-right:0; color:#908a7e; }
.challenge { font-family:Fredoka,system-ui,sans-serif; padding:24px 36px 18px; background:#dfecf6; }
.challenge-top { grid-template-columns:44px minmax(0,1fr) 88px; gap:12px; }
.challenge-heading { text-align:center; }
.challenge-heading h2 { color:#544137; font-size:1.8rem; line-height:1.15; font-weight:600; }
.challenge-heading p { margin:5px 0 0; font-size:1rem; color:#675649; font-weight:500; }
.score-orb { display:flex; flex-direction:column; align-items:center; justify-content:center; width:86px; height:62px; border-radius:22px; border:1px solid #e6d9bc; outline:1px dashed #e3d5b9; outline-offset:-5px; background:#fffaf1; }
.score-orb small { font-family:Fredoka,sans-serif; font-size:.85rem; font-weight:500; color:#756653; }
.score-orb b { font-size:1.55rem; color:#594a3d; }
.question-progress { margin:14px 0 19px; }
.question-progress-dots { display:flex; justify-content:center; gap:10px; }
.question-progress-dots i { width:12px; height:12px; border:1px solid #c2d1d7; background:#cddce2; border-radius:50%; }
.question-progress-dots i.is-filled { background:#94b480; border-color:#82a16f; }
.question-instruction { margin:0 auto 5px; padding:0; font-size:1.9rem; font-weight:600; color:#58443a; }
.listen-stage { min-height:154px; }
.listen-button { width:112px; height:112px; border:1px solid #e4dcc9; }
.listen-button b { font-size:.87rem; font-weight:500; }
.listen-icon { width:40px; height:40px; }
.sound-ripple { width:138px; height:138px; border-width:2px; }
.ripple-two { width:158px; height:158px; }
.answers { max-width:650px; margin:0 auto; padding:8px 16px 0; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px 35px; }
.answer-button { width:170px; }
.answer-button:last-child { grid-column:1/-1; }
.feedback { min-height:52px; margin-top:12px; }
.feedback:empty::before { content:"Tap a picture."; }
.feedback:empty { color:#75858c; font-weight:500; font-size:.9rem; }
.feedback-message { max-width:650px; margin:auto; padding:9px 16px; }
.feedback-message b { font-weight:600; }
.feedback-message small { font-size:.8rem; }
@media(max-width:760px) {
 .topbar { padding:10px 15px; }
 .brand { gap:7px; }
 .brand b { font-size:1rem; }
 .brand-mark { background:none; border:0; width:34px; height:34px; }
 .brand small { display:none; }
 .sound-pill { padding:7px 8px; font-size:.61rem; }
 .teacher-link { font-weight:500; font-size:.67rem; }
 .hero { padding:12px 15px 7px; }
 .hero-welcome { min-height:106px; grid-template-columns:minmax(0,.98fr) minmax(0,1.15fr); gap:0; }
 .hero h1 { font-size:clamp(1.35rem,6.7vw,2.25rem); line-height:1.2; white-space:nowrap; }
 .hero-vignette { height:118px; width:115%; max-width:none; margin-left:-8%; }
 .hero .hero-lead { font-size:.66rem; margin:1px 0 12px; letter-spacing:.015em; }
 .hero .identity-strip { grid-template-columns:minmax(0,1fr) minmax(0,1.04fr) minmax(75px,.68fr); gap:7px; padding:8px; border-radius:21px; }
 .identity-strip label { padding:0 2px; }
 .identity-strip label+label { padding-left:7px; }
 .identity-strip label span { font-size:.58rem; margin-bottom:4px; }
 .identity-strip input,.identity-strip select { height:29px; min-height:29px; font-size:.85rem; padding:3px 5px; }
 .hero .identity-strip .primary-button { min-height:42px; padding:8px 8px; font-size:.85rem; }
 .primary-button span { margin-left:3px; }
 .hero .adventure-passport { gap:7px; padding:9px 2px 1px; }
 .passport-star { font-size:1.6rem; }
 .adventure-passport .profile-summary { font-size:.67rem; }
 .banner-collection { gap:4px; padding:6px 0 6px 6px; font-size:.66rem; }
 .banner-collection .nav-icon { width:20px; height:20px; }
 .hero .identity-hint { margin:2px 0 0 31px; font-size:.58rem; line-height:1.5; }
 .map-section { padding:12px 14px 48px; }
 .section-heading { padding-top:17px; align-items:center; }
 .section-heading h2 { font-size:1.22rem; }
 .legend { font-size:.65rem; padding:0; white-space:nowrap; }
 .challenge { padding:21px 12px 16px; border-radius:25px; }
 .challenge-top { grid-template-columns:26px minmax(0,1fr) 59px; gap:5px; }
 .back-button { width:28px; height:34px; font-size:1.6rem; }
 .challenge-heading h2 { font-size:1.22rem; }
 .challenge-heading p { font-size:.85rem; }
 .score-orb { width:58px; height:54px; border-radius:17px; }
 .score-orb small { font-size:.68rem; }
 .score-orb b { font-size:1.25rem; }
 .question-progress { margin:14px 0 18px; }
 .question-progress-dots { gap:8px; }
 .question-progress-dots i { width:10px; height:10px; }
 .question-instruction { font-size:1.6rem; }
 .listen-stage { min-height:144px; }
 .listen-button { width:104px; height:104px; }
 .listen-button b { font-size:.78rem; }
 .sound-ripple { width:130px; height:130px; }
 .ripple-two { width:149px; height:149px; }
 .answers { max-width:360px; padding:6px 0 0; gap:12px; }
 .answer-button { width:min(100%,160px); }
 .feedback { min-height:48px; }
 .feedback-message { padding:8px 12px; }
 .feedback-message small { font-size:.74rem; }
}
@media(min-width:761px) and (max-height:800px) {
 .challenge { padding-top:20px; padding-bottom:12px; }
 .question-progress { margin:10px 0 14px; }
 .listen-stage { min-height:136px; }
 .listen-button { width:102px; height:102px; }
 .sound-ripple { width:124px; height:124px; }
 .ripple-two { width:144px; height:144px; }
 .answers { gap:8px 35px; padding-top:7px; }
 .answer-button { width:147px; }
 .feedback { min-height:45px; margin-top:8px; }
}

/* Compact, card-first reward view. Keep the permanent collectible artwork. */
#resultOverlay { padding:14px; }
#resultOverlay .result-sheet { max-width:420px; max-height:calc(100dvh - 28px); padding:24px 24px 20px; border-radius:30px; }
#resultOverlay .result-close { top:10px; right:10px; width:36px; height:36px; font-size:1.35rem; background:transparent; }
#resultOverlay .result-burst,#resultOverlay .eyebrow { display:none; }
#resultOverlay h2 { margin:0 24px 8px; font-size:1.4rem; line-height:1.35; }
#resultOverlay .result-copy { margin:8px 0 12px; font-size:.82rem; }
#resultOverlay .result-copy:empty,#resultOverlay .screenshot-tip:empty,#resultOverlay .attempt-save-status:empty { display:none; }
#resultOverlay .result-score { width:auto; height:auto; margin:0 auto 14px; gap:5px; border:0; border-radius:0; background:none; flex-wrap:nowrap; }
#resultOverlay .result-score span { width:auto; order:0; margin:0 4px 0 0; font-size:.72rem; }
#resultOverlay .result-score strong { font-size:1.2rem; line-height:1; }
#resultOverlay .result-score small { display:inline; font-size:.72rem; color:#8d8476; }
#resultOverlay .has-reward .result-score { display:none; }
#resultOverlay .draw-zone { min-height:0; }
#resultOverlay .draw-button { position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:24px; width:min(246px,100%); height:290px; padding:30px 20px; border:2px solid #baaa8d; border-radius:22px 24px 21px 23px; outline:1px solid #c5b79e; outline-offset:-10px; background:linear-gradient(135deg,#eee5f0,#faf1df 55%,#e8eee2); color:#8c7654; box-shadow:0 3px 0 #b09a6c0d; font-size:.94rem; font-weight:500; }
#resultOverlay .draw-card-star { width:100px; height:100px; }
#resultOverlay .draw-button:disabled { cursor:wait; opacity:.7; }
#resultOverlay .reward-card { width:min(246px,100%); min-height:0; padding:30px 20px 20px; gap:6px; }
#resultOverlay .reward-card .card-mascot { margin:0; }
#resultOverlay .reward-card .card-mascot img { width:120px; height:120px; }
#resultOverlay .reward-card b { font-size:3.25rem; }
#resultOverlay .reward-card strong { font-size:.92rem; }
#resultOverlay .reward-card .card-serial { margin-top:2px; }
#resultOverlay .screenshot-tip { margin:13px 0 0; font-size:.8rem; line-height:1.65; color:#7d876c; white-space:pre-line; }
#resultOverlay .result-actions { margin-top:14px; gap:10px; }
#resultOverlay .result-actions:has(#downloadButton[hidden]) { grid-template-columns:1fr; }
#resultOverlay .result-actions button { min-height:44px; padding:10px 14px; font-size:.86rem; }
#resultOverlay .attempt-save-status { margin:10px 0 0; line-height:1.5; }
@media(max-width:480px), (max-height:660px) {
 #resultOverlay .result-sheet { padding:20px 18px 16px; border-radius:26px; }
 #resultOverlay h2 { font-size:1.25rem; }
 #resultOverlay .draw-button { width:220px; height:266px; gap:18px; }
 #resultOverlay .draw-card-star { width:90px; height:90px; }
 #resultOverlay .reward-card { width:220px; padding:28px 18px 18px; gap:5px; }
 #resultOverlay .reward-card .card-mascot img { width:100px; height:100px; }
 #resultOverlay .reward-card b { font-size:2.9rem; }
 #resultOverlay .screenshot-tip { margin-top:11px; font-size:.75rem; }
 #resultOverlay .result-actions { margin-top:12px; }
}
