:root {
  --bg: #0a0d11;
  --card: #141821;
  --card-2: #1c2230;
  --border: #2a3140;
  --text: #f1f3f5;
  --text-dim: #8b94a3;
  --accent: #4f9eff;
  --red: #ff4d4f;
  --red-bg: #3a0f12;
  --red-deep: #5a0a0e;
  --orange: #ff7a1a;
  --orange-bg: #3a1d08;
  --yellow: #ffc83d;
  --yellow-bg: #3a2e10;
  --green: #2ecc71;
  --green-bg: #0f2a18;
  --gray: #5f6368;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Code', 'Consolas', monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* === TOPBAR (Linear/Vercel style) === */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 22px;
  padding-top: calc(14px + env(safe-area-inset-top, 0px));
  background: rgba(13, 16, 22, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.2s ease;
}
.topbar::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79, 158, 255, 0.25), transparent);
  pointer-events: none;
}
.topbar.is-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

/* Статус-пилюля слева */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px 5px 9px;
  background: rgba(46, 204, 113, 0.10);
  border: 1px solid rgba(46, 204, 113, 0.35);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: #6cffa5;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  white-space: nowrap;
  transition: all 0.3s ease;
}
.status-pill-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.85); }
}
.status-pill--alert {
  background: rgba(255, 77, 79, 0.12);
  border-color: rgba(255, 77, 79, 0.55);
  color: #ffaab0;
}
.status-pill--alert .status-pill-dot {
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
}

.topbar h1 {
  margin: 0;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}
/* "Київ" — окремий акцент усередині h1 */
.topbar-sub {
  color: #ffd166;
  font-weight: 900;
  font-size: 22px;
  margin-left: 6px;
  letter-spacing: -0.01em;
  text-shadow: 0 0 18px rgba(255, 209, 102, 0.35);
}
/* DEV BY DAVID SMUZI badge: велика плашка з пульсуючим glow та жовтою блискавкою */
.topbar-made {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px 7px;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  line-height: 1;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(127,209,255,0.18), rgba(179,136,255,0.18)),
    rgba(10, 13, 17, 0.55);
  border: 1.5px solid rgba(127,209,255,0.55);
  box-shadow:
    inset 0 0 10px rgba(127,209,255,0.18),
    0 0 0 1px rgba(179,136,255,0.18),
    0 6px 22px rgba(127,209,255,0.28),
    0 0 28px rgba(179,136,255,0.22);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  animation: topbar-made-pulse 2.6s ease-in-out infinite;
}
.topbar-made-bolt {
  display: inline-block;
  color: #ffd166;
  font-size: 16px;
  line-height: 1;
  text-shadow:
    0 0 8px rgba(255, 209, 102, 0.85),
    0 0 16px rgba(255, 209, 102, 0.45);
  animation: topbar-made-bolt-blink 1.4s ease-in-out infinite;
}
.topbar-made-text {
  background-image: linear-gradient(90deg, #7fd1ff 0%, #b388ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
@keyframes topbar-made-pulse {
  0%, 100% {
    box-shadow:
      inset 0 0 10px rgba(127,209,255,0.18),
      0 0 0 1px rgba(179,136,255,0.18),
      0 6px 22px rgba(127,209,255,0.28),
      0 0 28px rgba(179,136,255,0.22);
  }
  50% {
    box-shadow:
      inset 0 0 14px rgba(127,209,255,0.28),
      0 0 0 1px rgba(179,136,255,0.32),
      0 8px 28px rgba(127,209,255,0.45),
      0 0 40px rgba(179,136,255,0.38);
  }
}
@keyframes topbar-made-bolt-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.7; transform: scale(0.92); }
}

.topbar .meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Segmented language control (iOS-style) */
.lang-switch {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 2px;
  gap: 0;
}
.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 5px 9px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.18s ease;
  min-width: 30px;
}
.lang-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}
.lang-btn--active {
  background: rgba(79, 158, 255, 0.18);
  color: #a8c8ff;
  box-shadow: inset 0 0 0 1px rgba(79, 158, 255, 0.35);
}

.clock {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.5px;
  padding: 5px 9px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  white-space: nowrap;
}

