/*
Theme Name: Cirvie Finance
Description: Session-aware market intelligence and independent research for Cirvie Finance.
Version: 2.0
Author: Cirvie
Text Domain: cirvie-finance
*/

:root {
  --ink-950: #070a11;
  --ink-925: #0a0e17;
  --ink-900: #0d121d;
  --ink-850: #111827;
  --ink-800: #172033;
  --ink-700: #263149;
  --paper: #f3f0e9;
  --paper-strong: #faf8f3;
  --card: #ffffff;
  --text: #17202d;
  --text-soft: #4e5a69;
  --muted: #727d8d;
  --line: #dcd8cf;
  --line-dark: rgba(174, 190, 214, 0.16);
  --ivory: #f4f0e8;
  --ivory-soft: #b7bdc8;
  --teal: #28d7c0;
  --teal-deep: #0b806f;
  --teal-soft: rgba(40, 215, 192, 0.12);
  --violet: #9b6cff;
  --violet-soft: rgba(155, 108, 255, 0.15);
  --amber: #f5b942;
  --amber-deep: #936916;
  --coral: #ff6b7a;
  --coral-deep: #b93649;
  --shadow-soft: 0 18px 50px rgba(24, 30, 40, 0.08);
  --shadow-dark: 0 28px 80px rgba(0, 0, 0, 0.34);
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --mono: "SFMono-Regular", "Roboto Mono", Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text-soft);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
button,
input {
  font-family: var(--sans);
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

::selection {
  color: #04110f;
  background: var(--teal);
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.wrap {
  width: min(100%, 920px);
  margin-inline: auto;
  padding-inline: 24px;
}

.wrap--wide {
  width: min(100%, 1260px);
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--ink-950);
  background: var(--teal);
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Masthead */

.masthead {
  position: sticky;
  z-index: 100;
  top: 0;
  color: var(--ivory);
  background: rgba(7, 10, 17, 0.9);
  border-bottom: 1px solid var(--line-dark);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.admin-bar .masthead {
  top: 32px;
}

.masthead-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ivory);
  text-decoration: none;
  flex: 0 0 auto;
}

.brand-glyph {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  color: var(--ink-950);
  background: var(--teal);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  box-shadow: 0 0 0 5px rgba(40, 215, 192, 0.08);
}

.brand-lockup {
  display: flex;
  align-items: baseline;
  gap: 7px;
  line-height: 1;
}

.brand-name {
  font-size: 1.02rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-desk {
  color: #8993a2;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-right: auto;
}

.site-nav a {
  position: relative;
  padding: 26px 0 24px;
  color: #aeb6c3;
  font-size: 0.73rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.site-nav a:hover,
.site-nav a.current {
  color: var(--ivory);
}

.site-nav a:hover::after,
.site-nav a.current::after {
  transform: scaleX(1);
}

.masthead-brief-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  color: var(--ivory);
  border: 1px solid rgba(244, 240, 232, 0.2);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  line-height: 1;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease;
}

.masthead-brief-link:hover {
  background: rgba(244, 240, 232, 0.08);
  border-color: rgba(244, 240, 232, 0.42);
}

/* Front page / market cockpit */

.site-main--front {
  min-height: 65vh;
}

.market-cockpit {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--ivory);
  background:
    radial-gradient(circle at 86% 10%, rgba(155, 108, 255, 0.2), transparent 31%),
    radial-gradient(circle at 10% 28%, rgba(40, 215, 192, 0.07), transparent 26%),
    linear-gradient(145deg, #070a11 0%, #0a0e18 55%, #090b13 100%);
  border-bottom: 1px solid rgba(155, 108, 255, 0.42);
}

.market-cockpit::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
}

.market-cockpit::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 5%;
  bottom: -2px;
  left: 5%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--violet), var(--teal), transparent);
  filter: blur(1px);
  box-shadow: 0 -8px 30px rgba(155, 108, 255, 0.4);
}

.cockpit-glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.cockpit-glow--one {
  top: 14%;
  right: -10%;
  width: 430px;
  height: 430px;
  background: rgba(155, 108, 255, 0.09);
}

.cockpit-glow--two {
  bottom: 6%;
  left: -12%;
  width: 360px;
  height: 360px;
  background: rgba(40, 215, 192, 0.045);
}

.market-cockpit__inner {
  padding-top: 30px;
  padding-bottom: 78px;
}

.desk-utility {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line-dark);
}

.desk-utility__name,
.desk-utility__clock,
.desk-utility__clock time {
  margin: 0;
}

.desk-utility__name {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #9da7b5;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.signal-orbit {
  position: relative;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(40, 215, 192, 0.48);
  border-radius: 50%;
}

.signal-orbit::before,
.signal-orbit span {
  content: "";
  display: block;
  border-radius: 50%;
}

.signal-orbit::before {
  width: 8px;
  height: 8px;
  border: 1px solid rgba(40, 215, 192, 0.72);
}

.signal-orbit span {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--teal);
  box-shadow: 0 0 10px var(--teal);
}

.desk-utility__clock {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #8e98a7;
  font-family: var(--mono);
  font-size: 0.69rem;
  font-variant-numeric: tabular-nums;
}

.session-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  color: #aeb8c5;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.session-pill__dot {
  width: 6px;
  height: 6px;
  background: #7a8493;
  border-radius: 50%;
}

.session-pill:not([data-state="loading"]):not([data-state="closed"]) .session-pill__dot {
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(40, 215, 192, 0.1), 0 0 12px rgba(40, 215, 192, 0.6);
  animation: signal-pulse 2.3s ease-out infinite;
}

.session-pill[data-state="closed"] .session-pill__dot {
  background: var(--violet);
}

.market-cockpit.is-stale .session-pill__dot {
  background: var(--amber) !important;
  box-shadow: 0 0 0 4px rgba(245, 185, 66, 0.1) !important;
  animation: none !important;
}

@keyframes signal-pulse {
  0% { box-shadow: 0 0 0 0 rgba(40, 215, 192, 0.32); }
  75%, 100% { box-shadow: 0 0 0 7px rgba(40, 215, 192, 0); }
}

.desk-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.72fr);
  gap: clamp(46px, 8vw, 112px);
  align-items: end;
  padding: clamp(62px, 8.5vw, 108px) 0 54px;
}

.desk-hero__rail {
  min-width: 0;
  display: grid;
  align-content: end;
  gap: 12px;
}

.eyebrow,
.micro-label {
  margin: 0;
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.17em;
  line-height: 1.25;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--teal);
}

.eyebrow--ink {
  color: var(--teal-deep);
}

.micro-label {
  color: #788496;
}

.desk-hero h1 {
  max-width: 800px;
  margin: 18px 0 24px;
  color: var(--ivory);
  font-size: clamp(3.1rem, 7vw, 6.75rem);
  font-weight: 620;
  letter-spacing: -0.066em;
  line-height: 0.92;
}

.desk-hero h1 em {
  color: transparent;
  background: linear-gradient(90deg, var(--ivory) 5%, #bc9fff 60%, #8b6fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-style: normal;
}

.desk-deck {
  max-width: 665px;
  margin: 0;
  color: #aeb6c3;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.68;
}

.closed-hero-news {
  position: relative;
  max-width: 690px;
  display: grid;
  gap: 9px;
  margin-top: 3px;
  padding: 18px 48px 18px 20px;
  color: var(--ivory);
  background: linear-gradient(120deg, rgba(40, 215, 192, 0.075), rgba(155, 108, 255, 0.08));
  border: 1px solid rgba(174, 190, 214, 0.18);
  border-left-color: rgba(40, 215, 192, 0.68);
  border-radius: 11px;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.closed-hero-news:hover,
.closed-hero-news:focus-visible {
  color: var(--ivory);
  background: linear-gradient(120deg, rgba(40, 215, 192, 0.12), rgba(155, 108, 255, 0.13));
  border-color: rgba(40, 215, 192, 0.46);
  transform: translateY(-1px);
}

.closed-hero-news__label {
  color: var(--teal);
  font-size: 0.59rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.closed-hero-news strong {
  display: block;
  font-size: clamp(1.02rem, 1.65vw, 1.3rem);
  letter-spacing: -0.025em;
  line-height: 1.27;
}

.closed-hero-news__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #8793a5;
  font-family: var(--mono);
  font-size: 0.65rem;
}

.closed-hero-news__meta > span:last-child {
  position: absolute;
  top: 50%;
  right: 19px;
  color: var(--teal);
  font-family: var(--sans);
  font-size: 1rem;
  transform: translateY(-50%);
}

.session-card {
  position: relative;
  padding: 25px 24px 20px;
  background: linear-gradient(145deg, rgba(20, 27, 42, 0.9), rgba(11, 15, 24, 0.84));
  border: 1px solid rgba(174, 190, 214, 0.18);
  border-radius: 17px;
  box-shadow: var(--shadow-dark);
}

.session-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  padding: 1px;
  background: linear-gradient(140deg, rgba(40, 215, 192, 0.35), transparent 40%, rgba(155, 108, 255, 0.5));
  border-radius: inherit;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.session-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.session-card__phase {
  margin: 7px 0 0;
  color: var(--ivory);
  font-size: 1.16rem;
  font-weight: 760;
  letter-spacing: -0.025em;
}

.session-card__count {
  margin: 1px 0 0;
  color: var(--teal);
  font-family: var(--mono);
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}

.phase-track {
  --phase-progress: 0%;
  position: relative;
  height: 4px;
  margin: 25px 0 11px;
  background: #252f42;
  border-radius: 999px;
}

.phase-track__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--phase-progress);
  background: linear-gradient(90deg, var(--violet), var(--teal));
  border-radius: inherit;
  transition: width 420ms ease;
}

