/* Boet's World — WARDOGS community server.
   Tokens carried over from the arcade's base.css so the two read as one brand. */

@font-face {
  font-family: "Anton";
  src: url("../fonts/anton-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "InterLocal";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --ink: #090d0b;
  --surface: #111713;
  --surface-2: #171f19;
  --line: #2b382e;
  --line-hot: #7dff5226;
  --muted: #8c9b90;
  --paper: #edf2ea;

  --volt: #7dff52;
  --live: #4ffb9a;
  --gold: #ffd43b;
  --focus: #9dfaff;
  --purple: #5865f2;

  --display: Anton, Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --body: InterLocal, Inter, "Segoe UI", Arial, sans-serif;
  --meta: ui-monospace, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", SFMono-Regular, Menlo, monospace;

  --step-6: clamp(3.4rem, 1.9rem + 7.4vw, 6.75rem);
  --step-4: clamp(2.2rem, 1.5rem + 3.2vw, 3.6rem);
  --step-2: clamp(1.25rem, 1.05rem + .7vw, 1.6rem);

  --width: 1140px;
  --radius: 4px;
}

* { box-sizing: border-box; }

/*
 * The `hidden` attribute has to actually hide things.
 *
 * A UA stylesheet's `[hidden] { display: none }` loses to any author rule that sets `display` --
 * so `.countdown { display: inline-flex }` quietly made `box.hidden = true` a no-op, and the
 * launch countdown could not retire itself. That stayed invisible for as long as the countdown
 * was meant to be on screen, and surfaced the morning after launch as a heading reading
 * "WARDOGS launches in --" directly above "WARDOGS is out."
 */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: .01em;
  text-transform: uppercase;
  line-height: .95;
  margin: 0;
  text-wrap: balance;
}

.wrap { width: min(100% - 40px, var(--width)); margin-inline: auto; }

/* Anchored sections land below the sticky header, not under it. */
[id] { scroll-margin-top: 84px; }

/* Keyboard users get a way past the header; nobody else ever sees it. */
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 30;
  padding: 10px 14px; background: var(--volt); color: #08130a; border-radius: var(--radius);
  font-family: var(--meta); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; transition: top .15s;
}
.skip:focus { top: 12px; }

.eyebrow {
  font-family: var(--meta);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--volt);
  display: block;
}

