:root {
  --bg: #0a0b0d;
  --bg-2: #101216;
  --bg-3: #0d0f13;
  --panel: #14161b;
  --panel-2: #191c22;
  --panel-3: #1e222a;
  --line: #23272f;
  --line-2: #2c3038;
  --line-3: #363b45;
  --text: #eef1f5;
  --muted: #9aa0aa;
  --muted-2: #6b7180;
  --red: #e10600;
  --red-2: #ff2d2d;
  --red-soft: #ff5a5a;
  --red-glow: rgba(225, 6, 0, 0.55);
  --chrome: #c8ccd2;
  --green: #2ecc71;
  --green-glow: rgba(46, 204, 113, 0.5);
  --amber: #ffb020;
  --blue: #3aa0ff;
  --font: 'Heebo', system-ui, -apple-system, sans-serif;
  --display: 'Heebo', serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --wrap: 1600px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --masthead-h: 108px;
  --masthead-h-compact: 90px;
  --breaking-h-approx: 46px;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-2: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-3: 0 18px 48px rgba(0, 0, 0, 0.5);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --hd-util-h: 39px;
  --hd-main-h: 68px;
  --hd-main-h-compact: 54px;
  --hd-surface: #0f1115;
  --hd-surface-2: #07080a;
  --hd-line: #23272f;
  --hd-line-soft: rgba(255, 255, 255, 0.06);
  --hd-serif: 'Heebo', Georgia, serif;
  --hd-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --hd-z: 60;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background:
    radial-gradient(1400px 700px at 78% -12%, rgba(225, 6, 0, 0.10), transparent 62%),
    radial-gradient(900px 500px at 8% -5%, rgba(58, 160, 255, 0.045), transparent 55%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

button { font-family: var(--font); cursor: pointer; }

:focus-visible { outline: 2px solid var(--red-2); outline-offset: 2px; border-radius: 4px; }

::selection { background: rgba(225, 6, 0, 0.3); color: #fff; }

.topbar {
  background: #050506;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 34px; }
.live-status { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.live-text { color: var(--text); font-weight: 700; letter-spacing: 0.3px; }
.viewers { color: var(--muted); }
.topclock { font-family: var(--mono); color: var(--chrome); letter-spacing: 1px; }

.live-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 var(--green-glow);
  animation: pulseGreen 1.8s infinite;
}
@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 var(--green-glow); }
  70% { box-shadow: 0 0 0 8px rgba(46, 204, 113, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--red-glow); }
  70% { box-shadow: 0 0 0 8px rgba(225, 6, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(225, 6, 0, 0); }
}


.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  background: linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 65%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  transition: box-shadow 0.25s var(--ease);
}
.masthead::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red-2) 25%, var(--red-2) 75%, transparent);
  opacity: 0.6;
  pointer-events: none;
}
.masthead.is-compact {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 16px 32px -18px rgba(0, 0, 0, 0.6);
}

.masthead,
.masthead-utility,
.masthead-main-row,
.brand-mark,
.brand-logo,
.brand-name,
.brand-360 {
  transition: height 0.2s var(--ease), width 0.2s var(--ease), padding 0.2s var(--ease), font-size 0.2s var(--ease);
}

.masthead-utility {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  font-size: 12px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.16);
  border-bottom: 1px solid var(--line);
}
.utility-date { font-family: var(--mono); letter-spacing: 0.5px; }
.utility-right { display: flex; align-items: center; gap: 18px; }
.utility-link { color: var(--muted); font-weight: 600; font-size: 12.5px; background: none; border: none; padding: 0; font-family: var(--font); transition: color 0.15s var(--ease); }
.utility-link:hover { color: var(--text); }
.utility-btn { cursor: pointer; }

.masthead-main {
  background: transparent;
  border-top: 1px solid var(--line);
}

.masthead-main-row {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: max-content;
  flex-shrink: 0;
  margin: 0;
  direction: rtl;
  transition: opacity 0.15s var(--ease);
}
.brand:hover { opacity: 0.94; }
.brand:hover .brand-logo { transform: scale(1.05); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 0 22px rgba(225, 6, 0, 0.4), 0 2px 6px rgba(0, 0, 0, 0.5); }

.brand-logo {
  display: block;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 16px rgba(225, 6, 0, 0.28), 0 2px 6px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  direction: rtl;
}

.brand-name {
  color: var(--text);
  font-family: var(--display);
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.brand-360 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 4px 9px 3px;
  border-radius: 6px;
  background: linear-gradient(180deg, var(--red-2), var(--red) 85%);
  color: #fff;
  font-family: var(--mono);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 0 14px var(--red-glow);
}

.masthead.is-compact .masthead-utility {
  height: 32px;
}

.masthead.is-compact .masthead-main-row {
  height: 56px;
}

.masthead.is-compact .brand-logo {
  width: 38px;
  height: 38px;
}

.masthead.is-compact .brand-name {
  font-size: 22px;
}

.masthead.is-compact .brand-360 {
  font-size: 13px;
  padding: 3px 8px 2px;
}

.mainnav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 2px;
  min-width: 0;
  margin: 0;
  padding: 5px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 999px;
  direction: rtl;
  overflow-x: auto;
  scrollbar-width: none;
}
.mainnav::-webkit-scrollbar { display: none; }

.mainnav a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.15s var(--ease), background 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.mainnav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.07); }
.mainnav a.active {
  color: #fff;
  background: linear-gradient(180deg, var(--red-2), var(--red) 85%);
  box-shadow: 0 2px 12px rgba(225, 6, 0, 0.4);
}

.header-search {
  position: relative;
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0;
  min-width: 0;
  margin: 0;
  direction: rtl;
}

.header-search-form {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 220px;
  min-width: 0;
  padding: 4px 5px 4px 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  transition: width 0.32s var(--ease), border-color 0.15s var(--ease), background 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.header-search-form:focus-within {
  width: 300px;
  border-color: var(--red-2);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.14);
}

.header-search-icon {
  display: flex;
  flex-shrink: 0;
  margin-inline-start: 10px;
  color: var(--muted-2);
}

.header-search-form input {
  flex: 1;
  width: 100%;
  min-width: 0;
  padding: 7px 4px;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text);
  font-family: var(--font);
  font-size: 14.5px;
  text-align: right;
  direction: rtl;
}
.header-search-form input::placeholder { color: var(--muted-2); opacity: 1; }
.header-search-form input:focus { outline: none; }

.header-search-btn {
  flex-shrink: 0;
  padding: 8px 16px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(180deg, #333b48, #262c36);
  color: var(--chrome);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s var(--ease), color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.header-search-btn:hover {
  background: linear-gradient(180deg, #3d4553, #303845);
  color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.search-suggest {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  left: 0;
  z-index: 900;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  box-shadow: var(--shadow-3);
  direction: rtl;
  animation: suggestIn 0.16s var(--ease);
}
@keyframes suggestIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.suggest-item {
  display: grid;
  gap: 3px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  transition: background 0.12s var(--ease);
}
.suggest-item:last-child { border-bottom: none; }
.suggest-item:hover { background: var(--panel-2); }
.suggest-type { color: var(--red-2); font-size: 11px; font-weight: 800; letter-spacing: 0.4px; }
.suggest-title { color: var(--text); font-size: 14.5px; font-weight: 700; }
.suggest-sub { color: var(--muted); font-size: 12.5px; }
.search-suggest-empty { padding: 14px; color: var(--muted); font-size: 13px; text-align: right; }

.nav-red-dot {
  width: 7px; height: 7px; flex-shrink: 0;
  border-radius: 50%; background: var(--red-2);
  box-shadow: 0 0 8px var(--red-glow);
  animation: pulse 1.8s infinite;
}

.account-block {
  display: flex;
  align-items: center;
  gap: 2px;
}

.account-name {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.15s var(--ease);
}
.account-name:hover { color: var(--red-soft); }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  flex-shrink: 0;
  border-radius: 999px;
  color: var(--muted-2);
  transition: color 0.15s var(--ease), background 0.15s var(--ease);
}
.icon-btn svg { width: 15px; height: 15px; }
.icon-btn:hover { color: var(--red-soft); background: rgba(225, 6, 0, 0.1); }

.login-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px 5px 11px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--text);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease), color 0.15s var(--ease);
}
.login-link svg { width: 14px; height: 14px; flex-shrink: 0; }
.login-link:hover {
  border-color: var(--red-2);
  background: rgba(225, 6, 0, 0.08);
  color: var(--red-soft);
}

.inline-form { display: inline; margin: 0; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.15s var(--ease), color 0.15s var(--ease), background 0.15s var(--ease);
}
.btn-ghost:hover {
  border-color: var(--red-2);
  background: rgba(225, 6, 0, 0.06);
  color: var(--red-soft);
}


