/* ============================================================
   NEON ARENA — paper, ink & signal lime
   ============================================================ */
:root {
  --paper: #efece4;
  --paper-2: #e5e0d4;
  --card: #f8f6f0;
  --ink: #121212;
  --ink-2: #4b4840;
  --mute: #6f6a5e;
  --line: #d5cfc1;
  --line-2: #bbb4a4;
  --acid: #d7ff3f;
  --acid-soft: #f0ffc8;
  --acc: #ff4b1f;
  --acc-ink: #bd2c08;
  --ok: #157a43;
  --ok-bright: #1e9e5a;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .55;
  background-image: radial-gradient(var(--line) 1px, transparent 1px);
  background-size: 22px 22px;
}

body.no-scroll { overflow: hidden !important; }

h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
button:not(:disabled) { cursor: pointer; }
img { display: block; max-width: 100%; }
svg { display: block; }
code, kbd { font-family: var(--mono); }
::selection { background: var(--ink); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 3px;
}

[hidden] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(1240px, calc(100% - 56px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 500;
  padding: 11px 16px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--acid);
  color: var(--ink);
  font-weight: 700;
  box-shadow: 0 3px 0 var(--ink);
  transform: translateY(-160%);
  transition: transform .15s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.dot-live {
  background: var(--ok-bright);
  box-shadow: 0 0 0 3px rgba(30, 158, 90, .14);
  animation: pulse 2s infinite;
}

.tag {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 6px;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  background: var(--acid);
  color: var(--ink);
  font: 700 8.5px var(--mono);
  letter-spacing: .06em;
  line-height: 1;
  vertical-align: 2px;
  white-space: nowrap;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--ink-2);
  font: 500 10.5px var(--mono);
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow-mark {
  width: 8px;
  height: 8px;
  border: 1px solid var(--ink);
  background: var(--acc);
  transform: rotate(45deg);
  flex: none;
}
.eyebrow-light { color: rgba(255, 255, 255, .55); }
.eyebrow-light .eyebrow-mark { border-color: rgba(255, 255, 255, .5); }

.count {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border: 1.5px solid var(--line-2);
  border-radius: 999px;
  background: var(--card);
  color: var(--mute);
  font: 600 10.5px var(--mono);
  letter-spacing: 0;
  vertical-align: 3px;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 18px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--card);
  color: var(--ink);
  font: 700 14px var(--sans);
  letter-spacing: -.01em;
  text-decoration: none;
  box-shadow: 0 3px 0 var(--ink);
  transition: transform .08s var(--ease), box-shadow .08s var(--ease), background .15s;
  white-space: nowrap;
}
.btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 0 var(--ink);
}
.btn:active:not(:disabled) {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--ink);
}
.btn:disabled {
  opacity: .5;
  cursor: not-allowed;
  border-color: var(--line-2);
  background: var(--paper-2);
  color: var(--mute);
  box-shadow: 0 2px 0 var(--line-2);
}
.btn-acid { background: var(--acid); color: var(--ink); }
.btn-sm {
  min-height: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  box-shadow: 0 2px 0 var(--ink);
  font-size: 12.5px;
  gap: 6px;
}
.btn-sm .icon { width: 14px; height: 14px; }
.btn-lg {
  min-height: 58px;
  height: 58px;
  padding: 0 24px;
  border-radius: 12px;
  box-shadow: 0 5px 0 var(--ink);
  font-size: 17px;
}
.btn-lg .icon { width: 20px; height: 20px; }
.btn-block { width: 100%; }

