:root {
  --bg: #070707;
  --bg-soft: #0c0c0d;
  --panel: #111113;
  --panel-2: #171719;
  --panel-3: #0e0e10;
  --text: #f3f3f3;
  --muted: #9b9ba1;
  --muted-2: #6d6d73;
  --line: #29292e;
  --line-soft: rgba(255,255,255,.07);
  --accent: #d71920;
  --accent-2: #ff3139;
  --accent-dark: #6f0d11;
  --good: #4bd16f;
  --bad: #ff4b53;
  --neutral: #8b8b92;
  --max: 1240px;
  --radius: 16px;
  --shadow: 0 24px 70px rgba(0,0,0,.42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  background:
    radial-gradient(circle at 85% 5%, rgba(215,25,32,.08), transparent 24rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
::selection { background: var(--accent); color: #fff; }
.shell { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.hidden { display: none !important; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  min-height: 72px;
  padding: 12px max(20px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(7,7,7,.9);
  border-bottom: 1px solid rgba(255,255,255,.07);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: linear-gradient(145deg, var(--accent-2), #8c0e13);
  border: 1px solid rgba(255,255,255,.14);
  font-weight: 950;
  font-size: 13px;
  letter-spacing: -.05em;
  transform: skew(-6deg);
  box-shadow: 0 10px 30px rgba(215,25,32,.25);
}
.brand-mark::after { content:""; position:absolute; inset:5px; border:1px solid rgba(255,255,255,.14); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand-copy strong { font-size: 16px; letter-spacing: .015em; }
.brand-copy small { color: var(--muted); font-size: 9px; letter-spacing: .18em; margin-top: 6px; }
.main-nav { display: flex; align-items: center; gap: 24px; color: #d5d5d8; font-size: 13px; font-weight: 700; }
.main-nav > a:not(.button) { position:relative; padding:8px 0; }
.main-nav > a:not(.button)::after { content:""; position:absolute; left:0; right:100%; bottom:0; height:2px; background:var(--accent); transition:right .18s ease; }
.main-nav > a:not(.button):hover::after, .main-nav > a.active::after { right:0; }
.main-nav a:hover, .main-nav a.active { color: #fff; }
.nav-toggle { display: none; color: #fff; background: transparent; border: 0; font-size: 24px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 19px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--accent-2), #bc1117);
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .025em;
  cursor: pointer;
  box-shadow: inset 0 1px rgba(255,255,255,.13), 0 10px 28px rgba(215,25,32,.12);
  transition: transform .16s ease, filter .16s ease, border-color .16s ease, background .16s ease;
}
.button:hover { transform: translateY(-1px); filter: brightness(1.08); }
.button-small { min-height: 38px; padding-inline: 14px; }
.button-ghost { background: rgba(255,255,255,.025); border-color: #45454b; box-shadow:none; }
.button-ghost:hover { background: #18181b; border-color: #65656c; }

/* Homepage */
.hero {
  padding-top: 108px;
  padding-bottom: 90px;
  min-height: 650px;
  display: grid;
  align-items: center;
  position:relative;
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    radial-gradient(circle at 78% 15%, rgba(215,25,32,.16), transparent 25rem);
  background-size: 46px 46px, 46px 46px, auto;
}
.hero-grid { display: grid; grid-template-columns: 1.5fr .72fr; gap: 58px; align-items: end; }
.eyebrow { color: var(--accent-2); font-size: 11px; font-weight: 950; letter-spacing: .19em; text-transform: uppercase; }
.hero h1, .server-hero h1 { margin: 14px 0 20px; font-size: clamp(52px, 8vw, 104px); line-height: .89; letter-spacing: -.064em; }
.hero h1 span { color: var(--accent-2); }
.hero p { max-width: 720px; color: #c2c2c7; font-size: clamp(17px, 2vw, 21px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-panel {
  padding: 26px;
  background: linear-gradient(180deg, rgba(24,24,27,.94), rgba(13,13,15,.97));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.panel-kicker { font-size: 10px; letter-spacing: .18em; color: var(--muted); font-weight: 900; }
.network-status { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.network-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.network-metrics > div { padding: 16px; border-radius: 10px; background: #0c0c0e; border: 1px solid #242428; }
.network-metrics strong { display: block; font-size: 29px; }
.network-metrics span { color: var(--muted); font-size: 11px; text-transform:uppercase; letter-spacing:.07em; }

.status-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex:0 0 auto; }
.status-online { background: var(--good); color: var(--good); box-shadow: 0 0 15px currentColor; }
.status-offline { background: var(--bad); color: var(--bad); box-shadow: 0 0 15px currentColor; }
.status-unknown { background: var(--neutral); color: var(--neutral); box-shadow: 0 0 12px rgba(139,139,146,.35); }

.section { padding: 92px 0; position:relative; }
.section-dark { background: #0b0b0d; border-block: 1px solid rgba(255,255,255,.055); }
.section-accent {
  background:
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(135deg, #160405, #32080a 56%, #110304);
  background-size:42px 42px, auto;
  border-top: 1px solid #521015;
}
.section-grid-bg {
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 52px 52px;
}
.section-heading { display: grid; grid-template-columns: 1.15fr 1fr; align-items: end; gap: 44px; margin-bottom: 38px; }
.section-heading.compact { align-items: start; }
.section-heading.single-column { grid-template-columns:1fr; }
.section-heading h2, .two-column h2, .connect-grid h2 { margin: 8px 0 0; font-size: clamp(36px, 5vw, 62px); line-height: .98; letter-spacing: -.05em; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 16px; max-width: 600px; }

.server-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.server-card {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(160deg, rgba(28,28,31,.96), rgba(12,12,14,.98) 72%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 44px rgba(0,0,0,.2);
}
.server-card::before { content:""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--card-accent, var(--accent)); }
.server-card::after { content:""; position: absolute; width: 210px; height: 210px; right: -70px; top: -80px; background: radial-gradient(circle, var(--card-glow, rgba(215,25,32,.2)), transparent 68%); pointer-events:none; }
.card-top { display:flex; justify-content:space-between; gap:14px; align-items:center; }
.game-label { color: var(--muted); font-size: 10px; letter-spacing: .15em; font-weight: 900; text-transform: uppercase; }
.status-badge { display: inline-flex; align-items:center; gap:7px; color:#d2d2d6; font-size:10px; font-weight:900; letter-spacing:.09em; }
.server-card h3 { margin: 38px 0 8px; font-size: 34px; line-height: 1; letter-spacing: -.045em; }
.server-card p { color: var(--muted); margin: 0; }
.card-meta { display:flex; justify-content:space-between; align-items:flex-end; gap:20px; margin-top:38px; }
.card-players strong { display:block; font-size:19px; word-break:break-word; }
.card-players span { color:var(--muted); font-size:10px; letter-spacing:.1em; }
.card-link { font-weight:900; color:#fff; font-size:13px; }
.card-link:hover { color:var(--accent-2); }

.two-column { display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:start; }
.prose { color:#c5c5ca; font-size:18px; }
.prose p:first-child { margin-top:0; }

.site-footer { padding: 34px 0; border-top:1px solid #1f1f22; color:var(--muted); background:#070707; }
.footer-grid { display:flex; align-items:center; justify-content:space-between; gap:28px; font-size:12px; }
.footer-grid > div:first-child { display:flex; flex-direction:column; color:#fff; }
.footer-grid span { color:var(--muted); }

/* Server page */
.server-hero {
  position:relative;
  min-height:690px;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  isolation:isolate;
  border-bottom:1px solid #242428;
}
.server-hero-bg {
  position:absolute;
  inset:0;
  z-index:-5;
  background:
    radial-gradient(circle at 72% 30%, rgba(215,25,32,.26), transparent 20rem),
    radial-gradient(circle at 88% 67%, rgba(255,255,255,.035), transparent 18rem),
    linear-gradient(118deg,#101012 0%,#09090a 54%,#140607 100%);
  background-size:cover;
  background-position:center;
  transform:scale(1.015);
}
.server-hero-gridlines {
  position:absolute;
  inset:0;
  z-index:-4;
  opacity:.55;
  background-image:
    linear-gradient(rgba(255,255,255,.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.026) 1px, transparent 1px);
  background-size:54px 54px;
  mask-image:linear-gradient(90deg,transparent 0%,#000 28%,#000 100%);
}
.server-hero-gridlines::after {
  content:"";
  position:absolute;
  top:-30%;
  right:15%;
  width:1px;
  height:160%;
  background:linear-gradient(transparent,rgba(255,49,57,.85),transparent);
  transform:rotate(34deg);
  box-shadow:110px 0 rgba(255,49,57,.12), -110px 0 rgba(255,49,57,.08);
}
.server-hero-overlay { position:absolute; inset:0; z-index:-3; background:linear-gradient(180deg,rgba(7,7,7,.05),rgba(7,7,7,.24) 44%,rgba(7,7,7,.92) 91%,#070707 100%); }
.server-watermark {
  position:absolute;
  z-index:-2;
  right:-.04em;
  bottom:-.19em;
  font-size:clamp(180px,31vw,480px);
  line-height:1;
  letter-spacing:-.09em;
  font-weight:1000;
  color:rgba(255,255,255,.021);
  user-select:none;
  pointer-events:none;
}
.server-hero-content { position:relative; z-index:2; padding-top:108px; padding-bottom:54px; }
.back-link { display:inline-block; margin-bottom:34px; color:#a9a9af; font-size:11px; font-weight:900; letter-spacing:.13em; }
.back-link:hover { color:#fff; }
.hero-badge-row { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:15px; }
.hero-badge {
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:28px;
  padding:0 10px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:4px;
  background:rgba(10,10,11,.56);
  color:#d5d5d8;
  font-size:10px;
  font-weight:900;
  letter-spacing:.13em;
  text-transform:uppercase;
  backdrop-filter:blur(8px);
}
.hero-badge.primary { border-color:rgba(255,49,57,.5); background:rgba(142,12,18,.25); color:#fff; }
.server-title-row { display:grid; grid-template-columns:minmax(0,1fr) 285px; gap:42px; align-items:end; }
.server-title-block { max-width:860px; }
.server-hero h1 { font-size:clamp(58px,8.2vw,116px); margin:12px 0 13px; text-transform:uppercase; }
.server-tagline { margin:0; color:#d2d2d6; font-size:clamp(16px,2vw,21px); font-weight:780; letter-spacing:.08em; text-transform:uppercase; }
.server-status-card {
  min-width:0;
  padding:20px;
  background:linear-gradient(180deg,rgba(20,20,23,.84),rgba(11,11,13,.9));
  border:1px solid rgba(255,255,255,.11);
  border-radius:12px;
  backdrop-filter:blur(15px);
  box-shadow:0 18px 55px rgba(0,0,0,.25);
}
.status-card-top { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.status-label { color:var(--muted); font-size:9px; font-weight:900; letter-spacing:.18em; }
.status-primary { display:block; margin-top:12px; font-size:17px; line-height:1.1; letter-spacing:.015em; }
.player-line { margin-top:18px; padding-top:15px; border-top:1px solid rgba(255,255,255,.08); display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.player-line div { min-width:0; }
.player-line span { display:block; color:var(--muted); font-size:9px; letter-spacing:.12em; }
.player-line strong { display:block; margin-top:4px; font-size:22px; }
.server-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:28px; }
.join-strip {
  margin-top:24px;
  display:grid;
  grid-template-columns:auto minmax(220px,auto) 1fr;
  gap:16px;
  align-items:center;
  width:min(850px,100%);
  min-height:54px;
  padding:10px 14px;
  background:rgba(7,7,8,.58);
  border:1px solid rgba(255,255,255,.09);
  border-left:3px solid var(--accent);
  backdrop-filter:blur(10px);
}
.join-strip-label { color:var(--accent-2); font-size:9px; font-weight:950; letter-spacing:.16em; }
.join-strip strong { font-size:15px; letter-spacing:.01em; word-break:break-word; }
.join-strip-copy { color:var(--muted); font-size:12px; }

.server-nav-wrap { position:sticky; top:72px; z-index:45; background:rgba(8,8,9,.94); border-block:1px solid #242428; backdrop-filter:blur(14px); }
.server-nav { display:flex; gap:28px; overflow:auto; white-space:nowrap; scrollbar-width:none; }
.server-nav::-webkit-scrollbar { display:none; }
.server-nav a { padding:17px 0 15px; color:#a8a8ae; font-size:11px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; border-bottom:2px solid transparent; }
.server-nav a:hover { color:#fff; border-color:var(--accent); }

.section-overview { background:linear-gradient(180deg,#070707,#09090a); }
.overview-layout { display:grid; grid-template-columns:1.08fr .92fr; gap:68px; align-items:start; }
.overview-lead { margin:22px 0 0; color:#c9c9cd; font-size:clamp(18px,2.2vw,23px); line-height:1.62; max-width:750px; }
.overview-rule { width:80px; height:3px; margin:34px 0 22px; background:var(--accent); }
.overview-punchline { margin:0; color:#fff; font-size:15px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.intel-panel { border:1px solid #2a2a2f; background:linear-gradient(180deg,#121214,#0c0c0e); box-shadow:var(--shadow); }
.intel-panel-header { display:flex; justify-content:space-between; align-items:center; padding:13px 16px; border-bottom:1px solid #2a2a2f; color:#bbb; font-size:9px; font-weight:950; letter-spacing:.17em; }
.intel-crosshair { color:var(--accent-2); font-size:20px; font-weight:400; line-height:1; }
.stat-grid { display:grid; grid-template-columns:1fr 1fr; }
.stat-card { min-height:110px; padding:18px; border-right:1px solid #242428; border-bottom:1px solid #242428; background:transparent; }
.stat-card:nth-child(2n) { border-right:0; }
.stat-card span { color:var(--muted); font-size:9px; letter-spacing:.12em; text-transform:uppercase; }
.stat-card strong { display:block; margin-top:9px; font-size:19px; line-height:1.15; }
.intel-note { padding:14px 16px; color:#74747a; font-size:11px; }

.feature-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; counter-reset:feature; }
.feature-card {
  position:relative;
  overflow:hidden;
  min-height:230px;
  padding:26px 24px 24px;
  border-radius:12px;
  background:linear-gradient(155deg,#161618,#0f0f11 80%);
  border:1px solid #29292e;
  counter-increment:feature;
}
.feature-card::before { content:counter(feature, decimal-leading-zero); position:absolute; top:18px; right:20px; color:rgba(255,255,255,.07); font-size:42px; font-weight:950; letter-spacing:-.06em; }
.feature-card::after { content:""; position:absolute; left:0; bottom:0; width:72px; height:3px; background:var(--accent); }
.feature-card h3 { margin:58px 0 10px; font-size:23px; line-height:1.05; letter-spacing:-.025em; }
.feature-card p { margin:0; color:var(--muted); font-size:14px; line-height:1.55; }

.event-grid, .mod-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.event-card, .mod-card { position:relative; overflow:hidden; padding:24px; min-height:245px; border-radius:12px; border:1px solid var(--line); background:linear-gradient(160deg,#151517,#0f0f11); }
.event-card::before, .mod-card::before { content:""; position:absolute; top:0; left:0; right:0; height:2px; background:linear-gradient(90deg,var(--accent),transparent 72%); }
.event-card .event-type, .mod-card .mod-category { color:var(--accent-2); font-size:9px; letter-spacing:.15em; font-weight:950; text-transform:uppercase; }
.event-card h3, .mod-card h3 { margin:13px 0 9px; font-size:24px; line-height:1.05; letter-spacing:-.025em; }
.event-card p, .mod-card p { margin:0; color:var(--muted); font-size:14px; }
.event-metrics { display:flex; flex-wrap:wrap; gap:7px; margin-top:20px; }
.event-metric { padding:6px 8px; border-radius:4px; border:1px solid #303036; background:#0b0b0d; color:#c9c9ce; font-size:9px; font-weight:850; letter-spacing:.08em; text-transform:uppercase; }
.mod-card .card-link { display:inline-block; margin-top:18px; }

.rules-list { display:grid; gap:10px; counter-reset:rule; }
.rule { counter-increment:rule; display:grid; grid-template-columns:58px 1fr; gap:14px; padding:18px; border:1px solid var(--line); border-radius:10px; background:#101012; }
.rule::before { content:counter(rule, decimal-leading-zero); color:var(--accent-2); font-weight:950; font-size:20px; }
.rule strong { display:block; margin-bottom:4px; }
.rule span { color:var(--muted); }

.connect-grid { display:grid; grid-template-columns:1.15fr .85fr; gap:54px; align-items:center; }
.connect-grid p { color:#c9b3b5; max-width:680px; }
.connect-card { padding:24px; background:rgba(0,0,0,.32); border:1px solid rgba(255,255,255,.13); border-radius:12px; box-shadow:0 22px 55px rgba(0,0,0,.2); }
.connect-card-top { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.connect-card-top span:first-child { color:#c9a8aa; font-size:9px; font-weight:900; letter-spacing:.14em; }
.connect-pulse { width:8px; height:8px; border-radius:50%; background:var(--accent-2); box-shadow:0 0 18px rgba(255,49,57,.8); }
.connect-card > strong { display:block; margin:14px 0 20px; font-size:clamp(20px,3vw,31px); line-height:1.15; word-break:break-word; }

body[data-server-id="pzb42"] .server-hero-bg {
  background:
    radial-gradient(circle at 73% 30%, rgba(227,21,29,.28), transparent 20rem),
    radial-gradient(circle at 82% 72%, rgba(255,255,255,.032), transparent 20rem),
    linear-gradient(118deg,#101012 0%,#09090a 52%,#190506 100%);
}
body[data-server-id="pzb42"] .server-watermark { content:"B42"; }

@media (max-width: 1000px) {
  .hero-grid, .section-heading, .two-column, .connect-grid, .overview-layout { grid-template-columns:1fr; }
  .server-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .server-title-row { grid-template-columns:1fr; }
  .server-status-card { width:min(100%,360px); }
  .feature-grid, .event-grid, .mod-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .overview-layout { gap:42px; }
}

@media (max-width: 720px) {
  .shell { width:min(100% - 28px,var(--max)); }
  .site-header { min-height:64px; padding-inline:14px; }
  .brand-copy small { display:none; }
  .nav-toggle { display:block; }
  .main-nav { position:absolute; inset:64px 0 auto 0; display:none; flex-direction:column; align-items:stretch; gap:0; padding:16px 14px 20px; background:#0b0b0d; border-bottom:1px solid var(--line); }
  .main-nav.open { display:flex; }
  .main-nav a { padding:12px; }
  .server-nav-wrap { top:64px; }
  .hero { padding-top:72px; min-height:auto; }
  .hero-grid { gap:36px; }
  .hero h1 { font-size:52px; }
  .section { padding:66px 0; }
  .server-grid, .feature-grid, .event-grid, .mod-grid { grid-template-columns:1fr; }
  .server-card { min-height:285px; }
  .footer-grid { align-items:flex-start; flex-direction:column; }
  .server-hero { min-height:650px; }
  .server-hero-content { padding-top:84px; padding-bottom:34px; }
  .server-hero h1 { font-size:clamp(52px,17vw,78px); }
  .join-strip { grid-template-columns:1fr; gap:5px; padding:12px; }
  .join-strip-copy { display:none; }
  .stat-grid { grid-template-columns:1fr 1fr; }
  .stat-card { min-height:100px; }
  .feature-card { min-height:210px; }
  .server-watermark { font-size:250px; right:-.08em; bottom:-.08em; }
}

@media (max-width: 450px) {
  .player-line { grid-template-columns:1fr 1fr; }
  .stat-grid { grid-template-columns:1fr; }
  .stat-card { border-right:0; }
  .server-actions .button { width:100%; }
}

/* V3 branding refresh */
:root {
  --brand-cyan: #83d8ef;
  --brand-cyan-strong: #50bfe2;
  --brand-magenta: #d66af1;
  --brand-orange: #ff9d62;
  --brand-violet: #63506f;
  --brand-plum: #2e182f;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -10;
  background:
    radial-gradient(circle at 14% 10%, rgba(214,106,241,.09), transparent 18rem),
    radial-gradient(circle at 87% 12%, rgba(80,191,226,.08), transparent 18rem),
    radial-gradient(circle at 78% 74%, rgba(255,157,98,.05), transparent 22rem);
}

.brand-mark.brand-mark-image {
  width: 54px;
  height: 54px;
  padding: 0;
  overflow: hidden;
  border-radius: 10px;
  transform: none;
  background:
    linear-gradient(145deg, rgba(215,25,32,.28), rgba(80,191,226,.18) 48%, rgba(214,106,241,.18));
  border-color: rgba(255,255,255,.18);
  box-shadow:
    0 16px 30px rgba(215,25,32,.16),
    0 0 0 1px rgba(80,191,226,.08),
    0 0 30px rgba(214,106,241,.12);
}

.brand-mark.brand-mark-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.brand-mark.brand-mark-image::after {
  inset: 4px;
  border-color: rgba(255,255,255,.16);
}

.site-header {
  background:
    linear-gradient(180deg, rgba(0,0,0,.95), rgba(7,7,7,.94)),
    linear-gradient(90deg, rgba(215,25,32,.06), rgba(80,191,226,.03) 38%, rgba(214,106,241,.05) 65%, transparent);
}

.button {
  background: linear-gradient(180deg, #ff323c 0%, #d71920 68%, #b81219 100%);
  box-shadow:
    inset 0 1px rgba(255,255,255,.15),
    0 10px 28px rgba(215,25,32,.16),
    0 0 0 1px rgba(214,106,241,.06);
}

.button-ghost {
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)),
    rgba(255,255,255,.01);
}

.button-ghost:hover {
  border-color: rgba(131,216,239,.48);
  box-shadow: 0 0 0 1px rgba(131,216,239,.10), inset 0 0 30px rgba(80,191,226,.05);
}

.hero,
.section-grid-bg {
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    radial-gradient(circle at 78% 15%, rgba(215,25,32,.15), transparent 25rem),
    radial-gradient(circle at 18% 12%, rgba(80,191,226,.06), transparent 19rem),
    radial-gradient(circle at 62% 8%, rgba(214,106,241,.05), transparent 15rem);
}

.server-hero-bg {
  background:
    radial-gradient(circle at 72% 30%, rgba(215,25,32,.25), transparent 20rem),
    radial-gradient(circle at 18% 22%, rgba(80,191,226,.08), transparent 18rem),
    radial-gradient(circle at 84% 15%, rgba(214,106,241,.10), transparent 17rem),
    radial-gradient(circle at 80% 68%, rgba(255,157,98,.06), transparent 16rem),
    linear-gradient(118deg,#101012 0%,#09090a 54%,#140607 100%);
}

body[data-server-id="pzb42"] .server-hero-bg {
  background:
    radial-gradient(circle at 73% 30%, rgba(227,21,29,.28), transparent 20rem),
    radial-gradient(circle at 18% 20%, rgba(80,191,226,.08), transparent 18rem),
    radial-gradient(circle at 82% 18%, rgba(214,106,241,.10), transparent 18rem),
    radial-gradient(circle at 88% 72%, rgba(255,157,98,.05), transparent 16rem),
    linear-gradient(118deg,#101012 0%,#09090a 52%,#190506 100%);
}

.hero-badge:not(.primary):nth-child(2), .event-metric:nth-child(2n) {
  border-color: rgba(80,191,226,.30);
}
.hero-badge:not(.primary):nth-child(3), .event-metric:nth-child(3n) {
  border-color: rgba(214,106,241,.24);
}
.hero-badge:not(.primary):nth-child(4), .event-metric:nth-child(4n) {
  border-color: rgba(255,157,98,.24);
}

.server-status-card,
.intel-panel,
.feature-card,
.event-card,
.mod-card,
.connect-card,
.server-card,
.hero-panel {
  box-shadow:
    0 20px 55px rgba(0,0,0,.22),
    inset 0 1px rgba(255,255,255,.02);
}

.server-status-card::before,
.intel-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(215,25,32,.75), rgba(80,191,226,.35) 45%, rgba(214,106,241,.35) 78%, transparent 100%);
}

.server-status-card,
.intel-panel {
  position: relative;
  background:
    linear-gradient(160deg, rgba(18,18,20,.95), rgba(11,11,13,.98));
}

.player-line.single {
  grid-template-columns: 1fr;
}

.player-line.single > div {
  border-right: 0;
}

#capacity-stat.hidden {
  display: none;
}

.status-primary {
  letter-spacing: .02em;
}

.server-tagline {
  color: #dddde2;
}

.back-link, .card-link:hover {
  color: var(--brand-cyan);
}

.main-nav > a:not(.button)::after {
  background: linear-gradient(90deg, var(--accent), var(--brand-cyan-strong));
}

.section-accent {
  background:
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(135deg, #140507, #31080d 42%, #1b0e1d 70%, #0f1018);
}

.connect-card {
  background:
    linear-gradient(180deg, rgba(0,0,0,.42), rgba(0,0,0,.22)),
    linear-gradient(160deg, rgba(215,25,32,.10), rgba(80,191,226,.04) 48%, rgba(214,106,241,.05));
}

.connect-pulse {
  background: var(--brand-cyan-strong);
  box-shadow: 0 0 18px rgba(80,191,226,.8);
}

.event-card::after,
.mod-card::after,
.feature-card::before,
.server-card::after {
  pointer-events: none;
}

.server-card::after,
.hero-panel::after {
  background: radial-gradient(circle, rgba(80,191,226,.12), transparent 60%);
}

.server-card::before {
  background: linear-gradient(180deg, var(--card-accent, var(--accent)), rgba(80,191,226,.65));
}

.intel-crosshair,
.connect-card-top span:first-child,
.panel-kicker {
  color: var(--brand-cyan);
}

.site-footer {
  background:
    linear-gradient(180deg, #070707, #050505),
    linear-gradient(90deg, rgba(214,106,241,.04), transparent 30%, rgba(80,191,226,.03) 72%, transparent);
}

@media (max-width: 720px) {
  .brand-mark.brand-mark-image {
    width: 46px;
    height: 46px;
  }
}

/* V3.1 cache-safe header/logo correction */
.brand {
  min-height: 56px;
}
.brand-mark.brand-mark-image {
  flex: 0 0 48px;
  width: 48px !important;
  height: 48px !important;
  min-width: 48px;
  min-height: 48px;
  max-width: 48px;
  max-height: 48px;
  overflow: hidden !important;
  border-radius: 8px;
}
.brand-mark.brand-mark-image img {
  display: block !important;
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  max-width: 48px !important;
  max-height: 48px !important;
  object-fit: cover !important;
  object-position: center !important;
}
.site-header {
  overflow: visible;
}
.server-status-card .player-line.hidden {
  display: none !important;
}
.server-status-card:has(.player-line.hidden) {
  padding-bottom: 26px;
}

@media (max-width: 720px) {
  .brand-mark.brand-mark-image,
  .brand-mark.brand-mark-image img {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    max-width: 42px !important;
    max-height: 42px !important;
  }
}

/* V3.2 visual identity + join/gallery infrastructure */
.site-header::after {
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-1px;
  height:1px;
  pointer-events:none;
  background:linear-gradient(90deg,
    transparent 0%,
    rgba(255,49,57,.72) 18%,
    rgba(80,191,226,.44) 46%,
    rgba(214,106,241,.42) 68%,
    rgba(255,157,98,.34) 84%,
    transparent 100%);
}

.brand {
  min-height:68px;
}

.brand-mark.brand-mark-image {
  flex:0 0 64px;
  width:64px !important;
  height:64px !important;
  min-width:64px;
  min-height:64px;
  max-width:64px;
  max-height:64px;
  border-radius:11px;
  overflow:hidden !important;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.14),
    0 0 24px rgba(255,49,57,.16),
    -8px 4px 30px rgba(80,191,226,.10),
    10px -2px 28px rgba(214,106,241,.11);
}

.brand-mark.brand-mark-image img {
  width:64px !important;
  height:64px !important;
  min-width:64px !important;
  min-height:64px !important;
  max-width:64px !important;
  max-height:64px !important;
  object-fit:cover !important;
  object-position:center !important;
}

.brand-copy strong {
  font-size:17px;
}

.brand-copy small {
  color:#a8a8af;
}

.server-hero::after {
  content:"";
  position:absolute;
  z-index:-2;
  width:540px;
  height:540px;
  right:-150px;
  top:30px;
  border-radius:50%;
  background:
    radial-gradient(circle at 36% 38%, rgba(80,191,226,.09), transparent 34%),
    radial-gradient(circle at 62% 40%, rgba(214,106,241,.08), transparent 38%),
    radial-gradient(circle at 58% 68%, rgba(255,157,98,.05), transparent 36%);
  filter:blur(10px);
  pointer-events:none;
}

.server-status-card::before,
.intel-panel::before,
.connect-card::before {
  background:linear-gradient(90deg,
    var(--accent) 0%,
    var(--accent) 28%,
    var(--brand-cyan-strong) 52%,
    var(--brand-magenta) 74%,
    var(--brand-orange) 100%);
  opacity:.78;
}

.connect-card {
  position:relative;
  overflow:hidden;
}
.connect-card::before {
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:1px;
}

.section-gallery {
  overflow:hidden;
  background:
    radial-gradient(circle at 10% 12%, rgba(80,191,226,.08), transparent 22rem),
    radial-gradient(circle at 90% 12%, rgba(214,106,241,.07), transparent 20rem),
    #080809;
  border-block:1px solid rgba(255,255,255,.055);
}

.gallery-grid {
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  gap:14px;
}
.gallery-card {
  position:relative;
  margin:0;
  overflow:hidden;
  min-height:280px;
  grid-column:span 4;
  border:1px solid #2c2c31;
  border-radius:12px;
  background:#0d0d0f;
  box-shadow:0 20px 60px rgba(0,0,0,.3);
}
.gallery-card:nth-child(1),
.gallery-card:nth-child(4n) {
  grid-column:span 8;
}
.gallery-card img {
  width:100%;
  height:100%;
  min-height:280px;
  display:block;
  object-fit:cover;
  transition:transform .3s ease, filter .3s ease;
}
.gallery-card:hover img {
  transform:scale(1.018);
  filter:brightness(1.05);
}
.gallery-card::after {
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg, transparent 56%, rgba(0,0,0,.78));
}
.gallery-card figcaption {
  position:absolute;
  z-index:2;
  left:18px;
  right:18px;
  bottom:15px;
  color:#fff;
  font-size:13px;
  font-weight:800;
}

.join-guide-section {
  background:
    linear-gradient(rgba(255,255,255,.014) 1px, transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.014) 1px,transparent 1px),
    radial-gradient(circle at 16% 50%, rgba(80,191,226,.045), transparent 20rem),
    #0a0a0b;
  background-size:52px 52px,52px 52px,auto,auto;
  border-top:1px solid rgba(255,255,255,.055);
}
.join-steps {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.join-step {
  position:relative;
  min-height:220px;
  padding:24px;
  overflow:hidden;
  border:1px solid #2c2c31;
  border-radius:12px;
  background:linear-gradient(160deg,#151517,#0e0e10);
}
.join-step::before {
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:2px;
  background:linear-gradient(90deg,var(--accent),transparent 72%);
}
.join-step:nth-child(2)::before {
  background:linear-gradient(90deg,var(--brand-cyan-strong),transparent 72%);
}
.join-step:nth-child(3)::before {
  background:linear-gradient(90deg,var(--brand-magenta),var(--brand-orange),transparent 82%);
}
.join-step > span {
  color:rgba(255,255,255,.08);
  font-size:50px;
  line-height:1;
  font-weight:950;
  letter-spacing:-.06em;
}
.join-step h3 {
  margin:20px 0 9px;
  font-size:24px;
  line-height:1.05;
  letter-spacing:-.025em;
}
.join-step p {
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
}

.connect-links {
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:10px;
}
.connect-links .button {
  min-height:40px;
  padding-inline:13px;
}

@media (max-width:1000px) {
  .gallery-card,
  .gallery-card:nth-child(1),
  .gallery-card:nth-child(4n) {
    grid-column:span 6;
  }
  .join-steps {
    grid-template-columns:1fr;
  }
  .join-step {
    min-height:0;
  }
}

@media (max-width:720px) {
  .brand {
    min-height:54px;
  }
  .brand-mark.brand-mark-image,
  .brand-mark.brand-mark-image img {
    width:52px !important;
    height:52px !important;
    min-width:52px !important;
    min-height:52px !important;
    max-width:52px !important;
    max-height:52px !important;
  }
  .gallery-card,
  .gallery-card:nth-child(1),
  .gallery-card:nth-child(4n) {
    grid-column:1 / -1;
    min-height:220px;
  }
  .gallery-card img {
    min-height:220px;
  }
}

/* V3.3 player-facing server information */
.status-external-link {
  display:inline-block;
  margin-top:10px;
  color:var(--brand-cyan);
  font-size:11px;
  font-weight:850;
  letter-spacing:.03em;
}
.status-external-link:hover { color:#fff; }

.section-cta-row {
  display:flex;
  justify-content:center;
  margin-top:24px;
}
.section-cta-row .button { min-width:250px; }

.mod-card:nth-child(2)::before,
.server-link-card:nth-child(2)::before { background:linear-gradient(90deg,var(--brand-cyan-strong),transparent 72%); }
.mod-card:nth-child(3)::before,
.server-link-card:nth-child(3)::before { background:linear-gradient(90deg,var(--brand-magenta),transparent 72%); }
.mod-card:nth-child(4)::before,
.server-link-card:nth-child(4)::before { background:linear-gradient(90deg,var(--brand-orange),transparent 72%); }
.mod-card:nth-child(5)::before { background:linear-gradient(90deg,var(--brand-cyan-strong),var(--brand-magenta),transparent 82%); }
.mod-card:nth-child(6)::before { background:linear-gradient(90deg,var(--accent),var(--brand-orange),transparent 82%); }

.server-links-section {
  background:
    linear-gradient(rgba(255,255,255,.014) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.014) 1px,transparent 1px),
    radial-gradient(circle at 18% 20%,rgba(80,191,226,.055),transparent 22rem),
    radial-gradient(circle at 82% 24%,rgba(214,106,241,.045),transparent 20rem),
    #09090a;
  background-size:52px 52px,52px 52px,auto,auto;
  border-top:1px solid rgba(255,255,255,.055);
  border-bottom:1px solid rgba(255,255,255,.055);
}
.server-links-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.server-link-card {
  position:relative;
  overflow:hidden;
  min-height:220px;
  padding:24px;
  border:1px solid #2b2b30;
  border-radius:12px;
  background:linear-gradient(160deg,#151517,#0e0e10);
  box-shadow:0 20px 55px rgba(0,0,0,.22);
}
.server-link-card::before {
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:2px;
  background:linear-gradient(90deg,var(--accent),transparent 72%);
}
.server-link-category {
  color:var(--accent-2);
  font-size:9px;
  font-weight:950;
  letter-spacing:.15em;
  text-transform:uppercase;
}
.server-link-card h3 {
  margin:14px 0 10px;
  font-size:24px;
  line-height:1.05;
}
.server-link-card p {
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
  word-break:break-word;
}
.server-link-action {
  display:inline-flex;
  align-items:center;
  min-height:38px;
  margin-top:20px;
  padding:0;
  border:0;
  background:transparent;
  color:#fff;
  font:inherit;
  font-size:13px;
  font-weight:900;
  cursor:pointer;
}
.server-link-action:hover { color:var(--brand-cyan); }

.connection-details {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  margin:-5px 0 20px;
  padding:13px 0 0;
  border-top:1px solid rgba(255,255,255,.08);
}
.connection-details span {
  display:block;
  color:var(--muted);
  font-size:8px;
  font-weight:900;
  letter-spacing:.14em;
}
.connection-details strong {
  display:block;
  margin-top:4px;
  color:#dddde1;
  font-size:12px;
  word-break:break-word;
}

@media (max-width:1100px) {
  .server-links-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:720px) {
  .server-links-grid { grid-template-columns:1fr; }
  .server-link-card { min-height:0; }
  .connection-details { grid-template-columns:1fr; }
}


/* V3.4 live BattleMetrics + visual Workshop cards */
.player-line {
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
}
.player-line > div {
  padding-right: 10px;
  border-right: 1px solid rgba(255,255,255,.07);
}
.player-line > div:last-child,
.player-line > div.hidden + div:last-child {
  border-right: 0;
}
.player-line > div.hidden {
  display: none;
}
.status-meta {
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid rgba(255,255,255,.07);
  color: var(--brand-cyan);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.status-meta.hidden { display:none; }

.mod-card {
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 420px;
}
.mod-card-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 155px;
  height: 155px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background:
    radial-gradient(circle at 25% 25%, rgba(80,191,226,.10), transparent 10rem),
    radial-gradient(circle at 80% 35%, rgba(214,106,241,.10), transparent 10rem),
    linear-gradient(135deg,#0b0b0d,#151116);
}
.mod-card-media::after {
  content: "STEAM WORKSHOP";
  position: absolute;
  right: 10px;
  bottom: 9px;
  padding: 5px 7px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 4px;
  background: rgba(5,5,6,.82);
  color: rgba(255,255,255,.76);
  font-size: 7px;
  font-weight: 950;
  letter-spacing: .12em;
}
.mod-card-media img {
  width: 100%;
  height: 100%;
  padding: 10px;
  display: block;
  background: rgba(0,0,0,.18);
}
.mod-card-media:hover img {
  transform: scale(1.025);
}
.mod-card-media img {
  transition: transform .18s ease;
}
.mod-card-media-fallback span {
  color: rgba(255,255,255,.18);
  font-size: 48px;
  font-weight: 950;
  letter-spacing: -.05em;
}
.mod-card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 21px 24px 24px;
}
.mod-card-content .card-link {
  margin-top: auto;
  padding-top: 20px;
}
.mod-card h3 {
  font-size: 22px;
}
.mod-card p {
  line-height: 1.55;
}

@media (max-width:720px) {
  .mod-card {
    min-height: 0;
  }
  .mod-card-media {
    height: 180px;
  }
}


/* V3.6 live-status visual upgrade */
.server-status-card {
  background:
    radial-gradient(circle at 85% 22%, rgba(80,191,226,.11), transparent 9rem),
    radial-gradient(circle at 18% 12%, rgba(214,106,241,.10), transparent 8rem),
    linear-gradient(165deg, rgba(17,18,22,.98), rgba(10,10,12,.98) 58%, rgba(19,8,10,.98));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 24px 70px rgba(0,0,0,.35), inset 0 1px rgba(255,255,255,.03);
}

.status-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.status-label {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  color: var(--brand-cyan);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .16em;
}

.status-dot {
  width: 12px;
  height: 12px;
  box-shadow: 0 0 0 0 rgba(255,255,255,.2);
}
.status-online {
  background: var(--brand-cyan-strong);
  box-shadow: 0 0 0 4px rgba(80,191,226,.16), 0 0 18px rgba(80,191,226,.85);
}
.status-offline {
  background: #ff4048;
  box-shadow: 0 0 0 4px rgba(255,64,72,.14), 0 0 16px rgba(255,64,72,.55);
}
.status-unknown {
  background: #d0b15f;
  box-shadow: 0 0 0 4px rgba(208,177,95,.12), 0 0 16px rgba(208,177,95,.4);
}

.status-primary {
  margin-top: 16px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 950;
  letter-spacing: -.02em;
  line-height: .96;
}

.status-address {
  margin-top: 10px;
  color: rgba(255,255,255,.76);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}

.status-external-link {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.status-external-link.hidden { display:none; }

.player-line {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
  gap: 10px;
}
.player-line > div {
  padding: 12px 12px 11px;
  border: 1px solid rgba(255,255,255,.07);
  border-right: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.01));
}
.player-line span {
  color: rgba(255,255,255,.55);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .13em;
}
.player-line strong {
  margin-top: 6px;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1;
}
.status-meta {
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid rgba(255,255,255,.07);
  color: var(--brand-cyan);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .14em;
}

@media (max-width: 720px) {
  .status-primary {
    font-size: 28px;
  }
  .status-address {
    font-size: 11px;
  }
}


/* V3.8 official Build 42 gallery fixes */
.gallery-source {
  display: inline-block;
  margin-top: 8px;
  color: var(--brand-cyan);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .10em;
  text-transform: uppercase;
}
.gallery-source:hover {
  color: #fff;
}


/* V3.9 representative Build 42 gallery polish */
.section-gallery .section-heading {
  margin-bottom: 30px;
}
.section-gallery .section-heading > p {
  max-width: 590px;
}
#gallery-kicker {
  color: var(--brand-cyan);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.gallery-card,
.gallery-card:nth-child(1),
.gallery-card:nth-child(4n) {
  grid-column: span 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(18,18,21,.96), rgba(10,10,12,.98));
  box-shadow: 0 20px 52px rgba(0,0,0,.28);
}
.gallery-card::after {
  display: none;
}
.gallery-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #09090b;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  display: block;
  transition: transform .28s ease, filter .28s ease;
}
.gallery-media:hover img {
  transform: scale(1.022);
  filter: brightness(1.055) contrast(1.02);
}
.gallery-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid rgba(80,191,226,.42);
  border-radius: 999px;
  background: rgba(5,8,10,.80);
  color: #bcefff;
  box-shadow: 0 8px 22px rgba(0,0,0,.24);
  backdrop-filter: blur(8px);
  font-size: 8px;
  font-weight: 950;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.gallery-card figcaption {
  position: static;
  z-index: auto;
  left: auto;
  right: auto;
  bottom: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  min-height: 100px;
  padding: 16px 17px 17px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}
.gallery-caption {
  display: block;
}
.gallery-source {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  padding-top: 13px;
  color: var(--brand-cyan);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.gallery-source:hover {
  color: #fff;
}

@media (max-width: 980px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-card figcaption {
    min-height: 88px;
  }
}


/* V3.10 actual server map-stack locations */
.section-locations {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px),
    radial-gradient(circle at 12% 15%, rgba(80,191,226,.08), transparent 23rem),
    radial-gradient(circle at 88% 15%, rgba(214,106,241,.08), transparent 25rem),
    #09090a;
  background-size: 48px 48px, 48px 48px, auto, auto, auto;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.section-locations::before {
  content: "WORLD";
  position: absolute;
  right: -16px;
  top: 20px;
  color: rgba(255,255,255,.018);
  font-size: clamp(110px, 20vw, 285px);
  font-weight: 950;
  line-height: .75;
  letter-spacing: -.08em;
  pointer-events: none;
}
.locations-heading {
  position: relative;
  z-index: 1;
}
#locations-kicker {
  color: var(--brand-magenta, #d66af1);
}
.location-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.location-card {
  position: relative;
  min-height: 178px;
  padding: 24px 22px 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(20,20,23,.98), rgba(10,10,12,.98));
  box-shadow: 0 20px 52px rgba(0,0,0,.25);
}
.location-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: var(--loc-accent, var(--accent-2));
  box-shadow: 0 0 24px color-mix(in srgb, var(--loc-accent, var(--accent-2)) 55%, transparent);
}
.location-card::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  right: -55px;
  bottom: -65px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--loc-accent, var(--accent-2)) 12%, transparent), transparent 70%);
  pointer-events: none;
}
.location-red { --loc-accent: #ff3139; }
.location-cyan { --loc-accent: #50bfe2; }
.location-magenta { --loc-accent: #d66af1; }
.location-orange { --loc-accent: #f09a4a; }
.location-number {
  position: absolute;
  top: 12px;
  right: 16px;
  color: rgba(255,255,255,.045);
  font-size: 42px;
  font-weight: 950;
  line-height: 1;
}
.location-category {
  position: relative;
  z-index: 1;
  color: var(--loc-accent, var(--accent-2));
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.location-card h3 {
  position: relative;
  z-index: 1;
  margin: 22px 0 28px;
  max-width: 90%;
  font-size: 22px;
  line-height: 1.08;
  letter-spacing: -.025em;
}
.location-foot {
  position: absolute;
  z-index: 1;
  left: 22px;
  right: 22px;
  bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255,255,255,.46);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .12em;
}
.location-foot i {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--loc-accent, var(--accent-2));
  box-shadow: 0 0 14px var(--loc-accent, var(--accent-2));
}
.location-more-wrap {
  position: relative;
  z-index: 1;
  margin-top: 28px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.018);
}
.location-more-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 15px;
}
.location-more-head > span {
  color: #fff;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .15em;
}
.location-more-head small {
  color: var(--muted);
  font-size: 11px;
}
.location-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.location-chip {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 0 10px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
  color: #d9d9dd;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .025em;
}
.location-chip:nth-child(4n+1) { border-color: rgba(80,191,226,.25); }
.location-chip:nth-child(4n+2) { border-color: rgba(255,49,57,.24); }
.location-chip:nth-child(4n+3) { border-color: rgba(214,106,241,.24); }
.location-chip:nth-child(4n+4) { border-color: rgba(240,154,74,.24); }

@media (max-width: 1050px) {
  .location-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .location-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .location-more-head { align-items: flex-start; flex-direction: column; gap: 5px; }
}
@media (max-width: 560px) {
  .location-grid { grid-template-columns: 1fr; }
  .location-card { min-height: 158px; }
}


/* V3.11 map-stack count + display-name polish */
.location-stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -4px 0 22px;
}
.location-stat-strip.hidden { display: none; }
.location-stat {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
  color: rgba(255,255,255,.82);
  font-size: 8px;
  font-weight: 950;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.location-stat-1 { border-color: rgba(80,191,226,.35); color: #78d9f3; }
.location-stat-2 { border-color: rgba(255,49,57,.33); }
.location-stat-3 { border-color: rgba(240,154,74,.34); }
.location-stat-4 { border-color: rgba(214,106,241,.35); }
.location-card h3 { text-wrap: balance; }
.location-chip { white-space: nowrap; }
@media (max-width: 720px) {
  .location-stat-strip { margin-top: 0; }
  .location-stat { font-size: 7px; letter-spacing: .1em; }
}


/* V3.12 network homepage */
.network-hero {
  min-height: 720px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    radial-gradient(circle at 72% 28%, rgba(215,25,32,.20), transparent 25rem),
    radial-gradient(circle at 20% 18%, rgba(80,191,226,.09), transparent 20rem),
    radial-gradient(circle at 86% 70%, rgba(214,106,241,.08), transparent 18rem),
    linear-gradient(120deg,#090a0c 0%,#070708 50%,#160608 100%);
  background-size: 50px 50px, 50px 50px, auto, auto, auto, auto;
}
.network-watermark {
  position:absolute;
  right:-.035em;
  bottom:-.22em;
  z-index:-1;
  font-size:min(35vw,520px);
  font-weight:950;
  letter-spacing:-.11em;
  color:rgba(255,255,255,.018);
  pointer-events:none;
  user-select:none;
}
.network-hero .hero-grid { align-items:center; }
.network-hero .hero-copy { max-width:820px; }
.network-hero h1 { font-size:clamp(68px,9.4vw,132px); }
.network-hero h1 span {
  color:#fff;
  text-shadow:0 0 44px rgba(215,25,32,.18);
}
.network-hero-tags {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:25px;
}
.network-hero-tags span,
.roster-legend span,
.server-card-tags span,
.featured-tags span {
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:6px 10px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:999px;
  color:#d8d8dc;
  font-size:9px;
  font-weight:950;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.network-hero-tags span:nth-child(1), .featured-tags span:nth-child(1) { border-color:rgba(255,49,57,.38); }
.network-hero-tags span:nth-child(2), .featured-tags span:nth-child(2) { border-color:rgba(80,191,226,.35); }
.network-hero-tags span:nth-child(3), .featured-tags span:nth-child(3) { border-color:rgba(214,106,241,.32); }
.network-hero-tags span:nth-child(4), .featured-tags span:nth-child(4) { border-color:rgba(255,157,98,.30); }
.network-panel {
  position:relative;
  overflow:hidden;
  padding:28px;
  background:
    radial-gradient(circle at 85% 18%, rgba(80,191,226,.12), transparent 10rem),
    linear-gradient(160deg,rgba(20,20,24,.96),rgba(10,10,12,.99));
}
.network-panel::before {
  content:"";
  position:absolute;
  left:0; right:0; top:0;
  height:1px;
  background:linear-gradient(90deg,var(--accent),var(--brand-cyan),var(--brand-purple),transparent);
}
.network-panel-note,
.network-panel-foot {
  color:var(--muted);
  font-size:12px;
  line-height:1.55;
}
.network-panel-note { margin:14px 0 0; }
.network-panel-foot { margin-top:18px; padding-top:16px; border-top:1px solid rgba(255,255,255,.07); }
.featured-network-section {
  background:
    radial-gradient(circle at 80% 20%, rgba(215,25,32,.06), transparent 22rem),
    radial-gradient(circle at 10% 65%, rgba(80,191,226,.04), transparent 18rem),
    #09090b;
  border-block:1px solid rgba(255,255,255,.05);
}
.featured-server-card {
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(0,1.55fr) minmax(290px,.65fr);
  gap:0;
  min-height:430px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:18px;
  background:
    radial-gradient(circle at 65% 30%, rgba(215,25,32,.16), transparent 18rem),
    radial-gradient(circle at 18% 80%, rgba(80,191,226,.07), transparent 18rem),
    linear-gradient(140deg,#101013,#08080a 58%,#180709);
  box-shadow:0 30px 90px rgba(0,0,0,.30);
}
.featured-server-card::before {
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:2px;
  background:linear-gradient(90deg,var(--feature-accent),var(--brand-cyan),var(--brand-purple),transparent 85%);
}
.featured-server-watermark {
  position:absolute;
  right:24%;
  bottom:-.28em;
  font-size:300px;
  font-weight:950;
  letter-spacing:-.08em;
  color:rgba(255,255,255,.018);
  pointer-events:none;
}
.featured-server-main { position:relative; z-index:1; padding:42px; }
.featured-server-topline { display:flex; justify-content:space-between; gap:18px; align-items:center; color:var(--brand-cyan); font-size:10px; font-weight:950; letter-spacing:.14em; }
.featured-live { display:inline-flex; align-items:center; gap:8px; color:#fff; }
.featured-server-main h3 { margin:42px 0 16px; max-width:760px; font-size:clamp(48px,6vw,78px); line-height:.93; letter-spacing:-.055em; }
.featured-server-main p { max-width:760px; margin:0; color:#bdbdc5; font-size:17px; line-height:1.6; }
.featured-tags { display:flex; flex-wrap:wrap; gap:8px; margin-top:24px; }
.featured-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:30px; }
.featured-server-intel { position:relative; z-index:1; display:grid; grid-template-columns:1fr; align-content:stretch; background:rgba(5,5,7,.40); border-left:1px solid rgba(255,255,255,.07); }
.featured-server-intel > div { display:flex; flex-direction:column; justify-content:center; padding:24px 28px; border-bottom:1px solid rgba(255,255,255,.07); }
.featured-server-intel > div:last-child { border-bottom:0; }
.featured-server-intel span { color:var(--muted); font-size:9px; font-weight:900; letter-spacing:.13em; }
.featured-server-intel strong { margin-top:7px; font-size:22px; line-height:1.15; word-break:break-word; }
.roster-legend { display:flex; flex-wrap:wrap; gap:8px; margin:-10px 0 24px; }
.roster-legend span { gap:8px; color:#a9a9b0; font-size:8px; }
.roster-legend i { width:7px; height:7px; }
.network-server-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.network-server-card { min-height:360px; padding:26px; }
.network-server-card.profile-live { border-color:rgba(80,191,226,.20); }
.server-card-mark {
  position:absolute;
  right:18px;
  top:44px;
  font-size:66px;
  font-weight:950;
  letter-spacing:-.08em;
  color:rgba(255,255,255,.035);
  pointer-events:none;
}
.server-card-note { margin-top:28px; color:var(--card-accent); font-size:9px; font-weight:950; letter-spacing:.14em; }
.network-server-card h3 { margin:12px 0 14px; }
.server-card-tags { display:flex; flex-wrap:wrap; gap:6px; }
.server-card-tags span { min-height:24px; padding:5px 8px; font-size:7px; border-color:rgba(255,255,255,.08); }
.card-link-pending { color:#777781; cursor:default; }
.card-link-live { color:var(--brand-cyan); }
.network-pillars-section { background:#08080a; }
.network-pillars { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.network-pillars article { position:relative; min-height:280px; padding:30px; overflow:hidden; border:1px solid rgba(255,255,255,.08); border-radius:16px; background:linear-gradient(160deg,#121215,#0b0b0d); }
.network-pillars article::before { content:""; position:absolute; left:0; top:0; width:100%; height:2px; background:linear-gradient(90deg,var(--accent),var(--brand-cyan),var(--brand-purple),transparent); }
.network-pillars article > span { position:absolute; right:22px; top:12px; font-size:58px; font-weight:950; color:rgba(255,255,255,.035); }
.network-pillars h3 { margin:74px 0 12px; font-size:28px; }
.network-pillars p { margin:0; color:var(--muted); line-height:1.65; }
.home-cta-grid { display:grid; grid-template-columns:1.3fr .7fr; align-items:center; gap:50px; }
.home-cta-grid h2 { margin:10px 0 14px; font-size:clamp(42px,5.2vw,70px); line-height:.96; letter-spacing:-.05em; }
.home-cta-grid p { max-width:780px; color:#c8b8bd; font-size:17px; line-height:1.65; }
.home-cta-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:10px; }

@media (max-width: 1050px) {
  .featured-server-card { grid-template-columns:1fr; }
  .featured-server-intel { grid-template-columns:repeat(2,1fr); border-left:0; border-top:1px solid rgba(255,255,255,.07); }
  .featured-server-intel > div { border-right:1px solid rgba(255,255,255,.07); }
  .network-server-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .network-pillars { grid-template-columns:1fr; }
}
@media (max-width: 720px) {
  .network-hero { min-height:auto; padding-top:76px; }
  .network-hero h1 { font-size:58px; }
  .featured-server-main { padding:28px 22px; }
  .featured-server-main h3 { margin-top:30px; font-size:48px; }
  .featured-server-topline { align-items:flex-start; flex-direction:column; }
  .featured-server-intel { grid-template-columns:1fr; }
  .network-server-grid { grid-template-columns:1fr; }
  .home-cta-grid { grid-template-columns:1fr; }
  .home-cta-actions { justify-content:flex-start; }
}


/* V3.13 homepage roster polish */
.network-server-card .card-meta {
  min-width: 0;
}
.network-server-card .card-players {
  min-width: 0;
  flex: 1 1 auto;
}
.network-server-card .card-players strong {
  max-width: 100%;
  font-size: clamp(15px, 1.18vw, 18px);
  line-height: 1.35;
  word-break: normal;
  overflow-wrap: normal;
}

/* Upcoming-profile cards get a clean stacked footer so long hostnames are not
   squeezed beside the "Full profile coming next" message. */
.network-server-card:not(.profile-live) .card-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  gap: 12px;
}
.network-server-card:not(.profile-live) .card-players strong {
  white-space: nowrap;
}
.network-server-card:not(.profile-live) .card-link-pending {
  display: block;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.06);
  color: #85858e;
  line-height: 1.25;
}

/* Make the placeholder wording visually consistent with verified-address cards. */
.network-server-card:not(.profile-live) .card-players span {
  display: block;
  margin-top: 5px;
}

@media (max-width: 1180px) and (min-width: 1051px) {
  .network-server-card .card-players strong {
    font-size: 14px;
  }
}

@media (max-width: 720px) {
  .network-server-card:not(.profile-live) .card-players strong {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}


/* V3.17 VEIN profile polish */
.status-identity {
  margin-top: 13px;
  color: #f1f1f3;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .13em;
  text-transform: uppercase;
}

body[data-server-id="vein"] .server-hero-bg {
  background:
    radial-gradient(circle at 78% 24%, rgba(137, 16, 26, .42), transparent 20rem),
    radial-gradient(circle at 88% 62%, rgba(80, 191, 226, .08), transparent 18rem),
    linear-gradient(116deg, #0a0a0b 0%, #0b090a 43%, #170608 73%, #08090c 100%);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  transform: none;
}

body[data-server-id="vein"] .server-hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(0,0,0,.12) 0 44%, transparent 44% 100%),
    linear-gradient(160deg, transparent 0 48%, rgba(159,22,32,.12) 48% 49%, transparent 49% 100%);
  opacity: .95;
}

body[data-server-id="vein"] .server-hero-bg::after {
  content: "VEIN";
  position: absolute;
  right: clamp(-24px, 3vw, 42px);
  top: 20%;
  color: rgba(255,255,255,.065);
  font-size: clamp(130px, 20vw, 330px);
  line-height: .82;
  font-weight: 1000;
  letter-spacing: -.085em;
  transform: rotate(-2deg);
  text-shadow: 0 0 42px rgba(159,22,32,.18);
  pointer-events: none;
  user-select: none;
}

body[data-server-id="vein"] .server-watermark {
  display: none;
}

body[data-server-id="vein"] .server-hero-overlay {
  background:
    linear-gradient(90deg, rgba(7,7,7,.22), rgba(7,7,7,.04) 52%, rgba(7,7,7,.16)),
    linear-gradient(180deg, rgba(7,7,7,.08), rgba(7,7,7,.30) 50%, rgba(7,7,7,.94) 92%, #070707 100%);
}

body[data-server-id="vein"] .hero-badge.primary {
  border-color: rgba(227,38,54,.58);
  background: rgba(118,13,22,.34);
}

body[data-server-id="vein"] .server-status-card {
  border-color: rgba(227,38,54,.22);
  box-shadow: 0 24px 70px rgba(0,0,0,.38), 0 0 38px rgba(159,22,32,.08), inset 0 1px rgba(255,255,255,.03);
}

body[data-server-id="vein"] .feature-card {
  min-height: 205px;
}

body[data-server-id="vein"] .feature-card h3 {
  margin-top: 52px;
}

body[data-server-id="vein"] .feature-card p {
  font-size: 14.5px;
  line-height: 1.58;
}

body[data-server-id="vein"] .intel-note {
  color: #8d8d94;
}

@media (max-width: 720px) {
  body[data-server-id="vein"] .server-hero {
    min-height: 610px;
  }
  body[data-server-id="vein"] .server-hero-bg::after {
    right: -26px;
    top: 20%;
    font-size: clamp(118px, 39vw, 180px);
    color: rgba(255,255,255,.06);
  }
  body[data-server-id="vein"] .feature-card {
    min-height: 185px;
  }
  body[data-server-id="vein"] .feature-card p {
    font-size: 14px;
  }
}


/* V3.18 final VEIN desktop/mobile polish */
body[data-server-id="vein"] .connect-card > strong {
  font-size: clamp(18px, 2vw, 27px);
  line-height: 1.12;
  letter-spacing: -.025em;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}

body[data-server-id="vein"] .feature-card p {
  font-size: 15.5px;
  line-height: 1.62;
}

body[data-server-id="vein"] .server-link-card p {
  font-size: 15px;
  line-height: 1.62;
}

body[data-server-id="vein"] .server-link-card {
  min-height: 226px;
}

body[data-server-id="vein"] .footer-grid {
  font-size: 13px;
}

body[data-server-id="vein"] .footer-grid > div:last-child {
  color: #9b9ba3;
  line-height: 1.55;
}

@media (min-width: 1001px) {
  body[data-server-id="vein"] .overview-layout {
    grid-template-columns: minmax(0, .92fr) minmax(470px, 1.08fr);
    gap: 58px;
  }

  body[data-server-id="vein"] .intel-panel {
    width: 100%;
  }

  body[data-server-id="vein"] .stat-card {
    padding: 20px;
  }

  body[data-server-id="vein"] .join-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body[data-server-id="vein"] .join-step {
    min-height: 220px;
  }
}

@media (max-width: 720px) {
  body[data-server-id="vein"] .feature-card p {
    font-size: 14.5px;
  }

  body[data-server-id="vein"] .server-link-card p {
    font-size: 14.5px;
  }

  body[data-server-id="vein"] .server-link-card {
    min-height: 0;
  }

  body[data-server-id="vein"] .footer-grid {
    font-size: 12.5px;
  }
}


/* V3.18.1 VEIN layout hotfix
   Strong final overrides + fresh cache key. */
@media (min-width: 1001px) {
  body[data-server-id="vein"] #join-steps.join-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px;
  }

  body[data-server-id="vein"] #join-steps.join-steps > .join-step {
    min-width: 0;
    min-height: 220px;
  }

  body[data-server-id="vein"] .connect-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(450px, .95fr);
    gap: 48px;
  }

  body[data-server-id="vein"] .connect-card {
    min-width: 0;
  }

  body[data-server-id="vein"] #server-address {
    display: block;
    max-width: 100%;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    font-size: clamp(15px, 1.45vw, 22px) !important;
    letter-spacing: -.035em;
  }
}


/* V3.19 SCUM profile + unverified-route safety pass */
.server-link-pending {
  color: #9a9aa2;
  cursor: default;
}

.connect-card.connection-pending > strong {
  max-width: 30ch;
  font-size: clamp(19px, 2.25vw, 30px);
  line-height: 1.08;
  letter-spacing: -.025em;
  white-space: normal;
}

body[data-server-id="scum"] .server-hero-bg {
  background:
    radial-gradient(circle at 82% 24%, rgba(200,86,56,.34), transparent 22rem),
    radial-gradient(circle at 92% 62%, rgba(89,177,201,.07), transparent 19rem),
    linear-gradient(118deg, #090909 0%, #0b0908 42%, #190907 73%, #07090a 100%);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  transform: none;
}

body[data-server-id="scum"] .server-hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(108deg, rgba(0,0,0,.16) 0 43%, transparent 43% 100%),
    linear-gradient(160deg, transparent 0 47%, rgba(255,107,69,.10) 47% 48%, transparent 48% 100%);
  opacity: .95;
}

body[data-server-id="scum"] .server-hero-bg::after {
  content: "SCUM";
  position: absolute;
  right: clamp(-32px, 2vw, 34px);
  top: 19%;
  color: rgba(255,255,255,.055);
  font-size: clamp(125px, 19vw, 315px);
  line-height: .82;
  font-weight: 1000;
  letter-spacing: -.085em;
  transform: rotate(-2deg);
  text-shadow: 0 0 44px rgba(200,86,56,.16);
  pointer-events: none;
  user-select: none;
}

body[data-server-id="scum"] .server-watermark { display: none; }

body[data-server-id="scum"] .server-hero-overlay {
  background:
    linear-gradient(90deg, rgba(7,7,7,.18), rgba(7,7,7,.03) 54%, rgba(7,7,7,.17)),
    linear-gradient(180deg, rgba(7,7,7,.06), rgba(7,7,7,.26) 52%, rgba(7,7,7,.95) 92%, #070707 100%);
}

body[data-server-id="scum"] .hero-badge.primary {
  border-color: rgba(255,107,69,.56);
  background: rgba(126,43,24,.32);
}

body[data-server-id="scum"] .server-status-card {
  border-color: rgba(255,107,69,.22);
  box-shadow: 0 24px 70px rgba(0,0,0,.38), 0 0 38px rgba(200,86,56,.07), inset 0 1px rgba(255,255,255,.03);
}

body[data-server-id="scum"] #features.section-features {
  background:
    linear-gradient(180deg, rgba(54,18,12,.80), rgba(27,12,10,.92)),
    radial-gradient(circle at 18% 10%, rgba(255,107,69,.10), transparent 26rem);
}

body[data-server-id="scum"] .feature-card {
  min-height: 205px;
}

body[data-server-id="scum"] .feature-card h3 { margin-top: 52px; }
body[data-server-id="scum"] .feature-card p { font-size: 15px; line-height: 1.62; }
body[data-server-id="scum"] .server-link-card p { font-size: 15px; line-height: 1.62; }
body[data-server-id="scum"] .intel-note { color: #919198; }

body[data-server-id="scum"] .join-strip {
  border-left-color: var(--accent-2);
}

body[data-server-id="scum"] .connect-card.connection-pending {
  border-color: rgba(255,107,69,.18);
}

@media (min-width: 1001px) {
  body[data-server-id="scum"] .overview-layout {
    grid-template-columns: minmax(0, .95fr) minmax(450px, 1.05fr);
    gap: 58px;
  }
  body[data-server-id="scum"] #join-steps.join-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }
  body[data-server-id="scum"] #join-steps.join-steps > .join-step {
    min-width: 0;
    min-height: 220px;
  }
}

@media (max-width: 720px) {
  body[data-server-id="scum"] .server-hero { min-height: 610px; }
  body[data-server-id="scum"] .server-hero-bg::after {
    right: -30px;
    top: 20%;
    font-size: clamp(110px, 38vw, 175px);
  }
  body[data-server-id="scum"] .feature-card { min-height: 185px; }
  body[data-server-id="scum"] .feature-card p,
  body[data-server-id="scum"] .server-link-card p { font-size: 14.5px; }
}


/* V3.19.1 SCUM/homepage hotfix
   Repairs the V3.19 escaped-newline CSS block and forces the desktop join row. */
@media (min-width: 1001px) {
  body[data-server-id="scum"] #join-steps.join-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px;
  }

  body[data-server-id="scum"] #join-steps.join-steps > .join-step {
    min-width: 0;
    min-height: 220px;
  }
}

/* V3.20 HumanitZ full-profile pass */
body[data-server-id="humanitz"] .server-hero-bg {
  background:
    radial-gradient(circle at 83% 23%, rgba(215,101,73,.28), transparent 23rem),
    radial-gradient(circle at 91% 65%, rgba(82,168,183,.055), transparent 20rem),
    linear-gradient(118deg, #090909 0%, #0b0908 43%, #170b08 74%, #070809 100%);
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center;
  transform:none;
}

body[data-server-id="humanitz"] .server-hero-bg::before {
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(108deg, rgba(0,0,0,.16) 0 43%, transparent 43% 100%),
    linear-gradient(158deg, transparent 0 47%, rgba(215,101,73,.085) 47% 48%, transparent 48% 100%);
  opacity:.95;
}

body[data-server-id="humanitz"] .server-hero-bg::after {
  content:"HZ";
  position:absolute;
  right:clamp(-10px, 3vw, 52px);
  top:18%;
  color:rgba(255,255,255,.05);
  font-size:clamp(165px, 22vw, 355px);
  line-height:.82;
  font-weight:1000;
  letter-spacing:-.08em;
  transform:rotate(-2deg);
  text-shadow:0 0 44px rgba(155,56,37,.18);
  pointer-events:none;
  user-select:none;
}

body[data-server-id="humanitz"] .server-watermark { display:none; }

body[data-server-id="humanitz"] .server-hero-overlay {
  background:
    linear-gradient(90deg, rgba(7,7,7,.18), rgba(7,7,7,.03) 54%, rgba(7,7,7,.17)),
    linear-gradient(180deg, rgba(7,7,7,.06), rgba(7,7,7,.28) 52%, rgba(7,7,7,.95) 92%, #070707 100%);
}

body[data-server-id="humanitz"] .hero-badge.primary {
  border-color:rgba(215,101,73,.58);
  background:rgba(118,45,29,.31);
}

body[data-server-id="humanitz"] .server-status-card {
  border-color:rgba(215,101,73,.22);
  box-shadow:0 24px 70px rgba(0,0,0,.38), 0 0 38px rgba(155,56,37,.075), inset 0 1px rgba(255,255,255,.03);
}

body[data-server-id="humanitz"] #features.section-features {
  background:
    linear-gradient(180deg, rgba(50,21,15,.78), rgba(25,12,10,.93)),
    radial-gradient(circle at 18% 10%, rgba(215,101,73,.09), transparent 27rem);
}

body[data-server-id="humanitz"] .feature-card { min-height:205px; }
body[data-server-id="humanitz"] .feature-card h3 { margin-top:52px; }
body[data-server-id="humanitz"] .feature-card p,
body[data-server-id="humanitz"] .server-link-card p { font-size:15px; line-height:1.62; }
body[data-server-id="humanitz"] .intel-note { color:#919198; }
body[data-server-id="humanitz"] .join-strip { border-left-color:var(--accent-2); }

@media (min-width:1001px) {
  body[data-server-id="humanitz"] .overview-layout {
    grid-template-columns:minmax(0,.95fr) minmax(450px,1.05fr);
    gap:58px;
  }

  body[data-server-id="humanitz"] #join-steps.join-steps {
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:14px;
  }

  body[data-server-id="humanitz"] #join-steps.join-steps > .join-step {
    min-width:0;
    min-height:220px;
  }
}

@media (max-width:720px) {
  body[data-server-id="humanitz"] .server-hero { min-height:610px; }
  body[data-server-id="humanitz"] .server-hero-bg::after {
    right:-16px;
    top:20%;
    font-size:clamp(135px,43vw,205px);
  }
  body[data-server-id="humanitz"] .feature-card { min-height:185px; }
  body[data-server-id="humanitz"] .feature-card p,
  body[data-server-id="humanitz"] .server-link-card p { font-size:14.5px; }
}



/* V3.21 Palworld full-profile pass */
body[data-server-id="palworld"] .server-hero-bg {
  background:
    radial-gradient(circle at 82% 21%, rgba(85,203,232,.28), transparent 23rem),
    radial-gradient(circle at 92% 67%, rgba(214,106,241,.07), transparent 20rem),
    radial-gradient(circle at 64% 80%, rgba(58,140,154,.08), transparent 24rem),
    linear-gradient(118deg, #07090a 0%, #071013 43%, #09202a 74%, #070809 100%);
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center;
  transform:none;
}

body[data-server-id="palworld"] .server-hero-bg::before {
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(108deg, rgba(0,0,0,.17) 0 43%, transparent 43% 100%),
    linear-gradient(158deg, transparent 0 47%, rgba(85,203,232,.085) 47% 48%, transparent 48% 100%),
    radial-gradient(circle at 76% 38%, rgba(255,255,255,.035), transparent 12rem);
  opacity:.96;
}

body[data-server-id="palworld"] .server-hero-bg::after {
  content:"PAL";
  position:absolute;
  right:clamp(-18px, 2vw, 38px);
  top:18%;
  color:rgba(255,255,255,.047);
  font-size:clamp(138px, 18vw, 300px);
  line-height:.82;
  font-weight:1000;
  letter-spacing:-.085em;
  transform:rotate(-2deg);
  text-shadow:0 0 52px rgba(29,158,194,.21);
  pointer-events:none;
  user-select:none;
}

body[data-server-id="palworld"] .server-watermark { display:none; }

body[data-server-id="palworld"] .server-hero-overlay {
  background:
    linear-gradient(90deg, rgba(7,7,7,.18), rgba(7,7,7,.025) 54%, rgba(7,7,7,.16)),
    linear-gradient(180deg, rgba(7,7,7,.055), rgba(7,7,7,.25) 52%, rgba(7,7,7,.95) 92%, #070707 100%);
}

body[data-server-id="palworld"] .hero-badge.primary {
  border-color:rgba(85,203,232,.56);
  background:rgba(19,89,108,.30);
}

body[data-server-id="palworld"] .server-status-card {
  border-color:rgba(85,203,232,.22);
  box-shadow:0 24px 70px rgba(0,0,0,.38), 0 0 38px rgba(29,158,194,.075), inset 0 1px rgba(255,255,255,.03);
}

body[data-server-id="palworld"] .feature-card { min-height:205px; }
body[data-server-id="palworld"] .feature-card h3 { margin-top:52px; }
body[data-server-id="palworld"] .feature-card p,
body[data-server-id="palworld"] .server-link-card p { font-size:15px; line-height:1.62; }
body[data-server-id="palworld"] .intel-note { color:#919198; }
body[data-server-id="palworld"] .join-strip { border-left-color:var(--accent-2); }

@media (min-width:1001px) {
  body[data-server-id="palworld"] .overview-layout {
    grid-template-columns:minmax(0,.95fr) minmax(450px,1.05fr);
    gap:58px;
  }

  body[data-server-id="palworld"] #join-steps.join-steps {
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:14px;
  }

  body[data-server-id="palworld"] #join-steps.join-steps > .join-step {
    min-width:0;
    min-height:220px;
  }
}

@media (max-width:720px) {
  body[data-server-id="palworld"] .server-hero { min-height:610px; }
  body[data-server-id="palworld"] .server-hero-bg::after {
    right:-20px;
    top:22%;
    font-size:clamp(112px,37vw,175px);
  }
  body[data-server-id="palworld"] .feature-card { min-height:185px; }
  body[data-server-id="palworld"] .feature-card p,
  body[data-server-id="palworld"] .server-link-card p { font-size:14.5px; }
}

/* V3.22 Minecraft ATM10 full-profile pass */
body[data-server-id="minecraft"] .server-hero-bg {
  background:
    radial-gradient(circle at 82% 20%, rgba(119,207,98,.24), transparent 22rem),
    radial-gradient(circle at 91% 68%, rgba(70,176,160,.075), transparent 20rem),
    radial-gradient(circle at 62% 82%, rgba(79,168,61,.08), transparent 24rem),
    linear-gradient(118deg, #070807 0%, #08100a 43%, #0a2110 74%, #070807 100%);
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center;
  transform:none;
}

body[data-server-id="minecraft"] .server-hero-bg::before {
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(108deg, rgba(0,0,0,.18) 0 43%, transparent 43% 100%),
    linear-gradient(158deg, transparent 0 47%, rgba(119,207,98,.07) 47% 48%, transparent 48% 100%),
    radial-gradient(circle at 76% 38%, rgba(255,255,255,.03), transparent 12rem);
  opacity:.96;
}

body[data-server-id="minecraft"] .server-hero-bg::after {
  content:"ATM10";
  position:absolute;
  right:clamp(-30px, 1vw, 24px);
  top:20%;
  color:rgba(255,255,255,.045);
  font-size:clamp(104px, 14vw, 245px);
  line-height:.82;
  font-weight:1000;
  letter-spacing:-.075em;
  transform:rotate(-2deg);
  text-shadow:0 0 52px rgba(79,168,61,.18);
  pointer-events:none;
  user-select:none;
}

body[data-server-id="minecraft"] .server-watermark { display:none; }

body[data-server-id="minecraft"] .server-hero-overlay {
  background:
    linear-gradient(90deg, rgba(7,7,7,.18), rgba(7,7,7,.025) 54%, rgba(7,7,7,.16)),
    linear-gradient(180deg, rgba(7,7,7,.055), rgba(7,7,7,.25) 52%, rgba(7,7,7,.95) 92%, #070707 100%);
}

body[data-server-id="minecraft"] .hero-badge.primary {
  border-color:rgba(119,207,98,.56);
  background:rgba(47,104,40,.30);
}

body[data-server-id="minecraft"] .server-status-card {
  border-color:rgba(119,207,98,.22);
  box-shadow:0 24px 70px rgba(0,0,0,.38), 0 0 38px rgba(79,168,61,.075), inset 0 1px rgba(255,255,255,.03);
}

body[data-server-id="minecraft"] .feature-card { min-height:205px; }
body[data-server-id="minecraft"] .feature-card h3 { margin-top:52px; }
body[data-server-id="minecraft"] .feature-card p,
body[data-server-id="minecraft"] .server-link-card p { font-size:15px; line-height:1.62; }
body[data-server-id="minecraft"] .intel-note { color:#919198; }
body[data-server-id="minecraft"] .join-strip { border-left-color:var(--accent-2); }

@media (min-width:1001px) {
  body[data-server-id="minecraft"] .overview-layout {
    grid-template-columns:minmax(0,.95fr) minmax(450px,1.05fr);
    gap:58px;
  }

  body[data-server-id="minecraft"] #join-steps.join-steps {
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:14px;
  }

  body[data-server-id="minecraft"] #join-steps.join-steps > .join-step {
    min-width:0;
    min-height:220px;
  }
}

@media (max-width:720px) {
  body[data-server-id="minecraft"] .server-hero { min-height:610px; }
  body[data-server-id="minecraft"] .server-hero-bg::after {
    right:-24px;
    top:24%;
    font-size:clamp(84px,27vw,145px);
  }
  body[data-server-id="minecraft"] .feature-card { min-height:185px; }
  body[data-server-id="minecraft"] .feature-card p,
  body[data-server-id="minecraft"] .server-link-card p { font-size:14.5px; }
}

/* V3.22.1 Minecraft desktop verified-hostname fit hotfix */
@media (min-width:1001px) {
  body[data-server-id="minecraft"] .connect-card {
    min-width:0;
  }

  body[data-server-id="minecraft"] #server-address {
    display:block;
    max-width:100%;
    white-space:nowrap !important;
    word-break:normal !important;
    overflow-wrap:normal !important;
    font-size:clamp(15px,1.45vw,21px) !important;
    letter-spacing:-.035em;
  }
}

/* V3.23 Rust full-profile pass */
body[data-server-id="rust"] .server-hero-bg {
  background:
    radial-gradient(circle at 82% 20%, rgba(217,106,77,.25), transparent 22rem),
    radial-gradient(circle at 91% 68%, rgba(179,74,47,.09), transparent 20rem),
    radial-gradient(circle at 62% 82%, rgba(109,44,31,.09), transparent 24rem),
    linear-gradient(118deg, #080706 0%, #100907 43%, #26100b 74%, #080706 100%);
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center;
  transform:none;
}

body[data-server-id="rust"] .server-hero-bg::before {
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(108deg, rgba(0,0,0,.18) 0 43%, transparent 43% 100%),
    linear-gradient(158deg, transparent 0 47%, rgba(217,106,77,.075) 47% 48%, transparent 48% 100%),
    radial-gradient(circle at 76% 38%, rgba(255,255,255,.03), transparent 12rem);
  opacity:.96;
}

body[data-server-id="rust"] .server-hero-bg::after {
  content:"RUST";
  position:absolute;
  right:clamp(-34px, 1vw, 18px);
  top:19%;
  color:rgba(255,255,255,.045);
  font-size:clamp(116px, 16vw, 270px);
  line-height:.82;
  font-weight:1000;
  letter-spacing:-.075em;
  transform:rotate(-2deg);
  text-shadow:0 0 52px rgba(179,74,47,.2);
  pointer-events:none;
  user-select:none;
}

body[data-server-id="rust"] .server-watermark { display:none; }

body[data-server-id="rust"] .server-hero-overlay {
  background:
    linear-gradient(90deg, rgba(7,7,7,.18), rgba(7,7,7,.025) 54%, rgba(7,7,7,.16)),
    linear-gradient(180deg, rgba(7,7,7,.055), rgba(7,7,7,.25) 52%, rgba(7,7,7,.95) 92%, #070707 100%);
}

body[data-server-id="rust"] .hero-badge.primary {
  border-color:rgba(217,106,77,.56);
  background:rgba(112,43,29,.31);
}

body[data-server-id="rust"] .server-status-card {
  border-color:rgba(217,106,77,.22);
  box-shadow:0 24px 70px rgba(0,0,0,.38), 0 0 38px rgba(179,74,47,.08), inset 0 1px rgba(255,255,255,.03);
}

body[data-server-id="rust"] #features.section-features {
  background:
    linear-gradient(180deg, rgba(42,17,12,.72), rgba(22,10,8,.94)),
    radial-gradient(circle at 18% 10%, rgba(217,106,77,.08), transparent 27rem);
}

body[data-server-id="rust"] .feature-card { min-height:205px; }
body[data-server-id="rust"] .feature-card h3 { margin-top:52px; }
body[data-server-id="rust"] .feature-card p,
body[data-server-id="rust"] .server-link-card p { font-size:15px; line-height:1.62; }
body[data-server-id="rust"] .intel-note { color:#919198; }
body[data-server-id="rust"] .join-strip { border-left-color:var(--accent-2); }

@media (min-width:1001px) {
  body[data-server-id="rust"] .overview-layout {
    grid-template-columns:minmax(0,.95fr) minmax(450px,1.05fr);
    gap:58px;
  }

  body[data-server-id="rust"] #join-steps.join-steps {
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:14px;
  }

  body[data-server-id="rust"] #join-steps.join-steps > .join-step {
    min-width:0;
    min-height:220px;
  }

  body[data-server-id="rust"] .connect-card {
    min-width:0;
  }

  body[data-server-id="rust"] #server-address {
    display:block;
    max-width:100%;
    white-space:nowrap !important;
    word-break:normal !important;
    overflow-wrap:normal !important;
    font-size:clamp(16px,1.55vw,24px) !important;
    letter-spacing:-.035em;
  }
}

@media (max-width:720px) {
  body[data-server-id="rust"] .server-hero { min-height:610px; }
  body[data-server-id="rust"] .server-hero-bg::after {
    right:-28px;
    top:23%;
    font-size:clamp(100px,31vw,160px);
  }
  body[data-server-id="rust"] .feature-card { min-height:185px; }
  body[data-server-id="rust"] .feature-card p,
  body[data-server-id="rust"] .server-link-card p { font-size:14.5px; }
}

/* V3.24 Dragonwilds full-profile pass */
body[data-server-id="dragonwilds"] .server-hero-bg {
  background:
    radial-gradient(circle at 80% 22%, rgba(195,166,92,.20), transparent 22rem),
    radial-gradient(circle at 91% 68%, rgba(83,116,61,.12), transparent 22rem),
    radial-gradient(circle at 62% 82%, rgba(135,106,47,.10), transparent 24rem),
    linear-gradient(118deg, #070806 0%, #0b1009 42%, #201a0d 74%, #070806 100%);
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center;
  transform:none;
}

body[data-server-id="dragonwilds"] .server-hero-bg::before {
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(108deg, rgba(0,0,0,.20) 0 43%, transparent 43% 100%),
    linear-gradient(158deg, transparent 0 47%, rgba(195,166,92,.065) 47% 48%, transparent 48% 100%),
    radial-gradient(circle at 77% 38%, rgba(255,255,255,.03), transparent 12rem);
  opacity:.96;
}

body[data-server-id="dragonwilds"] .server-hero-bg::after {
  content:"ASHENFALL";
  position:absolute;
  right:clamp(-34px, 1vw, 18px);
  top:20%;
  color:rgba(255,255,255,.04);
  font-size:clamp(90px, 12.2vw, 205px);
  line-height:.82;
  font-weight:1000;
  letter-spacing:-.075em;
  transform:rotate(-2deg);
  text-shadow:0 0 52px rgba(135,106,47,.22);
  pointer-events:none;
  user-select:none;
}

body[data-server-id="dragonwilds"] .server-watermark { display:none; }

body[data-server-id="dragonwilds"] .server-hero-overlay {
  background:
    linear-gradient(90deg, rgba(7,7,7,.18), rgba(7,7,7,.025) 54%, rgba(7,7,7,.16)),
    linear-gradient(180deg, rgba(7,7,7,.055), rgba(7,7,7,.25) 52%, rgba(7,7,7,.95) 92%, #070707 100%);
}

body[data-server-id="dragonwilds"] .hero-badge.primary {
  border-color:rgba(195,166,92,.54);
  background:rgba(85,68,30,.31);
}

body[data-server-id="dragonwilds"] .server-status-card {
  border-color:rgba(195,166,92,.22);
  box-shadow:0 24px 70px rgba(0,0,0,.38), 0 0 38px rgba(135,106,47,.08), inset 0 1px rgba(255,255,255,.03);
}

body[data-server-id="dragonwilds"] #features.section-features {
  background:
    linear-gradient(180deg, rgba(31,28,14,.72), rgba(16,17,11,.95)),
    radial-gradient(circle at 18% 10%, rgba(195,166,92,.07), transparent 27rem);
}

body[data-server-id="dragonwilds"] .feature-card { min-height:205px; }
body[data-server-id="dragonwilds"] .feature-card h3 { margin-top:52px; }
body[data-server-id="dragonwilds"] .feature-card p,
body[data-server-id="dragonwilds"] .server-link-card p { font-size:15px; line-height:1.62; }
body[data-server-id="dragonwilds"] .intel-note { color:#919198; }
body[data-server-id="dragonwilds"] .join-strip { border-left-color:var(--accent-2); }

@media (min-width:1001px) {
  body[data-server-id="dragonwilds"] .overview-layout {
    grid-template-columns:minmax(0,.95fr) minmax(450px,1.05fr);
    gap:58px;
  }

  body[data-server-id="dragonwilds"] #join-steps.join-steps {
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:14px;
  }

  body[data-server-id="dragonwilds"] #join-steps.join-steps > .join-step {
    min-width:0;
    min-height:220px;
  }

  body[data-server-id="dragonwilds"] .connect-card { min-width:0; }

  body[data-server-id="dragonwilds"] #server-address {
    display:block;
    max-width:100%;
    white-space:nowrap !important;
    word-break:normal !important;
    overflow-wrap:normal !important;
    font-size:clamp(16px,1.55vw,24px) !important;
    letter-spacing:-.035em;
  }
}

@media (max-width:720px) {
  body[data-server-id="dragonwilds"] .server-hero { min-height:610px; }
  body[data-server-id="dragonwilds"] .server-hero-bg::after {
    right:-30px;
    top:25%;
    font-size:clamp(76px,23vw,126px);
  }
  body[data-server-id="dragonwilds"] .feature-card { min-height:185px; }
  body[data-server-id="dragonwilds"] .feature-card p,
  body[data-server-id="dragonwilds"] .server-link-card p { font-size:14.5px; }
}

/* V3.25 Project Zomboid Build 41 full-profile pass */
body[data-server-id="pzb41"] .server-hero-bg {
  background:
    radial-gradient(circle at 82% 19%, rgba(165,43,47,.22), transparent 22rem),
    radial-gradient(circle at 89% 69%, rgba(119,104,73,.11), transparent 23rem),
    radial-gradient(circle at 61% 82%, rgba(94,35,37,.10), transparent 24rem),
    linear-gradient(118deg, #070706 0%, #100b09 42%, #241212 74%, #070706 100%);
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center;
  transform:none;
}

body[data-server-id="pzb41"] .server-hero-bg::before {
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(108deg, rgba(0,0,0,.20) 0 43%, transparent 43% 100%),
    linear-gradient(158deg, transparent 0 47%, rgba(223,85,89,.06) 47% 48%, transparent 48% 100%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.012) 0 1px, transparent 1px 6px);
  opacity:.97;
}

body[data-server-id="pzb41"] .server-hero-bg::after {
  content:"BUILD 41";
  position:absolute;
  right:clamp(-32px, 1vw, 20px);
  top:20%;
  color:rgba(255,255,255,.043);
  font-size:clamp(94px, 13.5vw, 224px);
  line-height:.82;
  font-weight:1000;
  letter-spacing:-.075em;
  transform:rotate(-2deg);
  text-shadow:0 0 52px rgba(165,43,47,.22);
  pointer-events:none;
  user-select:none;
}

body[data-server-id="pzb41"] .server-watermark { display:none; }

body[data-server-id="pzb41"] .server-hero-overlay {
  background:
    linear-gradient(90deg, rgba(7,7,7,.18), rgba(7,7,7,.025) 54%, rgba(7,7,7,.16)),
    linear-gradient(180deg, rgba(7,7,7,.055), rgba(7,7,7,.25) 52%, rgba(7,7,7,.95) 92%, #070707 100%);
}

body[data-server-id="pzb41"] .hero-badge.primary {
  border-color:rgba(223,85,89,.55);
  background:rgba(101,32,35,.31);
}

body[data-server-id="pzb41"] .server-status-card {
  border-color:rgba(223,85,89,.22);
  box-shadow:0 24px 70px rgba(0,0,0,.38), 0 0 38px rgba(165,43,47,.08), inset 0 1px rgba(255,255,255,.03);
}

body[data-server-id="pzb41"] #features.section-features {
  background:
    linear-gradient(180deg, rgba(38,18,17,.74), rgba(18,12,11,.95)),
    radial-gradient(circle at 18% 10%, rgba(223,85,89,.07), transparent 27rem);
}

body[data-server-id="pzb41"] .feature-card { min-height:205px; }
body[data-server-id="pzb41"] .feature-card h3 { margin-top:52px; }
body[data-server-id="pzb41"] .feature-card p,
body[data-server-id="pzb41"] .server-link-card p { font-size:15px; line-height:1.62; }
body[data-server-id="pzb41"] .intel-note { color:#919198; }
body[data-server-id="pzb41"] .join-strip { border-left-color:var(--accent-2); }

@media (min-width:1001px) {
  body[data-server-id="pzb41"] .overview-layout {
    grid-template-columns:minmax(0,.95fr) minmax(450px,1.05fr);
    gap:58px;
  }

  body[data-server-id="pzb41"] #join-steps.join-steps {
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:14px;
  }

  body[data-server-id="pzb41"] #join-steps.join-steps > .join-step {
    min-width:0;
    min-height:220px;
  }

  body[data-server-id="pzb41"] .connect-card { min-width:0; }

  body[data-server-id="pzb41"] #server-address {
    display:block;
    max-width:100%;
    white-space:nowrap !important;
    word-break:normal !important;
    overflow-wrap:normal !important;
    font-size:clamp(15px,1.42vw,22px) !important;
    letter-spacing:-.04em;
  }
}

@media (max-width:720px) {
  body[data-server-id="pzb41"] .server-hero { min-height:610px; }
  body[data-server-id="pzb41"] .server-hero-bg::after {
    right:-26px;
    top:24%;
    font-size:clamp(82px,25vw,138px);
  }
  body[data-server-id="pzb41"] .feature-card { min-height:185px; }
  body[data-server-id="pzb41"] .feature-card p,
  body[data-server-id="pzb41"] .server-link-card p { font-size:14.5px; }
}

/* V3.26 production visual-QA / responsive polish */

/* The roster footer used to squeeze long verified hostnames beside the profile
   action. Stack the two pieces so every published address has a stable lane. */
.network-server-card .card-meta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 11px;
  margin-top: 30px;
}
.network-server-card .card-players {
  width: 100%;
  min-width: 0;
}
.network-server-card .card-players strong {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}
.network-server-card .card-link-live {
  display: block;
  width: 100%;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.065);
  text-align: right;
  line-height: 1.25;
}

/* Grid/flex children with long game names must be allowed to shrink. */
.server-title-row,
.server-title-block {
  min-width: 0;
}

@media (max-width: 720px) {
  .server-nav {
    padding-right: 28px;
    scroll-padding-inline: 0 28px;
    -webkit-overflow-scrolling: touch;
  }
  .join-strip strong {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
  }
  /* Dragonwilds is the only current profile whose first title word is wider
     than the mobile content column at the generic hero size. */
  body[data-server-id="dragonwilds"] .server-title-block {
    width: 100%;
    max-width: 100%;
  }
  body[data-server-id="dragonwilds"] .server-hero h1 {
    font-size: clamp(46px, 13.1vw, 54px);
    line-height: .9;
    letter-spacing: -.07em;
  }
}

/* V3.27 live Network Hub + announcements/events */
.network-hub-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 14%, rgba(80,191,226,.09), transparent 23rem),
    radial-gradient(circle at 12% 88%, rgba(215,25,32,.07), transparent 21rem),
    linear-gradient(180deg,#0a0a0c,#070708);
  border-block: 1px solid rgba(255,255,255,.055);
}
.network-hub-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.012) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
}
.network-hub-section .shell { position: relative; z-index: 1; }
.network-hub-heading { margin-bottom: 26px; }
.network-hub-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.network-hub-metrics article {
  min-width: 0;
  min-height: 142px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.085);
  border-radius: 14px;
  background: linear-gradient(155deg,rgba(19,19,23,.96),rgba(9,9,11,.98));
  box-shadow: inset 0 1px rgba(255,255,255,.02);
}
.network-hub-metrics article:first-child { border-color: rgba(55,214,143,.22); }
.network-hub-metrics article:nth-child(2) { border-color: rgba(80,191,226,.20); }
.network-hub-metrics article:nth-child(3) { border-color: rgba(214,106,241,.18); }
.network-hub-metrics article:nth-child(4) { border-color: rgba(255,157,98,.18); }
.network-hub-metrics span,
.network-hub-metrics small {
  display: block;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 8px;
  font-weight: 900;
}
.network-hub-metrics strong {
  display: block;
  margin: 13px 0 9px;
  font-size: clamp(34px,4vw,52px);
  line-height: .9;
  letter-spacing: -.055em;
}
.network-hub-metrics small { line-height: 1.45; letter-spacing: .08em; }
.network-hub-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 22px 0 14px;
}
.hub-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.hub-filter {
  appearance: none;
  min-height: 34px;
  padding: 8px 13px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  background: rgba(255,255,255,.02);
  color: #a9a9b0;
  font: inherit;
  font-size: 8px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}
.hub-filter:hover,
.hub-filter:focus-visible { border-color: rgba(80,191,226,.42); color: #fff; }
.hub-filter.active {
  border-color: rgba(80,191,226,.48);
  background: rgba(80,191,226,.09);
  color: #bfeeff;
}
.hub-updated-note {
  color: #777780;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: right;
}
.network-hub-grid {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.085);
  border-radius: 16px;
  background: #0a0a0c;
}
.hub-server-row {
  --hub-accent: #d71920;
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px,1.15fr) minmax(135px,.62fr) minmax(120px,.52fr) minmax(220px,1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 94px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255,255,255,.065);
  background: linear-gradient(90deg, color-mix(in srgb, var(--hub-accent) 4%, transparent), transparent 24%);
}
.hub-server-row:last-child { border-bottom: 0; }
.hub-server-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  bottom: 17px;
  width: 2px;
  background: var(--hub-accent);
  opacity: .8;
}
.hub-server-row[hidden] { display: none !important; }
.hub-server-identity {
  display: grid;
  grid-template-columns: 48px minmax(0,1fr);
  align-items: center;
  gap: 13px;
  min-width: 0;
}
.hub-server-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid color-mix(in srgb, var(--hub-accent) 44%, rgba(255,255,255,.08));
  border-radius: 10px;
  background: color-mix(in srgb, var(--hub-accent) 8%, #0b0b0d);
  color: #fff;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: -.02em;
  overflow: hidden;
}
.hub-server-identity div { min-width: 0; }
.hub-server-identity div > span,
.hub-server-status small,
.hub-server-population small,
.hub-server-route small {
  display: block;
  color: #777780;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
  line-height: 1.35;
}
.hub-server-identity strong {
  display: block;
  margin-top: 5px;
  font-size: 17px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.hub-server-status,
.hub-server-population,
.hub-server-route { min-width: 0; }
.hub-server-status small { margin-top: 7px; }
.hub-server-population strong,
.hub-server-route strong {
  display: block;
  color: #ececf0;
  font-size: 14px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.hub-server-population small,
.hub-server-route small { margin-top: 6px; }
.hub-server-action {
  justify-self: end;
  white-space: nowrap;
  color: var(--brand-cyan);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.hub-server-action:hover { color: #fff; }

.updates-section {
  background:
    radial-gradient(circle at 14% 18%, rgba(214,106,241,.055), transparent 22rem),
    radial-gradient(circle at 88% 82%, rgba(215,25,32,.055), transparent 22rem),
    #09090b;
}
.updates-heading { margin-bottom: 28px; }
.updates-layout {
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
  gap: 16px;
  align-items: stretch;
}
.updates-panel {
  min-width: 0;
  border: 1px solid rgba(255,255,255,.085);
  border-radius: 16px;
  background: linear-gradient(155deg,#111114,#0a0a0c);
  overflow: hidden;
}
.updates-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 26px 20px;
  border-bottom: 1px solid rgba(255,255,255,.065);
}
.updates-kicker {
  color: var(--brand-cyan);
  font-size: 8px;
  font-weight: 950;
  letter-spacing: .14em;
}
.updates-panel h3 {
  margin: 7px 0 0;
  font-size: 29px;
  letter-spacing: -.035em;
}
.updates-count {
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  padding: 0 9px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  color: #d7d7dc;
  font-size: 11px;
  font-weight: 950;
}
.announcement-list,
.event-list { display: grid; }
.announcement-card,
.event-card {
  position: relative;
  padding: 24px 26px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.announcement-card:last-child,
.event-card:last-child { border-bottom: 0; }
.announcement-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 2px;
  background: var(--brand-cyan);
}
.announcement-card.tone-network::before { background: var(--accent); }
.announcement-card.tone-site::before { background: var(--brand-cyan); }
.announcement-card.tone-server::before { background: var(--brand-purple); }
.announcement-card.tone-maintenance::before { background: #ff9d62; }
.announcement-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #777780;
  font-size: 8px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.announcement-meta span { color: #d3d3d8; }
.announcement-card h4,
.event-card h4 {
  margin: 14px 0 9px;
  font-size: 23px;
  line-height: 1.06;
  letter-spacing: -.025em;
}
.announcement-card p,
.event-card p,
.events-empty p {
  margin: 0;
  color: #a7a7af;
  font-size: 14px;
  line-height: 1.6;
}
.announcement-card > a,
.event-card > a {
  display: inline-block;
  margin-top: 16px;
  color: var(--brand-cyan);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.event-date {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}
.event-date span {
  color: #f0f0f3;
  font-size: 13px;
  font-weight: 900;
}
.event-date small {
  color: var(--brand-purple);
  font-size: 8px;
  font-weight: 950;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.events-empty,
.updates-empty {
  min-height: 270px;
  padding: 30px 26px;
}
.events-empty {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
}
.events-empty-mark {
  position: absolute;
  right: 18px;
  top: -24px;
  color: rgba(255,255,255,.025);
  font-size: 150px;
  font-weight: 950;
  letter-spacing: -.08em;
  pointer-events: none;
}
.events-empty strong,
.updates-empty strong {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 520px;
  font-size: 24px;
  line-height: 1.12;
}
.events-empty p { position: relative; z-index: 1; max-width: 560px; margin-top: 12px; }
.events-empty .button { position: relative; z-index: 1; margin-top: 20px; }
.updates-empty span { display: block; margin-top: 8px; color: #777780; font-size: 13px; }

@media (max-width: 1120px) {
  .network-hub-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hub-server-row {
    grid-template-columns: minmax(210px,1.15fr) minmax(130px,.72fr) minmax(110px,.55fr) minmax(180px,.9fr);
  }
  .hub-server-action {
    grid-column: 1 / -1;
    justify-self: stretch;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,.055);
    text-align: right;
  }
}

@media (max-width: 860px) {
  .updates-layout { grid-template-columns: 1fr; }
  .hub-server-row {
    grid-template-columns: minmax(0,1fr) minmax(120px,.45fr);
    gap: 14px 18px;
  }
  .hub-server-status { justify-self: end; text-align: right; }
  .hub-server-route { grid-column: 1 / -1; }
  .hub-server-population { grid-column: 1 / 2; }
  .hub-server-action { grid-column: 2 / 3; align-self: end; border-top: 0; padding-top: 0; }
}

@media (max-width: 720px) {
  .network-hub-heading,
  .updates-heading { margin-bottom: 22px; }
  .network-hub-metrics { grid-template-columns: 1fr 1fr; gap: 8px; }
  .network-hub-metrics article { min-height: 126px; padding: 17px 15px; }
  .network-hub-metrics strong { font-size: 35px; }
  .network-hub-toolbar { align-items: flex-start; flex-direction: column; }
  .hub-updated-note { text-align: left; }
  .network-hub-grid { border-radius: 13px; }
  .hub-server-row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px 16px;
  }
  .hub-server-row::before { top: 18px; bottom: 18px; }
  .hub-server-status,
  .hub-server-population,
  .hub-server-route,
  .hub-server-action {
    grid-column: 1;
    justify-self: stretch;
    text-align: left;
  }
  .hub-server-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 13px;
    border-top: 1px solid rgba(255,255,255,.055);
  }
  .hub-server-status small { margin-top: 0; text-align: right; }
  .hub-server-population,
  .hub-server-route { padding-top: 12px; border-top: 1px solid rgba(255,255,255,.045); }
  .hub-server-action { padding-top: 13px; border-top: 1px solid rgba(255,255,255,.055); text-align: right; }
  .updates-panel-head,
  .announcement-card,
  .event-card,
  .events-empty,
  .updates-empty { padding-left: 20px; padding-right: 20px; }
  .events-empty { min-height: 250px; }
  .announcement-meta,
  .event-date { align-items: flex-start; flex-direction: column; gap: 5px; }
}

@media (max-width: 430px) {
  .network-hub-metrics { grid-template-columns: 1fr; }
  .network-hub-metrics article { min-height: 112px; }
  .hub-filters { gap: 6px; }
  .hub-filter { min-height: 32px; padding-inline: 11px; }
}

/* ============================================================
   V3.28 — Network Hub live refresh / freshness / quick connect
   ============================================================ */
.hub-toolbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
}

.hub-refresh-button,
.hub-copy-address {
  border: 1px solid rgba(255,255,255,.11);
  background: rgba(255,255,255,.035);
  color: #d9d9de;
  font: inherit;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}

.hub-refresh-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 8px;
}

.hub-refresh-button:hover:not(:disabled),
.hub-copy-address:hover {
  border-color: rgba(71,221,255,.42);
  background: rgba(71,221,255,.08);
  color: #fff;
}

.hub-refresh-button:disabled {
  opacity: .62;
  cursor: wait;
}

.hub-refresh-icon {
  display: inline-block;
  font-size: 14px;
  line-height: 1;
}

.hub-refresh-button.is-refreshing .hub-refresh-icon {
  animation: aatm-hub-spin .8s linear infinite;
}

@keyframes aatm-hub-spin {
  to { transform: rotate(360deg); }
}

.hub-server-row.feed-stale {
  box-shadow: inset 2px 0 0 rgba(255,157,98,.72);
}

.hub-server-row.feed-stale .hub-server-status small {
  color: #ffae7b;
}

.hub-route-line {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.hub-route-line > strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.hub-copy-address {
  flex: 0 0 auto;
  min-height: 27px;
  padding: 0 8px;
  border-radius: 6px;
  color: var(--brand-cyan);
  font-size: 7px;
}

.hub-copy-address.copy-failed {
  border-color: rgba(255,99,99,.42);
  color: #ff9c9c;
}

@media (max-width: 860px) {
  .hub-toolbar-actions {
    width: 100%;
    justify-content: space-between;
  }
  .hub-updated-note { text-align: left; }
}

@media (max-width: 720px) {
  .hub-toolbar-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }
  .hub-refresh-button {
    align-self: stretch;
    min-height: 38px;
  }
  .hub-route-line {
    align-items: flex-start;
    justify-content: space-between;
  }
}

@media (max-width: 430px) {
  .hub-route-line {
    flex-direction: column;
    align-items: stretch;
  }
  .hub-copy-address {
    min-height: 32px;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hub-refresh-button.is-refreshing .hub-refresh-icon {
    animation: none;
  }
}


/* ============================================================
   V3.29 — Server Finder + browser-local favorites
   ============================================================ */
.server-finder-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(80,191,226,.075), transparent 24rem),
    radial-gradient(circle at 91% 84%, rgba(214,106,241,.06), transparent 24rem),
    #09090b;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.finder-heading { margin-bottom: 24px; }
.finder-toolbar {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto auto;
  gap: 10px;
  align-items: end;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.085);
  border-radius: 15px;
  background: linear-gradient(155deg,rgba(17,17,20,.96),rgba(9,9,11,.98));
}
.finder-search-wrap { display: grid; gap: 7px; min-width: 0; }
.finder-search-wrap > span {
  color: #777780;
  font-size: 7px;
  font-weight: 950;
  letter-spacing: .14em;
}
.finder-search-wrap input {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.105);
  border-radius: 10px;
  outline: 0;
  background: rgba(0,0,0,.26);
  color: #f1f1f4;
  font: inherit;
  font-size: 13px;
}
.finder-search-wrap input:focus {
  border-color: rgba(80,191,226,.46);
  box-shadow: 0 0 0 3px rgba(80,191,226,.075);
}
.finder-favorites-toggle,
.finder-clear-button,
.finder-copy-button,
.finder-favorite-button,
.hub-favorite-button,
.roster-favorite-button {
  appearance: none;
  border: 1px solid rgba(255,255,255,.11);
  background: rgba(255,255,255,.03);
  color: #bbbcc3;
  font: inherit;
  font-size: 8px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.finder-favorites-toggle, .finder-clear-button {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 10px;
}
.finder-favorites-toggle span { margin-right: 5px; color: #7a7b83; }
.finder-favorites-toggle.active,
.finder-favorite-button.is-favorite,
.hub-favorite-button.is-favorite,
.roster-favorite-button.is-favorite {
  border-color: rgba(255,195,76,.42);
  background: rgba(255,195,76,.08);
  color: #ffd979;
}
.finder-favorites-toggle.active span { color: #ffd979; }
.finder-clear-button:hover,
.finder-favorites-toggle:hover,
.finder-copy-button:hover,
.finder-favorite-button:hover,
.hub-favorite-button:hover,
.roster-favorite-button:hover {
  border-color: rgba(80,191,226,.38);
  color: #fff;
}
.finder-summary {
  display: grid;
  grid-template-columns: auto auto minmax(0,1fr);
  gap: 12px;
  align-items: center;
  margin: 12px 0 16px;
}
.finder-summary > div {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 9px;
  background: rgba(255,255,255,.018);
}
.finder-summary strong { font-size: 17px; color: #fff; }
.finder-summary span, .finder-summary p {
  color: #777780;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.finder-summary p { margin: 0; text-align: right; }
.server-finder-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px;
}
.finder-server-card {
  --finder-accent:#d71920;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 355px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.085);
  border-radius: 14px;
  background:
    linear-gradient(180deg,color-mix(in srgb,var(--finder-accent) 5%,transparent),transparent 32%),
    linear-gradient(155deg,#111114,#0a0a0c);
  overflow: hidden;
}
.finder-server-card::before {
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:2px;
  background:var(--finder-accent);
  opacity:.82;
}
.finder-card-top, .finder-card-status, .finder-card-actions {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.finder-short-label {
  display:grid;
  place-items:center;
  min-width:42px;
  height:30px;
  padding:0 8px;
  border:1px solid color-mix(in srgb,var(--finder-accent) 38%,rgba(255,255,255,.08));
  border-radius:7px;
  color:#fff;
  font-size:8px;
  font-weight:950;
}
.finder-favorite-button, .hub-favorite-button, .roster-favorite-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  min-height:28px;
  padding:0 8px;
  border-radius:7px;
  font-size:7px;
}
.finder-favorite-button span:first-child,
.hub-favorite-button span:first-child,
.roster-favorite-button span:first-child { font-size:12px; color:#777780; }
.is-favorite span:first-child { color:#ffd979 !important; }
.finder-card-status { margin-top:16px; }
.finder-card-status small {
  color:#777780;
  font-size:7px;
  font-weight:900;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.finder-game-label {
  margin-top:24px;
  color:var(--finder-accent);
  font-size:8px;
  font-weight:950;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.finder-server-card h3 {
  margin:8px 0 12px;
  font-size:27px;
  line-height:1;
  letter-spacing:-.04em;
}
.finder-tags { display:flex; flex-wrap:wrap; gap:5px; }
.finder-tags span {
  padding:5px 7px;
  border:1px solid rgba(255,255,255,.075);
  border-radius:999px;
  color:#909099;
  font-size:6.5px;
  font-weight:900;
  letter-spacing:.08em;
}
.finder-card-meta {
  display:grid;
  grid-template-columns:.72fr 1.28fr;
  gap:10px;
  margin-top:auto;
  padding-top:18px;
}
.finder-card-meta > div { min-width:0; }
.finder-card-meta span {
  display:block;
  color:#66666f;
  font-size:6.5px;
  font-weight:950;
  letter-spacing:.11em;
}
.finder-card-meta strong {
  display:block;
  margin-top:5px;
  color:#d9d9de;
  font-size:11px;
  line-height:1.3;
  overflow-wrap:anywhere;
}
.finder-card-actions {
  margin-top:16px;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.06);
}
.finder-copy-button { min-height:30px; padding:0 9px; border-radius:7px; }
.finder-card-actions a {
  color:var(--brand-cyan);
  font-size:8px;
  font-weight:950;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.finder-empty {
  grid-column:1/-1;
  min-height:220px;
  display:grid;
  place-content:center;
  text-align:center;
  padding:30px;
  border:1px dashed rgba(255,255,255,.11);
  border-radius:14px;
}
.finder-empty strong { font-size:24px; }
.finder-empty p { margin:10px 0 0; color:#85858e; }
.hub-server-actions {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
}
.card-top-actions { display:flex; align-items:center; gap:8px; min-width:0; }
.roster-favorite-button .favorite-button-label { display:none; }
.roster-favorite-button { min-width:29px; padding-inline:7px; }

@media (max-width:1120px) {
  .server-finder-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .hub-server-actions {
    grid-column:1/-1;
    justify-self:stretch;
    justify-content:flex-end;
    padding-top:10px;
    border-top:1px solid rgba(255,255,255,.055);
  }
  .hub-server-action { grid-column:auto; border-top:0; padding-top:0; }
}
@media (max-width:860px) {
  .finder-toolbar { grid-template-columns:1fr 1fr; }
  .finder-search-wrap { grid-column:1/-1; }
  .finder-summary { grid-template-columns:1fr 1fr; }
  .finder-summary p { grid-column:1/-1; text-align:left; }
  .hub-server-actions { grid-column:2/3; justify-self:end; padding-top:0; border-top:0; }
}
@media (max-width:720px) {
  .finder-toolbar { grid-template-columns:1fr; }
  .finder-search-wrap { grid-column:1; }
  .finder-favorites-toggle, .finder-clear-button { width:100%; }
  .server-finder-grid { grid-template-columns:1fr; }
  .finder-server-card { min-height:330px; }
  .finder-summary { grid-template-columns:1fr 1fr; gap:8px; }
  .finder-summary > div { align-items:center; flex-direction:column; gap:2px; }
  .finder-summary p { text-align:left; }
  .hub-server-actions { grid-column:1; justify-self:stretch; justify-content:space-between; padding-top:13px; border-top:1px solid rgba(255,255,255,.055); }
  .hub-server-action { text-align:right; }
  .card-top { align-items:flex-start; }
  .card-top-actions { flex-direction:column; align-items:flex-end; }
}
@media (max-width:430px) {
  .finder-summary { grid-template-columns:1fr; }
  .finder-summary p { grid-column:1; }
  .finder-card-meta { grid-template-columns:1fr; }
  .finder-card-actions { align-items:stretch; flex-direction:column; }
  .finder-copy-button { width:100%; min-height:36px; }
  .finder-card-actions a { text-align:right; padding-top:4px; }
}


/* ============================================================
   V3.30 — SERVER COMPARE
   ============================================================ */
.server-compare-section {
  background:
    radial-gradient(circle at 78% 8%, rgba(80,191,226,.055), transparent 28%),
    linear-gradient(180deg,#0b0b0d,#08080a);
  border-top:1px solid rgba(255,255,255,.045);
  border-bottom:1px solid rgba(255,255,255,.045);
}
.compare-heading p { max-width:720px; }
.finder-card-top-actions { display:flex; align-items:center; gap:6px; }
.finder-compare-button,
.hub-compare-button,
.compare-clear-button,
.compare-remove-button,
.compare-card-actions button {
  border:1px solid rgba(255,255,255,.11);
  background:#111116;
  color:#a8a8b0;
  font:inherit;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
  cursor:pointer;
}
.finder-compare-button,
.hub-compare-button {
  min-height:28px;
  padding:0 8px;
  border-radius:7px;
  font-size:7px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
}
.finder-compare-button.is-selected,
.hub-compare-button.is-selected {
  border-color:rgba(80,191,226,.45);
  background:rgba(80,191,226,.09);
  color:#dff8ff;
}
.compare-toolbar {
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:14px;
  align-items:center;
  margin:0 0 14px;
  padding:12px;
  border:1px solid rgba(255,255,255,.075);
  border-radius:12px;
  background:rgba(255,255,255,.018);
}
.compare-counter {
  display:flex;
  align-items:baseline;
  gap:7px;
  white-space:nowrap;
}
.compare-counter strong { font-size:18px; color:#fff; }
.compare-counter span,
.compare-toolbar p {
  color:#777780;
  font-size:8px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.compare-toolbar p { margin:0; }
.compare-clear-button {
  min-height:34px;
  padding:0 11px;
  border-radius:8px;
  font-size:7px;
}
.compare-clear-button:disabled { opacity:.35; cursor:not-allowed; }
.compare-selection-tray {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-bottom:14px;
}
.compare-slot {
  min-width:0;
  min-height:64px;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  padding:11px 12px;
  border:1px dashed rgba(255,255,255,.1);
  border-radius:10px;
  background:rgba(255,255,255,.012);
}
.compare-slot.filled {
  border-style:solid;
  border-color:color-mix(in srgb,var(--compare-accent) 35%,rgba(255,255,255,.08));
  background:linear-gradient(120deg,color-mix(in srgb,var(--compare-accent) 7%,transparent),rgba(255,255,255,.015));
}
.compare-slot > span {
  display:grid;
  place-items:center;
  min-width:34px;
  height:28px;
  padding:0 6px;
  border-radius:6px;
  border:1px solid rgba(255,255,255,.08);
  color:#8f8f98;
  font-size:7px;
  font-weight:950;
}
.compare-slot strong {
  min-width:0;
  color:#d8d8de;
  font-size:11px;
  line-height:1.2;
  overflow-wrap:anywhere;
}
.compare-slot button {
  width:26px;
  height:26px;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.06);
  color:#aaaab3;
  cursor:pointer;
}
.server-compare-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.compare-server-card {
  --compare-accent:#d71920;
  min-width:0;
  padding:20px;
  border:1px solid rgba(255,255,255,.085);
  border-radius:14px;
  background:
    linear-gradient(180deg,color-mix(in srgb,var(--compare-accent) 6%,transparent),transparent 30%),
    linear-gradient(155deg,#111114,#09090b);
  box-shadow:inset 2px 0 0 var(--compare-accent);
}
.compare-card-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.compare-card-head > div { min-width:0; display:flex; align-items:center; gap:8px; }
.compare-card-head small {
  min-width:0;
  color:#72727b;
  font-size:7px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  overflow-wrap:anywhere;
}
.compare-short-label {
  display:grid;
  place-items:center;
  min-width:38px;
  height:28px;
  padding:0 7px;
  border:1px solid color-mix(in srgb,var(--compare-accent) 38%,rgba(255,255,255,.08));
  border-radius:7px;
  color:#fff;
  font-size:7px;
  font-weight:950;
}
.compare-remove-button {
  min-height:28px;
  padding:0 8px;
  border-radius:7px;
  font-size:6.5px;
}
.compare-server-card h3 {
  margin:18px 0 12px;
  font-size:27px;
  line-height:1;
  letter-spacing:-.04em;
}
.compare-status-line {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  min-height:32px;
}
.compare-status-line > small {
  color:#6f6f78;
  font-size:6.5px;
  font-weight:900;
  letter-spacing:.08em;
  text-align:right;
}
.compare-facts {
  display:grid;
  gap:0;
  margin:16px 0 0;
  border-top:1px solid rgba(255,255,255,.065);
}
.compare-facts > div {
  display:grid;
  grid-template-columns:82px minmax(0,1fr);
  gap:10px;
  padding:10px 0;
  border-bottom:1px solid rgba(255,255,255,.055);
}
.compare-facts dt {
  color:#686871;
  font-size:6.5px;
  font-weight:950;
  letter-spacing:.1em;
}
.compare-facts dd {
  margin:0;
  color:#dbdbe0;
  font-size:10px;
  font-weight:800;
  line-height:1.35;
  overflow-wrap:anywhere;
}
.compare-tags { display:flex; flex-wrap:wrap; gap:5px; margin-top:14px; }
.compare-tags span {
  padding:5px 7px;
  border:1px solid rgba(255,255,255,.075);
  border-radius:999px;
  color:#92929b;
  font-size:6.5px;
  font-weight:900;
}
.compare-feature-list { margin-top:16px; }
.compare-feature-list > span {
  color:var(--compare-accent);
  font-size:7px;
  font-weight:950;
  letter-spacing:.1em;
}
.compare-feature-list ul { margin:9px 0 0; padding-left:16px; }
.compare-feature-list li,
.compare-feature-list p {
  margin:5px 0;
  color:#aaaab2;
  font-size:10px;
  line-height:1.35;
}
.compare-card-actions {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:18px;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.06);
}
.compare-card-actions button {
  min-height:30px;
  padding:0 9px;
  border-radius:7px;
  font-size:7px;
}
.compare-card-actions a {
  color:var(--brand-cyan);
  font-size:8px;
  font-weight:950;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.compare-empty {
  grid-column:1/-1;
  min-height:220px;
  display:grid;
  place-content:center;
  text-align:center;
  padding:30px;
  border:1px dashed rgba(255,255,255,.11);
  border-radius:14px;
  background:rgba(255,255,255,.01);
}
.compare-empty strong { font-size:24px; }
.compare-empty p { max-width:520px; margin:10px auto 0; color:#85858e; }

@media (max-width:1040px) {
  .server-compare-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .compare-server-card:last-child:nth-child(3) { grid-column:1/-1; }
}
@media (max-width:760px) {
  .compare-toolbar { grid-template-columns:1fr auto; }
  .compare-toolbar p { grid-column:1/-1; grid-row:2; }
  .compare-selection-tray { grid-template-columns:1fr; }
  .server-compare-grid { grid-template-columns:1fr; }
  .compare-server-card:last-child:nth-child(3) { grid-column:auto; }
  .hub-server-actions { flex-wrap:wrap; }
}
@media (max-width:520px) {
  .compare-toolbar { grid-template-columns:1fr; }
  .compare-toolbar p { grid-column:1; grid-row:auto; }
  .compare-clear-button { width:100%; }
  .finder-card-top { align-items:flex-start; }
  .finder-card-top-actions { flex-direction:column-reverse; align-items:flex-end; }
  .compare-status-line { align-items:flex-start; flex-direction:column; }
  .compare-status-line > small { text-align:left; }
  .compare-facts > div { grid-template-columns:72px minmax(0,1fr); }
  .compare-card-actions { align-items:stretch; flex-direction:column; }
  .compare-card-actions button { width:100%; min-height:36px; }
  .compare-card-actions a { text-align:right; }
}

/* ============================================================
   V3.31 — GAME VISUAL BRANDING
   Approved game artwork/logo bands from the network visual mockup.
   ============================================================ */
.game-brand-art {
  position: relative;
  overflow: hidden;
  width: 100%;
  border: 1px solid rgba(255,255,255,.085);
  border-radius: 11px;
  background: #09090b;
  box-shadow: inset 0 0 24px rgba(0,0,0,.24), 0 10px 26px rgba(0,0,0,.12);
  isolation: isolate;
}
.game-brand-art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.02), transparent 50%, rgba(0,0,0,.16));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.025);
}
.game-brand-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.98) contrast(1.03) brightness(.94);
  transition: transform .24s ease, filter .24s ease;
}
.finder-server-card:hover .game-brand-art img,
.network-server-card:hover .game-brand-art img,
.compare-server-card:hover .game-brand-art img {
  transform: scale(1.018);
  filter: saturate(1.06) contrast(1.04) brightness(1);
}
.finder-game-art {
  height: 118px;
  margin: 15px 0 13px;
  border-color: color-mix(in srgb, var(--finder-accent) 36%, rgba(255,255,255,.08));
}
.roster-game-art {
  height: 112px;
  margin: 14px 0 13px;
}
.compare-game-art {
  height: 108px;
  margin: 15px 0 4px;
  border-color: color-mix(in srgb, var(--compare-accent) 34%, rgba(255,255,255,.08));
}
@media (max-width: 720px) {
  .finder-game-art { height: 128px; }
  .roster-game-art { height: 120px; }
  .compare-game-art { height: 116px; }
}
@media (max-width: 430px) {
  .finder-game-art,
  .roster-game-art,
  .compare-game-art { height: 108px; }
}


/* ============================================================
   AATM V3.36 FRONT-END POLISH
   Mobile usability + accessibility + Network Hub readability
   ============================================================ */

/* Long server addresses and route text should never break layout. */
.hub-server-route,
.hub-route-line,
.hub-server-route strong,
.hub-server-identity,
.hub-server-status,
.hub-server-population {
    min-width: 0;
}

.hub-server-route strong,
.hub-route-line {
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Give interactive controls a reliable touch target. */
.hub-copy-address,
.hub-server-action,
.hub-compare-button,
.hub-favorite-button,
[data-hub-filter],
#hub-refresh-button {
    min-height: 42px;
}

/* Keep action rows usable when space gets tight. */
.hub-server-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
}

/* Clear keyboard navigation feedback across the site. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 3px;
}

/* Avoid accidental horizontal page scrolling. */
html,
body {
    max-width: 100%;
    overflow-x: clip;
}

/* ------------------------------------------------------------
   TABLET / SMALL DESKTOP
   ------------------------------------------------------------ */

@media (max-width: 980px) {
    .hub-server-row {
        grid-template-columns: minmax(0, 1.4fr) minmax(140px, .8fr);
        gap: .9rem 1rem;
    }

    .hub-server-identity,
    .hub-server-route {
        min-width: 0;
    }

    .hub-server-population,
    .hub-server-status {
        justify-self: start;
    }

    .hub-server-route,
    .hub-server-actions {
        grid-column: 1 / -1;
    }
}

/* ------------------------------------------------------------
   MOBILE
   ------------------------------------------------------------ */

@media (max-width: 700px) {
    .hub-server-row {
        grid-template-columns: 1fr;
        gap: .8rem;
        padding: 1rem;
    }

    .hub-server-identity,
    .hub-server-status,
    .hub-server-population,
    .hub-server-route,
    .hub-server-actions {
        grid-column: 1;
        width: 100%;
        justify-self: stretch;
    }

    .hub-server-identity {
        align-items: center;
    }

    .hub-server-status,
    .hub-server-population {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .75rem;
    }

    .hub-server-status small,
    .hub-server-population small {
        text-align: right;
    }

    .hub-route-line {
        display: flex;
        align-items: flex-start;
        gap: .6rem;
        flex-wrap: wrap;
    }

    .hub-copy-address {
        flex: 0 0 auto;
    }

    .hub-server-actions > * {
        flex: 1 1 130px;
        text-align: center;
        justify-content: center;
    }

    [data-hub-filter],
    #hub-refresh-button {
        min-height: 44px;
    }
}

/* ------------------------------------------------------------
   VERY SMALL PHONES
   ------------------------------------------------------------ */

@media (max-width: 430px) {
    .hub-server-row {
        padding: .85rem;
    }

    .hub-server-status,
    .hub-server-population {
        align-items: flex-start;
        flex-direction: column;
        gap: .25rem;
    }

    .hub-server-status small,
    .hub-server-population small {
        text-align: left;
    }

    .hub-server-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hub-server-actions > * {
        width: 100%;
    }
}

/* Respect reduced-motion preference. */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* END AATM V3.36 FRONT-END POLISH */

/* ============================================================
   AATM V3.37 STATUS-FIRST POLISH
   Stronger state visibility + interaction feedback
   ============================================================ */

/* ------------------------------------------------------------
   NETWORK HUB ROW DEPTH
   ------------------------------------------------------------ */

.hub-server-row {
    position: relative;
    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease,
        opacity .18s ease;
}

.hub-server-row:hover,
.hub-server-row:focus-within {
    transform: translateY(-2px);
    border-color: var(--hub-accent);
    box-shadow:
        0 14px 34px rgba(0, 0, 0, .28),
        0 0 0 1px color-mix(in srgb, var(--hub-accent) 42%, transparent);
}

/* Strong left-side state rail. */
.hub-server-row::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: rgba(255, 255, 255, .18);
    pointer-events: none;
}

/* ONLINE */
.hub-server-row[data-hub-state="online"]::before {
    background: #39d98a;
    box-shadow: 0 0 16px rgba(57, 217, 138, .48);
}

.hub-server-row[data-hub-state="online"] .status-badge {
    color: #8ff0bd;
}

/* OFFLINE */
.hub-server-row[data-hub-state="offline"]::before {
    background: #d71920;
    box-shadow: 0 0 14px rgba(215, 25, 32, .4);
}

.hub-server-row[data-hub-state="offline"] .status-badge {
    color: #ff7a7f;
}

/* UNKNOWN */
.hub-server-row[data-hub-state="unknown"]::before {
    background: rgba(255, 255, 255, .32);
}

/* Stale telemetry should remain obvious without implying offline. */
.hub-server-row.feed-stale {
    border-style: dashed;
}

.hub-server-row.feed-stale .hub-server-status small::after {
    content: " • STALE";
    color: #ff7a7f;
    font-weight: 700;
    letter-spacing: .06em;
}

/* ------------------------------------------------------------
   SERVER IDENTITY
   ------------------------------------------------------------ */

.hub-server-mark {
    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.hub-server-row:hover .hub-server-mark,
.hub-server-row:focus-within .hub-server-mark {
    transform: scale(1.04);
    box-shadow: 0 0 22px var(--hub-accent);
}

/* ------------------------------------------------------------
   HUB ACTIONS
   ------------------------------------------------------------ */

.hub-copy-address,
.hub-server-action,
.hub-compare-button,
.hub-favorite-button {
    transition:
        transform .15s ease,
        border-color .15s ease,
        background-color .15s ease,
        color .15s ease;
}

.hub-copy-address:hover,
.hub-server-action:hover,
.hub-compare-button:hover,
.hub-favorite-button:hover {
    transform: translateY(-1px);
}

.hub-favorite-button.is-favorite {
    border-color: #d71920;
    background: rgba(215, 25, 32, .16);
    color: #fff;
}

.hub-compare-button[aria-pressed="true"],
.hub-compare-button.is-selected {
    border-color: var(--hub-accent);
}

/* ------------------------------------------------------------
   FILTER CONTROLS
   ------------------------------------------------------------ */

[data-hub-filter] {
    transition:
        background-color .15s ease,
        border-color .15s ease,
        color .15s ease,
        transform .15s ease;
}

[data-hub-filter]:hover {
    transform: translateY(-1px);
}

[data-hub-filter].active {
    border-color: #d71920;
    background: rgba(215, 25, 32, .18);
    color: #fff;
}

#hub-refresh-button.is-refreshing {
    opacity: .72;
    cursor: wait;
}

/* ------------------------------------------------------------
   OTHER SERVER CARDS
   ------------------------------------------------------------ */

.finder-server-card,
.server-card,
.compare-server-card {
    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.finder-server-card:hover,
.finder-server-card:focus-within,
.server-card:hover,
.server-card:focus-within,
.compare-server-card:hover,
.compare-server-card:focus-within {
    transform: translateY(-3px);
    box-shadow: 0 16px 38px rgba(0, 0, 0, .3);
}

/* Join addresses should remain readable on narrow layouts. */
.finder-card-meta strong,
.compare-facts dd {
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* ------------------------------------------------------------
   MOBILE
   ------------------------------------------------------------ */

@media (max-width: 700px) {
    .hub-server-row::before {
        width: 3px;
    }

    .hub-server-row:hover,
    .hub-server-row:focus-within,
    .finder-server-card:hover,
    .finder-server-card:focus-within,
    .server-card:hover,
    .server-card:focus-within,
    .compare-server-card:hover,
    .compare-server-card:focus-within {
        transform: none;
    }
}

/* END AATM V3.37 STATUS-FIRST POLISH */

/* ==========================================================
   AATM V3.41 VISIBLE HOMEPAGE POLISH
   ========================================================== */

/*
 * Keep in-page navigation targets visible beneath the
 * sticky site header.
 */
#featured,
#hub,
#finder,
#compare,
#servers,
#updates,
#network {
    scroll-margin-top: 96px;
}

.network-hero .hero-copy {
    min-width: 0;
}

/*
 * Mobile navigation:
 * prevent the expanded menu from extending beyond a
 * short phone viewport while preserving the existing
 * hamburger behaviour.
 */
@media (max-width: 720px) {
    .main-nav.open {
        max-height: calc(100vh - 64px);
        max-height: calc(100dvh - 64px);
        overflow-y: auto;
        overscroll-behavior: contain;
        box-shadow: 0 18px 36px rgba(0,0,0,.48);
    }

    /*
     * Replace the old fixed 58px mobile homepage title
     * with a fluid value for narrow devices.
     */
    .network-hero h1 {
        font-size: clamp(46px, 14vw, 58px);
        line-height: .93;
        overflow-wrap: anywhere;
    }

    .network-hero .hero-actions {
        width: 100%;
    }
}

@media (max-width: 430px) {
    .network-hero {
        padding-top: 68px;
    }

    .network-hero h1 {
        font-size: clamp(42px, 13.5vw, 52px);
    }

    .network-hero .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .network-hero .hero-actions .button {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .network-hero-tags {
        gap: 6px;
    }
}

/* END AATM V3.41 VISIBLE HOMEPAGE POLISH */

/* ==========================================================
   AATM V3.42 ROSTER CARD VISUAL CLARITY
   ========================================================== */

.network-server-card {
    min-height: 390px;
}

.network-server-card .card-meta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 28px;
}

.network-server-card .card-players {
    width: 100%;
    padding-bottom: 13px;
}

.network-server-card .card-players strong {
    font-size: clamp(18px, 1.3vw, 21px);
    line-height: 1.2;
}

.network-server-card .card-players span,
.network-server-card .card-connection span {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .11em;
    line-height: 1.35;
    text-transform: uppercase;
}

.network-server-card .card-connection {
    min-width: 0;
    padding: 12px 0 13px;
    border-top: 1px solid rgba(255,255,255,.065);
}

.network-server-card .card-connection strong {
    display: block;
    margin-top: 6px;
    color: #f2f2f4;
    font-size: 13px;
    font-weight: 780;
    line-height: 1.4;
    overflow-wrap: anywhere;
    word-break: normal;
}

.network-server-card .card-link-live {
    display: flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    margin-top: 0;
    padding: 11px 13px;
    border: 1px solid rgba(80,191,226,.20);
    border-radius: 10px;
    background: rgba(80,191,226,.055);
    color: var(--brand-cyan);
    text-align: left;
    transition:
        border-color .18s ease,
        background .18s ease,
        transform .18s ease;
}

.network-server-card .card-link-live:hover {
    border-color: rgba(80,191,226,.42);
    background: rgba(80,191,226,.10);
    color: #fff;
}

.network-server-card .card-link-live:focus-visible {
    border-color: rgba(80,191,226,.55);
}

@media (max-width: 720px) {
    .network-server-card {
        min-height: 0;
        padding: 23px;
    }

    .network-server-card .card-meta {
        margin-top: 24px;
    }

    .network-server-card .card-connection strong {
        font-size: 14px;
    }
}

/* END AATM V3.42 ROSTER CARD VISUAL CLARITY */

/* ==========================================================
   AATM V3.43 ROSTER COPY ADDRESS
   ========================================================== */

.network-server-card .card-connection-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}

.network-server-card .card-connection-head > span {
    min-width: 0;
}

.roster-copy-address {
    appearance: none;
    flex: 0 0 auto;
    min-width: 72px;
    min-height: 34px;
    padding: 6px 10px;
    border: 1px solid rgba(80,191,226,.24);
    border-radius: 8px;
    background: rgba(80,191,226,.055);
    color: var(--brand-cyan);
    font: inherit;
    font-size: 8px;
    font-weight: 950;
    letter-spacing: .10em;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        border-color .18s ease,
        background .18s ease,
        color .18s ease,
        transform .18s ease;
}

.roster-copy-address:hover {
    border-color: rgba(80,191,226,.48);
    background: rgba(80,191,226,.11);
    color: #fff;
}

.roster-copy-address:active {
    transform: translateY(1px);
}

.roster-copy-address:focus-visible {
    outline: 2px solid rgba(80,191,226,.72);
    outline-offset: 2px;
}

.roster-copy-address.copy-failed {
    border-color: rgba(255,88,88,.48);
    background: rgba(255,88,88,.08);
    color: #ff9c9c;
}

@media (max-width: 430px) {
    .network-server-card .card-connection-head {
        align-items: flex-start;
    }

    .roster-copy-address {
        min-height: 38px;
        padding-inline: 12px;
    }
}

/* END AATM V3.43 ROSTER COPY ADDRESS */

/* ==========================================================
   AATM V3.44 ROSTER JOIN PANEL + TOUCH POLISH
   ========================================================== */

/*
   V3.44 is intentionally CSS-only.

   Population stays population.
   Join information stays connection information.
   No fake player values.
   No telemetry changes.
*/

.network-server-card .card-connection {
    margin: 0 0 12px;
    padding: 12px 13px 13px;
    border: 1px solid rgba(80,191,226,.15);
    border-radius: 10px;
    background:
        linear-gradient(
            135deg,
            rgba(80,191,226,.055),
            rgba(80,191,226,.018)
        );
}

.network-server-card .card-connection-head {
    min-height: 40px;
}

.network-server-card .card-connection-head > span {
    margin-top: 0;
}

.network-server-card .card-connection strong {
    margin-top: 7px;
    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        "Liberation Mono",
        "Courier New",
        monospace;
    font-size: 12.5px;
    font-weight: 760;
    line-height: 1.45;
    letter-spacing: -.01em;
}

.roster-copy-address {
    min-width: 76px;
    min-height: 40px;
    padding: 7px 12px;
    font-size: 9px;
    letter-spacing: .11em;
}

.network-server-card .card-link-live {
    min-height: 48px;
    padding-block: 12px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.network-server-card .card-link-live::after {
    content: "›";
    flex: 0 0 auto;
    margin-left: 12px;
    font-size: 18px;
    line-height: 1;
}

.network-server-card .card-players {
    padding-bottom: 14px;
}

@media (max-width: 720px) {
    .network-server-card .card-connection {
        padding: 13px 14px 14px;
    }

    .network-server-card .card-connection strong {
        font-size: 13px;
        line-height: 1.5;
    }

    .network-server-card .card-link-live {
        min-height: 48px;
    }
}

@media (max-width: 430px) {
    .network-server-card .card-connection-head {
        min-height: 44px;
        align-items: center;
    }

    .roster-copy-address {
        min-width: 84px;
        min-height: 44px;
        padding: 8px 13px;
        font-size: 9px;
    }

    .network-server-card .card-connection strong {
        margin-top: 9px;
    }
}

/* END AATM V3.44 ROSTER JOIN PANEL + TOUCH POLISH */

/* ==========================================================
   AATM V3.45 SERVER PROFILE CONNECTION POLISH
   ========================================================== */

/*
   Profile-page presentation only.
   Clipboard logic, join guides, server data, and telemetry stay untouched.
*/

.server-hero .server-actions [data-copy-address] {
    min-height: 44px;
    padding-inline: 18px;
}

.server-hero .join-strip {
    border: 1px solid rgba(255,255,255,.08);
    border-left: 3px solid var(--accent);
    border-radius: 10px;
    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.035),
            rgba(255,255,255,.012)
        );
}

.server-hero .join-strip strong {
    min-width: 0;
    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        "Liberation Mono",
        "Courier New",
        monospace;
    letter-spacing: -.02em;
    overflow-wrap: anywhere;
}

.connect-card {
    min-width: 0;
    border: 1px solid rgba(255,255,255,.10);
    box-shadow:
        inset 0 1px rgba(255,255,255,.03),
        0 18px 50px rgba(0,0,0,.18);
}

.connect-card > #server-address {
    display: block;
    max-width: 100%;
    margin-top: 10px;
    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        "Liberation Mono",
        "Courier New",
        monospace;
    font-size: clamp(17px, 1.6vw, 22px);
    line-height: 1.35;
    letter-spacing: -.025em;
    overflow-wrap: anywhere;
    word-break: normal;
}

.connect-card .connection-details {
    margin-top: 18px;
}

.connect-card .connection-details > div {
    min-width: 0;
}

.connect-card .connection-details strong {
    overflow-wrap: anywhere;
    word-break: normal;
}

.connect-card [data-copy-address] {
    width: 100%;
    min-height: 46px;
    margin-top: 18px;
    justify-content: center;
    text-align: center;
}

.server-hero .server-actions [data-copy-address]:focus-visible,
.connect-card [data-copy-address]:focus-visible {
    outline: 2px solid var(--accent-2);
    outline-offset: 3px;
}

@media (max-width: 720px) {
    .server-hero .join-strip {
        padding: 14px;
    }

    .server-hero .join-strip strong {
        font-size: 14px;
        line-height: 1.45;
    }

    .connect-card > #server-address {
        font-size: 16px;
        line-height: 1.5;
    }

    .connect-card [data-copy-address] {
        min-height: 48px;
    }
}

@media (max-width: 450px) {
    .server-actions [data-copy-address] {
        width: 100%;
        min-height: 48px;
    }

    .connect-card [data-copy-address] {
        min-height: 48px;
    }
}

/* END AATM V3.45 SERVER PROFILE CONNECTION POLISH */

/* ==========================================================
   AATM V3.46 PROFILE NAVIGATION + HERO ACTION POLISH
   ========================================================== */

/*
   Presentation only.

   No server.js changes.
   No server-data changes.
   No join-guide changes.
   No telemetry changes.
*/

/* ---------- HERO ACTIONS ---------- */

.server-hero .server-actions {
    align-items: stretch;
}

.server-hero .server-actions .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    text-align: center;
}

.server-hero .server-actions .button:focus-visible {
    outline: 2px solid var(--accent-2);
    outline-offset: 3px;
}


/* ---------- STICKY PROFILE NAV ---------- */

.server-nav-wrap {
    position: sticky;
    overflow: hidden;
}

.server-nav {
    align-items: stretch;
    gap: 26px;
    overscroll-behavior-x: contain;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}

.server-nav a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    min-height: 44px;
    scroll-snap-align: start;
}

.server-nav a:focus-visible {
    color: #fff;
    border-color: var(--accent);
    outline: 2px solid var(--accent-2);
    outline-offset: -4px;
}


/*
   Subtle edge hint:
   the nav continues horizontally on narrow screens.
*/

.server-nav-wrap::after {
    content: "";
    position: absolute;
    z-index: 3;
    top: 1px;
    right: 0;
    bottom: 1px;
    width: 34px;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(8,8,9,0),
            rgba(8,8,9,.92)
        );
}


/* ---------- TABLET / MOBILE ---------- */

@media (max-width: 720px) {
    .server-nav {
        gap: 22px;
        padding-right: 28px;
    }

    .server-nav a {
        min-height: 46px;
        padding-top: 14px;
        padding-bottom: 13px;
    }

    /*
       Two-column action area on phones/tablets where there is
       enough room, avoiding uneven flex wrapping.
    */

    .server-hero .server-actions {
        display: grid;
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .server-hero .server-actions .button {
        width: 100%;
        min-width: 0;
        min-height: 48px;
    }
}

@media (max-width: 450px) {
    .server-nav {
        gap: 19px;
    }

    .server-nav a {
        min-height: 48px;
    }

    .server-hero .server-actions {
        grid-template-columns: 1fr;
    }

    .server-hero .server-actions .button {
        min-height: 48px;
    }
}

/* END AATM V3.46 PROFILE NAVIGATION + HERO ACTION POLISH */

/* ==========================================================
   AATM V3.47 ACTIVE PROFILE NAVIGATION
   ========================================================== */

/*
   Active section treatment for the sticky server-profile nav.
   Profile data, join guides, and telemetry remain untouched.
*/

.server-nav a[aria-current="location"] {
    color: #fff;
    border-color: var(--accent);
    text-shadow:
        0 0 18px
        color-mix(
            in srgb,
            var(--accent) 52%,
            transparent
        );
}

.server-nav a[aria-current="location"]::before {
    content: "";
    width: 5px;
    height: 5px;
    flex: 0 0 5px;
    margin-right: 7px;
    border-radius: 50%;
    background: var(--accent-2);
    box-shadow:
        0 0 10px var(--accent);
}

/*
   The profile nav sits below the main sticky header.
   Keep anchor targets visible below both sticky layers.
*/

#overview,
#gallery,
#locations,
#features,
#events,
#mods,
#links,
#rules,
#join,
#connect {
    scroll-margin-top: 136px;
}

@media (max-width: 720px) {
    #overview,
    #gallery,
    #locations,
    #features,
    #events,
    #mods,
    #links,
    #rules,
    #join,
    #connect {
        scroll-margin-top: 124px;
    }
}

/* END AATM V3.47 ACTIVE PROFILE NAVIGATION */

/* ==========================================================
   AATM V3.48 CONNECTION ADDRESS PRESENTATION
   Hostname primary / verified numeric alternate
   ========================================================== */

.address-secondary {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.hub-route-line-alt {
    margin-top: 7px;
}

.hub-route-line-alt small {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.network-server-card .card-connection-alt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    padding-top: 11px;
    border-top: 1px solid rgba(255,255,255,.07);
}

.network-server-card .card-connection-alt > div {
    min-width: 0;
}

.network-server-card .card-connection-alt span {
    display: block;
}

.network-server-card .card-connection-alt strong {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.alternate-address-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 14px 0 4px;
    padding: 14px 15px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 10px;
    background: rgba(255,255,255,.025);
}

.alternate-address-copy {
    min-width: 0;
}

.alternate-address-copy span {
    display: block;
    color: var(--muted);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.alternate-address-copy strong {
    display: block;
    margin-top: 6px;
    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        "Liberation Mono",
        "Courier New",
        monospace;
    font-size: 14px;
    line-height: 1.45;
    overflow-wrap: anywhere;
    word-break: break-word;
}

#copy-address-alt {
    flex: 0 0 auto;
    min-height: 44px;
}

@media (max-width: 720px) {
    .alternate-address-row {
        align-items: stretch;
        flex-direction: column;
    }

    #copy-address-alt {
        width: 100%;
    }

    .network-server-card .card-connection-alt {
        align-items: stretch;
        flex-direction: column;
    }

    .network-server-card .card-connection-alt .roster-copy-address {
        width: 100%;
        min-height: 44px;
    }
}

/* END AATM V3.48 CONNECTION ADDRESS PRESENTATION */

/* ==========================================================
   AATM V3.51 ALTERNATE IP RESPONSIVE FIX
   Prevent verified numeric fallback addresses from collapsing
   into a one-character-wide vertical column.
   ========================================================== */

.alternate-address-row {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
}

.alternate-address-copy {
    box-sizing: border-box;
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
}

.alternate-address-copy strong {
    display: block;
    width: 100%;
    max-width: 100%;

    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;

    font-size: clamp(10px, 2.8vw, 14px);
    line-height: 1.45;
    letter-spacing: -.025em;
}

#copy-address-alt {
    box-sizing: border-box;
    flex: 0 0 auto;
}

@media (max-width: 720px) {
    .alternate-address-row {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 12px;
    }

    .alternate-address-copy {
        flex: 0 0 auto;
        width: 100%;
    }

    .alternate-address-copy strong {
        width: 100%;
        font-size: clamp(10px, 3.3vw, 13px);
    }

    #copy-address-alt {
        display: block;
        width: 100%;
        max-width: none;
        min-height: 46px;
    }
}

@media (max-width: 380px) {
    .alternate-address-row {
        padding-left: 10px;
        padding-right: 10px;
    }

    .alternate-address-copy strong {
        font-size: 10px;
        letter-spacing: -.04em;
    }
}

/* END AATM V3.51 ALTERNATE IP RESPONSIVE FIX */

/* ==========================================================
   AATM V3.52 HOMEPAGE SIMPLIFICATION

   Homepage only.
   Detailed server profiles remain unchanged.
   ========================================================== */


/* ----------------------------------------------------------
   REMOVE ADVANCED DASHBOARD SECTIONS FROM THE FRONT DOOR
   They remain in the source for rollback / future reuse.
   ---------------------------------------------------------- */

body.home-simplified-v352 #featured,
body.home-simplified-v352 #hub,
body.home-simplified-v352 #finder,
body.home-simplified-v352 #compare,
body.home-simplified-v352 #network,
body.home-simplified-v352 .home-cta-section {
    display: none !important;
}


/* Hide obsolete advanced navigation links. */

body.home-simplified-v352
.main-nav a[href="#hub"],

body.home-simplified-v352
.main-nav a[href="#finder"],

body.home-simplified-v352
.main-nav a[href="#compare"],

body.home-simplified-v352
.main-nav a[href="#network"] {
    display: none !important;
}


/* ----------------------------------------------------------
   COMPACT HERO
   ---------------------------------------------------------- */

body.home-simplified-v352
.network-hero {
    min-height: 510px;
    padding-top: 94px;
    padding-bottom: 62px;
}

body.home-simplified-v352
.network-hero .hero-grid {
    display: block;
    max-width: 940px;
}

body.home-simplified-v352
.network-hero .hero-copy {
    max-width: 790px;
}

body.home-simplified-v352
.network-hero .network-panel {
    display: none !important;
}

body.home-simplified-v352
.network-hero h1 {
    max-width: 850px;
    margin-bottom: 20px;
    font-size:
        clamp(
            58px,
            7.4vw,
            98px
        );
    line-height: .91;
}

body.home-simplified-v352
#site-tagline {
    max-width: 680px;
    font-size: 17px;
    line-height: 1.6;
}

body.home-simplified-v352
.network-hero-tags {
    margin-top: 20px;
}

body.home-simplified-v352
.network-watermark {
    opacity: .65;
}


/* ----------------------------------------------------------
   SERVER ROSTER IS NOW THE MAIN PAGE
   ---------------------------------------------------------- */

body.home-simplified-v352
.network-roster-section {
    padding-top: 66px;
    padding-bottom: 70px;
    border-top:
        1px solid
        rgba(255,255,255,.06);
}

body.home-simplified-v352
.network-roster-section
.section-heading {
    margin-bottom: 22px;
}

body.home-simplified-v352
.network-roster-section
.section-heading p {
    max-width: 650px;
}

body.home-simplified-v352
.roster-legend {
    display: none;
}


/* ----------------------------------------------------------
   SIMPLE SEARCH + FILTER BAR
   ---------------------------------------------------------- */

.home-server-tools {
    display: grid;
    grid-template-columns:
        minmax(250px,1fr)
        auto
        auto;
    align-items: end;
    gap: 12px;

    margin-bottom: 22px;
    padding: 14px;

    border:
        1px solid
        rgba(255,255,255,.085);
    border-radius: 14px;

    background:
        linear-gradient(
            155deg,
            rgba(18,18,21,.96),
            rgba(9,9,11,.98)
        );
}

.home-server-search {
    display: grid;
    gap: 7px;
}

.home-server-search > span {
    color: var(--muted);
    font-size: 8px;
    font-weight: 950;
    letter-spacing: .13em;
}

.home-server-search input {
    box-sizing: border-box;
    width: 100%;
    min-height: 42px;
    padding: 0 13px;

    border:
        1px solid
        rgba(255,255,255,.11);
    border-radius: 9px;

    outline: none;

    background:
        rgba(5,5,7,.72);
    color: #fff;

    font: inherit;
    font-size: 13px;
}

.home-server-search
input:focus {
    border-color:
        rgba(80,191,226,.55);

    box-shadow:
        0 0 0 3px
        rgba(80,191,226,.08);
}

.home-server-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.home-server-filters button {
    min-height: 42px;
    padding: 0 11px;

    border:
        1px solid
        rgba(255,255,255,.10);
    border-radius: 8px;

    background: #101014;
    color: #a9a9b0;

    cursor: pointer;

    font: inherit;
    font-size: 8px;
    font-weight: 950;
    letter-spacing: .09em;
}

.home-server-filters button:hover,
.home-server-filters button:focus-visible {
    color: #fff;

    border-color:
        rgba(80,191,226,.38);
}

.home-server-filters
button.active {
    color: #fff;

    border-color:
        rgba(215,25,32,.62);

    background:
        linear-gradient(
            180deg,
            rgba(215,25,32,.24),
            rgba(111,12,17,.20)
        );

    box-shadow:
        inset 0 -2px
        var(--accent);
}

.home-server-result {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 6px;

    min-width: 100px;
    padding-bottom: 11px;
}

.home-server-result strong {
    color: #fff;
    font-size: 19px;
}

.home-server-result span {
    color: var(--muted);
    font-size: 9px;
    white-space: nowrap;
}


/* ----------------------------------------------------------
   COMPACT SERVER CARDS
   ---------------------------------------------------------- */

body.home-simplified-v352
.network-server-grid {
    grid-template-columns:
        repeat(
            3,
            minmax(0,1fr)
        );

    gap: 13px;
}

body.home-simplified-v352
.network-server-card {
    min-height: 0;
    padding: 18px;
}

body.home-simplified-v352
.network-server-card
.server-card-mark,

body.home-simplified-v352
.network-server-card
.server-card-note,

body.home-simplified-v352
.network-server-card
.roster-favorite-button {
    display: none !important;
}

body.home-simplified-v352
.network-server-card
.card-top {
    margin-bottom: 8px;
}

body.home-simplified-v352
.network-server-card
.roster-game-art {
    height: 78px;
    margin: 9px 0 10px;
}

body.home-simplified-v352
.network-server-card h3 {
    margin: 7px 0 9px;
    font-size:
        clamp(
            20px,
            1.7vw,
            27px
        );
    line-height: 1.02;
}

body.home-simplified-v352
.network-server-card
.server-card-tags {
    gap: 5px;
}

body.home-simplified-v352
.network-server-card
.server-card-tags span {
    min-height: 20px;
    padding: 4px 6px;
    font-size: 6.5px;
}

body.home-simplified-v352
.network-server-card
.server-card-tags
span:nth-child(n+4) {
    display: none;
}

body.home-simplified-v352
.network-server-card
.card-meta {
    display: grid;
    gap: 11px;
    align-items: stretch;

    margin-top: 15px;
}

body.home-simplified-v352
.network-server-card
.card-players {
    padding-bottom: 9px;

    border-bottom:
        1px solid
        rgba(255,255,255,.055);
}

body.home-simplified-v352
.network-server-card
.card-players strong {
    font-size: 15px;
}

body.home-simplified-v352
.network-server-card
.card-connection {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

body.home-simplified-v352
.network-server-card
.card-connection strong {
    font-size: 11px;
    line-height: 1.4;
}

body.home-simplified-v352
.network-server-card
.card-connection-alt {
    margin-top: 8px;
    padding-top: 8px;
}

body.home-simplified-v352
.network-server-card
.card-link {
    margin-top: 2px;
}


/* ----------------------------------------------------------
   NO-RESULT STATE
   ---------------------------------------------------------- */

.home-server-empty {
    margin-top: 15px;
    padding: 28px;

    text-align: center;

    border:
        1px dashed
        rgba(255,255,255,.12);
    border-radius: 12px;

    background:
        rgba(255,255,255,.018);
}

.home-server-empty strong,
.home-server-empty span {
    display: block;
}

.home-server-empty strong {
    color: #fff;
    font-size: 16px;
}

.home-server-empty span {
    margin-top: 6px;
    color: var(--muted);
    font-size: 12px;
}


/* ----------------------------------------------------------
   COMMUNITY — ONLY THE MOST RECENT ITEMS
   ---------------------------------------------------------- */

body.home-simplified-v352
.updates-section {
    padding-top: 58px;
    padding-bottom: 62px;
}

body.home-simplified-v352
.updates-section
.announcement-card:nth-child(n+2),

body.home-simplified-v352
.updates-section
.event-card:nth-child(n+2) {
    display: none;
}

body.home-simplified-v352
.updates-panel {
    min-height: 0;
}


/* ----------------------------------------------------------
   TABLET
   ---------------------------------------------------------- */

@media (max-width: 1050px) {

    body.home-simplified-v352
    .network-server-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0,1fr)
            );
    }

    .home-server-tools {
        grid-template-columns:
            1fr 1fr;
    }

    .home-server-search {
        grid-column:
            1 / -1;
    }

    .home-server-result {
        align-self: center;
    }
}


/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media (max-width: 720px) {

    body.home-simplified-v352
    .network-hero {
        min-height: auto;
        padding-top: 82px;
        padding-bottom: 45px;
    }

    body.home-simplified-v352
    .network-hero h1 {
        font-size:
            clamp(
                48px,
                14.5vw,
                66px
            );
    }

    body.home-simplified-v352
    #site-tagline {
        font-size: 15px;
    }

    body.home-simplified-v352
    .network-roster-section {
        padding-top: 48px;
        padding-bottom: 52px;
    }

    .home-server-tools {
        grid-template-columns:
            1fr;
    }

    .home-server-search {
        grid-column: 1;
    }

    .home-server-filters {
        display: grid;
        grid-template-columns:
            repeat(
                3,
                minmax(0,1fr)
            );
    }

    .home-server-filters button {
        width: 100%;
    }

    .home-server-result {
        justify-content: flex-start;
        padding: 0;
    }

    body.home-simplified-v352
    .network-server-grid {
        grid-template-columns:
            1fr;
    }

    body.home-simplified-v352
    .network-server-card {
        padding: 17px;
    }

    body.home-simplified-v352
    .network-server-card
    .roster-game-art {
        height: 88px;
    }

    body.home-simplified-v352
    .updates-section {
        padding-top: 48px;
        padding-bottom: 50px;
    }
}


/* ----------------------------------------------------------
   VERY SMALL PHONES
   ---------------------------------------------------------- */

@media (max-width: 430px) {

    .home-server-filters {
        grid-template-columns:
            repeat(
                2,
                minmax(0,1fr)
            );
    }

    .home-server-tools {
        padding: 11px;
    }
}

/* END AATM V3.52 HOMEPAGE SIMPLIFICATION */

/* ==========================================================
   AATM V3.53 GAME PROFILE BRANDING
   ========================================================== */

.server-game-branding {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;

    width: fit-content;
    max-width: min(380px, 76vw);

    margin: 0 0 17px;
    padding: 7px 10px;

    border:
        1px solid
        color-mix(
            in srgb,
            var(--accent) 34%,
            rgba(255,255,255,.08)
        );

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            rgba(7,7,9,.88),
            rgba(15,15,18,.56)
        );

    box-shadow:
        0 14px 36px
        rgba(0,0,0,.26);

    overflow: hidden;
}

.server-game-branding::before {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            var(--accent),
            var(--accent-2),
            transparent 92%
        );

    opacity: .9;
}

.server-game-logo {
    position: relative;
    z-index: 1;

    display: block;

    width: auto;
    height: auto;

    max-width: min(350px, 72vw);
    max-height: 108px;

    object-fit: contain;
    object-position: left center;

    filter:
        drop-shadow(
            0 7px 16px
            rgba(0,0,0,.42)
        );
}


/* Give the game branding room without making the hero taller. */

body.has-game-branding
.server-title-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


/* SCUM / Rust / PZ etc. retain their existing title.
   The visual logo is additional identity, not a replacement. */

body.has-game-branding
#server-game {
    margin-top: 1px;
}


/* Tablet */

@media (max-width: 900px) {

    .server-game-branding {
        max-width: min(330px, 72vw);
        margin-bottom: 15px;
    }

    .server-game-logo {
        max-width: min(300px, 68vw);
        max-height: 92px;
    }
}


/* Mobile */

@media (max-width: 620px) {

    .server-game-branding {
        max-width: 76vw;
        margin-bottom: 13px;
        padding: 6px 8px;
    }

    .server-game-logo {
        max-width: 70vw;
        max-height: 78px;
    }
}


/* Very small phones */

@media (max-width: 390px) {

    .server-game-branding {
        max-width: 82vw;
    }

    .server-game-logo {
        max-width: 76vw;
        max-height: 68px;
    }
}

/* END AATM V3.53 GAME PROFILE BRANDING */

/* ==========================================================
   AATM V3.60 SCUM QUICK FACTS + JOIN

   SCUM ONLY.
   V3.56 HERO IS UNCHANGED.
   ========================================================== */


/* ----------------------------------------------------------
   QUICK FACTS
   ---------------------------------------------------------- */

body[data-server-id="scum"]
.aatm-quick-facts-kicker {
    margin:
        26px 0 10px;

    font-size:
        12px;

    font-weight:
        900;

    letter-spacing:
        .18em;

    text-transform:
        uppercase;

    color:
        var(--accent-bright, var(--accent));

    opacity:
        .95;
}


body[data-server-id="scum"]
#quick-stats {
    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap:
        0;

    overflow:
        hidden;

    border:
        1px solid rgba(255,255,255,.10);

    border-left:
        3px solid var(--accent);

    border-radius:
        14px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.035),
            rgba(255,255,255,.012)
        );

    box-shadow:
        0 18px 45px
        rgba(0,0,0,.18);
}


body[data-server-id="scum"]
#quick-stats .stat-card {
    min-width:
        0;

    min-height:
        112px;

    border:
        0;

    border-right:
        1px solid rgba(255,255,255,.08);

    border-radius:
        0;

    background:
        transparent;
}


body[data-server-id="scum"]
#quick-stats .stat-card:last-child {
    border-right:
        0;
}


body[data-server-id="scum"]
#quick-stats .stat-card span {
    letter-spacing:
        .11em;
}


body[data-server-id="scum"]
#quick-stats .stat-card strong {
    overflow-wrap:
        anywhere;
}


/* ----------------------------------------------------------
   HOW TO JOIN
   ---------------------------------------------------------- */

body[data-server-id="scum"]
#join.join-guide-section {
    position:
        relative;
}


body[data-server-id="scum"]
#join-steps.join-steps {
    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap:
        14px;
}


body[data-server-id="scum"]
#join-steps > .join-step {
    min-width:
        0;

    min-height:
        205px;

    padding:
        22px;

    border:
        1px solid rgba(255,255,255,.09);

    border-top:
        2px solid var(--accent);

    border-radius:
        12px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.035),
            rgba(255,255,255,.012)
        );

    box-shadow:
        0 18px 42px
        rgba(0,0,0,.16);
}


body[data-server-id="scum"]
#join-steps > .join-step > span {
    color:
        var(--accent-bright, var(--accent));

    font-weight:
        900;
}


body[data-server-id="scum"]
#join-steps > .join-step h3 {
    margin-top:
        16px;
}


body[data-server-id="scum"]
#join-steps > .join-step p {
    line-height:
        1.65;
}


/* ----------------------------------------------------------
   TABLET
   ---------------------------------------------------------- */

@media (max-width: 1000px) {

    body[data-server-id="scum"]
    #quick-stats {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    body[data-server-id="scum"]
    #quick-stats .stat-card {
        border-bottom:
            1px solid rgba(255,255,255,.08);
    }

    body[data-server-id="scum"]
    #quick-stats .stat-card:nth-child(2n) {
        border-right:
            0;
    }

    body[data-server-id="scum"]
    #quick-stats .stat-card:nth-last-child(-n+2) {
        border-bottom:
            0;
    }

    body[data-server-id="scum"]
    #join-steps.join-steps {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media (max-width: 560px) {

    body[data-server-id="scum"]
    #quick-stats {
        grid-template-columns:
            1fr;
    }

    body[data-server-id="scum"]
    #quick-stats .stat-card {
        min-height:
            96px;

        border-right:
            0;

        border-bottom:
            1px solid rgba(255,255,255,.08);
    }

    body[data-server-id="scum"]
    #quick-stats .stat-card:last-child {
        border-bottom:
            0;
    }

    body[data-server-id="scum"]
    #join-steps.join-steps {
        grid-template-columns:
            1fr;
    }

    body[data-server-id="scum"]
    #join-steps > .join-step {
        min-height:
            0;
    }
}


/* END AATM V3.60 SCUM QUICK FACTS + JOIN */
