:root {
  --bg: #050912;
  --surface: #0e1626;
  --surface-hover: #162138;
  --border: #1e2d4a;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --primary: #10b981;
  --primary-glow: rgba(16, 185, 129, 0.32);
  --cyan: #06b6d4;
  --accent: #f59e0b;
  --danger: #ef4444;
  --blue: #3b82f6;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at 18% 0%, #0d1f33 0%, var(--bg) 42%);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
}

.container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 22px;
}

/* Top Ticker */
.top-ticker {
  background: #03060c;
  border-bottom: 1px solid var(--border);
  font-size: 0.8rem;
  padding: 7px 0;
}

.ticker-inner {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ticker-badge {
  background: rgba(239, 68, 68, 0.16);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
  padding: 3px 10px;
  border-radius: 99px;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
  animation: pulseAnim 1.4s infinite;
}

@keyframes pulseAnim {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.55; }
}

.ticker-track {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #cbd5e1;
}

.ticker-item {
  display: inline-block;
  margin-right: 24px;
  cursor: pointer;
  transition: color 0.15s;
}

.ticker-item em {
  font-style: normal;
  color: #34d399;
  font-weight: 600;
}

.ticker-item:hover {
  color: var(--primary);
}

.sync-status {
  color: #34d399;
  font-weight: 700;
  font-size: 0.78rem;
  white-space: nowrap;
}

/* Glassmorphism Main Header */
.site-header {
  background: rgba(10, 17, 30, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 13px 0;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  color: inherit;
}

.brand-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  box-shadow: 0 4px 16px var(--primary-glow);
}

.brand-title-row {
  display: flex;
  align-items: center;
  gap: 9px;
}

.brand-title {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff;
}

.brand-subbadge {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.2), rgba(6, 182, 212, 0.2));
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #34d399;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.08em;
}

.brand-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 1px;
}

.header-search-wrap {
  flex: 1;
  max-width: 360px;
  min-width: 220px;
}

.header-search-wrap input {
  width: 100%;
  background: #070d18;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 9px 15px;
  border-radius: 99px;
  font-size: 0.84rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.header-search-wrap input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.16);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.social-pill {
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: 0.2s;
}

.yt-pill {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
}

.yt-pill:hover {
  background: rgba(239, 68, 68, 0.28);
}

.fb-pill {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #60a5fa;
}

.fb-pill:hover {
  background: rgba(59, 130, 246, 0.28);
}

.btn-notify {
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  color: #fff;
  border: none;
  padding: 8px 13px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(245, 158, 11, 0.28);
}

.archive-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  padding: 7px 12px;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.archive-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
}

.btn-refresh {
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 8px 13px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
}

/* Unified Navigation Bar */
.controls-bar {
  background: rgba(8, 13, 24, 0.92);
  border-bottom: 1px solid var(--border);
  padding: 11px 0;
}

.controls-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.geo-tabs, .category-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.geo-tab {
  background: var(--surface);
  color: #cbd5e1;
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 0.79rem;
  cursor: pointer;
  transition: 0.18s;
}

.geo-tab:hover {
  background: var(--surface-hover);
  color: #fff;
}

.geo-tab.active {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #032219;
  border-color: #10b981;
}

.cat-pill {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 5px 11px;
  border-radius: 99px;
  font-size: 0.77rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.18s;
}

.cat-pill:hover {
  color: #fff;
  border-color: #475569;
}

.cat-pill.active {
  background: rgba(59, 130, 246, 0.18);
  color: #60a5fa;
  border-color: var(--blue);
}

/* ABOVE THE FOLD: Bento Hero Section */
.hero-bento-section {
  padding: 22px 0 10px;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 18px;
  align-items: stretch;
}

@media (max-width: 980px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
}

.hero-main-card {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(16, 185, 129, 0.45);
  background-size: cover;
  background-position: center;
  min-height: 390px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.hero-main-card:hover {
  transform: translateY(-3px);
  border-color: #34d399;
}

.hero-top-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.hero-live-pill {
  background: #ef4444;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 4px 11px;
  border-radius: 99px;
  letter-spacing: 0.05em;
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.55);
}

.hero-geo-pill {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(96, 165, 250, 0.45);
  color: #93c5fd;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  backdrop-filter: blur(6px);
}

.hero-vel-pill {
  background: rgba(6, 78, 59, 0.88);
  border: 1px solid #10b981;
  color: #34d399;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 4px 11px;
  border-radius: 99px;
}

.hero-bot-pill {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(251, 191, 36, 0.45);
  color: #fbbf24;
  font-size: 0.73rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
}

.hero-main-content {
  margin-top: auto;
  padding-top: 40px;
}

.hero-cat-tag {
  display: inline-block;
  background: rgba(6, 182, 212, 0.22);
  border: 1px solid rgba(6, 182, 212, 0.5);
  color: #67e8f9;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 3px 9px;
  border-radius: 5px;
  margin-bottom: 10px;
}

.hero-headline {
  font-size: 2.15rem;
  font-weight: 900;
  line-height: 1.15;
  color: #ffffff;
  text-transform: capitalize;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
}

