:root {
  --navy-950: #090D18;
  --navy-900: #0F1526;
  --navy-800: #182138;
  --crimson: #E51937;
  --crimson-dark: #B9122B;
  --gold: #EFAF30;
  --cyan: #2DD4BF;
  --ink: #0E1320;
  --ink-muted: #4B5568;
  --paper: #F5F6F9;
  --white: #FFFFFF;
  --border: #E2E6EF;
  --radius: 12px;
  --shadow-sm: 0 2px 10px rgba(9, 13, 24, 0.06);
  --shadow-lg: 0 18px 42px rgba(9, 13, 24, 0.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---- TOP BREAKING NEWS TICKER ---- */
.ticker-bar {
  background: var(--crimson);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  height: 36px;
  overflow: hidden;
  border-bottom: 2px solid var(--gold);
}
.ticker-badge {
  background: var(--navy-950);
  color: var(--white);
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 12px;
  flex-shrink: 0;
  z-index: 2;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--crimson);
  box-shadow: 0 0 0 0 rgba(229, 25, 55, 0.8);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(229, 25, 55, 0.85); }
  70% { box-shadow: 0 0 0 7px rgba(229, 25, 55, 0); }
  100% { box-shadow: 0 0 0 0 rgba(229, 25, 55, 0); }
}
.ticker-track-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
  padding-left: 24px;
  animation: marquee 38s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-item {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ticker-item:hover { text-decoration: underline; }
.ticker-tag {
  background: rgba(9, 13, 24, 0.35);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #FFE49E;
}

/* ---- MASTHEAD & NAV ---- */
.masthead {
  background: var(--navy-950);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.28);
}
.masthead-inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  flex-shrink: 0;
}
.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-name {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.brand-name span { color: var(--gold); }
.brand-sub {
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9AA6BF;
  margin-top: 2px;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}
.nav-btn {
  background: transparent;
  border: none;
  color: #D5DCEB;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 7px 10px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.nav-btn:hover { background: rgba(255, 255, 255, 0.08); color: var(--white); }
.nav-btn.active { background: var(--crimson); color: var(--white); }
.nav-btn.show-pill {
  border: 1px solid rgba(239, 175, 48, 0.55);
  color: var(--gold);
}
.nav-btn.show-pill:hover, .nav-btn.show-pill.active {
  background: var(--gold);
  color: var(--navy-950);
}
.search-box {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 5px 12px;
  width: 148px;
  flex-shrink: 0;
}
.search-box input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-size: 13px;
  width: 100%;
}
.search-box input::placeholder { color: #8B97B2; }

/* ---- MAIN CONTAINER ---- */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 28px 24px 72px;
}

/* ---- HERO NEWSROOM GRID ---- */
.hero-grid {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}
.lead-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.lead-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.lead-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--navy-950);
}
.lead-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.lead-card:hover .lead-media img { transform: scale(1.03); }
.kicker-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--crimson);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 6px;
}
.lead-body { padding: 24px 26px 26px; }
.lead-body h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  line-height: 1.18;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--navy-950);
}
.lead-body p {
  font-size: 16px;
  color: var(--ink-muted);
  margin-bottom: 16px;
}
.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: #6B768C;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}
.read-cta { color: var(--crimson); font-weight: 800; }

