:root {

  --ink: #08080a;
  --ink-2: #0c0c0e;
  --field: #111114;
  --field-2: #17171b;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f2f2f3;
  --gray: #9c9ca4;
  --dust: #5e5e66;

  --yellow: #ffc629;
  --yellow-hi: #ffd55e;
  --yellow-ink: #111000;
  --yellow-soft: rgba(255, 198, 41, 0.1);
  --hostile: #d9584a;

  --carbon: url("../img/carbon.svg?v=d87c59b9");
  --sheen: linear-gradient(115deg,
    transparent 40%, rgba(255, 255, 255, 0.035) 47%, rgba(255, 255, 255, 0.06) 50%,
    rgba(255, 255, 255, 0.035) 53%, transparent 60%);

  --font-display: "Chakra Petch", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;

  --radius: 2px;
  --gutter: clamp(18px, 4vw, 48px);
  --maxw: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --step--1: 0.85rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 3.4vw, 2.6rem);
  --step-4: clamp(2.3rem, 5vw, 3.4rem);
  --step-5: clamp(2.5rem, 5.8vw, 4.6rem);

  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.035), transparent 60%),
    radial-gradient(ellipse at 50% 40%, rgba(8, 8, 10, 0.75), rgba(8, 8, 10, 0.96) 80%),
    var(--carbon) 0 0 / 14px 14px,
    var(--ink);
}

main { flex: 1; }

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
a:hover { text-decoration-color: var(--yellow); }

:focus-visible { outline: 1px solid var(--yellow); outline-offset: 3px; }

::selection { background: var(--yellow); color: var(--yellow-ink); }

h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; }

h1, h2, h3 { text-transform: uppercase; letter-spacing: 0.01em; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
h4 { font-size: var(--step-0); }

p { margin: 0; max-width: 64ch; }

.accent { color: var(--yellow); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--yellow); color: var(--yellow-ink);
  padding: 8px 14px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.74rem;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--gray);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; background: var(--yellow); }

.panel-head, .table th, .site-footer {
  background:
    linear-gradient(rgba(14, 14, 17, 0.9), rgba(14, 14, 17, 0.9)),
    var(--carbon) 0 0 / 12px 12px;
}

.shell { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.page { padding-block: clamp(40px, 6vw, 80px) 96px; }

.page-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 20px 40px; padding-bottom: 36px; margin-bottom: 44px;
  border-bottom: 1px solid var(--line);
}
.page-head h1 { margin-top: 16px; }
.page-head .lead { color: var(--gray); margin-top: 14px; font-size: var(--step-0); }

.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-lg { display: flex; flex-direction: column; gap: 32px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.row-between { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }

.grid-2 { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }

.muted { color: var(--gray); }
.dim { color: var(--dust); }
.small { font-size: var(--step--1); }
.cond { font-family: var(--font-display); }

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(8, 8, 10, 0.6);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: background-color 240ms ease, border-color 240ms ease;
}
.site-header.is-scrolled { background: rgba(8, 8, 10, 0.88); border-bottom-color: var(--line); }
.site-header .shell { display: flex; align-items: center; gap: 32px; min-height: 76px; transition: min-height 240ms ease; }
.site-header.is-scrolled .shell { min-height: 62px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }

.brand-logo { position: relative; display: block; flex-shrink: 0; }
.brand-mark { display: block; height: 36px; width: auto; }
@media (max-width: 760px) { .brand-mark { height: 30px; } }

