:root {
  --bg-0: #000000;
  --bg-1: #070b12;
  --bg-2: #0c1522;
  --bg-panel: #101828;
  --bg-panel-2: #0d1422;
  --line-light: #7ed6ff;
  --line-dark: #03060b;
  --text: #f3f7ff;
  --text-dim: #dbe9fb;
  --link: #9ee8ff;
  --link-hover: #fff5a8;
  --accent: #ffd95a;
  --accent-2: #6dffa9;
  --accent-3: #ff7fcf;
  --danger: #ff7e9f;
  --ok: #97ff86;
  --warn: #ffd676;
  --shell: min(1000px, 96vw);
  --shadow: rgba(0, 0, 0, 0.5);
  --utility-strip-height: 0px;
  --sticky-nav-top: 0px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  width: 100%;
  overflow-x: clip;
}

body {
  font-family: Verdana, Tahoma, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.28;
  color: var(--text);
  background: #000000 url("https://aurcade.com/images/back-space.jpg") no-repeat center center fixed;
  background-size: cover;
  position: relative;
  overflow-x: hidden;
}

body::after {
  content: none;
}

img {
  max-width: 100%;
  height: auto;
}

.selector-hud {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.selector-wheel {
  --wheel-size: clamp(300px, 24vw, 520px);
  position: fixed;
  top: auto;
  bottom: clamp(148px, 20vh, 290px);
  width: var(--wheel-size);
  transform-origin: center bottom;
  pointer-events: none;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}

.selector-wheel.wheel-left {
  left: max(8px, calc((50vw - (var(--shell) / 2) - var(--wheel-size)) / 2));
}

.selector-wheel.wheel-right {
  right: max(8px, calc((50vw - (var(--shell) / 2) - var(--wheel-size)) / 2));
}

.wheel-title {
  display: none;
}

.wheel-row {
  display: block;
}

.selector-arrow {
  display: none;
}

.selector-card {
  position: relative;
  width: 100%;
  aspect-ratio: 7 / 8;
  overflow: visible;
  border: 0;
  background: none;
  pointer-events: none;
}

.selector-card::before {
  content: none;
}

.selector-card::after {
  content: none;
}

.popcorn-entry {
  position: absolute;
  inset: 0;
  z-index: 1;
  transform-origin: center bottom;
  animation: none;
  opacity: 1;
  transform: none;
}

.popcorn-entry::before {
  content: none;
}

.popcorn-entry::after {
  content: none;
}

.popcorn-plane {
  position: absolute;
  inset: 0;
  transform-origin: center bottom;
  transform-style: preserve-3d;
  animation: panel-float 8.5s ease-in-out infinite;
  filter:
    drop-shadow(0 0 18px rgba(76, 198, 255, 0.58))
    drop-shadow(0 0 34px rgba(45, 126, 255, 0.36));
}

.wheel-right .popcorn-plane {
  animation-delay: -4.25s;
}

.popcorn-plane::before {
  content: none;
}

.popcorn-plane::after {
  content: none;
}

.selector-card .silhouette,
.selector-card .sprite,
.selector-card .holo-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  transform-origin: center bottom;
  clip-path: inset(0 round 16px);
  transition: opacity 420ms ease;
}

.selector-card .silhouette {
  display: none;
  z-index: 0;
  image-rendering: pixelated;
  opacity: 0.19;
  filter:
    brightness(0)
    contrast(1.4)
    blur(1.4px)
    drop-shadow(0 0 20px rgba(54, 185, 255, 0.44));
  transform: translate(10px, 8px) scale(var(--fighter-scale, 1));
}

.selector-card .sprite {
  display: none;
  z-index: 1;
  image-rendering: auto;
  transform: scale(var(--fighter-scale, 1));
  opacity: 0.38;
  mix-blend-mode: screen;
  filter:
    saturate(1.3)
    contrast(1.12)
    drop-shadow(0 0 2px rgba(224, 250, 255, 0.8))
    drop-shadow(0 0 14px rgba(101, 231, 255, 0.68))
    drop-shadow(0 0 26px rgba(67, 154, 255, 0.46));
  animation: holo-drift 4.8s ease-in-out infinite;
}

.selector-card .holo-layer {
  display: none;
  z-index: 2;
  pointer-events: none;
  transform: scale(var(--fighter-scale, 1));
  -webkit-mask-image: var(--fighter-image);
  mask-image: var(--fighter-image);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: cover;
  mask-size: cover;
  -webkit-mask-position: center center;
  mask-position: center center;
  opacity: 0.2;
  background:
    radial-gradient(circle at 38% 28%, rgba(119, 238, 255, 0.28), transparent 52%),
    radial-gradient(circle at 72% 72%, rgba(70, 153, 255, 0.22), transparent 56%),
    repeating-linear-gradient(
      to bottom,
      rgba(163, 240, 255, 0.09),
      rgba(163, 240, 255, 0.09) 1px,
      transparent 1px,
      transparent 4px
    );
  mix-blend-mode: screen;
  background-size: 120% 120%, 130% 130%, 100% 100%;
  background-position: 0 0, 0 0, 0 0;
  animation: holo-interference 5.2s steps(18, end) infinite;
}

.selector-card.is-fading .silhouette,
.selector-card.is-fading .sprite,
.selector-card.is-fading .holo-layer,
.selector-card.is-fading .cabinet-screen,
.selector-card.is-fading .cabinet-meta {
  opacity: 0.03;
}

.wheel-right .selector-card .silhouette {
  transform: translate(-10px, 8px) scale(var(--fighter-scale, 1));
}

.wheel-right .selector-card .sprite {
  transform: scale(var(--fighter-scale, 1));
}

.wheel-right .selector-card .holo-layer {
  transform: scale(var(--fighter-scale, 1));
}