/* ---- RIGHT HERO: THE RECEIPTS BROADCAST MODULE ---- */
.broadcast-card {
  background: linear-gradient(165deg, #0D1426 0%, #141D35 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid rgba(239, 175, 48, 0.3);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.broadcast-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.live-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(229, 25, 55, 0.18);
  border: 1px solid rgba(229, 25, 55, 0.55);
  color: #FF7B8E;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
}
.powered-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.show-title-block h2 {
  font-family: Georgia, serif;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.show-title-block .hosts-line {
  font-size: 13px;
  color: var(--cyan);
  font-weight: 700;
  margin-top: 4px;
}
.video-shell {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.14);
  aspect-ratio: 16 / 9;
}
.video-shell video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.chapter-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.chapter-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #E2E8F5;
  text-align: left;
  padding: 8px 11px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.chapter-btn:hover {
  background: rgba(239, 175, 48, 0.16);
  border-color: var(--gold);
  color: var(--white);
}
.cadence-note {
  margin-top: auto;
  background: rgba(45, 212, 191, 0.1);
  border-left: 3px solid var(--cyan);
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 12.5px;
  color: #D7F5F0;
}

/* ---- SECTION HEADERS & NEWS GRID ---- */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 3px solid var(--navy-950);
  padding-bottom: 10px;
  margin-bottom: 22px;
}
.section-header h2 {
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-header h2::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--crimson);
  border-radius: 2px;
  display: inline-block;
}
.section-sub { font-size: 13px; color: var(--ink-muted); font-weight: 600; }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 48px;
}
.story-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.story-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.story-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy-900);
}
.story-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.story-card:hover .story-thumb img { transform: scale(1.04); }
.story-content {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.cat-tag {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--crimson);
  margin-bottom: 7px;
}
.cat-tag.sports { color: #0F766E; }
.story-content h3 {
  font-family: Georgia, serif;
  font-size: 19px;
  line-height: 1.28;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--navy-950);
}
.story-content p {
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 14px;
  flex: 1;
}

