/* ─────────────────────────────────────────────────────────────────────
   hot · cold — standalone moodpiece for raghavahuja.com/lab
   Cobalt design system inlined. Does NOT use site.css.
   ───────────────────────────────────────────────────────────────────── */

:root {
  /* dark mode only */
  --paper:    #0c0c0e;
  --bone:     #16161a;
  --sub:      #1e1e23;
  --rule:     rgba(245, 240, 230, 0.10);
  --soft-rule: rgba(245, 240, 230, 0.06);
  --ink:      #f5f0e6;
  --dim:      rgba(245, 240, 230, 0.62);
  --mute:     rgba(245, 240, 230, 0.38);
  --accent:   #5b8cff;
  --accent-ink: #0c0c0e;
  --accent-soft: rgba(91, 140, 255, 0.14);
  --pos:      #7ad28a;

  /* hot / cold side hues — restrained: lines and inks, not fills */
  --hot:        #c8553d;
  --hot-soft:   rgba(200, 85, 61, 0.16);
  --hot-glow:   rgba(200, 85, 61, 0.28);
  --cold:       #5b8cff;
  --cold-soft:  rgba(91, 140, 255, 0.18);
  --cold-glow:  rgba(91, 140, 255, 0.30);

  /* type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body:    "Geist", system-ui, -apple-system, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;

  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  display: grid;
  grid-template-rows: auto 100vh auto auto;
  min-height: 100vh;
  /* page now scrolls — ledger lives below the fold. The stage row is a fixed
     100vh so the moodpiece always fills the viewport on first paint. */
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
em { font-style: italic; }

/* ───── top bar ───── */
.hc-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 14px 22px;
  gap: 24px;
  border-bottom: 1px solid var(--soft-rule);
  background: var(--paper);
  position: relative;
  z-index: 5;
}
.hc-top-left {
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-width: 0;
}
.hc-mark {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: baseline;
}
.hc-dot { color: var(--ink); padding: 0 2px; }
.hc-cursor {
  display: inline-block;
  width: 0.5em; height: 0.85em;
  background: var(--accent);
  margin-left: 4px;
  animation: hc-blink 1.06s steps(1) infinite;
}
.hc-path {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--mute);
  letter-spacing: 0.1em;
  text-transform: lowercase;
  white-space: nowrap;
}

.hc-tabs { display: flex; gap: 22px; justify-content: center; }
.hc-tab {
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  padding: 6px 0;
  color: var(--mute);
  border-bottom: 1px solid transparent;
  opacity: 0.55;
}
.hc-tab.is-on {
  color: var(--ink);
  border-bottom-color: var(--accent);
  opacity: 1;
}
.hc-tab[disabled] { cursor: not-allowed; }
.hc-soon { color: var(--mute); font-size: 8px; margin-left: 6px; }

.hc-top-right { display: flex; gap: 10px; align-items: center; }
.hc-live {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--dim);
  letter-spacing: 0.08em;
  text-transform: lowercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hc-pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--pos);
  box-shadow: 0 0 0 3px rgba(122, 210, 138, 0.2);
  animation: hc-pulse 2s ease-in-out infinite;
}
.hc-pill {
  display: inline-flex;
  border: 1px solid var(--rule);
  border-radius: 999px;
  overflow: hidden;
}
.hc-pill-btn {
  background: transparent;
  border: none;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 4px 9px;
  cursor: pointer;
  text-transform: lowercase;
}
.hc-pill-btn.is-on { background: var(--sub); color: var(--ink); }
.hc-icon-btn {
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  padding: 5px 9px;
  cursor: pointer;
}
.hc-icon-btn:hover { color: var(--ink); }
.hc-icon-btn.is-on { background: var(--sub); color: var(--ink); }

/* ───── stage ───── */
.hc-stage {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
}
.hc-side {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  display: flex;
  flex-direction: column;
}
.hc-side-hot { border-right: 1px solid var(--soft-rule); }