.breaking {
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(90deg, var(--red), #a80400 70%, #8a0300);
  color: #fff; padding: 11px 22px; font-weight: 700;
  position: sticky; top: var(--header-h, var(--masthead-h)); z-index: 30;
  border-bottom: 1px solid #7c0300;
  box-shadow: 0 6px 20px rgba(225, 6, 0, 0.25);
  transition: top 0.2s var(--ease);
}
.breaking.hidden { display: none; }
/* Static fallback for the instant before JS measures the real header height
   (site.js keeps --header-h in sync via ResizeObserver). Without this, the
   banner would stick below where the shrunk .is-compact header actually
   ends, and the ticker would show through/get covered in that gap. */
.masthead.is-compact ~ .breaking {
  top: var(--header-h, var(--masthead-h-compact));
}
.breaking-tag {
  display: inline-flex; align-items: center; gap: 5px;
  background: #fff; color: var(--red); padding: 3px 11px; border-radius: 5px;
  font-size: 12px; font-weight: 900; letter-spacing: 1px; flex-shrink: 0;
}
.breaking-tag::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--red); animation: pulse 1.2s infinite;
}
.breaking-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flash-in { animation: flashIn 0.5s var(--ease); }
@keyframes flashIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.ticker {
  display: flex; align-items: center; gap: 0;
  background: linear-gradient(180deg, var(--panel), var(--bg-3));
  border-bottom: 1px solid var(--line);
  overflow: hidden; height: 42px;
  position: sticky;
  top: var(--header-stack-h, var(--masthead-h));
  z-index: 25;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  transition: top 0.2s var(--ease);
}
/* Static fallbacks for the instant before site.js measures the real stack
   height. --header-stack-h (set via JS) always wins once available, so these
   only matter pre-JS/no-JS — approximate combinations of compact + breaking
   banner visibility so the ticker never starts out underneath the banner. */
#breaking-banner:not(.hidden) ~ .ticker {
  top: var(--header-stack-h, calc(var(--masthead-h) + var(--breaking-h-approx)));
}
.masthead.is-compact ~ .ticker {
  top: var(--header-stack-h, var(--masthead-h-compact));
}
.masthead.is-compact ~ #breaking-banner:not(.hidden) ~ .ticker {
  top: var(--header-stack-h, calc(var(--masthead-h-compact) + var(--breaking-h-approx)));
}
.ticker-label {
  background: var(--red); color: #fff; height: 100%; display: flex; align-items: center;
  padding: 0 18px 0 22px; font-weight: 800; font-size: 13px; letter-spacing: 1px; flex-shrink: 0;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}
.ticker-track { display: flex; gap: 44px; white-space: nowrap; animation: tick 60s linear infinite; padding-inline-start: 26px; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { color: var(--muted); font-size: 14px; transition: color 0.12s var(--ease); }
.ticker-item::before { content: "◂"; color: var(--red-2); margin-inline-end: 11px; }
.ticker-item:hover { color: var(--text); }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
#ticker-track { width: max-content; min-width: 200%; }

.flash { max-width: var(--wrap); margin: 14px auto 0; padding: 0 22px; }
.flash-item {
  background: var(--panel-2); border: 1px solid var(--line-2); border-inline-start: 3px solid var(--red-2);
  padding: 10px 14px; border-radius: 8px; color: var(--text); font-size: 14px; margin-bottom: 8px;
  animation: flashIn 0.4s var(--ease);
}
.flash-item.flash-success { border-inline-start-color: var(--green); }


.home {
  padding-top: 0;
  padding-bottom: 64px;
}

.hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 360px;
  gap: 34px;
  align-items: start;
  padding: 44px 0 40px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}
.hero.no-media { grid-template-columns: 1fr; max-width: 960px; }

.breaking-rail {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
}
.breaking-rail-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.breaking-rail-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-2);
  box-shadow: 0 0 0 0 var(--red-glow);
  animation: pulse 1.8s infinite;
  flex-shrink: 0;
}
.breaking-rail-head h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: var(--text);
}
.breaking-list {
  max-height: 360px;
  overflow-y: auto;
  padding: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-3) transparent;
}
.breaking-list::-webkit-scrollbar { width: 6px; }
.breaking-list::-webkit-scrollbar-thumb { background: var(--line-3); border-radius: 6px; }
.breaking-list::-webkit-scrollbar-track { background: transparent; }
.breaking-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 11px 10px;
  border-radius: 8px;
  border-inline-start: 3px solid transparent;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease);
}
.breaking-item:hover { background: var(--panel-2); border-inline-start-color: var(--red-2); }
.breaking-item + .breaking-item { border-top: 1px solid var(--line); margin-top: 2px; padding-top: 13px; }
.breaking-item-top { display: flex; align-items: center; gap: 8px; }
.breaking-item-tag {
  color: var(--red-2);
  font-weight: 800;
  font-size: 10.5px;
  letter-spacing: 0.4px;
}
.breaking-item-time { font-family: var(--mono); font-size: 11px; color: var(--muted-2); }
.breaking-item-title {
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--text);
  font-weight: 600;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.breaking-empty { color: var(--muted); font-size: 13.5px; padding: 24px 14px; text-align: center; }
.hero-media {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--panel-2);
  border: 1px solid var(--line);
}
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-body { min-width: 0; }
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--red-2);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hero-eyebrow::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--red-2);
  box-shadow: 0 0 10px var(--red-glow);
  animation: pulse 1.8s infinite;
}
.hero-flag { color: var(--red-2); font-weight: 800; }
.hero-title {
  font-family: var(--display);
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 700;
  line-height: 1.14;
  margin: 0 0 16px;
  color: #fff;
  letter-spacing: 0.1px;
}
.hero-text {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 18px;
  max-width: 62ch;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted-2);
}
.hero-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: 0.5; }

.home-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: start;
}
.home-main { min-width: 0; }
.home-rail {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  position: sticky;
  top: calc(var(--hd-top-h, calc(36px + 88px + 52px)) + 20px);
}
.home-rail .side-card-eyebrow.is-report { color: var(--red-soft); }

.side-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 16px 18px;
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.side-card:hover { border-color: var(--line-3); transform: translateY(-2px); }
.side-card-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 9px;
}
.side-card-eyebrow.is-article { color: var(--blue); }
.side-card-eyebrow.is-report { color: var(--red-soft); }
.side-card-cover {
  margin: -16px -18px 12px;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  background: var(--panel-2);
}
.side-card-cover img, .side-card-cover video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.side-card-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  margin: 0 0 7px;
  color: var(--text);
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.side-card-text {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0 0 10px;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.side-card-time { color: var(--muted-2); font-size: 12px; font-family: var(--mono); margin-top: auto; }
.side-card-empty { color: var(--muted); font-size: 14px; }

.redalert-side {
  border-color: var(--line-2);
  background: linear-gradient(180deg, var(--panel), var(--bg-3));
}
.redalert-side.is-active {
  border-color: var(--red);
  box-shadow: 0 0 0 1px var(--red-glow), 0 0 30px rgba(225, 6, 0, 0.22);
  animation: alertPulse 2s infinite;
}
.redalert-side-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.redalert-side-head h2 { font-size: 15px; margin: 0; font-weight: 800; letter-spacing: 0.3px; }
.redalert-side-head .live-link { margin-inline-start: auto; font-size: 12.5px; color: var(--red-soft); font-weight: 700; }
.redalert-side-head .live-link:hover { color: var(--red-2); }
.ra-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.ra-num {
  font-family: var(--mono);
  font-size: 40px;
  line-height: 1;
  color: var(--red-2);
  text-shadow: 0 0 18px var(--red-glow);
}
.redalert-side.is-quiet .ra-num { color: var(--muted); text-shadow: none; }
.ra-label { color: var(--muted); font-size: 13px; }
.ra-areas { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 15px; max-height: 96px; overflow: hidden; }
.ra-area {
  font-size: 12.5px; padding: 4px 10px; border-radius: 6px;
  background: var(--panel-2); border: 1px solid var(--line-2); color: var(--chrome);
}
.ra-area.new { border-color: var(--red-2); color: var(--red-soft); animation: cardIn 0.4s var(--ease); }
.ra-quiet-text { color: var(--muted); font-size: 13.5px; margin: 0 0 15px; }
.ra-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  text-align: center;
  background: var(--red); color: #fff;
  border: 1px solid var(--red);
  padding: 11px; border-radius: 9px; font-weight: 700; font-size: 14px;
  transition: background 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.ra-cta:hover { background: var(--red-2); box-shadow: 0 0 20px rgba(225, 6, 0, 0.35); }
.redalert-side.is-quiet .ra-cta {
  background: var(--panel-2); color: var(--text); border-color: var(--line-2);
}
.redalert-side.is-quiet .ra-cta:hover { border-color: var(--muted); box-shadow: none; }

.ra-active-banner {
  background: var(--red); color: #fff; text-align: center; font-weight: 800;
  padding: 8px; border-radius: 8px; margin-bottom: 14px; font-size: 13.5px; letter-spacing: 0.5px;
}

.siren-wave { display: flex; align-items: flex-end; gap: 2px; height: 16px; width: 22px; flex-shrink: 0; }
.siren-wave i { display: block; width: 3px; border-radius: 1px; background: var(--amber); transform-origin: bottom; }
.siren-wave i:nth-child(1) { height: 35%; }
.siren-wave i:nth-child(2) { height: 65%; }
.siren-wave i:nth-child(3) { height: 100%; }
.siren-wave i:nth-child(4) { height: 55%; }
.siren-wave i:nth-child(5) { height: 30%; }
.redalert-side.is-active .siren-wave i { background: var(--red-2); animation: sirenPulse 0.9s ease-in-out infinite; }
.redalert-side.is-active .siren-wave i:nth-child(1) { animation-delay: 0s; }
.redalert-side.is-active .siren-wave i:nth-child(2) { animation-delay: 0.1s; }
.redalert-side.is-active .siren-wave i:nth-child(3) { animation-delay: 0.2s; }
.redalert-side.is-active .siren-wave i:nth-child(4) { animation-delay: 0.3s; }
.redalert-side.is-active .siren-wave i:nth-child(5) { animation-delay: 0.4s; }
@keyframes sirenPulse { 0%, 100% { transform: scaleY(0.4); } 50% { transform: scaleY(1); } }
@keyframes alertPulse {
  0%, 100% { box-shadow: 0 0 0 1px var(--red-glow), 0 0 20px rgba(225, 6, 0, 0.16); }
  50% { box-shadow: 0 0 0 1px var(--red), 0 0 34px rgba(225, 6, 0, 0.36); }
}


.feed-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 30px 0 4px;
}
.section-title {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  gap: 11px;
}
.section-title::before {
  content: ""; display: inline-block; width: 5px; height: 20px; background: var(--red);
  border-radius: 2px;
}
.feed-live {
  display: flex; align-items: center; gap: 7px;
  color: var(--muted); font-size: 13px; font-weight: 700;
  padding: 5px 12px; border: 1px solid var(--line-2); border-radius: 999px;
  background: var(--panel);
}
.feed-count { margin-inline-start: auto; color: var(--muted-2); font-size: 13px; font-family: var(--mono); }