/* ---------- buttons ---------- */
.button {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  font-family: var(--meta);
  font-size: 13px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--paper);
  background: var(--surface-2);
  transition: transform .16s, box-shadow .22s, border-color .22s, background .22s;
}
.button:hover { transform: translateY(-1px); border-color: #6c8a70; }
.button:active { transform: translateY(0); }
.button:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.button span { transition: transform .18s; }
.button:hover span { transform: translateX(3px); }

.button-primary {
  background: var(--volt);
  border-color: var(--volt);
  color: #08130a;
}
.button-primary:hover { box-shadow: 0 0 44px #7dff5240; border-color: var(--volt); }

.button-discord { background: var(--purple); border-color: var(--purple); color: #fff; }
.button-discord:hover { box-shadow: 0 0 40px #5865f255; border-color: var(--purple); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  padding: 12px 0;
  background: #090d0bd9;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 38px; height: auto; }
.brand b {
  font-family: var(--display); font-size: 19px; text-transform: uppercase;
  letter-spacing: .02em; line-height: 1;
}
.brand small {
  display: block; font-family: var(--meta); font-size: 10px;
  letter-spacing: .16em; color: var(--muted); text-transform: uppercase; white-space: nowrap;
}
.site-nav { display: flex; align-items: center; gap: 4px; min-width: 0; }
.site-nav a, .nav-drop summary {
  font-family: var(--meta); font-size: 12px; letter-spacing: .1em; white-space: nowrap;
  text-transform: uppercase; text-decoration: none; color: var(--muted);
  padding: 8px 12px; border-radius: 4px; position: relative;
  transition: color .15s, background .15s;
}
.site-nav a:hover, .nav-drop summary:hover { color: var(--paper); background: #ffffff0a; }
.site-nav a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
/* The page you are on: bright text and a short volt rule under it. */
.site-nav a[aria-current="page"], .nav-drop.has-current summary { color: var(--paper); }
.site-nav > a[aria-current="page"]::after, .nav-drop.has-current summary::before {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px;
  background: var(--volt); border-radius: 1px;
}
.header-cta { display: flex; align-items: center; gap: 8px; flex: none; }
.site-header .button { padding: 10px 18px; font-size: 12px; }
.button-quiet { background: transparent; border-color: var(--line); color: var(--paper); }
.button-quiet:hover { border-color: var(--volt); color: var(--volt); }
.site-header .label-short { display: none; }

/* Resources dropdown. A <details>, so it opens on click and keyboard with no JavaScript; site.js
   only closes it when you click elsewhere. On a phone the strip scrolls sideways, which would clip a
   floating menu, so the items are shown as plain links (.nav-m) and the dropdown is hidden. */
.nav-drop { position: relative; }
.nav-drop summary { list-style: none; cursor: pointer; }
.nav-drop summary::-webkit-details-marker { display: none; }
.nav-drop summary::after {
  content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 0 3px 8px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); transition: transform .18s, margin .18s;
}
.nav-drop[open] summary::after { transform: rotate(225deg); margin-bottom: -1px; }
.nav-drop[open] summary { color: var(--paper); background: #ffffff0a; }
.nav-drop summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.nav-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 30; min-width: 210px;
  display: grid; padding: 6px; background: var(--surface); border: 1px solid var(--line);
  border-top: 2px solid var(--volt); border-radius: var(--radius); box-shadow: 0 18px 40px #00000080;
}
.nav-drop[open] .nav-menu { animation: nav-menu-in .16s ease-out; }
@keyframes nav-menu-in { from { opacity: 0; transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .nav-drop[open] .nav-menu { animation: none; } .nav-drop summary::after { transition: none; } }
.site-nav .nav-menu a { padding: 10px 12px; border-radius: 3px; }

/* Games: each game with its icon and a line on what we run for it, so the menu answers
   "what is there to play here" before anyone clicks. Opens from the left edge of its tab. */
.nav-games .nav-menu { left: 0; right: auto; min-width: 330px; gap: 2px; }
.site-nav .nav-menu a.nav-game {
  display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: 12px;
  padding: 10px; white-space: normal;
  font-family: var(--body); letter-spacing: 0; text-transform: none;
}
.nav-game img { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; box-shadow: 0 0 0 1px #ffffff14; }
.nav-game b {
  display: block; font-family: var(--display); font-weight: 400; font-size: 17px;
  letter-spacing: .02em; text-transform: uppercase; line-height: 1.1; color: var(--paper);
}
.nav-game small { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.3; color: var(--muted); }
.site-nav .nav-menu a.nav-game:hover { background: #ffffff0a; }
.site-nav .nav-menu a.nav-game:hover b, .site-nav .nav-menu a.nav-game[aria-current="page"] b { color: var(--volt); }
.site-nav .nav-menu a.nav-game[aria-current="page"] { background: #7dff520f; }
.site-nav .nav-menu a:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.site-nav .nav-menu a[aria-current="page"] { color: var(--volt); }
.site-nav .nav-menu a:hover { background: #ffffff0a; color: var(--paper); }
.site-nav .nav-m { display: none; }
@media (max-width: 960px) {
  .nav-drop { display: none; }
  /* inline-flex like every other tab, so the strip shares one baseline on touch screens too */
  .site-nav .nav-m { display: inline-flex; align-items: center; }
}

/*
 * On a phone the header was 97px of a two-line tagline and a two-line button, with the navigation
 * removed entirely. Now: brand and a one-word button on the first row, and the same nav as a strip
 * that scrolls sideways under a thumb -- the way the portal's does.
 */
/* Phones and tablets: brand and buttons on the first row, every link on a strip that scrolls
   sideways under a thumb. A tablet has room for Sign in as well; a phone does not. */
@media (max-width: 960px) {
  .site-header { padding: 8px 0 0; }
  .site-header .wrap { flex-wrap: wrap; gap: 8px 12px; }
  .brand small { display: none; }
  .site-header .label-full { display: none; }
  .site-header .label-short { display: inline; }
  .site-nav {
    order: 3; flex-basis: 100%; display: flex; gap: 2px;
    overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 2px 16px 8px;
    -webkit-overflow-scrolling: touch;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { flex: none; padding: 7px 10px; font-size: 11px; }
  .site-nav > a[aria-current="page"]::after { left: 10px; right: 10px; bottom: 0; }
  /* A fade on whichever edge still has tabs beyond it, set by nav.js, so the strip says "there is
     more this way" only when there is. */
  .site-nav.has-more { -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent); mask-image: linear-gradient(90deg, #000 86%, transparent); }
  .site-nav.has-less { -webkit-mask-image: linear-gradient(270deg, #000 86%, transparent); mask-image: linear-gradient(270deg, #000 86%, transparent); }
  .site-nav.has-more.has-less { -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
}
@media (max-width: 560px) {
  .brand img { width: 32px; }
  .site-header .button { padding: 10px 16px; font-size: 12px; }
  .header-cta .button-quiet { display: none; }
}
/* Between a tablet and a wide screen the brand's tagline is the first thing to go, then the long
   Discord label, then a little padding, so the links never wrap or run under the buttons. */
@media (max-width: 1240px) { .brand small { display: none; } }
@media (max-width: 1140px) { .site-header .label-full { display: none; } .site-header .label-short { display: inline; } }
@media (max-width: 1040px) { .site-nav a, .nav-drop summary { padding: 8px 9px; } .site-header .wrap { gap: 14px; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(56px, 9vw, 110px) 0 clamp(36px, 5vw, 64px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 55% at 16% 24%, #7dff5212, transparent 70%),
    radial-gradient(50% 50% at 84% 62%, #ffd43b09, transparent 70%);
}
/* A 48px grid at 3% white, faded out towards the bottom and the right. Depth without an image, and
   it costs nothing to load. */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(#edf2ea08 1px, transparent 1px),
    linear-gradient(90deg, #edf2ea08 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(70% 80% at 30% 20%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70% 80% at 30% 20%, #000 20%, transparent 75%);
}
.hero h1 { font-size: var(--step-6); margin: 14px 0 0; }
.hero h1 em { font-style: normal; color: var(--volt); text-shadow: 0 0 16px #7dff5226, 0 0 60px #7dff521f; }
/* Part of the H1 -- the search phrase belongs in the heading, not only the title tag -- but set as
   a quieter second line so the brand line keeps its size. */
.hero h1 .h1-sub {
  display: block; margin-top: 10px; font-family: var(--meta); font-size: clamp(12px, 1.4vw, 15px);
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted); text-shadow: none;
}
.hero p.lede { font-size: var(--step-2); color: #c6d2c8; max-width: 60ch; margin: 20px 0 0; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-note { font-family: var(--meta); font-size: 12px; color: var(--muted); margin-top: 18px; letter-spacing: .04em; }

/* ---------- countdown ---------- */
.countdown {
  display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-top: 26px; padding: 12px 18px;
  border: 1px solid var(--line); border-top-color: var(--line-hot);
  border-radius: var(--radius); background: var(--surface);
}
.countdown-label { font-family: var(--meta); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.countdown-clock { font-family: var(--meta); font-size: 22px; font-weight: 700; letter-spacing: .06em; }
.countdown-clock .unit { color: var(--muted); font-size: 12px; margin-left: 2px; margin-right: 8px; }

/* ---------- status strip ---------- */
.status-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin: 8px 0 0;
}
.status-cell { background: var(--surface); padding: 20px 22px; }
.status-cell b {
  display: block; font-family: var(--display); font-size: 30px;
  letter-spacing: .01em; line-height: 1.05;
}
.status-cell b.is-live { color: var(--live); }
.status-cell b.is-map { font-size: 24px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.status-cell b.is-down { color: var(--muted); }
.status-cell b.is-full { color: var(--gold); }
.status-cell span {
  display: block; font-family: var(--meta); font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 6px;
}
.live-dot {
  display: inline-block; width: 9px; height: 9px; border-radius: 50%;
  background: var(--live); margin-right: 9px; vertical-align: middle;
  box-shadow: 0 0 12px var(--live);
}
.live-dot.is-off { background: var(--muted); box-shadow: none; animation: none; }
@media (prefers-reduced-motion: no-preference) {
  .live-dot { animation: pulse 2s ease-in-out infinite; }
  @keyframes pulse { 50% { opacity: .45; } }
}

/* ---------- the strip with one cell per server ---------- */
/* Painted by site.js once the status feed lists more than one server. Total first, then the
   servers in the portal's order, Discord last. A full server is gold: it is the fact a player
   about to click "join" needs most. */
.status-strip.has-servers { grid-template-columns: repeat(auto-fit, minmax(176px, 1fr)); }
.status-cell .srv-name {
  display: flex; align-items: center; margin: 0 0 8px; color: var(--paper);
  font-family: var(--meta); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.status-cell .srv-name em { font-style: normal; color: var(--gold); margin-left: 8px; }
.status-cell.is-full { box-shadow: inset 3px 0 0 var(--gold); }
.status-cell .srv-where { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.status-strip.is-stale .status-cell b { color: var(--muted); }
.status-strip.is-stale .live-dot { animation: none; opacity: .45; }
@media (max-width: 720px) {
  /* Phones: the total and Discord share a row; each server is a compact full-width row. */
  .status-strip.has-servers { grid-template-columns: 1fr 1fr; }
  .status-strip.has-servers .is-total { order: 0; }
  .status-strip.has-servers .is-discord { order: 1; }
  .status-strip.has-servers .is-server {
    order: 2; grid-column: 1 / -1; padding: 12px 16px;
    display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name num" "where num";
    align-items: center; column-gap: 12px;
  }
  .status-strip.has-servers .is-server .srv-name { grid-area: name; margin: 0 0 4px; }
  .status-strip.has-servers .is-server b { grid-area: num; font-size: 22px; }
  .status-strip.has-servers .is-server .srv-where { grid-area: where; margin: 0; }
}

/* ---------- sections ---------- */
section.band { padding: clamp(46px, 6vw, 80px) 0; border-top: 1px solid var(--line); }
section.band-tint { background: linear-gradient(180deg, #0d1210, var(--ink) 85%); }
.section-head { margin-bottom: 34px; }
.section-head h2 { font-size: var(--step-4); margin-top: 10px; }
.section-head p { color: var(--muted); max-width: 62ch; margin: 14px 0 0; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-top-color: var(--line-hot); border-radius: var(--radius);
  padding: 26px 24px; transition: transform .28s, border-color .28s;
}
.card:hover { transform: translateY(-3px); border-color: #3c5040; }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; font-size: 15px; }

/* ---------- the "what you are joining" pillars ---------- */
/* Four cards of the same weight: an icon and a number up top, a balanced heading, two or three
   sentences, and one short fact at the foot so the eye has somewhere to land. Body copy is a step
   lighter than the muted token because at 15px it has to clear 7:1 on the card surface. */
.cards.cards-pillars { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1023px) { .cards.cards-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .cards.cards-pillars { grid-template-columns: minmax(0, 1fr); } }
.card.pillar { display: flex; flex-direction: column; padding: 24px 22px 20px; }
.pillar-mark { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.pillar-icon {
  width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center;
  color: var(--volt); background: var(--line-hot); border: 1px solid #2f4a33;
  transition: background .28s, color .28s;
}
.pillar-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pillar-n { font-family: var(--meta); font-size: 11px; letter-spacing: .14em; color: var(--muted); }
.card.pillar h3 { font-size: clamp(19px, 1.1rem + .6vw, 22px); line-height: 1.05; margin: 0 0 10px; text-wrap: balance; }
.card.pillar p { flex: 1 1 auto; color: #a9b5ac; line-height: 1.6; text-wrap: pretty; }
.pillar-foot {
  display: flex; align-items: center; gap: 8px; margin-top: 18px; padding-top: 14px;
  border-top: 1px solid var(--line); color: var(--paper);
  font-family: var(--meta); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
}
.pillar-foot::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 8px var(--volt); }
.card.pillar:hover .pillar-icon { background: var(--volt); color: var(--ink); }
.cta-aside { color: var(--muted); font-size: 14px; max-width: 46ch; line-height: 1.5; }
.cta-aside a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #4b6150; }
.cta-aside a:hover { text-decoration-color: var(--volt); }
@media (prefers-reduced-motion: reduce) {
  .card, .pillar-icon { transition: none; }
  .card:hover { transform: none; }
}
@media (max-width: 720px) {
  .card.pillar { padding: 20px 18px 16px; }
  .pillar-mark { margin-bottom: 14px; }
}

/* ---------- connect steps ---------- */
.steps { counter-reset: step; display: grid; gap: 14px; }
.step {
  display: grid; grid-template-columns: 46px 1fr; gap: 18px; align-items: start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px;
}
.step::before {
  counter-increment: step; content: counter(step);
  font-family: var(--display); font-size: 26px; color: var(--volt);
  line-height: 1; padding-top: 2px;
}
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

.addr {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 12px; padding: 12px 14px;
  background: var(--ink); border: 1px dashed var(--line); border-radius: var(--radius);
  font-family: var(--meta); font-size: 15px; letter-spacing: .04em;
}
.addr code { color: var(--volt); }
.addr[data-pending="true"] code { color: var(--muted); }
.addr button {
  font-family: var(--meta); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  background: var(--surface-2); color: var(--paper);
  border: 1px solid var(--line); border-radius: 3px; padding: 6px 12px; cursor: pointer;
}
.addr button:hover { border-color: var(--volt); color: var(--volt); }
.addr button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* ---------- rules ---------- */
.rules { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
.rules li {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: baseline;
  border-bottom: 1px solid var(--line); padding-bottom: 12px;
}
.rules li::before { content: "//"; font-family: var(--meta); color: var(--volt); font-size: 13px; }
.rules b { display: block; }
.rules span { color: var(--muted); font-size: 15px; }

/* ---------- factions ---------- */
.factions { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.faction {
  --f: var(--volt);
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--f);
  border-radius: var(--radius); padding: 24px 24px 22px;
  transition: transform .28s, border-color .28s;
}
.faction::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 0% 0%, color-mix(in srgb, var(--f) 16%, transparent), transparent 70%);
}
.faction:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--f) 50%, var(--line)); }
.faction > * { position: relative; }
.faction-banner {
  font-family: var(--meta); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--f); display: block; margin-bottom: 8px;
}
.faction h3 { font-size: 30px; color: var(--paper); }
.faction-tag { color: var(--paper); font-weight: 600; margin: 8px 0 0; font-size: 15px; overflow-wrap: anywhere; }
.faction-blurb { color: var(--muted); font-size: 14.5px; margin: 12px 0 0; line-height: 1.6; }
.faction-war { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.faction-bar { height: 6px; background: #ffffff0f; border-radius: 3px; overflow: hidden; }
.faction-bar i {
  display: block; height: 100%; width: 0; background: var(--f); border-radius: 3px;
  box-shadow: 0 0 12px color-mix(in srgb, var(--f) 60%, transparent); transition: width .9s ease;
}
.faction-nums {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; margin-top: 12px;
  font-family: var(--meta); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.faction-nums b { color: var(--paper); font-family: var(--display); font-size: 18px; letter-spacing: 0; margin-right: 4px; }

/* ---------- server page ---------- */
.hero-compact { padding-top: clamp(28px, 4vw, 48px); }
.hero-compact h1 { font-size: var(--step-4); }
.rotation { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rotation li {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px;
}
.rotation li b { font-family: var(--display); font-size: 22px; color: var(--paper); text-transform: uppercase; }
.rotation li .rotation-n { font-family: var(--display); font-size: 22px; color: var(--muted); }
.rotation li .rotation-mode { font-family: var(--meta); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.rotation li.is-now { border-color: color-mix(in srgb, var(--live) 50%, var(--line)); }
.rotation li.is-now .rotation-n { color: var(--live); }
.rotation li b { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .rotation li { grid-template-columns: 44px minmax(0, 1fr); row-gap: 2px; }
  .rotation li .rotation-mode { grid-column: 2; }
}
.rotation-empty, .rotation li.rotation-empty { display: block; color: var(--muted); font-size: 14px; }

/* ---------- discord band ---------- */
.discord-band {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--surface), var(--ink));
  border-top: 1px solid var(--line);
  padding: clamp(48px, 6vw, 84px) 0;
  text-align: center;
}
.discord-band::before {
  content: "BOET'S WORLD"; position: absolute; right: -3%; bottom: -14%;
  font-family: var(--display); font-size: clamp(90px, 14vw, 170px);
  -webkit-text-stroke: 2px #edf2ea0f; color: transparent;
  pointer-events: none; user-select: none; white-space: nowrap;
}
.discord-band .wrap { position: relative; z-index: 1; }
.discord-band h2 { font-size: var(--step-4); }
.discord-band p { color: var(--muted); max-width: 52ch; margin: 16px auto 28px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 60px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 20px 34px; align-items: center; }
.footer-top nav { display: flex; flex-wrap: wrap; gap: 20px; margin-left: auto; }
.site-footer a {
  font-family: var(--meta); font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); text-decoration: none;
}
.site-footer a:hover { color: var(--volt); }
.site-footer a:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.footer-legal { color: #8a988d; font-size: 13px; margin-top: 26px; line-height: 1.7; }
.footer-legal b { color: var(--paper); font-weight: 600; }

@media (max-width: 720px) {
  .status-cell { padding: 16px 18px; }
  .status-cell b { font-size: 25px; }
  .status-cell b.is-map { font-size: 20px; }
}

/* ---------- legal pages ---------- */
.legal-page { padding: 54px 0 80px; }
.legal-page .wrap { max-width: 760px; }
.legal-back {
  font-family: var(--meta); font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); text-decoration: none;
}
.legal-back:hover { color: var(--volt); }
.legal-page h1 { font-size: var(--step-4); margin: 22px 0 0; }
.legal-page h2 { font-size: 22px; margin: 40px 0 12px; }
.legal-page h3 { font-size: 17px; margin: 26px 0 8px; color: var(--paper); }
.legal-page p, .legal-page li { color: #c1cdc4; }
.legal-page .lede { font-size: 18px; color: var(--muted); margin-top: 16px; }
.legal-page ul { padding-left: 20px; }
.legal-page li { margin-bottom: 8px; }
.legal-page a { color: var(--volt); }
.legal-page code {
  font-family: var(--meta); font-size: .92em; color: var(--volt);
  background: var(--surface); padding: 2px 6px; border-radius: 3px;
}
.legal-updated { font-family: var(--meta); font-size: 12px; color: var(--muted); margin-top: 44px; }

/* ---------- member portal ---------- */
/* auto-fit rather than a fixed three columns: the section reads correctly if a card is ever
   added or removed, without a matching CSS change nobody will remember to make. */
.portal-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); gap: 16px;
}
.portal-card {
  background: var(--surface); border: 1px solid var(--line);
  border-top-color: var(--line-hot); border-radius: var(--radius); padding: 24px 22px;
}
.portal-card h3 { font-size: 20px; margin-bottom: 9px; }
.portal-card p { color: var(--muted); margin: 0; font-size: 14.5px; line-height: 1.65; }
.portal-card a { color: var(--volt); }
.portal-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 26px; }

/* ---------- the creator wall ---------- */
/* Each card carries its own --accent, set inline from the creator's chosen theme, so the row reads
   as a set of individuals rather than one repeated tile. A fallback is declared here because an
   inline custom property is the one thing this stylesheet cannot guarantee is present. */
.creator-row {
  --accent: var(--volt);
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.creator-card {
  display: block; padding: 18px 20px; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  border-top: 2px solid var(--accent);
  transition: border-color .15s ease, transform .15s ease;
}
.creator-card:hover, .creator-card:focus-visible {
  border-color: var(--accent); transform: translateY(-2px);
}
.creator-card-head { display: flex; align-items: center; gap: 11px; margin-bottom: 9px; }
.creator-card-head strong { color: var(--paper); font-size: 17px; }
.creator-avatar {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none;
  border: 1px solid var(--line); background: var(--ink);
}
/* Initials when a creator has not uploaded a picture. A broken image frame would look like a bug
   on a page whose job is making these people look worth following. */
.creator-avatar-blank {
  display: grid; place-items: center;
  font-family: var(--display); font-size: 19px; color: var(--accent);
}
.creator-card p {
  color: var(--muted); margin: 0 0 11px; font-size: 14.5px; line-height: 1.6;
}
.creator-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.creator-badge {
  font-family: var(--meta); font-size: 11px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted);
  padding: 3px 8px; border: 1px solid var(--line); border-radius: 999px;
}

@media (prefers-reduced-motion: reduce) {
  .creator-card { transition: none; }
  .creator-card:hover, .creator-card:focus-visible { transform: none; }
}
.portal-note { color: var(--muted); font-size: 13px; margin: 0; }

/* ---------- supporter ---------- */
.supporter {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .75fr);
  gap: 26px;
  align-items: start;
}
.supporter-price {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top-color: var(--line-hot);
  border-radius: var(--radius);
  padding: 28px 26px;
  position: sticky; top: 84px;
}
.supporter-price .price { display: flex; align-items: baseline; gap: 8px; margin: 12px 0 22px; }
.supporter-price .price b {
  font-family: var(--display); font-size: 54px; line-height: 1;
  color: var(--volt); text-shadow: 0 0 26px #7dff521f;
}
.supporter-price .price span { font-family: var(--meta); font-size: 13px; color: var(--muted); }
.supporter-price .button { width: 100%; justify-content: center; }
.supporter-note { font-size: 13px; color: var(--muted); margin: 16px 0 0; }

@media (max-width: 860px) {
  .supporter { grid-template-columns: 1fr; }
  .supporter-price { position: static; order: -1; }
}

/* ---------- faq ---------- */
.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 0 22px;
}
.faq details[open] { border-top-color: var(--line-hot); }
.faq summary {
  cursor: pointer; padding: 18px 0; list-style: none;
  font-family: var(--body); font-weight: 600; font-size: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--meta); color: var(--volt); font-size: 20px; line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.faq details p { margin: 0 0 20px; color: var(--muted); font-size: 15px; max-width: 68ch; }

/* ---------- article + index ---------- */
.post-list { display: grid; gap: 16px; }
.post-card {
  display: block; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line);
  border-top-color: var(--line-hot); border-radius: var(--radius);
  padding: 26px 24px; transition: transform .24s, border-color .24s;
}
.post-card:hover { transform: translateY(-3px); border-color: #3c5040; }
.post-card h2, .post-card h3 { font-size: 24px; margin-bottom: 10px; line-height: 1.08; color: var(--paper); transition: color .2s; }
.post-card:hover h2, .post-card:hover h3 { color: var(--volt); }
.post-card p { color: var(--muted); margin: 0; font-size: 15px; }
.post-meta {
  font-family: var(--meta); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--volt); display: block; margin-bottom: 10px;
}
.article { padding: 46px 0 80px; }
.article .wrap { max-width: 760px; }
.article h1 { font-size: var(--step-4); margin: 18px 0 0; }
.article .lede { font-size: 19px; color: #c6d2c8; margin: 18px 0 0; }
.article h2 { font-size: 24px; margin: 40px 0 12px; }
.article p, .article li { color: #c1cdc4; }
.article ul { padding-left: 20px; }
.article li { margin-bottom: 8px; }
.article a { color: var(--volt); }
.article .callout {
  background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--volt);
  border-radius: var(--radius); padding: 18px 22px; margin: 28px 0;
}
.article .callout p { margin: 0; }
/* Reading typography. 17px/1.7 at 760px is about 72 characters a line, which is where a long guide
   stops feeling like a wall. Headings get scroll-margin so an anchored link lands below the sticky
   header instead of under it. */
.article p, .article li { font-size: 17px; line-height: 1.7; }
.article h2, .article h3 { scroll-margin-top: 90px; }
.article h3 { font-size: 19px; margin: 28px 0 8px; }
.article ol { padding-left: 22px; }
.article ol li::marker { color: var(--volt); font-family: var(--meta); font-size: 14px; }
.article code {
  font-family: var(--meta); font-size: .88em; color: var(--paper);
  background: #ffffff0d; border: 1px solid var(--line); border-radius: 3px; padding: 1px 6px;
}
.article pre {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 18px; overflow-x: auto; margin: 18px 0;
}
.article pre code { background: none; border: 0; padding: 0; font-size: 14px; color: var(--volt); }
.article table { width: 100%; border-collapse: collapse; margin: 18px 0 8px; font-size: 15.5px; }
.article th {
  text-align: left; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--line);
  font-family: var(--meta); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); font-weight: 400;
}
.article td { padding: 10px 12px 10px 0; border-bottom: 1px solid #1d2620; color: #c1cdc4; vertical-align: top; }
.article tr:last-child td { border-bottom: 0; }
.article td b { color: var(--paper); }

/* The guides hub: wider than an article so the cards can sit two to a row, grouped by what a
   reader is trying to do rather than by date. */
.guides-hub .wrap { max-width: 1040px; }
.guides-hub .lede { max-width: 62ch; }
.guide-sec { margin-top: 46px; }
.guide-sec > h2 {
  margin: 0 0 14px; font-family: var(--meta); font-size: 12px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 400;
}
.post-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.post-grid .post-card { display: flex; flex-direction: column; }
.post-grid .post-card h3 { font-size: 22px; }
.post-card-feature {
  padding: 32px 30px;
  background: radial-gradient(120% 140% at 100% 0%, #7dff5214, transparent 60%), var(--surface);
  border-color: #7dff5233;
}
.post-card-feature h3 { font-size: clamp(26px, 2.2vw + 14px, 34px); max-width: 32ch; }
.post-card-feature p { font-size: 16px; max-width: 64ch; }
.post-card:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

/* The Season 2 banner at the top of the hub. */
.guides-s2 {
  display: grid; gap: 4px; margin-top: 30px; padding: 18px 22px;
  text-decoration: none; color: var(--paper);
  background: linear-gradient(90deg, #ffd43b14, transparent 70%), var(--surface);
  border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--radius);
  transition: border-color .2s, transform .2s;
}
.guides-s2:hover { border-color: #6c8a70; border-left-color: var(--gold); transform: translateY(-1px); }
.guides-s2:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.guides-s2-tag {
  font-family: var(--meta); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
}
.guides-s2 b { font-family: var(--display); font-weight: 400; font-size: 22px; text-transform: uppercase; line-height: 1.1; }
.guides-s2 > span:last-child { color: var(--muted); font-size: 15px; }
.guides-s2 > span:last-child span { color: var(--gold); }

/* "On this page", on the guides long enough to need it (four minutes or more). */
.article .toc {
  margin: 30px 0 8px; padding: 16px 20px 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.article .toc-h {
  margin: 0 0 8px; font-family: var(--meta); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.article .toc ol { margin: 0; padding-left: 20px; columns: 2 230px; column-gap: 30px; }
.article .toc li { font-size: 15px; line-height: 1.45; margin: 0 0 7px; break-inside: avoid; }
.article .toc a { color: var(--paper); text-decoration: none; border-bottom: 1px solid transparent; transition: color .15s, border-color .15s; }
.article .toc a:hover { color: var(--volt); border-bottom-color: currentColor; }
.article .toc a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* The Season 2 notice on the guides that describe today's servers: gold, so it reads as news
   rather than as one more tip. */
.article .callout-s2 {
  border-left-color: var(--gold);
  background: linear-gradient(90deg, #ffd43b14, transparent 70%), var(--surface);
}
.article .callout-s2 b { color: var(--gold); }

/* Category · date · read time, above the H1. */
.post-head {
  display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin: 18px 0 0;
  font-family: var(--meta); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.post-head .post-cat { color: var(--volt); }
.post-head span + span::before { content: "·"; margin-right: 14px; color: var(--line); }

/* Every guide ends the same way: three more to read, then the server. */
.article .related { margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--line); }
.article .related h2 { margin: 0 0 14px; font-size: 20px; }
.article .related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.article .related li {
  margin: 0; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); font-size: 15px; line-height: 1.5;
}
.article .related li a { display: block; color: var(--paper); text-decoration: none; font-weight: 600; margin-bottom: 3px; }
.article .related li a:hover { color: var(--volt); }
.article .related li span { color: var(--muted); font-size: 14px; }
.article-cta {
  margin-top: 28px; padding: 26px 26px 28px; border-radius: var(--radius);
  background: linear-gradient(135deg, #7dff520f, transparent 60%), var(--surface);
  border: 1px solid var(--line); border-top: 2px solid var(--volt);
}
.article-cta h2 { margin: 8px 0 10px; font-size: 26px; }
.article-cta p { margin: 0 0 4px; color: #c1cdc4; }
.article-cta .hero-actions { margin-top: 18px; }

.breadcrumb {
  font-family: var(--meta); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--volt); }

.discord-count {
  font-family: var(--meta); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--volt); margin: 0 0 22px;
}

/* ---------- games marquee ----------
   Built as a logo wall that currently renders wordmarks.

   Each item is a fixed-height box: that optical height lock is what makes a real logo wall look
   deliberate rather than like six images pasted in a line, because logos have wildly different
   aspect ratios and locking width instead makes a wide one dwarf a square one.

   To swap in a real logo, replace the .wordmark span with
       <img src="/assets/brand/games/<name>.svg" alt="<Game>">
   and nothing else changes: the filter below forces any artwork, in any colour, to pure white. */
.games-row { padding: 30px 0 6px; }
.games-row-label {
  font-family: var(--meta); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: #6f7e72; margin: 0 0 20px;
}
.marquee {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track { display: flex; width: max-content; }
.marquee-group {
  display: flex; align-items: center; gap: clamp(38px, 5.2vw, 76px);
  padding-right: clamp(38px, 5.2vw, 76px); flex: none;
}

/* The optical height lock. */
.game-mark {
  display: inline-flex; align-items: center; justify-content: center;
  height: 30px; flex: none;
}
.game-mark img {
  /* height, not max-height: a logo SVG defined only by a viewBox has no intrinsic size, so
     max-height leaves it with no height at all and it renders at zero. Setting height explicitly
     lets the browser derive the width from the viewBox aspect ratio. */
  height: 100%; width: auto; max-width: 200px; object-fit: contain;
  /* Any logo, any colour, forced to flat white — the standard treatment for a partner wall. */
  filter: brightness(0) invert(1);
  opacity: .52; transition: opacity .28s;
}
.game-mark .wordmark {
  font-family: var(--display); font-size: clamp(18px, 2vw, 25px);
  letter-spacing: .045em; text-transform: uppercase; white-space: nowrap;
  color: var(--paper); opacity: .52;
  transition: opacity .28s, text-shadow .28s;
  line-height: 1;
}
.game-mark:hover img { opacity: 1; }
.game-mark:hover .wordmark { opacity: 1; text-shadow: 0 0 24px #edf2ea2e; }

@media (prefers-reduced-motion: no-preference) {
    /* Duration is tuned to the track length, not picked: ~15 marks scroll for 105s so the
     speed matches what 6 marks did at 42s. Add or remove games and this needs revisiting. */
  .marquee-track { animation: slide 105s linear infinite; will-change: transform; }
  .marquee:hover .marquee-track,
  .marquee:focus-within .marquee-track { animation-play-state: paused; }
  @keyframes slide {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
  }
}
/* No motion preference: the row wraps and sits still, and the duplicate group is dropped. */
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { flex-wrap: wrap; width: 100%; }
  .marquee-group { flex-wrap: wrap; gap: 22px 38px; padding-right: 0; }
  .marquee-group[aria-hidden="true"] { display: none; }
}
@media (max-width: 620px) { .game-mark { height: 24px; } }

/* ---- tournament strip on the hero, and the hot nav link ---- */
.event-strip {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "tag cta" "title cta" "sub cta";
  gap: 4px 20px; align-items: center; margin-top: 34px; padding: 18px 22px;
  border: 1px solid var(--line); border-left: 3px solid var(--volt); border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(125,255,82,.08), transparent 60%), var(--surface);
  color: var(--paper); text-decoration: none;
}
.event-strip:hover { border-color: var(--volt); }
.event-strip-tag { grid-area: tag; font-family: var(--meta); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--volt); }
.event-strip b { grid-area: title; font-family: var(--display); font-size: 22px; text-transform: uppercase; line-height: 1.05; }
.event-strip-sub { grid-area: sub; color: var(--muted); font-size: 13.5px; }
.event-strip-cta { grid-area: cta; font-family: var(--meta); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--volt); white-space: nowrap; }
@media (max-width: 600px) { .event-strip { grid-template-columns: 1fr; grid-template-areas: "tag" "title" "sub" "cta"; } }
.site-nav a.nav-hot { color: var(--volt); }
.site-nav a.nav-hot:hover { color: var(--volt); background: #7dff5214; }

/* Faction emblems on the faction cards. */
.faction-emblem {
  position: absolute; top: 20px; right: 20px; width: 64px; height: 64px; object-fit: contain;
  filter: drop-shadow(0 0 14px color-mix(in srgb, var(--f) 55%, transparent));
}
.faction-head { padding-right: 80px; }
@media (max-width: 560px) { .faction-emblem { width: 48px; height: 48px; } .faction-head { padding-right: 60px; } }

/* Any-amount contribution under the supporter block. */
.chip-in {
  display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; align-items: center;
  margin-top: 22px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
}
.chip-in img { background: #fff; padding: 6px; border-radius: 6px; width: 120px; height: 120px; }
.chip-in b { display: block; font-family: var(--display); font-size: 20px; text-transform: uppercase; font-weight: 400; color: var(--paper); margin-bottom: 6px; }
.chip-in p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
@media (max-width: 560px) { .chip-in { grid-template-columns: 1fr; text-align: center; } .chip-in img { margin: 0 auto; } }

/* ---------- the per-server lines under the status strip ---------- */
.server-list {
  list-style: none; margin: 12px 0 0; padding: 0;
  display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.server-list li {
  display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline;
  padding: 12px 16px; border: 1px solid var(--line); background: var(--surface); border-radius: 8px;
  font-family: var(--meta); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.server-list li b { color: var(--paper); font-family: var(--display); font-size: 17px; letter-spacing: .02em; text-transform: uppercase; }
.server-list .srv-state { color: var(--live); display: inline-flex; align-items: center; gap: 6px; }
.server-list .srv-state.is-down { color: var(--muted); }
.server-list .srv-players { color: var(--paper); }
.server-list .srv-blurb { flex-basis: 100%; text-transform: none; letter-spacing: 0; font-family: inherit; font-size: 13px; color: var(--muted); }

/* ---- BOETZ, the DayZ server: a banner, a live line, and the same cards as everywhere else ---- */
.boetz-hero { display: block; margin-bottom: 30px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #000; }
.boetz-hero img { display: block; width: 100%; height: auto; }
.boetz-hero:hover { border-color: #3c5040; }
.boetz-live {
  margin: -16px 0 26px; font-family: var(--meta); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--volt);
}
.boetz-live.is-down { color: var(--muted); }
.boetz .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .boetz .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .boetz .cards { grid-template-columns: 1fr; } }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; max-width: 74ch; }
.steps li { counter-increment: step; position: relative; padding: 14px 0 14px 46px; border-bottom: 1px solid var(--line); color: #c3cfc6; line-height: 1.65; }
.steps li:last-child { border-bottom: none; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 14px; width: 28px; height: 28px;
  display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%;
  font-family: var(--meta); font-size: 12px; color: var(--volt);
}
.steps b { color: var(--paper); }
.mod-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 8px 22px; max-width: 900px; }
.mod-list a { color: var(--paper); text-decoration: none; border-bottom: 1px solid var(--line); display: block; padding: 8px 0; }
.mod-list a:hover { color: var(--volt); border-color: var(--volt); }

/* Touch screens: every control in the header and footer at least 44px tall, the size a thumb
   can hit without zooming (WCAG 2.5.5). A mouse keeps the tighter desktop spacing. */
@media (pointer: coarse) {
  .site-nav a, .nav-drop summary { min-height: 44px; display: inline-flex; align-items: center; }
  .footer-top nav { gap: 2px 4px; }
  .footer-top nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; margin: 0 -2px; }
}
@media (max-width: 720px) {
  .site-nav a { font-size: 12px; }
}