.cabinet-screen {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 82%;
  height: 88%;
  transform: translate(-50%, -50%);
  z-index: 6;
  clip-path: none;
  border-radius: 10px;
  overflow: hidden;
  padding: 8px;
  box-sizing: border-box;
  border: 1px solid rgba(8, 12, 18, 0.88);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 3px 16px rgba(0, 0, 0, 0.46),
    0 0 16px rgba(112, 227, 255, 0.3),
    0 0 34px rgba(82, 160, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -10px 24px rgba(0, 0, 0, 0.52);
  background:
    linear-gradient(145deg, #23282f 0%, #13181e 42%, #07090d 100%);
  -webkit-mask-image: none;
  mask-image: none;
  mix-blend-mode: normal;
  opacity: 0.95;
  filter: none;
}

.cabinet-screen::after {
  content: "";
  position: absolute;
  inset: 8px;
  background:
    repeating-linear-gradient(
      to top,
      rgba(170, 245, 255, 0.16) 0 1px,
      rgba(170, 245, 255, 0) 1px 4px
    );
  mix-blend-mode: screen;
  opacity: 0.26;
  filter: none;
  pointer-events: none;
  animation: band-up 4.8s linear infinite;
}

.cabinet-screen::before {
  content: "";
  position: absolute;
  inset: 8px;
  background:
    radial-gradient(
      ellipse at center,
      rgba(88, 218, 255, 0.24) 0%,
      rgba(88, 218, 255, 0.11) 45%,
      rgba(88, 218, 255, 0) 75%
    ),
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.24) 0%,
      rgba(255, 255, 255, 0.08) 28%,
      rgba(255, 255, 255, 0) 48%,
      rgba(0, 0, 0, 0.22) 100%
    ),
    radial-gradient(
      ellipse at center,
      rgba(0, 0, 0, 0) 58%,
      rgba(0, 0, 0, 0.22) 78%,
      rgba(0, 0, 0, 0.44) 100%
    );
  mix-blend-mode: screen;
  opacity: 0.82;
  filter: none;
  pointer-events: none;
  animation: holo-sheen 6.8s ease-in-out infinite;
}

.cabinet-screen-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform-origin: center center;
  display: block;
  filter:
    saturate(1.48)
    contrast(1.18)
    brightness(1.1)
    hue-rotate(-7deg);
  -webkit-mask-image: none;
  mask-image: none;
  opacity: 0.92;
  mix-blend-mode: screen;
  animation: hologram-flicker 3.2s steps(14, end) infinite;
}

.cabinet-meta {
  display: none;
}

.cabinet-meta-game,
.cabinet-meta-score {
  background: linear-gradient(90deg, rgba(8, 18, 40, 0.18), rgba(63, 178, 255, 0.2), rgba(8, 18, 40, 0.18));
  color: #cbf7ff;
  border: 1px solid rgba(124, 234, 255, 0.68);
  border-radius: 0.55rem;
  padding: 0.16rem 0.44rem 0.14rem;
  width: 100%;
  text-align: center;
  font-family: "VT323", "Consolas", monospace;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow:
    0 0 8px rgba(183, 248, 255, 0.95),
    0 0 24px rgba(91, 201, 255, 0.74);
  box-shadow:
    inset 0 0 18px rgba(97, 200, 255, 0.2),
    0 0 18px rgba(56, 176, 255, 0.46);
}

.cabinet-meta-game {
  font-size: clamp(0.76rem, 0.86vw, 0.96rem);
}

.cabinet-meta-score {
  font-size: clamp(0.72rem, 0.78vw, 0.88rem);
  color: #b2ffe5;
  border-color: rgba(110, 255, 218, 0.72);
  background:
    linear-gradient(
      to top,
      rgba(58, 199, 255, 0.2) 0%,
      rgba(96, 255, 210, 0.32) 46%,
      rgba(58, 199, 255, 0.2) 100%
    );
  background-size: 100% 200%;
  animation:
    score-pulse 1.8s ease-in-out infinite,
    score-band-up 2.8s linear infinite;
  box-shadow:
    inset 0 0 18px rgba(111, 238, 194, 0.18),
    0 0 18px rgba(74, 220, 184, 0.44);
}

/* LOCKED MARQUEE BAND STYLE (v1)
   Keep these values unchanged unless intentionally versioning to v2. */
.name-ring,
.retro-marquee-band {
  position: absolute;
  left: 50%;
  width: clamp(980px, 88vw, 1520px);
  height: clamp(100px, 9.2vw, 162px);
  transform: translate(-50%, -50%) scaleY(0.74);
  overflow: hidden;
  border-radius: 999px;
  pointer-events: none;
  transform-origin: center;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.72) 7%,
    #000 15%,
    #000 85%,
    rgba(0, 0, 0, 0.72) 93%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.72) 7%,
    #000 15%,
    #000 85%,
    rgba(0, 0, 0, 0.72) 93%,
    transparent 100%
  );
}

.name-ring-top,
.retro-marquee-band--top {
  top: -10%;
}

.name-ring-bottom,
.retro-marquee-band--bottom {
  top: 109%;
}

.wheel-left .name-ring,
.wheel-right .name-ring {
  transform: translate(-50%, -50%) scaleY(0.74);
  animation: none;
}

.name-ring::before,
.retro-marquee-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 48%, rgba(88, 223, 255, 0.42), transparent 65%),
    linear-gradient(95deg, rgba(98, 251, 255, 0.24), rgba(152, 144, 255, 0.16) 35%, rgba(97, 251, 207, 0.2) 64%, rgba(140, 188, 255, 0.14)),
    repeating-linear-gradient(
      to bottom,
      rgba(157, 237, 255, 0.14),
      rgba(157, 237, 255, 0.14) 1px,
      transparent 1px,
      transparent 5px
    );
  mix-blend-mode: screen;
  opacity: 0.24;
  animation: none;
}

.name-ring,
.retro-marquee-band {
  z-index: 7;
}

.name-ring-top,
.name-ring-bottom,
.retro-marquee-band--top,
.retro-marquee-band--bottom {
  opacity: 0.92;
  filter:
    drop-shadow(0 0 6px rgba(116, 230, 255, 0.48))
    drop-shadow(0 0 14px rgba(77, 167, 255, 0.32));
}