.brand-logo::before, .brand-logo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; clip-path: inset(0 0 100% 0);
  -webkit-mask: url("../img/wardogs-mark-96.png?v=53f7a46d") center / contain no-repeat;
  mask: url("../img/wardogs-mark-96.png?v=53f7a46d") center / contain no-repeat;
}
.brand-logo::before { background: var(--yellow); }
.brand-logo::after { background: #8e8e96; }

.brand-word {
  display: inline-flex; flex-direction: row; align-items: flex-start; gap: 6px;
  font-family: var(--font-display); font-weight: 600; line-height: 1; text-transform: uppercase;
  transform: translateY(-2px);
}
.brand-name {
  font-size: 1.05rem; letter-spacing: 0.16em;
  margin-right: -0.16em;
  position: relative; display: block;
}

.brand-name::before, .brand-name::after {
  content: attr(data-text); position: absolute; inset: 0; white-space: nowrap;
  pointer-events: none; opacity: 0; clip-path: inset(0 0 100% 0);
}
.brand-name::before { color: var(--yellow); }
.brand-name::after { color: #8e8e96; }
.brand-tag {
  --chamfer: 4px;
  position: relative; display: block; padding: 3px 6px 2px; margin-top: -9px;
  font-size: 0.56rem; font-weight: 700; letter-spacing: 0.06em;
  background: var(--yellow); color: var(--yellow-ink);
  clip-path: polygon(var(--chamfer) 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%, 0 var(--chamfer));
}

.brand-tag::before, .brand-tag::after {
  content: attr(data-text); position: absolute; inset: 0; padding: inherit;
  pointer-events: none; opacity: 0; clip-path: inset(0 0 100% 0);
}
.brand-tag::before { color: #fff; }
.brand-tag::after { color: rgba(0, 0, 0, 0.6); }

.nav { display: flex; gap: 6px; flex: 1; justify-content: center; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a {
  position: relative;
  font-weight: 500; font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 10px 14px; text-decoration: none; color: var(--gray); white-space: nowrap;
  transition: color 200ms ease;
}

.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform 300ms var(--ease);
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }

@media (max-width: 760px) {
  .site-header .shell { flex-wrap: wrap; gap: 6px 16px; padding-block: 12px; }
  .nav { order: 3; flex-basis: 100%; justify-content: flex-start; margin-inline: -14px; }
  .site-header .shell > :last-child { margin-left: auto; }
  .brand-name { font-size: 0.92rem; letter-spacing: 0.12em; margin-right: -0.12em; }
  .brand-tag { font-size: 0.5rem; padding: 2px 5px 2px; margin-top: -8px; }
  .brand-word { gap: 5px; }
  .nav a { font-size: 0.72rem; padding: 8px 12px; }
}

.btn {
  --chamfer: 10px;
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase;
  min-height: 50px; padding: 0 26px;
  border: 0; cursor: pointer; text-decoration: none;
  background: var(--field-2); color: var(--text);
  clip-path: polygon(var(--chamfer) 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%, 0 var(--chamfer));
  transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}
.btn:hover { background: #222227; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }

.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.28) 50%, transparent 65%);
  transform: translateX(-120%);
}
.btn:hover::before { transform: translateX(120%); transition: transform 800ms var(--ease); }

.btn-primary::after, .btn-arrow::after {
  content: ""; width: 13px; height: 9px; flex-shrink: 0; background: currentColor;
  clip-path: polygon(0 42%, 60% 42%, 60% 0, 100% 50%, 60% 100%, 60% 58%, 0 58%);
  transition: transform 260ms var(--ease);
}
.btn-primary:hover::after, .btn-arrow:hover::after { transform: translateX(4px); }

.btn-primary { background: var(--yellow); color: var(--yellow-ink); }
.btn-primary:hover { background: var(--yellow-hi); }

.btn-icon {
  display: inline-grid; place-items: center; flex-shrink: 0;
  width: 44px; height: 50px;
  color: rgba(255, 255, 255, 0.42); text-decoration: none;
  transition: color 350ms ease;
}
.btn-icon svg {
  width: 26px; height: 26px; overflow: visible;
  filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
  transition: filter 350ms ease;
}
.btn-icon svg path { fill: currentColor; stroke: none; }
.btn-icon:hover, .btn-icon:focus-visible { color: #fff; }

.hero-actions .btn-icon { width: 36px; }
.hero-actions .btn-icon svg { width: 32px; height: 32px; }

.hero-actions .icon-group { display: inline-flex; align-items: center; flex-wrap: nowrap; }
.hero-actions .btn-glow + .icon-group { margin-left: 8px; }
.hero-actions .btn-icon + .btn-icon { margin-left: 6px; }

@media (max-width: 420px) { .hero-actions .btn-glow + .icon-group { margin-left: -2px; } }
.btn-icon:hover svg, .btn-icon:focus-visible svg { filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.35)); }
.btn-icon:focus-visible { outline-offset: 0; }

.btn-glow {
  display: inline-flex; flex-shrink: 0;
  filter: drop-shadow(0 0 0 rgba(255, 198, 41, 0)) drop-shadow(0 0 0 rgba(255, 198, 41, 0));
  transition: filter 450ms ease;
}
.btn-glow:hover, .btn-glow:focus-within {
  filter: drop-shadow(0 0 2px rgba(255, 213, 94, 0.45)) drop-shadow(0 0 8px rgba(255, 198, 41, 0.28));
}

.btn-profile {
  background: transparent; color: var(--text);
  transition: background-color 400ms ease, color 400ms ease;
}
.site-header .btn-glow .btn-profile::after {
  display: block; content: ""; position: absolute; inset: 0; z-index: -1;
  width: auto; height: auto; transform: none;
  background: rgba(255, 255, 255, 0.28);
  --c: var(--chamfer);
  --ci: calc(var(--chamfer) + 0.414px);
  clip-path: polygon(evenodd,
    var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c), var(--c) 0,
    var(--ci) 1px, 1px var(--ci), 1px calc(100% - 1px), calc(100% - var(--ci)) calc(100% - 1px),
    calc(100% - 1px) calc(100% - var(--ci)), calc(100% - 1px) 1px, var(--ci) 1px);
  transition: opacity 400ms ease;
}
.btn-profile:hover, .btn-glow:focus-within .btn-profile { background: var(--yellow); color: var(--yellow-ink); }
.site-header .btn-glow .btn-profile:hover::after,
.site-header .btn-glow:focus-within .btn-profile::after { opacity: 0; }

.site-header .btn-glow .btn-sm:not(.btn-profile)::after { display: none; }
.site-header .btn-glow .btn-sm { gap: 0; }

@media (max-width: 760px) {
  .site-header .btn-glow .btn-sm { min-height: 34px; padding: 0 12px; font-size: 0.64rem; letter-spacing: 0.14em; }
}

.btn-ghost {
  background: transparent; color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  clip-path: none; border-radius: var(--radius);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32); }
.btn-ghost::before { background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.08) 50%, transparent 65%); }

.btn-danger { background: transparent; color: var(--hostile); box-shadow: inset 0 0 0 1px rgba(217, 88, 74, 0.5); clip-path: none; border-radius: var(--radius); }

.btn-sm { min-height: 40px; padding: 0 18px; font-size: 0.72rem; --chamfer: 8px; }

.btn-patreon { background: var(--text); color: var(--ink); }
.btn-patreon:hover { background: #fff; }

.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px; align-self: flex-start;
  font-weight: 600; font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text);
  padding-bottom: 6px; border-bottom: 1px solid var(--line-strong);
  transition: color 200ms ease, border-color 200ms ease, gap 260ms var(--ease);
}
.link-arrow::after {
  content: ""; width: 13px; height: 9px; background: currentColor;
  clip-path: polygon(0 42%, 60% 42%, 60% 0, 100% 50%, 60% 100%, 60% 58%, 0 58%);
}

