:root { color-scheme: dark; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: #080b13; color: #fff; overflow: hidden; }
.play-page { min-height: 100dvh; display: flex; flex-direction: column; font-family: Inter, system-ui, sans-serif; }
/* Owns one full viewport so the SEO copy below it never squeezes the game smaller. */
.play-screen { display: flex; flex-direction: column; min-height: 100dvh; flex: 0 0 auto; position: relative; isolation: isolate; }
.play-header { position: sticky; top: 0; z-index: 1100; min-height: 52px; padding: 10px max(14px, env(safe-area-inset-right)) 10px max(14px, env(safe-area-inset-left)); display: flex; align-items: center; justify-content: space-between; gap: 14px; background: #111726; border-bottom: 1px solid rgba(255,255,255,.12); pointer-events: auto; }
.play-logo { display: inline-flex; align-items: center; position: relative; z-index: 1; }
.play-logo img { display: block; }
.play-save-btn {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  background: transparent;
  border: 1.5px solid var(--accent-primary, #27E0B3);
  color: var(--accent-primary, #27E0B3);
  border-radius: 999px;
  padding: 10px 16px;
  min-height: 44px;
  min-width: 44px;
  font-family: inherit;
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
}
.play-save-btn:hover { background: color-mix(in srgb, var(--accent-primary, #27E0B3) 12%, transparent); }
.play-save-btn:active { background: color-mix(in srgb, var(--accent-primary, #27E0B3) 20%, transparent); }
.play-save-btn:focus-visible { outline: 2px solid var(--accent-primary, #27E0B3); outline-offset: 2px; }
.play-main, .play-sniper-mount { flex: 1; min-height: 0; width: 100%; position: relative; }
.play-sniper-mount { display: flex; align-items: center; justify-content: center; overflow: hidden; }
@media (min-width: 768px) and (max-width: 1366px) and (orientation: landscape) and (pointer: coarse) {
  .play-screen { height: 100dvh; min-height: 100dvh; }
  .play-header { flex: 0 0 52px; height: 52px; min-height: 52px; }
  .play-main { flex: 0 0 calc(100dvh - 52px); height: calc(100dvh - 52px); min-height: 0; }
  .play-sniper-mount { height: 100%; min-height: 0; }
}
@media (max-width: 700px) {
  .play-header { min-height: 44px; padding-top: max(8px, env(safe-area-inset-top)); }
}
@media (max-width: 420px) {
  .play-save-btn { font-size: .74rem; padding: 8px 12px; }
}