.cat-tabs {
  display: flex; flex-wrap: wrap; gap: 22px;
  margin: 18px 0 22px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}
.cat-tabs a {
  position: relative;
  padding: 0 0 12px;
  border-radius: 0;
  font-size: 14px; font-weight: 600;
  color: var(--muted); border: none; background: none;
  transition: color 0.13s var(--ease);
}
.cat-tabs a::after {
  content: ""; position: absolute; bottom: -1px; right: 0; left: 0; height: 2px;
  background: var(--chip, var(--red-2)); transform: scaleX(0); transform-origin: center;
  transition: transform 0.15s var(--ease);
}
.cat-tabs a:hover { color: var(--text); }
.cat-tabs a.active {
  color: var(--text);
}
.cat-tabs a.active::after { transform: scaleX(1); }

.feed {
  display: flex;
  flex-direction: column;
}
.empty {
  background: var(--panel);
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  padding: 42px 30px;
  text-align: center;
  color: var(--muted);
}
.empty.small { padding: 16px; font-size: 14px; }

.story-row {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.story-row:first-child { padding-top: 0; }
.story-row.is-breaking { border-inline-start: 2px solid var(--red-2); }
.story-row.is-breaking .story-row-link { padding-inline-start: 14px; }
.card-appear { animation: cardIn 0.45s var(--ease); }
@keyframes cardIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

.story-row {
  border-bottom: 1px solid var(--line);
}
.story-row-link { display: flex; gap: 22px; align-items: flex-start; color: var(--text); }
.story-row-body { flex: 1; min-width: 0; }
.story-row-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 9px; font-size: 12.5px; }
.story-cat { color: var(--chip, var(--red-2)); font-weight: 800; text-transform: uppercase; letter-spacing: 0.4px; }
.story-flag { color: var(--red-2); font-weight: 800; text-transform: uppercase; letter-spacing: 0.4px; }
.story-time, .story-area { color: var(--muted-2); font-family: var(--mono); }
.story-title {
  font-family: var(--display); font-size: 21px; font-weight: 700;
  margin: 0 0 8px; line-height: 1.32; color: var(--text);
  transition: color 0.13s var(--ease);
}
.story-row-link:hover .story-title { color: #fff; }
.story-text {
  margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6;
  display: -webkit-box; line-clamp: 2; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.story-row-media {
  flex-shrink: 0; width: 240px; height: 150px; border-radius: 6px; overflow: hidden;
  background: var(--panel-2); border: 1px solid var(--line);
}
.story-row-media img, .story-row-media video { width: 100%; height: 100%; object-fit: cover; display: block; }

.load-more {
  margin: 22px auto 0;
  display: block;
  width: min(360px, 100%);
  padding: 14px;
  background: var(--panel-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
  transition: border-color 0.15s var(--ease), color 0.15s var(--ease), background 0.15s var(--ease);
}
.load-more:hover { border-color: var(--red-2); color: var(--red-soft); background: var(--panel-3); }


.article-wrap { max-width: 780px; padding-top: 30px; padding-bottom: 64px; }
.single {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 34px;
  box-shadow: var(--shadow-2);
}
.single.severity-breaking { border-inline-start: 4px solid var(--red-2); }
.single-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.single-meta .card-time { margin-inline-start: 0; }
.single-title {
  font-family: var(--display);
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 700;
  margin: 0 0 18px;
  line-height: 1.24;
  color: #fff;
  letter-spacing: 0.2px;
}
.single-content { font-size: 19px; line-height: 1.75; color: var(--text); }
.single-content p { margin: 0 0 16px; }
.single-media { margin-top: 22px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.single-media img, .single-media video { width: 100%; height: auto; display: block; background: #000; }
.single-media.single-media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; border: none; align-items: start; }
.single-media.single-media-grid img, .single-media.single-media-grid video { border-radius: 10px; max-height: 420px; object-fit: contain; background: #000; }

.linked-alert-box {
  display: flex; align-items: center; gap: 11px; margin-top: 22px;
  background: color-mix(in srgb, var(--red) 12%, var(--panel)); border: 1px solid var(--red);
  border-radius: 10px; padding: 14px 17px; color: var(--text); font-weight: 600;
  transition: background 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.linked-alert-box:hover { background: color-mix(in srgb, var(--red) 20%, var(--panel)); box-shadow: 0 0 22px rgba(225, 6, 0, 0.22); }
.linked-alert-box .rail-red-dot {
  width: 11px; height: 11px; flex-shrink: 0; border-radius: 50%;
  background: var(--red-2); box-shadow: 0 0 10px var(--red-glow);
  animation: pulse 1.8s infinite;
}

.thread { margin-top: 30px; border-top: 1px solid var(--line); padding-top: 22px; }
.thread-title { font-size: 18px; font-weight: 800; margin: 0 0 16px; display: flex; align-items: center; gap: 10px; }
.thread-title::before { content: ""; width: 4px; height: 18px; background: var(--red); border-radius: 2px; }
.thread-item {
  display: flex; gap: 14px; padding: 12px 0;
  border-inline-start: 2px solid var(--line-2); padding-inline-start: 16px; margin-inline-start: 4px;
  position: relative;
}
.thread-item::before {
  content: ""; position: absolute;
  inset-inline-start: -5px; top: 18px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red-2); box-shadow: 0 0 8px var(--red-glow);
}
.thread-time { font-family: var(--mono); color: var(--red-soft); font-size: 13px; flex-shrink: 0; padding-top: 1px; }
.thread-text { color: var(--text); }

.share { display: flex; align-items: center; gap: 10px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; flex-wrap: wrap; }
.share span { color: var(--muted); }
.share a, .copy-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--chrome); font-weight: 600; font-size: 13.5px;
  background: var(--panel-2); border: 1px solid var(--line-2);
  border-radius: 8px; padding: 7px 13px;
  transition: color 0.13s var(--ease), border-color 0.13s var(--ease), background 0.13s var(--ease);
}
.share a:hover, .copy-link:hover { color: var(--red-soft); border-color: var(--red-2); background: rgba(225, 6, 0, 0.06); }

.comments { margin-top: 26px; }
.comments-title { font-size: 18px; font-weight: 800; margin: 0 0 16px; }
.comment-form { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.comment-form textarea, .admin-form textarea, .auth-form input, .admin-form input, .admin-form select, .thread-add input {
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 8px; color: var(--text);
  padding: 11px 13px; font-family: var(--font); font-size: 15px; width: 100%;
}
.comment-form textarea:focus, .admin-form textarea:focus, .auth-form input:focus { border-color: var(--red-2); }
.btn-red { background: var(--red); color: #fff; border: none; padding: 11px 20px; border-radius: 8px; font-weight: 700; font-size: 15px; align-self: flex-start; }
.btn-red:hover { background: var(--red-2); box-shadow: 0 0 18px rgba(225, 6, 0, 0.35); }
.comment-login { color: var(--muted); background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 14px; margin-bottom: 20px; }
.comment-login a { color: var(--red-2); font-weight: 700; }
.comment-list { display: flex; flex-direction: column; gap: 12px; }
.comment { background: var(--panel); border: 1px solid var(--line); border-radius: 9px; padding: 13px 15px; }
.comment-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.comment-user { font-weight: 700; font-size: 14px; }
.comment-time { color: var(--muted-2); font-size: 12.5px; font-family: var(--mono); }
.comment-body { color: var(--text); font-size: 15px; }

.redalert-layout { padding-top: 24px; padding-bottom: 50px; }
.redalert-page .breaking, .redalert-page .ticker { display: none; }
.redalert-page .site-footer { margin-top: 0; }
.redalert-screen {
  position: relative;
  min-height: calc(100vh - var(--masthead-h));
  isolation: isolate;
}

.redalert-screen .map-shell.map-shell-full {
  position: absolute;
  inset: 0;
  z-index: 0;
  border: none;
  border-radius: 0;
  min-height: calc(100vh - var(--masthead-h));
  background: #06070a;
}
.redalert-screen #map { width: 100%; height: 100%; min-height: calc(100vh - var(--masthead-h)); }

.map-vignette {
  position: absolute;
  inset: 0;
  z-index: 450;
  pointer-events: none;
  background:
    radial-gradient(130% 100% at 50% 0%, transparent 42%, rgba(4, 5, 7, 0.62) 100%),
    linear-gradient(to left, rgba(4, 5, 7, 0.5), transparent 34%, transparent 62%, rgba(4, 5, 7, 0.5));
}

.ra-overlay {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 20px 22px;
  pointer-events: none;
}
.ra-overlay > * { pointer-events: auto; }

.glass {
  background: linear-gradient(180deg, rgba(20, 22, 27, 0.9), rgba(10, 11, 13, 0.86));
  border: 1px solid var(--line-2);
  border-radius: 16px;
  box-shadow: var(--shadow-3), inset 0 1px 0 rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(16px) saturate(125%);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
}

.ra-head {
  width: min(430px, 44vw);
  padding: 16px 18px 16px;
}
.ra-head-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.ra-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.ra-live.is-hot {
  border-color: color-mix(in srgb, var(--red-2) 45%, var(--line));
  background: color-mix(in srgb, var(--red) 14%, transparent);
  color: var(--red-soft);
}
.ra-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green-glow);
  animation: pulseGreen 1.8s infinite;
}
.ra-live.is-hot .ra-live-dot {
  background: var(--red-2);
  box-shadow: 0 0 10px var(--red-glow);
  animation: pulse 1.4s infinite;
}
.ra-clock {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 1.5px;
  color: var(--chrome);
  font-variant-numeric: tabular-nums;
}

.ra-title {
  margin: 0 0 7px;
  font-family: var(--display);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: #fff;
}
.ra-title::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 9px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--red-2), transparent);
  box-shadow: 0 0 14px var(--red-glow);
}
.ra-sub {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
  max-width: 40ch;
}