.hero {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: -76px; padding-top: 76px;
  border-bottom: 1px solid var(--line);
  background: var(--ink);
}
.hero-bg {
  position: absolute; top: -2%; left: -2%; right: -2%; height: min(100%, 980px); z-index: -2;

  background: radial-gradient(ellipse at 70% 20%, rgba(255, 255, 255, 0.05), transparent 60%),
    var(--carbon) 0 0 / 16px 16px, var(--ink-2);
  transform-origin: 62% 45%;

  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 42%, rgba(0, 0, 0, 0.55) 66%, transparent 92%);
  mask-image: linear-gradient(180deg, #000 0%, #000 42%, rgba(0, 0, 0, 0.55) 66%, transparent 92%);
  transition: opacity 600ms ease;
}

.hero-bg.has-image { background-size: cover; background-position: center 40%; background-repeat: no-repeat; filter: grayscale(1) contrast(1.12) brightness(1.2); }
.hero-bg.is-map { filter: saturate(0.55) contrast(1.05) brightness(0.78); background-position: center 35%; }

.feed-wrap { position: relative; flex: 1; min-height: 250px; }
.feed {
  list-style: none; margin: 0; padding: 0;
  position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
  -webkit-mask-image: linear-gradient(180deg, #000 85%, transparent);
  mask-image: linear-gradient(180deg, #000 85%, transparent);
}
.feed::-webkit-scrollbar { width: 6px; }
.feed::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.18); border-radius: 3px; }
.feed:focus-visible { outline-offset: -2px; }
@media (max-width: 999px) { .feed-wrap { min-height: 0; height: 250px; } }
.feed-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: baseline;
  padding: 8px 18px; border-bottom: 1px solid var(--line);
}
.feed-row:last-child { border-bottom: 0; }
.feed-main { display: flex; align-items: baseline; gap: 8px; min-width: 0; overflow: hidden; white-space: nowrap; }
.feed-player { --team: var(--gray); font-weight: 600; font-size: 0.88rem; color: color-mix(in srgb, var(--team) 55%, #d6d6dc); overflow: hidden; text-overflow: ellipsis; }
.feed-victim { font-weight: 500; opacity: 0.75; }
.feed-arrow { color: var(--dust); }
.feed-dist { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; text-align: right; }
.feed-sub { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 10px; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dust); }
.feed-weapon { color: var(--gray); }
.feed-row.is-new { background: rgba(255, 255, 255, 0.025); }

.squads-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .squads-grid { grid-template-columns: minmax(0, 1fr); } }
.squad-col {
  --team-2: var(--team);
  --bar: color-mix(in srgb, var(--team) 58%, #6e6e76);
  --bar-2: color-mix(in srgb, var(--team-2) 52%, #9a9aa2);
  position: relative; border: 1px solid var(--line); background: rgba(17, 17, 20, 0.85);
}
.squad-col::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--bar); }
.squad-col-head { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 4px 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.squad-col-head .ts-logo { grid-row: span 2; }
.squad-col-count { font-size: 0.64rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dust); }
.squad-list { list-style: none; margin: 0; padding: 0; }
.squad { padding: 14px 20px; border-bottom: 1px solid var(--line); }
.squad:last-child { border-bottom: 0; }
.squad-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.squad-name { font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase; }
.squad-size { font-size: 0.8rem; color: var(--gray); }
.squad-size b { font-family: var(--font-display); color: var(--text); font-size: 1rem; }
.squad-lead { display: block; margin-top: 2px; font-size: 0.74rem; color: var(--dust); }
.squad-meter { margin-top: 10px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.06); }
.squad-col .squad-meter > span { border-radius: 2px; background: linear-gradient(90deg, color-mix(in srgb, var(--bar) 40%, transparent), var(--bar) 60%, var(--bar-2)); }
.squads-section { padding-top: clamp(56px, 7vw, 96px); }
.hero-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 8, 10, 0.9) 0%, rgba(8, 8, 10, 0.6) 40%, rgba(8, 8, 10, 0.1) 100%),
    linear-gradient(180deg, rgba(8, 8, 10, 0.55) 0%, rgba(8, 8, 10, 0) 22%, rgba(8, 8, 10, 0.05) 48%, rgba(8, 8, 10, 0.85) 70%, var(--ink) 80%);
}
.hero-shade::after {
  content: ""; position: absolute; inset: 0;
  background: var(--sheen) 0 0 / 300% 100% no-repeat;
  background-position: 120% 0;
}

.hero-inner { position: relative; padding-block: clamp(36px, 5.5vw, 72px) clamp(32px, 4vw, 48px); }

.hero-grid, .hero-lower { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.hero-grid { align-items: stretch; }
.hero-copy { display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 4px; }
@media (min-width: 1000px) {
  .hero-grid, .hero-lower { grid-template-columns: minmax(0, 1fr) 400px; }
}

.hero-title { margin-top: 16px; font-size: var(--step-5); line-height: 0.98; letter-spacing: 0; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero-title .line > span { display: inline-block; }
.hero-lead { margin-top: 18px; font-size: var(--step-1); color: #c4c4ca; max-width: 40ch; line-height: 1.5; }
.hero-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }

.server-card, .board {
  position: relative;
  background: rgba(12, 12, 15, 0.72);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border: 1px solid var(--line-strong);
}
.server-card { padding: 18px 20px; }
.server-card::before {
  content: ""; position: absolute; left: -1px; top: -1px; width: 56px; height: 1px; background: var(--yellow);
}
.sc-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sc-upd { font-size: 0.64rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dust); }
.sc-name { font-size: 1.32rem; margin-top: 10px; letter-spacing: 0.03em; }

.status {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gray);
}

