/* ═══════════════════════════════════════════════════════════════
   lore-brief.css — Shared Design System for Lore Intelligence Briefs
   Version 1.0 — Built 2026-04-06
   Covers: Fajr · Dhuhr · Asr · Maghrib · Isha
   ═══════════════════════════════════════════════════════════════ */

/* ─── ROOT VARIABLES ─── */
:root {
  --bg:       #0c0e14;
  --s1:       #141820;
  --s2:       #1c2232;
  --s3:       #222840;
  --border:   #252d40;
  --border2:  #2e3858;
  --text:     #e6eaf5;
  --text2:    #b4bcd4;
  --muted:    #68789a;
  --accent:   #4a8eff;
  --now:      #e84040;
  --next:     #e8960a;
  --later:    #1db860;
  --now-bg:   rgba(232,64,64,0.09);
  --next-bg:  rgba(232,150,10,0.09);
  --later-bg: rgba(29,184,96,0.09);
  --gold:     #c4a052;
  --warm:     #e8964a;
  --warm-bg:  rgba(232,150,74,0.09);
}

/* ─── BASE RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, 'SF Pro Text', 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  padding-top: 36px;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─── LANG BAR ─── */
.lang-bar {
  position: fixed; top: 0; left: 0; right: 0; height: 36px;
  background: #0d0f14; border-bottom: 1px solid #2a3045;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; z-index: 9999; font-size: 12px; gap: 12px;
}
.lang-bar-left { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--muted); }
.lang-bar-left a { color: var(--muted); font-size: 11px; }
.lang-bar-left a:hover { color: var(--text); }
.lang-bar .lang-active { color: #e8eaf0; font-weight: 600; }
.lang-bar .lang-sep { color: #2a3045; }
.lang-bar .lang-link { color: #7a8099; text-decoration: none; transition: color 0.15s; }
.lang-bar .lang-link:hover { color: #e8eaf0; }

/* ─── HEADER (base) ─── */
.header {
  border-bottom: 1px solid var(--border);
  padding: 40px 24px 32px;
  text-align: center;
  position: relative;
}
.header::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
}
.header-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 12px;
}
.header h1 {
  font-size: 26px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--text); margin-bottom: 6px;
}
.header-sub { color: var(--muted); font-size: 13px; letter-spacing: 0.04em; }

/* ─── HUMAN EDITION BADGE ─── */
.human-edition-badge {
  display: inline-block; margin-top: 12px;
  background: rgba(232,150,74,0.12); border: 1px solid rgba(232,150,74,0.3);
  border-radius: 20px; padding: 4px 14px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--warm);
}

/* ─── LAYOUT ─── */
.container { max-width: 820px; margin: 0 auto; padding: 28px 18px 72px; }