.ra-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}
.ra-stat {
  padding: 10px 8px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.025);
  text-align: center;
}
.ra-stat.is-alert {
  border-color: color-mix(in srgb, var(--red-2) 40%, var(--line));
  background: color-mix(in srgb, var(--red) 10%, transparent);
}
.ra-stat-num {
  display: block;
  font-family: var(--mono);
  font-size: 24px;
  line-height: 1.05;
  color: var(--chrome);
  font-variant-numeric: tabular-nums;
}
.ra-stat.is-alert .ra-stat-num { color: var(--red-2); text-shadow: 0 0 18px var(--red-glow); }
.ra-stat.is-quiet .ra-stat-num { color: var(--muted); }
.ra-stat-label {
  display: block;
  margin-top: 3px;
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 600;
}

.ra-rail {
  display: flex;
  flex-direction: column;
  width: min(390px, 40vw);
  max-height: calc(100vh - var(--masthead-h) - 52px);
  overflow: hidden;
}

.ra-grip { display: none; }

.ra-tabs {
  display: flex;
  gap: 4px;
  padding: 8px;
  border-bottom: 1px solid var(--line);
}
.ra-tab {
  position: relative;
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 700;
  transition: color 0.15s var(--ease), background 0.15s var(--ease), border-color 0.15s var(--ease);
}
.ra-tab:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.ra-tab.is-on {
  color: #fff;
  border-color: color-mix(in srgb, var(--red-2) 42%, var(--line));
  background: color-mix(in srgb, var(--red) 16%, transparent);
}
.ra-tab-count {
  padding: 1px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--chrome);
  font-family: var(--mono);
  font-size: 11.5px;
}
.ra-tab.is-on .ra-tab-count { background: var(--red); color: #fff; }
.ra-tab.has-alerts:not(.is-on)::after {
  content: "";
  position: absolute;
  top: 7px;
  inset-inline-start: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-2);
  animation: pulse 1.6s infinite;
}

.ra-panels { flex: 1; min-height: 0; }
.ra-panel { display: none; height: 100%; }
.ra-panel.is-on { display: block; }

.redalert-page .alert-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  max-height: calc(100vh - var(--masthead-h) - 190px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line-3) transparent;
}
.redalert-page .alert-list::-webkit-scrollbar { width: 9px; }
.redalert-page .alert-list::-webkit-scrollbar-track { background: transparent; }
.redalert-page .alert-list::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background: var(--line-3);
  background-clip: padding-box;
}

.redalert-page .alert-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px 16px 12px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(25, 28, 34, 0.66);
  overflow: hidden;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease), transform 0.15s var(--ease);
}
.redalert-page .alert-item::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  inset-inline-start: 0;
  width: 3px;
  background: var(--line-3);
}
.redalert-page .alert-item:hover {
  border-color: var(--line-3);
  background: rgba(30, 34, 42, 0.85);
  transform: translateY(-1px);
}
.redalert-page .alert-item.is-active {
  border-color: color-mix(in srgb, var(--red-2) 34%, var(--line));
  background: linear-gradient(90deg, color-mix(in srgb, var(--red) 12%, transparent), rgba(25, 28, 34, 0.7) 58%);
}
.redalert-page .alert-item.is-active::before {
  background: var(--red-2);
  box-shadow: 0 0 14px var(--red-glow);
}
.redalert-page .alert-item.new { animation: cardIn 0.4s var(--ease); }

.alert-item-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.redalert-page .alert-item-threat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text);
}
.redalert-page .alert-item-threat::before {
  content: "";
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--line-3);
}
.redalert-page .alert-item.is-active .alert-item-threat { color: #fff; }
.redalert-page .alert-item.is-active .alert-item-threat::before {
  background: var(--red-2);
  box-shadow: 0 0 9px var(--red-glow);
  animation: pulse 1.8s infinite;
}
.redalert-page .alert-item-time {
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
}
.redalert-page .alert-item.is-active .alert-item-time { color: var(--red-soft); }
.redalert-page .alert-item-cities {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.alert-item-count {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.2px;
}

.redalert-page .empty.small {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 30px 18px;
  border: 1px dashed var(--line-2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
.redalert-page .empty.small svg { width: 26px; height: 26px; color: var(--line-3); margin-bottom: 4px; }
.redalert-page .empty.small strong { color: var(--chrome); font-size: 14.5px; font-weight: 700; }

.ra-rail-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 11.5px;
}
.ra-legend { display: flex; gap: 14px; }
.ra-legend span { display: inline-flex; align-items: center; gap: 6px; }
.ra-legend i { width: 8px; height: 8px; border-radius: 50%; }
.ra-legend i.is-live { background: var(--red-2); box-shadow: 0 0 8px var(--red-glow); }
.ra-legend i.is-past { background: var(--line-3); }

.redalert-page .map-flash {
  z-index: 1200;
  top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--red-2), var(--red));
  color: #fff;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.55), 0 0 42px var(--red-glow);
}
.redalert-page .map-flash::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 1.2s infinite;
}

