/* ============================================================
   FX SESSION CLOCK — shared design system
   Charcoal + vivid orange. LIGHT default, dark toggle.
   ============================================================ */

:root {
  /* light default */
  --bg: #FFFFFF;
  --bg-2: #F8FAFC;
  --card: #FFFFFF;
  --card-2: #F9FAFB;
  --line: #E5E7EB;
  --line-strong: #D1D5DB;
  --accent: #EA580C;
  --accent-bright: #F97316;
  --accent-soft: rgba(249,115,22,0.10);
  --accent-border: rgba(234,88,12,0.32);
  --text: #111827;
  --text-2: #4B5563;
  --text-3: #9CA3AF;
  --open: #16A34A;
  --open-soft: rgba(22,163,74,0.10);
  --closed: #9CA3AF;
  --live: #EF4444;
  --syd: #818CF8;
  --tok: #60A5FA;
  --lon: #FB923C;
  --ny: #EA580C;
  --nav-bg: rgba(255,255,255,0.88);
  --nav-shadow: 0 1px 0 rgba(17,24,39,0.04), 0 8px 24px -16px rgba(17,24,39,0.18);
  --card-grad: linear-gradient(180deg, #FFFFFF, #FBFCFD);
  --shadow: 0 20px 46px -28px rgba(17,24,39,0.30);
  --shadow-sm: 0 8px 24px -16px rgba(17,24,39,0.22);
  --band: linear-gradient(120deg, #111827 0%, #1F2937 70%);
  --dim: 0.5;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html[data-theme="dark"] {
  --bg: #111827;
  --bg-2: #0C111B;
  --card: #1A2331;
  --card-2: #202B3B;
  --line: #2A3547;
  --line-strong: #3A4658;
  --accent: #F97316;
  --accent-bright: #FB923C;
  --accent-soft: rgba(249,115,22,0.13);
  --accent-border: rgba(249,115,22,0.38);
  --text: #F9FAFB;
  --text-2: #9CA3AF;
  --text-3: #6B7280;
  --open: #22C55E;
  --open-soft: rgba(34,197,94,0.14);
  --closed: #4B5563;
  --live: #EF4444;
  --syd: #A5B4FC;
  --tok: #93C5FD;
  --lon: #FB923C;
  --ny: #F97316;
  --nav-bg: rgba(17,24,39,0.82);
  --nav-shadow: none;
  --card-grad: linear-gradient(180deg, #1A2331, #161E2B);
  --shadow: 0 24px 60px -28px rgba(0,0,0,0.7);
  --shadow-sm: 0 12px 30px -20px rgba(0,0,0,0.6);
  --band: linear-gradient(120deg, #0C111B 0%, #1A2331 70%);
  --dim: 0.42;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text); font-family: var(--sans);
  font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility; overflow-x: clip;
  transition: background-color .25s ease, color .25s ease;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.nav, .session-card, .card, .theme-btn, .tl-bar, .zar-table, .stat, .info-card,
.control, input, textarea { transition: background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease; }

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 50; background: var(--nav-bg);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line); box-shadow: var(--nav-shadow);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 16.5px; letter-spacing: -0.01em; white-space: nowrap; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; flex: 0 0 auto; background: linear-gradient(150deg, var(--accent-bright), #c2410c); display: grid; place-items: center; color: #fff; box-shadow: 0 0 0 1px rgba(249,115,22,0.25), 0 6px 16px -4px rgba(249,115,22,0.45); }
.brand-mark svg { width: 17px; height: 17px; }
.brand .clk { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: 4px; }
.nav-links a { color: var(--text-2); font-size: 14px; font-weight: 500; padding: 8px 13px; border-radius: 8px; transition: color .15s, background .15s; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--card-2); }
.nav-links a.active { color: var(--accent); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.theme-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--card); display: grid; place-items: center; color: var(--text-2); flex: 0 0 auto; }
.theme-btn:hover { color: var(--accent); border-color: var(--accent-border); }
.theme-btn svg { width: 18px; height: 18px; }
.theme-btn .i-sun, .theme-btn .i-moon { display: none; }
html[data-theme="dark"] .theme-btn .i-sun { display: block; }
html:not([data-theme="dark"]) .theme-btn .i-moon { display: block; }
.btn-accent { display: inline-flex; align-items: center; gap: 8px; background: var(--accent-bright); color: #fff; font-weight: 700; font-size: 14px; padding: 11px 18px; border-radius: 10px; border: 0; white-space: nowrap; box-shadow: 0 8px 22px -8px rgba(249,115,22,0.55); transition: transform .15s, box-shadow .15s, filter .15s; }
.btn-accent:hover { transform: translateY(-1px); filter: brightness(1.05); box-shadow: 0 12px 30px -8px rgba(249,115,22,0.65); }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; font-size: 14px; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--accent-border); background: transparent; transition: background .15s, border-color .15s; }
.btn-ghost:hover { background: var(--accent-soft); border-color: var(--accent); }
.nav-burger { display: none; width: 40px; height: 40px; border-radius: 9px; border: 1px solid var(--line-strong); background: transparent; color: var(--text); place-items: center; }

/* ============ LIVE BADGE ============ */
.live-badge { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--live); }
.live-badge .ld { width: 9px; height: 9px; border-radius: 50%; background: var(--live); animation: lpulse 1.3s infinite; }
@keyframes lpulse { 0%,100%{opacity:1; box-shadow:0 0 0 0 rgba(239,68,68,0.55);} 50%{opacity:0.4; box-shadow:0 0 0 7px rgba(239,68,68,0);} }

/* ============ HERO ============ */
.hero { padding: 40px 0 16px; position: relative; }
.hero::before { display: none; }
.hero-inner { position: relative; }
.hero-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.hero h1 { font-size: clamp(24px, 3vw, 34px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; }
.hero h1 .now-open { color: var(--accent); }
.hero-sub { color: var(--text-2); font-size: 15px; margin-top: 8px; }
.hero-clock { font-family: var(--mono); font-size: 13px; color: var(--text-3); text-align: right; }
.hero-clock .big { display: block; font-size: 20px; font-weight: 700; color: var(--text); letter-spacing: -0.01em; }

/* ============ SESSION CARDS ============ */
.sessions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 22px; }
.session-card {
  background: var(--card-grad); border: 1px solid var(--line); border-radius: 18px; padding: 22px;
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: opacity .3s ease, border-color .3s ease, box-shadow .3s ease, transform .3s ease, background-color .25s ease;
}
.session-card .accent-line { position: absolute; left: 0; top: 0; bottom: 0; width: 4px; }
.session-card.closed { opacity: var(--dim); }
.session-card.open { border-color: var(--open); box-shadow: 0 0 0 1px var(--open), 0 18px 40px -22px rgba(22,163,74,0.5); }
.sc-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 16px; }
.sc-name { font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
.sc-status { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.sc-status .sd { width: 7px; height: 7px; border-radius: 50%; }
.session-card.open .sc-status { color: var(--open); background: var(--open-soft); }
.session-card.open .sc-status .sd { background: var(--open); box-shadow: 0 0 0 0 rgba(34,197,94,0.6); animation: lpulse 1.6s infinite; }
.session-card.closed .sc-status { color: var(--text-3); background: var(--bg-2); }
.session-card.closed .sc-status .sd { background: var(--closed); }
.sc-time { font-family: var(--mono); font-weight: 700; font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.02em; line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.sc-city { font-family: var(--mono); font-size: 11.5px; color: var(--text-3); margin-top: 6px; }
.sc-sast { display: flex; align-items: baseline; gap: 6px; margin-top: 14px; font-size: 12.5px; color: var(--text-2); }
.sc-sast .v { font-family: var(--mono); font-weight: 600; color: var(--text); }
.sc-prog { margin-top: 16px; }
.sc-prog .pt { height: 6px; border-radius: 999px; background: var(--bg-2); overflow: hidden; }
.sc-prog .pf { height: 100%; border-radius: 999px; transition: width 1s linear; }
.sc-prog .pl { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; color: var(--text-3); margin-top: 7px; }

/* next open countdown line */
.next-open { margin-top: 22px; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 14px; color: var(--text-2); flex-wrap: wrap; text-align: center; }
.next-open b { color: var(--text); }
.next-open .cd { font-family: var(--mono); font-weight: 700; color: var(--accent); font-size: 16px; }

/* ============ FxPro STRIP ============ */
.fx-strip { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--accent-soft); border: 1px solid var(--accent-border); border-radius: 14px; padding: 15px 22px; margin: 26px 0 6px; }
.fx-strip p { font-size: 14.5px; font-weight: 500; }
.fx-strip p b { color: var(--accent); }
.fx-strip .dyn { color: var(--text-2); }

/* ============ 24H TIMELINE ============ */
.timeline-sec { padding: 40px 0 20px; }
.section-head { margin-bottom: 18px; }
.section-head h2 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; letter-spacing: -0.02em; }
.section-head .sub { color: var(--text-2); font-size: 14px; margin-top: 5px; }
.tl-wrap { background: var(--card-grad); border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px 20px; box-shadow: var(--shadow-sm); }
.tl-legend { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 20px; }
.tl-legend .li { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--text-2); }
.tl-legend .sw { width: 12px; height: 12px; border-radius: 4px; }
.tl-rows { position: relative; }
.tl-row { display: grid; grid-template-columns: 78px 1fr; align-items: center; gap: 14px; height: 38px; }
.tl-row .rl { font-family: var(--mono); font-size: 11.5px; font-weight: 600; color: var(--text-2); text-align: right; }
.tl-track { position: relative; height: 22px; background: var(--bg-2); border-radius: 7px; }
.tl-seg { position: absolute; top: 0; bottom: 0; border-radius: 7px; opacity: 0.92; }
.tl-bar { position: relative; height: 1px; }
.tl-axis { display: grid; grid-template-columns: 78px 1fr; gap: 14px; margin-top: 10px; }
.tl-axis .ticks { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; color: var(--text-3); }
.tl-now-overlay { position: absolute; top: 0; bottom: 16px; left: 92px; right: 0; pointer-events: none; }
.tl-now { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--accent); z-index: 5; }
.tl-now::before { content: "NOW"; position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: 0.08em; color: #fff; background: var(--accent); padding: 2px 6px; border-radius: 4px; white-space: nowrap; }
.tl-overlay-note { margin-top: 16px; font-size: 13px; color: var(--text-2); display: flex; align-items: center; gap: 8px; }
.tl-overlay-note .star { color: var(--accent); }

/* ============ ZAR TABLE ============ */
.zar-sec { padding: 30px 0 20px; }
.zar-table { width: 100%; border-collapse: collapse; background: var(--card-grad); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); }
.zar-table th { text-align: left; font-family: var(--mono); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-3); padding: 13px 18px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.zar-table td { padding: 15px 18px; font-size: 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.zar-table tr:last-child td { border-bottom: 0; }
.zar-table .pair { font-family: var(--mono); font-weight: 700; font-size: 14px; }
.zar-table .best { font-weight: 600; }
.rating { display: inline-flex; gap: 3px; }
.rating .b { width: 7px; height: 14px; border-radius: 2px; background: var(--line-strong); }
.rating .b.on { background: var(--accent); }
.tag { display: inline-flex; align-items: center; font-family: var(--mono); font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 3px 9px; border-radius: 999px; }
.tag.prime { color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-border); }
.tag.good { color: var(--open); background: var(--open-soft); border: 1px solid rgba(34,197,94,0.3); }
.tag.ok { color: var(--text-3); background: var(--bg-2); border: 1px solid var(--line); }

