@font-face { font-family: 'Public Sans'; font-style: normal; font-weight: 400 700; font-display: optional; src: url(/fonts/public-sans-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Public Sans'; font-style: normal; font-weight: 400 700; font-display: optional; src: url(/fonts/public-sans-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: optional; src: url(/fonts/ibm-plex-mono-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: optional; src: url(/fonts/ibm-plex-mono-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: optional; src: url(/fonts/ibm-plex-mono-500-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: optional; src: url(/fonts/ibm-plex-mono-500-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: light dark;
  --accent: #b45309; --accent-strong: #92400e; --accent-tint: #fff6e8; --accent-ring: #f6d7a6; --on-accent: #fff;
  --bg: #ffffff; --surface: #ffffff; --alt: #f6f6f9; --ink: #15161d; --muted: #545668; --faint: #6b6d80;
  --border: #e6e6ee; --header-bg: rgba(255, 255, 255, .9); --focus: #0a3cff;
  --ok: #15803d; --ok-tint: #e8f6ee; --danger: #c81e1e; --danger-tint: #fdecec;
  --shadow: 0 10px 28px rgba(20, 22, 40, .08); --shadow-lift: 0 18px 40px rgba(20, 22, 40, .14);
  --wrap: 1180px; --sectionpad: 80px; --gap: 22px; --radius: 8px;
  --font-sans: 'Public Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --night: #0b0d12; --night-2: #12151d; --night-ink: #eef0f5; --night-muted: #a3a7b6; --night-line: rgba(255, 255, 255, .1);
  /* bands (topbar, hero, page head, call to action, 404, footer): light here, dark in the dark theme */
  --band: #f3f4f8; --band-ink: #15161d; --band-muted: #545668; --band-line: #e2e4ec; --band-hi: #b45309; --band-title: #15161d;
  --band-top: #fffaf2; --band-bottom: #f4f2ee; --band-glow: rgba(245, 165, 36, .2); --band-glow-2: rgba(80, 120, 255, .08);
  --band-glass: rgba(255, 255, 255, .75); --band-glass-line: rgba(20, 22, 40, .14); --band-grid: rgba(20, 22, 40, .05); --band-well: #ffffff;
  --amber: #f5a524;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --accent: #f5a524; --accent-strong: #ffbd4a; --accent-tint: #201a0e; --accent-ring: #4d3b16; --on-accent: #1a1205;
    --bg: #0d0f14; --surface: #151821; --alt: #11141b; --ink: #eceef4; --muted: #b5b8c7; --faint: #8b8e9d;
    --border: #262a36; --header-bg: rgba(13, 15, 20, .86); --focus: #ffcf7a;
    --ok: #4ade80; --ok-tint: #10261a; --danger: #ff8f88; --danger-tint: #2a1414;
    --shadow: 0 10px 28px rgba(0, 0, 0, .35); --shadow-lift: 0 18px 44px rgba(0, 0, 0, .55);
    --band: #0b0d12; --band-ink: #eef0f5; --band-muted: #a3a7b6; --band-line: rgba(255, 255, 255, .1); --band-hi: #f5a524; --band-title: #fff;
    --band-top: #0b0d12; --band-bottom: #10131b; --band-glow: rgba(245, 165, 36, .22); --band-glow-2: rgba(80, 120, 255, .14);
    --band-glass: rgba(255, 255, 255, .06); --band-glass-line: rgba(255, 255, 255, .14); --band-grid: rgba(255, 255, 255, .045); --band-well: rgba(0, 0, 0, .35);
  }
}
:root[data-theme="dark"] {
  --accent: #f5a524; --accent-strong: #ffbd4a; --accent-tint: #201a0e; --accent-ring: #4d3b16; --on-accent: #1a1205;
  --bg: #0d0f14; --surface: #151821; --alt: #11141b; --ink: #eceef4; --muted: #b5b8c7; --faint: #8b8e9d;
  --border: #262a36; --header-bg: rgba(13, 15, 20, .86); --focus: #ffcf7a;
  --ok: #4ade80; --ok-tint: #10261a; --danger: #ff8f88; --danger-tint: #2a1414;
  --shadow: 0 10px 28px rgba(0, 0, 0, .35); --shadow-lift: 0 18px 44px rgba(0, 0, 0, .55);
  --band: #0b0d12; --band-ink: #eef0f5; --band-muted: #a3a7b6; --band-line: rgba(255, 255, 255, .1); --band-hi: #f5a524; --band-title: #fff;
  --band-top: #0b0d12; --band-bottom: #10131b; --band-glow: rgba(245, 165, 36, .22); --band-glow-2: rgba(80, 120, 255, .14);
  --band-glass: rgba(255, 255, 255, .06); --band-glass-line: rgba(255, 255, 255, .14); --band-grid: rgba(255, 255, 255, .045); --band-well: rgba(0, 0, 0, .35);
}
/* native controls (checkboxes, scrollbars) follow the chosen theme, not the system one */
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }
body { margin: 0; font: 400 16px/1.55 var(--font-sans); color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
body > main { width: 100%; flex: 1 0 auto; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.mono, code { font-family: var(--font-mono); }
code { font-size: .92em; padding: .08em .38em; border-radius: 5px; background: var(--alt); border: 1px solid var(--border); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
[id] { scroll-margin-top: 84px; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -120px; z-index: 100; background: var(--surface); color: var(--accent);
  padding: 10px 16px; border: 2px solid var(--focus); border-radius: var(--radius); transition: top .15s ease; }
.skip-link:focus { top: 12px; }
.at::before { content: "@"; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.section__title { font-size: clamp(24px, 2.8vw, 32px); line-height: 1.15; letter-spacing: -.018em; margin: 8px 0 0; font-weight: 700; }
.section__lede { color: var(--muted); max-width: 640px; margin: 10px 0 0; font-size: 16.5px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: var(--radius);
  font: 600 15px/1.2 var(--font-sans); border: 1px solid transparent; cursor: pointer; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-strong); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--amber { background: var(--amber); color: #1a1205; }
.btn--amber:hover { background: #ffbd4a; }
.btn--glass { background: var(--band-glass); color: var(--band-ink); border-color: var(--band-glass-line); backdrop-filter: blur(6px); }
.btn--glass:hover { border-color: var(--band-hi); color: var(--band-hi); }
.btn--sm { min-height: 34px; padding: 6px 14px; font-size: 13.5px; }
.link-arrow { font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: "→"; transition: transform .15s ease; }
.link-arrow:hover::after { transform: translateX(3px); }

.topbar { background: var(--band); color: var(--band-muted); border-bottom: 1px solid var(--band-line); font-size: 12.5px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 7px; flex-wrap: wrap; }
.topbar__brand { display: flex; align-items: center; gap: 10px; }
.topbar__brand .mono { color: var(--band-ink); }
.topbar__live { display: inline-flex; align-items: center; gap: 7px; color: var(--band-muted); }
.topbar__nav { display: flex; align-items: center; gap: 14px; }
.topbar__sep { width: 1px; height: 14px; background: var(--band-line); }
.theme-form { display: inline-flex; margin: 0; }
.theme-toggle { background: none; border: 0; padding: 0; min-height: 28px; display: inline-flex; align-items: center; gap: 6px; color: var(--band-muted); cursor: pointer; font: inherit; }
.theme-toggle:hover { color: var(--band-hi); }
.theme-toggle .ic { display: none; width: 15px; height: 15px; }
.theme-toggle .ic-moon { display: inline-flex; }
:root[data-theme="dark"] .theme-toggle .ic-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .ic-sun { display: inline-flex; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .ic-moon { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .ic-sun { display: inline-flex; }
}
.lang-dd { position: relative; }
.lang-dd > summary { list-style: none; cursor: pointer; min-height: 28px; display: inline-flex; align-items: center; gap: 5px; color: var(--band-muted); }
.lang-dd > summary::-webkit-details-marker { display: none; }
.lang-dd > summary:hover, .lang-dd[open] > summary { color: var(--band-hi); }
.lang-dd__menu { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 40; min-width: 160px; display: flex; flex-direction: column;
  padding: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lift); }
.lang-dd__menu a, .lang-dd__menu span.is-active { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 6px; font-size: 14px; color: var(--ink); }
.lang-dd__menu a:hover { background: var(--accent-tint); color: var(--accent); }
.lang-dd__menu .is-active { color: var(--accent); font-weight: 600; }
.lang-dd__badge { width: 26px; height: 20px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600;
  color: var(--muted); background: var(--alt); border: 1px solid var(--border); border-radius: 5px; }
.lang-dd__menu .is-active .lang-dd__badge { color: var(--accent); background: var(--accent-tint); border-color: var(--accent-ring); }

.header { position: sticky; top: 0; z-index: 30; background: var(--header-bg); border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(180%) blur(10px); -webkit-backdrop-filter: saturate(180%) blur(10px); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 12px; }
.header__nav { display: flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 500; }
.header__nav a { position: relative; padding: 8px 12px; border-radius: 6px; color: var(--muted); }
.header__nav a:hover { color: var(--ink); background: var(--alt); }
.header__nav a[aria-current="page"] { color: var(--ink); }
.header__nav a[aria-current="page"]::after { content: ""; position: absolute; inset-inline: 12px; bottom: -13px; height: 2px; background: var(--accent); border-radius: 2px; }
.header__cta { display: flex; align-items: center; gap: 10px; }
.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo__mark { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 9px;
  background: linear-gradient(145deg, #1b1f2a, #0b0d12); box-shadow: inset 0 0 0 1px rgba(245, 165, 36, .35), 0 4px 14px rgba(245, 165, 36, .18); }
.logo__mark svg { width: 22px; height: 22px; color: var(--amber); }
.logo__text { font-size: 19px; letter-spacing: -.01em; font-weight: 400; color: var(--ink); }
.logo__text strong { font-weight: 700; }
.logo__text--night { color: var(--band-ink); }

.hero { position: relative; overflow: hidden; color: var(--band-ink); background:
  radial-gradient(900px 420px at 78% 10%, var(--band-glow), transparent 60%),
  radial-gradient(700px 380px at 8% 100%, var(--band-glow-2), transparent 60%),
  linear-gradient(180deg, var(--band-top) 0%, var(--band-bottom) 100%); border-bottom: 1px solid var(--band-line); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--band-grid) 1px, transparent 1px), linear-gradient(90deg, var(--band-grid) 1px, transparent 1px);
  background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at 60% 30%, #000 30%, transparent 75%); }
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px; align-items: center; padding-block: 88px 96px; }
.hero__badge { display: inline-flex; align-items: center; gap: 9px; padding: 6px 12px 6px 10px; border-radius: 999px; font-size: 13px;
  color: var(--band-ink); background: var(--band-glass); border: 1px solid var(--band-glass-line); }
.hero__title { font-size: clamp(30px, 5.4vw, 62px); overflow-wrap: break-word; line-height: 1.04; letter-spacing: -.03em; margin: 20px 0 0; font-weight: 700; }
.hero__title em { font-style: normal; color: var(--band-hi); }
.hero__lede { font-size: clamp(16px, 1.7vw, 19px); color: var(--band-muted); max-width: 600px; margin: 20px 0 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__connect { display: flex; align-items: stretch; margin-top: 26px; max-width: 470px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--band-glass-line); background: var(--band-well); }
.hero__connect code { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 12px 14px; background: none; border: 0; color: var(--band-ink); font-size: 15px; white-space: nowrap; overflow: hidden; }
.hero__connect code::before { content: "›"; color: var(--band-hi); font-weight: 500; }
.hero__art { position: relative; justify-self: center; width: min(360px, 100%); aspect-ratio: 1; }
.hero__art svg { width: 100%; height: 100%; color: var(--band-hi); filter: drop-shadow(0 0 40px rgba(245, 165, 36, .35)); }
.hero__art .ring { transform-origin: 50% 50%; }

.stats { background: var(--surface); border-bottom: 1px solid var(--border); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-block: 30px; }
.stat { text-align: center; }
.stat__num { font: 500 clamp(26px, 3.4vw, 38px)/1.1 var(--font-mono); color: var(--accent); letter-spacing: -.02em; }
.stat__rule { display: block; width: 28px; height: 2px; margin: 10px auto; background: var(--accent-ring); }
.stat__label { font-size: 13.5px; color: var(--muted); }

.section { background: var(--bg); }
.section--alt { background: var(--alt); border-block: 1px solid var(--border); }
.section > .wrap { padding-block: var(--sectionpad); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

.dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--faint); flex: none; }
.dot--on { background: #22c55e; }
.dot--on::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #22c55e; opacity: 0; animation: ping 2s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.5); opacity: .7; } 80%, 100% { transform: scale(1.6); opacity: 0; } }

.servers { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr)); gap: var(--gap); margin-top: 30px; }
.server { position: relative; display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; box-shadow: var(--shadow); }
.server:hover { border-color: var(--accent-ring); box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.server__media { position: relative; aspect-ratio: 16 / 8; background: linear-gradient(135deg, #1a1e29, #0d0f14); overflow: hidden; }
.server__media img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.02); transition: transform .5s ease; }
.server:hover .server__media img { transform: scale(1.07); }
.server__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 30%, rgba(8, 9, 13, .82) 100%); }
.server__placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(245, 165, 36, .22); }
.server__placeholder svg { width: 38%; height: auto; }
.server__overlay { position: absolute; z-index: 1; inset-inline: 16px; bottom: 12px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; color: #fff; }
.server__map { font: 500 13px/1.3 var(--font-mono); opacity: .9; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.server__status { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .14); white-space: nowrap; }
.server__game { position: absolute; z-index: 1; top: 12px; inset-inline-start: 12px; font: 500 11px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase;
  color: #fff; padding: 6px 8px; border-radius: 6px; background: rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .14); }
.server__body { display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 16px; flex: 1; }
.server__title { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.server__title svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.server__desc { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; flex: 1; }
.server__row { display: flex; align-items: center; gap: 14px; min-height: 34px; }
.server__players { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.server__players b { font: 500 14px var(--font-mono); color: var(--ink); }
meter.fill { flex: 1; height: 6px; border: 0; border-radius: 99px; background: var(--alt); }
meter.fill::-webkit-meter-bar { background: var(--alt); border: 0; border-radius: 99px; height: 6px; }
meter.fill::-webkit-meter-optimum-value, meter.fill::-webkit-meter-suboptimum-value { background: linear-gradient(90deg, var(--accent), #f97316); border-radius: 99px; }
meter.fill::-moz-meter-bar { background: linear-gradient(90deg, var(--accent), #f97316); border-radius: 99px; }
.server__foot { display: flex; align-items: center; gap: 8px; padding-top: 12px; border-top: 1px solid var(--border); }
.connect { flex: 1; min-width: 0; display: flex; align-items: stretch; border: 1px solid var(--border); border-radius: var(--radius); background: var(--alt); }
.connect code { flex: 1; min-width: 0; padding: 8px 10px; border: 0; background: none; font-size: 13px; overflow: hidden; text-overflow: ellipsis; color: var(--muted); }
.connect .port { color: var(--accent); font-weight: 500; }
.connect__cmd { color: var(--faint); }
/* where host and port would not fit next to "connect", the prefix goes (copy still copies all) */
.connect { container-type: inline-size; }
@container (max-width: 310px) { .connect__cmd { display: none; } }
@container (max-width: 280px) { .connect code { font-size: 11.5px; padding-inline: 8px; } .connect .copy { padding: 0 9px; } }
.copy { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 12px; align-self: stretch; border-radius: 0 var(--radius) var(--radius) 0; border: 0; border-inline-start: 1px solid var(--border);
  background: var(--surface); color: var(--muted); font: 600 12px var(--font-sans); cursor: pointer; }
.copy:hover { color: var(--accent); }
.copy svg { width: 14px; height: 14px; }
.copy[data-copied] { color: var(--ok); }
.copy__icon, .copy__done { display: inline-flex; }
.copy__done { display: none; }
.copy[data-copied] .copy__icon { display: none; }
.copy[data-copied] .copy__done { display: inline-flex; animation: pop .2s ease-out; }
@keyframes pop { from { opacity: 0; transform: scale(.6); } }
.hero__connect .copy { background: var(--band-glass); color: var(--band-ink); border-color: var(--band-glass-line); padding: 0 16px; }
.game-group { margin-top: 34px; }
.game-group__title { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 14px; padding-bottom: 10px;
  border-bottom: 1px solid var(--border); font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.game-group__count { display: inline-flex; align-items: center; gap: 8px; font: 500 12.5px var(--font-mono); color: var(--muted); }
.game-group .servers { margin-top: 0; }
.server--off .server__media { filter: grayscale(.6); }
.servers__empty { padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--border); border-radius: 12px; }
.note { margin-top: 20px; font-size: 13.5px; color: var(--faint); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: 32px; counter-reset: step; }
.step { position: relative; padding: 26px 22px 22px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font: 500 13px var(--font-mono); color: var(--accent); letter-spacing: .08em; margin-bottom: 12px; }
.step h3 { margin: 0 0 6px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }
.step code { white-space: normal; overflow-wrap: anywhere; }

.modes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: var(--gap); margin-top: 30px; }
.mode { display: flex; flex-direction: column; gap: 10px; padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.mode:hover { border-color: var(--accent-ring); box-shadow: var(--shadow); }
.mode__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; background: var(--accent-tint); color: var(--accent); border: 1px solid var(--accent-ring); }
.mode__icon svg { width: 24px; height: 24px; }
.mode h3 { margin: 4px 0 0; font-size: 18px; }
.mode p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; flex: 1; }
.mode .connect { flex: none; margin-top: 6px; }

.cmds { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 10px; margin-top: 24px; }
.cmd { display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.cmd code { flex: none; min-width: 92px; text-align: center; color: var(--accent); background: var(--accent-tint); border-color: var(--accent-ring); }
.cmd span { font-size: 14.5px; color: var(--muted); }

.cta { position: relative; overflow: hidden; color: var(--band-ink);
  background: radial-gradient(600px 300px at 90% 0%, var(--band-glow), transparent 60%), linear-gradient(135deg, var(--band-bottom), var(--band-top)); }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: 56px; }
.cta h2 { margin: 0; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.015em; }
.cta p { margin: 8px 0 0; color: var(--band-muted); max-width: 560px; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.page-head { position: relative; overflow: hidden; color: var(--band-ink); background:
  radial-gradient(700px 260px at 85% 0%, var(--band-glow), transparent 60%), linear-gradient(180deg, var(--band-top), var(--band-bottom)); border-bottom: 1px solid var(--band-line); }
.page-head::before { content: ""; position: absolute; inset: 0; opacity: .4; pointer-events: none;
  background-image: linear-gradient(var(--band-grid) 1px, transparent 1px), linear-gradient(90deg, var(--band-grid) 1px, transparent 1px);
  background-size: 40px 40px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.page-head .wrap { position: relative; padding-block: 44px 48px; }
.breadcrumb { font-size: 13px; color: var(--band-muted); }
.breadcrumb a:hover { color: var(--band-hi); }
.breadcrumb span[aria-current] { color: var(--band-ink); }
.page-title { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -.025em; margin: 14px 0 0; font-weight: 700; }
.page-sub { color: var(--band-muted); margin: 12px 0 0; font-size: 17px; max-width: 680px; }
.page { padding-block: 48px 72px; }
.layout-doc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: start; }
.toc { position: sticky; top: 92px; font-size: 13.5px; }
.toc__label { font: 500 11.5px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-inline-start: 1px solid var(--border); }
.toc a { display: block; padding: 5px 0 5px 14px; margin-inline-start: -1px; border-inline-start: 2px solid transparent; color: var(--muted); }
.toc a:hover { color: var(--accent); border-color: var(--accent); }
.prose { max-width: 760px; }
.prose h2 { font-size: 21px; letter-spacing: -.01em; margin: 38px 0 10px; padding-top: 4px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 17px; margin: 26px 0 8px; }
.prose p, .prose li { line-height: 1.68; }
.prose p { margin: 10px 0; }
.prose ul, .prose ol { margin: 10px 0; padding-inline-start: 22px; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose .lead { font-size: 18px; color: var(--muted); }
.prose .small { font-size: 13.5px; color: var(--faint); }
.rules-list { counter-reset: rule; list-style: none; padding: 0 !important; display: grid; gap: 12px; }
.rules-list li { counter-increment: rule; position: relative; padding: 16px 18px 16px 58px; margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.rules-list li::before { content: counter(rule); position: absolute; inset-inline-start: 16px; top: 14px; width: 28px; height: 28px; display: grid; place-items: center;
  border-radius: 7px; font: 600 13px var(--font-mono); color: var(--accent); background: var(--accent-tint); border: 1px solid var(--accent-ring); }
.callout { display: flex; gap: 14px; padding: 18px 20px; margin: 24px 0; border-radius: var(--radius); background: var(--accent-tint); border: 1px solid var(--accent-ring); }
.callout svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 2px; }
.callout p { margin: 0; }
.facts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 24px 0; }
.fact { padding: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.fact b { display: block; font: 500 22px var(--font-mono); color: var(--accent); }
.fact span { font-size: 13.5px; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 40px; align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 28px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; }
.field .req { color: var(--danger); margin-inline-start: 2px; }
.field input, .field select, .field textarea { width: 100%; font: 400 15px/1.45 var(--font-sans); padding: 11px 13px; min-height: 46px; color: var(--ink);
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 160px; }
/* the native arrow sat on the edge; gradients follow the theme colour without an image */
.field select { appearance: none; -webkit-appearance: none; padding-inline-end: 46px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 24px) 52%, calc(100% - 18px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select:focus { background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-tint); }
.field__hint { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--faint); }
.invalid-feedback { display: none; color: var(--danger); font-size: 13px; font-weight: 500; }
.needs-validation .field :is(input, select, textarea):user-invalid { border-color: var(--danger); }
.needs-validation .field :is(input, select, textarea):user-invalid ~ .invalid-feedback { display: block; }
.field.is-invalid :is(input, select, textarea) { border-color: var(--danger); }
.field.is-invalid .invalid-feedback { display: block; }
.field .check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; font-weight: 400; color: var(--muted); cursor: pointer; }
/* the checkbox must not take the text field look (.field input: full width, 46 px) */
.field .check input { width: 20px; height: 20px; min-height: 0; padding: 0; margin: 1px 0 0; flex: none; border-radius: 5px; accent-color: var(--accent); cursor: pointer; }
.check a { color: var(--accent); text-decoration: underline; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.form-actions .small { font-size: 12.5px; color: var(--faint); }
.hp { position: absolute; left: -9999px; top: -9999px; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; margin: 0 0 22px; border-radius: var(--radius); border: 1px solid; }
.notice svg { width: 22px; height: 22px; flex: none; }
.notice p { margin: 0; }
.notice--ok { color: var(--ok); background: var(--ok-tint); border-color: currentColor; }
.notice--err { color: var(--danger); background: var(--danger-tint); border-color: currentColor; }
.notice p { color: var(--ink); }
.aside-card { padding: 22px; border-radius: 12px; background: var(--alt); border: 1px solid var(--border); }
.aside-card h2 { margin: 0 0 10px; font-size: 16px; }
.aside-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 14px; color: var(--muted); }
.aside-card li { display: flex; gap: 10px; }
.aside-card svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 2px; }
.aside-card a { color: var(--accent); }

.lost { position: relative; overflow: hidden; color: var(--band-ink); background:
  radial-gradient(700px 360px at 20% 30%, var(--band-glow), transparent 60%), linear-gradient(180deg, var(--band-top), var(--band-bottom)); }
.lost::before { content: ""; position: absolute; inset: 0; opacity: .45; pointer-events: none;
  background-image: linear-gradient(var(--band-grid) 1px, transparent 1px), linear-gradient(90deg, var(--band-grid) 1px, transparent 1px);
  background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at 30% 40%, #000 30%, transparent 75%); }
.lost__inner { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; padding-block: 88px 96px; }
.lost__art { position: relative; justify-self: center; width: min(300px, 70vw); aspect-ratio: 1; color: var(--band-hi); }
.lost__art svg { width: 100%; height: 100%; filter: drop-shadow(0 0 36px rgba(245, 165, 36, .3)); }
.lost__code { position: absolute; inset-inline: 0; bottom: -6px; text-align: center; font: 500 22px var(--font-mono); letter-spacing: .3em; color: var(--band-muted); }
.lost__title { font-size: clamp(30px, 4.6vw, 52px); line-height: 1.08; letter-spacing: -.025em; margin: 16px 0 0; }
.lost__text { color: var(--band-muted); font-size: clamp(16px, 1.6vw, 18px); max-width: 560px; margin: 18px 0 0; }
.lost__plain { position: relative; padding-block: 96px; }
.lost__form { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.lost__tip { margin: 26px 0 0; font-size: 13.5px; color: var(--band-muted); font-family: var(--font-mono); }
@media (prefers-reduced-motion: no-preference) {
  .lost__hole { transform-origin: 152px 54px; animation: hit .5s cubic-bezier(.2, 1.6, .4, 1) .35s both; }
  @keyframes hit { from { opacity: 0; transform: scale(2.2); } }
  .lost__art .ring { transform-origin: 50% 50%; animation: spin 40s linear infinite; }
}
@media (max-width: 760px) { .lost__inner { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 56px 64px; } .lost__art { width: 200px; } }

.footer { background: var(--band); color: var(--band-muted); margin-top: auto; }
.footer .wrap { padding-top: 60px; }
.footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand { max-width: 320px; }
.footer__about { font-size: 14px; line-height: 1.6; margin: 16px 0 0; }
.footer__col { display: flex; flex-direction: column; }
.footer__title { font-size: 12px; letter-spacing: .07em; text-transform: uppercase; color: var(--band-title); font-weight: 600; margin-bottom: 14px; }
.footer__col a { font-size: 14px; margin-bottom: 10px; min-height: 24px; display: inline-flex; align-items: center; gap: 8px; }
.footer__col a:hover { color: var(--band-title); }
.footer__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; margin-top: 48px; padding: 22px 0 30px; border-top: 1px solid var(--band-line); }
.footer__bar .mono { font-size: 12px; color: var(--band-muted); }
.footer__trust { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.trust { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--band-muted); }
.trust svg { width: 18px; height: 18px; color: var(--band-hi); flex: none; }

.consent { position: sticky; inset-block-end: 0; z-index: 60; background: var(--surface); border-top: 2px solid var(--accent); box-shadow: 0 -8px 28px rgba(0, 0, 0, .18); }
:root[data-theme="dark"] .consent { background: #1d2130; box-shadow: 0 -12px 36px rgba(0, 0, 0, .6); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .consent { background: #1d2130; box-shadow: 0 -12px 36px rgba(0, 0, 0, .6); } }
.consent__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-block: 14px; }
.consent__body { display: flex; gap: 14px; align-items: flex-start; max-width: 80ch; }
.consent__body > svg { width: 26px; height: 26px; color: var(--accent); flex: none; margin-top: 2px; }
.consent__title { margin: 0; font-size: 15px; font-weight: 700; }
.consent__text { margin: 3px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.consent__text a { color: var(--accent); font-weight: 600; text-decoration: underline; }
.consent__actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 0; }
.consent__btn { min-height: 42px; padding: 9px 18px; border-radius: var(--radius); font: 600 14px var(--font-sans); border: 1px solid var(--border); cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease; }
.consent__btn:hover { transform: translateY(-1px); }
.consent__btn--no { background: var(--surface); color: var(--ink); }
.consent__btn--no:hover { border-color: var(--accent); color: var(--accent); }
/* without an edge the dark button melts into the banner and looks smaller */
:root[data-theme="dark"] .consent__btn--no:not(:hover) { background: transparent; border-color: rgba(255, 255, 255, .28); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .consent__btn--no:not(:hover) { background: transparent; border-color: rgba(255, 255, 255, .28); } }
:root[data-theme="dark"] .consent__btn--no:hover { background: rgba(245, 165, 36, .08); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .consent__btn--no:hover { background: rgba(245, 165, 36, .08); } }
.consent__btn--yes { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.consent__btn--yes:hover { background: var(--accent-strong); }
.consent-manage { margin-top: 28px; padding: 20px; border-radius: var(--radius); background: var(--alt); border: 1px solid var(--border); }
.consent-manage p { margin: 0 0 12px; }
.consent-manage .consent__actions { gap: 10px; }

.lb__filters { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: flex-end; margin: 0 0 22px; }
.lb__group { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.lb__group--wide { flex-basis: 100%; }
.lb__label { font: 500 11px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.lb__seg { display: inline-flex; flex-wrap: wrap; padding: 3px; gap: 2px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.lb__seg a { padding: 5px 12px; border-radius: 6px; color: var(--muted); font-size: 13px; font-weight: 500; }
.lb__seg a:hover { color: var(--ink); background: var(--alt); }
.lb__seg a[aria-current] { color: var(--accent); background: var(--accent-tint); font-weight: 600; }
.lb__wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); background: var(--surface); }
.lb__table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.lb__table :is(th, td) { padding: 11px 14px; border-bottom: 1px solid var(--border); text-align: end; white-space: nowrap; }
.lb__table :is(th, td):nth-child(-n+2) { text-align: start; }
.lb__table td:nth-child(2) { white-space: normal; overflow-wrap: anywhere; min-width: 120px; }
.lb__table tbody tr:last-child td { border-bottom: 0; }
.lb__table tbody tr:hover { background: var(--alt); }
.lb__table th { font: 500 11.5px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); background: var(--alt); }
.lb__table td { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.lb__table td:nth-child(2) { font-family: var(--font-sans); font-weight: 600; }
.lb__table tbody tr:nth-child(-n+3) td:first-child { color: var(--accent); font-weight: 600; }
.lb__name { color: inherit; text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 4px; }
.lb__name:hover { color: var(--accent); text-decoration-color: currentColor; }
.lb__table.pf__modes td:nth-child(2) { font-family: var(--font-mono); font-weight: 400; text-align: end; }
.lb__table.pf__modes th:nth-child(2) { text-align: end; }
.lb__table.pf__modes tbody tr td:first-child { font-family: var(--font-sans); font-weight: 600; color: var(--ink); }
.lb__table.pf__modes :is(th, td):nth-child(5) { display: table-cell; }
.pf__own { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 22px; }
.pf__own .pf__name { margin: 0; font-size: 24px; letter-spacing: -.015em; }
.pf__own .small { margin: 4px 0 0; }
.pf__public { font-weight: 600; color: var(--accent); }
.pf__h { margin: 34px 0 12px; font-size: 18px; letter-spacing: -.01em; }
.pf__tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 0; }
.pf__tile { padding: 14px 16px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.pf__tile dt { font: 500 11px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.pf__tile dd { margin: 6px 0 0; font: 600 22px var(--font-mono); font-variant-numeric: tabular-nums; color: var(--ink); }
.pf__tile--hi dd { color: var(--accent); }
.pf__cols { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.pf__card { padding: 4px 20px 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
.pf__card .pf__h { margin-top: 18px; }
.pf__sum { margin: -4px 0 12px; font-size: 13.5px; color: var(--muted); }
.pf__chart { display: block; width: 100%; height: auto; overflow: visible; }
.pf__base { stroke: var(--border); stroke-width: 1; }
.pf__hit { fill: transparent; }
.pf__bar { fill: var(--accent); }
.pf__day:hover .pf__hit { fill: var(--alt); }
.pf__day:hover .pf__bar { fill: var(--accent-strong); }
.pf__axis { display: flex; justify-content: space-between; margin-top: 6px; font: 12px var(--font-mono); color: var(--faint); }
.pf__zones { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.pf__zones li { display: grid; grid-template-columns: 7.5em minmax(0, 1fr) 3em; gap: 10px; align-items: center; font-size: 14px; }
.pf__zone { color: var(--muted); }
.pf__meter { width: 100%; height: 8px; }
.pf__track { fill: var(--alt); }
.pf__fill { fill: var(--accent); }
.pf__tile .pf__vs, .pf__tile--hi .pf__vs { display: flex; flex-wrap: wrap; gap: 0 10px; margin: 6px 0 0; font: 400 12px/1.5 var(--font-mono); color: var(--faint); }
.pf__vs span { white-space: nowrap; }
.pf__avg { fill: var(--ink); opacity: .55; }
.pf__meter { overflow: visible; }
.pf__legend { display: inline-block; vertical-align: middle; margin-inline: 2px 4px; border-radius: 2px; }
.pf__legend--you { width: 14px; height: 6px; background: var(--accent); }
.pf__legend--avg { width: 2px; height: 12px; margin-inline-start: 12px; background: var(--ink); opacity: .55; }
.pf__pct { font-family: var(--font-mono); font-variant-numeric: tabular-nums; text-align: end; }
@media (max-width: 760px) { .pf__cols { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .lb__table.pf__modes :is(th, td):nth-child(4) { display: none; } }
.lb__me { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 18px; padding: 14px 18px; border: 1px solid var(--accent-ring);
  border-radius: 12px; background: var(--accent-tint); }
.lb__me-rank { font: 600 24px var(--font-mono); color: var(--accent); font-variant-numeric: tabular-nums; }
.lb__me-text { display: flex; flex-direction: column; gap: 2px; flex: 1 1 260px; min-width: 0; font-size: 14px; color: var(--muted); }
.lb__me-text strong { color: var(--ink); font-size: 15px; }
.lb__me-link { font-weight: 600; color: var(--accent); white-space: nowrap; }
.lb__table tr.lb__row--me td, table.board tr.board__me td { background: var(--accent-tint); }
.lb__table tr.lb__row--me td:first-child, table.board tr.board__me td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
.lb__gap td { padding: 4px 14px; text-align: center; color: var(--faint); border-bottom: 1px solid var(--border); }
.server__title a { color: inherit; display: inline-flex; align-items: center; gap: inherit; }
.server__title a:hover { color: var(--accent); }
.sv__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; margin-bottom: 16px; align-items: start; }
.sv__now .server { height: 100%; }
.sv__players { width: 100%; border-collapse: collapse; font-size: 14.5px; margin-bottom: 14px; }
.sv__players :is(th, td) { padding: 8px 6px; border-bottom: 1px solid var(--border); text-align: end; }
.sv__players :is(th, td):first-child { text-align: start; }
.sv__players th { font: 500 11px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.sv__players td { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.sv__players td:first-child { font-family: var(--font-sans); font-weight: 600; overflow-wrap: anywhere; }
.sv__anon { color: var(--muted); font-weight: 400; font-style: italic; }
.sv__heat { margin-bottom: 16px; }
.sv__grid { display: block; width: 100%; max-width: 780px; height: auto; }
.sv__axis { font: 11px var(--font-mono); fill: var(--faint); }
.sv__cell { fill: var(--alt); }
.sv__fill { fill: var(--accent); }
.sv__grid g:hover .sv__cell { stroke: var(--ink); stroke-width: 1; }
.sv__legend { display: flex; align-items: center; gap: 10px; margin: 8px 0 0; font-size: 12.5px; color: var(--muted); }
.sv__scale { width: 120px; height: 10px; border-radius: 3px; background: linear-gradient(90deg, var(--alt), var(--accent)); }
.sv__maps { list-style: none; margin: 0; padding: 0; }
.sv__maps li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.sv__maps li span:not(.mono) { color: var(--muted); font-variant-numeric: tabular-nums; }
.sv__maps li:last-child { border-bottom: 0; }
.sv__text { margin: 0 0 12px; color: var(--muted); font-size: 14.5px; }
@media (max-width: 860px) { .sv__cols { grid-template-columns: minmax(0, 1fr); } }
.topic-fields { margin: 0; padding: 16px 18px 6px; border: 1px solid var(--accent-ring); border-radius: var(--radius); background: var(--accent-tint); min-width: 0; }
.topic-fields[hidden] { display: none; }
.topic-fields legend { padding: 0 6px; font-weight: 600; font-size: 14px; }
.faq { max-width: 860px; }
.faq__toc { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.faq__toc a { color: var(--accent); font-weight: 600; }
.faq__item { padding: 22px 0; border-top: 1px solid var(--border); scroll-margin-top: 90px; }
.faq__item h2 { margin: 0 0 12px; font-size: 22px; letter-spacing: -.01em; }
.faq__item h3 { margin: 18px 0 6px; font-size: 16px; }
.faq__item p, .faq__item li { color: var(--muted); }
.faq__item ol { padding-inline-start: 22px; display: flex; flex-direction: column; gap: 4px; }
.faq__shot { margin: 12px 0; }
.faq__shot img { display: block; max-width: 100%; height: auto; border: 1px solid var(--border); border-radius: 10px; }
.mp__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.mp__card { overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
.mp__media { position: relative; aspect-ratio: 2 / 1; background: var(--alt); }
.mp__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mp__name { position: absolute; inset-inline-start: 10px; bottom: 10px; padding: 3px 8px; border-radius: 6px; font-size: 13px; color: #fff; background: rgba(0, 0, 0, .6); }
.mp__body { padding: 12px 14px 14px; font-size: 14px; }
.mp__played { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
.mp__top { margin: 0; padding-inline-start: 20px; display: flex; flex-direction: column; gap: 3px; }
.mp__top span { color: var(--muted); font-size: 13px; }
.mp__me { margin: 10px 0 0; padding-top: 8px; border-top: 1px solid var(--border); font-size: 13px; color: var(--accent); font-weight: 600; }
.lb__notes { margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.lb__notes p { margin: 6px 0; }
.lb__notes a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) {
  .lb__table :is(th, td) { padding: 9px 10px; font-size: 13.5px; }
  .lb__table :is(th, td):is(:nth-child(5), :nth-child(n+7)) { display: none; }
}

.motd { background: var(--night); color: var(--night-ink); }
.motd__inner { padding-block: 22px; }
.motd__brand { display: flex; align-items: center; gap: 10px; }
.motd__brand .logo__text { color: var(--night-ink); }
.motd__site { margin-inline-start: auto; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(245, 165, 36, .45); color: var(--amber); font-size: 13px; }
.motd__lede { margin: -8px 0 16px; font-size: 15px; color: var(--night-muted); }
.motd__cmds { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-size: 14px; color: var(--night-muted); }
.motd__cmds code { color: var(--amber); background: rgba(255, 255, 255, .06); border-color: var(--night-line); }
.motd__foot { margin: 14px 0 0; font-size: 12.5px; color: var(--night-muted); }
.motd__title { margin: 16px 0; font-size: 26px; letter-spacing: -.02em; }
.motd__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.motd__card { padding: 16px; border-radius: 10px; background: var(--night-2); border: 1px solid var(--night-line); }
.motd__card--hi { border-color: rgba(245, 165, 36, .55); background: linear-gradient(160deg, rgba(245, 165, 36, .14), var(--night-2) 60%); }
.motd__card h2 { margin: 0 0 6px; font-size: 16px; color: var(--amber); }
.motd__card p { margin: 6px 0; font-size: 14px; color: var(--night-muted); }
.motd__card code { color: var(--amber); background: rgba(255, 255, 255, .06); border-color: var(--night-line); }
.motd__url { color: var(--night-ink); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 10px; }

@view-transition { navigation: auto; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  /* the new page fades in over the old one: fading both left a darker gap in between */
  ::view-transition-old(root) { animation: none; }
  ::view-transition-new(root) { animation: 220ms ease both vt-in; mix-blend-mode: normal; }
  @keyframes vt-in { from { opacity: 0; } }
  .server, .mode, .step, .btn, .fact { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease, color .2s ease; }
  .rise { animation: rise .6s cubic-bezier(.2, .7, .2, 1) both; }
  .rise:nth-child(2) { animation-delay: .06s; } .rise:nth-child(3) { animation-delay: .12s; } .rise:nth-child(4) { animation-delay: .18s; }
  .rise:nth-child(5) { animation-delay: .24s; } .rise:nth-child(6) { animation-delay: .3s; } .rise:nth-child(n+7) { animation-delay: .36s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } }
  .settled #live .rise { animation: none; }
  .hero__art .ring { animation: spin 40s linear infinite; }
  .hero__art .ring--rev { animation: spin 60s linear infinite reverse; }
  @keyframes spin { to { transform: rotate(360deg); } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); padding-block: 64px 72px; }
  .hero__art { display: none; }
  .layout-doc { grid-template-columns: 1fr; }
  .toc { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .steps { grid-template-columns: 1fr; }
  .header__inner { flex-wrap: wrap; row-gap: 8px; }
  /* no sideways scroller: on touch it dragged the whole bar along */
  .header__nav { order: 3; width: 100%; justify-content: space-between; gap: 0; }
  .header__nav a { white-space: nowrap; padding: 8px 6px; font-size: 14.5px; }
  .header__nav a[aria-current="page"]::after { bottom: -1px; }
}
@media (max-width: 600px) {
  :root { --sectionpad: 52px; }
  .wrap { padding-inline: 16px; }
  .topbar__tag { display: none; }
  /* the items may not fit in one row on a phone: a second row instead of a cut-off one */
  .header__nav { flex-wrap: wrap; justify-content: center; column-gap: 2px; }
  .servers { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .panel { padding: 20px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bar { flex-direction: column; align-items: flex-start; }
  .footer__trust { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { flex: 1 1 100%; }
  .consent__actions { width: 100%; }
  .consent__btn { flex: 1; }
}
@media (max-width: 360px) {
  .header__nav a { padding: 8px 3px; font-size: 13.5px; }
  .topbar__brand .mono { font-size: 11.5px; }
}

/* iOS zooms into any field under 16 px when it gets the focus; on touch screens they get 16 px */
@media (hover: none) and (pointer: coarse) {
  .field input, .field select, .field textarea, .lb__seg select { font-size: 16px; }
}