.redalert-page .leaflet-container { background: #06070a; font-family: var(--font); }
.redalert-page .leaflet-top.leaflet-left { top: auto; bottom: 26px; left: 22px; }
.redalert-page .leaflet-bar {
  border: 1px solid var(--line-2);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-2);
}
.redalert-page .leaflet-bar a {
  width: 34px;
  height: 34px;
  line-height: 34px;
  background: rgba(16, 18, 22, 0.92);
  color: var(--chrome);
  border-bottom-color: var(--line);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.redalert-page .leaflet-bar a:hover { background: var(--panel-3); color: #fff; }
.redalert-page .leaflet-control-attribution {
  background: rgba(6, 7, 10, 0.72);
  color: var(--muted-2);
  font-size: 10.5px;
  padding: 2px 8px;
  border-radius: 6px 0 0 0;
}
.redalert-page .leaflet-control-attribution a { color: var(--muted); }
.redalert-page .leaflet-popup-content-wrapper {
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  box-shadow: var(--shadow-3);
}
.redalert-page .leaflet-popup-tip { background: var(--panel); border: 1px solid var(--line-2); }
.redalert-page .leaflet-popup-content { margin: 12px 14px; font-size: 13.5px; direction: rtl; text-align: right; }
.redalert-page .leaflet-popup-close-button { color: var(--muted) !important; }
.redalert-page .map-popup { color: var(--text); }
.redalert-page .map-popup a { color: var(--red-soft); font-weight: 700; }

@media (max-width: 1120px) {
  .ra-head { width: min(360px, 48vw); }
  .ra-rail { width: min(340px, 46vw); }
  .ra-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  .ra-overlay {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 14px 0;
  }
  .ra-head { width: 100%; }
  .ra-sub { max-width: none; }

  .ra-rail {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 60;
    width: 100%;
    max-height: 74vh;
    border-inline: none;
    border-bottom: none;
    border-radius: 20px 20px 0 0;
    transform: translateY(calc(100% - 118px));
    transition: transform 0.32s var(--ease);
  }
  .ra-rail.is-open { transform: none; }

  .ra-grip {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 0 5px;
    border: none;
    background: none;
  }
  .ra-grip i {
    display: block;
    width: 46px;
    height: 4px;
    border-radius: 999px;
    background: var(--line-3);
  }
  .redalert-page .alert-list { max-height: 52vh; }
  .redalert-page .leaflet-top.leaflet-left { bottom: 130px; }
}

@media (max-width: 560px) {
  .ra-overlay { padding: 12px 12px 0; }
  .ra-head { padding: 14px; }
  .ra-title { font-size: 22px; }
  .ra-stat-num { font-size: 20px; }
  .ra-stat-label { font-size: 10.5px; }
  .redalert-page .map-flash { top: auto; bottom: 140px; font-size: 12.5px; padding: 9px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .ra-rail { transition: none; }
}

.single-alert-wrap { max-width: 560px; padding-top: 34px; padding-bottom: 60px; }
.single-alert { background: var(--panel); border: 1px solid var(--line-2); border-radius: 14px; padding: 22px; }
.single-alert-head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.single-alert-head { border-inline-start: 4px solid var(--alert, var(--red-2)); padding-inline-start: 14px; }
.single-alert-threat { font-size: 20px; font-weight: 800; }
.single-alert-time { color: var(--muted); font-family: var(--mono); font-size: 13px; display: flex; align-items: center; gap: 8px; }
.active-tag { background: var(--red); color: #fff; padding: 1px 8px; border-radius: 4px; font-family: var(--font); font-weight: 700; }
.ended-tag { background: var(--panel-2); color: var(--muted); padding: 1px 8px; border-radius: 4px; font-family: var(--font); }
.single-alert-map { height: 260px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 16px; background: #000; }
#mini-map { min-height: 260px; height: 260px; }
.single-alert-count { font-family: var(--mono); color: var(--red-2); font-size: 15px; margin-bottom: 12px; }
.locality-list { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.locality { background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 6px; padding: 5px 11px; font-size: 14px; color: var(--text); }
.single-alert-zones { color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.single-alert-cta { display: block; text-align: center; background: var(--panel-2); border: 1px solid var(--line-2); color: var(--text); padding: 11px; border-radius: 8px; font-weight: 700; }
.single-alert-cta:hover { border-color: var(--red-2); color: var(--red-2); }

.articles-wrap { padding-top: 28px; padding-bottom: 60px; }
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.article-card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: border-color 0.15s, transform 0.15s; }
.article-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.article-cover { height: 160px; background-size: cover; background-position: center; background-color: var(--panel-2); display: flex; align-items: center; justify-content: center; }
.article-cover-fallback { font-weight: 900; font-size: 24px; color: var(--line-2); }
.article-card-body { padding: 15px; display: flex; flex-direction: column; gap: 9px; }
.article-card-title { font-size: 17px; margin: 0; font-weight: 800; line-height: 1.3; }
.article-card-summary { color: var(--muted); font-size: 14px; margin: 0; }
.article-card-time { color: var(--muted-2); font-size: 12.5px; font-family: var(--mono); }

.search-wrap { padding-top: 24px; padding-bottom: 60px; }
.search-head { margin-bottom: 12px; }
.search-sub { color: var(--muted); margin: 10px 0 0; }
.search-panel { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin-bottom: 18px; }
.search-filters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.search-filters label { display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: 13px; }
.search-filters input, .search-filters select { background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 8px; color: var(--text); font-family: var(--font); font-size: 14px; padding: 10px 11px; }
.search-filters input:focus, .search-filters select:focus { border-color: var(--red-2); outline: none; }
.search-filter-actions { display: flex; align-items: flex-end; gap: 8px; }
.search-filter-actions .btn-ghost { text-align: center; }
.search-meta { color: var(--muted); margin-bottom: 10px; font-size: 14px; }
.search-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.search-result-card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 14px; display: block; }
.search-result-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.search-result-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.search-result-title { margin: 0 0 6px; font-size: 17px; color: var(--text); }
.search-result-text { margin: 0; color: var(--muted); font-size: 14px; }
.search-result-area { margin: 8px 0 0; color: var(--chrome); font-size: 13px; }

.single-article { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 28px; }
.single-article-title { font-family: var(--display); font-size: 30px; font-weight: 700; margin: 12px 0 10px; line-height: 1.25; }
.single-article-meta { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.single-article-cover { border-radius: 10px; overflow: hidden; margin-bottom: 20px; border: 1px solid var(--line); }
.single-article-cover img { width: 100%; display: block; }
.single-article-summary { font-size: 18px; color: var(--chrome); font-weight: 500; margin-bottom: 18px; }
.single-article-body { font-size: 17px; line-height: 1.8; color: var(--text); }

.auth-wrap { max-width: 440px; padding-top: 54px; padding-bottom: 64px; }
.auth-card {
  background: linear-gradient(180deg, var(--panel), var(--bg-3));
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  box-shadow: var(--shadow-3);
}
.auth-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-bottom: 22px;
}
.auth-brand .brand-name { font-size: 26px; }
.auth-brand .brand-360 { font-size: 22px; }
.auth-card h1 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  color: #fff;
}
.auth-lead { text-align: center; color: var(--muted); font-size: 14px; margin: 0 0 24px; }
.auth-form { display: flex; flex-direction: column; gap: 15px; }
.auth-form label { display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.auth-form input { transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease); }
.auth-form input:focus { border-color: var(--red-2); box-shadow: 0 0 0 3px rgba(255, 45, 45, 0.14); outline: none; }
.auth-form .btn-red { align-self: stretch; text-align: center; margin-top: 8px; padding: 12px; font-size: 15px; }
.auth-or {
  text-align: center; color: var(--muted-2); margin: 20px 0; position: relative; font-size: 13px;
}
.auth-or::before, .auth-or::after {
  content: ""; position: absolute; top: 50%; width: calc(50% - 24px); height: 1px; background: var(--line-2);
}
.auth-or::before { right: 0; }
.auth-or::after { left: 0; }
.btn-google {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  text-align: center; background: #fff; color: #1a1a1a; padding: 12px; border-radius: 9px; font-weight: 700;
  border: 1px solid #e5e7eb; transition: background 0.15s var(--ease), transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.btn-google:hover { background: #f0f0f0; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08); }
.btn-google i { font-size: 16px; color: #ea4335; flex-shrink: 0; }
.auth-alt, .auth-note { color: var(--muted); font-size: 14px; margin-top: 20px; text-align: center; }
.auth-note {
  background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 9px;
  padding: 11px 14px; font-size: 13px; margin-top: 22px;
}
.auth-alt a { color: var(--red-soft); font-weight: 700; }
.auth-alt a:hover { color: var(--red-2); }

.error-wrap { display: flex; align-items: center; justify-content: center; min-height: 60vh; padding: 40px 20px; }
.error-card { text-align: center; }
.error-360 { font-family: var(--mono); font-size: 70px; color: var(--red-2); text-shadow: 0 0 30px var(--red-glow); }
.error-card h1 { font-size: 26px; margin: 8px 0; }
.error-card p { color: var(--muted); margin-bottom: 22px; }

.admin-wrap { padding-top: 22px; padding-bottom: 60px; }
.admin-nav { display: flex; gap: 4px; flex-wrap: wrap; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 6px; margin-bottom: 24px; }
.admin-nav a { padding: 8px 15px; border-radius: 7px; color: var(--muted); font-weight: 600; font-size: 14px; }
.admin-nav a:hover { color: var(--text); background: var(--panel-2); }
.admin-nav a.active { color: #fff; background: var(--red); }
.admin-exit { margin-inline-start: auto; }
.admin-h1 { font-size: 24px; margin: 0 0 20px; }
.admin-h2 { font-size: 18px; margin: 28px 0 14px; }
.admin-head-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.admin-head-row .admin-h1 { margin: 0; }
.admin-stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 22px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 16px; text-align: center; }
.stat-num { display: block; font-family: var(--mono); font-size: 28px; color: var(--red-2); }
.stat-label { color: var(--muted); font-size: 13px; }
.admin-actions { display: flex; gap: 10px; margin-bottom: 10px; }
.admin-table { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.admin-table th, .admin-table td { text-align: right; padding: 11px 14px; font-size: 14px; border-bottom: 1px solid var(--line); }
.admin-table th { background: var(--panel-2); color: var(--muted); font-weight: 700; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table a { color: var(--chrome); font-weight: 600; }
.admin-table a:hover { color: var(--red-2); }
.row-actions { display: flex; gap: 12px; align-items: center; }
.row-hidden { opacity: 0.5; }
.link-danger { background: none; border: none; color: var(--red-2); font-weight: 600; font-size: 14px; padding: 0; }
.link-warn { background: none; border: none; color: var(--amber); font-weight: 600; font-size: 14px; padding: 0; }
.link-ok { background: none; border: none; color: var(--green); font-weight: 600; font-size: 14px; padding: 0; }
.admin-form { display: flex; flex-direction: column; gap: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 22px; max-width: 720px; }
.admin-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.form-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.check { flex-direction: row !important; align-items: center; gap: 9px !important; color: var(--text) !important; }
.check input { width: auto; }
.admin-thread { max-width: 720px; margin-top: 26px; }
.thread-add { display: flex; gap: 10px; margin-top: 12px; }
.thread-add input { flex: 1; }
.thread-add-field { flex: 1; display: flex; }
.thread-add-field input { flex: 1; }
.media-manager { display: flex; flex-direction: column; gap: 8px; }
.media-manager-label { font-size: 14px; color: var(--muted); }
.media-manager-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.media-manager-item { position: relative; width: 96px; height: 96px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line-2); background: #000; }
.media-manager-item img, .media-manager-item video { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-manager-remove { position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; border: none; background: rgba(0, 0, 0, 0.7); color: #fff; font-size: 12px; line-height: 1; cursor: pointer; transition: background 0.15s var(--ease), transform 0.15s var(--ease); }
.media-manager-remove:hover { background: var(--red); transform: scale(1.08); }

.admin-form-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  margin: 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.015);
}
.admin-form-section-flat { padding: 4px 2px; border: none; background: none; }
.admin-form-section-title {
  padding: 0 8px;
  margin-inline-start: -6px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--red-soft);
  text-transform: uppercase;
}
.field-hint { color: var(--muted-2); font-size: 12px; font-weight: 400; }
.req { color: var(--red-2); }
.sr-only-label {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.admin-form-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 4px;
}
.btn-lg { padding: 13px 30px; font-size: 16px; }
.admin-form input:focus-visible,
.admin-form select:focus-visible,
.admin-form textarea:focus-visible {
  border-color: var(--red-2);
  box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.14);
  outline: none;
}


.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-2), var(--bg-3));
  margin-top: auto;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 44px 22px 34px;
}
.footer-brand-row { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.footer-brand-row .brand-name { font-size: 24px; }
.footer-brand-row .brand-360 { font-size: 21px; }
.footer-tag { color: var(--muted); font-size: 14px; margin: 8px 0 16px; max-width: 34ch; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: var(--panel);
  color: var(--muted);
  transition: color 0.15s var(--ease), border-color 0.15s var(--ease), background 0.15s var(--ease), transform 0.15s var(--ease);
}
.footer-social a:hover { color: var(--red-soft); border-color: var(--red-2); background: rgba(225, 6, 0, 0.08); transform: translateY(-2px); }
.footer-social svg { width: 19px; height: 19px; }

.footer-col-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: var(--muted-2);
  margin: 0 0 14px;
  text-transform: uppercase;
}
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--chrome); font-size: 14.5px; transition: color 0.13s var(--ease); }
.footer-links a:hover { color: var(--red-soft); }
.footer-legal-note { color: var(--muted); font-size: 13px; line-height: 1.6; }
.footer-legal-note p { margin: 0 0 8px; }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 16px 0;
  color: var(--muted-2);
  font-size: 13px;
}
.footer-bottom .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.footer-bottom-meta { display: flex; align-items: center; gap: 8px; }
.footer-bottom-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }


@media (max-width: 1120px) {
  .mainnav a { padding: 8px 11px; font-size: 14px; }
  .home-body { grid-template-columns: 1fr; }
  .home-rail { position: static; flex-direction: row; flex-wrap: wrap; }
  .home-rail > * { flex: 1 1 280px; }
  .hero-row { grid-template-columns: 1fr; }
  .breaking-rail { min-height: 0; }
  .breaking-list { max-height: 320px; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
}

@media (max-width: 860px) {
  .masthead.is-compact .masthead-utility,
  .masthead.is-compact .masthead-main-row {
    height: auto;
    padding-top: inherit;
    padding-bottom: inherit;
  }

  .masthead.is-compact .brand-logo,
  .masthead.is-compact .brand-name,
  .masthead.is-compact .brand-360 {
    font-size: inherit;
    height: inherit;
  }

  .masthead-utility { height: auto; padding: 6px 0; flex-wrap: wrap; gap: 8px; }
  .masthead-main-row { height: auto; flex-wrap: wrap; padding: 12px 0; gap: 10px; justify-content: center; }
  .brand { flex: 0 0 100%; justify-content: center; }
  .brand-logo { width: 40px; height: 40px; }
  .brand-name { font-size: 25px; }
  .brand-360 { font-size: 14px; }
  .mainnav { flex: 0 0 100%; justify-content: flex-start; }
  .header-search { flex: 0 0 100%; width: 100%; justify-content: flex-start; }
  .header-search-form { width: 100%; }
  .header-search-form:focus-within { width: 100%; }
  .mainnav a { flex-shrink: 0; }
  .footer-inner { grid-template-columns: repeat(3, 1fr); gap: 30px; }
  .footer-brand-block { grid-column: 1 / -1; }
  .story-row-media { width: 130px; height: 90px; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .brand-logo { width: 34px; height: 34px; }
  .brand-name { font-size: 22px; }
  .brand-360 { font-size: 13px; }
  .account-name { display: none; }
  .mainnav a { padding: 8px 12px; font-size: 13.5px; }
  .hero-body { padding: 0; }
  .story-row-link { flex-direction: column-reverse; }
  .story-row-media { width: 100%; height: 180px; }
  .footer-inner { grid-template-columns: 1fr; gap: 26px; padding: 34px 16px 28px; }
  .footer-bottom .wrap { justify-content: center; text-align: center; }
}

@media (max-width: 400px) {
  .mainnav { justify-content: center; }
}

@media (max-width: 980px) {
  .admin-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .search-filters { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .ticker-track { animation: none !important; }
}

/* ==========================================================================
   Static content pages (about / terms / channels / contact / profile)
   ========================================================================== */

.static-page { padding-top: 34px; padding-bottom: 70px; max-width: 980px; }

.static-hero { text-align: center; margin-bottom: 40px; }
.static-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--red-soft); font-weight: 800; font-size: 12.5px;
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px;
}
.static-eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red-2);
  box-shadow: 0 0 10px var(--red-glow);
}
.static-title {
  font-family: var(--display); font-size: 34px; font-weight: 900;
  margin: 0 0 14px; letter-spacing: 0.2px;
}
.static-lead { color: var(--muted); font-size: 15.5px; max-width: 62ch; margin: 0 auto; line-height: 1.7; }

.static-section { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; margin: 34px 0; }
.static-section p { color: var(--muted); line-height: 1.8; font-size: 15px; }
.static-section p + p { margin-top: 14px; }
.static-section-title {
  font-family: var(--display); font-size: 19px; font-weight: 800; margin: 0 0 14px;
  display: flex; align-items: center; gap: 10px;
}
.static-section-title::before { content: ""; width: 5px; height: 18px; background: var(--red); border-radius: 2px; }

.static-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(225,6,0,0.12), transparent 70%), var(--panel);
  border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 26px 30px; margin-top: 34px;
}
.static-cta p { color: var(--muted); margin: 4px 0 0; font-size: 14.5px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 32px 0; }
.info-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; transition: border-color 0.15s var(--ease), transform 0.15s var(--ease);
}
.info-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.info-card-icon {
  width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: rgba(225, 6, 0, 0.1); color: var(--red-2); margin-bottom: 16px;
}
.info-card-icon svg { width: 22px; height: 22px; }
.info-card h2 { font-size: 16.5px; font-weight: 800; margin: 0 0 8px; }
.info-card p { color: var(--muted); font-size: 14px; line-height: 1.65; margin: 0; }

/* Table of contents (terms page) */
.toc {
  display: flex; gap: 10px; flex-wrap: wrap; background: var(--panel); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px; margin-bottom: 28px; justify-content: center;
}
.toc a {
  padding: 8px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 700; color: var(--muted);
  transition: color 0.15s var(--ease), background 0.15s var(--ease);
}
.toc a:hover { color: var(--text); background: var(--panel-2); }

.legal-doc section { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 20px; scroll-margin-top: 90px; }
.legal-doc p { color: var(--muted); line-height: 1.8; font-size: 14.5px; }
.legal-doc a { color: var(--red-soft); font-weight: 700; }
.legal-doc a:hover { color: var(--red-2); }
.legal-doc ol { color: var(--muted); line-height: 1.85; font-size: 14.5px; padding-inline-start: 22px; margin: 0; }
.legal-doc ol li { margin-bottom: 10px; }
.legal-doc ol li::marker { color: var(--red-2); font-weight: 700; }