.phase-track__marker {
  position: absolute;
  top: 50%;
  left: var(--phase-progress);
  width: 10px;
  height: 10px;
  background: var(--teal);
  border: 2px solid var(--ink-900);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(40, 215, 192, 0.7);
  transform: translate(-50%, -50%);
  transition: left 420ms ease;
}

.phase-labels {
  display: flex;
  justify-content: space-between;
  color: #657083;
  font-family: var(--mono);
  font-size: 0.54rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.session-card__next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 22px 0 0;
  padding-top: 17px;
  color: #818c9c;
  border-top: 1px solid var(--line-dark);
  font-size: 0.69rem;
}

.session-card__next strong {
  color: var(--ivory-soft);
  font-family: var(--mono);
  font-weight: 600;
}

.live-leaders {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(40, 215, 192, 0.055), transparent 42%),
    rgba(11, 16, 26, 0.94);
  border: 1px solid rgba(40, 215, 192, 0.38);
  border-radius: 17px;
  box-shadow: var(--shadow-dark);
}

.live-leaders[hidden] {
  display: none;
}

.live-leaders::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: var(--teal);
  box-shadow: 0 0 18px rgba(40, 215, 192, 0.6);
}

.live-leaders[data-state="delayed"] {
  background: rgba(11, 16, 26, 0.94);
  border-color: rgba(245, 185, 66, 0.28);
}

.live-leaders[data-state="delayed"]::before {
  background: var(--amber);
  box-shadow: none;
}

.live-leaders__head {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 15px 10px;
  border-bottom: 1px solid rgba(174, 190, 214, 0.12);
}

.live-leaders__head h2 {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--ivory);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.015em;
}

.live-leaders__head time {
  color: #7e899a;
  font-family: var(--mono);
  font-size: 0.56rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.live-dot {
  position: relative;
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(40, 215, 192, 0.1);
}

.live-leaders[data-state="current"] .live-dot {
  animation: live-dot-pulse 2.1s ease-out infinite;
}

.live-leaders[data-state="delayed"] .live-dot {
  background: var(--amber);
  box-shadow: none;
}

@keyframes live-dot-pulse {
  0% { box-shadow: 0 0 0 0 rgba(40, 215, 192, 0.36); }
  75%, 100% { box-shadow: 0 0 0 7px rgba(40, 215, 192, 0); }
}

.live-leaders__list {
  display: grid;
}

.live-leader {
  min-width: 0;
  min-height: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(72px, 0.74fr) auto;
  gap: 11px;
  align-items: center;
  padding: 10px 15px;
  color: #aeb8c5;
  border-bottom: 1px solid rgba(174, 190, 214, 0.09);
  text-decoration: none;
  transition: background 150ms ease;
}

.live-leader:last-child {
  border-bottom: 0;
}

.live-leader:hover,
.live-leader:focus-visible {
  color: var(--ivory);
  background: rgba(255, 255, 255, 0.035);
}

.live-leader__identity,
.live-leader__quote {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.live-leader__identity strong,
.live-leader__quote strong {
  color: var(--ivory);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
}

.live-leader__identity small {
  overflow: hidden;
  color: #6f7b8d;
  font-size: 0.51rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-leader__spark .market-spark {
  height: 26px;
}

.live-leader__spark .market-spark-label {
  display: none;
}

.live-leader__quote {
  align-items: flex-end;
}

.live-leader__quote small {
  font-family: var(--mono);
  font-size: 0.54rem;
  font-variant-numeric: tabular-nums;
}

.live-leaders__empty {
  margin: 0;
  padding: 18px 15px;
  color: #778396;
  font-size: 0.65rem;
}

.market-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 22px;
  background: rgba(12, 17, 27, 0.76);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  overflow: hidden;
}

.market-stat {
  min-width: 0;
  padding: 18px 20px 17px;
}

.market-stat + .market-stat {
  border-left: 1px solid var(--line-dark);
}

.market-stat p {
  margin: 0;
}

.market-stat__label {
  color: #697588;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.market-stat__value {
  margin-top: 6px !important;
  color: var(--ivory);
  font-family: var(--mono);
  font-size: 1.2rem;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  letter-spacing: -0.035em;
}

.market-stat__value--small {
  overflow: hidden;
  font-family: var(--sans);
  font-size: 0.95rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-stat__change {
  margin-top: 3px !important;
  color: #727e8f;
  font-size: 0.66rem;
}

.is-positive {
  color: var(--teal) !important;
}

.is-negative {
  color: var(--coral) !important;
}

.is-flat {
  color: #a5adba !important;
}

/* Pulse workspace */

.pulse-panel {
  background: rgba(12, 17, 27, 0.88);
  border: 1px solid rgba(174, 190, 214, 0.18);
  border-radius: 18px;
  box-shadow: var(--shadow-dark);
  overflow: hidden;
}

.pulse-panel__header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line-dark);
}

.pulse-panel__header h2 {
  margin: 6px 0 0;
  color: var(--ivory);
  font-size: 1.32rem;
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.pulse-panel__heading {
  max-width: 680px;
}

.refresh-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 12px;
  color: #aeb8c6;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 760;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.refresh-button:hover {
  color: var(--ivory);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.25);
}

.refresh-button[disabled] {
  cursor: wait;
  opacity: 0.55;
}

.market-cockpit.is-refreshing .refresh-button > span:first-child {
  display: inline-block;
  animation: loader-spin 900ms linear infinite;
}

.pulse-tabs {
  display: flex;
  gap: 4px;
  padding: 11px 16px;
  background: rgba(3, 7, 13, 0.3);
  border-bottom: 1px solid var(--line-dark);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.pulse-tabs::-webkit-scrollbar {
  display: none;
}

.pulse-tab {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  color: #758093;
  background: transparent;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.025em;
  white-space: nowrap;
}

.pulse-tab span {
  min-width: 20px;
  padding: 3px 5px;
  color: #667184;
  background: rgba(255, 255, 255, 0.055);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.55rem;
  text-align: center;
}

.pulse-tab:hover {
  color: #bac3cf;
}

.pulse-tab.is-active {
  color: var(--ivory);
  background: rgba(155, 108, 255, 0.12);
}

.pulse-tab.is-active span {
  color: #d9ccff;
  background: rgba(155, 108, 255, 0.16);
}

.pulse-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(340px, 0.76fr);
  min-height: 510px;
}

.pulse-list-pane {
  position: relative;
  min-width: 0;
  border-right: 1px solid var(--line-dark);
}

.pulse-column-head,
.pulse-row {
  display: grid;
  grid-template-columns: minmax(125px, 1.12fr) minmax(78px, 0.68fr) minmax(82px, 0.72fr) minmax(88px, 0.78fr) minmax(130px, 1.18fr);
  align-items: center;
  column-gap: 14px;
}