/* Иконочные кнопки в шапке */
.btn-icon {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  width: 34px;
  height: 30px;
  padding: 0;
  cursor: pointer;
  font-size: 15px;
  font-family: var(--font-sans);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
  line-height: 1;
}
.btn-icon:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(79, 158, 255, 0.4);
  transform: translateY(-1px);
}
.btn-icon:active { transform: scale(0.94); }
.btn-icon.btn--on {
  background: rgba(46, 204, 113, 0.15);
  border-color: rgba(46, 204, 113, 0.45);
  box-shadow: 0 0 12px rgba(46, 204, 113, 0.2);
}
.btn-install {
  background: rgba(79, 158, 255, 0.15);
  border-color: rgba(79, 158, 255, 0.4);
  color: #a8c8ff;
}
.btn-install:hover { background: rgba(79, 158, 255, 0.25); }

/* legacy alias на всякий */
.btn-small {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 14px;
  font-family: var(--font-sans);
  font-weight: 500;
  transition: all 0.18s ease;
}
.btn-small:hover { background: rgba(255, 255, 255, 0.08); }
.btn-small.btn--on { background: rgba(46, 204, 113, 0.15); border-color: var(--green); }

/* === CARDS === */
.card {
  margin: 14px;
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.card h2 {
  margin: 0 0 14px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.2px;
}

/* === БАЛІСТИЧНА ПАНЕЛЬ === */
.ballistic-panel {
  background: linear-gradient(180deg, #1a1117 0%, #151821 100%);
  border: 1px solid #3a2530;
}
.ballistic-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
  gap: 12px;
  flex-wrap: wrap;
}
.ballistic-header h2 { margin: 0; font-size: 20px; }
.ballistic-hint {
  color: var(--text-dim);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 500;
}

.ballistic-big {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  padding: 16px 18px;
  border-radius: 10px;
  background: var(--green-bg);
  color: #6cffa5;
  border: 1px solid #1f4d2f;
  text-align: center;
  transition: all 0.3s;
}
.ballistic-big--active {
  background: var(--red-deep);
  color: #ffaab0;
  border-color: #8a1820;
  animation: pulse-red 1.5s ease-in-out infinite;
  padding: 22px 20px;
}
.ballistic-big-title {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
  text-shadow: 0 0 18px rgba(255, 77, 79, 0.6);
}
.ballistic-eta {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 10px;
  border: 1px solid rgba(255, 77, 79, 0.45);
}
.ballistic-eta-label {
  display: block;
  width: 100%;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #ffaab0;
  opacity: 0.85;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.ballistic-eta-value {
  font-family: var(--font-mono);
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 24px rgba(255, 77, 79, 0.8);
}
.ballistic-eta-unit {
  font-size: 28px;
  font-weight: 700;
  color: #ffaab0;
}
.ballistic-eta-from {
  display: block;
  width: 100%;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
@keyframes pulse-red {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 77, 79, 0.4); }
  50%      { box-shadow: 0 0 0 14px rgba(255, 77, 79, 0); }
}
.ballistic-status {
  margin-top: 10px;
  color: var(--text-dim);
  font-size: 14px;
  text-align: center;
  min-height: 20px;
}

.ballistic-board {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* === ЛІВИЙ БЕРЕГ (мій район) === */
.left-bank {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(127,209,255,0.06), rgba(127,209,255,0.02));
  border: 1px solid rgba(127,209,255,0.25);
  position: relative;
  overflow: hidden;
}
.left-bank::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #7fd1ff, #b388ff);
}
.left-bank-icon { font-size: 18px; line-height: 1; opacity: 0.85; }
.left-bank-body { flex: 1; min-width: 0; }
.left-bank-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #b8e3ff;
}
.left-bank-zone {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 2px;
}
.left-bank-when {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}
.left-bank--active {
  background: linear-gradient(90deg, rgba(255,77,79,0.14), rgba(255,77,79,0.04));
  border-color: rgba(255,77,79,0.55);
  animation: pulse-red 2.2s ease-in-out infinite;
}
.left-bank--active::before { background: linear-gradient(180deg, #ff4d4f, #ff7a1a); }
.left-bank--active .left-bank-title { color: #ffaab0; }
.left-bank--active .left-bank-icon { animation: leftbank-blink 1.4s ease-in-out infinite; }
@keyframes leftbank-blink { 0%,100%{opacity:1} 50%{opacity:.4} }
@media (prefers-reduced-motion: reduce) {
  .left-bank--active, .left-bank--active .left-bank-icon { animation: none; }
}

/* === SUMMARY (одна стрічка-збірка) === */
.ballistic-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dim);
  width: 100%;
  text-align: left;
  font-family: inherit;
  cursor: default;
}
button.ballistic-summary { cursor: pointer; -webkit-tap-highlight-color: transparent; }
button.ballistic-summary:hover { background: rgba(127, 209, 255, 0.06); border-color: rgba(127, 209, 255, 0.35); }
.ballistic-summary strong { color: var(--text); font-family: var(--font-mono); font-weight: 800; font-size: 16px; }
.ballistic-summary-of { color: var(--text-dim); font-size: 11px; opacity: 0.7; margin-left: 6px; }
.ballistic-summary-text { flex: 1; min-width: 0; }
.ballistic-summary-state {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #4ade80;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.10);
  border: 1px solid rgba(74, 222, 128, 0.25);
}
/* Явний CTA: "Натисніть, щоб показати всі точки ▾" */
.ballistic-toggle-cta,
.threat-toggle-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  padding: 5px 10px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(127,209,255,0.18), rgba(179,136,255,0.18));
  color: #b8d8ff;
  border: 1px solid rgba(127, 209, 255, 0.35);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