/* ───── feed surface (atmospheric backdrop, replaces video v1) ───── */
.hc-feed { position: absolute; inset: 0; overflow: hidden; }
.hc-feed-hot {
  background: linear-gradient(160deg, #4a1f12 0%, #7a3520 30%, #c8553d 65%, #e8a872 100%);
}
.hc-feed-cold {
  background: linear-gradient(160deg, #0a1838 0%, #14305c 35%, #3a6aa8 65%, #b8d4f0 100%);
}
.hc-horizon {
  position: absolute;
  left: 0; right: 0;
  top: 62%;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}
.hc-disc {
  position: absolute;
  border-radius: 50%;
  opacity: 0.85;
}
.hc-disc-sun {
  top: 38%; right: 14%;
  width: 130px; height: 130px;
  background: radial-gradient(circle, #ffe4b8 0%, #f7b87a 50%, rgba(247,184,122,0) 75%);
}
.hc-disc-moon {
  top: 22%; left: 14%;
  width: 90px; height: 90px;
  background: radial-gradient(circle, #e8eef8 0%, #b8c8e0 60%, rgba(184,200,224,0) 85%);
}
.hc-shimmer, .hc-snow {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.hc-shimmer { mix-blend-mode: screen; opacity: 0.5; }
.hc-snow { opacity: 0.85; }

/* darkening vignette over feed for legibility */
.hc-vignette {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}

/* ───── ribbon (top-corner label) ───── */
.hc-ribbon {
  position: absolute;
  top: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f5f0e6;
  z-index: 2;
  max-width: 60%;
}
.hc-side-hot .hc-ribbon { left: 22px; }
.hc-side-cold .hc-ribbon { right: 22px; flex-direction: row-reverse; }
.hc-ribbon-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  animation: hc-pulse 2s ease-in-out infinite;
}
.hc-side-hot .hc-ribbon-dot {
  background: var(--hot);
  box-shadow: 0 0 0 4px var(--hot-glow);
}
.hc-side-cold .hc-ribbon-dot {
  background: var(--cold);
  box-shadow: 0 0 0 4px var(--cold-glow);
}
.hc-ribbon-region {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  letter-spacing: -0.01em;
  text-transform: lowercase;
  color: #f5f0e6;
  display: inline-block;
  min-width: 86px;
  transition: opacity 220ms ease;
}
.hc-ribbon-region.is-swap { opacity: 0; }

/* ───── feed chrome (provider tag) ───── */
.hc-feed-chrome {
  position: absolute;
  top: 50px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 240, 230, 0.6);
  z-index: 2;
}
.hc-side-hot .hc-feed-chrome { left: 22px; }
.hc-side-cold .hc-feed-chrome { right: 22px; }

/* ───── HUGE temp typography ───── */
.hc-temp {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  pointer-events: none;
  color: #f5f0e6;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
  z-index: 2;
}
.hc-side-hot .hc-temp { align-items: flex-start; padding: 0 0 0 36px; text-align: left; }
.hc-side-cold .hc-temp { align-items: flex-end; padding: 0 36px 0 0; text-align: right; }
.hc-temp-row {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(120px, 17vw, 252px);
  line-height: 0.86;
  letter-spacing: -0.045em;
  font-style: italic;
  display: flex;
  align-items: baseline;
  /* room so the °C unit can't kiss the rightmost digit */
  gap: clamp(14px, 1.6vw, 28px);
}
.hc-side-cold .hc-temp-row { justify-content: flex-end; }
.hc-temp-arrow {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: clamp(36px, 5vw, 72px);
  align-self: flex-start;
  margin-top: 28px;
  letter-spacing: 0;
}
.hc-side-hot .hc-temp-arrow { color: var(--hot); }
.hc-side-cold .hc-temp-arrow { color: var(--cold); }
.hc-temp-mag {
  display: inline-block;
  transition: opacity 220ms ease;
  /* italic Fraunces side-bearings overhang the visual box on the right */
  padding-right: 0.04em;
}
.hc-temp-mag.is-swap { opacity: 0; }
.hc-temp-unit {
  font-family: var(--font-body);
  font-style: normal;
  font-size: clamp(28px, 3.6vw, 56px);
  align-self: flex-start;
  margin-top: clamp(16px, 2vw, 28px);
  color: rgba(245, 240, 230, 0.78);
  letter-spacing: -0.02em;
}
.hc-place {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 3vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-top: 8px;
  max-width: 92%;
  transition: opacity 220ms ease;
}
.hc-place.is-swap { opacity: 0; }
.hc-place-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: lowercase;
  margin-top: 6px;
  color: rgba(245, 240, 230, 0.7);
}

/* ───── side meta (feed credit + sparkline) ───── */
.hc-meta {
  position: absolute;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 320px;
  z-index: 3;
}
.hc-meta-hot { left: 22px; align-items: flex-start; }
.hc-meta-cold { right: 22px; align-items: flex-end; }
.hc-meta-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: rgba(245, 240, 230, 0.55);
}
.hc-meta-dot { width: 6px; height: 6px; animation: hc-pulse 2s infinite; }
.hc-meta-hot .hc-meta-dot { background: var(--hot); }
.hc-meta-cold .hc-meta-dot { background: var(--cold); }
.hc-meta-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  line-height: 1.15;
  color: rgba(245, 240, 230, 0.85);
}
.hc-meta-provider {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  color: rgba(245, 240, 230, 0.55);
}
.hc-spark { display: flex; align-items: flex-end; gap: 10px; }
.hc-meta-cold .hc-spark { flex-direction: row-reverse; }
.hc-spark-meta {
  font-family: var(--font-mono);
  font-size: 9px;
  color: rgba(245, 240, 230, 0.55);
  letter-spacing: 0.08em;
  text-transform: lowercase;
  line-height: 1.3;
}
.hc-meta-cold .hc-spark-meta { text-align: right; }

