/* ═══════════════════════════════════════════════════════════
   CounterGuide.de – Design System & Stylesheet (v12)
   CS2 Companion & CounterHub Match Intelligence Platform
   Dark UI · CS2-Orange Akzent · taktische HUD-Elemente
   Tokens an die Android-App angeglichen (Theme.kt / Color.kt)
   ═══════════════════════════════════════════════════════════ */

:root {
  /* App-aligned palette (CounterGuide Theme.kt / Color.kt) */
  --bg:          #121212;   /* DarkBg   */
  --bg-2:        #15181E;
  --surface:     #12151A;   /* DarkSurface  */
  --surface-2:   #1A1E26;   /* DarkSurface2 */
  --surface-3:   #242834;   /* DarkSurface3 */
  --line:        #2E3340;   /* DarkOutline  */
  --line-2:      #3D4455;   /* DarkOutlineVar */
  --line-3:      #4D566E;
  --accent:      #FF6B00;   /* CS2Orange */
  --accent-2:    #FF8C38;   /* CS2OrangeLight */
  --accent-dk:   #CC5500;   /* CS2OrangeDark  */
  --accent-glow: rgba(255, 107, 0, 0.28);
  --gold:        #FFD700;   /* CS2Gold */
  --text:        #F0F2F5;
  --text-2:      #ADB5C2;   /* TextSecondary */
  --text-3:      #6B7585;   /* TextTertiary  */
  --ok:          #4CAF50;
  --ok-bg:       rgba(76, 175, 80, 0.14);
  --err:         #E53935;
  --err-bg:      rgba(229, 57, 53, 0.14);
  --info:        #2196F3;
  --info-bg:     rgba(33, 150, 243, 0.14);
  --ct:          #4B69FF;
  --ct-bg:       rgba(75, 105, 255, 0.16);
  --t:           #E58824;
  --t-bg:        rgba(229, 136, 36, 0.16);
  --radius:      18px;
  --radius-sm:   12px;
  --input-r:     14px;
  --font:        "Segoe UI Variable", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  --disp:        "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --mono:        ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", Menlo, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
strong { font-weight: 650; }
[hidden] { display: none !important; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
::selection { background: rgba(255, 107, 0, 0.32); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--disp);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
}
.accent { color: var(--accent); }
.accent-2 { color: var(--accent-2); }
.mono { font-family: var(--mono); }

/* ── Buttons & Badges ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--disp);
  font-weight: 600;
  font-size: 14.5px;
  border-radius: 12px;
  padding: 12px 20px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-accent {
  background: var(--accent);
  color: #150600;
  box-shadow: 0 3px 16px rgba(255, 107, 0, 0.28);
}
.btn-accent:hover {
  background: var(--accent-2);
  box-shadow: 0 5px 22px rgba(255, 107, 0, 0.42);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.07);
}
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 9px; }
.btn-lg { padding: 14px 24px; font-size: 15.5px; border-radius: 14px; }
.btn .ic { width: 19px; height: 19px; fill: currentColor; }

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 24px;
  background: rgba(255, 107, 0, 0.1);
  border: 1px solid rgba(255, 107, 0, 0.26);
  color: var(--accent-2);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.badge-pill.ct-pill {
  background: var(--ct-bg);
  border-color: rgba(75, 105, 255, 0.35);
  color: #9cb1ff;
}
.badge-pill.t-pill {
  background: var(--t-bg);
  border-color: rgba(229, 136, 36, 0.35);
  color: #ffbb6e;
}
.badge-pill.green-pill {
  background: var(--ok-bg);
  border-color: rgba(76, 175, 80, 0.35);
  color: #81c784;
}
.badge-pill.info-pill {
  background: var(--info-bg);
  border-color: rgba(33, 150, 243, 0.35);
  color: #8ec5ff;
}
.badge-pill.none { background: rgba(255,255,255,0.03); border-color: var(--line); color: var(--text-2); }
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

/* ── Topbar (Nav) ─────────────────────────────────────────── */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  height: 64px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.topbar.scrolled {
  background: rgba(18, 18, 18, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}
.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}
.brand-logo { width: 32px; height: 32px; border-radius: 9px; }
.brand-word { font-family: var(--disp); font-weight: 700; font-size: 18px; letter-spacing: 0.01em; }
.brand-word em { font-style: normal; color: var(--accent); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a {
  color: var(--text-2);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav a:hover { color: var(--text); }
.nav a.active { color: var(--text); }
.nav a.active::after { content:""; }
.nav .nav-pill {
  position: relative;
}
.nav .nav-pill.new::after {
  content: "NEW";
  position: absolute;
  top: -6px;
  right: -22px;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 5px;
  background: var(--accent);
  color: #150600;
  letter-spacing: .03em;
}
.topbar-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.2s;
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 0;
  padding: 110px 0 70px;
  overflow: hidden;
  background:
    radial-gradient(1100px 580px at 15% -5%, rgba(255, 107, 0, 0.25), transparent 60%),
    radial-gradient(900px 520px at 85% 15%, rgba(75, 105, 255, 0.18), transparent 55%),
    linear-gradient(180deg, #141720 0%, #121212 60%, #121212 100%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 30%, #000 30%, transparent 80%);
  opacity: 0.35;
}
#hero-particles { position: absolute; inset: 0; }

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 44px;
  align-items: center;
}
.hero-content { max-width: 620px; }
.overline {
  font-family: var(--disp);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 16px;
}
.hero-title {
  font-size: clamp(40px, 5.4vw, 68px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  line-height: 1.05;
}
.hero-title em { font-style: normal; color: var(--accent); }
.hero-sub {
  color: var(--text-2);
  font-size: 17px;
  line-height: 1.62;
  margin-bottom: 28px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-features-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  color: var(--text-2);
  font-size: 12.5px;
}
.hero-chip svg { width: 14px; height: 14px; color: var(--accent); }

/* ── AK-47 Spray HUD (Hero Right) ─────────────────────────── */
.hero-recoil-hud {
  position: relative;
  background: rgba(18, 21, 26, 0.78);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 107, 0, 0.06);
}
.hud-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid var(--accent);
  pointer-events: none;
}
.hud-c-tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; border-top-left-radius: 8px; }
.hud-c-tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; border-top-right-radius: 8px; }
.hud-c-bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; border-bottom-left-radius: 8px; }
.hud-c-br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; border-bottom-right-radius: 8px; }

.hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.hud-title-box { display: flex; align-items: center; gap: 10px; }
.hud-title-box h3 { font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase; }
.hud-mode-pill {
  font-family: var(--mono);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 107, 0, 0.15);
  color: var(--accent);
  border: 1px solid rgba(255, 107, 0, 0.3);
}

.hud-reticle-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  max-width: 380px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
#hud-spray-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 24, 33, 0.95) 0%, rgba(13, 16, 22, 0.98) 70%, #0d0f14 100%);
  border: 1px solid var(--line-2);
}
.hud-reticle-ring {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  pointer-events: none;
  animation: spinRev 32s linear infinite;
}
.hud-reticle-ring-inner {
  position: absolute;
  inset: 28%;
  border-radius: 50%;
  border: 1px solid rgba(255, 107, 0, 0.18);
  pointer-events: none;
}

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

/* ── Sektionen (Allgemein) ────────────────────────────────── */
.section {
  padding: 95px 0;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.section.alt { background: var(--bg); }
.sec-head {
  max-width: 780px;
  margin: 0 auto 48px;
  text-align: center;
}
.sec-head .overline,
.sec-head .badge-pill { display: inline-flex; margin-bottom: 14px; }
.sec-head h2 { font-size: clamp(28px, 3.8vw, 42px); margin-bottom: 14px; }
.sec-head p { color: var(--text-2); font-size: 16.5px; line-height: 1.6; }

/* ── Page Hero (Subpages) ─────────────────────────────────── */
.page-hero {
  position: relative;
  padding: 120px 0 70px;
  background:
    radial-gradient(1000px 480px at 20% -5%, rgba(255, 107, 0, 0.16), transparent 60%),
    linear-gradient(180deg, #161a22 0%, #121212 80%);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero .breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-3);
  font-size: 13px;
  margin-bottom: 26px;
}
.page-hero .breadcrumb a { color: var(--text-2); }
.page-hero .breadcrumb a:hover { color: var(--accent); }
.page-hero .breadcrumb svg { width: 13px; height: 13px; stroke: var(--text-3); }
.page-hero h1 {
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.page-hero h1 em { font-style: normal; color: var(--accent); }
.page-hero p {
  color: var(--text-2);
  font-size: 16.5px;
  line-height: 1.6;
  max-width: 720px;
}
.page-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* ── Stat-Leiste ──────────────────────────────────────────── */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 24px 26px;
}
.stat .stat-num {
  font-family: var(--disp);
  font-size: 38px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.stat .stat-label { color: var(--text-2); font-size: 14px; margin-top: 8px; line-height: 1.45; }
.stat .stat-sub { color: var(--text-3); font-size: 12.5px; margin-top: 4px; }

/* ── Features-Grid ────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.feat-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  background: linear-gradient(155deg, var(--surface), #11141a);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  position: relative;
  overflow: hidden;
}
.feat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 107, 0, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 20px rgba(255, 107, 0, 0.08);
}
.feat-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.feat-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 107, 0, 0.1);
  border: 1px solid rgba(255, 107, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.feat-icon-box svg { width: 24px; height: 24px; stroke-width: 2; fill: none; stroke: currentColor; }
.feat-card h3 { font-size: 20px; margin-bottom: 12px; color: var(--text); }
.feat-card p { color: var(--text-2); font-size: 15px; line-height: 1.65; margin-bottom: 18px; }
.feat-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.feat-tag {
  font-family: var(--mono);
  font-size: 11.5px;
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text-3);
}

/* ── Feature-Detail-Rows (Features-Seite) ─────────────────── */
.feature-rows { display: flex; flex-direction: column; gap: 26px; }
.feature-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 28px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 40px;
  transition: border-color 0.2s ease;
}
.feature-row:hover { border-color: var(--line-2); }
.feature-row .feat-icon-box { width: 72px; height: 72px; }
.feature-row .feat-icon-box svg { width: 34px; height: 34px; }
.feature-row h3 { font-size: 21px; margin-bottom: 10px; }
.feature-row .fr-desc { color: var(--text-2); font-size: 15.5px; line-height: 1.72; margin-bottom: 14px; }
.feature-row ul { padding-left: 18px; margin: 0 0 0 0; }
.feature-row li {
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 7px;
  list-style: none;
}
.feature-row li::before { content:""; width:6px; height:6px; border-radius:2px; background: var(--accent); display:inline-block; margin-right:10px; }
.feature-links { margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; }

/* ── How-it-works / Schritte ──────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  counter-reset: step;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  position: relative;
}
.step-card .step-num {
  position: absolute;
  top: 18px;
  right: 20px;
  font-family: var(--disp);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-3);
}
.step-card h3 { font-size: 18px; margin-bottom: 12px; }
.step-card p { color: var(--text-2); font-size: 14.5px; line-height: 1.62; }
.step-card .step-link { color: var(--accent-2); font-size: 13.5px; margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; }

/* ── CTA-Band ─────────────────────────────────────────────── */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 90px 0;
  text-align: center;
  background:
    radial-gradient(900px 460px at 50% 0%, rgba(255, 107, 0, 0.18), transparent 62%),
    var(--bg-2);
  border-top: 1px solid var(--line);
}
.cta-band h2 { font-size: clamp(30px, 4vw, 50px); font-weight: 700; margin: 0 0 16px; }
.cta-band h2 em { font-style: normal; color: var(--accent); }
.cta-band p { color: var(--text-2); font-size: 17px; line-height: 1.6; max-width: 640px; margin: 0 auto 30px; }
.cta-band .hero-cta { justify-content: center; }

/* ── FAQ (Akkordeon) ─────────────────────────────────────── */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 880px;
  margin: 0 auto;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item:hover { border-color: var(--line-2); }
.faq-item.open { border-color: rgba(255, 107, 0, 0.4); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: transparent;
  border: 0;
  color: var(--text);
  font-family: var(--disp);
  font-size: 17px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  gap: 16px;
}
.faq-chevron {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  stroke-width: 2.2;
  fill: none;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.7;
}
.faq-item.open .faq-answer {
  max-height: 600px;
  padding: 0 24px 22px;
}

/* ── CounterHub Dashboard ─────────────────────────────────── */
.hub-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  align-items: start;
}
.hub-stage { display: flex; flex-direction: column; gap: 16px; }
.hub-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.hub-panel .hub-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.hub-panel .hub-panel-title { font-family: var(--disp); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); }
.hub-panel .hub-panel-side { color: var(--text-3); font-size: 12.5px; }