.hero-brief {
  font-size: 0.94rem;
  color: #e2e8f0;
  line-height: 1.55;
  max-width: 680px;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-hero-watch {
  background: linear-gradient(135deg, #10b981, #06b6d4);
  color: #032219;
  border: none;
  padding: 11px 20px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.hero-source-meta {
  font-size: 0.78rem;
  color: #94a3b8;
  font-weight: 600;
}

/* Right Bento Stack */
.hero-side-stack {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 11px;
}

.side-stack-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}

.side-stack-header span {
  font-size: 0.8rem;
  font-weight: 800;
  color: #34d399;
  letter-spacing: 0.04em;
}

.side-stack-header small {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.hero-sub-card {
  background: #080e1a;
  border: 1px solid #1a2742;
  border-radius: 12px;
  padding: 11px;
  display: flex;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  transition: border-color 0.18s, transform 0.18s;
}

.hero-sub-card:hover {
  border-color: var(--primary);
  transform: translateX(3px);
}

.hero-sub-thumb {
  width: 76px;
  height: 76px;
  border-radius: 9px;
  object-fit: cover;
  background: #131c31;
  flex-shrink: 0;
}

.hero-sub-info {
  flex: 1;
  min-width: 0;
}

.hero-sub-badges {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.hero-sub-title {
  font-size: 0.96rem;
  font-weight: 800;
  color: #fff;
  text-transform: capitalize;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-sub-desc {
  font-size: 0.76rem;
  color: #94a3b8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 2px;
}

/* Autonomous Channels Strip */
.channels-strip {
  padding: 10px 0 6px;
}

.channels-header {
  font-size: 0.79rem;
  color: #cbd5e1;
  margin-bottom: 8px;
}

.channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
  gap: 10px;
}

.channel-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: border-color 0.2s;
}

.channel-card:hover {
  border-color: var(--primary);
}

.channel-top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.channel-icon {
  font-size: 1.25rem;
}

.channel-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.channel-meta strong {
  font-size: 0.8rem;
  color: #fff;
  white-space: nowrap;
}

.channel-meta small {
  font-size: 0.67rem;
  color: #34d399;
  white-space: nowrap;
}

.channel-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.btn-channel-filter,
.btn-channel-like,
.btn-channel-sub {
  background: #080d18;
  border: 1px solid var(--border);
  color: #e2e8f0;
  padding: 4px 7px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-channel-sub.subscribed {
  background: rgba(16, 185, 129, 0.18);
  border-color: var(--primary);
  color: #34d399;
}

/* Main Content Layout */
.main-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  padding-bottom: 30px;
}

@media (max-width: 980px) {
  .main-layout {
    grid-template-columns: 1fr;
  }
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 1.24rem;
  font-weight: 800;
}

.meta-count {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Upgraded 16:9 Magazine Cards Grid */
.trends-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(295px, 1fr));
  gap: 18px;
}

.trend-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.trend-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}

.card-media-wrap {
  position: relative;
  width: 100%;
  height: 158px;
  background: #080f1d;
  overflow: hidden;
}

.card-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.trend-card:hover .card-media-img {
  transform: scale(1.05);
}

.card-media-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px 12px 9px;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 9, 18, 0.94) 100%);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.badge-rank {
  background: #1e293b;
  color: #cbd5e1;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 5px;
}

.badge-geo {
  background: rgba(59, 130, 246, 0.24);
  color: #93c5fd;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 5px;
}

.badge-traffic {
  background: rgba(16, 185, 129, 0.22);
  color: #34d399;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 5px;
}

.badge-cat {
  background: rgba(245, 158, 11, 0.22);
  color: #fbbf24;
  font-size: 0.69rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
}

.card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.trend-title {
  font-size: 1.08rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
  text-transform: capitalize;
  line-height: 1.3;
}

.trend-time {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-bottom: 9px;
}

.news-headline {
  font-size: 0.82rem;
  color: #cbd5e1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
  flex: 1;
}

.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.77rem;
  color: var(--text-muted);
  font-weight: 700;
  padding-top: 10px;
  border-top: 1px solid rgba(30, 45, 74, 0.65);
}

.watch-pill {
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  padding: 4px 10px;
  border-radius: 6px;
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}

.sidebar-card h3 {
  font-size: 0.98rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.sidebar-card p {
  font-size: 0.79rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-top: 1px solid var(--border);
  font-size: 0.83rem;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}

.modal-backdrop.hidden {
  display: none;
}

.modal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 100%;
  max-width: 880px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.75);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--surface);
  z-index: 10;
}

.modal-header h2 {
  font-size: 1.4rem;
  margin-top: 6px;
  text-transform: capitalize;
}

.modal-geo-badge,
.modal-traffic-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  margin-right: 6px;
}

.modal-geo-badge {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}

.modal-traffic-badge {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.modal-close {
  background: #1e293b;
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
}

.modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.modal-section h3 {
  font-size: 1.02rem;
  margin-bottom: 10px;
}

.video-player-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-player-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-thumbs-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.video-thumb-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.78rem;
}