/* Contact page */
.contact-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: start; }
.contact-form { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.contact-side {
  background: var(--panel-2); border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  padding: 24px; color: var(--muted); font-size: 14px;
}
.contact-side h3 { color: var(--text); font-size: 15.5px; margin: 0 0 10px; }
.contact-side-links { list-style: none; margin: 14px 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.contact-side-links a { color: var(--red-soft); font-weight: 700; }
.contact-side-links a:hover { color: var(--red-2); }
.contact-side-note { font-size: 12.5px; line-height: 1.7; border-top: 1px solid var(--line-2); padding-top: 14px; margin-top: 14px; }

/* Shared form-grid used by contact + profile forms */
.form-grid { display: flex; flex-direction: column; gap: 16px; }
.form-grid label { display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.form-grid input, .form-grid select, .form-grid textarea {
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 8px; color: var(--text);
  font-family: var(--font); font-size: 14.5px; padding: 11px 13px;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.form-grid textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus {
  border-color: var(--red-2); box-shadow: 0 0 0 3px rgba(255, 45, 45, 0.14); outline: none;
}
.form-grid input[type="file"] { padding: 8px; font-size: 13px; }
.form-grid .btn-red, .form-grid .btn-ghost { align-self: flex-start; }

/* Channels hub */
.channel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 32px; }
.channel-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; display: flex; flex-direction: column; align-items: flex-start;
  transition: border-color 0.15s var(--ease), transform 0.15s var(--ease);
}
.channel-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.channel-card-icon {
  width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--panel-2); border: 1px solid var(--line-2); color: var(--red-2); margin-bottom: 16px;
}
.channel-card-icon svg { width: 24px; height: 24px; }
.channel-card-title { font-size: 17.5px; font-weight: 800; margin: 0 0 8px; }
.channel-card-desc { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0 0 20px; flex: 1; }
.channel-card-cta { width: 100%; text-align: center; }
.channel-card-telegram .channel-card-icon { color: #34a1de; }
.channel-card-whatsapp .channel-card-icon { color: #2ecc71; }
.channel-card-instagram .channel-card-icon { color: #e1306c; }
.channel-card-tiktok .channel-card-icon { color: var(--chrome); }

/* Profile page */
.profile-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; margin-top: 8px; }
.profile-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.profile-note { color: var(--muted); font-size: 14px; line-height: 1.7; }
.avatar-row { display: flex; align-items: center; gap: 18px; margin-bottom: 4px; }
.avatar-preview { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 2px solid var(--line-2); background: var(--bg-2); flex-shrink: 0; }
.avatar-fields { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.avatar-fields label { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--muted); }

.profile-card-wide { grid-column: 1 / -1; }
.push-settings-body { display: flex; flex-direction: column; gap: 16px; max-width: 520px; }
.push-settings-body .check { color: var(--text); font-size: 14.5px; }
.push-settings-body .field-hint { display: block; margin-top: 2px; color: var(--muted-2); font-size: 12.5px; font-weight: 400; }

.city-picker { display: flex; flex-direction: column; gap: 8px; padding-inline-start: 30px; }
.city-picker label { font-size: 13px; font-weight: 600; color: var(--muted); }
.city-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.city-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 6px 5px 12px;
  border-radius: 999px;
  background: rgba(225, 6, 0, 0.1);
  border: 1px solid rgba(225, 6, 0, 0.3);
  color: var(--red-soft);
  font-size: 13px;
  font-weight: 600;
}
.city-chip-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: none;
  border-radius: 50%;
  background: rgba(225, 6, 0, 0.2);
  color: var(--red-soft);
  font-size: 10px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.city-chip-remove:hover { background: var(--red); color: #fff; }

.city-input-wrap { position: relative; }
.city-input-wrap input {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font);
  font-size: 14.5px;
  padding: 10px 12px;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.city-input-wrap input:focus { border-color: var(--red-2); box-shadow: 0 0 0 3px rgba(255, 45, 45, 0.14); outline: none; }
.city-suggest {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline: 0;
  z-index: 20;
  max-height: 220px;
  overflow-y: auto;
  background: var(--panel-2);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  box-shadow: var(--shadow-3);
}
.city-suggest-item {
  display: block;
  width: 100%;
  padding: 9px 13px;
  border: none;
  background: none;
  color: var(--text);
  font-family: var(--font);
  font-size: 13.5px;
  text-align: start;
  cursor: pointer;
  transition: background 0.12s var(--ease);
}
.city-suggest-item:hover { background: var(--panel-3); }

.push-save-status { min-height: 18px; margin: 0; color: var(--green); font-size: 13px; }
.push-save-status.is-error { color: var(--red-2); }

/* Admin inquiries */
.inquiries-tabs { margin-bottom: 20px; }
.row-unread { background: rgba(225, 6, 0, 0.05); }
.inquiry-message { max-width: 320px; color: var(--muted); }
.status-pill { display: inline-flex; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.status-pill-unread { background: rgba(225, 6, 0, 0.14); color: var(--red-soft); }
.status-pill-read { background: rgba(58, 160, 255, 0.14); color: var(--blue); }
.status-pill-archived { background: rgba(154, 160, 170, 0.14); color: var(--muted); }
.nav-badge {
  display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px;
  padding: 0 5px; border-radius: 999px; background: var(--red-2); color: #fff; font-size: 11px;
  font-weight: 800; margin-inline-start: 6px; line-height: 18px;
}

@media (max-width: 860px) {
  .contact-layout, .profile-layout { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .static-title { font-size: 27px; }
  .feature-grid { grid-template-columns: 1fr; }
  .static-cta { flex-direction: column; align-items: flex-start; }
}

.feed-col { min-width: 0; }

.hd-skip {
  position: fixed;
  top: 8px;
  inset-inline-start: 8px;
  z-index: 999;
  transform: translateY(-160%);
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-family: var(--font);
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.18s var(--hd-ease);
}
.hd-skip:focus { transform: none; }

.hd-top {
  position: sticky;
  top: 0;
  z-index: var(--hd-z);
  isolation: isolate;
}

.hd {
  position: relative;
  background: linear-gradient(180deg, #14171d 0%, #0b0d11 100%);
  border-bottom: 1px solid var(--hd-line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hd-rail {
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red-2) 22%, var(--red) 50%, var(--red-2) 78%, transparent);
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.25s var(--hd-ease);
}
.hd.is-compact .hd-rail { opacity: 0.9; }
.hd.is-compact {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 34px -22px rgba(0, 0, 0, 0.85);
}

.hd-utility {
  background: var(--hd-surface-2);
  border-bottom: 1px solid var(--hd-line-soft);
  overflow: hidden;
  transition: height 0.22s var(--hd-ease), opacity 0.18s var(--hd-ease);
  height: var(--hd-util-h);
}
.hd.is-compact .hd-utility { height: 0; opacity: 0; }

.hd-utility-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  height: var(--hd-util-h);
  font-size: 12px;
  color: var(--muted);
}
.hd-utility-start,
.hd-utility-end {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.hd-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--chrome);
  font-weight: 700;
  letter-spacing: 0.4px;
}
.hd-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 var(--green-glow);
  animation: hdPulseGreen 2s infinite;
}
@keyframes hdPulseGreen {
  0% { box-shadow: 0 0 0 0 var(--green-glow); }
  70% { box-shadow: 0 0 0 7px rgba(46, 204, 113, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}
@keyframes hdPulseRed {
  0% { box-shadow: 0 0 0 0 var(--red-glow); }
  70% { box-shadow: 0 0 0 7px rgba(225, 6, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(225, 6, 0, 0); }
}

.hd-clock {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 1.2px;
  color: var(--chrome);
}
.hd-date {
  position: relative;
  padding-inline-start: 15px;
  color: var(--muted-2);
  white-space: nowrap;
}
.hd-date::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  width: 1px;
  height: 12px;
  margin-top: -6px;
  background: var(--line-2);
}
.hd-viewers { color: var(--muted-2); font-family: var(--mono); font-size: 11.5px; }
.hd-viewers:empty { display: none; }

.hd-account-cluster {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 4px 3px 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-2);
}

.hd-account {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-inline-end: 4px;
  color: var(--muted);
  font-size: 12.5px;
  white-space: nowrap;
  transition: color 0.15s var(--hd-ease);
}
.hd-account strong { color: var(--text); font-weight: 700; }
.hd-account:hover { color: var(--red-soft); }
.hd-account:hover .hd-avatar { box-shadow: 0 0 0 2px rgba(225, 6, 0, 0.4); }

.hd-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(180deg, var(--red-2), var(--red) 85%);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  transition: box-shadow 0.15s var(--hd-ease);
}
.hd-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hd-account-text { display: flex; align-items: baseline; gap: 5px; min-width: 0; }
.hd-account-greet { color: var(--muted-2); }

.hd-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border: none;
  border-radius: 999px;
  background: none;
  color: var(--muted-2);
  font-family: var(--font);
  cursor: pointer;
  transition: color 0.15s var(--hd-ease), background 0.15s var(--hd-ease);
}
.hd-icon-btn svg { width: 15px; height: 15px; }
.hd-icon-btn:hover { color: var(--red-soft); background: rgba(225, 6, 0, 0.1); }

.hd-inline-form { display: inline; margin: 0; }

.hd-bell-btn.is-on { color: var(--red-soft); background: rgba(225, 6, 0, 0.12); }
.hd-bell-btn.is-denied { color: var(--muted-2); opacity: 0.55; }
.hd-bell-btn[hidden] { display: none; }

.hd-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px 5px 11px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--text);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: border-color 0.15s var(--hd-ease), background 0.15s var(--hd-ease), color 0.15s var(--hd-ease);
}
.hd-login svg { width: 14px; height: 14px; }
.hd-login:hover { border-color: var(--red-2); background: rgba(225, 6, 0, 0.1); color: var(--red-soft); }

.hd-main-row {
  display: flex;
  align-items: center;
  gap: 18px;
  height: var(--hd-main-h);
  transition: height 0.22s var(--hd-ease);
}
.hd.is-compact .hd-main-row { height: var(--hd-main-h-compact); }

.hd-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  transition: opacity 0.15s var(--hd-ease);
}
.hd-brand:hover { opacity: 0.92; }

.hd-brand-logo {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.09), 0 0 18px rgba(225, 6, 0, 0.26);
  transition: width 0.22s var(--hd-ease), height 0.22s var(--hd-ease), box-shadow 0.2s var(--hd-ease);
}
.hd-brand:hover .hd-brand-logo { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 0 24px rgba(225, 6, 0, 0.42); }
.hd.is-compact .hd-brand-logo { width: 34px; height: 34px; }

.hd-brand-lockup { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.hd-brand-name {
  font-family: var(--hd-serif);
  font-size: 27px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  letter-spacing: 0.5px;
  transition: font-size 0.22s var(--hd-ease);
}
.hd.is-compact .hd-brand-name { font-size: 23px; }
.hd-brand-360 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px 3px;
  border-radius: 5px;
  background: linear-gradient(180deg, var(--red-2), var(--red) 85%);
  color: #fff;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.5px;
  box-shadow: 0 0 14px rgba(225, 6, 0, 0.4);
  transition: font-size 0.22s var(--hd-ease);
}
.hd.is-compact .hd-brand-360 { font-size: 12.5px; }