/* ---- NETWORK FRANCHISE STRIP ---- */
.franchise-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}
.franchise-panel {
  background: var(--navy-950);
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid #222C45;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.franchise-panel.sports {
  background: linear-gradient(155deg, #0B1922 0%, #102A33 100%);
  border-color: rgba(45, 212, 191, 0.35);
}
.franchise-pill {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--gold);
  color: var(--navy-950);
}
.franchise-panel.sports .franchise-pill { background: var(--cyan); }
.franchise-panel h3 {
  font-family: Georgia, serif;
  font-size: 28px;
  line-height: 1.15;
}
.franchise-panel p { color: #CBD5E8; font-size: 15px; }
.anchor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 4px;
}
.anchor-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px 14px;
}
.anchor-box strong { color: var(--gold); font-size: 15px; display: block; }
.anchor-box span { color: var(--cyan); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.anchor-box p { font-size: 12.5px; color: #BAC4D8; margin-top: 6px; }

/* ---- TIP LINE FORM ---- */
.tip-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 5px solid var(--crimson);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  align-items: center;
}
.tip-panel h3 { font-family: Georgia, serif; font-size: 26px; margin-bottom: 8px; }
.tip-panel p { color: var(--ink-muted); font-size: 15px; }
.tip-form { display: flex; flex-direction: column; gap: 12px; }
.tip-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tip-form input, .tip-form textarea, .tip-form select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #CFD6E4;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
}
.tip-form button {
  align-self: flex-start;
  background: var(--crimson);
  color: var(--white);
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.tip-form button:hover { background: var(--crimson-dark); }
.tip-status { font-size: 13px; font-weight: 700; color: #0F766E; min-height: 20px; }

/* ---- ARTICLE READER VIEW ---- */
.article-view {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 36px 44px;
}
.back-btn {
  background: var(--navy-950);
  color: var(--white);
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 22px;
}
.article-view h1 {
  font-family: Georgia, serif;
  font-size: 38px;
  line-height: 1.16;
  margin: 10px 0 14px;
}
.article-dek { font-size: 19px; color: var(--ink-muted); margin-bottom: 20px; line-height: 1.45; }
.article-hero {
  width: 100%;
  border-radius: 10px;
  margin: 18px 0 8px;
}
.article-caption { font-size: 13px; color: #6B768C; margin-bottom: 24px; }
.receipts-box {
  background: #0F1526;
  color: var(--white);
  border-left: 5px solid var(--gold);
  border-radius: 10px;
  padding: 20px 24px;
  margin: 24px 0 28px;
}
.receipts-box h4 {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.receipts-box ul { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; color: #E4EAF6; }
.article-body p { font-size: 17px; line-height: 1.75; margin-bottom: 18px; color: #1E2536; }
.watch-jump-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--crimson);
  color: var(--white);
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  margin-top: 8px;
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--navy-950);
  color: #9AA6BF;
  border-top: 4px solid var(--gold);
  padding: 40px 24px;
}
.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-left { display: flex; align-items: center; gap: 14px; }
.footer-left img { width: 44px; height: 44px; }
.footer-links { display: flex; gap: 20px; font-size: 13px; font-weight: 700; }
.footer-links a:hover { color: var(--gold); }

.hidden { display: none !important; }

@media (max-width: 1024px) {
  .hero-grid, .franchise-grid, .tip-panel { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .masthead-inner { flex-direction: column; align-items: flex-start; }
  .search-box { width: 100%; }
  .news-grid, .anchor-grid, .tip-row { grid-template-columns: 1fr; }
  .article-view { padding: 22px 18px; }
  .article-view h1 { font-size: 28px; }
}

/* ---- HEADER AUTH CONTROLS ---- */
.header-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.auth-slot { display: flex; align-items: center; gap: 8px; }
.auth-btn {
  background: transparent;
  color: #E2E8F5;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.auth-btn:hover { border-color: var(--white); color: var(--white); }
.auth-btn.primary {
  background: var(--crimson);
  border-color: var(--crimson);
  color: var(--white);
}
.auth-btn.primary:hover { background: var(--crimson-dark); }
.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(239, 175, 48, 0.45);
  padding: 4px 10px 4px 5px;
  border-radius: 999px;
  color: var(--white);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}
.user-chip:hover { background: rgba(239, 175, 48, 0.16); }
.avatar-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--crimson), var(--gold));
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 12px;
  flex-shrink: 0;
}
.xp-pill {
  background: rgba(239, 175, 48, 0.2);
  color: var(--gold);
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

/* ---- ENGAGEMENT BAR (LIKE / COMMENT / SHARE) ---- */
.engage-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.broadcast-card .engage-bar { border-top-color: rgba(255, 255, 255, 0.12); margin-top: 4px; }
.act-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F1F4F9;
  color: var(--ink);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.act-btn:hover { background: #E6ECF5; border-color: #C7D0E0; }
.act-btn.liked { background: rgba(229, 25, 55, 0.12); border-color: var(--crimson); color: var(--crimson); }
.broadcast-card .act-btn {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--white);
}
.broadcast-card .act-btn.liked { background: rgba(229, 25, 55, 0.28); border-color: var(--crimson); color: #FF94A4; }

/* ---- COMMUNITY HUB & THREADED COMMENTS ---- */
.community-section { margin-bottom: 48px; }
.community-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 24px;
  align-items: start;
}
.community-side { display: flex; flex-direction: column; gap: 20px; }
.side-card, .comments-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}
.side-card h3, .comments-box h3 {
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  color: var(--navy-950);
}
.creator-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.creator-row:last-child { border-bottom: none; }
.creator-meta { display: flex; align-items: center; gap: 10px; cursor: pointer; min-width: 0; }
.creator-meta strong { font-size: 14px; display: flex; align-items: center; gap: 5px; }
.creator-meta small { font-size: 12px; color: var(--ink-muted); display: block; }
.verified-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--navy-950);
  font-size: 10px;
  font-weight: 900;
}
.follow-btn {
  background: var(--navy-950);
  color: var(--white);
  border: 1px solid var(--navy-950);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
}
.follow-btn:hover { background: var(--crimson); border-color: var(--crimson); }
.follow-btn.following {
  background: var(--white);
  color: var(--navy-950);
  border-color: #CBD5E1;
}
.follow-btn.following:hover { border-color: var(--crimson); color: var(--crimson); }

.comment-composer { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.comment-composer textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #CFD6E4;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
  min-height: 76px;
}
.comment-composer-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.btn-primary {
  background: var(--crimson);
  color: var(--white);
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
}
.btn-primary:hover { background: var(--crimson-dark); }
.btn-ghost {
  background: transparent;
  color: var(--ink-muted);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
}