/* ============ GENERIC PAGE ============ */
.page { padding: 48px 0 72px; }
.page-hd { max-width: 760px; margin-bottom: 32px; }
.page-hd h1 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; margin-top: 16px; }
.page-hd .lede { color: var(--text-2); font-size: 17px; margin-top: 14px; line-height: 1.6; }
.card { background: var(--card-grad); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); }
.prose { max-width: 760px; }
.prose h2 { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; margin: 34px 0 12px; }
.prose h3 { font-size: 16px; font-weight: 600; margin: 24px 0 8px; }
.prose p { color: var(--text-2); font-size: 15.5px; line-height: 1.7; margin-bottom: 14px; }
.prose ul { color: var(--text-2); font-size: 15.5px; line-height: 1.7; margin: 0 0 16px 20px; }
.prose li { margin-bottom: 7px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a.inline { color: var(--accent); font-weight: 600; border-bottom: 1px solid var(--accent-border); }
.info-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 20px; }
.info-card { background: var(--card-grad); border: 1px solid var(--line); border-radius: 14px; padding: 20px; box-shadow: var(--shadow-sm); }
.info-card .ic-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 12px; }
.info-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.info-card p { font-size: 13.5px; color: var(--text-2); line-height: 1.55; }

.stats-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.stat { background: var(--card-2); border: 1px solid var(--line); border-radius: 13px; padding: 18px; text-align: center; }
.stat .sv { font-family: var(--mono); font-weight: 700; font-size: 22px; color: var(--accent); }
.stat .sk { font-size: 12px; color: var(--text-3); margin-top: 5px; }

