:root {
  --paper: #f3f1e8;
  --paper-deep: #e8e5d8;
  --ink: #12231d;
  --ink-soft: #3d5047;
  --muted: #718078;
  --line: rgba(19, 40, 32, .13);
  --forest: #12271f;
  --forest-2: #1c3a2e;
  --lime: #c9f16f;
  --lime-soft: #e8f8be;
  --coral: #eb7a52;
  --blue: #4f9fd0;
  --yellow: #d6ac4c;
  --white: #fffdf7;
  --radius: 20px;
  --shadow: 0 18px 50px rgba(27, 43, 36, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .22;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(27,49,40,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27,49,40,.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: 76px;
  padding: 0 max(24px, calc((100vw - 1280px) / 2));
  display: flex;
  align-items: center;
  gap: 44px;
  color: var(--ink);
  border-bottom: 1px solid rgba(19,40,32,.09);
  background: rgba(243,241,232,.9);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 13px;
}
.brand > span:last-child { display: grid; line-height: 1; }
.brand strong { font-size: 15px; letter-spacing: .05em; }
.brand small { margin-top: 4px; color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .2em; }
.brand-mark {
  position: relative;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 11px;
  background: var(--forest);
  box-shadow: 0 8px 22px rgba(19,42,33,.2);
}
.brand-mark i {
  position: absolute;
  bottom: 5px;
  width: 6px;
  border-radius: 2px;
  background: var(--lime);
  transform: skewX(-18deg);
}
.brand-mark i:nth-child(1) { left: 9px; height: 14px; opacity: .55; }
.brand-mark i:nth-child(2) { left: 17px; height: 21px; }
.brand-mark i:nth-child(3) { left: 25px; height: 27px; opacity: .8; }
.desktop-nav { display: flex; align-items: center; gap: 27px; margin-left: auto; }
.desktop-nav a {
  position: relative;
  padding: 27px 0;
  color: #53655c;
  font-size: 12px;
  font-weight: 600;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 18px;
  height: 2px;
  border-radius: 4px;
  background: var(--forest);
  transition: right .2s ease;
}
.desktop-nav a:hover { color: var(--forest); }
.desktop-nav a:hover::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 9px; }
.live-pill {
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(32,88,63,.15);
  border-radius: 999px;
  color: #356c53;
  background: rgba(255,255,255,.4);
  font-size: 10px;
  font-weight: 700;
}
.live-pill i, .dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  border-radius: 50%;
  background: #31b675;
  box-shadow: 0 0 0 4px rgba(49,182,117,.13);
}
.live-pill.offline i { background: var(--coral); box-shadow: 0 0 0 4px rgba(235,122,82,.12); }
.round-button {
  width: 36px;
  height: 36px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,.48);
  cursor: pointer;
  transition: transform .3s ease, background .2s ease;
}
.round-button:hover { background: white; transform: rotate(20deg); }
.round-button svg { width: 16px; height: 16px; }