.icon-btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  padding: 0;
  border: 1.5px solid var(--line-2);
  border-radius: 8px;
  background: var(--card);
  color: var(--ink-2);
  transition: border-color .15s, background .15s, color .15s, transform .08s;
}
.icon-btn:hover { border-color: var(--ink); color: var(--ink); background: #fff; }
.icon-btn:active { transform: translateY(1px); }
.icon-btn .icon { width: 15px; height: 15px; }

.link-btn {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
   ticker
   ============================================================ */
.ticker {
  position: relative;
  z-index: 60;
  display: flex;
  height: 36px;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  font: 500 10.5px/1 var(--mono);
  letter-spacing: .03em;
}
.ticker-lead {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: none;
  padding: 0 12px;
  background: var(--acc);
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
}
.ticker-lead .dot {
  background: var(--ink);
  animation: blink 1s steps(1) infinite;
}
.ticker-viewport {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 22px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 22px), transparent);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 52s linear infinite;
}
.ticker:hover .ticker-track,
.ticker:focus-within .ticker-track { animation-play-state: paused; }
.ticker-group {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
}
.tick {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  opacity: .85;
}
.tick::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--acid);
  flex: none;
}
.tick b { color: #fff; font-weight: 700; }
.tick em { font-style: normal; color: #a7f3c0; }
.tick span { color: #a9a397; }
.tick .tick-ok { color: var(--acid); }

/* ============================================================
   header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(239, 236, 228, .92);
  border-bottom: 1.5px solid var(--line-2);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 33px;
  border: 2px solid var(--ink);
  border-radius: 7px;
  background: var(--acid);
  color: var(--ink);
  font: 800 11px var(--mono);
  box-shadow: 0 3px 0 var(--ink);
  transform: rotate(-1.5deg);
  transition: transform .15s var(--ease);
}
.brand:hover .brand-mark { transform: rotate(0) translateY(-1px); }
.brand-text {
  display: flex;
  flex-direction: column;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.02;
}
.brand-text small {
  margin-top: 3px;
  color: var(--mute);
  font: 500 8px var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.site-nav {
  display: flex;
  gap: 24px;
  margin-left: 10px;
  color: var(--ink-2);
  font-size: 13.5px;
}
.site-nav a {
  position: relative;
  padding: 4px 0;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--acc);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s var(--ease);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { transform: scaleX(1); }
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}
.online-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-2);
  font: 500 11px var(--mono);
  white-space: nowrap;
}
.online-pill b { color: var(--ink); font-weight: 700; }
.header-cta { min-height: 38px; height: 38px; font-size: 12px; }

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 42px;
  height: 42px;
  padding: 11px 10px;
  border: 1.5px solid var(--ink);
  border-radius: 9px;
  background: var(--card);
  box-shadow: 0 2px 0 var(--ink);
}
.menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .2s var(--ease), opacity .2s;
}
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 14px 20px 18px;
  border-bottom: 2px solid var(--ink);
  background: var(--card);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .35);
}
.mobile-nav nav { display: flex; flex-direction: column; }
.mobile-nav nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 2px;
  border-bottom: 1.5px solid var(--line);
  font-size: 16px;
  font-weight: 600;
}
.mobile-nav nav a span { color: var(--mute); font: 500 10px var(--mono); }
.mobile-nav-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
}
.mobile-nav-foot .btn { min-height: 40px; height: 40px; font-size: 13px; }

/* ============================================================
   hero
   ============================================================ */
.hero {
  position: relative;
  padding: 54px 0 68px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, .78fr);
  gap: 56px;
  align-items: start;
}
.hero-copy { padding-top: 8px; min-width: 0; }
.hero h1 {
  max-width: 800px;
  margin: 0 0 22px;
  font-size: clamp(44px, 5.9vw, 78px);
  font-weight: 900;
  line-height: .94;
  letter-spacing: -.055em;
}
.hl {
  background: linear-gradient(transparent 54%, var(--acid) 54%, var(--acid) 93%, transparent 93%);
  padding: 0 .04em;
}
.lead {
  max-width: 610px;
  margin: 0 0 32px;
  color: var(--ink-2);
  font-size: 16.5px;
  line-height: 1.55;
}

.query-panel {
  position: relative;
  margin: 0 0 30px;
  padding: 13px 0 18px;
  border-top: 1.5px solid var(--line-2);
  border-bottom: 1.5px solid var(--line-2);
}
.query-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  color: var(--mute);
  font: 500 9.5px var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.query-hint { white-space: nowrap; }
.query {
  color: var(--ink-2);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 500;
  line-height: 2.15;
  letter-spacing: -.035em;
}
.key-wrap {
  position: relative;
  display: inline-flex;
  vertical-align: baseline;
  white-space: nowrap;
}
.key-label {
  position: absolute;
  left: 5px;
  bottom: calc(100% + 2px);
  color: var(--mute);
  font: 500 8.5px var(--mono);
  letter-spacing: .1em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
}
.key {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 1px 10px 4px;
  border: 2px solid var(--ink);
  border-radius: 7px;
  background: var(--card);
  color: var(--ink);
  font: 700 1em/1.05 var(--sans);
  letter-spacing: -.035em;
  white-space: nowrap;
  box-shadow: 0 4px 0 var(--ink);
  transform: translateY(-3px);
  transition: transform .08s var(--ease), box-shadow .08s var(--ease), background .15s;
}
.key:hover { background: #fff; }
.key:active,
.key[aria-expanded="true"] {
  transform: translateY(1px);
  box-shadow: 0 1px 0 var(--ink);
}
.key[aria-expanded="true"] { background: var(--acid-soft); }
.key-chev { width: 13px; height: 13px; opacity: .55; stroke-width: 2.5; }
.key-toggle[aria-pressed="true"] { background: var(--acid-soft); }
.key-check {
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  flex: none;
  border: 1.5px solid var(--line-2);
  border-radius: 3px;
  color: transparent;
  transition: background .15s, border-color .15s, color .15s;
}
.key-toggle[aria-pressed="true"] .key-check {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--acid);
}
.key-check .icon { width: 10px; height: 10px; stroke-width: 3; }

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 3px;
  border-bottom: 1.5px solid var(--line-2);
  color: var(--ink-2);
  font: 500 10.5px var(--mono);
  letter-spacing: .04em;
}
.hero-link:hover { color: var(--ink); border-color: var(--ink); }
.facts {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}
.fact b {
  display: block;
  color: var(--ink);
  font: 700 21px/1.1 var(--mono);
  letter-spacing: -.03em;
}
.fact b small { color: var(--mute); font-size: 11px; font-weight: 500; }
.fact span {
  display: block;
  margin-top: 4px;
  color: var(--mute);
  font: 500 9px var(--mono);
  letter-spacing: .035em;
  text-transform: uppercase;
}

/* ============================================================
   spotlight / featured server
   ============================================================ */
.spotlight {
  position: relative;
  margin-top: 6px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 6px 0 var(--ink);
  overflow: hidden;
}
.spotlight-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 13px;
  border-bottom: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--mute);
  font: 500 9px var(--mono);
  letter-spacing: .09em;
  text-transform: uppercase;
}
.sp-top-label { display: flex; align-items: center; gap: 7px; color: var(--ink); }
.sp-match { white-space: nowrap; }
.spotlight-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1.5px solid var(--ink);
  background: #d8d1c0;
}
.spotlight-media img,
.card-media img,
.cx-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--crop-pos, 50% 50%);
  filter: var(--crop-filter, none);
}
.spotlight-media::after,
.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0) 45%, rgba(18, 18, 18, .55) 100%);
}
.sp-map,
.card-map,
.cx-map-name {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 1;
  padding: 3px 6px;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  background: var(--card);
  color: var(--ink);
  font: 600 9.5px var(--mono);
  letter-spacing: .03em;
}
.sp-no {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  padding: 4px 7px;
  border-radius: 4px;
  background: var(--ink);
  color: var(--paper);
  font: 700 9.5px var(--mono);
  letter-spacing: .08em;
}
.spotlight-body { padding: 14px 15px 16px; }
.sp-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.sp-name {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin: 0 0 3px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.1;
}
.sp-mode {
  color: var(--ink-2);
  font: 500 10.5px var(--mono);
}
.sp-ping {
  color: var(--ink);
  font-family: var(--mono);
  line-height: 1;
  text-align: right;
  white-space: nowrap;
}
.sp-ping b { font-size: 21px; letter-spacing: -.04em; }
.sp-ping small {
  display: block;
  margin-top: 3px;
  color: var(--mute);
  font-size: 8.5px;
  letter-spacing: .08em;
}
.sp-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 13px 0 10px;
  border: 1.5px solid var(--line-2);
  border-radius: 8px;
  background: var(--paper);
  overflow: hidden;
}
.sp-metric { padding: 7px 9px; border-right: 1.5px solid var(--line-2); }
.sp-metric:last-child { border-right: 0; }
.sp-metric span {
  display: block;
  color: var(--mute);
  font: 500 8px var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.sp-metric b { display: block; margin-top: 1px; font: 600 12.5px var(--mono); }
.sp-status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 11px;
  color: var(--ink-2);
  font: 500 10px var(--mono);
}
.sp-status.is-full { color: var(--acc-ink); }
.sp-status.is-full .dot { background: var(--acc); animation: none; }
.sp-ip {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 9px;
  padding: 3px 3px 3px 9px;
  border: 1.5px solid var(--line-2);
  border-radius: 8px;
  background: var(--paper);
}
.sp-ip code {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font: 500 10.5px var(--mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sp-ip .icon-btn { width: 32px; height: 32px; border: 0; background: var(--card); }
.sp-ip .icon-btn:hover { background: var(--paper-2); }
.spotlight-body > .btn { min-height: 42px; height: 42px; font-size: 13px; box-shadow: 0 3px 0 var(--ink); }
.spotlight.is-changed .spotlight-body { animation: rise .25s var(--ease); }
.spotlight-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 455px;
  padding: 38px 24px;
  text-align: center;
}
.spotlight-empty-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 8px;
  border: 2px dashed var(--line-2);
  border-radius: 50%;
  color: var(--mute);
  font: 700 40px/1 var(--mono);
}
.spotlight-empty b { font-size: 18px; letter-spacing: -.02em; }
.spotlight-empty p {
  max-width: 270px;
  margin: 6px 0 12px;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.5;
}