/* Player pills (team legend / selection) */
.hub-players {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hub-player-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .15s ease;
}
.hub-player-pill .hp-dot { width: 8px; height: 8px; border-radius: 50%; }
.hub-player-pill.ct { background: var(--ct-bg); border-color: rgba(75,105,255,.4); color: #aebcff; }
.hub-player-pill.ct .hp-dot { background: var(--ct); box-shadow: 0 0 8px var(--ct); }
.hub-player-pill.t  { background: var(--t-bg);  border-color: rgba(229,136,36,.4); color: #ffc180; }
.hub-player-pill.t  .hp-dot { background: var(--t);  box-shadow: 0 0 8px var(--t); }
.hub-player-pill.sel { outline: 2px solid var(--accent); background: rgba(255,107,0,.12); border-color: var(--accent); color: var(--text); }
.hub-player-pill.off { opacity: .45; }

/* Radar */
.hub-radar-wrap { position: relative; }
#hub-radar {
  width: 100%;
  aspect-ratio: 1/1;
  display: block;
  background:
    linear-gradient(180deg, #141720 0%, #121212 100%);
  border: 1px solid var(--line-2);
  border-radius: 14px;
}
.hub-radar-meta {
  position: absolute;
  top: 12px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-3);
  font-size: 12.5px;
  font-family: var(--mono);
  background: rgba(18,18,18,.72);
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.hub-radar-meta .rd-dot { width:8px; height:8px; border-radius:50%; background: var(--accent); box-shadow:0 0 8px var(--accent); }
.hub-radar-badges {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 6px;
}
.hub-radar-badges .hud-mode-pill { position: static; }

/* Timeline / scrubber */
.hub-timeline {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 20px;
}
.hub-timeline input[type=range] {
  flex: 1;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent) var(--hub-prog,0%), var(--line) var(--hub-prog,0%), var(--line) 100%);
}
.hub-timeline input[type=range]::-webkit-slider-thumb {
  appearance: none;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent);
  border: 2px solid #150600;
  box-shadow: 0 0 10px rgba(255,107,0,.5);
}
.hub-timeline input[type=range]::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent);
  border: 2px solid #150600;
}
.hub-timeline .hub-time { font-family: var(--mono); font-size: 12.5px; color: var(--text-2); min-width: 118px; text-align: right; }

