@font-face {
  font-family: "Press Start 2P";
  src: url("/assets/PressStart2P-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("/assets/Outfit-Variable.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/JetBrainsMono-Variable.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #07090f;
  --bg-deep: #05070c;
  --surface: #10172a;
  --surface-2: #161e35;
  --surface-3: #1c2540;
  --line: rgba(85, 255, 255, 0.13);
  --line-strong: rgba(85, 255, 255, 0.28);
  --line-gold: rgba(232, 197, 71, 0.3);
  --cyan: #55ffff;
  --cyan-dim: #3ad4dc;
  --cyan-ink: #062a2c;
  --gold: #e8c547;
  --gold-2: #f3d56a;
  --gold-ink: #2a2108;
  --text: #eef3f8;
  --muted: #8b97ad;
  --muted-2: #667089;
  --ok: #4fe08a;
  --loss: #ff6b7a;
  --win: #4fe08a;
  --wrap: 1200px;
  --radius: 18px;
  --header-h: 76px;
  --font-display: "Press Start 2P", ui-monospace, monospace;
  --font: "Outfit", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--bg); }
body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(85, 255, 255, 0.07), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(80, 100, 200, 0.08), transparent 55%),
    var(--bg);
  min-height: 100vh;
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.wrap {
  width: min(var(--wrap), calc(100% - 80px));
  margin: 0 auto;
}

.site-header {
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 9, 15, 0.88);
  position: relative;
}
.site-header::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan) 25%, var(--gold) 70%, transparent);
  opacity: 0.85;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(232, 197, 71, 0.35), 0 0 18px rgba(232, 197, 71, 0.18);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.01em;
}
.brand-text strong span { color: var(--cyan); }
.brand-text small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  color: var(--muted);
  font-weight: 500;
  font-size: 15px;
  padding: 8px 14px;
  border-radius: 999px;
  position: relative;
}
.nav-link.is-active {
  color: var(--text);
  background: rgba(85, 255, 255, 0.08);
}
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--cyan);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 650;
  font-size: 15px;
  line-height: 1;
  padding: 12px 18px;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-discord {
  background: #5865f2;
  color: #fff;
  padding: 10px 16px;
  border-radius: 11px;
  box-shadow: 0 6px 18px rgba(88, 101, 242, 0.28);
}
.btn-primary {
  background: var(--cyan);
  color: var(--cyan-ink);
  box-shadow: 0 0 0 1px rgba(85, 255, 255, 0.3), 0 8px 28px rgba(85, 255, 255, 0.28);
  font-size: 16px;
  padding: 15px 26px;
  border-radius: 14px;
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-gold {
  background: var(--gold);
  color: var(--gold-ink);
  box-shadow: 0 8px 24px rgba(232, 197, 71, 0.22);
}
.btn-sm { padding: 8px 12px; font-size: 13px; border-radius: 10px; }

.hero {
  position: relative;
  padding: 56px 0 48px;
  overflow: hidden;
}
.hero-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 8% 18%, rgba(255,255,255,.7), transparent),
    radial-gradient(1px 1px at 18% 42%, rgba(85,255,255,.7), transparent),
    radial-gradient(1.5px 1.5px at 28% 12%, rgba(255,255,255,.55), transparent),
    radial-gradient(1px 1px at 46% 8%, rgba(255,255,255,.4), transparent),
    radial-gradient(1px 1px at 62% 22%, rgba(232,197,71,.7), transparent),
    radial-gradient(1.5px 1.5px at 78% 10%, rgba(255,255,255,.55), transparent),
    radial-gradient(1px 1px at 88% 30%, rgba(85,255,255,.6), transparent),
    radial-gradient(1px 1px at 92% 8%, rgba(255,255,255,.45), transparent),
    radial-gradient(1px 1px at 70% 40%, rgba(255,255,255,.35), transparent),
    radial-gradient(1px 1px at 40% 28%, rgba(255,255,255,.45), transparent);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.kicker {
  font-family: var(--font-display);
  font-size: 10px;
  color: var(--cyan);
  letter-spacing: 0.04em;
  margin: 0 0 22px;
  text-shadow: 0 0 16px rgba(85, 255, 255, 0.45);
}
.hero-title {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1.35;
  margin: 0 0 22px;
  font-weight: 400;
}
.hero-title .c {
  color: var(--cyan);
  text-shadow: 0 0 24px rgba(85, 255, 255, 0.35);
  display: block;
}
.hero-title .w {
  color: #fff;
  display: block;
}
.hero-lead {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 400;
  max-width: 520px;
  line-height: 1.5;
}
.ip-bar {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 520px;
  margin-bottom: 14px;
}
.ip-bar .ip {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0a1020;
  border: 1px solid var(--line-strong);
  border-right: 0;
  border-radius: 14px 0 0 14px;
  padding: 0 16px;
  min-height: 52px;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  color: #d8f8ff;
  letter-spacing: -0.01em;
}
.ip-bar .ip svg { color: var(--cyan); width: 16px; height: 16px; }
.ip-bar .copy {
  border-radius: 0 14px 14px 0;
  border: 1px solid var(--line-strong);
  background: rgba(85, 255, 255, 0.08);
  color: var(--cyan);
  font-weight: 650;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.hero-actions { display: flex; align-items: center; gap: 12px; margin: 18px 0 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
}
.chip strong { color: var(--text); font-weight: 600; }
.chip .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(79, 224, 138, 0.18);
}