.video-thumb-item.active {
  border-color: var(--primary);
}

.video-thumb-item img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 5px;
}

.seo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.btn-copy {
  background: var(--primary);
  color: #052e16;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
}

.seo-article-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  font-size: 0.92rem;
  white-space: pre-line;
  color: #e2e8f0;
  line-height: 1.65;
}

.modal-news-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-news-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.modal-news-item:hover {
  border-color: var(--blue);
}

.toast-alert {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #065f46;
  border: 1px solid #10b981;
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  z-index: 200;
}

.toast-alert.hidden {
  display: none;
}

/* ==========================================================================
   Web Push Notification Prompt & Floating Bell (Growth #2)
   ========================================================================== */
.push-prompt-banner {
  position: fixed;
  bottom: 84px;
  right: 24px;
  max-width: 420px;
  width: calc(100% - 32px);
  z-index: 9998;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.push-prompt-banner.hidden {
  display: none !important;
  transform: translateY(30px);
  opacity: 0;
}

.push-prompt-card {
  position: relative;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(11, 15, 25, 0.99));
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 25px rgba(56, 189, 248, 0.15);
  backdrop-filter: blur(16px);
}

.push-prompt-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.push-prompt-body {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.push-prompt-icon {
  font-size: 1.8rem;
  line-height: 1;
  padding: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

.push-prompt-title {
  font-size: 1.02rem;
  font-weight: 800;
  color: #fff;
  display: block;
  margin-bottom: 4px;
}

.push-prompt-desc {
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin: 0;
}

.push-prompt-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-push-allow {
  flex: 1;
  min-width: 140px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn-push-allow:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-push-dismiss {
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.btn-push-dismiss:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.push-prompt-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}

.push-prompt-close:hover {
  color: #fff;
}

/* Floating Alert Bell */
.floating-alert-bell {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border: 2px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9990;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-alert-bell:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.7);
}

.floating-alert-bell .bell-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.floating-alert-bell .bell-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #38bdf8;
  animation: bellPulse 2.4s infinite;
  opacity: 0;
  pointer-events: none;
}

@keyframes bellPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  70% { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

@media (max-width: 640px) {
  .push-prompt-banner {
    right: 16px;
    left: 16px;
    bottom: 76px;
    max-width: none;
    width: auto;
  }
  .floating-alert-bell {
    bottom: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
  }
  .floating-alert-bell .bell-icon {
    font-size: 1.15rem;
  }
}

/* ==========================================================================
   High-RPM Contextual Partner & Monetization Widgets (Monetization #3)
   ========================================================================== */
.stbac-partner-card {
  position: relative;
  border-radius: 14px;
  padding: 18px 22px;
  margin: 18px 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.stbac-partner-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.partner-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.partner-badge-pill {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid currentColor;
  text-transform: uppercase;
}

.partner-disclosure-tag {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 600;
}

.partner-content-grid {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 16px;
  align-items: center;
}

.partner-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.partner-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.partner-title {
  font-size: 1.02rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
  line-height: 1.35;
}

.partner-desc {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin: 0;
}

.partner-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.86rem;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  transition: filter 0.15s ease, transform 0.15s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.partner-cta-btn:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

.partner-footer-notice {
  font-size: 0.7rem;
  color: #64748b;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 8px;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .partner-content-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .partner-icon-box {
    display: none;
  }
  .partner-cta-btn {
    width: 100%;
  }
}

/* ==========================================================================
   Viral Sticky "Up Next" Reader Bar (Growth Engine #4)
   ========================================================================== */
.sticky-up-next-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(11, 15, 25, 0.96);
  border-top: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(14px);
  z-index: 9980;
  padding: 10px 16px;
  animation: slideUpSticky 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpSticky {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.sticky-up-next-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.up-next-pulse-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.up-next-live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff2a5f;
  box-shadow: 0 0 10px #ff2a5f;
  animation: liveDotPulse 1.6s infinite;
}

@keyframes liveDotPulse {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
  100% { transform: scale(0.9); opacity: 1; }
}

.up-next-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: #ff2a5f;
  letter-spacing: 0.06em;
}

.up-next-headline-link {
  flex: 1;
  min-width: 220px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.up-next-topic {
  font-size: 0.92rem;
  font-weight: 700;
  color: #f8fafc;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.up-next-headline-link:hover .up-next-topic {
  color: #38bdf8;
}

.up-next-volume {
  font-size: 0.76rem;
  font-weight: 700;
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 2px 8px;
  border-radius: 999px;
  flex-shrink: 0;
}

.up-next-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-read-next {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.btn-read-next:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}

.btn-dismiss-sticky {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.btn-dismiss-sticky:hover {
  color: #fff;
}

@media (max-width: 640px) {
  .sticky-up-next-bar {
    padding: 8px 12px;
  }
  .up-next-headline-link {
    min-width: 0;
    max-width: 190px;
  }
  .up-next-topic {
    font-size: 0.82rem;
  }
  .up-next-volume {
    display: none;
  }
  .btn-read-next {
    padding: 6px 12px;
    font-size: 0.78rem;
  }
}
