/* Shared interface language approved in direction C. Gameplay stays isolated. */
@font-face {
  font-family: ArcadePixel;
  src: url('/fonts/lisnard-arcade-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  --arcade-night: #080d30;
  --arcade-panel: #10194d;
  --arcade-blue: #1535ad;
  --arcade-gold: #f2d77b;
  --arcade-gold-light: #fff2b6;
  --arcade-muted: #acb7de;
  --arcade-pixel: ArcadePixel, 'Courier New', monospace;
}
.arcade-page {
  margin: 0;
  color: #f7f7ff;
  background: radial-gradient(ellipse at 50% 20%, #1a2c79 0, #101747 45%, #060a26 100%);
  color-scheme: dark;
  font-family: Arial, sans-serif;
  min-height: 100svh;
}
.arcade-shell {
  position: relative;
  isolation: isolate;
  background: linear-gradient(180deg, #0c1649, #0d1b57 55%, #0a1036);
  border: 2px solid #aa934e;
  box-shadow: 0 0 0 3px #04091f, 0 0 0 4px #f5dd8a, 0 15px 70px #0007;
}
.arcade-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(0deg, transparent 0 3px, #00000016 3px 4px);
  pointer-events: none;
}
.arcade-panel {
  border: 1px solid #5965a0;
  background: #0b1547;
  box-shadow: 4px 4px #030821;
}
.arcade-logo {
  position: relative;
  display: block;
  width: 326px;
  max-width: 100%;
  aspect-ratio: 1264 / 223;
  overflow: hidden;
  flex-shrink: 0;
}
.arcade-logo img {
  position: absolute;
  width: 125.4%;
  max-width: none;
  height: auto;
  left: -12.97%;
  top: -28.25%;
}
.arcade-portrait {
  position: relative;
  aspect-ratio: 270 / 360;
  overflow: hidden;
  background: #183fa2;
}
.arcade-portrait img {
  position: absolute;
  width: 587.037%;
  max-width: none;
  height: auto;
  left: -235.185%;
  top: -73.611%;
}
.arcade-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 12px 16px;
  border: 2px solid var(--arcade-gold-light);
  border-radius: 0;
  color: #0a123d;
  background: linear-gradient(#fff0b2, #dbc16f);
  box-shadow: 3px 3px #02081e;
  font: 400 9px/1.7 var(--arcade-pixel);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
}
.arcade-button:hover { background: #fff1b8; }
.arcade-button:disabled {
  background: #1a2958;
  color: #c3b986;
  border-color: #8a845e;
  cursor: not-allowed;
}
.arcade-page :is(a,button,input,summary):focus-visible,
.arcade-shell :is(a,button,input,summary):focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}
.arcade-page [hidden], .arcade-shell [hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  .arcade-page *, .arcade-page *::before, .arcade-page *::after,
  .arcade-shell *, .arcade-shell *::before, .arcade-shell *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