.status-card {
  margin-top: 28px;
  background: linear-gradient(180deg, rgba(22, 30, 53, 0.9), rgba(16, 23, 42, 0.9));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 520px;
  box-shadow: var(--shadow);
}
.status-left { display: flex; align-items: center; gap: 12px; }
.status-icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(79, 224, 138, 0.1);
  color: var(--ok);
  border: 1px solid rgba(79, 224, 138, 0.25);
}
.status-icon svg { width: 20px; height: 20px; }
.status-card h3 { margin: 0; font-size: 16px; font-weight: 700; }
.status-card p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.badge-example {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--line-gold);
  background: rgba(232, 197, 71, 0.08);
  border-radius: 999px;
  padding: 5px 9px;
  white-space: nowrap;
}

.hero-art {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}
.hero-art::before {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(85,255,255,0.16) 0%, rgba(85,255,255,0.05) 38%, transparent 68%);
}
.hero-art img {
  position: relative;
  width: auto;
  height: 560px;
  max-width: 520px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.45));
}

.section { padding: 20px 0 80px; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.section-title {
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}
.section-head p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.section-more { color: var(--cyan); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px 24px;
  box-shadow: var(--shadow);
  min-height: 230px;
}
.feature-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  margin-bottom: 16px;
  border: 1px solid var(--line-strong);
  background: rgba(85, 255, 255, 0.07);
  color: var(--cyan);
}
.feature-icon.is-gold {
  border-color: var(--line-gold);
  background: rgba(232, 197, 71, 0.08);
  color: var(--gold);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.news-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  color: inherit;
  display: flex;
  flex-direction: column;
}
.news-card .cover {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0a1020;
}
.news-card .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-card h3 { margin: 0; color: var(--text); font-size: 17px; font-weight: 700; line-height: 1.35; }
.meta-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.byline { display: flex; align-items: center; gap: 8px; margin-top: auto; color: var(--muted); font-size: 13px; }
.avatar {
  width: 24px; height: 24px; border-radius: 4px;
  image-rendering: pixelated;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08);
}
.avatar.lg { width: 32px; height: 32px; border-radius: 6px; }
.avatar.xl { width: 96px; height: 96px; border-radius: 12px; box-shadow: 0 0 0 2px rgba(232,197,71,0.4), 0 8px 24px rgba(0,0,0,0.4); }

.tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 3px 8px;
  border: 1px solid transparent;
}
.tag-update { color: var(--cyan); background: rgba(85,255,255,0.08); border-color: rgba(85,255,255,0.2); }
.tag-event { color: var(--gold); background: rgba(232,197,71,0.1); border-color: var(--line-gold); }
.tag-war { color: #ff9b8a; background: rgba(255,80,80,0.08); border-color: rgba(255,120,120,0.22); }
.tag-cosmetics { color: #9dffb0; background: rgba(79,224,138,0.08); border-color: rgba(79,224,138,0.22); }
.date { color: var(--muted-2); font-size: 12px; font-weight: 500; }
.comments-count { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; color: var(--muted); }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 28px;
  background: var(--bg-deep);
  margin-top: 20px;
}
.site-footer .wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.foot-brand { display: flex; gap: 12px; align-items: flex-start; }
.foot-brand img { width: 36px; height: 36px; border-radius: 8px; }
.foot-brand p { margin: 6px 0 0; color: var(--muted); font-size: 14px; max-width: 360px; }
.site-footer h4 { margin: 0 0 10px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 650; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 6px; }
.site-footer a { color: var(--text); font-weight: 500; font-size: 14px; }
.legal {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: var(--muted-2);
  font-size: 13px;
}

.page-head { padding: 42px 0 8px; }
.page-head h1 {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.5;
  margin: 8px 0 10px;
}
.page-head .lead { margin: 0; color: var(--muted); font-size: 16px; max-width: 640px; }
.crumb { color: var(--muted-2); font-size: 13px; font-weight: 500; }
.crumb a { color: var(--muted); }
.crumb span { color: var(--text); }

.news-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  padding: 28px 0 80px;
  align-items: start;
}
.feed { display: flex; flex-direction: column; gap: 16px; }
.feed-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  color: inherit;
  min-height: 168px;
}
.feed-card .cover { height: 100%; min-height: 168px; }
.feed-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.feed-card .body { padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.feed-card h3 { margin: 0; color: var(--text); font-size: 20px; font-weight: 700; line-height: 1.3; }
.feed-card p.excerpt { margin: 0; color: var(--muted); font-size: 14px; }

.sidebar { display: flex; flex-direction: column; gap: 16px; }
.side-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.side-card h3 {
  margin: 0 0 14px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.cat-list { list-style: none; margin: 0; padding: 0; }
.cat-list li { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(85,255,255,0.07); font-size: 14px; }
.cat-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.cat-list li.is-active { color: var(--cyan); font-weight: 650; }
.cat-list .n { color: var(--muted-2); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.side-note { margin: 10px 0 0; color: var(--muted-2); font-size: 12px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }

.article { padding: 12px 0 80px; max-width: 820px; }
.article-hero {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  margin: 22px 0 28px;
  box-shadow: var(--shadow);
}
.article-hero img { width: 100%; height: 420px; object-fit: cover; }
.article-title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 10px 0 16px;
}
.article-meta { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; margin-bottom: 8px; flex-wrap: wrap; }
.article-body { font-size: 18px; line-height: 1.7; color: #d5dce8; }
.article-body p { margin: 0 0 18px; }
.article-body h2 { font-size: 22px; margin: 28px 0 12px; color: #fff; }
.article-body figure {
  margin: 28px 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.article-body figure img { width: 100%; height: 360px; object-fit: cover; }
.article-body figcaption { padding: 10px 14px; color: var(--muted-2); font-size: 13px; background: var(--surface); }
.callout {
  border-left: 3px solid var(--gold);
  background: rgba(232, 197, 71, 0.07);
  border-radius: 0 14px 14px 0;
  padding: 14px 18px;
  margin: 22px 0 24px;
  color: var(--text);
  font-size: 16px;
}
.callout strong { color: var(--gold-2); }
.comments { margin-top: 48px; padding-top: 8px; border-top: 1px solid var(--line); }
.comments h2 { font-size: 20px; margin: 18px 0 18px; }
.comment {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(85,255,255,0.07);
}
.comment header { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.comment strong { font-size: 14px; }
.comment time { color: var(--muted-2); font-size: 12px; }
.comment p { margin: 0; color: #d5dce8; font-size: 15px; }
.comment.reply { margin-left: 52px; }
.comment-form {
  margin-top: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}
.comment-form textarea {
  width: 100%;
  height: 88px;
  resize: none;
  background: #0a1020;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  padding: 12px;
  font-family: inherit;
  font-size: 14px;
}
.comment-form .row { display: flex; justify-content: flex-end; margin-top: 10px; }

.rank-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 22px 0 8px;
}
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  height: 44px;
  min-width: 280px;
  color: var(--muted);
}
.search input {
  border: 0; outline: 0; background: transparent;
  color: var(--text); font: inherit; font-size: 14px; width: 100%;
}
.search input::placeholder { color: var(--muted-2); }

.podium {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 16px;
  align-items: end;
  margin: 22px 0 28px;
}
.podium-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px 18px 18px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
}
.podium-card.is-first {
  padding-top: 36px;
  padding-bottom: 32px;
  border-color: var(--line-gold);
  background: linear-gradient(180deg, rgba(232,197,71,0.1), var(--surface) 55%);
  box-shadow: 0 0 0 1px rgba(232,197,71,0.15), 0 16px 40px rgba(232,197,71,0.08);
}
.podium-card.is-selected {
  border-color: var(--line-strong);
  box-shadow: 0 0 0 1px rgba(85,255,255,0.2), 0 12px 32px rgba(85,255,255,0.08);
}
.podium-place {
  font-family: var(--font-display);
  font-size: 12px;
  margin-bottom: 12px;
  color: var(--muted);
}
.podium-card.is-first .podium-place { color: var(--gold); text-shadow: 0 0 12px rgba(232,197,71,0.4); }
.podium-card img {
  width: 64px; height: 64px; margin: 0 auto 12px;
  border-radius: 10px;
  image-rendering: pixelated;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.08);
}
.podium-card.is-first img {
  width: 80px; height: 80px;
  box-shadow: 0 0 0 2px rgba(232,197,71,0.55), 0 0 20px rgba(232,197,71,0.25);
}
.podium-card h3 { margin: 0 0 4px; font-size: 18px; }
.podium-card .stats { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.podium-card .kd { color: var(--gold-2); font-weight: 700; font-size: 14px; margin-top: 6px; }

.rank-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 22px;
  align-items: start;
  padding-bottom: 80px;
}
.table-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.table-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
table.rank {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
table.rank th, table.rank td {
  padding: 11px 14px;
  text-align: right;
  font-size: 14px;
}
table.rank th {
  text-align: right;
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  background: rgba(0,0,0,0.2);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.rank th.is-sorted { color: var(--cyan); }
table.rank th.is-sorted::after { content: " \2193"; }
table.rank th:nth-child(1), table.rank td:nth-child(1) { text-align: center; width: 52px; color: var(--muted); }
table.rank th:nth-child(2), table.rank td:nth-child(2) { text-align: left; }
table.rank td { border-bottom: 1px solid rgba(85,255,255,0.06); }
table.rank tr:last-child td { border-bottom: 0; }
table.rank tr.is-selected td {
  background: rgba(85, 255, 255, 0.07);
}
table.rank tr.is-selected td:first-child {
  box-shadow: inset 3px 0 0 var(--cyan);
}
.player-cell { display: flex; align-items: center; gap: 10px; font-weight: 650; }
.player-cell span.role { font-weight: 500; color: var(--gold); font-size: 11px; letter-spacing: 0.04em; margin-left: 6px; }

.profile-panel {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  box-shadow: 0 0 0 1px rgba(85,255,255,0.08), 0 20px 50px rgba(0,0,0,0.4);
  padding: 22px;
  position: relative;
}
.profile-panel .close {
  position: absolute;
  top: 14px; right: 14px;
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  display: grid; place-items: center;
}
.profile-top { display: flex; gap: 14px; align-items: center; padding-right: 28px; }
.profile-top h2 { margin: 0; font-size: 22px; }
.profile-top .sub { color: var(--muted); font-size: 13px; margin-top: 3px; }
.role-badge {
  display: inline-flex;
  margin-top: 6px;
  background: rgba(232,197,71,0.1);
  color: var(--gold);
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
}
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0;
}
.stat {
  background: #0a1020;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
}
.stat .lbl { color: var(--muted); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 650; }
.stat .val { font-size: 22px; font-weight: 750; margin-top: 2px; font-variant-numeric: tabular-nums; }
.winrate { margin: 0 0 16px; }
.winrate .row { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.bar { height: 8px; background: #0a1020; border-radius: 99px; overflow: hidden; border: 1px solid var(--line); }
.bar > span { display: block; height: 100%; width: 58%; background: linear-gradient(90deg, var(--cyan-dim), var(--cyan)); box-shadow: 0 0 10px rgba(85,255,255,0.4); }
.rounds h3 { margin: 0 0 10px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.round {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(85,255,255,0.07);
  font-size: 13px;
}
.round:last-child { border-bottom: 0; }
.round .map { font-weight: 650; }
.round .when { color: var(--muted-2); grid-column: 1 / -1; font-size: 11px; margin-top: -6px; }
.pill-win, .pill-loss {
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  border-radius: 999px; padding: 3px 8px;
}
.pill-win { color: var(--win); background: rgba(79,224,138,0.1); }
.pill-loss { color: var(--loss); background: rgba(255,107,122,0.1); }

.muted { color: var(--muted); }

/* ---- additions for the live site ---- */
a.btn, button.btn { cursor: pointer; }
.btn:hover { filter: brightness(1.08); }
.btn[aria-disabled="true"], .btn.is-disabled { opacity: .45; pointer-events: none; filter: grayscale(.4); }
.nav-link:hover { color: var(--text); }
.ip-bar .copy { cursor: pointer; font-family: inherit; }
.ip-bar .copy.is-done { color: var(--ok); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: var(--cyan); color: var(--cyan-ink); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

.hero-art svg { width: 100%; max-width: 500px; height: auto; position: relative; filter: drop-shadow(0 30px 60px rgba(0,0,0,.45)); }
.status-card .live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted-2); display: inline-block; margin-right: 6px; }
.status-card.is-online .live-dot { background: var(--ok); box-shadow: 0 0 0 4px rgba(79,224,138,.18); }
.status-card.is-offline .live-dot { background: var(--loss); }
.status-card .src { font-size: 11px; color: var(--muted-2); }

.empty {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(16,23,42,.65), rgba(16,23,42,.25));
  padding: 48px 28px;
  text-align: center;
  color: var(--muted);
}
.empty .empty-icon { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 14px; display: grid; place-items: center; background: rgba(85,255,255,.08); color: var(--cyan); border: 1px solid var(--line); }
.empty .empty-icon svg { width: 26px; height: 26px; }
.empty h3 { margin: 0 0 6px; color: var(--text); font-size: 20px; }
.empty p { margin: 0 auto; max-width: 460px; font-size: 15px; }
.soon-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); background: rgba(232,197,71,.1); border: 1px solid var(--line-gold); border-radius: 999px; padding: 4px 10px; }

.join-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.join-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.join-card h3 { margin: 0 0 10px; font-size: 18px; display: flex; align-items: center; gap: 10px; }
.join-card ol { margin: 0; padding-left: 20px; color: #d5dce8; }
.join-card li { margin: 6px 0; }
code, .mono { font-family: var(--font-mono); font-size: .92em; background: #0a1020; border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; color: #d8f8ff; }

.ranks-box { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-top: 20px; }
.rank-slot { background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 22px; min-height: 150px; display: flex; flex-direction: column; justify-content: center; align-items: center; color: var(--muted-2); text-align: center; gap: 8px; }
.rank-slot .ph { width: 44px; height: 44px; border-radius: 12px; background: rgba(85,255,255,.05); border: 1px solid var(--line); }
.rank-slot .bar-ph { height: 10px; width: 60%; border-radius: 99px; background: rgba(255,255,255,.06); }
.rank-slot .bar-ph.s { width: 40%; }

.md { font-size: 18px; line-height: 1.7; color: #d5dce8; }
.md p { margin: 0 0 18px; }
.md h2 { font-size: 24px; margin: 30px 0 12px; color: #fff; }
.md h3 { font-size: 20px; margin: 24px 0 10px; color: #fff; }
.md ul, .md ol { margin: 0 0 18px; padding-left: 24px; }
.md li { margin: 4px 0; }
.md blockquote { margin: 0 0 18px; border-left: 3px solid var(--gold); background: rgba(232,197,71,.06); padding: 12px 16px; border-radius: 0 12px 12px 0; color: #e9dfb7; }
.md blockquote p:last-child { margin: 0; }
.md img { border-radius: 14px; border: 1px solid var(--line); margin: 6px 0 18px; max-height: 520px; object-fit: contain; }
.md a { text-decoration: underline; text-underline-offset: 3px; }
.md hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
.md pre { background: #0a1020; border: 1px solid var(--line); border-radius: 12px; padding: 14px; overflow: auto; font-size: 14px; }
.md pre code { border: 0; padding: 0; background: none; }

.prof-empty { color: var(--muted); text-align: center; padding: 28px 8px; font-size: 14px; }
.podium-card.is-ph img, .podium-card.is-ph .avatar-ph { opacity: .35; }
.avatar-ph { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 12px; background: rgba(85,255,255,.06); border: 1px solid var(--line); }
.podium-card.is-first .avatar-ph { width: 80px; height: 80px; }
table.rank tbody tr.clickable { cursor: pointer; }
table.rank tbody tr.clickable:hover td { background: rgba(85,255,255,.04); }
table.rank td.empty-cell { text-align: center !important; padding: 44px 16px; color: var(--muted); }
table.rank td.empty-cell strong { display: block; color: var(--text); font-size: 18px; margin-bottom: 4px; }
.hidden { display: none !important; }

.nav-toggle { display: none; background: transparent; border: 1px solid var(--line-strong); color: var(--text); border-radius: 10px; width: 42px; height: 40px; align-items: center; justify-content: center; }
.nav-toggle svg { width: 20px; height: 20px; }

/* ---- responsive ---- */
@media (max-width: 1100px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .rank-layout { grid-template-columns: 1fr; }
  .news-layout { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .wrap { width: calc(100% - 36px); }
  .site-header { height: auto; min-height: 64px; position: sticky; top: 0; z-index: 20; backdrop-filter: blur(8px); }
  .site-header .wrap { flex-wrap: wrap; gap: 0; padding: 12px 0; }
  .nav-toggle { display: inline-flex; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 4px; padding-top: 12px; }
  .nav.is-open { display: flex; }
  .nav-link { padding: 12px 14px; }
  .nav-link.is-active::after { display: none; }
  .nav .btn { margin-top: 6px; }
  .hero { padding: 32px 0 24px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 12px; }
  .hero-art { order: -1; max-width: 340px; margin: 0 auto; }
  .hero-art::before { width: 320px; height: 320px; }
  .hero-title { font-size: 26px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { flex-wrap: wrap; }
  .hero-actions .btn { flex: 1 1 auto; }
  .ip-bar .ip { font-size: 13px; padding: 0 12px; }
  .section { padding: 10px 0 56px; }
  .section-title { font-size: 16px; }
  .section-head { flex-wrap: wrap; gap: 8px; }
  .features, .news-grid, .join-grid, .ranks-box { grid-template-columns: 1fr; }
  .feed-card { grid-template-columns: 1fr; }
  .feed-card .cover { min-height: 0; height: 180px; }
  .site-footer .wrap { grid-template-columns: 1fr; gap: 22px; }
  .legal { flex-direction: column; gap: 6px; }
  .page-head h1 { font-size: 20px; line-height: 1.5; }
  .article-title { font-size: 26px !important; }
  .article-hero img { height: 220px; }
  .md { font-size: 16px; }
  .podium { grid-template-columns: 1fr; }
  .table-wrap { overflow-x: auto; }
  table.rank { min-width: 520px; }
}
@media (max-width: 860px) { .hero-art { min-height: 0; } }
.cover-ph { width: 100%; height: 100%; min-height: 168px; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, rgba(85,255,255,.12), transparent 60%), linear-gradient(135deg, #10172a, #0a1020); }
.cover-ph img { width: 64px !important; height: 64px !important; opacity: .7; border-radius: 12px; object-fit: contain !important; }
.cat-list li a { color: inherit; flex: 1; }
.news-layout.is-empty { grid-template-columns: 1fr; }
.news-card .cover .cover-ph { min-height: 100%; }