.status i { --dot: var(--dust); width: 7px; height: 7px; border-radius: 50%; background: var(--dot); }
.status-online { color: var(--text); }
.status-online i { --dot: #3ecf6a; --dot-rgb: 62, 207, 106; }
.status-seeding, .status-restart { color: var(--text); }
.status-seeding i, .status-restart i { --dot: var(--yellow); --dot-rgb: 255, 198, 41; }
.status-offline { color: var(--gray); }
.status-offline i { --dot: #6a6a72; }

.sc-addr {
  margin-top: 12px; display: inline-flex; align-items: center; gap: 12px;
  font: inherit; font-family: var(--font-display); font-size: 0.95rem; color: var(--gray);
  background: none; border: 0; padding: 0; cursor: pointer;
}
.sc-addr { max-width: 100%; text-align: left; }

#sc-addr-text {
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 0.74rem; letter-spacing: 0.04em;
}
.sc-addr small {
  flex: 0 0 auto;
  font-family: var(--font-body); font-weight: 600; font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 4px 7px; border: 1px solid var(--line-strong); color: var(--gray); transition: color 200ms ease, border-color 200ms ease;
}
.sc-addr:hover { color: var(--text); }
.sc-addr:hover small, .sc-addr.copied small { color: var(--yellow); border-color: rgba(255, 198, 41, 0.4); }

.sc-players { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.sc-count { display: flex; align-items: baseline; gap: 10px; }
.sc-count b { font-family: var(--font-display); font-weight: 600; font-size: 2.6rem; line-height: 1; }
.sc-count > span { color: var(--dust); font-size: 0.9rem; }
.sc-sub { margin-top: 8px; font-size: 0.8rem; color: var(--gray); }
.sc-sub b, .board-head b, .squad-col-count b { font-weight: 600; color: var(--text); }

.odo-host { position: relative; }
.odo-ghost { visibility: hidden; }

.odo-layer {
  position: absolute; left: 0; right: 0; top: 0; height: var(--lh, 1.15em);
  display: flex; justify-content: flex-start; white-space: pre; pointer-events: none;
}
.odo-cell {
  display: block; position: relative; overflow: hidden; height: var(--lh, 1.15em);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 72%, transparent 100%);
}
.odo-sizer { display: block; visibility: hidden; height: var(--lh, 1.15em); line-height: var(--lh, 1.15em); }
.odo-strip { display: block; position: absolute; left: 0; right: 0; top: 0; }
.odo-strip > span { display: block; height: var(--lh, 1.15em); line-height: var(--lh, 1.15em); text-align: center; }

.odo-host .odo-ghost, .odo-host .odo-layer, .odo-host .odo-layer span {
  font-family: inherit; font-size: inherit; font-weight: inherit; font-style: inherit;
  letter-spacing: inherit; text-transform: inherit; color: inherit;
}
.odo-char { display: block; height: var(--lh, 1.15em); line-height: var(--lh, 1.15em); }
.sc-kv { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); row-gap: 4px; }

.meter { position: relative; height: 3px; margin-top: 14px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.meter > span {
  position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--text);
  transition: width 1400ms var(--ease);
}
.meter-accent > span, .sc-players .meter > span { background: var(--yellow); }

.hero-lower { margin-top: 16px; align-items: stretch; }
.board { display: flex; flex-direction: column; }
.board-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 40px; padding: 0 18px;
  border-bottom: 1px solid var(--line);
  font-size: 0.64rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gray);
}
.board-empty { padding: 22px 20px; color: var(--dust); font-size: 0.9rem; }

.teams-board { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.team-slot {
  --team: var(--gray);
  position: relative; display: flex; flex-direction: column; justify-content: flex-start; gap: 12px;
  padding: 16px 18px; border-right: 1px solid var(--line);
  background: linear-gradient(180deg, color-mix(in srgb, var(--team) 9%, transparent), transparent 70%);
}
.team-slot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--bar); z-index: 2; }

.ts-topbar {
  position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 3; pointer-events: none;
  opacity: 0; transition: opacity 1100ms ease;
  background: linear-gradient(90deg, var(--team), var(--team-2), var(--team));
}
.team-slot.leader .ts-topbar { opacity: 1; }
.ts-topbar::after {
  content: ""; position: absolute; top: -1px; bottom: -1px; left: 0; width: 28%;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--team-2) 45%, #fff), transparent);
  opacity: 0.9;
}
.team-slot { overflow: hidden; }
.team-slot > :not(.ts-sparkles):not(.ts-topbar) { position: relative; z-index: 1; }

.ts-sparkles { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1100ms ease; }
.team-slot.leader .ts-sparkles { opacity: 1; }

.ts-sparkles i {
  position: absolute; top: var(--y); left: var(--x); opacity: 0;
  font-family: var(--font-display); font-style: normal; font-weight: 700; font-size: var(--s); line-height: 1;
  color: color-mix(in srgb, var(--team-2) 55%, var(--team));
  text-shadow: 0 0 5px var(--team), 0 0 1px color-mix(in srgb, var(--team-2) 60%, #fff);
  filter: saturate(1.5) brightness(1.15);
}.team-slot:last-child { border-right: 0; }
@media (max-width: 620px) {
  .teams-board { grid-template-columns: minmax(0, 1fr); }
  .team-slot { border-right: 0; border-bottom: 1px solid var(--line); }
  .team-slot:last-child { border-bottom: 0; }
}
.ts-head { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: 8px 12px; }
.ts-logo { width: 36px; height: 36px; display: grid; place-items: center; color: var(--team); }
.ts-logo svg, .ts-logo img { width: 32px; height: 32px; object-fit: contain; }
.ts-initial { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }
.ts-title { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ts-name { font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; letter-spacing: 0.08em; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ts-lead { font-size: 0.58rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bar-2); }
.ts-score { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 8px; margin-top: 2px; font-family: var(--font-display); font-weight: 600; font-size: 1.8rem; line-height: 1; color: var(--text); }
.ts-score small { font-family: var(--font-body); font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dust); font-weight: 600; }

.team-slot {
  --team-2: var(--team);
  --bar: color-mix(in srgb, var(--team) 58%, #6e6e76);
  --bar-2: color-mix(in srgb, var(--team-2) 52%, #9a9aa2);
}
.team-slot .meter { margin-top: 0; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.06); overflow: visible; }
.team-slot .meter > span {
  border-radius: 2px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--bar) 40%, transparent) 0%, var(--bar) 60%, var(--bar-2) 100%);
}

