/* ---- Phone Frenzy ---- */
.game-wrap { max-width: 1000px; margin: 0 auto; padding: 1rem var(--pad) 3rem; }
.game-hud { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; color: var(--white); font-family: var(--display); font-size: 1.1rem; margin-bottom: .75rem; }
.game-hud span b { color: var(--accent); font-size: 1.4rem; margin-left: .3rem; }
.game-hud .mute { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: .4rem .9rem; font: 600 .9rem var(--body); cursor: pointer; }
.game-stage { position: relative; background: var(--navy-deep); border-radius: 12px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.45); }
#game { display: block; width: 100%; height: auto; touch-action: manipulation; cursor: pointer; }
.game-overlay { position: absolute; inset: 0; display: none; place-items: center; background: rgba(42,49,54,.85); color: var(--white); text-align: center; padding: 2rem; }
.game-overlay.show { display: grid; }
.game-overlay > div { max-width: 480px; }
.game-overlay h2 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.2rem); }
.game-overlay p { font-size: 1.05rem; line-height: 1.5; margin-bottom: 1.5rem; }
.game-controls { display: none; gap: .75rem; justify-content: center; margin-top: .75rem; }
.game-controls button { flex: 1; max-width: 160px; padding: .9rem; border: 0; border-radius: 10px; background: var(--accent); color: #fff; font: 700 1.1rem var(--display); }
.game-controls button.alt { background: #4a545c; }
@media (max-width: 900px) { .game-controls { display: flex; } }
.game-note { color: rgba(255,255,255,.7); font-size: .9rem; text-align: center; margin-top: 1rem; }
.game-page { background: var(--navy); min-height: 100vh; padding-top: 48px; }
.game-page .game-note a { color: #fff; }

/* modal launcher used after a form is submitted */
.game-unlock { margin-top: 1rem; }
.game-modal { position: fixed; inset: 0; z-index: 120; background: rgba(0,0,0,.7); display: none; place-items: center; padding: 1rem; }
.game-modal.show { display: grid; }
.game-modal iframe { width: min(1000px, 100%); aspect-ratio: 16 / 11; max-height: 92vh; border: 0; border-radius: 12px; background: var(--navy); }
.game-modal .close { position: absolute; top: 1rem; right: 1rem; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; font-size: 1.5rem; cursor: pointer; }