.hd-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
  height: 100%;
  margin-inline-start: 14px;
}
.hd-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 14px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.15s var(--hd-ease);
}
.hd-nav-link::after {
  content: "";
  position: absolute;
  inset-inline: 12px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--red-2);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s var(--hd-ease);
}
.hd-nav-link:hover { color: var(--text); }
.hd-nav-link:hover::after { transform: scaleX(0.55); }
.hd-nav-link.is-active { color: #fff; }
.hd-nav-link.is-active::after { transform: scaleX(1); }
.hd-nav-admin { color: var(--blue); }

.hd-nav-alert {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-inline-start: 8px;
  padding: 8px 15px;
  border: 1px solid rgba(225, 6, 0, 0.45);
  border-radius: 999px;
  background: rgba(225, 6, 0, 0.1);
  color: var(--red-soft);
  font-size: 14.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.15s var(--hd-ease), color 0.15s var(--hd-ease), box-shadow 0.15s var(--hd-ease);
}
.hd-nav-alert:hover { background: rgba(225, 6, 0, 0.2); color: #fff; box-shadow: 0 0 18px rgba(225, 6, 0, 0.28); }
.hd-nav-alert.is-active {
  background: linear-gradient(180deg, var(--red-2), var(--red) 90%);
  border-color: var(--red);
  color: #fff;
}
.hd-nav-alert-dot {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--red-2);
  animation: hdPulseRed 1.9s infinite;
}
.hd-nav-alert.is-active .hd-nav-alert-dot { background: #fff; }

.hd-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-inline-start: auto;
  min-width: 0;
}

.hd-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 232px;
  padding: 0 12px;
  height: 40px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  transition: width 0.28s var(--hd-ease), border-color 0.15s var(--hd-ease), background 0.15s var(--hd-ease), box-shadow 0.15s var(--hd-ease);
}
.hd-search:focus-within {
  width: 330px;
  border-color: var(--red-2);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.14);
}
.hd-search-icon { display: flex; flex-shrink: 0; color: var(--muted-2); }
.hd-search-icon svg { width: 16px; height: 16px; }
.hd-search-input {
  flex: 1;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text);
  font-family: var(--font);
  font-size: 14.5px;
}
.hd-search-input::placeholder { color: var(--muted-2); opacity: 1; }
.hd-search-input::-webkit-search-cancel-button { display: none; }
.hd-search-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s var(--hd-ease), color 0.15s var(--hd-ease);
}
.hd-search-clear svg { width: 12px; height: 12px; }
.hd-search-clear:hover { background: var(--red); color: #fff; }

.hd-suggest {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline: 0;
  z-index: 30;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  box-shadow: var(--shadow-3);
  animation: hdSuggestIn 0.16s var(--hd-ease);
}
@keyframes hdSuggestIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
.hd-suggest-item {
  display: grid;
  gap: 3px;
  padding: 11px 15px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.12s var(--hd-ease);
}
.hd-suggest-item:last-child { border-bottom: none; }
.hd-suggest-item:hover,
.hd-suggest-item.is-cursor { background: var(--panel-2); }
.hd-suggest-type { color: var(--red-2); font-size: 11px; font-weight: 800; letter-spacing: 0.4px; }
.hd-suggest-title { color: var(--text); font-size: 14.5px; font-weight: 700; }
.hd-suggest-sub { color: var(--muted); font-size: 12.5px; }
.hd-suggest-empty { padding: 16px; color: var(--muted); font-size: 13px; text-align: center; }

.hd-burger,
.hd-search-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--chrome);
  cursor: pointer;
  transition: border-color 0.15s var(--hd-ease), color 0.15s var(--hd-ease), background 0.15s var(--hd-ease);
}
.hd-burger:hover,
.hd-search-toggle:hover { border-color: var(--red-2); color: #fff; background: rgba(225, 6, 0, 0.1); }
.hd-search-toggle svg { width: 18px; height: 18px; }
.hd-burger-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  transition: transform 0.2s var(--hd-ease), color 0.15s var(--hd-ease);
}
.hd-burger[aria-expanded="true"] .hd-burger-icon,
.hd-burger.is-open .hd-burger-icon {
  transform: rotate(180deg);
}

.hd-breaking {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 22px;
  background: linear-gradient(90deg, var(--red) 0%, #a80400 68%, #8a0300 100%);
  border-bottom: 1px solid #7c0300;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 8px 22px -12px rgba(225, 6, 0, 0.7);
}
.hd-breaking.is-hidden { display: none; }
.hd-breaking-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 3px 11px;
  border-radius: 5px;
  background: #fff;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
}
.hd-breaking-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  animation: hdBlink 1.2s infinite;
}
@keyframes hdBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}
.hd-breaking-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14.5px; }
.hd-breaking-go { display: flex; flex-shrink: 0; opacity: 0.7; transition: transform 0.18s var(--hd-ease), opacity 0.18s var(--hd-ease); }
.hd-breaking-go svg { width: 18px; height: 18px; }
.hd-breaking:hover .hd-breaking-go { opacity: 1; transform: translateX(4px); }
.hd-breaking.is-new { animation: hdDrop 0.45s var(--hd-ease); }
@keyframes hdDrop {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: none; }
}

.hd-ticker {
  display: flex;
  align-items: stretch;
  height: 42px;
  background: linear-gradient(180deg, var(--panel), var(--bg-3));
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hd-ticker-label {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0 18px 0 24px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}
.hd-ticker-viewport {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  direction: ltr;
}
.hd-ticker-viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 60px;
  background: linear-gradient(to right, var(--bg-3), transparent);
  pointer-events: none;
  z-index: 2;
}
.hd-ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  height: 100%;
  white-space: nowrap;
  animation: hdTick 60s linear infinite;
  will-change: transform;
}
.hd-ticker:hover .hd-ticker-track,
.hd-ticker-track:focus-within { animation-play-state: paused; }
@keyframes hdTick {
  from { transform: translateX(0); }
  to { transform: translateX(-30%); }
}
.hd-ticker-item {
  direction: rtl;
  margin-right: 44px;
  color: var(--muted);
  font-size: 14px;
  transition: color 0.12s var(--hd-ease);
}
.hd-ticker-item::before { content: "◂"; color: var(--red-2); margin-inline-end: 11px; }
.hd-ticker-item:hover { color: var(--text); }
.hd-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(4, 5, 7, 0.66);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.24s var(--hd-ease);
}
.hd-scrim.is-open { opacity: 1; }
.hd-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: auto;
  z-index: 80;
  display: flex;
  flex-direction: column;
  width: min(330px, 86vw);
  padding: 18px;
  background: linear-gradient(180deg, #14171d, #0a0b0e);
  border-left: 1px solid var(--line-2);
  border-right: none;
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.6);
  transform: translateX(105%);
  visibility: hidden;
  transition: transform 0.3s var(--hd-ease), visibility 0.3s var(--hd-ease);
  overflow-y: auto;
}
.hd-drawer.is-open {
  transform: none;
  visibility: visible;
}
.hd-drawer.is-open { transform: none; }

.hd-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.hd-drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.15s var(--hd-ease), border-color 0.15s var(--hd-ease);
}
.hd-drawer-close i { font-size: 16px; line-height: 1; }
.hd-drawer-close:hover { color: #fff; border-color: var(--red-2); }

.hd-drawer-nav { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; }
.hd-drawer-link {
  display: flex;
  align-items: center;
  padding: 13px 14px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
  background: none;
  border: none;
  font-family: var(--font);
  text-align: start;
  width: 100%;
  cursor: pointer;
  transition: color 0.15s var(--hd-ease), background 0.15s var(--hd-ease);
}
.hd-drawer-link:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.hd-drawer-link.is-active { color: #fff; background: rgba(255, 255, 255, 0.07); box-shadow: inset 3px 0 0 var(--red-2); }
.hd-drawer-logout { color: var(--red-soft); }

.hd-drawer-bell { gap: 10px; }
.hd-drawer-bell svg { width: 18px; height: 18px; flex-shrink: 0; }
.hd-drawer-bell[aria-pressed="true"] { color: var(--red-soft); background: rgba(225, 6, 0, 0.1); }
.hd-drawer-bell[hidden] { display: none; }

.hd-drawer-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  padding: 13px 14px;
  border: 1px solid rgba(225, 6, 0, 0.45);
  border-radius: 10px;
  background: rgba(225, 6, 0, 0.12);
  color: var(--red-soft);
  font-size: 16px;
  font-weight: 700;
}
.hd-drawer-alert.is-active,
.hd-drawer-alert:hover { background: linear-gradient(180deg, var(--red-2), var(--red)); color: #fff; }

.hd-drawer-foot {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.hd-drawer-cta {
  display: block;
  padding: 13px;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  text-align: center;
  transition: background 0.15s var(--hd-ease);
}
.hd-drawer-cta:hover { background: var(--red-2); }

body.hd-locked { overflow: hidden; }

body.redalert-page .hd-breaking,
body.redalert-page .hd-ticker { display: none; }

@media (max-width: 1180px) {
  .hd-nav-link { padding: 0 11px; font-size: 14.5px; }
  .hd-nav { margin-inline-start: 8px; }
  .hd-search { width: 190px; }
  .hd-search:focus-within { width: 260px; }
}

@media (max-width: 1000px) {
  .hd-nav,
  .hd-account { display: none; }
  .hd-burger { display: inline-flex; }
  .hd-search-toggle { display: inline-flex; }
  .hd-main-row { gap: 12px; }

  .hd-search {
    position: absolute;
    top: calc(100% + 10px);
    inset-inline: 16px;
    z-index: 20;
    width: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s var(--hd-ease), transform 0.2s var(--hd-ease), visibility 0.2s var(--hd-ease);
  }
  .hd-search.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .hd-search:focus-within { width: auto; }
  .hd-main { position: relative; }
  .hd-suggest { inset-inline: 0; }
}

@media (max-width: 620px) {
  .hd-utility-row { font-size: 11.5px; gap: 10px; }
  .hd-date { display: none; }
  .hd-brand-logo { width: 36px; height: 36px; }
  .hd-brand-name { font-size: 23px; }
  .hd-brand-360 { font-size: 12.5px; padding: 3px 7px 2px; }
  .hd-main-row { height: 60px; }
  .hd.is-compact .hd-main-row { height: 54px; }
  .hd-breaking { padding: 10px 16px; gap: 10px; }
  .hd-breaking-text { font-size: 13.5px; }
  .hd-ticker-label { padding: 0 12px 0 18px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .hd-ticker-track,
  .hd-live-dot,
  .hd-nav-alert-dot,
  .hd-breaking-tag::before { animation: none; }
  .hd,
  .hd-drawer,
  .hd-scrim,
  .hd-search,
  .hd-utility,
  .hd-main-row { transition: none; }
}
.hd-drawer-link.is-active { box-shadow: inset -3px 0 0 var(--red-2); }
.hd-breaking:hover .hd-breaking-go { transform: translateX(-4px); }

@media (min-width: 1001px) {
  .hd-drawer,
  .hd-scrim { display: none; }
}