.team-slot.leader .meter > span {
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent) no-repeat,
    linear-gradient(90deg, color-mix(in srgb, var(--bar) 40%, transparent) 0%, var(--bar) 60%, var(--bar-2) 100%);
  background-size: 35% 100%, 100% 100%;
  background-position: -60% 0, 0 0;
}
.team-slot.leader .meter > span::after {
  content: ""; position: absolute; right: -2px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%;
  background: #e8e8ec; box-shadow: 0 0 6px 2px color-mix(in srgb, var(--bar-2) 70%, transparent);
}
.ts-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: 0.76rem; color: var(--gray); }
.ts-meta b { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--text); font-weight: 600; }

.ts-best { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }
.ts-best-head { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ts-best-head span { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dust); }
.ts-best-head b { font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; letter-spacing: 0.04em; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ts-kda { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 8px 0 0; }
.ts-kda > div { display: flex; flex-direction: column; gap: 2px; }
.ts-kda dt { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dust); }
.ts-kda dt abbr { text-decoration: none; cursor: help; }
.ts-kda dd { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; }
.ts-kda .ts-cash { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: baseline;
  padding-top: 6px; border-top: 1px dashed var(--line); }

.ts-kda .ts-cash dd { color: #85bb65; text-shadow: 0 0 12px rgba(133, 187, 101, 0.25); }
.ts-best-squad { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dust); }
.ts-best-squad em { font-style: normal; font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.08em; color: color-mix(in srgb, var(--bar-2) 70%, #d6d6dc); margin-left: 4px; }

.hero-lower.single { grid-template-columns: minmax(0, 1fr); }

.settings { flex: 1; display: flex; flex-direction: column; margin: 0; }
.settings > div {
  flex: 1; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 44px; padding: 0 20px; border-bottom: 1px solid var(--line);
}
.settings > div:last-child { border-bottom: 0; }
.settings dt { font-size: 0.64rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dust); }
.settings dd { margin: 0; font-size: 0.92rem; text-align: right; }

.stats-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); background: rgba(17, 17, 20, 0.85); }
.stats-grid .stat { padding: 28px 24px; border-bottom: 1px solid var(--line); }
.stats-grid .stat:nth-child(odd) { border-right: 1px solid var(--line); }
.stats-grid .stat:nth-last-child(-n + 2) { border-bottom: 0; }
.stat-value { font-family: var(--font-display); font-weight: 600; font-size: 2.2rem; line-height: 1; }
.stat-label { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--dust); margin-top: 10px; }

.live-dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow);
  margin-right: 10px; vertical-align: 2px;
}

.live-label { display: inline-flex; align-items: center; gap: 9px; color: var(--text); letter-spacing: 0.26em; line-height: 1; }
.live-dot.live-red { --dot-rgb: 229, 57, 53; width: 7px; height: 7px; margin: 0; vertical-align: 0; flex-shrink: 0; background: #e53935; }

.briefing {
  position: relative;
  background: rgba(14, 14, 17, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong);
  padding: 26px 26px 26px;
}
.bracketed::before {
  content: ""; position: absolute; top: -1px; left: -1px; width: 24px; height: 1px; pointer-events: none;
  background: var(--yellow); transition: width 400ms var(--ease);
}
.bracketed:hover::before { width: 64px; }

.briefing-label { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--dust); }
.briefing h2 { font-size: var(--step-2); margin-top: 12px; }
.briefing .kv { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }

.countdown { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 22px; }
.countdown > div {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  padding: 0 12px; border-left: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 500; font-size: 2rem; line-height: 1;
}
.countdown > div:first-child { padding-left: 0; border-left: 0; }
.countdown small { font-family: var(--font-body); font-weight: 600; font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dust); }
.countdown [data-cd] { display: inline-block; }
.countdown [data-cd].tick { animation: tick 420ms var(--ease); }

.section { position: relative; padding-block: clamp(72px, 10vw, 136px); }
.section-alt { border-block: 1px solid var(--line); background: rgba(255, 255, 255, 0.012); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; margin-bottom: 44px; }
.section-head h2 { margin-top: 16px; }
.section-head p { color: var(--gray); margin-top: 12px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.steps li { position: relative; padding: 32px 0 8px; border-top: 1px solid var(--line-strong); }
.steps li::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%;
  background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform 600ms var(--ease);
}
.steps li:hover::before { transform: scaleX(1); }
.steps .step-no { display: block; font-family: var(--font-display); font-weight: 500; font-size: 0.85rem; letter-spacing: 0.2em; color: var(--dust); transition: color 300ms ease; }
.steps li:hover .step-no { color: var(--yellow); }
.steps h3 { margin-top: 22px; }
.steps p { margin-top: 10px; color: var(--gray); }
@media (max-width: 820px) { .steps li + li { margin-top: 24px; } }