/* forms */
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 13px; font-weight: 500; color: var(--text-2); margin-bottom: 7px; }
.form-field input, .form-field textarea { width: 100%; background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: 11px; color: var(--text); font-family: var(--sans); font-size: 15px; padding: 13px 14px; outline: none; }
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form-note { font-size: 12.5px; color: var(--text-3); margin-top: 10px; }
.review-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.review-card { padding: 28px; }

/* ============ BOTTOM CTA BAND ============ */
.cta-band { background: var(--band); border-top: 1px solid var(--line); margin-top: 12px; }
.cta-band-inner { padding: 56px 0; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.cta-band .cb-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; color: #fff; margin-bottom: 16px; }
.cta-band .cb-logo .pro { color: var(--accent-bright); }
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 700; letter-spacing: -0.02em; color: #fff; line-height: 1.1; }
.cta-band p { color: #9CA3AF; font-size: 15px; margin-top: 12px; max-width: 460px; }
.cta-band .cb-stats { display: flex; gap: 26px; margin-top: 22px; flex-wrap: wrap; }
.cta-band .cb-stats .s .v { font-family: var(--mono); font-weight: 700; font-size: 18px; color: var(--accent-bright); }
.cta-band .cb-stats .s .k { font-size: 12px; color: #9CA3AF; margin-top: 3px; }
.cta-band .cb-right { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.cta-band .cb-right .big { font-size: 16px; color: #D1D5DB; }
.cta-band .btn-accent { font-size: 15px; padding: 15px 26px; }
.cta-band .cb-disc { font-size: 11.5px; color: #6B7280; line-height: 1.5; }

/* ============ FOOTER ============ */
.footer { border-top: 1px solid var(--line); padding: 52px 0 36px; background: var(--bg-2); }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.footer-brand .brand { margin-bottom: 12px; }
.footer-brand p { color: var(--text-3); font-size: 13px; line-height: 1.6; max-width: 280px; }
.fcol h4 { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); margin-bottom: 13px; font-family: var(--mono); }
.fcol a { display: block; color: var(--text-2); font-size: 14px; padding: 5px 0; transition: color .15s; }
.fcol a:hover { color: var(--accent); }
.footer-disc { margin-top: 26px; }
.footer-disc p { font-size: 12px; color: var(--text-3); line-height: 1.6; max-width: 940px; margin-bottom: 10px; }
.footer-disc b { color: var(--text-2); font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }
.footer-bottom { margin-top: 24px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: var(--text-3); font-size: 12.5px; }

/* ============ MOBILE STICKY BANNER ============ */
.mobile-banner { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--bg-2); border-top: 1px solid var(--line); padding: 7px 12px; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 -8px 24px -12px rgba(0,0,0,0.3); }
.mobile-banner img { display: block; max-width: 100%; height: 50px; border-radius: 5px; }
.mobile-banner .mb-fallback { display: none; align-items: center; gap: 10px; width: 100%; max-width: 320px; height: 50px; background: linear-gradient(120deg,var(--accent-bright),#c2410c); border-radius: 7px; padding: 0 14px; }
.mobile-banner .mb-fallback.show { display: flex; }
.mobile-banner .mb-fallback .l { font-weight: 800; color: #fff; font-size: 15px; }
.mobile-banner .mb-fallback .r { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--accent); background: #fff; padding: 6px 12px; border-radius: 6px; }
.mb-close { position: absolute; top: -10px; right: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--card); border: 1px solid var(--line-strong); color: var(--text-2); display: grid; place-items: center; font-size: 13px; line-height: 1; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1000px) {
  .sessions { grid-template-columns: 1fr 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .cta-band-inner { grid-template-columns: 1fr; gap: 28px; }
  .info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-burger { display: grid; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .mobile-banner { display: flex; }
  body { padding-bottom: 74px; }
  .tl-row { grid-template-columns: 64px 1fr; }
  .tl-axis { grid-template-columns: 64px 1fr; }
  .zar-wrap { overflow-x: auto; }
  .zar-table { min-width: 560px; }
  .stats-row { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .sessions { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .nav-right .btn-accent span.full { display: none; }
}

/* ============ v2 ADDITIONS ============ */
/* hero: cards are the hero — compact status, no marketing paragraph */
.hero h1 { font-size: clamp(18px, 2vw, 24px); font-weight: 700; letter-spacing: -0.01em; }
.hero h1 .now-open { color: var(--accent); }

/* per-session orange label */
.sc-tag { font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.04em; color: var(--accent); margin-top: 4px; }
.session-card.closed .sc-tag { color: var(--text-3); }

/* MOST ACTIVE NOW badge */
.sc-active-badge { display: none; align-items: center; gap: 5px; position: absolute; top: 12px; right: 12px; font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: var(--accent); padding: 3px 8px; border-radius: 999px; }
.session-card.most-active .sc-active-badge { display: inline-flex; }
.session-card.most-active { box-shadow: 0 0 0 1px var(--open), 0 0 0 4px var(--accent-soft), 0 18px 40px -22px rgba(234,88,12,0.45); }

/* London + NY overlap banner (between cards and timeline) */
.overlap-banner { display: none; align-items: center; justify-content: center; gap: 10px; margin: 18px 0 0; padding: 13px 18px; background: var(--accent-soft); border: 1px solid var(--accent-border); border-radius: 12px; font-weight: 700; font-size: 14px; color: var(--accent); text-align: center; }
.overlap-banner.show { display: flex; }
.overlap-banner .bolt { font-size: 16px; }

/* striped ZAR table rows */
.zar-table tbody tr:nth-child(even) { background: var(--bg-2); }

/* when-to-avoid list */
.avoid-sec { padding: 30px 0 20px; }
.avoid-list { list-style: none; padding: 0; margin: 18px 0 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--card); box-shadow: var(--shadow-sm); }
.avoid-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.avoid-list li:last-child { border-bottom: 0; }
.avoid-list .when { font-family: var(--mono); font-size: 12.5px; font-weight: 700; color: var(--live); flex: 0 0 200px; }
.avoid-list .why { font-size: 14px; color: var(--text-2); }
.avoid-list .why b { color: var(--text); font-weight: 600; }
@media (max-width: 600px) { .avoid-list li { flex-direction: column; gap: 4px; } .avoid-list .when { flex-basis: auto; } }
html { overflow-y: scroll; scrollbar-gutter: stable; }
html::-webkit-scrollbar { width: 8px; }
html::-webkit-scrollbar-track { background: var(--bg-2, #F8FAFC); }
html::-webkit-scrollbar-thumb { background: var(--line-strong, #D1D5DB); border-radius: 4px; }

/* ============ PROSE CONTENT STYLES ============ */
.prose-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 0 64px;
}
.prose h1 { font-size: clamp(26px,3.5vw,40px); font-weight:700; letter-spacing:-0.02em; line-height:1.1; margin-bottom:14px; }
.prose h2 { font-size: clamp(18px,2.2vw,24px); font-weight:700; letter-spacing:-0.01em; margin:40px 0 12px; }
.prose h2:first-child { margin-top:0; }
.prose h3 { font-size:16px; font-weight:700; margin:24px 0 8px; }
.prose p { color:var(--text-2); font-size:15px; line-height:1.75; margin-bottom:14px; }
.prose p:last-child { margin-bottom:0; }
.prose strong { color:var(--text); font-weight:600; }
.prose em { font-style:italic; }
.prose a { color:var(--accent); text-decoration:underline; text-underline-offset:3px; }
.prose hr { border:0; border-top:1px solid var(--line); margin:28px 0; }
.prose ul { color:var(--text-2); font-size:15px; line-height:1.75; margin:0 0 16px 22px; display:flex; flex-direction:column; gap:6px; }
.prose ol { color:var(--text-2); font-size:15px; line-height:1.75; margin:0 0 16px 22px; display:flex; flex-direction:column; gap:6px; }
.prose li { }
/* Tables */
.prose-table-wrap { overflow-x:auto; margin:24px 0; }
.prose table { width:100%; border-collapse:collapse; min-width:400px; }
.prose th { text-align:left; font-family:var(--mono); font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:0.07em; color:var(--text-3); padding:10px 16px; border-bottom:1px solid var(--line); white-space:nowrap; }
.prose td { padding:11px 16px; font-size:14px; border-bottom:1px solid var(--line); color:var(--text-2); vertical-align:top; line-height:1.55; }
.prose tbody tr:last-child td { border-bottom:0; }
.prose tbody tr:hover td { background:var(--hover, rgba(255,255,255,0.02)); }
/* Page hero */
.page-hero { padding:48px 0 40px; border-bottom:1px solid var(--line); margin-bottom:0; }
.page-hero h1 { font-size:clamp(28px,4vw,42px); font-weight:700; letter-spacing:-0.02em; line-height:1.1; margin-bottom:14px; }
.page-hero .lede { color:var(--text-2); font-size:16px; max-width:620px; line-height:1.6; }
/* Section eyebrow */
.eyebrow-label { font-family:var(--mono); font-size:11px; text-transform:uppercase; letter-spacing:0.12em; color:var(--accent); margin-bottom:12px; }
/* Callout box */
.prose-callout { padding:16px 20px; background:var(--accent-soft); border:1px solid var(--accent-border); border-radius:6px; margin:22px 0; }
.prose-callout p { font-size:14px; color:var(--text-2); margin:0; }


/* ============ MOBILE NAV ============ */
.nav-overlay { display:none; position:fixed; inset:0; z-index:48; background:rgba(0,0,0,0.5); }
.nav-overlay.open { display:block; }
.nav-burger { display:none; width:40px; height:40px; background:transparent; border:1px solid var(--line); border-radius:7px; color:var(--text); place-items:center; flex-shrink:0; }
.flag-za { width:22px; height:15px; border-radius:2px; object-fit:cover; flex-shrink:0; margin-left:6px; }
.mb-cta-fallback { display:none; position:fixed; bottom:0; left:0; right:0; z-index:40; }
@media (max-width: 900px) {
  .nav-burger { display:grid; }
  .nav-links { display:none; position:fixed; top:0; right:0; bottom:0; width:280px; z-index:49; flex-direction:column; padding:20px; gap:4px; overflow-y:auto; background:var(--card,#fff); border-left:1px solid var(--line); transform:translateX(100%); transition:transform .25s cubic-bezier(.4,0,.2,1); }
  .nav-links.open { display:flex; transform:translateX(0); }
  .nav-right .full { display:none; }
  .nav-right .btn-accent { font-size:12px; padding:7px 12px; }
  .nav-right .nav-cta { display:none; }
}
@media (max-width: 560px) {
  .wrap { padding:0 16px; }
  body { padding-bottom:70px; }
  .mobile-banner { display:flex; }
}

/* ============ INFO SIDEBAR TOC (JS-generated, must be unscoped) ============ */
.toc-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.toc-card h5 { font-family: var(--mono); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-3); margin-bottom: 10px; }
.toc-ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; display: flex; flex-direction: column; gap: 2px; }
.toc-ol li { counter-increment: toc; }
.toc-ol li a { display: flex; align-items: baseline; gap: 10px; padding: 7px 10px; border-radius: 7px; font-size: 13px; color: var(--text-2); line-height: 1.4; transition: color .15s, background .15s; text-decoration: none; }
.toc-ol li a::before { content: counter(toc, decimal-leading-zero); font-family: var(--mono); font-size: 11px; color: var(--text-3); flex-shrink: 0; transition: color .15s; }
.toc-ol li a:hover { color: var(--text); background: var(--card-2); }
.toc-ol li a:hover::before { color: var(--accent); }
.toc-ol li a.toc-active { color: var(--accent); background: var(--accent-soft); }
.toc-ol li a.toc-active::before { color: var(--accent); }