/* image crops: one asset, six moods */
.crop-a { --crop-pos: 70% 52%; --crop-filter: sepia(.16) saturate(.92) contrast(1.04); }
.crop-b { --crop-pos: 18% 48%; --crop-filter: saturate(.7) contrast(1.05) hue-rotate(8deg); }
.crop-c { --crop-pos: 92% 56%; --crop-filter: contrast(1.12) saturate(1.18) sepia(.12); }
.crop-d { --crop-pos: 50% 24%; --crop-filter: saturate(.8) brightness(1.03) hue-rotate(-10deg); }
.crop-e { --crop-pos: 38% 76%; --crop-filter: sepia(.2) saturate(.75) contrast(1.05); }
.crop-f { --crop-pos: 12% 30%; --crop-filter: grayscale(.4) contrast(1.06); }

/* ============================================================
   sections & servers
   ============================================================ */
.section { padding: 62px 0; }
.servers,
.modes,
.prep { border-top: 1.5px solid var(--line-2); }

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
  padding-bottom: 13px;
  border-bottom: 2px solid var(--ink);
}
.sec-head .eyebrow { margin-bottom: 9px; }
.sec-head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1;
}
.sec-note {
  margin: 0 0 3px;
  color: var(--mute);
  font: 500 9.5px var(--mono);
  letter-spacing: .09em;
  text-align: right;
  text-transform: uppercase;
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}
.filter {
  padding: 5px 10px;
  border: 1.5px solid transparent;
  border-radius: 6px;
  background: none;
  color: var(--ink-2);
  font-size: 12.5px;
  transition: background .15s, color .15s;
}
.filter:hover { background: var(--paper-2); color: var(--ink); }
.filter[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.server-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.server-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--card);
  box-shadow: 0 4px 0 var(--ink);
  overflow: hidden;
  transition: transform .14s var(--ease), box-shadow .14s var(--ease);
}
@media (hover: hover) {
  .server-card:hover { transform: translateY(-3px); box-shadow: 0 7px 0 var(--ink); }
}
.card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1.5px solid var(--ink);
  background: #d8d1c0;
}
.card-status {
  position: absolute;
  top: 9px;
  left: 9px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 6px;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  background: var(--card);
  color: var(--ink);
  font: 600 8px var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.card-status i { width: 5px; height: 5px; border-radius: 50%; background: var(--ok-bright); }
.card-status.is-full { color: var(--acc-ink); }
.card-status.is-full i { background: var(--acc); }
.card-status.is-maint { color: var(--mute); }
.card-status.is-maint i { background: var(--mute); }
.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 12px 13px 13px;
}
.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.card-name {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
}
.card-name .tag { height: 15px; padding: 0 4px; font-size: 7.5px; vertical-align: 0; }
.card-mode { margin-top: 3px; color: var(--ink-2); font: 500 9.5px var(--mono); }
.card-ping {
  color: var(--ink);
  font: 700 17px/1 var(--mono);
  letter-spacing: -.04em;
  white-space: nowrap;
}
.card-ping small { color: var(--mute); font-size: 8px; font-weight: 500; }
.slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 12px 0 5px;
  color: var(--ink-2);
  font: 500 9.5px var(--mono);
}
.slot span:last-child { color: var(--mute); }
.slot-bar {
  height: 5px;
  border: 1px solid var(--line-2);
  border-radius: 99px;
  background: var(--paper-2);
  overflow: hidden;
}
.slot-bar i {
  display: block;
  width: var(--fill, 0%);
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--acid), #c2ea2b);
}
.server-card[data-status="full"] .slot-bar i { background: var(--acc); }
.server-card[data-status="maintenance"] .slot-bar i { background: var(--line-2); }
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 9px 0 12px;
}
.card-meta span {
  padding: 2px 5px;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  color: var(--mute);
  font: 500 8px var(--mono);
  letter-spacing: .03em;
}
.card-foot {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1.5px dashed var(--line-2);
}
.card-foot code {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: var(--mute);
  font: 500 9px var(--mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-foot .icon-btn { width: 28px; height: 28px; border: 0; background: transparent; }
.card-foot .icon-btn:hover { background: var(--paper-2); }
.card-foot .btn {
  min-height: 30px;
  height: 30px;
  padding: 0 8px;
  border-width: 1.5px;
  border-radius: 6px;
  box-shadow: 0 2px 0 var(--ink);
  font-size: 10.5px;
  gap: 3px;
}
.card-foot .btn .icon { width: 12px; height: 12px; }
.grid-empty {
  margin-top: 18px;
  padding: 24px;
  border: 1.5px dashed var(--line-2);
  border-radius: 10px;
  color: var(--mute);
  font-size: 13px;
  text-align: center;
}

/* ============================================================
   modes & ranks
   ============================================================ */
.modes-head {
  display: grid;
  grid-template-columns: 64px minmax(170px, 1.05fr) minmax(0, 2.2fr) minmax(140px, .9fr) 32px;
  gap: 16px;
  padding: 0 4px 8px;
  color: var(--mute);
  font: 500 8.5px var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.mode-row { border-bottom: 1.5px solid var(--line-2); }
.mode-summary {
  display: grid;
  grid-template-columns: 64px minmax(170px, 1.05fr) minmax(0, 2.2fr) minmax(140px, .9fr) 32px;
  gap: 16px;
  align-items: center;
  width: 100%;
  padding: 10px 4px;
  border: 0;
  background: none;
  text-align: left;
  transition: background .12s;
}
.mode-summary:hover { background: var(--paper-2); }
.mode-thumb {
  display: block;
  width: 64px;
  height: 36px;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  background-image: url("arena.jpg");
  background-size: cover;
  background-position: var(--crop-pos, 50% 50%);
  filter: var(--crop-filter, none);
}
.mode-name { min-width: 0; }
.mode-name b {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.mode-name small {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: var(--mute);
  font: 500 9.5px var(--mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mode-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.chip {
  display: inline-flex;
  align-items: center;
  height: 21px;
  padding: 0 6px;
  border: 1.5px solid var(--line-2);
  border-radius: 4px;
  background: var(--card);
  color: var(--ink-2);
  font: 500 9.5px var(--mono);
  white-space: nowrap;
}
.chip-hot { border-color: var(--ink); color: var(--ink); }
.chip-hot::before {
  content: "";
  width: 4px;
  height: 4px;
  margin-right: 4px;
  border-radius: 1px;
  background: var(--acc);
}
.mode-rating { color: var(--ink-2); font: 500 10px var(--mono); }
.mode-plus {
  position: relative;
  width: 20px;
  height: 20px;
  justify-self: end;
}
.mode-plus::before,
.mode-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform .2s var(--ease);
}
.mode-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.mode-summary[aria-expanded="true"] .mode-plus::after { transform: translate(-50%, -50%) rotate(0); }
.mode-more { padding: 2px 4px 22px 84px; animation: rise .2s var(--ease); }
.mode-desc {
  max-width: 720px;
  margin-bottom: 14px;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.55;
}
.spec-grid { display: flex; flex-wrap: wrap; gap: 24px; margin-bottom: 14px; }
.spec span {
  display: block;
  color: var(--mute);
  font: 500 8.5px var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.spec b { display: block; margin-top: 2px; font: 600 13px var(--mono); }
.modes-note {
  margin-top: 16px;
  color: var(--mute);
  font: 500 10px/1.6 var(--mono);
}

/* ============================================================
   fair play + faq
   ============================================================ */
.prep-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 56px;
}
.rule {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  padding: 17px 0;
  border-top: 1.5px solid var(--line-2);
}
.rule:first-child { padding-top: 4px; border-top: 0; }
.rule-num {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--acid);
  font: 700 10px var(--mono);
  box-shadow: 0 2px 0 var(--ink);
}
.rule-body h3 { margin: 0 0 4px; font-size: 16px; font-weight: 800; letter-spacing: -.03em; }
.rule-body p { max-width: 380px; color: var(--ink-2); font-size: 13.5px; line-height: 1.55; }
.stamp {
  display: inline-block;
  margin: 20px 0 0 50px;
  padding: 6px 9px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  color: var(--ink-2);
  font: 700 9px/1.35 var(--mono);
  letter-spacing: .1em;
  opacity: .9;
  transform: rotate(-3deg);
}
.faq { border-top: 1.5px solid var(--line-2); }
.faq details { border-bottom: 1.5px solid var(--line-2); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 2px;
  list-style: none;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -.02em;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--ink-2); }
.plus {
  position: relative;
  width: 16px;
  height: 16px;
  flex: none;
}
.plus::before,
.plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform .2s var(--ease);
}
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .plus::after { transform: translate(-50%, -50%) rotate(0); }
.answer {
  padding: 0 30px 16px 2px;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.6;
}
.answer code {
  padding: 1px 4px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper-2);
  font-size: 11px;
}
.answer kbd {
  display: inline-block;
  padding: 0 4px;
  border: 1.5px solid var(--line-2);
  border-radius: 3px;
  background: var(--card);
  font-size: 10px;
}
#faq { scroll-margin-top: 92px; }

/* ============================================================
   closing band
   ============================================================ */
.closing {
  position: relative;
  padding: 58px 0 62px;
  border-top: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.closing::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .13) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .25;
}
.closing-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.closing h2 {
  max-width: 680px;
  margin-bottom: 14px;
  font-size: clamp(34px, 4.7vw, 58px);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.05em;
}
.closing h2 em {
  display: inline-block;
  padding: 0 .1em;
  background: var(--acid);
  color: var(--ink);
  font-style: normal;
  line-height: 1;
  transform: rotate(-1deg);
}
.closing p {
  max-width: 480px;
  color: rgba(255, 255, 255, .62);
  font-size: 14px;
  line-height: 1.55;
}
.closing-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  flex: none;
}
.closing-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  color: rgba(255, 255, 255, .7);
  font: 500 10px var(--mono);
  letter-spacing: .04em;
}
.closing-live b { color: #fff; }
.closing-actions .btn {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--ink);
  box-shadow: 0 5px 0 rgba(255, 255, 255, .2);
}
.closing-actions .btn:hover { box-shadow: 0 6px 0 rgba(255, 255, 255, .28); }
.closing-actions .btn:active { box-shadow: 0 1px 0 rgba(255, 255, 255, .2); }
.closing-actions small {
  color: rgba(255, 255, 255, .45);
  font: 500 9.5px var(--mono);
  letter-spacing: .03em;
}
.closing-mark {
  position: absolute;
  right: -20px;
  bottom: -70px;
  color: transparent;
  font: 900 240px/1 var(--sans);
  letter-spacing: -.08em;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .08);
  pointer-events: none;
  user-select: none;
}