.pulse-column-head {
  min-height: 42px;
  padding: 0 20px;
  color: #626e81;
  background: rgba(255, 255, 255, 0.015);
  border-bottom: 1px solid var(--line-dark);
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pulse-column-head span:nth-child(n + 2) {
  text-align: right;
}

.pulse-rows {
  max-height: 560px;
  overflow-y: auto;
  scrollbar-color: #354158 transparent;
  scrollbar-width: thin;
}

.pulse-row {
  position: relative;
  width: 100%;
  min-height: 75px;
  padding: 10px 20px;
  color: #adb6c3;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(174, 190, 214, 0.1);
  cursor: pointer;
  text-align: left;
  transition: background 150ms ease, color 150ms ease;
}

.pulse-row::before {
  content: "";
  position: absolute;
  top: 13px;
  bottom: 13px;
  left: 0;
  width: 2px;
  background: var(--violet);
  border-radius: 0 2px 2px 0;
  opacity: 0;
  transform: scaleY(0.3);
  transition: opacity 150ms ease, transform 150ms ease;
}

.pulse-row:hover {
  color: var(--ivory);
  background: rgba(255, 255, 255, 0.025);
}

.pulse-row.is-selected {
  color: var(--ivory);
  background: linear-gradient(90deg, rgba(155, 108, 255, 0.1), rgba(155, 108, 255, 0.025));
}

.pulse-row.is-selected::before {
  opacity: 1;
  transform: scaleY(1);
}

.pulse-cell {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  text-align: right;
}

.pulse-cell strong {
  max-width: 100%;
  overflow: hidden;
  color: inherit;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  font-weight: 620;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pulse-cell small {
  max-width: 100%;
  overflow: hidden;
  color: #5f6b7d;
  font-size: 0.57rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pulse-cell--symbol {
  align-items: flex-start;
  text-align: left;
}

.pulse-cell--symbol strong {
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 0.93rem;
  font-weight: 800;
  letter-spacing: 0.025em;
}

.pulse-cell--read strong {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 650;
}

.pulse-state {
  min-height: 390px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 40px;
  color: #768294;
  text-align: center;
}

.pulse-state p {
  margin: 14px 0 4px;
  color: #c2c9d3;
  font-size: 0.92rem;
  font-weight: 700;
}

.pulse-state span:last-child {
  max-width: 380px;
  font-size: 0.73rem;
}

.pulse-loader {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(155, 108, 255, 0.2);
  border-top-color: var(--violet);
  border-radius: 50%;
  animation: loader-spin 900ms linear infinite;
}

.pulse-state:not([data-kind="loading"]) .pulse-loader {
  display: none;
}

@keyframes loader-spin {
  to { transform: rotate(360deg); }
}

.why-panel {
  min-width: 0;
  padding: 27px 26px 25px;
  background:
    linear-gradient(rgba(9, 13, 22, 0.85), rgba(9, 13, 22, 0.85)),
    linear-gradient(135deg, rgba(155, 108, 255, 0.1), transparent 50%);
}

.why-panel__empty {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.why-panel__glyph {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: #9b88ca;
  background: rgba(155, 108, 255, 0.1);
  border: 1px solid rgba(155, 108, 255, 0.24);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.2rem;
}

.why-panel__empty h3 {
  max-width: 300px;
  margin: 11px 0 10px;
  color: var(--ivory);
  font-size: 1.08rem;
  line-height: 1.4;
}

.why-panel__empty > p:last-child {
  max-width: 300px;
  margin: 0;
  color: #758194;
  font-size: 0.76rem;
}

.why-symbol-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-dark);
}

.why-symbol-row h3 {
  margin: 6px 0 0;
  color: var(--ivory);
  font-size: 1.32rem;
  line-height: 1.2;
}

.why-symbol-row h3 small {
  display: block;
  max-width: 190px;
  margin-top: 3px;
  overflow: hidden;
  color: #788497;
  font-size: 0.62rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.why-quote {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex: 0 0 auto;
}

.why-quote strong,
.why-quote span {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

.why-quote strong {
  color: var(--ivory);
  font-size: 0.93rem;
}

.why-quote span {
  margin-top: 2px;
  font-size: 0.72rem;
}

.detail-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.detail-metrics div {
  min-width: 0;
  padding: 11px 12px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.detail-metrics dt {
  color: #657185;
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.detail-metrics dd {
  margin: 4px 0 0;
  overflow: hidden;
  color: #b9c2ce;
  font-family: var(--mono);
  font-size: 0.67rem;
  font-variant-numeric: tabular-nums;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.evidence-block,
.risk-block {
  margin-top: 21px;
}

.evidence-block ul,
.risk-block ul {
  display: grid;
  gap: 9px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.evidence-block li,
.risk-block li {
  position: relative;
  padding-left: 13px;
  color: #929dad;
  font-size: 0.66rem;
  line-height: 1.45;
}

.evidence-block li::before,
.risk-block li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
}

.evidence-block li::before {
  background: var(--teal);
}

.risk-block li::before {
  background: var(--amber);
}

.evidence-block a {
  color: #bfcaD7;
  text-decoration-color: rgba(40, 215, 192, 0.45);
  text-underline-offset: 2px;
}

.evidence-block a:hover {
  color: var(--teal);
}

.evidence-block small {
  display: block;
  margin-top: 2px;
  color: #596678;
  font-size: 0.56rem;
}

.is-muted {
  color: #647083 !important;
}

/* Research deck */

.research-deck {
  padding: clamp(76px, 9vw, 122px) 0 112px;
  color: var(--text);
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(23, 32, 45, 0.035) 50%, transparent 50.1%),
    var(--paper);
  background-size: 80px 100%;
}

.research-deck__head {
  display: block;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.research-deck__head h2 {
  max-width: 760px;
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 4.5vw, 4.4rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  margin-top: 28px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.research-card {
  grid-column: span 4;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  padding: 25px 24px 23px;
  background: rgba(250, 248, 243, 0.72);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.research-card--lead {
  grid-column: span 8;
  min-height: 330px;
  padding: 34px;
  background: var(--ink-900);
  color: var(--ivory);
}

.research-card:hover {
  position: relative;
  z-index: 1;
  background: var(--card);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.research-card--lead:hover {
  background: #121926;
}

.research-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.research-card__top time,
.research-kicker {
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.research-card__top time {
  color: #8a94a1;
}

.research-kicker {
  color: var(--teal-deep);
  text-decoration: none;
}

.research-card--lead .research-kicker {
  color: var(--teal);
}

.research-card h3 {
  margin: 22px 0 12px;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.18;
}

.research-card--lead h3 {
  max-width: 760px;
  font-size: clamp(2rem, 3.8vw, 3.65rem);
  line-height: 1.04;
}

.research-card h3 a {
  color: inherit;
  text-decoration: none;
}

.research-card > p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.65;
}

.research-card--lead > p {
  color: #9ca6b4;
  font-size: 0.9rem;
}

.research-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 24px;
  color: var(--teal-deep);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}

.research-card--lead .research-card__link {
  color: var(--teal);
}

.research-card__link span {
  transition: transform 150ms ease;
}

.research-card__link:hover span {
  transform: translateX(3px);
}

.research-empty {
  margin-top: 28px;
  padding: 38px;
  background: var(--paper-strong);
  border: 1px solid var(--line);
}

.research-empty h3 {
  margin: 10px 0;
  font-family: var(--serif);
  font-size: 1.7rem;
}

.research-empty p:last-child {
  margin: 0;
  color: var(--muted);
}

/* Editorial archive and articles */

.site-main.wrap {
  min-height: 62vh;
  padding-top: 38px;
  padding-bottom: 60px;
}

.archive-head {
  margin: 0 0 26px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.archive-head h1 {
  margin: 0;
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.archive-head p {
  max-width: 650px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.card {
  position: relative;
  margin: 0;
  padding: 30px 4px;
  background: transparent;
  border-bottom: 1px solid var(--line);
}

.card:first-of-type {
  border-top: 1px solid var(--line);
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  color: var(--teal-deep);
  background: rgba(11, 128, 111, 0.08);
  border-radius: 999px;
  font-size: 0.59rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.card h2 {
  margin: 13px 0 7px;
  line-height: 1.2;
}

.card h2 a {
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.card h2 a:hover {
  color: var(--teal-deep);
}

.meta {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.72rem;
}

.card .excerpt {
  max-width: 720px;
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.card .excerpt p {
  margin: 0;
}

.post-single {
  margin: 0;
  padding: 0 0 44px;
}

.post-head {
  padding: 24px 0 30px;
  border-bottom: 1px solid var(--line);
}

.post-single .post-head h1 {
  max-width: 860px;
  margin: 15px 0 10px;
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(2.25rem, 5vw, 4.2rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.entry-content {
  margin-top: 34px;
  color: #374353;
  font-size: 1.02rem;
  line-height: 1.78;
}

.entry-content > p:first-child {
  color: var(--text);
  font-size: 1.08em;
}

.entry-content h2 {
  margin: 2.25em 0 0.7em;
  padding-bottom: 9px;
  color: var(--text);
  border-bottom: 2px solid var(--line);
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.entry-content h3 {
  margin: 1.9em 0 0.55em;
  color: var(--text);
  font-size: 1.05rem;
}

.entry-content a {
  color: var(--teal-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.entry-content a:hover {
  color: #075d51;
}

.entry-content figure {
  margin: 1.65em 0;
}

.entry-content img {
  border: 1px solid var(--line);
  border-radius: 9px;
}

.entry-content figure.wp-block-table,
.entry-content .table-scroll {
  overflow-x: auto;
}

.entry-content table {
  width: 100%;
  display: block;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.entry-content th,
.entry-content td {
  min-width: 110px;
  padding: 9px 11px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.entry-content thead th {
  color: var(--text);
  background: #ebe8e0;
  border-bottom-width: 2px;
}

.entry-content li {
  margin-bottom: 0.48em;
}

.entry-content hr {
  margin: 2.2em 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.entry-content blockquote {
  margin: 1.5em 0;
  padding: 5px 0 5px 20px;
  color: var(--text-soft);
  border-left: 3px solid var(--teal-deep);
}

.entry-content strong {
  color: var(--text);
}

.entry-content em {
  color: var(--muted);
}

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
}

.post-nav a {
  color: var(--teal-deep);
  text-decoration: none;
}

.post-nav a:hover {
  text-decoration: underline;
}

.pagination {
  margin: 34px 0 0;
  text-align: center;
}

.pagination .nav-links {
  display: inline-flex;
  gap: 6px;
}

.pagination .page-numbers {
  min-width: 36px;
  min-height: 36px;
  display: inline-grid;
  place-items: center;
  padding: 5px 10px;
  color: var(--text-soft);
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 0.78rem;
  text-decoration: none;
}

.pagination .page-numbers.current {
  color: var(--ivory);
  background: var(--ink-900);
  border-color: var(--ink-900);
}

/* Footer */

.site-footer {
  color: #8e99a8;
  background: var(--ink-950);
  border-top: 1px solid var(--line-dark);
}

.footer-inner {
  min-height: 138px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.footer-inner p {
  margin: 0;
}

.footer-brand {
  color: var(--ivory);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-brand span {
  color: var(--teal);
}

.footer-brand + p {
  margin-top: 5px;
  font-size: 0.7rem;
}

.footer-disclaimer {
  max-width: 440px;
  font-size: 0.69rem;
  text-align: right;
}

/* Responsive */

@media (max-width: 1040px) {
  .desk-hero {
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 45px;
  }

  .pulse-workspace {
    grid-template-columns: minmax(0, 1.35fr) minmax(310px, 0.75fr);
  }

  .pulse-column-head,
  .pulse-row {
    grid-template-columns: minmax(115px, 1fr) minmax(70px, 0.68fr) minmax(75px, 0.68fr) minmax(85px, 0.75fr);
  }

  .pulse-column-head span:last-child,
  .pulse-cell--read {
    display: none;
  }
}

@media (max-width: 860px) {
  .masthead-inner {
    gap: 22px;
  }

  .site-nav {
    gap: 17px;
  }

  .site-nav a {
    font-size: 0.65rem;
  }

  .masthead-brief-link {
    display: none;
  }

  .desk-hero {
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: start;
  }

  .desk-hero h1 {
    max-width: 720px;
  }

  .session-card {
    max-width: 520px;
  }

  .desk-hero__rail {
    width: 100%;
    max-width: 520px;
  }

  .market-stats {
    grid-template-columns: 1fr 1fr;
  }

  .market-stat:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line-dark);
  }

  .market-stat:nth-child(4) {
    border-top: 1px solid var(--line-dark);
  }

  .pulse-workspace {
    grid-template-columns: 1fr;
  }

  .pulse-list-pane {
    border-right: 0;
  }

  .pulse-rows {
    max-height: 480px;
  }

  .why-panel {
    border-top: 1px solid var(--line-dark);
  }

  .why-panel__empty {
    min-height: 250px;
  }

  .research-deck__head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .research-card,
  .research-card--lead {
    grid-column: span 6;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 66px;
  }

  .admin-bar .masthead {
    top: 46px;
  }

  .wrap {
    padding-inline: 18px;
  }

  .masthead-inner {
    min-height: 64px;
    justify-content: space-between;
  }

  .brand {
    gap: 8px;
  }

  .brand-glyph {
    width: 27px;
    height: 27px;
  }

  .brand-name {
    font-size: 0.86rem;
  }

  .brand-desk {
    display: none;
  }

  .site-nav {
    gap: 15px;
    margin-right: 0;
  }

  .site-nav a {
    padding-block: 23px 21px;
    font-size: 0.58rem;
    letter-spacing: 0.065em;
  }

  .site-nav a:nth-child(n + 3) {
    display: none;
  }

  .market-cockpit__inner {
    padding-top: 19px;
    padding-bottom: 54px;
  }

  .desk-utility {
    padding-bottom: 18px;
  }

  .desk-utility__name {
    font-size: 0.58rem;
  }

  .desk-utility__clock time {
    display: none;
  }

  .session-pill {
    padding: 6px 8px;
    font-size: 0.54rem;
  }

  .desk-hero {
    padding: 52px 0 40px;
  }

  .desk-hero h1 {
    margin: 14px 0 20px;
    font-size: clamp(2.85rem, 14vw, 4.25rem);
    line-height: 0.94;
  }

  .desk-deck {
    font-size: 0.94rem;
  }

  .session-card {
    padding: 21px 18px 17px;
  }

  .market-stat {
    padding: 15px;
  }

  .market-stat__label {
    font-size: 0.52rem;
  }

  .market-stat__value {
    font-size: 1rem;
  }

  .pulse-panel {
    margin-inline: -4px;
    border-radius: 14px;
  }

  .pulse-panel__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding: 18px;
  }

  .refresh-button {
    flex: 0 0 auto;
  }

  .refresh-button span:last-child {
    display: none;
  }

  .pulse-tabs {
    padding-inline: 10px;
  }

  .pulse-column-head,
  .pulse-row {
    grid-template-columns: minmax(108px, 1fr) minmax(70px, 0.64fr) minmax(72px, 0.68fr);
    column-gap: 10px;
    padding-inline: 15px;
  }

  .pulse-column-head span:nth-child(4),
  .pulse-cell--volume {
    display: none;
  }

  .pulse-row {
    min-height: 70px;
  }

  .why-panel {
    padding: 24px 19px;
  }

  .research-deck {
    padding: 74px 0 82px;
  }

  .research-deck__head {
    padding-bottom: 25px;
  }

  .research-grid {
    display: block;
    border-top: 0;
    border-left: 0;
  }

  .research-card,
  .research-card--lead {
    min-height: 0;
    padding: 25px 21px;
    border: 1px solid var(--line);
    border-radius: 0;
  }

  .research-card + .research-card {
    border-top: 0;
  }

  .research-card--lead h3 {
    font-size: 2.05rem;
  }

  .research-card__link {
    margin-top: 28px;
  }

  .site-main.wrap {
    padding-top: 28px;
  }

  .entry-content {
    font-size: 0.96rem;
  }

  .footer-inner {
    min-height: 150px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
  }

  .footer-disclaimer {
    text-align: left;
  }
}

@media (max-width: 430px) {
  .site-nav a:nth-child(n + 2) {
    display: none;
  }

  .desk-utility__name {
    max-width: 150px;
  }

  .phase-labels {
    font-size: 0.49rem;
  }

  .market-stat__change {
    font-size: 0.59rem;
  }

  .pulse-tab {
    padding-inline: 10px;
  }

  .detail-metrics {
    grid-template-columns: 1fr;
  }

  .live-leader {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .live-leader__spark {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .live-leader__quote {
    grid-column: 2;
    grid-row: 1;
  }

  .research-deck__head h2 {
    font-size: 2.45rem;
  }
}

/* Closed-market Bitcoin view */

.closed-market-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  margin: 6px 0 30px;
}

.closed-market-panel__message,
.btc-market-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(174, 190, 214, 0.16);
  border-radius: 16px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
}

.closed-market-panel__message {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 48px);
  background:
    radial-gradient(circle at 10% 0%, rgba(155, 108, 255, 0.2), transparent 42%),
    rgba(12, 17, 28, 0.86);
}

.closed-market-panel__message h2 {
  max-width: 460px;
  margin: 11px 0 13px;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.55rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.closed-market-panel__message > p:not(.micro-label) {
  max-width: 520px;
  margin: 0;
  color: #98a3b2;
  font-size: 0.84rem;
}

.closed-market-panel__next {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 27px;
  padding-top: 18px;
  border-top: 1px solid rgba(174, 190, 214, 0.13);
}

.closed-market-panel__next span {
  color: #667285;
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.closed-market-panel__next strong {
  color: #c8d0da;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 650;
}

.btc-market-card {
  padding: clamp(24px, 3vw, 38px);
  background:
    linear-gradient(135deg, rgba(40, 215, 192, 0.08), transparent 42%),
    linear-gradient(315deg, rgba(155, 108, 255, 0.12), transparent 46%),
    #090e18;
}

.btc-market-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent);
  mask-image: linear-gradient(to bottom, #000, transparent);
}

.btc-market-card__head,
.btc-market-card__quote,
.btc-market-card__chart,
.btc-market-card__footer {
  position: relative;
}

.btc-market-card__head,
.btc-market-card__footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.btc-market-card__head h3 {
  margin: 7px 0 0;
  color: var(--ivory);
  font-size: 1.05rem;
}

.btc-market-card__head h3 span {
  margin-left: 7px;
  color: #667286;
  font-family: var(--mono);
  font-size: 0.63rem;
  font-weight: 600;
}

.btc-market-card__status {
  padding: 5px 9px;
  color: var(--teal);
  background: rgba(40, 215, 192, 0.07);
  border: 1px solid rgba(40, 215, 192, 0.24);
  border-radius: 999px;
  font-size: 0.51rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.btc-market-card__quote {
  display: flex;
  align-items: baseline;
  gap: 15px;
  margin-top: 24px;
}

.btc-market-card__quote strong {
  color: var(--ivory);
  font-family: var(--mono);
  font-size: clamp(2rem, 4.5vw, 4.2rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.055em;
  line-height: 1;
}

.btc-market-card__quote > span {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
}

.btc-market-card__chart {
  min-height: 138px;
  margin: 22px 0 13px;
}

.btc-market-card__chart .market-spark {
  height: 120px;
}

.btc-market-card__chart .market-spark__line {
  stroke-width: 2;
}

.btc-market-card__chart .market-spark__fill {
  fill: rgba(40, 215, 192, 0.13);
}

.btc-market-card__chart .market-spark-label {
  color: #69768a;
  font-size: 0.53rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btc-market-card__empty {
  min-height: 118px;
  display: grid;
  place-items: center;
  margin: 0;
  color: #647084;
  border: 1px dashed rgba(174, 190, 214, 0.16);
  border-radius: 10px;
  font-size: 0.7rem;
}

.btc-market-card__footer {
  padding-top: 12px;
  color: #657184;
  border-top: 1px solid rgba(174, 190, 214, 0.1);
  font-size: 0.56rem;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.btc-market-card__footer time {
  color: #8995a7;
  font-family: var(--mono);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

/* Ticker news inside the research drawer */

.ticker-news {
  margin: 16px 0 19px;
  padding: 14px;
  background: rgba(155, 108, 255, 0.045);
  border: 1px solid rgba(155, 108, 255, 0.19);
  border-radius: 10px;
}

.ticker-news__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.ticker-news__head h4 {
  margin: 4px 0 0;
  color: var(--ivory);
  font-size: 0.82rem;
}

.ticker-news__head > span {
  color: #747f91;
  font-family: var(--mono);
  font-size: 0.53rem;
}

.ticker-news ul {
  display: grid;
  gap: 0;
  margin: 11px 0 0;
  padding: 0;
  list-style: none;
}

.ticker-news li {
  margin: 0;
  padding: 10px 0;
  border-top: 1px solid rgba(174, 190, 214, 0.1);
}

.ticker-news__item {
  display: block;
  color: inherit;
  text-decoration: none;
}

.ticker-news a.ticker-news__item:hover .ticker-news__title {
  color: var(--teal);
}

.ticker-news__title {
  display: block;
  color: #cbd3de;
  font-size: 0.67rem;
  font-weight: 690;
  line-height: 1.45;
  transition: color 150ms ease;
}

.ticker-news__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 5px;
  color: #697589;
  font-size: 0.53rem;
}

.ticker-news__meta time::before {
  content: "·";
  margin-right: 7px;
}

.ticker-news .is-muted {
  padding-bottom: 0;
  font-size: 0.61rem;
}

/* Market news */

.market-news-section {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 8vw, 116px) 0;
  color: var(--ivory);
  background:
    radial-gradient(circle at 8% 8%, rgba(48, 106, 232, 0.14), transparent 32%),
    radial-gradient(circle at 90% 85%, rgba(155, 108, 255, 0.12), transparent 35%),
    #080c15;
  border-bottom: 1px solid rgba(174, 190, 214, 0.13);
}

.market-news-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
}

.market-news-section .wrap {
  position: relative;
}

.market-news-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 34px;
}

.market-news-section__head h2 {
  max-width: 760px;
  margin: 10px 0 0;
  font-family: var(--serif);
  font-size: clamp(2.7rem, 5.5vw, 5.65rem);
  font-weight: 560;
  letter-spacing: -0.052em;
  line-height: 0.94;
}

.market-news-section__head > div > p:last-child {
  max-width: 660px;
  margin: 17px 0 0;
  color: #8f9aaa;
  font-size: 0.86rem;
}

.market-news-toggle {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  padding: 0 17px;
  color: var(--ivory);
  background: rgba(60, 123, 255, 0.92);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 800;
}

.market-news-toggle:hover {
  background: #5d8fff;
}

.market-news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.78fr) minmax(280px, 0.88fr);
  gap: 16px;
  align-items: stretch;
}

.market-news-featured,
.market-news-stack {
  min-width: 0;
}

.market-news-stack {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.market-news-card {
  min-width: 0;
}

.market-news-card > a {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 23px;
  color: var(--ivory);
  background:
    linear-gradient(155deg, rgba(31, 94, 201, 0.64), rgba(44, 18, 92, 0.92)),
    #11182a;
  border: 1px solid rgba(86, 141, 255, 0.65);
  border-radius: 14px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.market-news-card > a::before,
.market-news-card > a::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.market-news-card > a::before {
  width: 240px;
  height: 240px;
  right: -75px;
  top: -95px;
  background: rgba(40, 215, 192, 0.16);
  border-radius: 50%;
  filter: blur(18px);
}

.market-news-card > a::after {
  inset: 0;
  opacity: 0.24;
  background-image:
    linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.12) 39%, transparent 40%),
    linear-gradient(25deg, transparent 62%, rgba(255, 255, 255, 0.07) 63%, transparent 64%);
  background-size: 90px 90px, 120px 120px;
}

.market-news-card.is-tone-1 > a {
  background: linear-gradient(145deg, #173f66, #22104f 82%);
  border-color: rgba(40, 215, 192, 0.48);
}

.market-news-card.is-tone-2 > a {
  background: linear-gradient(145deg, #47206e, #1b1540 82%);
  border-color: rgba(155, 108, 255, 0.64);
}

.market-news-card.is-tone-3 > a {
  background: linear-gradient(145deg, #193f45, #16183a 82%);
  border-color: rgba(40, 215, 192, 0.42);
}

.market-news-card > a:hover {
  border-color: rgba(40, 215, 192, 0.8);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  transform: translateY(-2px);
}

.market-news-card--featured {
  min-height: 520px;
}

.market-news-card--featured > a {
  justify-content: flex-end;
  min-height: 520px;
  padding: clamp(28px, 4vw, 42px);
}

.market-news-card--featured > a::before {
  width: 440px;
  height: 440px;
  right: 5%;
  top: -130px;
}

.market-news-card--compact {
  min-height: 0;
}

.market-news-card--compact > a {
  min-height: 0;
  padding: 19px;
}

.market-news-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: rgba(244, 240, 232, 0.74);
  font-size: 0.58rem;
}

.market-news-card__publisher {
  overflow: hidden;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.market-news-card__meta time {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 0.53rem;
}

.market-news-card__title {
  margin: 16px 0 20px;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 620;
  letter-spacing: -0.024em;
  line-height: 1.13;
}

.market-news-card--featured .market-news-card__title {
  max-width: 680px;
  margin: 18px 0 27px;
  font-size: clamp(2rem, 3.8vw, 3.9rem);
  line-height: 1.02;
}

.market-news-card--compact .market-news-card__title {
  display: -webkit-box;
  overflow: hidden;
  margin: 12px 0;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 760;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.market-news-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
}

.market-news-card__symbols {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.market-news-card__symbols > span {
  padding: 3px 7px;
  color: #dfe9ff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.53rem;
  font-weight: 750;
}

.market-news-card__source {
  flex: 0 0 auto;
  font-size: 0.56rem;
  font-weight: 760;
}

.market-news-card--compact .market-news-card__source {
  display: none;
}

.news-movers {
  overflow: hidden;
  background: rgba(12, 18, 30, 0.92);
  border: 1px solid rgba(54, 91, 139, 0.48);
  border-radius: 14px;
}

.news-movers__head {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 19px;
  border-bottom: 1px solid rgba(174, 190, 214, 0.12);
}

.news-movers__head h3 {
  margin: 2px 0 0;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.news-movers__head > span {
  color: var(--teal);
  font-family: var(--mono);
  font-size: 0.53rem;
}

.news-mover {
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(70px, 0.85fr) auto;
  gap: 9px;
  align-items: center;
  padding: 10px 18px;
  color: #9ba7b7;
  border-bottom: 1px solid rgba(174, 190, 214, 0.1);
  text-decoration: none;
  transition: background 150ms ease;
}

.news-mover:hover {
  background: rgba(255, 255, 255, 0.035);
}

.news-mover__identity,
.news-mover__quote {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.news-mover__identity strong,
.news-mover__quote strong {
  color: var(--ivory);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.news-mover__identity small {
  overflow: hidden;
  color: #69768a;
  font-size: 0.53rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-mover__spark .market-spark {
  height: 30px;
}

.news-mover__spark .market-spark-label {
  display: none;
}

.news-mover__quote {
  align-items: flex-end;
  font-variant-numeric: tabular-nums;
}

.news-mover__quote small {
  font-family: var(--mono);
  font-size: 0.54rem;
}

.news-movers__empty {
  margin: 0;
  padding: 28px 18px;
  color: #687488;
  font-size: 0.68rem;
}

.market-news-more {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.market-news-card--more > a {
  min-height: 220px;
}

.market-news-card--more .market-news-card__title {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.36;
}

.market-news-state {
  min-height: 260px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 13px;
  color: #778396;
  border: 1px dashed rgba(174, 190, 214, 0.15);
  border-radius: 14px;
}

.market-news-state p {
  margin: 0;
  font-size: 0.75rem;
}

/* Next-session board */

.next-session-board {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 8vw, 112px) 0;
  color: var(--ivory);
  background:
    radial-gradient(circle at 88% 15%, rgba(155, 108, 255, 0.2), transparent 34%),
    radial-gradient(circle at 10% 90%, rgba(40, 215, 192, 0.09), transparent 30%),
    var(--ink-925);
}

.next-session-board__head {
  display: block;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(174, 190, 214, 0.16);
}

.next-session-board__head h2 {
  margin: 0;
}

.next-session-board__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.next-session-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 22px;
  color: var(--ivory);
  background: rgba(17, 24, 39, 0.76);
  border: 1px solid rgba(174, 190, 214, 0.16);
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.next-session-card:hover,
.next-session-card:focus-visible {
  background: rgba(23, 32, 51, 0.96);
  border-color: rgba(40, 215, 192, 0.44);
  transform: translateY(-2px);
}

.next-session-card__top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 10px;
}

.next-session-card__rank {
  color: #667287;
  font-family: var(--mono);
  font-size: 0.61rem;
}

.next-session-card__top strong {
  font-family: var(--mono);
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.next-session-card__top > span:last-child {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
}

.next-session-card__name {
  margin-top: 4px;
  color: #7f8a9a;
  font-size: 0.68rem;
}

.next-session-card__reason {
  display: -webkit-box;
  margin-top: 27px;
  overflow: hidden;
  color: #bdc4cf;
  font-size: 0.83rem;
  line-height: 1.62;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.next-session-card__action {
  margin-top: auto;
  padding-top: 24px;
  color: var(--teal);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.next-session-board__state {
  min-height: 220px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  margin-top: 22px;
  color: #7b8798;
  border: 1px dashed rgba(174, 190, 214, 0.16);
  border-radius: 14px;
}

.next-session-board__state p {
  margin: 0;
  font-size: 0.76rem;
}

/* Expanded footer and mobile navigation */

.nav-toggle {
  display: none;
}

.footer-inner {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.7fr);
  gap: 50px 80px;
  align-items: start;
  padding-top: 58px;
  padding-bottom: 28px;
}

.footer-intro > p:last-child {
  max-width: 290px;
  margin-top: 11px;
  color: #6f7a8a;
  font-size: 0.76rem;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.footer-nav__group {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-nav__group > p {
  margin: 0 0 7px;
  color: var(--ivory);
  font-size: 0.6rem;
  font-weight: 820;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-nav__group a {
  color: #8d98a8;
  font-size: 0.72rem;
  text-decoration: none;
  transition: color 150ms ease;
}

.footer-nav__group a:hover {
  color: var(--teal);
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  color: #586476;
  border-top: 1px solid rgba(174, 190, 214, 0.11);
  font-size: 0.65rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: #778396;
  text-decoration: none;
}

@media (max-width: 1080px) {
  .market-news-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
  }

  .news-movers {
    grid-column: 1 / -1;
  }

  .news-movers > div:last-child {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-mover:nth-child(odd) {
    border-right: 1px solid rgba(174, 190, 214, 0.1);
  }

}

@media (max-width: 900px) {
  body.site-nav-open {
    overflow: hidden;
  }

  .masthead-inner {
    position: relative;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
    display: grid;
    place-content: center;
    gap: 4px;
    margin-left: auto;
    padding: 0;
    color: var(--ivory);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 9px;
    cursor: pointer;
  }

  .nav-toggle > span:not(.screen-reader-text) {
    width: 18px;
    height: 1.5px;
    display: block;
    background: currentColor;
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .nav-toggle[aria-expanded="true"] > span:nth-of-type(2) {
    transform: translateY(5.5px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] > span:nth-of-type(3) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] > span:nth-of-type(4) {
    transform: translateY(-5.5px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    z-index: 90;
    inset: 72px 0 auto;
    max-height: calc(100vh - 72px);
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 18px;
    overflow-y: auto;
    background: rgba(7, 10, 17, 0.985);
    border-bottom: 1px solid rgba(40, 215, 192, 0.24);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    opacity: 0;
    transform: translateY(-12px);
    visibility: hidden;
    transition: opacity 160ms ease, transform 180ms ease, visibility 180ms;
  }

  .admin-bar .site-nav {
    inset-block-start: 104px;
  }

  body.site-nav-open .site-nav {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }

  .site-nav a,
  .site-nav a:nth-child(n) {
    min-height: 52px;
    display: flex !important;
    align-items: center;
    padding: 0 8px;
    color: #c2cad5;
    border-bottom: 1px solid rgba(174, 190, 214, 0.1);
    font-size: 0.75rem;
  }

  .site-nav a::after {
    display: none;
  }

  .masthead-brief-link {
    display: none;
  }

  .closed-market-panel {
    grid-template-columns: 1fr;
  }

  .market-news-layout {
    grid-template-columns: 1fr;
  }

  .market-news-card--featured {
    min-height: 440px;
  }

  .market-news-card--featured > a {
    min-height: 440px;
  }

  .market-news-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .market-news-card--compact > a {
    min-height: 210px;
  }

  .market-news-more {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .next-session-board__head {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 680px) {
  .site-nav {
    inset-block-start: 64px;
    max-height: calc(100vh - 64px);
  }

  .admin-bar .site-nav {
    inset-block-start: 110px;
  }

  .closed-market-panel {
    margin-bottom: 18px;
  }

  .closed-market-panel__message,
  .btc-market-card {
    border-radius: 13px;
  }

  .btc-market-card__quote {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .btc-market-card__chart {
    min-height: 110px;
  }

  .btc-market-card__chart .market-spark {
    height: 92px;
  }

  .market-news-section {
    padding: 70px 0;
  }

  .market-news-section__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .market-news-section__head h2 {
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }

  .market-news-stack {
    grid-template-columns: 1fr;
  }

  .market-news-card--featured {
    min-height: 390px;
  }

  .market-news-card--featured > a {
    min-height: 390px;
  }

  .market-news-card--featured .market-news-card__title {
    font-size: 2.15rem;
  }

  .market-news-card--compact > a {
    min-height: 190px;
  }

  .news-movers > div:last-child {
    display: block;
  }

  .news-mover:nth-child(odd) {
    border-right: 0;
  }

  .market-news-more {
    grid-template-columns: 1fr;
  }

  .next-session-board__grid {
    grid-template-columns: 1fr;
  }

  .next-session-card {
    min-height: 220px;
  }

  .footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 45px;
    padding-bottom: 24px;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
    gap: 30px 24px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 430px) {
  .footer-nav {
    grid-template-columns: 1fr;
  }

  .market-news-card--featured {
    min-height: 360px;
  }

  .market-news-card--featured > a {
    min-height: 360px;
  }

  .news-mover {
    grid-template-columns: minmax(0, 1fr) 74px auto;
    padding-inline: 13px;
  }

  .market-news-card__source {
    display: none;
  }
}

.why-panel__close {
  display: none;
}

@media (max-width: 860px) {
  body.market-detail-open {
    overflow: hidden;
  }

  .why-panel {
    position: fixed;
    inset: 64px 0 0;
    z-index: 1200;
    padding: 18px 19px 36px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background:
      linear-gradient(rgba(9, 13, 22, 0.97), rgba(9, 13, 22, 0.97)),
      linear-gradient(135deg, rgba(155, 108, 255, 0.12), transparent 50%);
    border-top: 1px solid rgba(40, 215, 192, 0.28);
    opacity: 0;
    transform: translateY(102%);
    visibility: hidden;
    transition: opacity 180ms ease, transform 220ms ease, visibility 220ms;
  }

  body.admin-bar .why-panel {
    inset-block-start: 110px;
  }

  .market-cockpit.is-detail-open .why-panel {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }

  .why-panel__close {
    position: sticky;
    top: 0;
    z-index: 2;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    margin: 0 0 4px auto;
    color: #b9c3cf;
    background: rgba(17, 23, 35, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.05rem;
    line-height: 1;
  }

  .why-panel__close:hover {
    color: var(--ivory);
    border-color: rgba(40, 215, 192, 0.48);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Free reader membership */

.site-nav__member {
  display: none;
}

@media (max-width: 900px) {
  .site-nav .site-nav__member {
    color: var(--teal);
  }
}

.masthead-member-link {
  border-color: rgba(40, 215, 192, 0.42);
  background: rgba(40, 215, 192, 0.08);
}

.masthead-member-link:hover {
  border-color: rgba(40, 215, 192, 0.7);
  background: rgba(40, 215, 192, 0.14);
}

.masthead-member-link.is-member {
  border-color: rgba(244, 240, 232, 0.2);
  background: rgba(244, 240, 232, 0.05);
}

.masthead-member-link.is-member span:last-child {
  color: #9da7b5;
  font-size: 0.62rem;
  font-weight: 650;
}

body.cirvie-membership-open {
  overflow: hidden;
}

.cirvie-membership-gate {
  color: #dce4ed;
  font-family: var(--sans);
}

.cirvie-membership-gate--desk {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow-y: auto;
  opacity: 0;
  transition: opacity 220ms ease;
}

.cirvie-membership-gate--desk.is-active {
  opacity: 1;
}

.cirvie-membership-gate__backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(4, 7, 13, 0.78), rgba(4, 7, 13, 0.93)),
    radial-gradient(circle at 50% 28%, rgba(155, 108, 255, 0.22), transparent 42%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.cirvie-membership-card {
  position: relative;
  z-index: 1;
  width: min(100%, 590px);
  padding: clamp(28px, 5vw, 46px);
  color: #cbd5e1;
  background:
    radial-gradient(circle at 95% 0, rgba(155, 108, 255, 0.14), transparent 35%),
    linear-gradient(145deg, #111827, #090d16);
  border: 1px solid rgba(174, 190, 214, 0.22);
  border-radius: 24px;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.58);
}

.cirvie-membership-card__eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.cirvie-membership-card h2 {
  max-width: 520px;
  margin: 0;
  padding: 0;
  color: var(--ivory);
  border: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.cirvie-membership-card__copy {
  max-width: 520px;
  margin: 17px 0 0;
  color: #b8c2cf;
  font-size: 0.96rem;
  line-height: 1.65;
}

.cirvie-membership-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 25px;
  padding: 0;
  list-style: none;
}

.cirvie-membership-benefits li {
  margin: 0;
  padding: 7px 10px;
  color: #d5dde7;
  background: rgba(244, 240, 232, 0.055);
  border: 1px solid rgba(244, 240, 232, 0.1);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 720;
  line-height: 1.2;
}

.cirvie-membership-form > label {
  display: block;
  margin: 0 0 8px;
  color: #edf2f7;
  font-size: 0.72rem;
  font-weight: 760;
}

.cirvie-membership-form__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
}

.cirvie-membership-form__row input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 11px 15px;
  color: #f8fafc;
  background: #060a12;
  border: 1px solid #37445a;
  border-radius: 12px;
  outline: 0;
}

.cirvie-membership-form__row input::placeholder {
  color: #69758a;
}

.cirvie-membership-form__row input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(40, 215, 192, 0.13);
}

.cirvie-membership-form__row button {
  min-height: 48px;
  padding: 11px 18px;
  color: #04110f;
  background: var(--teal);
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 850;
  white-space: nowrap;
  transition: filter 150ms ease, transform 150ms ease;
}

.cirvie-membership-form__row button:hover:not(:disabled) {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.cirvie-membership-form__row button:disabled {
  cursor: wait;
  opacity: 0.66;
}

.cirvie-membership-form.is-sent .cirvie-membership-form__row input {
  color: #93a0b2;
  border-color: rgba(40, 215, 192, 0.26);
}

.cirvie-membership-form__status {
  min-height: 20px;
  margin: 10px 0 0;
  color: #8290a4;
  font-size: 0.7rem;
  line-height: 1.45;
}

.cirvie-membership-form__status.is-success {
  color: #64e6d5;
}

.cirvie-membership-form__status.is-error {
  color: #ff9aa5;
}

.cirvie-membership-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cirvie-membership-card__signin {
  margin: 12px 0 0;
  color: #778499;
  font-size: 0.68rem;
  line-height: 1.45;
}

.cirvie-research-preview {
  position: relative;
  padding-bottom: 42px;
}

.cirvie-research-preview::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 100px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(243, 240, 233, 0), var(--paper) 84%);
}

.cirvie-research-preview__unit {
  margin: 0 0 1.1em;
}

.cirvie-membership-gate--research {
  position: relative;
  margin: -12px 0 28px;
  padding-top: 1px;
}

.cirvie-membership-gate--research .cirvie-membership-gate__backdrop {
  display: none;
}

.cirvie-membership-gate--research .cirvie-membership-card {
  width: 100%;
  padding: clamp(26px, 5vw, 40px);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(25, 31, 41, 0.18);
}

.cirvie-membership-gate--research .cirvie-membership-card h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.cirvie-member-notice {
  position: fixed;
  z-index: 11000;
  right: 22px;
  bottom: 22px;
  max-width: min(420px, calc(100vw - 44px));
  padding: 13px 17px;
  color: #e2e8f0;
  background: #0d121d;
  border: 1px solid rgba(40, 215, 192, 0.35);
  border-radius: 12px;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.34);
  font-size: 0.8rem;
  line-height: 1.45;
}

@media (max-width: 620px) {
  .cirvie-membership-gate--desk {
    align-items: end;
    padding: 0;
  }

  .cirvie-membership-gate--desk .cirvie-membership-card {
    width: 100%;
    padding: 27px 20px calc(24px + env(safe-area-inset-bottom));
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 22px 22px 0 0;
  }

  .cirvie-membership-card h2 {
    font-size: 2.2rem;
  }

  .cirvie-membership-benefits {
    gap: 6px;
    margin: 18px 0 21px;
  }

  .cirvie-membership-form__row {
    grid-template-columns: 1fr;
  }

  .cirvie-membership-form__row button {
    width: 100%;
  }

  .cirvie-membership-gate--research {
    margin-inline: -8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cirvie-membership-gate--desk,
  .cirvie-membership-form__row button {
    transition: none;
  }
}

/* Market Motion card workspace */

.desk-time-readout {
  min-width: 150px;
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  column-gap: 8px;
  padding: 7px 10px;
  color: #707c8e;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  font-size: 0.52rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.desk-time-readout time {
  color: var(--ivory);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  white-space: nowrap;
}

.desk-time-readout small {
  grid-column: 1 / -1;
  margin-top: 2px;
  color: #657184;
  font-size: 0.5rem;
  letter-spacing: 0.04em;
  text-align: right;
  text-transform: none;
}

.desk-time-readout small[aria-busy="true"] {
  color: #9e8bd3;
}

.pulse-list-pane {
  background:
    radial-gradient(circle at 15% 10%, rgba(40, 215, 192, 0.04), transparent 34%),
    rgba(3, 7, 13, 0.18);
}

.pulse-rows {
  max-height: 690px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  overflow-y: auto;
}

.pulse-row {
  position: relative;
  width: 100%;
  min-height: 218px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "heading quote"
    "sparks sparks"
    "metrics metrics"
    "footer footer";
  align-content: start;
  align-items: start;
  gap: 0;
  padding: 14px 14px 12px;
  color: #aeb8c6;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    rgba(7, 11, 19, 0.76);
  border: 1px solid rgba(174, 190, 214, 0.15);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  text-align: left;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.pulse-row::before {
  display: none;
}

.pulse-row:hover {
  color: var(--ivory);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018)),
    rgba(7, 11, 19, 0.88);
  border-color: rgba(40, 215, 192, 0.38);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}

.pulse-row.is-selected {
  color: var(--ivory);
  background:
    linear-gradient(145deg, rgba(40, 215, 192, 0.075), rgba(155, 108, 255, 0.045)),
    rgba(7, 11, 19, 0.92);
  border-color: rgba(40, 215, 192, 0.68);
  box-shadow:
    0 0 0 1px rgba(40, 215, 192, 0.08),
    0 14px 34px rgba(0, 0, 0, 0.2);
}

.market-card__heading {
  grid-area: heading;
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding-right: 10px;
}

.market-card__rank {
  flex: 0 0 auto;
  color: #626e80;
  font-family: var(--mono);
  font-size: 0.55rem;
}

.market-card__symbol {
  flex: 0 0 auto;
  color: var(--ivory);
  font-size: 0.96rem;
  font-weight: 820;
  letter-spacing: 0.02em;
}

.market-card__name {
  min-width: 0;
  overflow: hidden;
  color: #738094;
  font-size: 0.59rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-card__quote {
  grid-area: quote;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.market-card__price {
  color: var(--ivory);
  font-size: 1.15rem;
  line-height: 1.05;
}

.market-card__move {
  margin-top: 3px;
  font-size: 0.6rem;
  font-weight: 720;
}

.market-card__sparks {
  grid-area: sparks;
  display: flex;
  gap: 9px;
  margin-top: 13px;
}

.market-spark-unit {
  min-width: 0;
  flex: 1 1 0;
  display: block;
  text-align: center;
}

.market-spark {
  width: 100%;
  height: 39px;
  display: block;
  overflow: visible;
}

.market-spark__line {
  fill: none;
  stroke: var(--teal);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.market-spark__fill {
  fill: rgba(40, 215, 192, 0.1);
}

.market-spark.is-negative .market-spark__line {
  stroke: var(--coral);
}

.market-spark.is-negative .market-spark__fill {
  fill: rgba(255, 101, 88, 0.1);
}

.market-spark-empty {
  height: 39px;
  display: grid;
  place-items: center;
  color: #3f4a5a;
}

.market-spark-label {
  display: block;
  margin-top: 1px;
  color: #4f5a6b;
  font-size: 0.48rem;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

.market-card__metrics {
  grid-area: metrics;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 11px;
}

.market-card__chip {
  min-height: 19px;
  display: inline-flex;
  align-items: center;
  padding: 0 6px;
  color: #8893a3;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.5rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.market-card__chip.is-new,
.market-card__chip.is-surging {
  color: #ffd37a;
  background: rgba(245, 158, 11, 0.09);
  border-color: rgba(245, 158, 11, 0.34);
}

.market-card__chip.is-rising {
  color: #7be4cf;
  background: rgba(40, 215, 192, 0.08);
  border-color: rgba(40, 215, 192, 0.32);
}

.market-card__chip.is-cooling {
  color: #ff9a91;
  background: rgba(255, 101, 88, 0.08);
  border-color: rgba(255, 101, 88, 0.28);
}

.market-card__footer {
  grid-area: footer;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 11px;
  padding-top: 9px;
  border-top: 1px solid rgba(174, 190, 214, 0.09);
}

.market-card__action {
  flex: 0 0 auto;
  color: #6fe1cf;
  font-size: 0.55rem;
  font-weight: 760;
}

.pulse-row.is-selected .market-card__action {
  color: #dffbf5;
}

.snapshot-read {
  margin-top: 16px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(40, 215, 192, 0.065), rgba(155, 108, 255, 0.045)),
    rgba(255, 255, 255, 0.018);
  border: 1px solid rgba(40, 215, 192, 0.2);
  border-radius: 10px;
}

.snapshot-read h4 {
  margin: 5px 0 0;
  color: var(--ivory);
  font-size: 0.82rem;
}

.snapshot-read > p:last-child {
  margin: 9px 0 0;
  color: #aab5c4;
  font-size: 0.68rem;
  line-height: 1.6;
}

.attention-brief {
  margin: 16px 0 19px;
  padding: 14px;
  background: rgba(40, 215, 192, 0.045);
  border: 1px solid rgba(40, 215, 192, 0.18);
  border-radius: 10px;
}

.attention-brief__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.attention-brief__head h4 {
  margin: 4px 0 0;
  color: var(--ivory);
  font-size: 0.82rem;
}

.attention-brief__head > span {
  padding: 4px 7px;
  color: #9aa5b4;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 0.5rem;
  font-weight: 780;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.attention-brief__head > span[data-state="surging"],
.attention-brief__head > span[data-state="new"] {
  color: #ffd37a;
  border-color: rgba(245, 158, 11, 0.36);
}

.attention-brief__head > span[data-state="rising"] {
  color: #7be4cf;
  border-color: rgba(40, 215, 192, 0.34);
}

.attention-brief__head > span[data-state="cooling"] {
  color: #ff9a91;
  border-color: rgba(255, 101, 88, 0.3);
}

.attention-brief__head > span[data-state="stale"] {
  color: var(--amber);
  border-color: rgba(245, 185, 66, 0.34);
}

.attention-brief__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 12px 0 0;
}

.attention-brief__metrics > div {
  min-width: 0;
  padding: 8px;
  background: rgba(0, 0, 0, 0.14);
  border-radius: 7px;
}

.attention-brief__metrics dt {
  color: #637083;
  font-size: 0.48rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.attention-brief__metrics dd {
  margin: 3px 0 0;
  color: var(--ivory);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
}

.attention-brief > p {
  margin: 10px 0 0;
  color: #8793a4;
  font-size: 0.62rem;
  line-height: 1.5;
}

@media (max-width: 680px) {
  .desk-time-readout {
    min-width: 138px;
  }

  .desk-time-readout > span {
    display: none;
  }

  .desk-time-readout time,
  .desk-time-readout small {
    grid-column: 1 / -1;
  }

  .pulse-rows {
    grid-template-columns: 1fr;
    max-height: 650px;
    padding: 10px;
  }

  .pulse-row {
    min-height: 214px;
    padding: 13px;
  }
}

@media (max-width: 430px) {
  .desk-time-readout {
    width: 100%;
  }

  .desk-time-readout time,
  .desk-time-readout small {
    text-align: left;
  }
}

/* Freshness and degraded states */

/*
 * Freshness is never signalled by colour alone. The banner and every marked
 * quote state the verdict in words ("Not current", "Stale"); the dimming,
 * dotted underline, and dashed sparkline only reinforce that text. Dimming
 * stops at 0.6 so degraded prices stay above the AA contrast floor.
 */

.freshness-banner {
  margin: 0 0 20px;
  padding: 11px 15px;
  color: var(--ivory);
  background: rgba(245, 185, 66, 0.08);
  border: 1px solid rgba(245, 185, 66, 0.36);
  border-left-width: 3px;
  border-radius: 11px;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.55;
}

.freshness-banner[hidden] {
  display: none;
}

.freshness-banner[data-state="stale"] {
  background: rgba(255, 107, 122, 0.1);
  border-color: rgba(255, 107, 122, 0.44);
}

.freshness-banner[data-state="unverified"] {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(174, 190, 214, 0.3);
}

.market-cockpit[data-freshness="delayed"] .session-pill__dot,
.market-cockpit[data-freshness="unverified"] .session-pill__dot {
  background: var(--amber) !important;
  box-shadow: 0 0 0 4px rgba(245, 185, 66, 0.1) !important;
  animation: none !important;
}

.market-cockpit[data-freshness="stale"] .session-pill__dot {
  background: var(--coral) !important;
  box-shadow: 0 0 0 4px rgba(255, 107, 122, 0.12) !important;
  animation: none !important;
}

/* Per-row verdict: only a row whose own quote is demonstrably old is marked. */
.pulse-row[data-freshness="delayed"] .market-card__price,
.pulse-row[data-freshness="delayed"] .market-card__move,
.pulse-row[data-freshness="stale"] .market-card__price,
.pulse-row[data-freshness="stale"] .market-card__move {
  opacity: 0.6;
  text-decoration: underline dotted var(--amber);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.pulse-row[data-freshness="stale"] {
  border-style: dashed;
}

.pulse-row[data-freshness="stale"] .market-card__price,
.pulse-row[data-freshness="stale"] .market-card__move {
  text-decoration-color: var(--coral);
}

.pulse-row[data-freshness="delayed"] .market-spark__line,
.pulse-row[data-freshness="stale"] .market-spark__line {
  stroke: #8b95a4;
  stroke-dasharray: 3 2;
}

.pulse-row[data-freshness="delayed"] .market-spark__fill,
.pulse-row[data-freshness="stale"] .market-spark__fill {
  fill: rgba(139, 149, 164, 0.08);
}

.market-card__stamp {
  margin-top: 4px;
  color: var(--amber);
  font-family: var(--sans);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pulse-row[data-freshness="stale"] .market-card__stamp {
  color: var(--coral);
}

/*
 * Research rows state when they were observed without being scolded for it.
 * The discussion leaderboard and the next-session board describe the last
 * completed session, so their age is a fact about the row, not a warning, and
 * it must not borrow the amber the live-price verdicts use.
 */
.market-card__stamp--research {
  color: var(--ivory-soft);
  font-weight: 700;
}

.next-session-card__stamp {
  color: var(--ivory-soft);
  font-family: var(--sans);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/*
 * A live price printed outside the cockpit says its own age, in the same words
 * and the same amber the cockpit rows use. These strips were covered by the
 * board verdict alone while that verdict was the oldest row on the board; once
 * the board started grading itself on its freshest observation — so that one
 * honest laggard could not condemn nineteen current prices — nothing reached
 * them, and they went on printing "Current snapshot" over prices this page had
 * already stamped stale.
 */
.news-mover__quote .displayed-quote__stamp,
.live-leader__quote .displayed-quote__stamp {
  margin-top: 3px;
  color: var(--amber);
  font-family: var(--sans);
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

[data-freshness="stale"] .displayed-quote__stamp {
  color: var(--coral);
}

/*
 * Board-level verdict for the surfaces that print a live price without one of
 * their own: the market stats, the Bitcoin card, and the next-session board.
 * The applet and movers strips are here too, so a board-wide verdict still
 * dims them when their own rows are individually fine — their per-row marks
 * sit on the same attribute and reach the same declaration. The snapshot-age
 * stat is deliberately excluded — it is the freshness readout itself and must
 * stay legible.
 */
.market-cockpit[data-freshness="delayed"] .market-stat__value:not(.market-stat__value--small),
.market-cockpit[data-freshness="stale"] .market-stat__value:not(.market-stat__value--small),
.market-cockpit[data-freshness="delayed"] .btc-market-card__quote strong,
.market-cockpit[data-freshness="stale"] .btc-market-card__quote strong,
[data-freshness="delayed"] .live-leader__quote,
[data-freshness="stale"] .live-leader__quote,
[data-freshness="delayed"] .news-mover__quote,
[data-freshness="stale"] .news-mover__quote {
  opacity: 0.6;
  text-decoration: underline dotted var(--amber);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

[data-freshness="stale"] .live-leader__quote,
[data-freshness="stale"] .news-mover__quote,
.market-cockpit[data-freshness="stale"] .market-stat__value:not(.market-stat__value--small),
.market-cockpit[data-freshness="stale"] .btc-market-card__quote strong {
  text-decoration-color: var(--coral);
}

/*
 * The index quote carries its own verdict, because it is a displayed price
 * that no desk list contains: the board can be current while this one number
 * is three quarters of an hour old, and the reverse. Its own state wins here
 * whatever the board is doing.
 */
.market-stat__value[data-freshness="delayed"],
.market-stat__value[data-freshness="stale"] {
  opacity: 0.6;
  text-decoration: underline dotted var(--amber);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.market-stat__value[data-freshness="stale"] {
  text-decoration-color: var(--coral);
}

/*
 * Scoped to the stamp-less surfaces on purpose: a sparkline inside a desk row
 * follows that row's own verdict, not the board's.
 */
[data-freshness="delayed"] .live-leader__spark .market-spark__line,
[data-freshness="stale"] .live-leader__spark .market-spark__line,
[data-freshness="delayed"] .news-mover__spark .market-spark__line,
[data-freshness="stale"] .news-mover__spark .market-spark__line,
.market-cockpit[data-freshness="delayed"] .btc-market-card__chart .market-spark__line,
.market-cockpit[data-freshness="stale"] .btc-market-card__chart .market-spark__line {
  stroke: #8b95a4;
  stroke-dasharray: 3 2;
}

[data-freshness="delayed"] .live-leader__spark .market-spark__fill,
[data-freshness="stale"] .live-leader__spark .market-spark__fill,
[data-freshness="delayed"] .news-mover__spark .market-spark__fill,
[data-freshness="stale"] .news-mover__spark .market-spark__fill,
.market-cockpit[data-freshness="delayed"] .btc-market-card__chart .market-spark__fill,
.market-cockpit[data-freshness="stale"] .btc-market-card__chart .market-spark__fill {
  fill: rgba(139, 149, 164, 0.08);
}

/*
 * The hero applet ranks its own states in the same order the verdicts do.
 * "Age unverified" is the mildest of the three — the board has not been shown
 * to be wrong, only unprovable — so it must not wear the colour reserved for
 * the loudest one, and "not current", which is strictly worse, must not be the
 * only one left unmarked.
 */
.live-leaders[data-state="delayed"],
.live-leaders[data-state="unverified"] {
  background: rgba(11, 16, 26, 0.94);
  border-color: rgba(245, 185, 66, 0.3);
}

.live-leaders[data-state="delayed"]::before,
.live-leaders[data-state="unverified"]::before,
.live-leaders[data-state="delayed"] .live-dot,
.live-leaders[data-state="unverified"] .live-dot {
  background: var(--amber);
  box-shadow: none;
}

.live-leaders[data-state="stale"] {
  background: rgba(11, 16, 26, 0.94);
  border-color: rgba(255, 107, 122, 0.3);
}

.live-leaders[data-state="stale"]::before,
.live-leaders[data-state="stale"] .live-dot {
  background: var(--coral);
  box-shadow: none;
}

.why-content[data-freshness="delayed"] .why-quote strong,
.why-content[data-freshness="stale"] .why-quote strong,
.why-content[data-freshness="delayed"] .why-quote span,
.why-content[data-freshness="stale"] .why-quote span {
  opacity: 0.6;
  text-decoration: underline dotted var(--amber);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.why-content[data-freshness="stale"] .why-quote strong,
.why-content[data-freshness="stale"] .why-quote span {
  text-decoration-color: var(--coral);
}

@media (prefers-reduced-motion: reduce) {
  .live-leaders[data-state] .live-dot {
    animation: none;
  }
}