.modes { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.mode {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 14px;
  min-height: 360px; padding: 32px;
  border: 1px solid var(--line); text-decoration: none;
  background:
    linear-gradient(to top, rgba(8, 8, 10, 0.97) 30%, rgba(8, 8, 10, 0.6)),
    var(--carbon) 0 0 / 16px 16px,
    var(--field);
  transition: border-color 300ms ease, transform 500ms var(--ease);
}
.mode:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.mode::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--sheen) 0 0 / 300% 100% no-repeat;
  background-position: 120% 0;
}
.mode:hover::after { background-position: -20% 0; transition: background-position 1400ms var(--ease); }
.mode::before {
  content: ""; position: absolute; left: -1px; top: -1px; width: 0; height: 1px; background: var(--yellow);
  transition: width 500ms var(--ease);
}
.mode:hover::before { width: 72px; }
.mode-icon {
  position: absolute; z-index: -1; right: -36px; top: -28px; width: 240px; height: 240px;
  color: rgba(255, 255, 255, 0.025); transition: transform 900ms var(--ease), color 500ms ease;
}
.mode:hover .mode-icon { transform: rotate(-8deg) scale(1.05); color: rgba(255, 255, 255, 0.05); }
.mode-no { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--dust); }
.mode h3 {
  font-size: clamp(2rem, 3.6vw, 2.6rem); font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.55);
  transition: color 400ms ease, -webkit-text-stroke-color 400ms ease;
}
.mode:hover h3 { color: var(--text); -webkit-text-stroke-color: var(--text); }
.mode p { color: var(--gray); }
.mode:hover .link-arrow { color: var(--yellow); border-color: var(--yellow); gap: 18px; }

.band {
  position: relative; overflow: hidden;
  display: grid; gap: 28px; align-items: center;
  grid-template-columns: minmax(0, 1fr);
  border: 1px solid var(--line);
  padding: clamp(32px, 5vw, 56px);
  background:
    linear-gradient(90deg, rgba(8, 8, 10, 0.94), rgba(8, 8, 10, 0.7)),
    var(--carbon) 0 0 / 16px 16px;
}
.band::before { content: ""; position: absolute; left: -1px; top: -1px; width: 56px; height: 1px; background: var(--yellow); }
.band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: var(--sheen) 0 0 / 300% 100% no-repeat;
  background-position: 120% 0;
}
.band > * { position: relative; z-index: 1; }
@media (min-width: 860px) { .band { grid-template-columns: minmax(0, 1fr) auto; } }

.join {
  display: grid; gap: 24px; align-items: center; grid-template-columns: minmax(0, 1fr);
  padding-block: clamp(56px, 8vw, 96px); border-bottom: 1px solid var(--line);
}
.join h2 { font-size: var(--step-4); }
@media (min-width: 860px) { .join { grid-template-columns: minmax(0, 1fr) auto; } }

.panel { background: rgba(17, 17, 20, 0.85); border: 1px solid var(--line); position: relative; }
.panel-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; border-bottom: 1px solid var(--line);
}
.panel-title { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; letter-spacing: 0.04em; text-transform: uppercase; }
.panel-body { padding: 20px; }
.panel-body > * + * { margin-top: 14px; }
.panel-link { text-decoration: none; display: block; transition: border-color 260ms ease, transform 400ms var(--ease), background-color 260ms ease; }
.panel-link:hover { border-color: var(--line-strong); transform: translateY(-3px); background: rgba(23, 23, 27, 0.92); }
.panel::before {
  content: ""; position: absolute; left: -1px; top: -1px; width: 0; height: 1px; background: var(--yellow); z-index: 1;
  transition: width 400ms var(--ease);
}
.panel-link:hover::before { width: 48px; }

.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 22px; margin: 0; }
.kv dt { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dust); align-self: center; }
.kv dd { margin: 0; }

.empty {
  border: 1px solid var(--line); padding: 48px 28px; text-align: center; color: var(--gray);
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  background: rgba(255, 255, 255, 0.012);
}
.empty p { max-width: 46ch; }

.notice { border-left: 1px solid var(--yellow); background: rgba(255, 255, 255, 0.03); padding: 12px 18px; color: var(--gray); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: rgba(17, 17, 20, 0.85); }
.table { width: 100%; border-collapse: collapse; min-width: 560px; }
.table th {
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--dust); text-align: left;
  padding: 14px 18px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.table td { padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; transition: background-color 200ms ease; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: rgba(255, 255, 255, 0.025); }
.table .num { text-align: right; font-family: var(--font-display); font-weight: 500; font-size: 1.02rem; }
.table th.num { font-family: var(--font-body); font-weight: 600; font-size: 0.66rem; }
.table .rank { font-family: var(--font-display); font-weight: 500; font-size: 1rem; color: var(--dust); width: 56px; }
.table tbody tr:first-child .rank { color: var(--yellow); }
.table a { text-decoration: none; }
.table a:hover strong { color: var(--text); text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 4px; }

.who { display: flex; align-items: center; gap: 14px; min-width: 0; }
.who strong { font-weight: 600; }

.tag {
  display: inline-block; font-family: var(--font-display); font-weight: 500; font-size: 0.7rem; line-height: 1; letter-spacing: 0.14em;
  padding: 4px 6px 3px; border: 1px solid var(--line-strong); color: var(--gray);
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; line-height: 1;
  padding: 7px 10px; border: 1px solid var(--line); color: var(--gray); white-space: nowrap;
}
.badge-go { color: var(--text); }
.badge-go::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--yellow); }
.badge-premium { color: var(--yellow); border-color: rgba(255, 198, 41, 0.3); }
.badge-danger { color: var(--hostile); border-color: rgba(217, 88, 74, 0.35); }

.emblem { flex-shrink: 0; filter: grayscale(1) brightness(1.15) contrast(0.95); }

.form-inline { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field > label { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--dust); }