.hero {
  position: relative;
  min-height: 650px;
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(480px, 1.06fr);
  overflow: hidden;
  color: #f4f3e8;
  background: var(--forest);
}
.hero-noise {
  position: absolute;
  inset: 0;
  opacity: .16;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.2'/%3E%3C/svg%3E");
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: clamp(80px, 9vw, 135px) 56px 78px max(30px, calc((100vw - 1280px) / 2));
}
.eyebrow, .kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow { color: #a8c4af; }
.eyebrow > span { width: 22px; height: 1px; background: var(--lime); }
.hero h1 {
  max-width: 680px;
  margin: 25px 0 26px;
  font-size: clamp(52px, 5vw, 78px);
  line-height: 1.06;
  letter-spacing: -.06em;
}
.hero h1 em { color: var(--lime); font-style: normal; }
.hero-lead {
  max-width: 510px;
  margin: 0;
  color: #a9bcae;
  font-size: 15px;
  line-height: 1.9;
}
.hero-actions { margin-top: 34px; display: flex; gap: 10px; }
.button {
  min-height: 46px;
  padding: 0 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  transition: transform .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button svg { width: 17px; height: 17px; }
.button.accent { color: #17261e; background: var(--lime); }
.button.quiet { color: #dce7dd; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); }
.version-row {
  margin-top: 49px;
  display: flex;
  align-items: center;
  gap: 22px;
  color: #80968a;
  font-size: 9px;
}
.version-row > span { display: flex; gap: 6px; align-items: center; }
.version-row strong { color: #dce9db; font-family: ui-monospace, Consolas, monospace; font-size: 10px; }
.version-row .version-time { margin-left: 4px; }
.hero-visual { position: relative; min-height: 650px; overflow: hidden; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 68% 30%, rgba(201,241,111,.2), transparent 25%),
    linear-gradient(90deg, rgba(18,39,31,.35), transparent 40%);
}
.hero-visual > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-sun {
  position: absolute;
  width: 340px;
  height: 340px;
  top: 42px;
  right: 62px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,241,111,.18), rgba(201,241,111,.035) 60%, transparent 70%);
  border: 1px solid rgba(201,241,111,.08);
  box-shadow: 0 0 0 50px rgba(201,241,111,.025), 0 0 0 110px rgba(201,241,111,.015);
}
.hero-live-card {
  position: absolute;
  z-index: 2;
  right: 35px;
  bottom: 44px;
  min-width: 180px;
  padding: 17px 19px;
  display: grid;
  gap: 4px;
  border: 1px solid rgba(216,255,154,.17);
  border-radius: 14px;
  background: rgba(10, 27, 20, .58);
  backdrop-filter: blur(15px);
}
.hero-live-card .mini-label { color: #8ca895; font-size: 8px; font-weight: 800; letter-spacing: .16em; }
.hero-live-card strong { margin-top: 3px; color: var(--lime); font-size: 33px; letter-spacing: -.04em; }
.hero-live-card > span:last-child { color: #9eb4a4; font-size: 9px; }
.hero-corner {
  position: absolute;
  left: 30px;
  bottom: 27px;
  color: rgba(255,255,255,.35);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .22em;
}

.metrics {
  position: relative;
  z-index: 4;
  max-width: 1180px;
  margin: -40px auto 0;
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(31,59,47,.09);
  border-radius: 18px;
  background: rgba(255,253,247,.95);
  box-shadow: var(--shadow);
  backdrop-filter: blur(15px);
}
.metrics article {
  min-height: 76px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 13px;
  border-right: 1px solid var(--line);
}
.metrics article:last-child { border-right: 0; }
.metric-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
}
.metric-icon svg { width: 18px; height: 18px; }
.metric-icon.green { color: #448960; background: #e8f3e7; }
.metric-icon.blue { color: #4d83a4; background: #e7eff3; }
.metric-icon.coral { color: #bd6649; background: #faeae3; }
.metric-icon.yellow { color: #a88431; background: #f7efd8; }
.metrics article div { display: grid; gap: 5px; }
.metrics small { color: var(--muted); font-size: 9px; font-weight: 700; }
.metrics strong { font-size: 20px; letter-spacing: -.03em; }

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 92px 24px 0;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.kicker { color: #718078; }
.section-head h2 {
  margin: 9px 0 8px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
  letter-spacing: -.045em;
}
.section-head p:not(.kicker) { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.section-count {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
}
.server-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.server-card {
  position: relative;
  min-height: 210px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,253,247,.78);
  box-shadow: 0 9px 28px rgba(22,42,34,.045);
  transition: transform .2s ease, box-shadow .2s ease;
}
.server-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.server-card.offline { opacity: .58; }
.server-top { display: flex; justify-content: space-between; gap: 10px; }
.server-name { display: flex; align-items: center; gap: 9px; min-width: 0; }
.server-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #36b978; box-shadow: 0 0 0 5px rgba(54,185,120,.11); }
.server-card.offline .server-dot { background: #9c9c94; box-shadow: none; }
.server-name strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.server-name small { display: block; margin-top: 3px; color: var(--muted); font-size: 8px; }
.server-players { text-align: right; }
.server-players strong { display: block; font-size: 26px; letter-spacing: -.04em; }
.server-players span { color: var(--muted); font-size: 8px; }
.server-progress { height: 5px; margin-top: 19px; overflow: hidden; border-radius: 10px; background: #e2e2d9; }
.server-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #87bd76, #b2d96a); }
.server-chart { position: relative; height: 54px; margin: 17px -3px 0; }
.server-chart svg { width: 100%; height: 100%; overflow: visible; }
.server-chart path.area { fill: rgba(109,159,95,.1); stroke: none; }
.server-chart path.line { fill: none; stroke: #75a568; stroke-width: 1.5; }
.server-stats { display: flex; justify-content: space-between; margin-top: 12px; color: var(--muted); font-size: 8px; }
.server-stats span { display: flex; gap: 4px; }
.server-stats b { color: var(--ink-soft); font-weight: 700; }

.map-section { margin-top: 92px; background: var(--paper-deep); padding: 72px 0 84px; }
.map-section .map-panel { padding-top: 0; }
.map-head { align-items: center; }
.map-toolbar { display: flex; gap: 8px; }
.search-field {
  height: 40px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255,255,255,.52);
}
.search-field svg { width: 15px; height: 15px; color: var(--muted); }
.search-field input { width: 130px; padding: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 10px; }
.small-button {
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink-soft);
  background: rgba(255,255,255,.5);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}
.map-meta {
  min-height: 35px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--muted);
  font-size: 9px;
}
.map-meta > span:first-child { display: flex; align-items: center; gap: 7px; }
.map-meta strong { color: var(--ink); font-size: 11px; }
.server-legend { display: flex; flex-wrap: wrap; gap: 5px; }
.legend-chip { padding: 4px 7px; border-radius: 5px; color: #43554b; background: rgba(255,255,255,.55); font-size: 8px; }
.legend-chip i { width: 5px; height: 5px; margin-right: 4px; display: inline-block; border-radius: 50%; }
.map-hint { margin-left: auto; }
.canvas-wrap {
  position: relative;
  height: min(600px, 56vw);
  min-height: 390px;
  overflow: hidden;
  border: 1px solid rgba(32,64,48,.15);
  border-radius: 18px;
  background:
    radial-gradient(circle at 70% 38%, rgba(92,145,110,.13), transparent 30%),
    #11221b;
  cursor: grab;
}
.canvas-wrap:active { cursor: grabbing; }
#playerMap { width: 100%; height: 100%; display: block; }
.map-empty {
  position: absolute;
  left: 50%;
  top: 50%;
  padding: 10px 14px;
  border-radius: 8px;
  color: #7f9c8b;
  background: rgba(11,28,21,.7);
  font-size: 10px;
  transform: translate(-50%, -50%);
}
.map-empty[hidden] { display: none; }
.map-tooltip {
  position: absolute;
  z-index: 3;
  min-width: 145px;
  padding: 10px 12px;
  display: none;
  border: 1px solid rgba(201,241,111,.18);
  border-radius: 8px;
  color: #dbe9de;
  background: rgba(8,22,15,.9);
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
  font-size: 9px;
  pointer-events: none;
}
.map-tooltip.visible { display: block; }
.map-tooltip strong { display: block; margin-bottom: 4px; color: var(--lime); font-size: 11px; }
.map-zoom { position: absolute; right: 13px; bottom: 12px; padding: 6px 9px; border-radius: 6px; color: #81998b; background: rgba(0,0,0,.2); font-size: 8px; }

.ranking-section { margin-top: 92px; padding: 82px 0; color: #edf2e8; background: var(--forest); }
.ranking-inner { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.ranking-head { align-items: center; }
.ranking-head .kicker { color: #91a99b; }
.ranking-head h2 { color: #f4f5eb; }
.ranking-head p:not(.kicker) { color: #8da195; }
.segmented { padding: 4px; display: flex; gap: 3px; border: 1px solid rgba(255,255,255,.11); border-radius: 9px; background: rgba(255,255,255,.035); }
.segmented button { padding: 8px 13px; border: 0; border-radius: 6px; color: #8da195; background: transparent; font-size: 10px; cursor: pointer; }
.segmented button.active { color: var(--forest); background: var(--lime); }
.ranking-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .65fr); gap: 35px; }
.leaderboard { margin: 0; padding: 0; list-style: none; counter-reset: rank; }
.leaderboard li {
  min-height: 61px;
  padding: 10px 5px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid rgba(255,255,255,.085);
  counter-increment: rank;
}
.leaderboard li::before {
  content: counter(rank, decimal-leading-zero);
  color: #738a7c;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 10px;
}
.leaderboard li:nth-child(1)::before, .leaderboard li:nth-child(2)::before, .leaderboard li:nth-child(3)::before { color: var(--lime); }
.rank-player { min-width: 0; }
.rank-player strong { display: block; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.rank-player span { display: block; margin-top: 4px; color: #789084; font-size: 8px; }
.rank-distance { color: var(--lime); font-size: 14px; font-weight: 700; }
.rank-distance small { color: #768d80; font-size: 8px; font-weight: 500; }
.ranking-note { padding: 23px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: rgba(255,255,255,.035); }
.note-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; color: var(--lime); background: rgba(201,241,111,.1); }
.note-icon svg { width: 18px; height: 18px; }
.ranking-note h3 { margin: 17px 0 9px; font-size: 15px; }
.ranking-note p { margin: 0; color: #8fa497; font-size: 10px; line-height: 1.8; }
.ranking-note dl { margin: 20px 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.08); }
.ranking-note dl div { margin: 10px 0; display: flex; justify-content: space-between; font-size: 9px; }
.ranking-note dt { color: #71887b; }
.ranking-note dd { margin: 0; color: #cbd9cf; }

.lookup-section { padding-top: 94px; }
.lookup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.lookup-card {
  min-height: 390px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,253,247,.78);
}
.lookup-card-head { display: flex; align-items: center; gap: 12px; }
.lookup-icon { width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 11px; color: #487b5f; background: #e5f0e2; }
.lookup-icon svg { width: 18px; height: 18px; }
.lookup-card-head h3 { margin: 0 0 4px; font-size: 14px; }
.lookup-card-head p { margin: 0; color: var(--muted); font-size: 9px; }
.lookup-form { margin-top: 23px; }
.lookup-form label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 9px; font-weight: 700; }
.input-action { display: flex; gap: 7px; }
.input-action input {
  min-width: 0;
  height: 44px;
  flex: 1;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: 0;
  color: var(--ink);
  background: #f8f6ef;
  font-size: 12px;
}
.input-action input:focus { border-color: #5f926e; box-shadow: 0 0 0 3px rgba(68,137,96,.1); }
.input-action button {
  height: 44px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  border-radius: 9px;
  color: #eef1e6;
  background: var(--forest);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}
.input-action button svg { width: 15px; height: 15px; }
.lookup-result { margin-top: 24px; min-height: 205px; border-top: 1px solid var(--line); padding-top: 20px; }
.lookup-result.empty { display: grid; place-items: center; align-content: center; color: var(--muted); }
.lookup-result.empty p { margin: 11px 0 0; font-size: 10px; }
.empty-orbit { width: 45px; height: 45px; display: grid; place-items: center; border: 1px dashed #b9c2b9; border-radius: 50%; }
.empty-orbit svg { width: 19px; height: 19px; }
.profile-head { display: flex; align-items: center; gap: 13px; }
.profile-avatar { width: 58px; height: 58px; border-radius: 13px; object-fit: cover; background: #e4eadf; }
.profile-title { min-width: 0; flex: 1; }
.profile-title strong { display: block; overflow: hidden; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.profile-title span { display: block; margin-top: 5px; color: var(--muted); font-size: 9px; }
.pill { display: inline-flex; padding: 5px 8px; border-radius: 999px; font-size: 8px; font-weight: 700; }
.pill.good { color: #287b56; background: #ddf2e6; }
.pill.bad { color: #b04d42; background: #f8e4e0; }
.profile-stats { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.profile-stats div { padding: 10px; border-radius: 8px; background: #f1efe6; }
.profile-stats span { display: block; color: var(--muted); font-size: 8px; }
.profile-stats strong { display: block; margin-top: 4px; font-size: 12px; }
.profile-facts { margin-top: 14px; display: grid; gap: 8px; }
.profile-facts div { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 9px; }
.profile-facts b { max-width: 65%; overflow: hidden; color: var(--ink-soft); text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.vtc-members { margin-top: 15px; display: flex; flex-wrap: wrap; gap: 5px; }
.member-chip { padding: 5px 8px; border-radius: 5px; color: var(--muted); background: #f1efe6; font-size: 8px; }

.dlc-section { padding-bottom: 90px; }
.dlc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.dlc-card { overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,253,247,.7); }
.dlc-cover { aspect-ratio: 16/8; background: linear-gradient(135deg, #253f33, #657c68); }
.dlc-cover img { width: 100%; height: 100%; display: block; object-fit: cover; }
.dlc-info { padding: 13px; }
.dlc-info strong { display: block; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.dlc-meta { margin-top: 8px; display: flex; justify-content: space-between; color: var(--muted); font-size: 8px; }
.dlc-price { color: var(--ink); font-weight: 700; }
.loading-card { min-height: 130px; padding: 30px; display: grid; place-items: center; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); font-size: 10px; text-align: center; }
.loading-card.dark { border-color: rgba(255,255,255,.1); color: #8ea395; }

footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 35px 24px 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
}
.footer-brand { display: flex; align-items: center; gap: 11px; }
.footer-brand .brand-mark { width: 31px; height: 31px; border-radius: 9px; }
.footer-brand .brand-mark i { bottom: 4px; }
.footer-brand strong { font-size: 12px; }
.footer-brand p { margin: 3px 0 0; color: var(--muted); font-size: 8px; }
.footer-links { display: flex; gap: 20px; color: var(--muted); font-size: 9px; }
.footer-links a { display: inline-flex; align-items: center; gap: 5px; }
.footer-links a:hover { color: var(--ink); }
.footer-links svg { width: 12px; height: 12px; }
.toast {
  position: fixed;
  z-index: 100;
  right: 20px;
  bottom: 20px;
  max-width: 360px;
  padding: 12px 15px;
  border-radius: 9px;
  color: white;
  background: #173c2c;
  box-shadow: var(--shadow);
  font-size: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast.error { background: #8e4238; }
.error-state { padding: 30px; color: var(--muted); text-align: center; font-size: 10px; }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr 1fr; }
  .hero-copy { padding-left: 34px; }
  .server-grid { grid-template-columns: 1fr 1fr; }
  .metrics { margin-left: 24px; margin-right: 24px; }
  .dlc-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 800px) {
  .site-header { height: 68px; padding: 0 17px; }
  .desktop-nav { display: none; }
  .header-actions { margin-left: auto; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding: 70px 24px 52px; }
  .hero h1 { font-size: clamp(46px, 11vw, 64px); }
  .hero-visual { min-height: 410px; }
  .hero-live-card { right: 22px; bottom: 25px; }
  .metrics { margin-top: -25px; grid-template-columns: 1fr 1fr; }
  .metrics article:nth-child(2) { border-right: 0; }
  .metrics article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section { padding-top: 70px; }
  .ranking-section, .map-section { margin-top: 70px; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .map-toolbar { width: 100%; }
  .search-field { flex: 1; }
  .search-field input { width: 100%; }
  .map-hint { display: none; }
  .canvas-wrap { height: 480px; }
  .ranking-layout { grid-template-columns: 1fr; }
  .lookup-grid { grid-template-columns: 1fr; }
  .dlc-grid { grid-template-columns: 1fr 1fr; }
  footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .live-pill { display: none; }
  .hero-copy { padding-top: 56px; }
  .hero h1 { margin-top: 19px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .version-row { flex-wrap: wrap; gap: 9px 16px; }
  .metrics { margin-left: 12px; margin-right: 12px; padding: 8px; }
  .metrics article { min-height: 69px; padding: 9px; gap: 9px; }
  .metric-icon { width: 32px; height: 32px; }
  .metric-icon svg { width: 15px; height: 15px; }
  .metrics strong { font-size: 16px; }
  .section { padding-left: 16px; padding-right: 16px; }
  .server-grid { grid-template-columns: 1fr; }
  .map-section { padding-top: 55px; }
  .map-head { margin-bottom: 15px; }
  .map-toolbar { flex-wrap: wrap; }
  .map-meta { flex-wrap: wrap; }
  .server-legend { width: 100%; }
  .canvas-wrap { height: 430px; min-height: 430px; }
  .ranking-inner { padding: 0 16px; }
  .ranking-head { gap: 18px; }
  .segmented { width: 100%; }
  .segmented button { flex: 1; }
  .lookup-card { padding: 18px; }
  .profile-stats { grid-template-columns: 1fr 1fr; }
  .dlc-grid { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
