.americana-page{--aq-cream:#fff3d8;--aq-red:#a9332f;--aq-teal:#12676b;color:var(--aq-cream);padding-bottom:30px}
.americana-page [hidden]{display:none!important}
.aq-marquee{text-align:center;position:relative;background:#073249;border:3px solid #d7ab66;border-radius:24px;padding:28px 24px;margin:12px auto 0;box-shadow:inset 0 0 0 7px #0c405a,inset 0 0 0 10px #d7ab66;max-width:1050px}
.aq-marquee:before,.aq-marquee:after{content:"";position:absolute;left:28px;right:28px;height:8px;background:radial-gradient(circle,#ffe0a0 3px,transparent 4px) 0 0/24px 8px;filter:drop-shadow(0 0 4px #e5aa58)}
.aq-marquee:before{top:12px}.aq-marquee:after{bottom:12px}
.aq-marquee h1{font-family:Georgia,serif;font-size:clamp(2rem,4.8vw,4rem);line-height:1;margin:8px 0 12px;color:var(--aq-cream);text-shadow:2px 3px #9c372e}.aq-marquee h1 span{color:#ffce85;font-style:italic}
.aq-kicker{text-transform:uppercase;letter-spacing:.16em;font-size:.7rem;font-weight:800}.aq-marquee p:last-child{font-size:.9rem;margin:0}

.aq-stage{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;max-width:730px;margin:0 auto 24px;padding:0 8px;align-items:end}
.aq-podium{text-align:center;min-width:0;position:relative;padding:0 12px 8px;border-radius:5px;background:linear-gradient(90deg,#70421f,#a66e36 8%,#77461f 50%,#af7b42 95%,#673b20);border:2px solid #d7ad71;border-top:9px solid #d7ad71;margin-top:clamp(92px,14vw,170px);box-shadow:0 5px 0 #38271e}
.aq-dog{position:absolute;bottom:calc(100% + 1px);left:-5%;width:110%;aspect-ratio:1;background-size:contain;background-position:center bottom;background-repeat:no-repeat;pointer-events:none}
.aq-dog-choice{width:100%;border:1px solid #e4c791;border-radius:2px;background:#092f4a;color:#fff3d8;text-transform:uppercase;font:800 clamp(.8rem,1.5vw,1.1rem) Arial,sans-serif;letter-spacing:.06em;padding:9px 2px;cursor:pointer;margin-top:6px;min-height:44px}.aq-dog-choice span{display:block;font-size:.57rem;letter-spacing:0;text-transform:none;font-weight:400;margin-top:4px}.aq-dog-choice[aria-pressed=true]{background:#12676b;border-color:#ffe2a0;box-shadow:0 0 0 2px #ffe2a0}.aq-dog-choice:disabled{cursor:default;opacity:1}
.aq-score{font:700 clamp(1.6rem,3vw,2.6rem) Georgia,serif;background:#082f49;border:4px solid #a43b2f;border-radius:5px;color:#fff3d8;font-variant-numeric:tabular-nums;letter-spacing:.04em;padding:4px;margin:9px 4px 0;box-shadow:0 0 0 2px #332519}.aq-role{font-size:.62rem;line-height:1.2;margin:9px 0 0;color:#fff4df}
.aq-card{max-width:960px;margin:auto;background:#fff7e7;color:#172d39;border:2px solid #d3ab6c;border-radius:12px;padding:clamp(20px,3vw,36px);box-shadow:0 7px 0 #062738}.aq-card h2{font-family:Georgia,serif;font-size:clamp(1.35rem,2.5vw,2rem);line-height:1.25;margin:9px 0 16px;color:#12374d}.aq-card p{line-height:1.6}.aq-card .aq-kicker{color:#92312d}.aq-rules{display:flex;gap:18px;flex-wrap:wrap;margin:24px 0;font-size:.82rem}.aq-rules b{color:#a1322d}.aq-primary{border:2px solid #7f231f;border-radius:5px;background:#a9332f;color:#fff7e7;font-weight:800;font-size:1rem;min-height:48px;padding:12px 28px;cursor:pointer;box-shadow:0 3px 0 #702723}.aq-primary:hover{background:#8f2724}.aq-primary:disabled{opacity:.65;cursor:wait}.aq-bank-note{font-size:.78rem;color:#56615c;margin:18px 0 0}
.aq-question-meta{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:.76rem;font-weight:800}.aq-question-meta span:last-child{color:#17676b}#aq-meter{appearance:none;width:100%;height:5px;border:0;display:block;margin:14px 0 20px;background:#e4d8be}#aq-meter::-webkit-progress-bar{background:#e4d8be}#aq-meter::-webkit-progress-value{background:#12676b}.aq-state{font-size:.7rem;font-weight:800;letter-spacing:.15em;text-transform:uppercase;color:#a1322d;margin:0}
.aq-answers{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0}.aq-answer{display:flex;align-items:center;text-align:left;gap:12px;padding:14px;border:2px solid #b7b8a8;background:#fffcf4;color:#15364a;border-radius:6px;font:700 .95rem/1.4 Arial,sans-serif;min-height:60px;cursor:pointer}.aq-answer span:first-child{display:grid;place-items:center;flex:0 0 28px;height:28px;border-radius:50%;background:#eae0c8;font-size:.75rem}.aq-answer:hover:not(:disabled){border-color:#12676b;background:#edf4e9}.aq-answer:disabled{opacity:1;cursor:default}.aq-answer.is-correct{border-color:#187046;background:#e2f0df}.aq-answer.is-wrong{border-color:#ae473b;background:#fae7df}.aq-answer small{margin-left:auto;font-size:.68rem}.aq-feedback{background:#eee7d6;border-left:4px solid #12676b;padding:14px 18px;margin-bottom:20px}.aq-feedback h3{font-size:1rem;margin:0}.aq-feedback p{margin:6px 0 0;font-size:.94rem}.aq-summary-states{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0}.aq-summary-states span{background:#e9ead9;border:1px solid #c8c5aa;padding:10px;font-size:.85rem}
.aq-footer{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;max-width:960px;margin:25px auto;font-size:.8rem}.aq-footer a{color:#ffdfa1}.aq-footer span{color:#c5d8d7}.americana-page button:focus-visible,.americana-page a:focus-visible{outline:3px solid #e6a52d;outline-offset:4px}.aq-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.aq-stage{container-type:inline-size}.aq-podium{margin-top:calc((100cqw - 48px) / 3 * 1.1 + 12px)}
.aq-podium.happy .aq-score{animation:aq-glow .5s ease 2}.aq-stage.finished .aq-dog-choice[aria-pressed=true]{box-shadow:0 0 0 3px #ffe2a0,0 0 22px #ffc75c}@keyframes aq-glow{50%{box-shadow:0 0 15px #ffe0a0}}
@media(max-width:700px){.aq-marquee{padding:28px 16px}.aq-stage{gap:10px;padding:0 2px;max-width:440px;margin-bottom:20px}.aq-podium{padding:0 4px 7px;margin-top:clamp(88px,29vw,140px)}.aq-score{margin:8px 1px 0;border-width:3px}.aq-role{font-size:.55rem;min-height:2.4em}.aq-dog-choice{font-size:.68rem;letter-spacing:0}.aq-dog-choice span{font-size:.5rem}.aq-answers{grid-template-columns:1fr;gap:9px}.aq-card{padding:20px 16px}.aq-rules{gap:10px;font-size:.74rem}.aq-primary{width:100%}}
@media(prefers-reduced-motion:reduce){.americana-page *{animation:none!important;transition:none!important}}
@media(max-width:700px){.aq-podium{margin-top:calc((100cqw - 20px) / 3 * 1.1 + 12px)}}

/* One hero title. The existing trio is reused as the in-round companion panel. */
/* A hidden X overflow on body creates a non-scrolling sticky ancestor. Clip only
   on this game, retaining the app drawer's scroll lock when the menu is open. */
body[data-app-shell]:has(.americana-page):not(.app-shell-drawer-open){overflow-x:clip;overflow-y:visible}
.aq-marquee h1{display:block;width:100%;text-align:center;margin-inline:auto}
.aq-round-layout{max-width:1050px;margin-inline:auto}
.aq-reaction{display:none}
.aq-round-layout.is-playing{display:grid;grid-template-columns:minmax(0,1fr) 240px;grid-template-areas:"question companion";gap:24px;align-items:start}
.is-playing .aq-card{grid-area:question;width:100%;min-width:0;margin:0;padding:24px}
.is-playing .aq-stage{grid-area:companion;display:block;position:sticky;top:20px;align-self:start;width:100%;max-width:none;margin:0;padding:0;z-index:5;container-type:normal}
.is-playing .aq-podium{margin:0;padding:12px;background:linear-gradient(#103f54,#082b41);border:2px solid #d7ad71;border-radius:12px;box-shadow:0 5px 0 #38271e}
.is-playing .aq-dog{position:relative;bottom:auto;left:auto;width:100%;max-width:210px;margin:auto}
.is-playing .aq-dog-choice{font-size:1rem}
.is-playing .aq-role{font-size:.75rem;margin:12px 0 0}
.is-playing .aq-reaction{display:block;color:#ffe2a0;font-size:.85rem;line-height:1.3;margin:10px 0 0;min-height:1.3em}
.is-playing .aq-score{font-size:2rem}
#aq-question,#aq-feedback{scroll-margin-top:24px;scroll-margin-bottom:20px}
@media(min-width:1000px) and (max-width:1200px){.is-playing .aq-answers{grid-template-columns:1fr}}
@media(max-width:999px), (max-height:600px){
  .aq-round-layout.is-playing{display:block}
  .is-playing .aq-stage{top:8px;margin-bottom:16px}
  .is-playing .aq-podium{display:grid;grid-template-columns:80px minmax(0,1fr) auto;grid-template-rows:auto auto;gap:4px 12px;padding:8px 12px;align-items:center;text-align:left}
  .is-playing .aq-dog{grid-column:1;grid-row:1/3;width:80px;height:80px;margin:0}
  .is-playing .aq-dog-choice{grid-column:2;grid-row:1;min-height:0;margin:0;padding:0;background:none;border:0;box-shadow:none;text-align:left;font-size:1rem}
  .is-playing .aq-dog-choice span{font-size:.65rem}
  .is-playing .aq-role{grid-column:3;grid-row:1;min-height:0;margin:0;font-size:.65rem;text-align:center}
  .is-playing .aq-score{grid-column:3;grid-row:2;margin:0;padding:4px;font-size:1.5rem;border-width:2px}
  .is-playing .aq-reaction{grid-column:2;grid-row:2;margin:0;font-size:.75rem;min-height:0}
  .is-playing .aq-card{padding:20px 16px}
  #aq-question,#aq-feedback{scroll-margin-top:125px}
}
@media(max-width:760px){
  .is-playing .aq-stage{top:calc(68px + env(safe-area-inset-top,0px))}
  #aq-question,#aq-feedback{scroll-margin-top:calc(185px + env(safe-area-inset-top,0px))}
}
@media(max-width:360px){
  .is-playing .aq-podium{grid-template-columns:64px minmax(0,1fr) auto;gap:4px 8px;padding:8px}
  .is-playing .aq-dog{width:64px;height:64px}
  .is-playing .aq-dog-choice{font-size:.85rem}
  .is-playing .aq-score{font-size:1.35rem}
}