/* ───── locator (mapbox card) ───── */
.hc-locator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: min(440px, calc(100vw - 32px));
  background: rgba(12, 12, 14, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--rule);
  padding: 10px 14px 12px;
  z-index: 4;
}
.hc-locator-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  gap: 10px;
}
.hc-locator-eyebrow {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}
.hc-cycler { display: flex; align-items: center; gap: 6px; }
.hc-cy-btn {
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  padding: 3px 7px;
  cursor: pointer;
  line-height: 1;
}
.hc-cy-btn:hover { color: var(--ink); }
.hc-cy-label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  color: var(--ink);
  min-width: 110px;
  text-align: center;
  letter-spacing: -0.01em;
}
.hc-cy-play { margin-left: 4px; }
.hc-cy-play.is-on { color: var(--accent); border-color: var(--accent); }

.hc-map {
  width: 100%;
  height: 180px;
  background: var(--bone);
  border: 1px solid var(--soft-rule);
  position: relative;
}
.hc-map .mapboxgl-ctrl-attrib {
  font-size: 9px;
  background: rgba(12, 12, 14, 0.6);
  color: rgba(245, 240, 230, 0.55);
}
.hc-map .mapboxgl-ctrl-attrib a { color: rgba(245, 240, 230, 0.7); }

/* custom map markers */
.hc-mk {
  width: 14px; height: 14px;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
}
.hc-mk-extreme {
  background: transparent;
  border: 1.5px solid currentColor;
}
.hc-mk-extreme::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.4;
  animation: hc-ring 2.4s ease-out infinite;
}
.hc-mk-feed { background: currentColor; }
.hc-mk-hot { color: var(--hot); }
.hc-mk-cold { color: var(--cold); }

/* dot rail · quick jump regions */
.hc-rail {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}
.hc-rail-dot {
  width: 5px; height: 5px;
  border-radius: 999px;
  background: var(--rule);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width 0.25s ease;
}
.hc-rail-dot.is-on { width: 16px; background: var(--accent); }

.hc-locator-foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  color: var(--dim);
}
.hc-locator-row { display: flex; align-items: center; gap: 6px; }
.hc-locator-row.hc-right { justify-content: flex-end; text-align: right; }
.hc-marker { font-size: 11px; line-height: 1; }
.hc-marker-hot-extreme { color: var(--hot); }
.hc-marker-cold-feed { color: var(--cold); }

/* ───── bottom strip ───── */
.hc-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 12px 22px;
  border-top: 1px solid var(--soft-rule);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--mute);
  text-transform: lowercase;
  letter-spacing: 0.06em;
  background: var(--paper);
  position: relative;
  z-index: 5;
}
.hc-bottom-mid { text-align: center; }
.hc-bottom-mid a { color: var(--dim); border-bottom: 1px solid var(--accent); }
.hc-byline {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-transform: none;
  border-bottom: none;
}
.hc-byline:hover .hc-byline-arrow { color: var(--accent); }
.hc-byline-arrow {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: var(--dim);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
  transition: color 160ms ease;
}
.hc-bottom-right { text-align: right; }
.hc-bottom-right { display: flex; gap: 8px; justify-content: flex-end; align-items: center; }
.hc-bottom-tag { font-weight: 500; }
.hc-tag-hot  { color: var(--hot); }
.hc-tag-cold { color: var(--cold); }

/* ───── ledger ───── */
.hc-ledger {
  background: var(--paper);
  border-top: 1px solid var(--soft-rule);
  padding: 64px 8vw 80px;
  color: var(--ink);
}
.hc-ledger-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
  max-width: 1280px;
  margin: 0 auto 36px;
}
.hc-ledger-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 14px;
}
.hc-ledger-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin: 0;
}
.hc-ledger-title em {
  font-style: italic;
  color: var(--accent);
}
.hc-ledger-lead {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--dim);
  max-width: 560px;
  margin: 18px 0 0;
}
.hc-ledger-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 28px;
  align-items: end;
}
.hc-ledger-stat {
  text-align: right;
  min-width: 110px;
}
.hc-ledger-stat .n {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.hc-ledger-stat .l {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 6px;
}
.hc-ledger-stat-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--dim);
  text-transform: lowercase;
  margin-top: 4px;
}

