#landscape-gate {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  margin: 0;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  border: 0;
  border-radius: 0;
  padding: max(24px, env(safe-area-inset-top)) 24px;
  color: #fff5d6;
  background: #072436;
  font: 600 18px/1.5 system-ui, sans-serif;
  text-align: center;
}
#landscape-gate:not([open]) { display: none; }
#landscape-gate[open] { display: flex; flex-direction: column; justify-content: center; align-items: center; }
#landscape-gate::backdrop { background: #072436; }
#landscape-gate h2 { color: #fff5d6; font-size: clamp(24px, 6vw, 38px); }
#landscape-gate p { color: #fff5d6; max-width: 30ch; }
.rotate-device { border: 4px solid #f8d16f; border-radius: 14px; width: 110px; height: 65px; font-size: 42px; line-height: 55px; }
/* Replace the old visual-only Academy/Fleet gates after wiring GameViewport. */
html[data-game-portrait="true"] { overflow: hidden; }