.name-ring-track,
.retro-marquee-track {
  position: absolute;
  left: 0;
  top: 50%;
  display: flex;
  align-items: center;
  width: max-content;
  transform: translateY(-50%);
  animation: ring-marquee 32s linear infinite;
}

.name-ring-top .name-ring-track,
.retro-marquee-band--top .retro-marquee-track {
  animation-duration: var(--ring-speed-top, 32s);
  animation-delay: var(--ring-delay-top, 0s);
}

.name-ring-bottom .name-ring-track,
.retro-marquee-band--bottom .retro-marquee-track {
  animation-duration: var(--ring-speed-bottom, 36s);
  animation-delay: var(--ring-delay-bottom, -3s);
}

.name-ring-text,
.retro-marquee-text {
  font-family: "Silkscreen", "Noto Sans JP", "MS PGothic", "Hiragino Kaku Gothic ProN", "Courier New", monospace;
  font-size: clamp(2.45rem, 2.95vw, 3.25rem);
  letter-spacing: 0.12em;
  color: #cff8ff;
  text-transform: uppercase;
  white-space: nowrap;
  padding-right: 4.2rem;
  line-height: 1;
  filter:
    drop-shadow(0 0 5px rgba(171, 241, 255, 0.68))
    drop-shadow(0 0 12px rgba(99, 206, 255, 0.44));
}

.selector-card.is-entering {
  animation: selector-pop 340ms cubic-bezier(0.22, 1, 0.36, 1);
}

a {
  color: var(--link);
  text-shadow: 0 0 4px rgba(125, 230, 255, 0.22);
}

a:hover,
a:focus-visible {
  color: var(--link-hover);
}

.bg-grid {
  display: none;
}

.bg-grid::before {
  content: none;
}

.utility-strip,
.site-shell {
  position: relative;
  z-index: 1;
  max-width: 100vw;
}

.utility-strip {
  width: var(--shell);
  margin: 0.7rem auto 0;
  padding: 0.35rem 0.72rem;
  border: 2px solid #5cc5ff;
  background: linear-gradient(90deg, #101a2d, #13253f 52%, #101a2d);
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: wrap;
  font-size: 1.04rem;
  letter-spacing: 0.03em;
}

.utility-strip::before {
  content: none;
}

.utility-strip p {
  margin: 0;
}

.utility-strip .auth-row {
  width: 100%;
  color: #ffe88a;
  font-family: "VT323", "Courier New", monospace;
  font-size: 1.25rem;
  margin-bottom: 0.14rem;
}

.utility-strip .auth-row a {
  color: #c9f5ff;
  text-decoration: none;
  border-bottom: 1px dotted rgba(201, 245, 255, 0.62);
}

.utility-strip .auth-row a:hover,
.utility-strip .auth-row a:focus-visible {
  color: #fff5a8;
  border-bottom-color: rgba(255, 245, 168, 0.84);
}

.utility-strip .status {
  color: #fff3a0;
}

.global-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.global-search label {
  margin: 0;
  font-size: 0.58rem;
  color: #d9edff;
}

.global-search input {
  width: clamp(180px, 24vw, 320px);
  max-width: 100%;
  font-size: 1.1rem;
  padding: 0.22rem 0.36rem;
}

.global-search button {
  border: 2px outset #7bcfff;
  background: linear-gradient(180deg, #84edff, #55c5f0);
  color: #04203f;
  font-family: "Silkscreen", "Courier New", monospace;
  font-size: 0.56rem;
  padding: 0.3rem 0.48rem;
  cursor: pointer;
}

.site-shell {
  width: var(--shell);
  margin: 0.58rem auto 1.15rem;
  border: 10px solid #080e19;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 18%),
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.02),
      rgba(255, 255, 255, 0.02) 6px,
      rgba(0, 0, 0, 0.04) 6px,
      rgba(0, 0, 0, 0.04) 12px
    ),
    #0b111c;
  padding: 8px;
  box-shadow:
    0 0 0 2px #63ceff inset,
    0 0 0 4px #173247 inset,
    0 16px 26px -18px rgba(0, 0, 0, 0.65);
}

.site-shell::before {
  content: none;
}

.bevel {
  border-style: outset;
  border-width: 3px;
  border-color: #84d2ff;
}

.site-header {
  background-image: url("https://aurcade.com/images/header.jpg");
  background-repeat: repeat-x;
  background-position: center top;
  padding: 0;
  display: block;
  position: relative;
  height: 110px;
  border-color: #6bd3ff;
  overflow: hidden;
}

.site-header::before {
  content: none;
}

.site-header::after {
  content: none;
}

.brand {
  display: none;
}

.brand img {
  display: none;
}

.brand h1 {
  display: none;
}

.brand p {
  display: none;
}

.header-meta {
  display: none;
}

.header-meta p {
  display: none;
}

.header-meta .label {
  display: none;
}

.main-nav {
  margin-top: 0.46rem;
  background:
    linear-gradient(180deg, rgba(128, 210, 255, 0.16), rgba(22, 45, 74, 0.82)),
    #122844;
  padding: 0.34rem 0.34rem 0.18rem;
  display: flex;
  gap: 0.32rem;
  flex-wrap: wrap;
  border-color: #5ebded;
}

.utility-strip,
.main-nav {
  transition:
    transform 240ms ease,
    opacity 220ms ease,
    max-height 240ms ease;
}

