/* ═══════════════════════════════════════════════
   LineScout.net — Main Stylesheet
   Requires: theme.css (CSS variables)
═══════════════════════════════════════════════ */

/* ── Reset & Base ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--txt);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px; line-height: 1.6; min-height: 100vh; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* ── Typography ─────────────────────────────────── */
h1, h2, h3, h4, h5 { color: var(--txt); line-height: 1.15; letter-spacing: -0.02em; }

/* ── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500; padding: 7px 16px;
  border-radius: 7px; border: 0.5px solid transparent;
  cursor: pointer; transition: all 0.15s; white-space: nowrap;
  font-family: inherit; text-decoration: none;
}
.btn-primary  { background: var(--green); color: #041a0f; border-color: var(--green); }
.btn-primary:hover { opacity: 0.88; }
.btn-ghost    { background: transparent; color: var(--txt); border-color: var(--bd2); }
.btn-ghost:hover { background: var(--s3); border-color: var(--bd3); }
.btn-outline  { background: transparent; color: var(--txt); border-color: var(--bd2); }
.btn-outline:hover { background: var(--s3); }
.btn-submit {
  width: 100%; padding: 11px;
  background: linear-gradient(135deg, var(--green), #20b87e);
  color: #041a0f; font-size: 14px; font-weight: 600;
  border: none; border-radius: 7px; cursor: pointer; margin-top: 4px; transition: opacity 0.15s;
}
.btn-submit:hover { opacity: 0.9; }
.btn-hero-primary {
  font-size: 15px; font-weight: 600; padding: 13px 28px; border-radius: 8px;
  background: var(--green); color: #041a0f; border: none; cursor: pointer;
  transition: all 0.2s; text-decoration: none; display: inline-flex; align-items: center;
}
.btn-hero-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(45,224,160,0.25); }
.btn-hero-secondary {
  font-size: 15px; font-weight: 500; padding: 13px 28px; border-radius: 8px;
  background: var(--s2); color: var(--txt); border: 0.5px solid var(--bd2);
  cursor: pointer; transition: all 0.15s; text-decoration: none; display: inline-flex; align-items: center;
}
.btn-hero-secondary:hover { background: var(--s3); border-color: var(--bd3); }

/* ── Badges ─────────────────────────────────────── */
.badge {
  display: inline-block; font-size: 10px; font-weight: 600; padding: 2px 7px;
  border-radius: 4px; letter-spacing: 0.04em; text-transform: uppercase; vertical-align: middle;
}
.badge-live { background: var(--green-bg); color: var(--green); border: 0.5px solid var(--green-bd); }
.badge-soon { background: var(--amber-bg); color: var(--amber); border: 0.5px solid var(--amber-bd); }
.badge-lock { background: var(--s3); color: var(--mut); }
.feature-badge { margin-left: 6px; }

/* ── Live chip ──────────────────────────────────── */
.live-chip {
  display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 500;
  color: var(--red); padding: 4px 10px; border-radius: 20px;
  background: var(--red-bg); border: 0.5px solid var(--red-bd); white-space: nowrap;
}
.live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--red);
  animation: blink 1.4s ease-in-out infinite; flex-shrink: 0;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.25} }
.ml-6 { margin-left: 6px; }