/* ============================================================
   footer
   ============================================================ */
.site-footer {
  padding: 34px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, .13);
  background: var(--ink);
  color: rgba(255, 255, 255, .65);
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.brand-footer .brand-text { color: var(--paper); }
.brand-footer .brand-text small { color: rgba(255, 255, 255, .45); }
.brand-footer .brand-mark { box-shadow: 0 3px 0 rgba(255, 255, 255, .25); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; font-size: 12.5px; }
.footer-nav a { color: rgba(255, 255, 255, .65); }
.footer-nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .13);
  color: rgba(255, 255, 255, .45);
  font: 500 9.5px var(--mono);
  letter-spacing: .02em;
}
.footer-status { display: inline-flex; align-items: center; gap: 6px; }
.footer-bottom b { color: rgba(255, 255, 255, .75); font-weight: 600; }
.to-top { display: inline-flex; align-items: center; gap: 5px; color: rgba(255, 255, 255, .65); }
.to-top .icon { width: 13px; height: 13px; }
.to-top:hover { color: #fff; }

/* ============================================================
   query popover
   ============================================================ */
.query-pop {
  position: fixed;
  z-index: 120;
  width: 328px;
  max-width: calc(100vw - 24px);
  padding: 8px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--card);
  box-shadow: 0 5px 0 var(--ink), 0 30px 60px -20px rgba(0, 0, 0, .35);
  animation: popIn .14s var(--ease);
}
.pop-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  padding: 2px 2px 8px 6px;
  border-bottom: 1.5px solid var(--line);
}
.pop-title {
  color: var(--mute);
  font: 700 9.5px var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.pop-close {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--mute);
}
.pop-close:hover { background: var(--paper-2); color: var(--ink); }
.pop-close .icon { width: 14px; height: 14px; }
.pop-list { max-height: 320px; overflow-y: auto; overscroll-behavior: contain; }
.pop-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px;
  border: 0;
  border-radius: 8px;
  background: none;
  text-align: left;
  font-size: 13.5px;
  transition: background .1s;
}
.pop-opt:hover,
.pop-opt:focus-visible { background: var(--paper-2); }
.pop-opt-main { flex: 1; min-width: 0; }
.pop-opt-main b { display: block; font-weight: 600; line-height: 1.2; }
.pop-opt-main small {
  display: block;
  margin-top: 2px;
  color: var(--mute);
  font: 500 9px var(--mono);
}
.pop-opt[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.pop-opt[aria-pressed="true"] small { color: rgba(255, 255, 255, .55); }
.pop-opt[aria-pressed="true"] .pop-check { color: var(--acid); opacity: 1; }
.pop-check { width: 15px; height: 15px; flex: none; opacity: 0; transition: opacity .1s; }
.pop-scrim {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(18, 18, 18, .35);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

/* ============================================================
   toast
   ============================================================ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100vw - 24px);
  padding: 10px 14px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--card);
  color: var(--ink);
  font: 600 12.5px var(--sans);
  box-shadow: 0 4px 0 var(--ink);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: transform .18s var(--ease), opacity .18s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast-icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 50%;
  background: var(--acid);
  color: var(--ink);
}
.toast-icon .icon { width: 11px; height: 11px; stroke-width: 3; }

/* ============================================================
   connect dialog
   ============================================================ */
.connect {
  width: min(1040px, calc(100vw - 32px));
  max-height: min(92vh, 860px);
  margin: auto;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 8px 0 var(--ink);
  overflow: hidden;
}
.connect::backdrop {
  background: rgba(10, 10, 10, .55);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
.connect[open] { animation: dialogIn .22s var(--ease); }
.cx {
  display: flex;
  flex-direction: column;
  max-height: min(92vh, 860px);
}
.cx-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex: none;
  padding: 11px 14px;
  border-bottom: 2px solid var(--ink);
  background: var(--card);
}
.cx-eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-2);
  font: 600 9px var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.cx-body {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(290px, .78fr);
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}
.cx-main {
  min-width: 0;
  padding: 14px 16px 18px;
  border-right: 1.5px solid var(--line-2);
}
.cx-map {
  position: relative;
  aspect-ratio: 16 / 7;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  background: #d8d1c0;
  overflow: hidden;
}
.cx-map::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 50%, rgba(18, 18, 18, .55) 100%);
}
.cx-map-name { left: 9px; bottom: 9px; }
.cx-badge {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 6px;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  background: var(--card);
  font: 600 8px var(--mono);
  letter-spacing: .06em;
}
.cx-badge.is-full { color: var(--acc-ink); }
.cx-badge.is-full .dot { background: var(--acc); animation: none; }
.cx-badge.is-maint { color: var(--mute); }
.cx-badge.is-maint .dot { background: var(--mute); animation: none; }
.cx-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin: 13px 0 12px;
}
.cx-title h2 {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 3px;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.1;
}
.cx-title p { color: var(--ink-2); font: 500 10.5px var(--mono); }
.cx-terminal {
  margin-bottom: 14px;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  background: var(--ink);
  color: #d8d4c7;
  overflow: hidden;
}
.term-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .45);
  font: 500 8.5px var(--mono);
  letter-spacing: .06em;
}
.term-dots { display: flex; gap: 3px; }
.term-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
}
.term-dots i:first-child { background: var(--acc); }
.term-dots i:nth-child(2) { background: #e8c34a; }
.term-dots i:last-child { background: var(--acid); }
.term-status { margin-left: auto; color: var(--acid); }
.term-log {
  min-height: 86px;
  padding: 10px 12px 6px;
  font: 500 10.5px/1.65 var(--mono);
}
.term-log div {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  animation: rise .2s var(--ease);
}
.term-log .ok { color: #a9f3c0; }
.term-log .dim { color: rgba(255, 255, 255, .35); }
.term-bar { height: 3px; background: rgba(255, 255, 255, .1); }
.term-bar i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--acid);
  transition: width .25s var(--ease);
}
.cx-roster { padding-top: 10px; border-top: 1.5px solid var(--line-2); }
.roster-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
  color: var(--mute);
  font: 600 9px var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.roster-head b { color: var(--ink); }