input[type="search"] {
  font: inherit; color: var(--text); background: rgba(17, 17, 20, 0.85);
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 10px 14px; min-height: 50px; width: 100%;
  transition: border-color 200ms ease;
}
input:focus { outline: none; border-color: var(--yellow); }

.checkbox { display: flex; align-items: center; gap: 10px; cursor: pointer; color: var(--gray); }
.checkbox input { width: 16px; height: 16px; margin: 0; accent-color: var(--yellow); }

.card-team { display: flex; gap: 18px; align-items: center; padding: 20px; }
.card-team h3 { font-size: 1.12rem; }
.card-team .emblem { transition: transform 500ms var(--ease), filter 400ms ease; }
.card-team:hover .emblem { transform: rotate(-4deg); filter: grayscale(0.4) brightness(1.1); }

.site-footer { border-top: 1px solid var(--line); margin-top: auto; }
.site-footer .cols { display: grid; gap: 28px; padding-block: 48px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.site-footer h4 { font-family: var(--font-body); font-weight: 600; font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--dust); margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer a:not(.btn) { text-decoration: none; color: var(--gray); transition: color 200ms ease; }
.site-footer ul a:hover { color: var(--text); }
.disclaimer { font-size: var(--step--1); color: var(--dust); }

.statusbar { border-top: 1px solid var(--line); }
.statusbar .shell {
  display: flex; flex-wrap: wrap; gap: 6px 32px; padding-block: 14px;
  font-size: 0.64rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--dust);
}
.statusbar b { font-weight: 600; color: var(--gray); }

.prose { max-width: 68ch; }
.prose h2 { font-size: var(--step-2); margin-top: 48px; margin-bottom: 16px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin-block: 0 16px; color: var(--gray); }
.prose li { margin-bottom: 10px; padding-left: 4px; }
.prose li::marker { color: var(--dust); font-family: var(--font-display); }
.prose a { color: var(--text); text-decoration-color: var(--yellow); }

[hidden] { display: none !important; }
.mt-12 { margin-top: 12px; }
.mt-18 { margin-top: 18px; }
.mt-20 { margin-top: 20px; }
.mb-28 { margin-bottom: 36px; }
.mb-40 { margin-bottom: 48px; }
.minw-0 { min-width: 0; }
.items-start { align-items: start; }
.price { font-family: var(--font-display); font-weight: 500; font-size: var(--step-3); color: var(--text); text-transform: uppercase; }
.perks { padding-left: 18px; margin: 0; color: var(--gray); }
.perks li { margin-bottom: 8px; }
.perks li::marker { color: var(--yellow); }
.steps-list { margin: 0; padding-left: 20px; }
.table-compact { min-width: 0; }
.team-search { flex: 1 1 260px; }
.team-filter { align-self: center; margin-top: 24px; }
.notfound { max-width: 640px; margin: 40px auto; }
.notfound h1 { font-size: var(--step-5); }

@keyframes tick {
  0% { transform: translateY(-30%); opacity: 0; }
  100% { transform: none; opacity: 1; }
}