.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
  margin: 36px 0 16px; display: flex; align-items: center; gap: 10px;
}
.section-label::before { display: none; }
.section-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ─── OPENING ARGUMENT ─── */
.opening-arg {
  background: linear-gradient(135deg, #141928, #161c2c);
  border: 1px solid var(--border2);
  border-left: 4px solid var(--accent);
  border-radius: 14px;
  padding: 26px 28px 24px;
  font-size: 16px; color: var(--text2);
  line-height: 1.8;
  box-shadow: 0 2px 16px rgba(0,0,0,0.35);
}
.opening-arg .oa-label {
  font-size: 10px; font-weight: 800; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}

/* ─── THREAD QUOTE ─── */
.thread {
  background: rgba(196,160,82,0.06);
  border: 1px solid rgba(196,160,82,0.25);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 14px; color: var(--text2); line-height: 1.7; font-style: italic;
}

/* ─── BADGE SYSTEM ─── */
.badge {
  display: inline-flex; align-items: center;
  font-size: 10px; font-weight: 800; letter-spacing: 0.1em;
  padding: 3px 9px; border-radius: 20px; text-transform: uppercase; white-space: nowrap;
}
.badge-NOW     { background: var(--now-bg);   color: var(--now);   border: 1px solid rgba(232,64,64,0.3); }
.badge-NEXT    { background: var(--next-bg);  color: var(--next);  border: 1px solid rgba(232,150,10,0.3); }
.badge-LATER   { background: var(--later-bg); color: var(--later); border: 1px solid rgba(29,184,96,0.3); }
.badge-VERIFY  { background: rgba(232,150,10,0.09); color: #f5c842; border: 1px solid rgba(245,200,66,0.3); }
.badge-WARM    { background: var(--warm-bg);  color: var(--warm);  border: 1px solid rgba(232,150,74,0.3); }
.badge-RESULT  { background: rgba(29,184,96,0.1); color: var(--later); border: 1px solid rgba(29,184,96,0.3); }
.badge-END     { background: rgba(196,160,82,0.1); color: var(--gold); border: 1px solid rgba(196,160,82,0.3); }
.badge-NBA     { background: rgba(74,142,255,0.1); color: var(--accent); border: 1px solid rgba(74,142,255,0.3); }
.badge-TOMORROW { background: rgba(232,150,74,0.12); color: var(--warm); border: 1px solid rgba(232,150,74,0.35); }

/* ─── TENSION INDICATORS ─── */
.tension { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; padding: 2px 8px; border-radius: 20px; white-space: nowrap; }
.tension-up   { color: var(--now);   background: var(--now-bg);   border: 1px solid rgba(232,64,64,0.2); }
.tension-hold { color: var(--next);  background: var(--next-bg);  border: 1px solid rgba(232,150,10,0.2); }
.tension-down { color: var(--later); background: var(--later-bg); border: 1px solid rgba(29,184,96,0.2); }

/* ─── SIGNAL CARDS (Asr style — with border) ─── */
.signal-card {
  background: var(--s1); border: 1px solid var(--border);
  border-left: 3px solid var(--border);
  border-radius: 12px; padding: 16px 18px; margin-bottom: 10px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.28);
}
.signal-card.now  { border-left-color: var(--now); }
.signal-card.next { border-left-color: var(--next); }
.signal-card.verify { border-left-color: #f5c842; }
.sc-top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.sc-domain { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.07em; }
.sc-headline { font-size: 15px; font-weight: 600; color: var(--text); line-height: 1.45; margin-bottom: 6px; }
.sc-body { font-size: 13px; color: var(--text2); line-height: 1.6; margin-bottom: 6px; }
.sc-so-what { font-size: 13px; color: var(--next); font-weight: 600; margin-top: 6px; }
.sc-src { font-size: 11px; color: var(--muted); margin-top: 4px; }

/* Signal cards (Maghrib style — no border-left) */
.signal-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.signal-card-headline { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 6px; line-height: 1.4; }
.signal-card-body { font-size: 13px; color: var(--text2); line-height: 1.65; }
.signal-card-source { font-size: 11px; color: var(--muted); margin-top: 8px; }

/* ─── TRACKER GRID ─── */
.tracker-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 540px) { .tracker-grid { grid-template-columns: 1fr; } }

.tc {
  background: var(--s1); border: 1px solid var(--border);
  border-left: 3px solid var(--border); border-radius: 14px;
  padding: 20px 20px 16px; display: block; text-decoration: none;
  transition: transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 14px rgba(0,0,0,0.4);
}
.tc:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.55); text-decoration: none; }
.tc-now   { border-left-color: var(--now); }
.tc-next  { border-left-color: var(--next); }
.tc-later { border-left-color: var(--later); }
.tc-emoji { font-size: 26px; margin-bottom: 10px; display: block; }
.tc-toprow { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 8px; flex-wrap: wrap; }
.tc-name { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); flex: 1; }
.tc-headline { font-size: 15px; font-weight: 600; color: var(--text); line-height: 1.45; margin-bottom: 8px; }
.tc-delta { font-size: 12px; color: var(--muted); background: var(--s2); border-radius: 7px; padding: 6px 10px; margin-bottom: 10px; border-left: 2px solid var(--border2); line-height: 1.45; }
.tc-delta strong { color: var(--text2); }
.tc-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 10px; }
.tc-time { font-size: 11px; color: var(--muted); }
.tc-link { font-size: 11px; color: var(--accent); font-weight: 600; }

/* ─── PULSE ANIMATIONS ─── */
.pulse { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; vertical-align: middle; animation: pulse-anim 2.2s infinite; }
.pulse-red { background: var(--now); }
.pulse-amb { background: var(--next); }
.pulse-grn { background: var(--later); }
@keyframes pulse-anim { 0%,100%{ opacity:1; } 50%{ opacity:0.25; } }

