/* The phone era takes its visual language from the products in the story. */
.historical-preview .era-present {
  --scene-paper: #0b1118;
  --scene-ink: #edf2f4;
  --ink: #edf2f4;
  --muted: #a7b6bf;
  --rule: #35434f;
  --coral: #c3f85c;
  --teal: #76a7ff;
  --screen: #14212c;
  --screen-blue: #152b4a;
  background: var(--scene-paper);
  color: var(--scene-ink);
  color-scheme: dark;
}

.historical-preview .era-present .scene-environment {
  background:
    linear-gradient(90deg, #0b1118 0 66%, transparent 66%),
    linear-gradient(155deg, #183b63 0%, #102134 50%, #162d28 100%);
  background-repeat: no-repeat;
}

.historical-preview .era-present .scene-flow {
  background: transparent;
  padding-top: 100px;
  padding-bottom: 100px;
}

.historical-preview .era-present .scene-flow > .chapter-opener {
  position: relative;
  width: 100%;
  margin-bottom: 65px;
  padding-top: 38px;
  border-top: 5px solid var(--coral);
}

.historical-preview .era-present .chapter-opener h2 {
  max-width: 1000px;
  color: #c3f85c;
  font: 700 clamp(56px, 7.7vw, 112px)/.99 var(--body);
  letter-spacing: -.06em;
}

.historical-preview .era-present .essay-subheading {
  color: #c3f85c;
  font-family: var(--body);
  font-weight: 650;
}

.historical-preview .era-present .essay-paragraph,
.historical-preview .era-present .cms-prose-list,
.historical-preview .era-present .cms-prose-quote {
  color: #e2e9ee;
  font-size: 20px;
  line-height: 1.82;
}

.historical-preview .era-present .citation a {
  color: #b7d0ff;
}

.historical-preview .era-present .scene-flow > .cms-prose-slot {
  background: transparent;
}

/* The source images occupy the same display column as the live data. */
.historical-preview .era-present .documentary {
  color: #c2d0d9;
}

.historical-preview .era-present .documentary img {
  border: 1px solid #466074;
  border-radius: 8px;
  box-shadow: 0 18px 42px #0004;
}

.historical-preview .era-present .documentary figcaption {
  color: #becbd3;
  padding-top: 16px;
}

.historical-preview .era-present .photo-context {
  padding-block: 35px;
  gap: 7%;
}

.historical-preview .era-present .photo-context > .documentary,
.historical-preview .era-present .founder-portraits {
  padding: 20px;
  background: #162735;
  border: 1px solid #466074;
  border-radius: 16px;
}

.historical-preview .era-present .photo-context > .documentary img,
.historical-preview .era-present .founder-portraits img {
  border: 0;
}

.historical-preview .era-present .founder-portraits .documentary + .documentary {
  border-top: 1px solid #466074;
  padding-top: 28px;
}

.historical-preview .era-present .founder-portraits:has(.coplan-office-photo) {
  position: static;
}

.historical-preview .era-present .coplan-office-photo img {
  height: auto;
  max-height: none;
  object-fit: contain;
}

.historical-preview .era-present .coplan-interview-photo {
  max-width: 620px;
  margin-block: 45px 65px;
}

.historical-preview .era-present .jersey-photos {
  max-width: 980px;
  padding: 28px;
  margin-block: 65px 85px;
  background: var(--screen);
  border: 1px solid #466074;
  border-radius: 16px;
  box-shadow: 0 24px 60px #0004;
}

.historical-preview .era-present .scene-flow > .platform-archive {
  width: 34%;
  padding: 22px;
  background: #1c3350;
  border: 1px solid #5a81a1;
  border-top: 5px solid #76a7ff;
  border-radius: 16px;
  box-shadow: 0 24px 60px #0005;
}

.historical-preview .era-present .election-launch-photo {
  padding: 18px;
  background: #172c42;
  border: 1px solid #47617b;
  border-radius: 16px;
}

/* Charts become full-width market displays, with the data doing the decorating. */
.historical-preview .era-present .scene-flow > .graphic,
.historical-preview .era-present .scene-flow .anchored-graphic.companies {
  padding: 36px 40px;
  background: var(--screen);
  border: 1px solid #3e5568;
  border-top: 5px solid #76a7ff;
  border-radius: 16px;
  box-shadow: 0 24px 60px #0003;
}

.historical-preview .era-present .graphic > h3 {
  color: #f2f5f7;
  font: 650 clamp(30px, 3.2vw, 46px)/1.1 var(--body);
  letter-spacing: -.04em;
}

.historical-preview .era-present .graphic h4 {
  color: #dce8ef;
}

.historical-preview .era-present .graphic figcaption,
.historical-preview .era-present .chart-subtitle {
  color: #b4c3ce;
  opacity: 1;
}

.historical-preview .era-present .graphic figcaption {
  border-top: 1px solid #354d5f;
  padding-top: 22px;
}

.historical-preview .era-present .line-chart text {
  fill: #b4c3ce;
}

.historical-preview .era-present .line-chart text.endpoint {
  fill: #f1f6fa;
}

.historical-preview .era-present .line-chart path[stroke] {
  stroke: #c3f85c;
  stroke-width: 4;
}

.historical-preview .era-present .line-chart path:not([stroke]),
.historical-preview .era-present .line-chart circle {
  fill: #c3f85c;
}

.historical-preview .era-present .chart-grid {
  stroke: #3a4b59;
}

.historical-preview .era-present .bar-track {
  background: #2a3d4b;
  border-radius: 4px;
  overflow: hidden;
}

.historical-preview .era-present .coral,
.historical-preview .era-present .sports {
  background: #c3f85c;
}

.historical-preview .era-present .teal,
.historical-preview .era-present .voters,
.historical-preview .era-present .politics {
  background: #76a7ff;
}

.historical-preview .era-present .other {
  background: #586b7a;
}

.historical-preview .era-present .legislature {
  background: #c3f85c;
}

.historical-preview .era-present .split-bar {
  height: 58px;
  border-radius: 8px;
  overflow: hidden;
  font-variant-numeric: tabular-nums;
}

.historical-preview .era-present .split-bar .voters,
.historical-preview .era-present .split-bar .legislature {
  color: #0b1118;
}

.historical-preview .era-present .large-number,
.historical-preview .era-present .single-number strong,
.historical-preview .era-present .insider-case strong,
.historical-preview .era-present .country-grid strong,
.historical-preview .era-present .opinion-rows b {
  color: #c3f85c;
  font-family: var(--body);
  font-weight: 600;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}

.historical-preview .era-present .legal-excerpt {
  font-family: var(--body);
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.4;
  color: #c3f85c;
}

.historical-preview .era-present .company-timelines h4 {
  font-family: var(--body);
  font-weight: 700;
}

.historical-preview .era-present .company-timelines .timeline time {
  color: #b7d0ff;
}

.historical-preview .era-present .company-timelines section:last-child .timeline time {
  color: #c3f85c;
}

.historical-preview .era-present .chart-data th {
  background: #21394d;
  color: #eff6ff;
}

.historical-preview .era-present .chart-data tbody tr:nth-child(even) {
  background: #0b1722;
}

.historical-preview .era-present .trading-duet .trading-exhibits {
  background: #172e29;
  border: 1px solid #547564;
  border-top: 5px solid #c3f85c;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 24px 60px #0005;
}

.historical-preview .era-present .trading-exhibits .bar-fill {
  background: #c3f85c;
}

.historical-preview .era-present .trading-exhibits .graphic {
  padding: 0;
  border: 0;
}

.historical-preview .era-present .trading-exhibits .graphic > h3 {
  font-size: 32px;
}

.historical-preview .era-present .volume-chart {
  padding: 28px;
  background: #172b3b;
  border: 1px solid #45647b;
  border-top: 5px solid #c3f85c;
  border-radius: 16px;
}

.historical-preview .era-present .volume-chart h3 strong {
  color: #c3f85c;
  font: 650 clamp(56px, 7vw, 110px)/1 var(--body);
  letter-spacing: -.065em;
}

.historical-preview .era-present .opinion-rows section {
  background: #1d3243;
  border: 1px solid #3c566a;
  border-radius: 10px;
}

.historical-preview .era-present .opinion-rows .highlight {
  background: #243d2c;
  border-color: #668150;
}

/* The functional contract example becomes a contemporary mobile trading screen. */
.historical-preview .era-present .contract-device {
  background: #152330;
  border: 8px solid #526477;
  border-radius: 43px;
  box-shadow: 0 35px 70px #0009;
  transform: rotate(0);
  padding: 48px 28px 28px;
}

.historical-preview .era-present .contract-device::before {
  background: #080f16;
}

.historical-preview .era-present .contract-device > h3 {
  font-size: 29px;
}

.historical-preview .era-present .contract-prices > span {
  background: #c3f85c;
  color: #13230c;
  border: 0;
  border-radius: 9px;
}

.historical-preview .era-present .contract-prices > span:last-child {
  background: #76a7ff;
  color: #0b1938;
  border: 0;
}

.historical-preview .era-present .outcome-buttons button {
  background: #1c3040;
  color: #edf4f7;
  border-color: #668294;
  border-radius: 7px;
}

.historical-preview .era-present .outcome-buttons button[aria-pressed='true'] {
  background: #c3f85c;
  color: #142009;
  border-color: #c3f85c;
}

.historical-preview .era-present .contract-result strong {
  color: #c3f85c;
}

@media (max-width: 760px) {
  .historical-preview .era-present .scene-environment {
    background: linear-gradient(135deg, #111d2a, #0b1118 70%);
  }

  .historical-preview .era-present .scene-flow {
    padding: 58px 24px;
  }

  .historical-preview .era-present .scene-flow > .chapter-opener {
    margin-bottom: 45px;
    padding-top: 25px;
  }

  .historical-preview .era-present .chapter-opener h2 {
    font-size: clamp(46px, 11vw, 67px);
  }

  .historical-preview .era-present .essay-paragraph,
  .historical-preview .era-present .cms-prose-list,
  .historical-preview .era-present .cms-prose-quote {
    font-size: 18px;
    line-height: 1.8;
  }

  .historical-preview .era-present .scene-flow > .graphic,
  .historical-preview .era-present .scene-flow .anchored-graphic.companies,
  .historical-preview .era-present .jersey-photos {
    padding: 25px 20px;
    border-radius: 12px;
  }

  .historical-preview .era-present .scene-flow > .platform-archive {
    width: 100%;
    padding: 18px;
    border-radius: 12px;
  }

  .historical-preview .era-present .photo-context {
    padding-block: 0;
  }

  .historical-preview .era-present .photo-context > .documentary,
  .historical-preview .era-present .founder-portraits,
  .historical-preview .era-present .trading-duet .trading-exhibits {
    padding: 18px;
  }

  .historical-preview .era-present .graphic > h3 {
    font-size: 30px;
  }

  .historical-preview .era-present .contract-device {
    padding: 46px 20px 25px;
    margin-inline: auto;
    max-width: 360px;
  }

  .historical-preview .era-present .volume-chart {
    padding: 24px 18px;
  }
}

/* The first phone-era passage opens inside a black-glass betting interface. */
.historical-preview .era-sports > .scene-environment {
  background-image:
    linear-gradient(90deg, #0b1118f5 0%, #0b1118c9 42%, #0b111833 66%, transparent 80%),
    url('modern-phone-v3.png');
  background-color: #0b1118;
  background-size: 100% 100%, auto 100%;
  background-position: center, right center;
  background-repeat: no-repeat;
}

.historical-preview .era-present .cms-prose-slot:has(> .anchored-graphic) > :is(.essay-paragraph, .essay-subheading, .cms-prose-list, .cms-prose-quote) {
  width: 60%;
  max-width: 760px;
}

@media (max-width: 760px) {
  .historical-preview .era-sports > .scene-environment {
    background-size: 100% 100%, auto 100%;
    background-position: center, 67% center;
    opacity: .28;
  }

  .historical-preview .era-present .cms-prose-slot:has(> .anchored-graphic) > :is(.essay-paragraph, .essay-subheading, .cms-prose-list, .cms-prose-quote) {
    width: 100%;
  }
}