/* ═══════════════════════════════════════════════
   TOPNAV
═══════════════════════════════════════════════ */
.topnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300; height: 56px;
  background: var(--nav-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 0.5px solid var(--nav-border); display: flex; align-items: center;
  padding: 0 20px; gap: 6px;
}
.nav-logo { display: flex; align-items: center; gap: 9px; text-decoration: none; margin-right: 14px; flex-shrink: 0; }
.logo-icon {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.logo-text { font-size: 16px; font-weight: 700; color: var(--txt); letter-spacing: -0.3px; }
.logo-tld  { color: var(--mut); font-weight: 400; }
.nav-links { display: flex; gap: 2px; flex: 1; overflow: hidden; }
.nlink {
  font-size: 13px; font-weight: 500; padding: 6px 11px; border-radius: 6px;
  color: var(--mut); background: none; border: none; cursor: pointer; transition: all 0.15s;
  white-space: nowrap; text-decoration: none; display: inline-flex; align-items: center; gap: 4px;
}
.nlink:hover { color: var(--txt); background: var(--s3); }
.nlink-disabled { opacity: 0.5; cursor: default; pointer-events: none; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-user  { font-size: 12px; color: var(--mut); font-weight: 500; }

/* Odds toggle */
.odds-toggle { display: flex; gap: 1px; background: var(--s3); border: 0.5px solid var(--bd2); border-radius: 6px; padding: 2px; }
.odds-btn { font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 4px; border: none; background: transparent; color: var(--mut); cursor: pointer; transition: all 0.12s; }
.odds-btn.active { background: var(--s1); color: var(--txt); box-shadow: 0 1px 3px rgba(0,0,0,0.2); }

/* Theme toggle */
.theme-btn {
  width: 32px; height: 32px; border-radius: 6px; border: 0.5px solid var(--bd2);
  background: var(--s2); color: var(--txt); display: flex; align-items: center;
  justify-content: center; font-size: 15px; cursor: pointer; transition: all 0.15s;
}
.theme-btn:hover { background: var(--s3); border-color: var(--bd3); }
.theme-icon-dark  { display: var(--icon-dark-display, inline); }
.theme-icon-light { display: var(--icon-light-display, none); }

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
.hero { padding: 110px 20px 56px; text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -180px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(123,143,245,0.07) 0%, transparent 65%); pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--blue);
  background: var(--blue-bg); border: 0.5px solid var(--blue-bd); padding: 5px 12px;
  border-radius: 20px; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(34px, 6vw, 62px); font-weight: 700; color: #fff; line-height: 1.08; letter-spacing: -2px; margin-bottom: 16px; }
.grad-text { background: linear-gradient(135deg, var(--green), var(--blue)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { font-size: 17px; color: var(--mut); max-width: 500px; margin: 0 auto 28px; line-height: 1.65; font-weight: 400; }
.hero-ctas { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.hero-note { font-size: 12px; color: var(--hint); }
.text-green { color: var(--green); }

/* ═══════════════════════════════════════════════
   LIVE SCORES SECTION
═══════════════════════════════════════════════ */
.section-live { max-width: 1080px; margin: 0 auto; padding: 0 20px 60px; }
.section-tag { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.stag { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; color: var(--mut); }
.stag-hint { font-size: 11px; color: var(--hint); margin-left: auto; }
.sport-pills { display: flex; gap: 6px; margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.sport-pills::-webkit-scrollbar { display: none; }
.spill { font-size: 12px; font-weight: 500; padding: 6px 14px; border-radius: 20px; border: 0.5px solid var(--bd2); color: var(--mut); background: transparent; cursor: pointer; white-space: nowrap; transition: all 0.15s; }
.spill:hover { background: var(--s3); color: var(--txt); border-color: var(--bd3); }
.spill.on    { background: var(--blue-bg); color: var(--blue); border-color: var(--blue-bd); font-weight: 600; }

/* ── Score cards grid ───────────────────────────── */
.scores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.no-scores { grid-column: 1/-1; text-align: center; padding: 48px; color: var(--mut); font-size: 13px; }

.score-card { background: var(--s1); border: 0.5px solid var(--bd); border-radius: 10px; overflow: hidden; transition: border-color 0.15s; cursor: default; }
.score-card:hover { border-color: var(--bd2); }
.score-card.live-card { border-color: rgba(241,107,114,0.2); }

.sc-bar { background: var(--s2); padding: 5px 10px; display: flex; align-items: center; justify-content: space-between; border-bottom: 0.5px solid var(--bd); gap: 8px; }
.sc-sport { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--mut); }
.sc-time  { font-size: 10px; color: var(--mut); flex: 1; text-align: center; }

.follow-btn {
  width: 26px; height: 26px; border-radius: 5px; border: 0.5px solid var(--bd2);
  background: transparent; color: var(--mut); font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.15s; flex-shrink: 0; padding: 0;
}
.follow-btn:hover { background: var(--blue-bg); border-color: var(--blue-bd); color: var(--blue); }
.follow-locked { cursor: pointer; }
.follow-locked:hover { background: var(--s3); }

.sc-body  { padding: 7px 10px; }
.sc-row   { display: flex; align-items: center; justify-content: space-between; padding: 3px 0; }
.sc-team  { font-size: 13px; font-weight: 500; color: var(--txt); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; }
.sc-team.lead { color: var(--green); }
.sc-score { font-size: 18px; font-weight: 700; font-family: 'DM Mono', monospace; color: var(--txt); margin-left: 12px; }
.sc-score.lead { color: var(--green); }
.sc-divider { height: 0.5px; background: var(--bd); margin: 3px 0; }

.sc-odds { display: flex; align-items: center; justify-content: space-between; padding: 5px 10px; border-top: 0.5px solid var(--bd); background: var(--s2); gap: 8px; }
.sc-odd { font-size: 11px; color: var(--mut); display: flex; flex-direction: column; align-items: center; gap: 2px; flex: 1; }
.sc-odd strong { font-family: 'DM Mono', monospace; font-size: 13px; color: var(--txt); font-weight: 500; }
.sc-book { padding: 5px 13px; font-size: 10px; color: var(--hint); border-top: 0.5px solid var(--bd); text-align: right; }

/* Follow upsell */
.follow-upsell { background: var(--s1); border: 0.5px solid var(--blue-bd); border-radius: 10px; padding: 16px 18px; display: flex; align-items: center; gap: 14px; margin-top: 16px; flex-wrap: wrap; }
.fu-icon { width: 38px; height: 38px; border-radius: 9px; background: var(--blue-bg); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.fu-text { flex: 1; min-width: 180px; }
.fu-text strong { font-size: 13px; font-weight: 600; color: var(--txt); display: block; margin-bottom: 3px; }
.fu-text p { font-size: 12px; color: var(--mut); }

/* ═══════════════════════════════════════════════
   FEATURES SECTION
═══════════════════════════════════════════════ */
.section-features { max-width: 1080px; margin: 0 auto; padding: 56px 20px; border-top: 0.5px solid var(--bd); }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(24px, 4vw, 38px); font-weight: 700; color: #fff; letter-spacing: -1px; margin-bottom: 10px; }
.section-head p { font-size: 14px; color: var(--mut); max-width: 400px; margin: 0 auto; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.feat-card { background: var(--s1); border: 0.5px solid var(--bd); border-radius: 12px; padding: 20px; position: relative; overflow: hidden; transition: border-color 0.2s, transform 0.2s; }
.feat-card:hover { border-color: var(--bd2); transform: translateY(-2px); }
.feat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1.5px; }
.free-card::before    { background: linear-gradient(90deg, var(--green), transparent); }
.starter-card::before { background: linear-gradient(90deg, var(--blue), transparent); }
.pro-card::before     { background: linear-gradient(90deg, var(--amber), transparent); }
.sharp-card::before   { background: linear-gradient(90deg, var(--purple), transparent); }
.card-soon { opacity: 0.7; }
.coming-soon-overlay { position: absolute; inset: 0; background: rgba(7,8,14,0.55); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border-radius: 12px; z-index: 2; }
.coming-soon-overlay span { font-size: 22px; }
.coming-soon-overlay strong { font-size: 13px; font-weight: 600; color: var(--txt); }
.coming-soon-overlay small { font-size: 11px; color: var(--mut); font-family: 'DM Mono', monospace; }
.feat-tier-label { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; padding: 3px 9px; border-radius: 20px; display: inline-block; margin-bottom: 14px; }
.t-free    { background: var(--green-bg);  color: var(--green); }
.t-fan     { background: rgba(34,211,238,0.1); color: #22d3ee; }
.t-starter { background: var(--blue-bg);   color: var(--blue); }
.t-pro     { background: var(--amber-bg);  color: var(--amber); }
.t-sharp   { background: var(--purple-bg); color: var(--purple); }
.feat-icon { width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 12px; }
.fi-green  { background: var(--green-bg); }
.fi-blue   { background: var(--blue-bg); }
.fi-amber  { background: var(--amber-bg); }
.fi-purple { background: var(--purple-bg); }
.feat-card h3 { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 7px; letter-spacing: -0.2px; }
.feat-card p  { font-size: 12px; color: var(--mut); line-height: 1.6; margin-bottom: 12px; }
.feat-list { list-style: none; display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.feat-list li { font-size: 12px; color: var(--mut); display: flex; align-items: center; gap: 7px; line-height: 1.4; }
.feat-list li::before { content: '✓'; color: var(--green); font-size: 11px; font-weight: 700; flex-shrink: 0; }
.feat-status { margin-top: 8px; }

/* ═══════════════════════════════════════════════
   AUTH MODAL
═══════════════════════════════════════════════ */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.65); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 500; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal { background: var(--s2); border: 0.5px solid var(--bd3); border-radius: 16px; width: 100%; max-width: 400px; max-height: 90vh; overflow-y: auto; padding: 26px; position: relative; transform: translateY(12px); transition: transform 0.25s; }
.modal-overlay.open .modal { transform: translateY(0); }
.modal-close { position: absolute; top: 14px; right: 14px; width: 28px; height: 28px; border-radius: 6px; border: 0.5px solid var(--bd2); background: var(--s3); color: var(--mut); font-size: 15px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.15s; }
.modal-close:hover { color: var(--txt); background: var(--s4); }
.modal-logo { text-align: center; margin-bottom: 16px; }
.modal-logo .logo-icon { margin: 0 auto; width: 40px; height: 40px; border-radius: 11px; font-size: 14px; }
.modal h2 { font-size: 19px; font-weight: 700; color: #fff; text-align: center; margin-bottom: 4px; letter-spacing: -0.3px; }
.modal p  { font-size: 12px; color: var(--mut); text-align: center; margin-bottom: 18px; }
.modal-tabs { display: flex; gap: 3px; background: var(--s3); border-radius: 7px; padding: 3px; margin-bottom: 18px; }
.mtab { flex: 1; padding: 7px; border-radius: 5px; font-size: 13px; font-weight: 500; color: var(--mut); border: none; background: transparent; cursor: pointer; transition: all 0.15s; }
.mtab.on { background: var(--s1); color: var(--txt); box-shadow: 0 1px 4px rgba(0,0,0,0.2); }
.form-group { margin-bottom: 13px; display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: 11px; font-weight: 500; color: var(--mut); text-transform: uppercase; letter-spacing: 0.06em; }
.form-group input { background: var(--s3); border: 0.5px solid var(--bd2); border-radius: 7px; padding: 9px 12px; font-size: 13px; color: var(--txt); font-family: inherit; outline: none; transition: border-color 0.15s; width: 100%; }
.form-group input:focus { border-color: var(--blue-bd); }
.form-group input::placeholder { color: var(--hint); }
.form-hint  { font-size: 10px; color: var(--hint); }
.form-error { background: var(--red-bg); border: 0.5px solid var(--red-bd); color: var(--red); font-size: 12px; padding: 8px 10px; border-radius: 6px; margin-bottom: 8px; }
.form-footer { text-align: center; font-size: 12px; color: var(--mut); margin-top: 12px; }
.form-footer a { color: var(--blue); text-decoration: underline; }

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.site-footer { border-top: 0.5px solid var(--bd); background: var(--s1); margin-top: 40px; }
.footer-inner { max-width: 1080px; margin: 0 auto; padding: 40px 20px; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; }
.footer-brand .logo-icon  { width: 28px; height: 28px; border-radius: 7px; font-size: 11px; }
.footer-brand .logo-text  { font-size: 15px; font-weight: 700; color: var(--txt); letter-spacing: -0.3px; display: flex; align-items: center; gap: 7px; margin-bottom: 8px; }
.footer-tagline { font-size: 12px; color: var(--mut); line-height: 1.6; max-width: 260px; }
.footer-col h5 { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--mut); margin-bottom: 12px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: 13px; color: var(--hint); text-decoration: none; transition: color 0.15s; }
.footer-col ul li a:hover { color: var(--txt); }
.footer-bottom { border-top: 0.5px solid var(--bd); padding: 16px 20px; text-align: center; }
.footer-bottom p { font-size: 11px; color: var(--hint); }

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .topnav { padding: 0 14px; }
  .hero { padding: 90px 16px 40px; }
  .hero h1 { font-size: 36px; letter-spacing: -1.5px; }
  .hero-sub { font-size: 15px; }
  .section-live, .section-features { padding-left: 14px; padding-right: 14px; }
  .scores-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
  .follow-upsell { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .btn-hero-primary, .btn-hero-secondary { justify-content: center; }
  .footer-inner { grid-template-columns: 1fr; }
  .stag-hint { display: none; }
}

/* ═══════════════════════════════════════════════
   LIGHT MODE OVERRIDES
═══════════════════════════════════════════════ */
[data-theme="light"] .hero h1,
[data-theme="light"] .feat-card h3,
[data-theme="light"] .modal h2,
[data-theme="light"] .section-head h2  { color: #111827; }
[data-theme="light"] .score-card,
[data-theme="light"] .feat-card,
[data-theme="light"] .follow-upsell,
[data-theme="light"] .modal             { box-shadow: var(--shadow-sm); }
[data-theme="light"] .btn-hero-secondary { background: #fff; }
[data-theme="light"] .coming-soon-overlay { background: rgba(244,245,247,0.75); }
[data-theme="light"] .coming-soon-overlay strong { color: #111827; }

/* ── Score card additions ──────────────────────── */
.sc-live-status { display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: var(--red); }
.sc-period      { font-size: 11px; color: var(--red); }
.sc-team-block  { display: flex; align-items: center; gap: 7px; flex: 1; min-width: 0; }
.sc-logo        { width: 18px; height: 18px; object-fit: contain; flex-shrink: 0; }
.sc-abbr        { font-size: 9px; font-weight: 700; color: var(--hint); letter-spacing: 0.04em; flex-shrink: 0; min-width: 28px; }
.sc-record      { font-size: 10px; color: var(--hint); font-family: 'DM Mono', monospace; flex-shrink: 0; }
.sc-odd-label   { font-size: 9px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--hint); display: block; margin-bottom: 2px; }
.sc-book-tag    { font-size: 9px; color: var(--hint); align-self: flex-end; margin-left: auto; }
.sc-ml-row      { display: flex; align-items: center; gap: 4px; }
.sc-ml-sep      { font-size: 10px; color: var(--hint); }

/* ── Live clock & timezone toggle ─────────────── */
.clock-wrap { display: flex; align-items: center; gap: 6px; background: var(--s2); border: 0.5px solid var(--bd2); border-radius: 8px; padding: 5px 10px 5px 12px; }
.clock-display { font-family: 'DM Mono', monospace; font-size: 12px; font-weight: 500; color: var(--txt); white-space: nowrap; letter-spacing: 0.02em; min-width: 165px; }
.tz-toggle { display: flex; gap: 1px; background: var(--s3); border: 0.5px solid var(--bd); border-radius: 5px; padding: 2px; flex-shrink: 0; }
.tz-btn { font-size: 10px; font-weight: 700; padding: 3px 7px; border-radius: 3px; border: none; background: transparent; color: var(--mut); cursor: pointer; transition: all 0.12s; letter-spacing: 0.04em; }
.tz-btn.active { background: var(--s1); color: var(--green); box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
.tz-btn:hover:not(.active) { color: var(--txt); }
@media (max-width: 600px) { .clock-wrap { display: none; } }

/* ── Dark mode contrast ────────────────────────── */
[data-theme="dark"] { --mut: #8890b0; --hint: #464d6a; }

/* ══════════════════════════════════════════════
   DATE NAVIGATION
══════════════════════════════════════════════ */
.date-nav { display: flex; align-items: center; justify-content: center; gap: 0; background: var(--s1); border: 0.5px solid var(--bd); border-radius: 8px; padding: 4px; margin-bottom: 14px; width: fit-content; }
.date-arrow { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 6px; color: var(--mut); font-size: 18px; font-weight: 600; text-decoration: none; transition: all .15s; }
.date-arrow:hover { background: var(--s3); color: var(--txt); }
.date-center { display: flex; align-items: center; gap: 10px; padding: 0 12px; }
.date-label { font-size: 13px; font-weight: 600; color: var(--txt); min-width: 100px; text-align: center; }
.date-label.is-today { color: var(--green); }
.date-today-link { font-size: 11px; color: var(--blue); text-decoration: underline; }

/* ══════════════════════════════════════════════
   SUB-LEAGUE PILLS
══════════════════════════════════════════════ */
.sub-pills { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; padding: 8px 12px; background: var(--s2); border-radius: 8px; border: 0.5px solid var(--bd); }
.sub-pill-group { display: flex; flex-wrap: wrap; gap: 5px; width: 100%; }
.spill-sub { font-size: 11px; font-weight: 500; padding: 4px 11px; border-radius: 20px; border: 0.5px solid var(--bd2); color: var(--mut); background: transparent; cursor: pointer; white-space: nowrap; transition: all .15s; }
.spill-sub:hover { background: var(--s3); border-color: var(--bd2); color: var(--txt); }
.spill-sub.on    { background: var(--blue-bg); border-color: var(--blue-bd); color: var(--blue); font-weight: 600; }

/* ══════════════════════════════════════════════
   REFRESH BAR
══════════════════════════════════════════════ */
.refresh-bar { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--hint); margin-bottom: 12px; }
.refresh-timer { font-family: var(--mono, monospace); color: var(--mut); min-width: 24px; }
.refresh-now-btn { font-size: 11px; color: var(--blue); background: none; border: none; cursor: pointer; padding: 2px 6px; border-radius: 4px; transition: background .15s; }
.refresh-now-btn:hover { background: var(--blue-bg); }

/* ══════════════════════════════════════════════
   SCORES SECTION LABELS & SEPARATORS
══════════════════════════════════════════════ */
.scores-section-label { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 10px; margin-top: 6px; }
.scores-section-count { font-size: 10px; padding: 1px 6px; border-radius: 10px; background: var(--s3); color: var(--mut); font-weight: 500; }
.label-live     { color: var(--red); }
.label-upcoming { color: var(--mut); }
.label-final    { color: var(--hint); }
.scores-divider { border: none; border-top: 1.5px dashed var(--bd2); margin: 16px 0; }
.scores-divider-final { border-top-color: var(--hint); opacity: .5; }

/* ══════════════════════════════════════════════
   SCORE CARD VARIANTS
══════════════════════════════════════════════ */
.live-card {
  border-color: rgba(45,224,160,0.3) !important;
  border-left: 2px solid var(--green) !important;
}
.live-card .sc-bar { background: linear-gradient(90deg, rgba(45,224,160,0.06), transparent); }
.final-card { background: var(--bg) !important; opacity: .78; }
.final-card:hover { opacity: .9; border-color: var(--bd2) !important; }
.final-card .sc-body .sc-team { color: var(--mut); }
.final-card .sc-bar { background: var(--s1); }
.final-grid .score-card { opacity: .75; }
.final-grid .score-card:hover { opacity: .95; }
.sc-final-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--hint); }

/* ══════════════════════════════════════════════
   SPORT LABEL COLORS
══════════════════════════════════════════════ */
.sc-sport { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; padding: 2px 6px; border-radius: 4px; }
.sport-football   { color: var(--amber);  background: var(--amber-bg); }
.sport-basketball { color: var(--purple); background: var(--purple-bg); }
.sport-baseball   { color: var(--blue);   background: var(--blue-bg); }
.sport-hockey     { color: #22d3ee; background: rgba(34,211,238,0.09); }
.sport-soccer     { color: var(--green);  background: var(--green-bg); }
.sport-other      { color: var(--mut);    background: var(--s3); }

/* ══════════════════════════════════════════════
   HOW IT WORKS & STATS
══════════════════════════════════════════════ */
.hiw-section { background: linear-gradient(180deg, var(--bg), var(--s1)); border-top: 0.5px solid var(--bd); border-bottom: 0.5px solid var(--bd); padding: 60px 20px; }
.hiw-inner { max-width: 900px; margin: 0 auto; }
.hiw-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-top: 40px; position: relative; }
.hiw-steps::before { content: ''; position: absolute; top: 28px; left: 12%; right: 12%; height: 0.5px; background: linear-gradient(90deg, var(--green), var(--blue), var(--amber), var(--purple)); opacity: .35; }
.hiw-step { text-align: center; padding: 0 10px; }
.hiw-num { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-size: 18px; font-weight: 700; position: relative; z-index: 1; }
.hiw-step h4 { font-size: 14px; font-weight: 600; color: var(--txt); margin-bottom: 6px; }
.hiw-step p  { font-size: 12px; color: var(--mut); line-height: 1.6; }
.stats-band { background: var(--s1); border-top: 0.5px solid var(--bd); border-bottom: 0.5px solid var(--bd); padding: 40px 20px; }
.stats-band-inner { max-width: 800px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.stat-band-item { text-align: center; }
.stat-band-val { font-size: 42px; font-weight: 700; font-family: 'DM Mono', monospace; background: linear-gradient(135deg, var(--green), var(--blue)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; margin-bottom: 6px; }
.stat-band-label { font-size: 13px; color: var(--mut); }

/* ══════════════════════════════════════════════
   PRICING
══════════════════════════════════════════════ */
.pricing-section { max-width: 1080px; margin: 0 auto; padding: 60px 20px; }
.pricing-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.price-card { background: var(--s1); border: 0.5px solid var(--bd); border-radius: 10px; padding: 20px; position: relative; overflow: hidden; transition: border-color .2s; }
.price-card:hover { border-color: var(--bd2); }
.price-card-featured { border-color: var(--blue-bd) !important; background: linear-gradient(180deg, var(--s2), var(--s1)); }
.price-popular-badge { position: absolute; top: 0; left: 50%; transform: translateX(-50%); font-size: 10px; font-weight: 600; background: var(--blue); color: #fff; padding: 3px 12px; border-radius: 0 0 8px 8px; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.price-tier-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; margin-top: 8px; }
.price-name   { font-size: 22px; font-weight: 700; color: var(--txt); letter-spacing: -.4px; margin-bottom: 6px; }
.price-desc   { font-size: 12px; color: var(--mut); line-height: 1.5; margin-bottom: 16px; }
.price-amount { margin-bottom: 16px; }
.price-val    { font-size: 38px; font-weight: 700; color: var(--txt); letter-spacing: -1.5px; font-family: 'DM Mono', monospace; }
.price-per    { font-size: 12px; color: var(--mut); }
.price-cta    { width: 100%; padding: 10px; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; font-family: inherit; margin-bottom: 18px; transition: opacity .15s; }
.price-cta:hover { opacity: .88; }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.price-features li { font-size: 12px; color: var(--mut); display: flex; align-items: flex-start; gap: 7px; line-height: 1.4; }
.pf-check { color: var(--green); font-weight: 700; flex-shrink: 0; font-size: 11px; }
.pf-x     { color: var(--hint);  font-weight: 700; flex-shrink: 0; font-size: 11px; }
.price-divider { height: 0.5px; background: var(--bd); margin: 6px 0; }
.cta-section { text-align: center; padding: 60px 20px; border-top: 0.5px solid var(--bd); }
.cta-section h2 { font-size: clamp(26px,5vw,44px); font-weight: 700; color: #fff; letter-spacing: -1.5px; margin-bottom: 12px; }
.cta-section p  { font-size: 15px; color: var(--mut); max-width: 420px; margin: 0 auto 24px; }

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .hiw-steps    { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hiw-steps::before { display: none; }
  .stats-band-inner { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 600px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .date-nav { width: 100%; justify-content: space-between; }
  .hiw-steps { grid-template-columns: 1fr; }
}

/* Multi-select pill hint */
.multiselect-hint { font-size: 10px; color: var(--hint); margin-left: auto; align-self: center; white-space: nowrap; }

/* ══════════════════════════════════════════════
   FOLLOWED GAMES SECTION
══════════════════════════════════════════════ */

/* Section label */
.label-followed { color: #f5b731; }
.label-followed .scores-section-count {
  background: rgba(245,183,49,0.12);
  color: #f5b731;
}

/* Cards containing a followed star get subtle gold accent */
.score-card:has(.follow-btn.following) {
  border-left: 2px solid rgba(245,183,49,0.45) !important;
}
.score-card:has(.follow-btn.following) .sc-bar {
  background: linear-gradient(90deg, rgba(245,183,49,0.06), transparent) !important;
}

/* Gold follow button — overrides the default blue hover */
.follow-btn.following {
  background: rgba(245,183,49,0.12) !important;
  border-color: rgba(245,183,49,0.4) !important;
  color: #f5b731 !important;
}