/* ─── LOCAL PULSE CARD ─── */
.pulse-card { background: var(--s1); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.pulse-header { display: flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--s2); border-bottom: 1px solid var(--border); }
.pulse-header-flag { font-size: 16px; }
.pulse-header-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.pulse-row { padding: 10px 16px; border-bottom: 1px solid var(--border); font-size: 13px; color: var(--text2); line-height: 1.55; }
.pulse-row:last-child { border-bottom: none; }
.pulse-row strong { color: var(--text); }

.pulse-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 540px) { .pulse-grid { grid-template-columns: 1fr; } }

/* ─── WEEK CARD ─── */
.week-card { background: var(--s1); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.week-row { display: flex; align-items: flex-start; gap: 14px; padding: 12px 18px; border-bottom: 1px solid var(--border); font-size: 14px; }
.week-row:last-child { border-bottom: none; }
.week-date { font-size: 11px; font-weight: 700; color: var(--muted); min-width: 46px; padding-top: 2px; }
.week-event { color: var(--text2); flex: 1; line-height: 1.45; }
.week-event.hi { color: var(--text); font-weight: 600; }
.week-cat { font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 10px; text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; margin-left: auto; }
.wc-geo    { background: var(--now-bg); color: var(--now); }
.wc-sport  { background: rgba(74,142,255,0.09); color: var(--accent); }
.wc-market { background: var(--later-bg); color: var(--later); }
.wc-tech   { background: rgba(196,160,82,0.09); color: var(--gold); }

/* ─── WATCH LIST ─── */
.watch-list { list-style: none; }
.watch-item {
  display: flex; gap: 12px; padding: 12px 16px;
  background: var(--s1); border: 1px solid var(--border);
  border-radius: 10px; margin-bottom: 8px;
  font-size: 14px; color: var(--text2); line-height: 1.55;
}
.watch-item::before { content: '👁'; flex-shrink: 0; }

/* ─── CARRY CARD ─── */
.carry-card { background: var(--s1); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.carry-row { display: flex; align-items: flex-start; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text2); line-height: 1.55; }
.carry-row:last-child { border-bottom: none; }
.carry-row::before { content: '🔄'; flex-shrink: 0; font-size: 13px; margin-top: 2px; }

/* ─── PTK CARD (Asr/Fajr style) ─── */
.ptk-card {
  background: linear-gradient(135deg, #13161f, #191c28);
  border: 1px solid var(--border2); border-radius: 14px;
  padding: 24px 26px; box-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
.ptk-header { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 18px; }
.ptk-photo {
  width: 72px; height: 72px; border-radius: 50%;
  object-fit: cover; object-position: center top;
  border: 2px solid var(--border2); flex-shrink: 0;
}
.ptk-meta { flex: 1; }
.ptk-label { font-size: 10px; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.ptk-name { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.ptk-title { font-size: 13px; color: var(--text2); line-height: 1.4; }
.ptk-why { font-size: 14px; color: var(--text2); line-height: 1.7; margin-bottom: 16px; }
.ptk-quote {
  background: rgba(196,160,82,0.06); border: 1px solid rgba(196,160,82,0.2);
  border-left: 3px solid var(--gold); border-radius: 8px;
  padding: 12px 16px; font-size: 14px; color: var(--text2);
  font-style: italic; line-height: 1.6; margin-bottom: 14px;
}
.ptk-hidden-layer {
  background: rgba(232,64,64,0.04); border: 1px solid rgba(232,64,64,0.2);
  border-left: 3px solid var(--now); border-radius: 10px; padding: 14px 18px; margin-top: 14px;
}
.ptk-hl-label { font-size: 10px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--now); margin-bottom: 8px; }
.ptk-hl-text { font-size: 13px; color: var(--text2); line-height: 1.7; }

/* ─── PERSON CARD (Maghrib style) ─── */
.person-card {
  background: linear-gradient(135deg, #161c2c, #1a2235);
  border: 1px solid var(--border2); border-radius: 14px;
  padding: 22px 24px; box-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
.person-label { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.person-meta { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 18px; }
.person-photo { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid var(--border2); flex-shrink: 0; }
.person-photo-ph { width: 80px; height: 80px; border-radius: 50%; background: var(--s3); border: 2px solid var(--border2); display: flex; align-items: center; justify-content: center; font-size: 28px; flex-shrink: 0; }
.person-info { flex: 1; }
.person-name { font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.person-title { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.person-portrait { font-size: 14px; color: var(--text2); line-height: 1.75; }
.person-portrait p + p { margin-top: 12px; }
.what-to-watch { margin-top: 16px; }
.wtw-label { font-size: 10px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }

/* ─── TECH SPOTLIGHT ─── */
.tech-spotlight {
  background: linear-gradient(135deg, #0f1626, #131d30);
  border: 1px solid rgba(74,142,255,0.3); border-left: 4px solid var(--accent);
  border-radius: 14px; padding: 24px 26px; box-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
.ts-label { font-size: 10px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.ts-title { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 12px; line-height: 1.4; }
.ts-body { font-size: 14px; color: var(--text2); line-height: 1.75; }

/* ─── COUNTDOWN WIDGET ─── */
.countdown-widget {
  background: linear-gradient(135deg, #18140a, #201a0e);
  border: 1px solid rgba(196,160,82,0.4); border-left: 4px solid var(--gold);
  border-radius: 12px; padding: 16px 20px; margin-top: 16px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.cd-label { font-size: 10px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.cd-display { font-size: 22px; font-weight: 700; color: var(--gold); font-variant-numeric: tabular-nums; }
.cd-sub { font-size: 11px; color: var(--muted); }

/* ─── CONTESTED CARD ─── */
.contested-card {
  background: rgba(232,64,64,0.04);
  border: 1px solid rgba(232,64,64,0.25); border-left: 4px solid var(--now);
  border-radius: 12px; padding: 18px 20px;
}
.contested-label { font-size: 10px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--now); margin-bottom: 10px; }
.contested-claim { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.contested-row { font-size: 13px; color: var(--text2); line-height: 1.6; margin-bottom: 6px; }
.contested-why { font-size: 13px; color: var(--next); line-height: 1.6; margin-top: 8px; font-weight: 600; }

/* ─── SURPRISE CARD ─── */
.surprise-card {
  background: linear-gradient(135deg, #141a20, #0f1620);
  border: 1px solid rgba(74,142,255,0.2); border-left: 4px solid var(--accent);
  border-radius: 12px; padding: 18px 20px;
}
.surprise-label { font-size: 10px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.surprise-body { font-size: 14px; color: var(--text2); line-height: 1.7; }

/* ─── PROBABILITY CARD ─── */
.prob-card { background: var(--s1); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.prob-row { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--border); font-size: 13px; }
.prob-row:last-child { border-bottom: none; }
.prob-event { color: var(--text2); flex: 1; line-height: 1.45; }
.prob-pct { font-size: 14px; font-weight: 700; color: var(--text); min-width: 44px; text-align: right; }
.prob-dir { font-size: 12px; width: 16px; text-align: center; }
.prob-note { font-size: 11px; color: var(--muted); margin-top: 2px; }

/* Probability block (deep dive style) */
.prob-block {
  background: rgba(0,0,0,0.3); border: 1px solid var(--border2);
  border-radius: 10px; padding: 16px 18px; margin: 18px 0;
}
.prob-title { font-size: 10px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.prob-bar-wrap { flex: 1; background: var(--s2); border-radius: 4px; height: 6px; overflow: hidden; }
.prob-bar { height: 6px; border-radius: 4px; }
.prob-bar-green { background: var(--later); }
.prob-bar-red { background: var(--now); }
.prob-bar-amber { background: var(--next); }
.prob-bar-muted { background: var(--muted); }
.prob-label { font-size: 12px; color: var(--text2); flex: 1; min-width: 0; }

/* ─── LIVE CAST CARD ─── */
.livecast-card { background: var(--s1); border: 1px solid var(--border2); border-radius: 14px; overflow: hidden; box-shadow: 0 2px 14px rgba(0,0,0,0.4); }
.livecast-header { display: flex; align-items: center; justify-content: space-between; padding: 10px 18px; background: var(--s2); border-bottom: 1px solid var(--border); }
.lc-label { font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--accent); }
.lc-note { font-size: 11px; color: var(--muted); }
.lc-rows { display: flex; flex-direction: column; gap: 8px; padding: 12px; }
.lc-row { display: flex; flex-direction: column; padding: 14px 16px; background: var(--s2); border: 1px solid var(--border2); border-radius: 10px; }
.lc-top { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.lc-portrait { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--border2); background: var(--s2); }
.lc-portrait.deceased { filter: grayscale(100%); opacity: 0.7; border-color: #555; }
.lc-flag { font-size: 15px; flex-shrink: 0; }
.lc-info { flex: 1; min-width: 0; }
.lc-name { font-weight: 700; color: var(--text); font-size: 14px; margin-bottom: 2px; line-height: 1.3; }
.lc-role { font-size: 11px; color: var(--muted); line-height: 1.3; }
.lc-status { color: var(--text2); line-height: 1.6; font-size: 13px; }

/* ─── SPORTS STRIP (new unified layout) ─── */
.sports-strip { display: flex; flex-direction: column; gap: 8px; }
.sport-card { background: var(--s1); border: 1px solid var(--border2); border-radius: 10px; padding: 12px 16px; }
.sport-card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.sport-badge { width: 38px; height: 38px; border-radius: 50%; background: var(--s2); border: 1px solid var(--border2); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.sport-league { flex: 1; min-width: 0; }
.sport-league-name { font-weight: 700; font-size: 14px; color: var(--text); line-height: 1.3; }
.sport-league-comp { font-size: 11px; color: var(--muted); line-height: 1.3; }
.sport-pill { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 10px; white-space: nowrap; flex-shrink: 0; }
.sport-pill.win  { color: var(--later); background: var(--later-bg); border: 1px solid rgba(29,184,96,0.3); }
.sport-pill.loss { color: var(--now); background: var(--now-bg); border: 1px solid rgba(232,64,64,0.3); }
.sport-pill.upcoming { color: var(--next); background: var(--next-bg); border: 1px solid rgba(232,150,10,0.3); }
.sport-pill.info { color: var(--accent); background: rgba(74,142,255,0.09); border: 1px solid rgba(74,142,255,0.2); }
.sport-status-line { font-size: 13px; color: var(--text2); line-height: 1.6; }
.sport-status-line strong { color: var(--text); }

/* ─── CULTURAL STRIP ─── */
.cultural-strip { display: flex; flex-direction: column; gap: 8px; }
.cultural-card { background: var(--s1); border: 1px solid var(--border2); border-radius: 10px; padding: 12px 16px; }

/* ─── CONSTRUCTIVE SIGNAL (Maghrib) ─── */
.constructive-card {
  background: linear-gradient(135deg, #0f1a14, #121e18);
  border: 1px solid rgba(29,184,96,0.3);
  border-left: 4px solid var(--later);
  border-radius: 14px; padding: 22px 24px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.3);
}
.constructive-label { font-size: 10px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--later); margin-bottom: 12px; }
.constructive-headline { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 12px; line-height: 1.4; }
.constructive-body { font-size: 14px; color: var(--text2); line-height: 1.75; }
.constructive-body p + p { margin-top: 10px; }
.stat-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.stat-chip { background: rgba(29,184,96,0.1); border: 1px solid rgba(29,184,96,0.25); border-radius: 8px; padding: 4px 10px; font-size: 12px; font-weight: 700; color: var(--later); }

/* ─── TEXTURE CARD (Maghrib) ─── */
.texture-card {
  background: linear-gradient(135deg, #13161f, #1a1d2a);
  border: 1px solid rgba(196,160,82,0.35);
  border-left: 4px solid var(--gold);
  border-radius: 14px; padding: 24px 26px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
.texture-label { font-size: 10px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.texture-observation { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 14px; line-height: 1.4; }
.texture-why { font-size: 14px; color: var(--text2); line-height: 1.78; }
.texture-why p + p { margin-top: 10px; }

/* ─── GO DEEPER CARD ─── */
.go-deeper-card {
  background: linear-gradient(135deg, #0f1824, #131e2e);
  border: 1px solid var(--border2); border-left: 4px solid var(--accent);
  border-radius: 14px; padding: 22px 24px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.4);
}
.gd-label { font-size: 10px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.gd-headline { font-size: 17px; font-weight: 700; color: var(--text); line-height: 1.4; margin-bottom: 8px; }
.gd-body { font-size: 14px; color: var(--text2); line-height: 1.75; }
.gd-body p + p { margin-top: 10px; }
.gd-source { font-size: 11px; color: var(--muted); margin-top: 10px; }

/* ─── TRACKER DEEP DIVE CARD ─── */
.tracker-card {
  background: linear-gradient(135deg, #1a0e0e, #1e1212);
  border: 1px solid rgba(232,64,64,0.3); border-left: 4px solid var(--now);
  border-radius: 14px; padding: 24px 26px;
  box-shadow: 0 2px 20px rgba(232,64,64,0.08);
}
.tracker-label { font-size: 10px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--now); margin-bottom: 8px; }
.tracker-headline { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 10px; line-height: 1.35; }
.tracker-deadline {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(232,64,64,0.12); border: 1px solid rgba(232,64,64,0.3);
  border-radius: 8px; padding: 5px 12px; font-size: 12px; font-weight: 700;
  color: var(--now); margin-bottom: 16px;
}
.tracker-body { font-size: 14px; color: var(--text2); line-height: 1.78; }
.tracker-body p + p { margin-top: 12px; }
.tracker-source { font-size: 11px; color: var(--muted); margin-top: 14px; }

/* ─── NBA CARD ─── */
.nba-card {
  background: linear-gradient(135deg, #141a24, #161e2e);
  border: 1px solid var(--border2); border-radius: 12px; padding: 18px 20px;
}
.nba-label { font-size: 10px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.nba-headline { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 6px; line-height: 1.35; }
.nba-stat-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.nba-stat { background: rgba(196,160,82,0.1); border: 1px solid rgba(196,160,82,0.25); border-radius: 8px; padding: 4px 10px; font-size: 12px; font-weight: 700; color: var(--gold); }
.nba-body { font-size: 13px; color: var(--text2); line-height: 1.65; }

/* ─── LIVE SIGNALS STRIP ─── */
#live-signals-strip { display: none; background: #0d0f14; border-bottom: 1px solid #1e2330; padding: 8px 24px; max-width: 820px; margin: 0 auto; }
#live-signals-strip.has-signals { display: block; }
.live-signal { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 12px; color: #e8e4dc; }
.live-signal .pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: #c9a84c; animation: pulse-ld 2s infinite; flex-shrink: 0; }
@keyframes pulse-ld { 0%,100%{opacity:1} 50%{opacity:0.4} }

/* ─── FOOTER ─── */
.footer {
  text-align: center; color: var(--muted); font-size: 12px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border);
  letter-spacing: 0.04em; line-height: 1.9;
}

/* ═══════════════════════════════════════════════════════════════
   BRIEF-TYPE OVERRIDES — Header gradients & brief-specific styles
   ═══════════════════════════════════════════════════════════════ */

/* FAJR + ASR + DHUHR — Night/morning blue-cold */
body.brief-fajr .header,
body.brief-asr .header,
body.brief-dhuhr .header {
  background: linear-gradient(160deg, #0a0c12 0%, #0f1228 55%, #0a0e1c 100%);
}
body.brief-fajr .header::before,
body.brief-asr .header::before,
body.brief-dhuhr .header::before {
  background: linear-gradient(90deg, transparent 0%, #e84040 25%, #e8960a 60%, #4a8eff 100%);
}

/* MAGHRIB — Warm sunset */
body.brief-maghrib .header {
  background: linear-gradient(160deg, #120d0a 0%, #1a1210 40%, #0e111a 100%);
}
body.brief-maghrib .header::before {
  background: linear-gradient(90deg, transparent, #e8964a 25%, #c4a052 55%, #e87040 80%, transparent);
}
body.brief-maghrib .opening-arg {
  border-left: 4px solid var(--warm);
  background: linear-gradient(135deg, #161210, #1a1614);
  border-color: rgba(232,150,74,0.25);
}
body.brief-maghrib .opening-arg .oa-label {
  color: var(--warm);
}

/* ISHA — Deep night blue-purple */
body.brief-isha .header {
  background: linear-gradient(160deg, #080c14 0%, #0b1020 55%, #08091a 100%);
}
body.brief-isha .header::before {
  background: linear-gradient(90deg, transparent, #3a6abf 30%, #6a4aff 65%, transparent);
}