.roster-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 12px;
}
.mate {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 5px 0;
}
.mate-ava {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 6px;
  background: hsl(var(--h, 90) 45% 24%);
  color: var(--paper);
  font: 700 8px var(--mono);
}
.mate-info { flex: 1; min-width: 0; }
.mate-info b {
  display: block;
  overflow: hidden;
  font: 600 10px var(--mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mate-info small { display: block; margin-top: 1px; color: var(--mute); font: 500 8px var(--mono); }
.mate-ping { color: var(--mute); font: 500 8.5px var(--mono); white-space: nowrap; }
.mate-mic { display: grid; place-items: center; color: var(--ok); }
.mate-mic .icon { width: 12px; height: 12px; }
.mate-mic.off { color: var(--line-2); }
.mate-more {
  grid-column: 1 / -1;
  padding-top: 4px;
  color: var(--mute);
  font: 500 8.5px var(--mono);
}
.cx-side {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 16px;
  background: var(--card);
}
.cx-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 16px;
}
.cx-facts div {
  padding: 6px 8px;
  border: 1.5px solid var(--line-2);
  border-radius: 7px;
  background: var(--paper);
}
.cx-facts dt {
  color: var(--mute);
  font: 500 8px var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.cx-facts dd { margin: 2px 0 0; font: 600 11px var(--mono); }
.cx-ip {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 14px;
  border-top: 1.5px solid var(--line-2);
}
.cx-ip > span {
  color: var(--mute);
  font: 600 8.5px var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.cx-ip code {
  display: block;
  overflow: hidden;
  padding: 8px 9px;
  border: 1.5px solid var(--line-2);
  border-radius: 7px;
  background: var(--paper);
  font: 500 10px var(--mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cx-ip .btn { height: 40px; min-height: 40px; margin-top: 2px; font-size: 12px; }
.cx-note {
  margin: 14px 0;
  padding: 10px;
  border: 1.5px dashed var(--line-2);
  border-radius: 7px;
  background: var(--paper);
  color: var(--ink-2);
  font-size: 11px;
  line-height: 1.55;
}
.cx-note kbd {
  display: inline-block;
  padding: 0 4px;
  border: 1.5px solid var(--line-2);
  border-radius: 3px;
  background: var(--card);
  font-size: 9px;
}
.cx-side-status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1.5px solid var(--line);
  color: var(--mute);
  font: 500 9px var(--mono);
}
.cx-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: none;
  padding: 10px 14px;
  border-top: 2px solid var(--ink);
  background: var(--card);
}
.cx-foot-status { color: var(--ink-2); font: 500 9.5px var(--mono); }
.cx-foot .btn { height: 36px; min-height: 36px; font-size: 12px; }

/* ============================================================
   motion
   ============================================================ */
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(30, 158, 90, .35); }
  70%, 100% { box-shadow: 0 0 0 6px rgba(30, 158, 90, 0); }
}
@keyframes blink { 50% { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }
@keyframes popIn { from { opacity: 0; transform: translateY(-4px); } }
@keyframes sheetIn { from { opacity: 0; transform: translateY(18px); } }
@keyframes dialogIn { from { opacity: 0; transform: translateY(14px) scale(.99); } }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > .eyebrow { animation: rise .45s .02s both; }
  .hero-copy > h1 { animation: rise .5s .06s both; }
  .hero-copy > .lead { animation: rise .5s .1s both; }
  .query-panel { animation: rise .5s .14s both; }
  .hero-actions { animation: rise .5s .18s both; }
  .facts { animation: rise .5s .22s both; }
  .spotlight { animation: rise .55s .12s both; }
}

/* ============================================================
   responsive
   ============================================================ */
@media (max-width: 1120px) {
  .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr); gap: 40px; }
  .server-grid { gap: 14px; }
  .modes-head,
  .mode-summary { grid-template-columns: 60px minmax(150px, 1fr) minmax(0, 2fr) minmax(120px, .9fr) 28px; gap: 13px; }
  .mode-more { padding-left: 73px; }
}