/* Transport controls */
.hub-transport { display: flex; align-items: center; gap: 8px; }
.hub-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  color: var(--text);
  cursor: pointer;
  transition: all .15s ease;
}
.hub-btn:hover { border-color: var(--line-2); background: rgba(255,255,255,.08); }
.hub-btn.primary { background: var(--accent); color: #150600; border-color: var(--accent); }
.hub-btn svg { width: 18px; height: 18px; fill: currentColor; stroke: currentColor; }
.hub-btn.speed { min-width: 0; }
.hub-btn.speed b { font-family: var(--mono); font-size: 12px; }

/* Round selector */
.hub-rounds { display: flex; flex-wrap: wrap; gap: 6px; }
.hub-round {
  min-width: 34px;
  height: 30px;
  padding: 0 8px;
  border-radius: 8px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  color: var(--text-2);
  font-family: var(--disp);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all .13s ease;
}
.hub-round:hover { border-color: var(--line-2); }
.hub-round.sel { background: var(--accent); color: #150600; border-color: var(--accent); }
.hub-round:disabled { opacity: .35; cursor: default; }
.hub-round.ct-win { border-color: var(--ct); color: #aebcff; }
.hub-round.t-win  { border-color: var(--t);  color: #ffc180; }

/* Killfeed */
.hub-killfeed {
  max-height: 460px;
  overflow-y: auto;
  font-family: var(--disp);
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
}
.kf-entry {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 9px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--line);
  font-size: 13px;
}
.kf-entry .kf-idx {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-3);
  min-width: 26px;
}
.kf-entry .kf-killer { font-weight: 700; }
.kf-entry .kf-killer.ct { color: #aebcff; } .kf-entry .kf-killer.t { color: #ffc180; }
.kf-entry .kf-weapon {
  font-family: var(--mono);
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 6px;
  color: var(--text-2);
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.kf-entry .kf-victim.ct { color: #aebcff; } .kf-entry .kf-victim.t { color: #ffc180; }
.kf-entry .kf-flag {
  font-family: var(--mono);
  font-size: 10px;
  padding: 1px 5px;
  border-radius: 5px;
  color: var(--gold);
  background: rgba(255,215,0,.12);
  border: 1px solid rgba(255,215,0,.3);
}
.kf-entry .kf-t {
  font-family: var(--mono); font-size: 10.5px; color: var(--text-3);
}
.kf-entry.hs { border-color: rgba(255,215,0,.5); box-shadow: 0 0 10px rgba(255,215,0,.08); }
.kf-entry.first { background: rgba(255,107,0,.05); }
.kf-empty { color: var(--text-3); font-size: 13px; text-align: center; padding: 18px; }

/* Scoreboard table */
.hub-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.hub-table thead th {
  text-align: left;
  color: var(--text-3);
  font-size: 11.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
}
.hub-table tbody td { padding: 10px 12px; border-top: 1px solid var(--line); color: var(--text-2); }
.hub-table .pl-cell { display:flex; align-items:center; gap:8px; }
.hub-table .pl-dot { width:8px; height:8px; border-radius:50%; }
.hub-table .pl-name { font-weight:600; color: var(--text); }
.hub-table td.num { text-align:right; font-family: var(--mono); }
.hub-table tr.sel-row { background: rgba(255,107,0,.06); }
.hub-table tr.sel-row td { color: var(--text); }
.hub-table .kdr-good { color: var(--ok); }
.hub-table .kdr-bad  { color: var(--err); }

/* Player detail cards */
.hub-playerdetail { display: flex; flex-direction: column; gap: 12px; }
.hub-statcard {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.hub-statcard .hs-label { font-family: var(--disp); font-size: 11.5px; letter-spacing:.04em; text-transform:uppercase; color: var(--text-3); }
.hub-statcard .hs-value { font-family: var(--disp); font-size: 20px; font-weight:700; color: var(--text); }
.hub-statcard .hs-sub { color: var(--text-3); font-size: 12px; }
.hub-rate {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hub-rate .hr-num { font-family: var(--disp); font-size: 22px; font-weight: 700; }
.hub-rate .hr-cap {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent) calc(var(--hr,p)*100%), rgba(255,255,255,.05) calc(var(--hr,p)*100%));
  position: relative;
}
.hub-rate .hr-cap::after {
  content:""; position:absolute; left:calc(var(--hr,p)*100% - 2px); top:-3px; width:4px; height:14px; background:var(--accent); border-radius:2px; box-shadow:0 0 8px var(--accent);
}

/* Bomb / grenade legend */
.hub-legend { display: flex; flex-wrap: wrap; gap: 8px; }
.hub-legend .lg { display:inline-flex; align-items:center; gap:6px; font-size:12px; color: var(--text-3); }
.hub-legend .lg .sw { width:10px; height:10px; border-radius:3px; }
.hub-legend .sw-smoke  { background: var(--smoke, #A855F7); }
.hub-legend .sw-flash  { background: var(--flash, #FFF176); }
.hub-legend .sw-he     { background: var(--he, #EF9A9A); }
.hub-legend .sw-decoy  { background: var(--decoy, #80CBC4); }
.hub-legend .sw-ct     { background: var(--ct); }
.hub-legend .sw-t      { background: var(--t); }

/* ── Contact ──────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 380px; gap: 30px; align-items: start; }
.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { color: var(--text-3); font-size: 13px; font-family: var(--disp); }
.field input,
.field textarea,
.field select {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--input-r);
  padding: 13px 16px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: border-color .15s ease;
}
.field input:focus,
.field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,107,0,.15); }
.field textarea { min-height: 130px; resize: vertical; }
.contact-side { display: flex; flex-direction: column; gap: 18px; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; }
.contact-card h3 { font-size: 15px; margin-bottom: 8px; }
.contact-card p { color: var(--text-2); font-size: 14px; line-height: 1.55; }
.contact-card a { color: var(--accent-2); }
.contact-card a:hover { color: #ffa463; }
.contact-card ul { padding:0; list-style:none; }
.contact-card li { display:flex; gap:8px; align-items:flex-start; color: var(--text-2); font-size: 14px; line-height:1.6; margin-bottom:10px; }
.contact-card li::before { content:""; width:7px; height:7px; border-radius:2px; background: var(--accent); flex:none; margin-top:6px; }

/* ── Changelog ────────────────────────────────────────────── */
.changelog { max-width: 820px; margin: 0 auto; }
.cl-entry {
  position: relative;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 26px;
  padding: 22px 0;
}
.cl-entry::before {
  content:""; position:absolute; left:-1px; top:0; bottom:0; width:1px;
  background: linear-gradient(180deg, var(--line) 0%, var(--line) 100%);
}
.cl-version {
  font-family: var(--disp);
  font-weight: 700;
  color: var(--accent-2);
  font-size: 15px;
}
.cl-version .cl-date { display:block; color: var(--text-3); font-size: 12px; margin-top: 4px; }
.cl-body h3 { font-size: 16px; color: var(--text); margin-bottom: 8px; }
.cl-body ul { list-style:none; padding:0; }
.cl-body li {
  display:flex; gap:10px; align-items:flex-start;
  color: var(--text-2); font-size: 14px; line-height:1.6; margin-bottom:7px;
}
.cl-body li::before { content:""; width:6px; height:6px; border-radius:2px; background: var(--accent); flex:none; margin-top:6px; }

/* ── Generische Tabelle ───────────────────────────────────── */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table thead th {
  text-align: left; color: var(--text-3); font-size: 11.5px; letter-spacing:.04em;
  text-transform: uppercase; padding: 10px 14px; border-bottom: 1px solid var(--line);
}
.table tbody td { padding: 11px 14px; border-top: 1px solid var(--line); color: var(--text-2); }
.table tbody tr:hover td { background: rgba(255,255,255,.02); }

/* ── KI-Box / Hervorhebung ────────────────────────────────── */
.note-box {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 16px 18px; color: var(--text-2); font-size: 14px;
}
.note-box.info { border-color: rgba(33,150,243,.4); background: var(--info-bg); }
.note-box.warn { border-color: rgba(255,179,0,.4); background: rgba(255,179,0,.08); }
.note-box::before { content:"i"; color: var(--accent); font-weight:800; flex:none; width:20px; height:20px; border-radius:50%; border:1px solid var(--accent); display:flex; align-items:center; justify-content:center; }

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--line);
  padding: 60px 0 44px;
  background: var(--bg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 34px;
  margin-bottom: 40px;
}
.footer-col .fc-brand { display:flex; align-items:center; gap:10px; }
.footer-col h4 { font-family: var(--disp); font-size: 13px; letter-spacing:.05em; text-transform:uppercase; color: var(--text-3); margin-bottom: 14px; }
.footer-col ul { list-style:none; padding:0; display:flex; flex-direction:column; gap:9px; }
.footer-col li a { color: var(--text-2); font-size: 14px; transition: color .15s; }
.footer-col li a:hover { color: var(--accent); }
.footer-col p { color: var(--text-3); font-size: 13px; line-height:1.6; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-2); font-size: 14.5px; transition: color 0.15s ease; }
.footer-links a:hover { color: var(--accent); }
.footer-legal {
  width: 100%;
  color: var(--text-3);
  font-size: 13px;
  line-height: 1.65;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

/* ── Reveal-on-scroll ─────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; will-change: opacity, transform; }
.reveal.revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ── 404 ──────────────────────────────────────────────────── */
.notfound {
  padding: 140px 0 80px;
  text-align: center;
}
.notfound .nf-code { font-family: var(--disp); font-size: 120px; font-weight: 800; color: var(--accent); letter-spacing:-.03em; }
.notfound h1 { font-size: 26px; margin: 14px 0 10px; }
.notfound p { color: var(--text-2); font-size: 15.5px; margin-bottom: 26px; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1040px) {
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .hub-shell { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .feature-row { grid-template-columns: 56px 1fr; gap: 20px; padding: 28px 24px; }
  .feature-row .feat-icon-box { width: 56px; height: 56px; }
}
@media (max-width: 980px) {
  .hero-layout { grid-template-columns: 1fr; gap: 40px; }
  .hero-content { max-width: 100%; text-align: center; }
  .hero-cta { justify-content: center; }
  .hero-features-chips { justify-content: center; }
  .features-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .cl-entry { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 18px; }
  .nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(18, 18, 18, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease;
    margin-left: 0;
  }
  .nav.open { max-height: 380px; }
  .nav a { padding: 16px 24px; border-top: 1px solid var(--line); }
  .menu-toggle { display: flex; }
  .hero { padding: 90px 0 60px; }
  .hero-title { font-size: 38px; }
  .page-hero { padding: 96px 0 54px; }
  .hub-table th.td-hp, .hub-table td.hp { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ═════════════════════════════════════════════════════════════
   CounterHub v2 — professional match-replay dashboard
   ═════════════════════════════════════════════════════════════ */
.hub-topbar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 16px; margin-bottom: 18px;
}
.hub-tb-left, .hub-tb-center, .hub-tb-right { display: flex; align-items: center; gap: 12px; }
.map-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--disp); font-weight: 600; font-size: 13.5px;
  padding: 6px 12px; border-radius: 9px;
  background: rgba(255,107,0,.1); border: 1px solid rgba(255,107,0,.3); color: var(--accent-2);
}
.map-chip .rd-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.tb-meta { color: var(--text-2); font-size: 13px; font-family: var(--mono); }
.tb-chip {
  padding: 6px 12px; border-radius: 9px; font-size: 12.5px; font-weight: 600;
  background: rgba(255,255,255,.04); border: 1px solid var(--line); color: var(--text-2);
}
.hub-tb-right { gap: 14px; }
.ts { font-family: var(--disp); font-weight: 700; font-size: 22px; }
.ts.t { color: #E58824; } .ts.ct { color: #4B69FF; }
.ts-mid { color: var(--text-3); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; }

.hub-shell { display: grid; grid-template-columns: minmax(0,1fr) 372px; gap: 20px; align-items: start; }
.hub-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.hub-aside { display: flex; flex-direction: column; gap: 16px; }

.hub-radar-frame {
  position: relative; background: #0d0f14; border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden;
}
.hub-radar-frame canvas { width: 100%; aspect-ratio: 1/1; display: block; }
.rd-overlay {
  position: absolute; display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 12px; color: var(--text-2);
  background: rgba(13,15,20,.8); border: 1px solid var(--line); border-radius: 9px; padding: 5px 10px;
}
.rd-overlay.tl { top: 12px; left: 12px; }
.rd-overlay.tr { top: 12px; right: 12px; }
.rd-overlay.br { bottom: 12px; right: 12px; }
.rd-overlay .rd-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.rd-overlay.compass {
  bottom: 12px; left: 12px; width: 34px; height: 34px; padding: 0; justify-content: center; border-radius: 50%;
  color: var(--text-2); font-weight: 700;
}
.rd-overlay.compass:before {
  content:""; position:absolute; top:5px; left:50%; width:6px; height:6px; transform:translateX(-50%); border-radius:50%; background:var(--accent);
}

.hub-transport-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hub-scrubber { flex: 1; min-width: 160px; }
.hub-scrubber input[type=range] {
  width: 100%; appearance: none; height: 7px; border-radius: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent) var(--hub-prog,0%), var(--line) var(--hub-prog,0%), var(--line) 100%);
  cursor: pointer;
}
.hub-scrubber input[type=range]::-webkit-slider-thumb {
  appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--accent);
  border: 3px solid #150600; box-shadow: 0 0 12px rgba(255,107,0,.55);
}
.hub-scrubber input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--accent); border: 3px solid #150600; }
.hub-time-now { font-family: var(--mono); font-size: 13px; color: var(--text-2); min-width: 54px; text-align: right; }

.hub-rounds-strip { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.strip-label { font-family: var(--disp); font-size: 11.5px; letter-spacing:.05em; text-transform: uppercase; color: var(--text-3); }
.hub-rounds { display: flex; flex-wrap: wrap; gap: 6px; }
.hub-round {
  min-width: 32px; height: 30px; padding: 0 7px; border-radius: 8px;
  background: rgba(255,255,255,.03); border: 1px solid var(--line); color: var(--text-2);
  font-family: var(--disp); font-size: 12.5px; font-weight: 600; cursor: pointer; transition: all .13s ease;
}
.hub-round:hover { border-color: var(--line-2); color: var(--text); }
.hub-round.sel { background: var(--accent); color: #150600; border-color: var(--accent); box-shadow: 0 0 12px rgba(255,107,0,.35); }
.hub-round.ct-win { border-color: rgba(75,105,255,.6); color: #aebcff; }
.hub-round.t-win { border-color: rgba(229,136,36,.6); color: #ffc180; }

.hub-legend-hint { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; color: var(--text-3); font-size: 12.5px; }
.lgh { display: inline-flex; align-items: center; gap: 6px; }
.lgh i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.lgh.hint { margin-left: auto; color: var(--text-3); }

.kbd { font-family: var(--mono); font-size: 11px; padding: 2px 6px; border-radius: 5px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text-2); }

/* panels */
.hub-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.hub-panel-head { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.hub-panel-title { font-family: var(--disp); font-size: 12.5px; letter-spacing:.04em; text-transform: uppercase; color: var(--text-3); }
.hub-panel-side { color: var(--text-3); font-size: 11.5px; }

/* kill feed */
.hub-killfeed { max-height: 400px; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.kf-entry {
  display: flex; align-items: center; gap: 8px; padding: 7px 11px; border-radius: 9px;
  background: rgba(255,255,255,.02); border: 1px solid var(--line); font-size: 12.5px; animation: kfIn .18s ease;
}
@keyframes kfIn { from { opacity: 0; transform: translateY(3px);} to { opacity:1; transform:none; } }
.kf-idx { font-family: var(--mono); font-size: 10.5px; color: var(--text-3); }
.kf-k { font-weight: 700; margin-right: 2px; } .kf-k.ct { color:#aebcff; } .kf-k.t { color:#ffc180; }
.kf-k::before, .kf-v::before { content:""; display:inline-block; width:7px; height:7px; border-radius:2px; margin-right:5px; vertical-align:middle; }
.kf-k.ct::before, .kf-v.ct::before { background:#4B69FF; } .kf-k.t::before, .kf-v.t::before { background:#E58824; }
.kf-v { font-weight:600; color: var(--text-2); } .kf-v.ct, .kf-v.t { color: var(--text-2); }
.kf-wp { font-family: var(--mono); font-size: 10.5px; padding: 2px 6px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); }
.kf-b { font-family: var(--mono); font-size: 9px; padding: 1px 4px; border-radius: 4px; font-weight: 800; }
.kf-b.hs { color:#FFD700; background:rgba(255,215,0,.14); border:1px solid rgba(255,215,0,.4); }
.kf-b.wb { color:#FFF; background:rgba(255,255,255,.14); }
.kf-b.smk { color:#A855F7; background:rgba(168,85,247,.16); }
.kf-b.fk { color:#FF6B00; background:rgba(255,107,0,.16); }
.kf-b.trd { color:#4FC3F7; background:rgba(79,195,247,.16); }
.kf-empty { color: var(--text-3); font-size: 12.5px; text-align:center; padding: 16px; }

/* scoreboard */
.hub-scoreboard { font-size: 13px; }
.hub-scoreboard table { width: 100%; border-collapse: collapse; }
.hub-scoreboard thead th {
  text-align: left; color: var(--text-3); font-size: 10.5px; letter-spacing:.04em; text-transform: uppercase;
  padding: 9px 10px; border-bottom: 1px solid var(--line); font-weight: 600;
}
.hub-scoreboard tbody td { padding: 9px 10px; border-top: 1px solid var(--line); color: var(--text-2); }
.hub-scoreboard tbody tr { cursor: pointer; transition: background .12s ease; }
.hub-scoreboard tbody tr:hover td { background: rgba(255,255,255,.03); }
.hub-scoreboard tbody tr.sel-row td { background: rgba(255,107,0,.08); }
.hub-scoreboard tbody tr.sel-row .pl-name { color: var(--text); }
.hub-scoreboard td.num { text-align: right; font-family: var(--mono); font-size: 12px; }
.sb-head { display:flex; align-items:center; justify-content:space-between; padding: 10px 14px; background: linear-gradient(180deg, var(--surface-2), transparent); border-bottom: 1px solid var(--line); }
.sb-team { display:inline-flex; align-items:center; gap:6px; font-size:12px; color: var(--text-2); }
.sb-team b { font-family: var(--disp); font-size:16px; color: var(--text); }
.sb-mid { font-family: var(--disp); font-size:10px; letter-spacing:.06em; text-transform:uppercase; color: var(--text-3); }
.dot { width:9px; height:9px; border-radius:3px; display:inline-block; }
.dot.ct { background:#4B69FF; } .dot.t { background:#E58824; }
.pl-cell { display:flex; align-items:center; gap:8px; }
.pl-dot { width:8px; height:8px; border-radius:2px; flex:none; }
.pl-name { font-weight:600; color: var(--text-2); white-space: nowrap; max-width: 150px; overflow:hidden; text-overflow:ellipsis; }
.mvp { color: #FFD700; margin-left: 5px; }

/* player analysis */
.hub-playerdetail { padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; }
.pd-name { font-family: var(--disp); font-weight: 700; font-size: 16px; }
.pd-kd { display: grid; grid-template-columns: repeat(4, auto); gap: 4px 12px; align-items: baseline; font-size: 12px; color: var(--text-3); }
.pd-kd b { font-family: var(--disp); font-size: 18px; color: var(--text); }
.pd-bars, .pd-cats { display: flex; flex-direction: column; gap: 8px; }
.hs-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: center; font-size: 12px; }
.hs-lbl { color: var(--text-3); grid-column: 1 / -1; }
.hs-bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,.05); overflow: hidden; grid-column: 1 / -1; }
.hs-bar i { display:block; height:100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 3px; }
.hs-val { color: var(--text-2); font-family: var(--mono); font-size: 12px; }
.pd-rating { display: flex; align-items: center; gap: 12px; }
.pd-total { font-family: var(--disp); font-weight: 700; font-size: 26px; color: var(--accent); }
.pd-rating .hs-bar { flex: 1; height: 9px; }
.pd-cats { flex-direction: row; flex-wrap: wrap; }
.pd-cats .lbl { color: var(--text-3); font-size: 11.5px; }
.pd-cats .lbl b { color: var(--text-2); }

@media (max-width: 1120px) {
  .hub-shell { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .hub-tb-right { order: 3; width: 100%; justify-content: center; }
  .hub-transport-row { justify-content: center; }
  .hub-scrubber { min-width: 100px; }
}
