/* Scoped to Flash; shared game styles remain unchanged. */
.flash-game{max-width:740px;margin:auto;padding:24px;background:var(--white);border:3px solid var(--navy);box-shadow:6px 6px 0 var(--red);text-align:center}
.flash-game h1{font-size:clamp(1.35rem,4.6vw,2rem);line-height:1.4;text-align:left;margin:0 0 12px;letter-spacing:.02em}
.flash-game p{margin-bottom:12px}.flash-game .flash-catch{font-size:17px;font-weight:700;line-height:1.4;margin:0 0 12px}
.flash-game select{font:inherit;min-height:48px;min-width:110px;padding:5px 12px;border:2px solid var(--navy);background:var(--cream);margin:8px 12px 16px}.flash-game .btn{white-space:nowrap}
.flash-info{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:7px 0;border-block:2px solid var(--navy);font-size:12px;line-height:1.35;font-weight:700;font-variant-numeric:tabular-nums}
.flash-stage{height:112px;display:grid;place-items:center;position:relative;margin:4px 0}.flash-stage img{width:104px;height:104px;object-fit:contain;image-rendering:pixelated}.flash-stage #flash-count{font:bold 52px monospace}
.flash-game .flash-prompt{height:28px;line-height:28px;margin:0 0 4px;font-size:15px;font-weight:800}
.flash-game .choices{margin:0 4px 8px 0;gap:12px}.flash-game .choice{padding:6px 2px;min-height:100px;touch-action:manipulation;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.flash-game .choice span{white-space:nowrap;line-height:1.4}.flash-game .choice img{width:60px;height:60px}
.flash-review{margin:20px 0 0}.flash-review h2{margin:0 0 12px}.flash-comparison{display:grid;grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:8px;list-style:none;margin:0 0 18px;padding:0;text-align:left;font-size:13px}.flash-comparison li{padding:8px;border:2px solid var(--navy);background:#e5f3eb}.flash-comparison .flash-wrong{background:#fff0de;border-style:dashed}.flash-comparison strong{display:block}.flash-comparison span{display:flex;align-items:center;flex-wrap:wrap;white-space:nowrap}.flash-comparison small{flex-basis:100%;font-size:12px}.flash-comparison img{object-fit:contain;flex:none;margin:3px;image-rendering:pixelated}
.flash-game dl{margin:18px 0;display:grid;grid-template-columns:1fr 1fr;gap:12px}.flash-game dl div{padding:12px 4px;background:var(--cream)}.flash-game dt{font-size:13px}.flash-game dd{font-size:24px;font-weight:900;margin:0}.flash-record{font-size:14px}.flash-game #flash-select{margin:16px auto}
.flash-game[data-phase=countdown] .flash-prompt,.flash-game[data-phase=show] .flash-prompt{visibility:hidden}
/* Match the existing games' compact play title without resizing it between rounds. */
.flash-game:is([data-phase=positioning],[data-phase=countdown],[data-phase=show],[data-phase=answer],[data-phase=review]) h1{font-size:18px;margin:0 0 4px}
.flash-game:is([data-phase=positioning],[data-phase=countdown],[data-phase=show],[data-phase=answer],[data-phase=review]) .flash-catch{font-size:14px;margin-bottom:8px}
@media(max-width:760px){.flash-game{padding:18px 14px}.flash-game .choices{gap:10px}.flash-game .choice{min-height:clamp(88px,18svh,116px)}.flash-game .choice img{width:clamp(52px,10.5svh,68px);height:clamp(52px,10.5svh,68px)}}
@media(max-width:480px){.flash-comparison{grid-template-columns:repeat(2,minmax(0,1fr))}.flash-game dd{font-size:21px}}
@media(max-width:760px) and (orientation:portrait){.flash-game:is([data-phase=positioning],[data-phase=countdown],[data-phase=show],[data-phase=answer],[data-phase=review]){padding:8px 10px}.flash-info{padding-block:4px}.flash-game .flash-prompt{font-size:14px}}
@media(max-width:360px){.flash-game{padding-inline:10px}.flash-game .choices{gap:8px}}