/* table */
.hc-ledger-table {
  max-width: 1280px;
  margin: 0 auto;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink);
}
.hc-ledger-row {
  display: grid;
  grid-template-columns: 110px 1fr 90px 1fr 90px;
  gap: 16px;
  padding: 9px 6px;
  border-bottom: 1px solid var(--soft-rule);
  align-items: baseline;
}
.hc-ledger-row:hover { background: var(--bone); }
.hc-ledger-head-row {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  background: transparent;
  cursor: default;
}
.hc-ledger-head-row:hover { background: transparent; }

.hc-ledger-date {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
}
.hc-ledger-date.is-today {
  color: var(--accent);
  font-weight: 500;
}
.hc-ledger-place {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.hc-ledger-temp-col {
  text-align: right;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}
.hc-ledger-hot-temp  { color: var(--hot);  }
.hc-ledger-cold-temp { color: var(--cold); }
.hc-ledger-star {
  display: inline-block;
  margin-left: 6px;
  font-size: 10px;
  color: var(--accent);
}
.hc-ledger-empty {
  padding: 36px 6px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--mute);
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

@media (max-width: 880px) {
  .hc-ledger { padding: 40px 5vw 56px; }
  .hc-ledger-head {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
  }
  .hc-ledger-stats {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
  }
  .hc-ledger-stat { text-align: left; min-width: 0; }
  .hc-ledger-row {
    grid-template-columns: 70px 1fr 60px;
    grid-template-areas:
      "date hot temp1"
      ".    cold temp2";
    row-gap: 4px;
    padding: 10px 4px;
  }
  .hc-ledger-row > :nth-child(1) { grid-area: date; }
  .hc-ledger-row > :nth-child(2) { grid-area: hot; }
  .hc-ledger-row > :nth-child(3) { grid-area: temp1; }
  .hc-ledger-row > :nth-child(4) { grid-area: cold; }
  .hc-ledger-row > :nth-child(5) { grid-area: temp2; }
  .hc-ledger-head-row { display: none; }
}

/* ───── animations ───── */
@keyframes hc-blink  { 50% { opacity: 0; } }
@keyframes hc-pulse  { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
@keyframes hc-ring   {
  0%   { transform: scale(1);   opacity: 0.5; }
  100% { transform: scale(2.4); opacity: 0;   }
}

/* ───── responsive ───── */
@media (max-width: 880px) {
  body { overflow: auto; }
  .hc-stage {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    min-height: calc(100vh - 130px);
  }
  .hc-side-hot {
    border-right: none;
    border-bottom: 1px solid var(--soft-rule);
  }
  .hc-side-cold .hc-temp { padding: 0 0 0 24px; align-items: flex-start; text-align: left; }
  .hc-side-cold .hc-temp-row { justify-content: flex-start; }
  .hc-side-cold .hc-ribbon { right: auto; left: 22px; flex-direction: row; }
  .hc-side-cold .hc-feed-chrome { right: auto; left: 22px; }
  .hc-side-cold .hc-meta { right: auto; left: 22px; align-items: flex-start; }
  .hc-side-cold .hc-spark { flex-direction: row; }
  .hc-meta-cold .hc-spark-meta { text-align: left; }
  .hc-locator {
    position: static;
    transform: none;
    width: auto;
    margin: 16px;
  }
  .hc-tabs { display: none; }
  .hc-path { display: none; }
}

@media (max-width: 540px) {
  .hc-top { grid-template-columns: 1fr auto; padding: 10px 14px; }
  .hc-tabs { display: none; }
  .hc-live { display: none; }

  .hc-bottom {
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: center;
    padding: 14px 18px 16px;
  }
  .hc-bottom-left,
  .hc-bottom-right {
    text-align: center;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    align-items: baseline;
  }
  .hc-bottom-tag { white-space: nowrap; }
  /* mobile byline: stack the line + arrow vertically, drop the inline border */
  .hc-bottom-mid { order: 0; }
  .hc-byline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    line-height: 1.25;
    padding: 6px 6px 0;
    max-width: 360px;
    margin: 0 auto;
  }
  .hc-byline-arrow {
    border-bottom: none;
    color: var(--accent);
    font-size: 11px;
  }
  /* visual separators between the three rows so they don't pile up */
  .hc-bottom-left  { padding-bottom: 8px; border-bottom: 1px solid var(--soft-rule); }
  .hc-bottom-right { padding-top: 8px;    border-top:    1px solid var(--soft-rule); }
}