.comment-item {
  padding: 14px 0;
  border-top: 1px solid var(--border);
}
.comment-item.reply {
  margin-left: 34px;
  padding-left: 14px;
  border-left: 3px solid #E2E8F0;
  border-top: none;
  padding-top: 10px;
  padding-bottom: 10px;
}
.comment-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.comment-author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  flex-wrap: wrap;
}
.comment-author strong { font-size: 14px; }
.comment-author .handle { font-size: 12px; color: var(--ink-muted); font-weight: 600; }
.rank-badge {
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  background: #0F1526;
  color: var(--gold);
  letter-spacing: 0.03em;
}
.comment-time { font-size: 11.5px; color: #7C879D; }
.comment-text { font-size: 14.5px; color: #1E2536; margin-bottom: 8px; white-space: pre-wrap; }
.comment-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.c-act {
  background: none;
  border: none;
  color: #5B667D;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  padding: 2px 0;
}
.c-act:hover { color: var(--crimson); }
.c-act.liked { color: var(--crimson); }
.c-act.danger:hover { color: #B91C1C; }
.inline-box { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.inline-box textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13.5px;
}

/* ---- MODALS & PROFILE ---- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(9, 13, 24, 0.72);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-card {
  background: var(--white);
  border-radius: 16px;
  width: 100%;
  max-width: 460px;
  padding: 28px;
  position: relative;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  max-height: 90vh;
  overflow-y: auto;
}
.modal-card.profile-card { max-width: 560px; }
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #F1F4F9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-weight: 800;
  cursor: pointer;
}
.modal-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.modal-brand img { width: 44px; height: 44px; background: var(--navy-950); border-radius: 10px; padding: 4px; }
.modal-brand h3 { font-size: 20px; font-weight: 900; }
.modal-brand p { font-size: 13px; color: var(--ink-muted); }
.modal-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.tab-btn {
  padding: 9px;
  border: 1px solid var(--border);
  background: #F5F7FB;
  border-radius: 8px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
}
.tab-btn.active { background: var(--navy-950); color: var(--white); border-color: var(--navy-950); }
.auth-form { display: flex; flex-direction: column; gap: 11px; }
.auth-form input, .auth-form textarea {
  padding: 11px 13px;
  border: 1px solid #CFD6E4;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
}
.auth-error { color: var(--crimson); font-size: 13px; font-weight: 700; margin-top: 10px; min-height: 18px; }

.profile-hero { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.profile-id { display: flex; align-items: center; gap: 14px; }
.profile-id .avatar-dot { width: 54px; height: 54px; font-size: 22px; }
.profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0; }
.stat-box { background: #F5F7FB; border: 1px solid var(--border); border-radius: 10px; padding: 10px; text-align: center; }
.stat-box strong { display: block; font-size: 20px; color: var(--navy-950); }
.stat-box span { font-size: 11.5px; color: var(--ink-muted); font-weight: 700; text-transform: uppercase; }
.xp-bar-wrap { background: #E2E8F0; border-radius: 999px; height: 10px; overflow: hidden; margin: 8px 0 6px; }
.xp-bar-fill { height: 100%; background: linear-gradient(90deg, var(--crimson), var(--gold)); }

/* ---- TOAST ---- */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--navy-950);
  color: var(--white);
  border: 1px solid var(--gold);
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 800;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  z-index: 300;
}

@media (max-width: 1024px) {
  .community-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-links { flex-wrap: wrap; }
  .header-right { width: 100%; justify-content: space-between; }
}

/* ---- 2-TIER NETWORK SUB-NAV BAR ---- */
.subnav-bar {
  background: #0F1526;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.subnav-inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 6px 18px;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav-inner::-webkit-scrollbar { display: none; }

/* ---- SEO BREADCRUMBS & ARTICLE H2 SUBHEADINGS ---- */
.breadcrumbs {
  max-width: 900px;
  margin: 0 auto 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumbs a:hover { color: var(--crimson); }
.article-h2 {
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--navy-950);
  margin: 28px 0 12px;
  padding-top: 10px;
  border-top: 2px solid var(--border);
}
.section-header h1 {
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-header h1::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--crimson);
  border-radius: 2px;
  display: inline-block;
}