button.ballistic-summary:hover .ballistic-toggle-cta,
button.threat-summary:hover .threat-toggle-cta {
  background: linear-gradient(135deg, rgba(127,209,255,0.28), rgba(179,136,255,0.28));
  box-shadow: 0 4px 14px rgba(127, 209, 255, 0.22);
  color: #fff;
}
.ballistic-toggle-cta-chev,
.threat-toggle-cta-chev { font-size: 11px; line-height: 1; }
.ballistic-summary-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #5a6173;
  flex-shrink: 0;
}
.ballistic-summary-dot--ok { background: #4ade80; box-shadow: 0 0 8px #4ade80; }
.ballistic-summary--active {
  background: rgba(255, 77, 79, 0.08);
  border-color: rgba(255, 77, 79, 0.4);
  color: #ffcfd2;
}
.ballistic-summary--active .ballistic-summary-dot {
  background: #ff4d4f;
  box-shadow: 0 0 10px #ff4d4f;
  animation: pulse-red 1.4s ease-in-out infinite;
}

/* === ГРУПИ ЗА НАПРЯМКАМИ === */
.ballistic-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  transition: max-height 0.25s ease, opacity 0.2s ease;
  overflow: hidden;
}
.ballistic-groups--collapsed { max-height: 0; opacity: 0; margin: 0; padding: 0; }
.bgroup {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 10px 8px;
}
.bgroup--active { border-color: rgba(255,77,79,0.45); background: rgba(255,77,79,0.05); }
.bgroup-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.bgroup-icon { font-size: 13px; opacity: 0.8; }
.bgroup--active .bgroup-name { color: #ffaab0; }
.bgroup--active .bgroup-icon { color: #ff4d4f; opacity: 1; }
.bgroup-sites {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* === ОКРЕМИЙ САЙТ === */
.bsite {
  padding: 8px 10px;
  border-radius: 7px;
  background: rgba(0,0,0,0.18);
  border-left: 3px solid transparent;
  transition: background 0.15s;
}
.bsite-main {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 8px;
}
.bsite-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.bsite-eta {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.5px;
  font-variant-numeric: tabular-nums;
}
.bsite-eta-unit {
  font-size: 10px;
  font-weight: 600;
  opacity: 0.55;
  margin-left: 2px;
}
.bsite-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bsite-missiles {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  opacity: 0.78;
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bsite-hit {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
}
.bsite-hit-cnt {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.bsite-hit-when {
  font-size: 9px;
  color: var(--text-dim);
  font-family: var(--font-mono);
}
/* Tier-кольори: тільки лівий бордюр + колір ETA (мінімалізм) */
.bsite--critical { border-left-color: #ff4d4f; }
.bsite--critical .bsite-eta { color: #ff7a85; }
.bsite--danger   { border-left-color: #ff9533; }
.bsite--danger   .bsite-eta { color: #ffb066; }
.bsite--warn     { border-left-color: #ffd23f; }
.bsite--warn     .bsite-eta { color: #ffe07a; }
.bsite--far      { border-left-color: #4a5060; }
.bsite--far      .bsite-eta { color: #8a92a3; }
/* fallback для невідомого ETA — щоб новий сайт без ETA_MIN не з'явився без стилю */
.bsite--unknown  { border-left-color: #4a5060; opacity: 0.6; }
.bsite--unknown  .bsite-eta { color: #6a7080; }
.bsite--hit {
  background: rgba(255, 77, 79, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 77, 79, 0.35);
}
.bsite--hit .bsite-name { color: #fff; font-weight: 700; }
.bsite--hit .bsite-missiles { color: #ffcfd2; opacity: 0.9; }

/* === ПІДПАНЕЛІ: БПЛА + Реактивна === */
.threat-subpanel {
  margin-top: 14px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.015);
}
.drone-subpanel {
  background: linear-gradient(180deg, rgba(127, 209, 255, 0.03) 0%, rgba(0,0,0,0) 100%);
  border-color: rgba(127, 209, 255, 0.18);
}
.jet-subpanel {
  background: linear-gradient(180deg, rgba(255, 153, 51, 0.04) 0%, rgba(0,0,0,0) 100%);
  border-color: rgba(255, 153, 51, 0.20);
}
.threat-subpanel-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.threat-subpanel-head h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.1px;
}
.threat-subpanel-hint {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* threat-summary — той самий шаблон, що ballistic-summary, але нейтральніший */
.threat-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dim);
  width: 100%;
  text-align: left;
  font-family: inherit;
  cursor: default;
}
button.threat-summary { cursor: pointer; -webkit-tap-highlight-color: transparent; }
button.threat-summary:hover { background: rgba(127, 209, 255, 0.06); border-color: rgba(127, 209, 255, 0.32); }
.threat-summary strong { color: var(--text); font-family: var(--font-mono); font-weight: 800; font-size: 15px; }
.threat-summary-text { flex: 1; min-width: 0; }
.threat-summary-of { color: var(--text-dim); font-size: 11px; opacity: 0.7; margin-left: 4px; }
.threat-summary-state {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: #4ade80;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.10);
  border: 1px solid rgba(74, 222, 128, 0.25);
}
.threat-summary-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #5a6173;
  flex-shrink: 0;
}
.threat-summary-dot--ok { background: #4ade80; box-shadow: 0 0 8px #4ade80; }
.threat-summary--active {
  background: rgba(127, 209, 255, 0.10);
  border-color: rgba(127, 209, 255, 0.45);
  color: #d6ebff;
}
.threat-summary--active .threat-summary-dot {
  background: #7fd1ff;
  box-shadow: 0 0 10px #7fd1ff;
  animation: pulse-cyan 1.4s ease-in-out infinite;
}
.threat-summary--jet.threat-summary--active {
  background: rgba(255, 153, 51, 0.10);
  border-color: rgba(255, 153, 51, 0.45);
  color: #ffd9b3;
}
.threat-summary--jet.threat-summary--active .threat-summary-dot {
  background: #ff9533;
  box-shadow: 0 0 10px #ff9533;
  animation: pulse-orange-dot 1.4s ease-in-out infinite;
}
@keyframes pulse-cyan {
  0%, 100% { box-shadow: 0 0 6px #7fd1ff; }
  50%      { box-shadow: 0 0 16px #7fd1ff; }
}
@keyframes pulse-orange-dot {
  0%, 100% { box-shadow: 0 0 6px #ff9533; }
  50%      { box-shadow: 0 0 16px #ff9533; }
}

/* threat-grid — компактні плитки сайтів */
.threat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-top: 8px;
  transition: max-height 0.25s ease, opacity 0.2s ease;
  overflow: hidden;
}
.threat-grid--collapsed { max-height: 0; opacity: 0; margin: 0; padding: 0; }

.tsite {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 7px;
  background: rgba(0,0,0,0.18);
  border-left: 3px solid transparent;
  transition: background 0.15s;
}
.tsite-ico { font-size: 13px; line-height: 1; opacity: 0.7; }
.tsite-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tsite-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}
.tsite-meta--idle { opacity: 0.4; }
.tsite-cnt {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.tsite-when {
  font-size: 9px;
  color: var(--text-dim);
}
.tsite--idle { opacity: 0.72; }
.tsite--drone.tsite--hit {
  background: rgba(127, 209, 255, 0.14);
  border-left-color: #7fd1ff;
  box-shadow: inset 0 0 0 1px rgba(127, 209, 255, 0.30);
}
.tsite--drone.tsite--hit .tsite-ico { opacity: 1; }
.tsite--jet.tsite--hit {
  background: rgba(255, 153, 51, 0.14);
  border-left-color: #ff9533;
  box-shadow: inset 0 0 0 1px rgba(255, 153, 51, 0.32);
}
.tsite--jet.tsite--hit .tsite-ico { opacity: 1; }

/* === РАКЕТНА ПАНЕЛЬ === */
.missile-panel {
  background: linear-gradient(180deg, #161a23 0%, #131720 100%);
}
.missile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  gap: 10px;
}
.missile-header h2 { margin: 0; font-size: 20px; }

.status-dot {
  width: 10px; height: 10px; border-radius: 50%;
  display: inline-block;
}
.status-dot--idle { background: var(--gray); }
.status-dot--ok   { background: var(--green); box-shadow: 0 0 8px rgba(46, 204, 113, 0.5); }
.status-dot--err  { background: var(--red); box-shadow: 0 0 8px rgba(255, 77, 79, 0.5); }

.carriers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.carrier {
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 10px;
  text-align: center;
  transition: all 0.25s;
}
.carrier-name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.carrier-count {
  display: block;
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.carrier-hint {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--text-dim);
}
.carrier--active {
  background: var(--orange-bg);
  border-color: var(--orange);
  animation: pulse-orange 2s ease-in-out infinite;
}
.carrier--active .carrier-count { color: #ffb366; }
.carrier--active .carrier-name { color: #ffd1a3; }
@keyframes pulse-orange {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 122, 26, 0.35); }
  50%      { box-shadow: 0 0 0 10px rgba(255, 122, 26, 0); }
}

.missile-feed-wrap { margin-bottom: 8px; }
.missile-feed-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 500;
}

.missile-feed {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 400px;
  overflow-y: auto;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.missile-feed li {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--card-2);
}
.missile-feed li:last-child { border-bottom: none; }
.feed-time {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  white-space: nowrap;
  min-width: 70px;
  padding-top: 1px;
}
.feed-source {
  color: var(--accent);
  font-size: 11px;
  min-width: 90px;
  font-family: var(--font-mono);
  padding-top: 2px;
}
.feed-text { flex: 1; line-height: 1.45; }
.feed-text a { color: var(--accent); text-decoration: none; margin-left: 4px; }
.feed-text a:hover { text-decoration: underline; }
.feed-empty { color: var(--text-dim); font-style: italic; padding: 16px; text-align: center; }

.feed-critical { background: var(--orange-bg) !important; border-left: 3px solid var(--orange); }
.feed-ballistic { background: var(--red-bg) !important; border-left: 3px solid var(--red); }

/* === ВИДІЛЕННЯ СВІЖИХ ПОДІЙ === */
.feed-fresh {
  font-size: 15px;
  font-weight: 500;
  border-left-width: 5px !important;
  box-shadow: inset 0 0 0 1px rgba(255, 200, 61, 0.18);
}
.feed-fresh .feed-time { color: var(--yellow); font-weight: 700; font-size: 13px; }
.feed-recent { font-weight: 500; }
.feed-newest {
  background: linear-gradient(90deg, rgba(255, 200, 61, 0.12) 0%, transparent 60%), var(--card-2) !important;
  border-left-color: var(--yellow) !important;
  animation: flash-new 2.4s ease-in-out infinite;
}
.feed-newest.feed-ballistic {
  background: linear-gradient(90deg, rgba(255, 77, 79, 0.35) 0%, var(--red-bg) 60%) !important;
  border-left-color: var(--red) !important;
  animation: flash-ballistic 1.6s ease-in-out infinite;
}
@keyframes flash-new {
  0%, 100% { box-shadow: inset 0 0 0 1px rgba(255, 200, 61, 0.25); }
  50%      { box-shadow: inset 0 0 0 1px rgba(255, 200, 61, 0.55), 0 0 18px rgba(255, 200, 61, 0.15); }
}
@keyframes flash-ballistic {
  0%, 100% { box-shadow: inset 0 0 0 1px rgba(255, 77, 79, 0.45); }
  50%      { box-shadow: inset 0 0 0 1px rgba(255, 77, 79, 0.85), 0 0 22px rgba(255, 77, 79, 0.35); }
}

.feed-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  margin-right: 6px;
  letter-spacing: 0.5px;
  vertical-align: middle;
  font-family: var(--font-sans);
}
.feed-badge--ballistic { background: var(--red); color: #fff; }
.feed-badge--critical { background: var(--orange); color: #fff; }
.feed-badge--new {
  background: var(--yellow);
  color: #1a1500;
  font-weight: 900;
  letter-spacing: 0.8px;
  box-shadow: 0 0 10px rgba(255, 200, 61, 0.55);
  animation: badge-new-pulse 1.2s ease-in-out infinite;
}
@keyframes badge-new-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}

/* Підльотний час */
.approach { margin-top: 14px; font-size: 14px; }
.approach summary {
  cursor: pointer;
  color: var(--text-dim);
  padding: 6px 0;
  user-select: none;
  font-weight: 500;
}
.approach summary:hover { color: var(--text); }
.approach table {
  width: 100%;
  margin-top: 8px;
  border-collapse: collapse;
  font-size: 13px;
}
.approach th, .approach td {
  text-align: left;
  padding: 7px 10px;
  border-bottom: 1px solid var(--border);
}
.approach th { color: var(--text-dim); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 0.4px; }
.approach td:nth-child(4) { font-family: var(--font-mono); font-weight: 600; color: var(--orange); }
.note { color: var(--text-dim); font-size: 11px; margin: 10px 0 0 0; font-style: italic; }

/* === КАРТИ === */
.map-card { padding: 14px; }
.map-card-h2 { margin: 0 0 10px 4px; font-size: 16px; }
.map-iframe--small {
  width: 100%;
  height: 380px;
  border: none;
  display: block;
  background: #000;
  border-radius: 10px;
}

.maps { padding: 0; overflow: hidden; }
.tabs {
  display: flex;
  background: var(--card-2);
  border-bottom: 1px solid var(--border);
}
.tab {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-dim);
  padding: 14px 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  font-family: var(--font-sans);
  transition: all 0.15s;
}
.tab:hover { color: var(--text); background: rgba(255,255,255,0.03); }
.tab--active { color: var(--text); border-bottom-color: var(--accent); background: var(--card); }

.tab-panes { position: relative; }
.tab-pane { display: none; }
.tab-pane--active { display: block; }
.map-wrap { position: relative; }
.map-iframe {
  width: 100%;
  height: 75vh;
  border: none;
  display: block;
  background: #000;
}
.map-open {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 16, 22, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.15s;
}
.map-open:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
}

/* === ВЛАСНА ADS-B КАРТА === */
.adsb-map {
  width: 100%;
  height: 75vh;
  background: #0a0d11;
  position: relative;
}
.adsb-map-inner {
  width: 100%;
  height: 100%;
  background: #0a0d11;
}
.adsb-overlay {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 500;
  background: rgba(13, 16, 22, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text);
  pointer-events: none;
  min-width: 140px;
}
.adsb-row { margin-bottom: 2px; }
.adsb-label { color: var(--text-dim); }
.adsb-count { font-weight: 700; }
.adsb-status {
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.3px;
}
.adsb-status--err { color: var(--red); }
.adsb-status--stale {
  color: #ffc83d;
  font-weight: 700;
}
/* Tint highlighted aircraft markers when rendered from stale cache */
.adsb-map.adsb-map--stale .leaflet-marker-icon { filter: saturate(0.5) opacity(0.7); }

/* Highlight: статичный glow + (для критичных) пульсирующее кольцо opacity-only */
.adsb-plane {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.adsb-plane__glow {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, currentColor 0%, transparent 65%);
  opacity: 0.35;
  pointer-events: none;
}
.adsb-plane__ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0;
  pointer-events: none;
}
.adsb-plane--crit .adsb-plane__ring {
  animation: adsb-pulse 1.6s ease-in-out infinite;
  will-change: opacity;
}
.adsb-plane__label {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 4px);
  font: 700 9px/1 var(--font-mono);
  letter-spacing: 0.5px;
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(13, 16, 22, 0.85);
  color: currentColor;
  white-space: nowrap;
  text-shadow: 0 0 4px currentColor;
  border: 1px solid currentColor;
  pointer-events: none;
}

@keyframes adsb-pulse {
  0%, 100% { opacity: 0; }
  50%      { opacity: 0.9; }
}
@media (prefers-reduced-motion: reduce) {
  .adsb-plane--crit .adsb-plane__ring { animation: none; opacity: 0.5; }
}

/* Leaflet поверх тёмной темы */
.leaflet-container { background: #0a0d11 !important; }
.leaflet-control-attribution {
  background: rgba(13, 16, 22, 0.7) !important;
  color: var(--text-dim) !important;
  font-size: 9px !important;
}
.leaflet-control-attribution a { color: var(--accent) !important; }
.leaflet-popup-content-wrapper {
  background: var(--card) !important;
  color: var(--text) !important;
  border-radius: 8px !important;
}
.leaflet-popup-tip { background: var(--card) !important; }
.leaflet-bar a {
  background: var(--card-2) !important;
  color: var(--text) !important;
  border-color: var(--border) !important;
}
.leaflet-bar a:hover { background: var(--accent) !important; }
.maps-hint {
  padding: 10px 16px;
  color: var(--text-dim);
  font-size: 12px;
  font-style: italic;
  border-top: 1px solid var(--border);
  background: var(--card-2);
}

/* === FOOTER === */
.footer {
  display: flex;
  justify-content: space-between;
  padding: 12px 20px;
  color: var(--text-dim);
  font-size: 12px;
  border-top: 1px solid var(--border);
  margin-top: 14px;
}

/* === SKELETON LOADER === */
.skeleton {
  background: linear-gradient(90deg,
    rgba(255,255,255,0.03) 0%,
    rgba(255,255,255,0.08) 50%,
    rgba(255,255,255,0.03) 100%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
  border-radius: 6px;
  color: transparent !important;
}
@keyframes skeleton-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* === MOBILE === */
@media (max-width: 760px) {
  body { font-size: 15px; }
  .topbar {
    padding: 10px 12px;
    padding-top: calc(10px + env(safe-area-inset-top, 0px));
    gap: 8px;
    flex-wrap: wrap;
  }
  .topbar-left { gap: 10px; flex: 1 1 100%; }
  .topbar h1 { font-size: 22px; }
  .topbar-sub { font-size: 19px; }
  .topbar-made { font-size: 13px; padding: 5px 12px 6px; letter-spacing: 2.4px; gap: 6px; }
  .topbar-made-bolt { font-size: 14px; }
  .status-pill { padding: 4px 8px 4px 7px; font-size: 10px; }
  .topbar .meta { gap: 6px; flex: 1 1 100%; justify-content: flex-end; }
  .clock { font-size: 12px; padding: 4px 7px; }
  .btn-icon { width: 32px; height: 28px; font-size: 14px; }
  .lang-btn { padding: 4px 7px; font-size: 10px; min-width: 26px; }

  .card { margin: 10px; padding: 14px; border-radius: 12px; }
  .card h2 { font-size: 17px; }

  .ballistic-big { font-size: 22px; padding: 14px; }
  .ballistic-big--active { padding: 16px 12px; }
  .ballistic-big-title { font-size: 20px; margin-bottom: 10px; }
  .ballistic-eta { padding: 10px 12px; gap: 6px; }
  .ballistic-eta-value { font-size: 56px; }
  .ballistic-eta-unit { font-size: 22px; }
  .ballistic-eta-label { font-size: 10px; }
  .ballistic-eta-from { font-size: 11px; }
  .ballistic-groups { grid-template-columns: 1fr; gap: 6px; }
  .bgroup { padding: 8px 8px 6px; }
  .bsite { padding: 7px 9px; }
  .bsite-main { grid-template-columns: 50px 1fr auto; gap: 7px; }
  .bsite-eta { font-size: 16px; }
  .bsite-name { font-size: 12px; }
  .bsite-missiles { font-size: 9px; }
  .ballistic-summary { padding: 10px 12px; gap: 8px; flex-wrap: wrap; }
  .ballistic-summary strong { font-size: 15px; }
  .ballistic-toggle-cta { font-size: 9px; padding: 4px 8px; letter-spacing: 0.6px; margin-left: 0; flex: 1 1 100%; justify-content: center; }
  .threat-subpanel { padding: 10px; margin-top: 10px; }
  .threat-subpanel-head h3 { font-size: 13px; }
  .threat-subpanel-hint { font-size: 10px; }
  .threat-grid { grid-template-columns: 1fr; gap: 5px; }
  .threat-summary { padding: 9px 10px; gap: 8px; flex-wrap: wrap; }
  .threat-toggle-cta { font-size: 9px; padding: 4px 8px; letter-spacing: 0.6px; margin-left: 0; flex: 1 1 100%; justify-content: center; }
  .left-bank { padding: 8px 12px; gap: 10px; }
  .left-bank-title { font-size: 10px; }
  .left-bank-zone { font-size: 11px; }

  .feed-fresh { font-size: 14px; }

  .carriers { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .carrier { padding: 12px 8px; }
  .carrier-count { font-size: 26px; }

  .feed-source { display: none; }
  .feed-time { min-width: 50px; font-size: 11px; }
  .missile-feed li { padding: 9px 10px; font-size: 13px; }

  .map-iframe { height: 65vh; }
  .map-iframe--small { height: 320px; }
  .adsb-map { height: 65vh; }
  .adsb-overlay { font-size: 11px; padding: 6px 10px; min-width: 120px; }
  .tab { padding: 12px 6px; font-size: 12px; }
}

@media (max-width: 480px) {
  .topbar h1 { font-size: 19px; }
  .topbar-sub { font-size: 17px; margin-left: 4px; }
  .topbar-made { font-size: 12px; padding: 4px 10px 5px; letter-spacing: 2px; gap: 5px; }
  .topbar-made-bolt { font-size: 13px; }
  .quick-jump { gap: 4px; }
  .jump-btn { padding: 6px 9px; font-size: 11px; }
  .section-flag { font-size: 10px; padding: 4px 10px; }
}

/* ===== Quick-jump buttons in header ===== */
html { scroll-behavior: smooth; scroll-padding-top: 84px; }

.quick-jump {
  display: inline-flex;
  gap: 6px;
  margin-right: 8px;
}
.jump-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 12px;
  border-radius: 8px;
  font: 600 12px/1 'Inter', sans-serif;
  text-decoration: none;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  white-space: nowrap;
}
.jump-btn:hover { transform: translateY(-1px); }
.jump-btn:active { transform: translateY(0); }
.jump-btn--eta {
  background: linear-gradient(135deg, #3a0f12 0%, #5a1318 100%);
  color: #ff8a8c;
  border-color: rgba(255, 77, 79, 0.45);
  box-shadow: 0 0 0 1px rgba(255, 77, 79, 0.15), 0 4px 12px rgba(255, 77, 79, 0.18);
}
.jump-btn--eta:hover {
  box-shadow: 0 0 0 1px rgba(255, 77, 79, 0.4), 0 6px 18px rgba(255, 77, 79, 0.32);
  color: #fff;
}
.jump-btn--feed {
  background: linear-gradient(135deg, #0f2a3a 0%, #14405a 100%);
  color: #6cc1ff;
  border-color: rgba(79, 158, 255, 0.45);
  box-shadow: 0 0 0 1px rgba(79, 158, 255, 0.15), 0 4px 12px rgba(79, 158, 255, 0.18);
}
.jump-btn--feed:hover {
  box-shadow: 0 0 0 1px rgba(79, 158, 255, 0.4), 0 6px 18px rgba(79, 158, 255, 0.32);
  color: #fff;
}

/* ===== Spotlight sections (ETA + Останні події) ===== */
.section-spotlight {
  position: relative;
  scroll-margin-top: 88px;
  overflow: visible;
}
.section-spotlight::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, var(--spot-c1, #ff4d4f) 0%, var(--spot-c2, #ff7a1a) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.55;
  pointer-events: none;
  z-index: 1;
}
.section-spotlight--eta {
  --spot-c1: #ff4d4f;
  --spot-c2: #ff7a1a;
  box-shadow: 0 0 0 1px rgba(255, 77, 79, 0.12), 0 8px 32px rgba(255, 77, 79, 0.10);
}
.section-spotlight--feed {
  --spot-c1: #4f9eff;
  --spot-c2: #6cc1ff;
  box-shadow: 0 0 0 1px rgba(79, 158, 255, 0.12), 0 8px 32px rgba(79, 158, 255, 0.10);
}
.section-flag {
  position: absolute;
  top: -10px;
  left: 16px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 6px;
  font: 800 11px/1 'JetBrains Mono', 'Inter', monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}
.section-flag--eta {
  background: linear-gradient(135deg, #ff4d4f 0%, #ff7a1a 100%);
  box-shadow: 0 4px 12px rgba(255, 77, 79, 0.4);
}
.section-flag--feed {
  background: linear-gradient(135deg, #4f9eff 0%, #6cc1ff 100%);
  box-shadow: 0 4px 12px rgba(79, 158, 255, 0.4);
}

/* feed-panel: повышаем заметность списка событий */
.feed-panel { padding-top: 22px; }
.feed-panel .missile-feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  font: 600 13px/1.2 'Inter', sans-serif;
  color: var(--text-dim);
}
.feed-panel .missile-feed {
  max-height: 50vh;
  overflow-y: auto;
}
.feed-panel .missile-feed::-webkit-scrollbar { width: 6px; }
.feed-panel .missile-feed::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