@media (max-width: 980px) {
  .site-nav { display: none; }
  .menu-btn { display: flex; }
  .header-inner { gap: 18px; }
  .hero { padding-top: 44px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { max-width: 820px; }
  .spotlight { max-width: none; margin-top: 0; }
  .server-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prep-grid { grid-template-columns: 1fr; gap: 34px; }
  .modes-head { display: none; }
  .mode-summary { grid-template-columns: 56px 1fr 26px; gap: 12px; padding: 11px 4px; }
  .mode-chips,
  .mode-rating { display: none; }
  .mode-thumb { width: 56px; height: 32px; }
  .mode-more { padding-left: 68px; }
  .closing-inner { gap: 34px; }
  .closing h2 { font-size: 44px; }
}

@media (min-width: 761px) and (max-width: 980px) {
  .spotlight-result {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  }
  .spotlight-media {
    aspect-ratio: auto;
    border-right: 1.5px solid var(--ink);
    border-bottom: 0;
  }
  .spotlight-body { padding: 16px 18px 18px; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { height: 64px; }
  .header-right { gap: 10px; }
  .site-header .online-pill { display: none; }
  .brand-text { font-size: 15px; }
  .hero { padding: 36px 0 52px; }
  .hero h1 { font-size: clamp(38px, 9.2vw, 56px); margin-bottom: 18px; }
  .lead { margin-bottom: 26px; font-size: 15px; }
  .query { font-size: 20px; line-height: 2.2; }
  .query-head { font-size: 8.5px; }
  .query-hint { display: none; }
  .key-label { display: none; }
  .key { gap: 5px; padding: 0 8px 3px; border-width: 1.5px; box-shadow: 0 3px 0 var(--ink); transform: translateY(-2px); }
  .key[aria-expanded="true"] { transform: translateY(1px); box-shadow: 0 1px 0 var(--ink); }
  .key-chev { width: 11px; height: 11px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 14px; }
  .hero-actions .btn-lg { width: 100%; }
  .hero-link { align-self: flex-start; }
  .facts { gap: 22px; }
  .fact b { font-size: 18px; }
  .spotlight { max-width: none; }
  .spotlight-body { padding: 13px 13px 14px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 13px; }
  .sec-note { text-align: left; }
  .tabs {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
    scrollbar-width: none;
  }
  .tabs::-webkit-scrollbar { display: none; }
  .filter { flex: none; }
  .server-grid { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .closing-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
  .closing h2 { font-size: clamp(32px, 8.4vw, 44px); }
  .closing-actions { width: 100%; }
  .closing-actions .btn { width: 100%; }
  .closing-mark { right: -10px; bottom: -50px; font-size: 170px; }
  .footer-bottom { gap: 12px; }
  .connect { width: calc(100vw - 12px); max-height: 94vh; border-radius: 12px; }
  .cx { max-height: 94vh; }
  .cx-body { grid-template-columns: 1fr; }
  .cx-main { padding: 12px; border-right: 0; border-bottom: 1.5px solid var(--line-2); }
  .cx-side { padding: 12px; }
  .cx-map { aspect-ratio: 16 / 8; }
  .roster-list { grid-template-columns: 1fr; }
  .cx-title h2 { font-size: 20px; }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .brand-text { font-size: 14px; }
  .brand-text small { font-size: 7.5px; }
  .brand-mark { width: 33px; height: 30px; }
  .header-cta { display: none; }
  .header-inner { gap: 12px; }
  .header-right { gap: 8px; }
  .hero h1 { font-size: clamp(36px, 10.5vw, 48px); }
  .query { font-size: 18.5px; line-height: 2.25; }
  .key { padding: 0 6px 2px; }
  .key-check { width: 13px; height: 13px; }
  .fact span { font-size: 8px; }
  .spotlight-empty { min-height: 380px; }
  .sp-name { font-size: 20px; }
  .sp-ping b { font-size: 19px; }
  .mode-more { padding-left: 0; }
  .stamp { margin-left: 0; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .to-top { justify-self: end; }
  .query-pop {
    left: 8px !important;
    right: 8px;
    top: auto !important;
    bottom: 8px;
    width: auto;
    max-width: none;
    padding: 10px;
    box-shadow: 0 -4px 0 var(--ink), 0 -20px 50px rgba(0, 0, 0, .3);
    animation: sheetIn .22s var(--ease);
  }
  .pop-list { max-height: 46vh; }
  .pop-opt { padding: 12px 10px; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 36px; }
  .query { font-size: 17.5px; }
  .key { padding: 0 5px 2px; }
  .facts { gap: 16px 22px; }
  .fact b { font-size: 16px; }
  .closing h2 { font-size: 30px; }
  .footer-bottom { grid-template-columns: 1fr; }
  .to-top { justify-self: start; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 33px; }
  .query { font-size: 16.5px; }
  .brand-text { font-size: 13px; }
  .brand-text small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .ticker-track { animation: none; }
  .ticker-group[aria-hidden="true"] { display: none; }
  .ticker-viewport {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .dot-live { animation: none; }
}