.nav-toggle {
  display: none;
  width: 100%;
  border: 2px outset #7bcfff;
  background: linear-gradient(180deg, #84edff, #55c5f0);
  color: #04203f;
  font-family: "Silkscreen", "Courier New", monospace;
  font-size: 0.66rem;
  padding: 0.52rem 0.6rem;
  cursor: pointer;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.main-nav a {
  text-decoration: none;
  font-family: "Silkscreen", "Courier New", monospace;
  font-size: 0.64rem;
  padding: 0.44rem 0.58rem;
  color: var(--link);
  background: linear-gradient(180deg, #2d527e, #203c61);
  border: 2px solid #6ebfea;
  border-bottom-color: #94dcff;
  border-right-color: #8bd5ff;
  text-transform: uppercase;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.08) inset;
}

.main-nav a.active {
  color: #061d3b;
  background: linear-gradient(180deg, #ffe280, #ffcf48);
  border-color: #fff1b1;
  border-bottom-color: #f5bc29;
  border-right-color: #f0b31f;
}

.main-nav a.cta-link {
  margin-left: auto;
  background: linear-gradient(180deg, #7df0ff, #4fc5ee);
  color: #041b3e;
}

.main-nav a.cta-link.active {
  color: #07264f;
  background: linear-gradient(180deg, #84edff, #56c4f5);
}

.ticker {
  margin-top: 0.46rem;
  background: linear-gradient(90deg, #0a111d, #12253f 52%, #0a111d);
  overflow: hidden;
  border-color: #ffd95f;
}

.ticker-track {
  display: inline-flex;
  width: max-content;
  white-space: nowrap;
  animation: ticker 32s linear infinite;
}

.ticker-track span {
  padding: 0.42rem 0.9rem;
  font-family: "VT323", "Courier New", monospace;
  font-size: 1.35rem;
  color: #d7f8ff;
}

.ticker-track span::after {
  content: " :: ";
  color: #72ffc1;
}

.page-grid {
  margin-top: 0.46rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.62rem;
}

.page-grid > aside,
.page-grid > main {
  display: block;
  min-width: 0;
}

.page-grid > aside {
  width: auto;
  order: 2;
}

.page-grid > main {
  order: 1;
}

.page-games .page-grid > main {
  position: relative;
}

.page-games .page-grid > main::before {
  content: "";
  position: absolute;
  inset: -8px -8px auto;
  height: 220px;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 12%, rgba(255, 110, 198, 0.22), transparent 56%),
    radial-gradient(circle at 78% 0%, rgba(77, 202, 255, 0.25), transparent 58%);
  z-index: 0;
}

.page-games .page-grid > main > .panel {
  position: relative;
  z-index: 1;
}

.panel {
  background: linear-gradient(180deg, rgba(130, 203, 255, 0.09), rgba(10, 18, 34, 0.96) 16%);
  padding: 0.64rem;
  border-style: solid;
  border-width: 2px;
  border-color: #5eb9e6 #4ea1ca #3f7ea4 #4ea1ca;
  box-shadow:
    0 0 0 1px rgba(144, 223, 255, 0.18) inset,
    0 10px 16px -13px rgba(0, 0, 0, 0.75);
  overflow: hidden;
  max-width: 100%;
}

.panel > * {
  min-width: 0;
}

.panel > h2 {
  margin: 0;
  padding: 0 0 0.25rem;
  font-family: "Silkscreen", "Courier New", monospace;
  font-size: 0.74rem;
  color: #ffe790;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.28);
  text-shadow:
    0 0 8px rgba(255, 222, 105, 0.32),
    1px 1px 0 #2a1d00;
}

.section-head h2 {
  margin: 0;
  font-family: "Silkscreen", "Courier New", monospace;
  font-size: 0.74rem;
  color: #ffe790;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-shadow:
    0 0 8px rgba(255, 222, 105, 0.32),
    1px 1px 0 #2a1d00;
}

.panel h3 {
  margin: 0;
  font-family: "Silkscreen", "Courier New", monospace;
  font-size: 0.64rem;
  color: #f5ffd0;
}

.panel p {
  margin: 0.42rem 0 0;
  font-family: "VT323", "Courier New", monospace;
  font-size: 1.35rem;
  color: #d7e6ff;
}

.panel + .panel {
  margin-top: 0.46rem;
}

.rail-list,
.key-list,
.rules-list,
.todo-list {
  margin: 0.5rem 0 0;
  padding-left: 0;
  list-style: none;
  border: 1px solid #315270;
  background: rgba(12, 27, 44, 0.6);
}

.rail-list li,
.key-list li,
.rules-list li,
.todo-list li {
  margin: 0;
  padding: 0.32rem 0.5rem;
  border-bottom: 1px solid rgba(122, 182, 219, 0.25);
  font-family: "VT323", "Courier New", monospace;
  font-size: 1.28rem;
}

.rail-list li:nth-child(odd),
.key-list li:nth-child(odd),
.rules-list li:nth-child(odd),
.todo-list li:nth-child(odd) {
  background: rgba(132, 196, 230, 0.07);
}

.rail-list li:last-child,
.key-list li:last-child,
.rules-list li:last-child,
.todo-list li:last-child {
  border-bottom: 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 0.4rem;
  align-items: baseline;
  flex-wrap: wrap;
}

.section-head p {
  margin: 0;
  color: var(--text-dim);
  font-family: "VT323", "Courier New", monospace;
  font-size: 1.3rem;
}

.hero-grid {
  display: grid;
  gap: 0.46rem;
  grid-template-columns: 1fr;
}

.page-index .hero-grid {
  grid-template-columns: 1.15fr 1fr;
  align-items: start;
}

.hero-grid .lead {
  font-size: 1.6rem;
}

.actions {
  margin-top: 0.58rem;
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.pixel-btn {
  display: inline-block;
  text-decoration: none;
  font-family: "Silkscreen", monospace;
  font-size: 0.62rem;
  padding: 0.45rem 0.58rem;
  cursor: pointer;
  border-style: solid;
  border-width: 3px;
  background: #ffd85d;
  color: #111a48;
  border-top-color: #fff6c7;
  border-left-color: #fff6c7;
  border-right-color: #8f7004;
  border-bottom-color: #8f7004;
}

.pixel-btn.alt {
  background: #7ce5ff;
  color: #072a53;
  border-top-color: #dff9ff;
  border-left-color: #dff9ff;
  border-right-color: #23649a;
  border-bottom-color: #23649a;
}

.pixel-btn.warn {
  background: #ff98cd;
  color: #3e0d2b;
  border-top-color: #ffd9ef;
  border-left-color: #ffd9ef;
  border-right-color: #93346f;
  border-bottom-color: #93346f;
}

.pixel-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.scoreboard,
.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #35597b;
  min-width: 560px;
}

.scoreboard th,
.scoreboard td,
.data-table th,
.data-table td {
  border-right: 1px solid #35597b;
  border-bottom: 1px solid rgba(98, 156, 193, 0.42);
  padding: 0.32rem 0.38rem;
  text-align: left;
}

.scoreboard tr > *:last-child,
.data-table tr > *:last-child {
  border-right: 0;
}

.scoreboard th,
.data-table th {
  background: linear-gradient(180deg, #365d84, #264768);
  color: #ffe890;
  font-family: "Silkscreen", monospace;
  font-size: 0.6rem;
  text-transform: uppercase;
}

.scoreboard td,
.data-table td {
  font-family: "VT323", "Courier New", monospace;
  font-size: 1.28rem;
  color: #e9f4ff;
}

.scoreboard tbody tr:nth-child(odd),
.data-table tbody tr:nth-child(odd) {
  background: rgba(85, 138, 176, 0.15);
}

.scoreboard tbody tr:hover,
.data-table tbody tr:hover {
  background: rgba(255, 227, 122, 0.14);
}

.status-open {
  color: var(--ok);
}

.status-alert {
  color: var(--danger);
}

.status-warn {
  color: var(--warn);
}

.card-grid {
  margin-top: 0.5rem;
  display: grid;
  gap: 0.46rem;
}

.card-grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: linear-gradient(180deg, rgba(134, 198, 236, 0.1), rgba(15, 28, 44, 0.98));
  border: 1px solid #4f85ad;
  padding: 0.5rem;
}

.media-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.media-link:hover img,
.media-link:focus-visible img {
  filter: contrast(1.14) saturate(1.12) brightness(1.05);
}

.card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  border: 2px solid #2d4d79;
  background: radial-gradient(circle at 50% 40%, rgba(69, 145, 255, 0.14), #081930 72%);
  margin-bottom: 0.36rem;
  filter: contrast(1.08) saturate(1.08);
}

.card h3 {
  margin: 0;
}

.card .meta {
  margin: 0.2rem 0 0;
  font-size: 1.15rem;
  line-height: 1.12;
  color: var(--text-dim);
}

.tag-row {
  margin-top: 0.34rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
}

.tag {
  display: inline-block;
  border: 1px solid #66c5ff;
  background: #152944;
  color: #d1e8ff;
  font-size: 1.03rem;
  padding: 0.18rem 0.35rem;
}

.view-switch {
  margin-top: 0.44rem;
  display: inline-flex;
  border: 1px solid #4f84ad;
  background: #132742;
}

.view-switch button {
  border: 0;
  border-right: 1px solid #4f84ad;
  background: linear-gradient(180deg, #2b4f77, #203d60);
  color: #d7ecff;
  font-family: "Silkscreen", "Courier New", monospace;
  font-size: 0.54rem;
  padding: 0.28rem 0.48rem;
  cursor: pointer;
  text-transform: uppercase;
}

.view-switch button:last-child {
  border-right: 0;
}

.view-switch button.is-active {
  background: linear-gradient(180deg, #ffe38a, #ffc95a);
  color: #072046;
}

.table-wrap {
  margin-top: 0.45rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.kpi-grid {
  margin-top: 0.5rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.42rem;
}

.kpi {
  border: 2px outset #65bbff;
  background: #0f192a;
  padding: 0.45rem;
}

.kpi .value {
  margin: 0;
  font-size: 1.95rem;
  color: #ffe988;
  text-shadow: 0 0 8px rgba(255, 227, 109, 0.3);
}

.kpi .label {
  margin: 0.16rem 0 0;
  color: var(--text-dim);
}

.filter-row {
  margin-top: 0.45rem;
  display: flex;
  gap: 0.34rem;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: "Silkscreen", "Courier New", monospace;
  font-size: 0.58rem;
  padding: 0.22rem 0.5rem;
  border: 2px outset #64bdff;
  background: #1d3f68;
  color: #d9edff;
  cursor: pointer;
}

.filter-btn.active {
  background: linear-gradient(180deg, #ffe780, #ffd24a);
  color: #102251;
  border-style: inset;
  border-color: #fff2b1;
}

.search-row {
  margin-top: 0.4rem;
  display: flex;
  gap: 0.35rem;
  align-items: center;
  flex-wrap: wrap;
}

.search-row input {
  min-width: 220px;
  flex: 1 1 280px;
}

input,
select,
textarea {
  width: 100%;
  border: 2px inset #8ed9ff;
  background: #0c131f;
  color: var(--text);
  padding: 0.28rem 0.4rem;
  font-family: "VT323", "Courier New", monospace;
  font-size: 1.3rem;
}

textarea {
  min-height: 95px;
  resize: vertical;
}

label {
  display: block;
  margin-bottom: 0.1rem;
  font-family: "Silkscreen", "Courier New", monospace;
  font-size: 0.62rem;
  color: #d4e8ff;
}

.result-line {
  margin-top: 0.35rem;
  color: var(--text-dim);
}

.game-grid {
  margin-top: 0.5rem;
  display: grid;
  gap: 0.45rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.game-card {
  background: linear-gradient(180deg, rgba(118, 183, 226, 0.12), #121f34);
  border: 1px solid #4d82aa;
  padding: 0.5rem;
}

.game-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  background: radial-gradient(circle at 50% 40%, rgba(69, 145, 255, 0.14), #081930 72%);
  border: 2px solid #2d4d79;
  filter: contrast(1.08) saturate(1.08);
}

.game-card h3 {
  margin: 0;
}

.game-card h3 a {
  color: #ffe899;
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 233, 158, 0.5);
}

.game-card h3 a:hover,
.game-card h3 a:focus-visible {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.8);
}

.game-link {
  color: #ffe899;
  text-decoration: none;
  text-shadow: 0 0 8px rgba(255, 231, 133, 0.2);
  border-bottom: 1px dotted rgba(255, 233, 158, 0.55);
}

.game-link:hover,
.game-link:focus-visible {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.78);
}

.rail-list a,
.todo-list a,
.key-list a {
  color: #dff0ff;
  text-decoration: none;
  border-bottom: 1px dotted rgba(147, 218, 255, 0.45);
}

.rail-list a:hover,
.rail-list a:focus-visible,
.todo-list a:hover,
.todo-list a:focus-visible,
.key-list a:hover,
.key-list a:focus-visible {
  color: #fff6b2;
  border-bottom-color: rgba(255, 246, 178, 0.75);
}

.game-card .links {
  margin-top: 0.43rem;
  display: flex;
  gap: 0.38rem;
  flex-wrap: wrap;
}

[data-game-id] {
  cursor: pointer;
  transition: box-shadow 140ms ease, background-color 140ms ease;
}

tr[data-game-id].is-selected td {
  background: rgba(255, 224, 120, 0.16);
}

.game-card[data-game-id].is-selected {
  box-shadow:
    0 0 0 2px rgba(255, 223, 123, 0.64) inset,
    0 0 22px rgba(255, 209, 77, 0.22);
}

.page-games .panel[data-scene-fighter] {
  border-color: #6ec0ea #5eaed7 #4d8cb2 #5eaed7;
}

.game-profile-grid {
  margin-top: 0.45rem;
}

.card-grid.is-list-view,
.game-grid.is-list-view {
  grid-template-columns: 1fr;
}

.card-grid.is-list-view .card,
.game-grid.is-list-view .game-card,
.page-events .card-grid .card,
.page-events .game-grid .game-card {
  display: grid;
  grid-template-columns: minmax(120px, 30%) minmax(0, 1fr);
  gap: 0.48rem;
  align-items: start;
}

.card-grid.is-list-view .card img,
.game-grid.is-list-view .game-card img,
.page-events .card-grid .card img,
.page-events .game-grid .game-card img {
  margin-bottom: 0;
}

.card-grid.is-list-view .card .media-link,
.page-events .card-grid .card .media-link {
  display: grid;
  grid-template-columns: minmax(120px, 30%) minmax(0, 1fr);
  gap: 0.48rem;
  align-items: start;
}

.card-grid.is-list-view .card .media-link img,
.page-events .card-grid .card .media-link img {
  grid-column: 1;
  grid-row: 1 / span 3;
  margin-bottom: 0;
}

.card-grid.is-list-view .card .media-link > :not(img),
.page-events .card-grid .card .media-link > :not(img) {
  grid-column: 2;
}

.card-grid.is-list-view .card img,
.page-events .card-grid .card img {
  grid-column: 1;
  grid-row: 1 / span 3;
}

.card-grid.is-list-view .card > :not(img),
.page-events .card-grid .card > :not(img) {
  grid-column: 2;
}

.split-grid {
  margin-top: 0.5rem;
  display: grid;
  gap: 0.45rem;
  grid-template-columns: 1fr 1fr;
}

.panel-hero {
  margin: 0.45rem 0;
}

.panel-hero img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center top;
  border: 2px solid #2d4d79;
  background: radial-gradient(circle at 50% 40%, rgba(69, 145, 255, 0.12), #081930 72%);
  filter: contrast(1.08) saturate(1.08);
}

.form-grid {
  margin-top: 0.45rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
}

.full {
  grid-column: 1 / -1;
}

.queue {
  margin-top: 0.45rem;
}

.queue-item {
  border: 2px outset #63bfff;
  background: #111a2b;
  padding: 0.42rem;
}

.queue-item + .queue-item {
  margin-top: 0.34rem;
}

.queue-item p {
  margin: 0.2rem 0 0;
}

.feature-list {
  margin-top: 0.5rem;
}

.feature-item {
  border: 1px solid #4f83ab;
  background: linear-gradient(180deg, rgba(130, 198, 236, 0.08), #111a2c);
  padding: 0.45rem;
  display: flex;
  justify-content: space-between;
  gap: 0.45rem;
  align-items: center;
}

.feature-item img {
  width: 84px;
  height: 64px;
  object-fit: cover;
  object-position: center;
  border: 2px solid #2d4d79;
  background: radial-gradient(circle at 50% 40%, rgba(69, 145, 255, 0.12), #081930 72%);
  margin-right: 0.45rem;
  flex: 0 0 auto;
}

.feature-item .media-row {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
}

.feature-item + .feature-item {
  margin-top: 0.3rem;
}

.vote {
  min-width: 125px;
  text-align: right;
}

.vote-count {
  color: #ffe57a;
}

.site-footer {
  margin-top: 0.45rem;
  padding: 0.55rem 0.7rem;
  background:
    linear-gradient(90deg, rgba(134, 201, 240, 0.16), transparent 25%),
    #11233e;
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: wrap;
  border-color: #6dbde7;
}

.site-footer p {
  margin: 0;
}

.site-footer .small {
  color: var(--text-dim);
}

.site-footer::before {
  content: none;
}

.site-footer::after {
  content: none;
}

.status {
  animation: blink 1s steps(1) infinite;
}

[hidden] {
  display: none !important;
}

@keyframes ticker {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  50.1%,
  100% {
    opacity: 0.45;
  }
}

@keyframes selector-pop {
  0% {
    transform: translateY(6px) scale(0.98);
    filter: brightness(0.92);
  }
  65% {
    transform: translateY(-2px) scale(1.012);
    filter: brightness(1.04);
  }
  100% {
    transform: translateY(0) scale(1);
    filter: brightness(1);
  }
}

@keyframes beam-rise {
  0% {
    opacity: 0;
    transform: translateY(170px) scale(0.58);
    filter: blur(7px) saturate(1.2);
  }
  58% {
    opacity: 0.96;
    transform: translateY(-12px) scale(1.02);
    filter: blur(0.8px) saturate(1.24);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0) saturate(1);
  }
}

@keyframes panel-float {
  0%,
  100% {
    transform: translateY(0) scale(1);
    filter:
      drop-shadow(0 0 18px rgba(76, 198, 255, 0.58))
      drop-shadow(0 0 34px rgba(45, 126, 255, 0.36));
  }
  50% {
    transform: translateY(-10px) scale(1.018);
    filter:
      drop-shadow(0 0 22px rgba(95, 227, 255, 0.72))
      drop-shadow(0 0 40px rgba(60, 156, 255, 0.48));
  }
}

@keyframes band-up {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-20px);
  }
}

@keyframes score-pulse {
  0%,
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.028);
    filter: brightness(1.1);
  }
}

@keyframes score-band-up {
  0% {
    background-position: 0 100%;
  }
  100% {
    background-position: 0 -100%;
  }
}

@keyframes hologram-flicker {
  0%,
  100% {
    opacity: 0.94;
    transform: scale(var(--screen-scale, 1));
  }
  18% {
    opacity: 0.86;
    transform: scale(calc(var(--screen-scale, 1) * 1.01));
  }
  37% {
    opacity: 0.91;
    transform: scale(calc(var(--screen-scale, 1) * 0.995));
  }
  63% {
    opacity: 0.83;
    transform: scale(calc(var(--screen-scale, 1) * 1.012));
  }
  82% {
    opacity: 0.9;
    transform: scale(calc(var(--screen-scale, 1) * 0.998));
  }
}

@keyframes holo-sheen {
  0%,
  100% {
    transform: translateX(-3%);
    opacity: 0.66;
  }
  50% {
    transform: translateX(4%);
    opacity: 0.88;
  }
}

@keyframes holo-interference {
  0% {
    opacity: 0.38;
    background-position: 0 0, 0 0, 0 0;
  }
  25% {
    opacity: 0.52;
    background-position: 8px -10px, -6px 8px, 0 2px;
  }
  50% {
    opacity: 0.42;
    background-position: -6px 6px, 4px -6px, 0 1px;
  }
  75% {
    opacity: 0.56;
    background-position: 4px -4px, -8px 6px, 0 3px;
  }
  100% {
    opacity: 0.4;
    background-position: 0 0, 0 0, 0 0;
  }
}

@keyframes holo-drift {
  0%,
  100% {
    opacity: 0.66;
    filter:
      saturate(1.16)
      contrast(1.1)
      drop-shadow(0 0 2px rgba(224, 250, 255, 0.8))
      drop-shadow(0 0 16px rgba(101, 231, 255, 0.72))
      drop-shadow(0 0 30px rgba(67, 154, 255, 0.5));
  }
  35% {
    opacity: 0.72;
    filter:
      saturate(1.24)
      contrast(1.16)
      brightness(1.05)
      drop-shadow(0 0 2px rgba(234, 253, 255, 0.86))
      drop-shadow(0 0 20px rgba(114, 240, 255, 0.8))
      drop-shadow(0 0 36px rgba(82, 172, 255, 0.58));
  }
  68% {
    opacity: 0.62;
    filter:
      saturate(1.1)
      contrast(1.02)
      drop-shadow(0 0 2px rgba(212, 246, 255, 0.78))
      drop-shadow(0 0 14px rgba(96, 224, 255, 0.66))
      drop-shadow(0 0 26px rgba(66, 146, 255, 0.44));
  }
}

@keyframes ring-marquee {
  0% {
    transform: translate(0, -50%);
  }
  100% {
    transform: translate(-50%, -50%);
  }
}

@keyframes holo-band-shift {
  0%,
  100% {
    opacity: 0.82;
    background-position: 0 0, 0 0, 0 0;
  }
  33% {
    opacity: 0.96;
    background-position: 0 0, 24px 0, 0 2px;
  }
  66% {
    opacity: 0.88;
    background-position: 0 0, -18px 0, 0 1px;
  }
}

@media (max-width: 1260px) {
  .selector-hud {
    display: none;
  }
}

@media (min-width: 1200px) {
  .page-grid {
    grid-template-columns: minmax(255px, 0.9fr) minmax(0, 2.1fr);
    align-items: start;
  }

  .page-grid > aside {
    order: 1;
    position: sticky;
    top: 0.55rem;
    align-self: start;
  }

  .page-grid > main {
    order: 2;
  }
}

@media (max-width: 980px) {
  .utility-strip .auth-row {
    font-size: 1.12rem;
  }

  .ticker-track span {
    font-size: 1.2rem;
    padding: 0.4rem 0.7rem;
  }

  .panel > h2,
  .section-head h2 {
    font-size: 0.7rem;
  }

  .panel p,
  .section-head p {
    font-size: 1.24rem;
  }

  .scoreboard td,
  .data-table td {
    font-size: 1.2rem;
  }

  .feature-item {
    align-items: flex-start;
  }
}

@media (max-width: 731px) {
  .utility-strip {
    position: sticky;
    top: 0;
    z-index: 48;
  }

  .main-nav {
    position: sticky;
    top: var(--utility-strip-height, 0px);
    z-index: 47;
    max-height: 680px;
    overflow: hidden;
  }

  .utility-strip .global-search {
    max-height: 180px;
    overflow: hidden;
    transform: translateY(0);
    opacity: 1;
    transition:
      transform 220ms ease,
      opacity 220ms ease,
      max-height 220ms ease,
      margin 220ms ease;
  }

  body.mobile-scroll-ui-hidden .main-nav {
    max-height: 0;
    opacity: 0;
    transform: translateY(calc(-100% - 8px));
    pointer-events: none;
    margin-top: 0;
  }

  body.mobile-scroll-ui-hidden .utility-strip .global-search {
    max-height: 0;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    margin-top: 0;
    margin-bottom: 0;
  }

  .main-nav.is-collapsed {
    display: block;
  }

  .main-nav.is-collapsed .nav-toggle {
    display: block;
  }

  .main-nav.is-collapsed a {
    display: none;
  }

  .main-nav.is-collapsed.is-open a {
    display: block;
    width: 100%;
    text-align: center;
    margin-left: 0;
  }

  .main-nav.is-collapsed.is-open a + a {
    margin-top: 0.26rem;
  }
}

@media (min-width: 732px) {
  .utility-strip {
    position: sticky;
    top: 0;
    z-index: 48;
  }

  .main-nav {
    position: sticky;
    top: var(--sticky-nav-top, 0px);
    z-index: 47;
  }
}

@media (max-width: 1120px) {
  .hero-grid,
  .split-grid,
  .form-grid,
  .kpi-grid,
  .card-grid.cols-3,
  .game-grid {
    grid-template-columns: 1fr;
  }

  .page-index .hero-grid {
    grid-template-columns: 1fr;
  }

  .card-grid.cols-2 {
    grid-template-columns: 1fr;
  }

  .main-nav a.cta-link {
    margin-left: 0;
  }

  .global-search {
    margin-left: 0;
    width: 100%;
    justify-content: flex-start;
  }

  .main-nav {
    justify-content: center;
  }

  .main-nav a {
    font-size: 0.68rem;
  }

  .site-shell {
    border-width: 8px;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 13px;
  }

  .utility-strip {
    font-size: 0.9rem;
    gap: 0.35rem;
    padding: 0.35rem 0.5rem;
  }

  .utility-strip .auth-row {
    font-size: 1.02rem;
  }

  .global-search {
    flex-wrap: wrap;
    gap: 0.25rem;
  }

  .global-search label {
    width: 100%;
  }

  .global-search input {
    width: calc(100% - 70px);
    min-width: 0;
    font-size: 16px;
  }

  .main-nav a {
    width: 100%;
    text-align: center;
    font-size: 0.7rem;
    padding: 0.52rem 0.6rem;
  }

  .site-shell {
    border-width: 6px;
    padding: 6px;
  }

  .panel {
    padding: 0.54rem;
  }

  .panel > h2,
  .section-head h2 {
    font-size: 0.68rem;
  }

  .panel h3 {
    font-size: 0.62rem;
  }

  .panel p,
  .section-head p,
  .card .meta,
  .tag,
  .rail-list li,
  .key-list li,
  .rules-list li,
  .todo-list li {
    font-size: 1.12rem;
  }

  .scoreboard,
  .data-table {
    min-width: 500px;
  }

  .scoreboard th,
  .data-table th {
    font-size: 0.56rem;
  }

  .scoreboard td,
  .data-table td {
    font-size: 1.08rem;
    padding: 0.28rem 0.3rem;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }

  .card-grid.is-list-view .card,
  .game-grid.is-list-view .game-card,
  .page-events .card-grid .card,
  .page-events .game-grid .game-card {
    grid-template-columns: 1fr;
  }

  .card-grid.is-list-view .card .media-link,
  .page-events .card-grid .card .media-link {
    grid-template-columns: 1fr;
  }

  .card-grid.is-list-view .card img,
  .page-events .card-grid .card img {
    grid-column: auto;
    grid-row: auto;
    margin-bottom: 0.36rem;
  }

  .card-grid.is-list-view .card .media-link img,
  .page-events .card-grid .card .media-link img {
    grid-column: auto;
    grid-row: auto;
    margin-bottom: 0.36rem;
  }

  .card-grid.is-list-view .card > :not(img),
  .page-events .card-grid .card > :not(img) {
    grid-column: auto;
  }

  .card-grid.is-list-view .card .media-link > :not(img),
  .page-events .card-grid .card .media-link > :not(img) {
    grid-column: auto;
  }

  .feature-item {
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
  }

  .feature-item .media-row {
    flex-direction: column;
    gap: 0.35rem;
  }

  .feature-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    margin-right: 0;
  }

  .vote {
    min-width: 0;
    text-align: left;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
  }
}

@media (max-width: 420px) {
  .ticker-track span {
    font-size: 1.02rem;
    padding: 0.34rem 0.54rem;
  }

  .global-search input {
    width: 100%;
  }

  .global-search button {
    width: 100%;
    text-align: center;
  }

  .scoreboard,
  .data-table {
    min-width: 420px;
  }
}

@media (max-width: 530px) {
  .utility-strip,
  .site-shell {
    width: 98vw;
  }

  .site-shell {
    margin: 0.45rem auto 0.9rem;
    padding: 4px;
    border-width: 4px;
  }

  .main-nav {
    padding: 0.28rem;
  }

  .nav-toggle {
    font-size: 0.72rem;
    padding: 0.5rem 0.55rem;
    margin-bottom: 0.28rem;
    letter-spacing: 0.03em;
  }

  .page-grid {
    gap: 0.5rem;
  }

  .page-index .hero-grid {
    grid-template-columns: 1fr !important;
  }

  .panel {
    padding: 0.46rem;
  }

  .panel > h2,
  .section-head h2 {
    font-size: 0.64rem;
  }

  .panel p,
  .section-head p,
  .card .meta,
  .tag,
  .rail-list li,
  .key-list li,
  .rules-list li,
  .todo-list li {
    font-size: 1.02rem;
  }

  .global-search button {
    font-size: 0.62rem;
    padding: 0.38rem 0.5rem;
  }

  .ticker-track span {
    font-size: 0.98rem;
    padding: 0.3rem 0.5rem;
  }

  .site-header {
    height: 96px;
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center;
    background-color: #081321;
  }

  .site-header::after {
    content: "Arcade Locations, World Records and More!";
    position: absolute;
    left: 50%;
    bottom: 1px;
    transform: translateX(-50%);
    font-family: "VT323", "Courier New", monospace;
    font-size: 0.86rem;
    color: #ffe88a;
    line-height: 0.98;
    white-space: normal;
    text-align: center;
    width: calc(100% - 10px);
    padding: 0.08rem 0.24rem;
    background: rgba(7, 16, 30, 0.78);
    border: 1px solid rgba(128, 211, 255, 0.35);
  }

  .scoreboard,
  .data-table {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    table-layout: fixed;
  }

  .table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .scoreboard th,
  .data-table th {
    font-size: 0.5rem;
  }

  .scoreboard td,
  .data-table td {
    font-size: 0.94rem;
    padding: 0.24rem 0.24rem;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cabinet-screen::after,
  .cabinet-meta-score,
  .wheel-left .name-ring,
  .wheel-right .name-ring,
  .popcorn-entry,
  .popcorn-plane,
  .selector-card.is-entering,
  .name-ring-track,
  .selector-card .sprite,
  .selector-card .holo-layer {
    animation: none;
  }
}