@media (prefers-reduced-motion: no-preference) {

  .hero-title .line > span { animation: line-up 1100ms var(--ease) both; }
  .hero-title .line:nth-child(2) > span { animation-delay: 140ms; }
  .hero .eyebrow, .hero-lead, .hero-actions { animation: focus-in 1100ms var(--ease) both; }
  .hero .eyebrow { animation-delay: 60ms; }
  .hero-lead { animation-delay: 320ms; }
  .hero-actions { animation-delay: 440ms; }
  .server-card { animation: focus-in 1100ms 480ms var(--ease) both; }
  .hero-lower .board { animation: focus-in 1000ms var(--ease) both; }
  .hero-lower .board:nth-child(1) { animation-delay: 640ms; }
  .hero-lower .board:nth-child(2) { animation-delay: 760ms; }

  .hero-bg { animation: bg-zoom 60s cubic-bezier(.25, .1, .25, 1) forwards; transition: translate 900ms cubic-bezier(.2, .7, .2, 1); }

  .status-online i, .status-seeding i, .status-restart i { animation: status-blink 1.6s ease-in-out infinite; }

  .team-slot.leader .ts-topbar, .team-slot.leaving .ts-topbar { animation: bar-pulse 2.2s ease-in-out infinite; }
  .team-slot.leader .ts-topbar::after, .team-slot.leaving .ts-topbar::after { animation: bar-bounce 2.6s cubic-bezier(.45, 0, .55, 1) infinite alternate; }
  @keyframes bar-pulse {
    0%, 100% { filter: brightness(0.8); box-shadow: 0 0 4px 0 color-mix(in srgb, var(--team) 40%, transparent); }
    50% { filter: brightness(1.3); box-shadow: 0 0 14px 2px var(--team), 0 0 4px 0 var(--team-2); }
  }
  @keyframes bar-bounce { from { left: 0; } to { left: 72%; } }
  .team-slot.leader .ts-sparkles i, .team-slot.leaving .ts-sparkles i { animation: sparkle-fall var(--d) var(--e, linear) var(--t) infinite; }

  @keyframes sparkle-fall {
    0% { top: var(--y); transform: translateX(0) rotate(0deg) scale(var(--sc, 1)); opacity: 0; }
    28% { opacity: var(--op, 1); }
    60% { opacity: calc(var(--op, 1) * 0.85); }
    100% { top: calc(var(--y) + var(--f)); transform: translateX(var(--dx, 0px)) rotate(var(--rot, 0deg)) scale(var(--sc, 1)); opacity: 0; }
  }

  .brand:hover .brand-mark, .brand:focus-visible .brand-mark,
  .brand:hover .brand-name, .brand:focus-visible .brand-name,
  .brand:hover .brand-tag, .brand:focus-visible .brand-tag { animation: glitch-jitter 1.8s steps(1, end) infinite; }
  .brand:hover .brand-logo::before, .brand:focus-visible .brand-logo::before,
  .brand:hover .brand-name::before, .brand:focus-visible .brand-name::before,
  .brand:hover .brand-tag::before, .brand:focus-visible .brand-tag::before { animation: glitch-a 1.8s steps(1, end) infinite; }
  .brand:hover .brand-logo::after, .brand:focus-visible .brand-logo::after,
  .brand:hover .brand-name::after, .brand:focus-visible .brand-name::after,
  .brand:hover .brand-tag::after, .brand:focus-visible .brand-tag::after { animation: glitch-b 1.8s steps(1, end) infinite; }
  @keyframes glitch-a {
    0%   { opacity: 1; clip-path: inset(12% 0 62% 0); transform: translate(-3px, 0); }
    4%   { opacity: 1; clip-path: inset(68% 0 8% 0);  transform: translate(2px, 0); }
    8%   { opacity: 1; clip-path: inset(34% 0 44% 0); transform: translate(-2px, 1px); }
    12%  { opacity: 1; clip-path: inset(80% 0 2% 0);  transform: translate(3px, 0); }
    16%  { opacity: 1; clip-path: inset(4% 0 82% 0);  transform: translate(-2px, -1px); }
    20%, 100% { opacity: 0; clip-path: inset(0 0 100% 0); transform: none; }
  }
  @keyframes glitch-b {
    0%   { opacity: 1; clip-path: inset(56% 0 24% 0); transform: translate(3px, 0); }
    4%   { opacity: 1; clip-path: inset(18% 0 66% 0); transform: translate(-2px, 1px); }
    8%   { opacity: 1; clip-path: inset(74% 0 6% 0);  transform: translate(2px, 0); }
    12%  { opacity: 1; clip-path: inset(40% 0 38% 0); transform: translate(-3px, 0); }
    16%  { opacity: 1; clip-path: inset(88% 0 0 0);   transform: translate(2px, 0); }
    20%, 100% { opacity: 0; clip-path: inset(0 0 100% 0); transform: none; }
  }
  @keyframes glitch-jitter {
    0%   { transform: translate(1px, 0) skewX(-3deg); }
    5%   { transform: translate(-1px, 0); }
    10%  { transform: translate(2px, 0) skewX(2deg); }
    15%  { transform: translate(-1px, 0); }
    20%, 100% { transform: none; }
  }

  .feed-row.is-new { animation: feed-in 600ms var(--ease) both, feed-glow 2.4s ease-out both; }

  .num-change { animation: num-flash 900ms ease-out; }
  @keyframes num-flash { 0% { filter: brightness(1.8); } 100% { filter: brightness(1); } }
  .odo-strip { animation: odo-roll 900ms cubic-bezier(.22, .8, .25, 1) var(--delay, 0ms) both; }
  @keyframes odo-roll {
    0% { transform: translateY(0); filter: blur(0); }
    35% { filter: blur(0.6px); }
    100% { transform: translateY(calc(var(--steps) * -1 * var(--lh, 1.15em))); filter: blur(0); }
  }
  @keyframes feed-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
  @keyframes feed-glow { from { background: rgba(255, 255, 255, 0.07); } to { background: transparent; } }

  .team-slot.leader .meter > span { animation: lead-bar 3.2s linear infinite; }
  .team-slot.leader .meter > span::after { animation: lead-tip 1.6s ease-in-out infinite; }
  @keyframes lead-bar {
    0% { background-position: -60% 0, 0 0; }
    45%, 100% { background-position: 160% 0, 0 0; }
  }
  @keyframes lead-tip { 0%, 100% { transform: scale(0.75); opacity: 0.75; } 50% { transform: scale(1.15); opacity: 1; } }

  .hero-shade::after { animation: sheen 12s 1.5s cubic-bezier(.45, 0, .55, 1) infinite; }
  .band::after { animation: sheen 12s 3s cubic-bezier(.45, 0, .55, 1) infinite; }
  .live-dot { animation: pulse 2.4s ease-out infinite; }
  .live-dot.live-red { animation: status-blink 1.2s ease-in-out infinite; }

  .page-head h1, .page-head .eyebrow, .page-head .lead { animation: focus-in 900ms var(--ease) both; }
  .page-head h1 { animation-delay: 80ms; }
  .page-head .lead { animation-delay: 180ms; }

  .js .reveal { opacity: 0; transform: translateY(22px); filter: blur(6px); transition: opacity 1000ms var(--ease), transform 1000ms var(--ease), filter 1000ms var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; filter: none; }

  @keyframes line-up { from { transform: translateY(105%); } to { transform: none; } }
  @keyframes focus-in { from { opacity: 0; filter: blur(10px); transform: translateY(10px); } to { opacity: 1; filter: none; transform: none; } }
  @keyframes bg-zoom { from { transform: scale(1); } to { transform: scale(1.08) translate3d(-0.8%, -0.8%, 0); } }
  @keyframes status-blink {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(var(--dot-rgb), 0.55), 0 0 8px rgba(var(--dot-rgb), 0.8); }
    50% { opacity: 0.35; box-shadow: 0 0 0 6px rgba(var(--dot-rgb), 0), 0 0 2px rgba(var(--dot-rgb), 0.3); }
  }

  @keyframes sheen { 0% { background-position: 120% 0; } 45%, 100% { background-position: -20% 0; } }
  @keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 198, 41, 0.5); }
    100% { box-shadow: 0 0 0 8px rgba(255, 198, 41, 0); }
  }
}

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