/* CC.01 · Cult Classics feature. Uses the site tokens (--tp-*) so light and dark themes follow the masthead toggle.
   Motion: transforms and opacity only; static under prefers-reduced-motion; pausable (WCAG 2.2.2). */

.cc-page {
  --cc-red: var(--tp-minium);
  --cc-ink: var(--tp-ink);
  --cc-rule: var(--tp-rule);
  --cc-paper: var(--tp-vellum);
  --cc-tint: #3b4f6b;
}
html[data-theme="blueprint"] .cc-page,
html[data-theme="dark"] .cc-page { --cc-tint: #8fa7c7; }

/* ---------------------------------------------------------------- parade (background) */
.cc-parade {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.cc-shell { position: relative; z-index: 1; }
.cc-lane {
  position: absolute;
  left: 0;
  width: 300px;
  opacity: 0.06;
  transition: opacity 1.2s ease;
  animation: cc-drift 140s linear infinite;
  will-change: transform;
}
.cc-lane-1 { top: 12%; animation-duration: 150s; animation-delay: -10s; }
.cc-lane-2 { top: 26%; animation-duration: 170s; animation-delay: -60s; }
.cc-lane-3 { top: 40%; animation-duration: 160s; animation-delay: -120s; }
.cc-lane-4 { top: 54%; animation-duration: 180s; animation-delay: -30s; }
.cc-lane-5 { top: 68%; animation-duration: 155s; animation-delay: -95s; }
.cc-lane-6 { top: 80%; animation-duration: 175s; animation-delay: -140s; }
.cc-lane-7 { top: 18%; animation-duration: 165s; animation-delay: -150s; }
.cc-lane-8 { top: 62%; animation-duration: 185s; animation-delay: -75s; }
.cc-lane.is-current { opacity: 0.16; }
.cc-car { display: block; width: 100%; height: auto; overflow: visible; }
.cc-car-body, .cc-wheel circle, .cc-wheel line {
  fill: none;
  stroke: var(--cc-ink);
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.cc-car-red { stroke: var(--cc-red); stroke-width: 3; stroke-linecap: round; }
.cc-car-tint .cc-car-body { stroke: var(--cc-tint); stroke-width: 2.6; }
.cc-wheel {
  transform-box: fill-box;
  transform-origin: center;
  animation: cc-spin 7s linear infinite;
}
@keyframes cc-drift {
  from { transform: translateX(110vw); }
  to { transform: translateX(-360px); }
}
@keyframes cc-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}
html.cc-paused .cc-lane,
html.cc-paused .cc-wheel,
html.cc-paused .cc-weight { animation-play-state: paused; }

/* ---------------------------------------------------------------- parallax racetrack (background) */
.cc-track {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}
.cc-layer path { fill: none; }
.cc-layer-far path { stroke: var(--tp-rule); stroke-width: 2; }
.cc-layer-ribbon path { stroke: var(--tp-stone-deep); stroke-width: 120; stroke-linecap: round; }
.cc-layer-centre path { stroke: var(--tp-rule-strong); stroke-width: 2; stroke-dasharray: 26 22; }
.cc-layer-kerb path { stroke: var(--cc-red); stroke-width: 16; stroke-dasharray: 22 22; opacity: 0.35; }

/* ---------------------------------------------------------------- generation rail & chronology track */
.cc-chronology-track {
  position: relative;
  margin-top: 2rem;
}
@media (min-width: 66rem) {
  .cc-chronology-track {
    padding-left: 1.5rem;
    border-left: 2px solid var(--cc-rule);
  }
}
.cc-gen-rail {
  position: sticky;
  top: 4.2rem;
  z-index: 3;
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  padding: 0.5rem 0;
  margin: 0.4rem 0 1.2rem;
  background: var(--tp-stone);
  border-block: 1px solid var(--cc-rule);
}
.cc-gen-rail::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--tp-rule-strong);
  z-index: 0;
  pointer-events: none;
}
.cc-gen-chip {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  font-family: var(--tp-font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  padding: 0.28rem 0.62rem;
  border: 1.5px solid var(--tp-rule-strong);
  border-radius: 999px;
  color: var(--cc-ink);
  text-decoration: none;
  background: var(--cc-paper);
}
.cc-gen-chip:hover, .cc-gen-chip.is-current { border-color: var(--cc-red); color: var(--cc-red); }
.cc-gen-chip.is-current { background: var(--tp-minium-soft); font-weight: 600; }
.cc-gen-chip:focus-visible { outline: 3px solid var(--tp-prussian); outline-offset: 2px; }

/* ---------------------------------------------------------------- ghost race */
.cc-loop-svg { max-width: 34rem; }
.cc-loop-tar { fill: none; stroke: var(--tp-stone-deep); stroke-width: 34; stroke-linejoin: round; }
.cc-loop-line { fill: none; stroke: var(--tp-rule-strong); stroke-width: 1.5; stroke-dasharray: 8 8; }
.cc-loop-flag { stroke: var(--cc-ink); stroke-width: 4; }
.cc-ghost circle { stroke: var(--tp-vellum); stroke-width: 2; }
.cc-ghost text { font-family: var(--tp-font-mono); font-size: 10px; fill: #fff; font-weight: 700; }
.cc-dot-a circle, .cc-dot-a .cc-ghost-key { fill: #6b7280; background: #6b7280; }
.cc-dot-b circle, .cc-dot-b .cc-ghost-key { fill: #2f5d8a; background: #2f5d8a; }
.cc-dot-c circle, .cc-dot-c .cc-ghost-key { fill: #1f7a5c; background: #1f7a5c; }
.cc-dot-d circle, .cc-dot-d .cc-ghost-key { fill: #8a5a12; background: #8a5a12; }
.cc-dot-e circle, .cc-dot-e .cc-ghost-key { fill: #7a3e9d; background: #7a3e9d; }
.cc-dot-f circle, .cc-dot-f .cc-ghost-key { fill: #b0301e; background: #b0301e; }
.cc-dot-g circle, .cc-dot-g .cc-ghost-key { fill: #11161c; background: #11161c; }
.cc-dot-h circle, .cc-dot-h .cc-ghost-key { fill: #0e6e8c; background: #0e6e8c; }
.cc-ghost-legend { list-style: none; padding: 0; margin: 0; font-size: 0.82rem; line-height: 1.7; }
.cc-ghost-key {
  display: inline-grid;
  place-items: center;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  color: #fff;
  font-family: var(--tp-font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  margin-right: 0.3rem;
}
.cc-num { font-family: var(--tp-font-mono); white-space: nowrap; }
.cc-strong { font-weight: 700; color: var(--cc-red); }
.cc-ghost-nolen circle { fill: var(--tp-vellum) !important; stroke-width: 3; }
.cc-ghost-nolen text { fill: var(--cc-ink) !important; }
.cc-dot-a.cc-ghost-nolen circle { stroke: #6b7280; } .cc-dot-b.cc-ghost-nolen circle { stroke: #2f5d8a; }
.cc-dot-c.cc-ghost-nolen circle { stroke: #1f7a5c; } .cc-dot-d.cc-ghost-nolen circle { stroke: #8a5a12; }
li.cc-ghost-nolen .cc-ghost-key { background: transparent !important; color: var(--cc-ink); box-shadow: inset 0 0 0 2px currentColor; }

/* ---------------------------------------------------------------- Part VI · Mechanics Lab */
.cc-lab .cc-part-num { color: var(--tp-prussian); }
.cc-lab-block { margin: 2rem 0; max-width: 52rem; }
.cc-lab-block h3 { font-family: var(--tp-font-editorial); font-size: 1.3rem; margin-bottom: 0.4rem; }
.cc-lab-block > p { line-height: 1.65; }
.cc-eq {
  font-family: var(--tp-font-mono);
  font-size: 0.86rem;
  background: var(--tp-prussian-soft);
  border-left: 3px solid var(--tp-prussian);
  padding: 0.6rem 0.9rem;
  overflow-x: auto;
  line-height: 1.9;
}
.cc-eq code { white-space: nowrap; }
.cc-qc-svg { max-width: 14rem; }
.cc-qc-body, .cc-qc-wheel { fill: var(--tp-stone-deep); stroke: var(--cc-ink); stroke-width: 2; }
.cc-qc-wheel { fill: var(--cc-tint); opacity: 0.85; }
.cc-qc-spring { fill: none; stroke: var(--cc-ink); stroke-width: 2.5; stroke-linejoin: round; }
.cc-qc-tyre { stroke: var(--cc-red); }
.cc-qc-road { stroke: var(--cc-ink); stroke-width: 3; }
.cc-qc-readout strong { color: var(--cc-red); }
.cc-verify-box { border-left: 4px solid var(--tp-prussian); }
.cc-lap-table { font-size: 0.82rem; }

/* ---------------------------------------------------------------- hero and prose */
.cc-feature { max-width: 72rem; margin: 0 auto; }
.cc-hero { padding-block: 1.5rem 1rem; border-bottom: 1px solid var(--cc-rule); }
.cc-hero .cc-h1 { position: relative; padding-bottom: 0.4rem; }
.cc-hero .cc-h1::after,
.cc-h2::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 3px;
  margin-top: 0.45rem;
  background: var(--cc-red);
}
.cc-h2 { font-family: var(--tp-font-editorial); font-size: clamp(1.45rem, 2.4vw, 2rem); margin: 2.4rem 0 1rem; }
.cc-brief {
  max-width: 44rem;
  font-style: italic;
  color: var(--tp-graphite);
  border-left: 3px solid var(--cc-red);
  padding-left: 0.9rem;
}
.cc-motion { margin: 0.6rem 0; }
.cc-opening, .cc-closing { max-width: 44rem; font-family: var(--tp-font-editorial); font-size: 1.08rem; line-height: 1.65; }
.cc-lede { max-width: 44rem; }
.cc-small { font-size: 0.86rem; color: var(--tp-slate); max-width: 44rem; }
.cc-footnote {
  font-size: 0.86rem;
  color: var(--tp-slate);
  border-top: 1px solid var(--cc-rule);
  padding-top: 1rem;
  margin-top: 2rem;
}

/* ---------------------------------------------------------------- magazine parts */
.cc-part { margin-top: 3.5rem; }
.cc-part-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  column-gap: 1rem;
  border-bottom: 1px solid var(--tp-rule-strong);
  padding-bottom: 0.6rem;
  margin-bottom: 1.4rem;
}
.cc-part-num {
  grid-row: span 2;
  margin: 0;
  font-family: var(--tp-font-editorial);
  font-size: clamp(3.5rem, 9vw, 6.5rem);
  line-height: 0.85;
  color: var(--cc-red);
}
.cc-part-title { margin: 0; }
.cc-part-title::after { display: none; }
.cc-part-years { margin: 0.2rem 0 0; font-family: var(--tp-font-mono); font-size: 0.8rem; letter-spacing: 0.08em; color: var(--tp-slate); }
.cc-part-opener { max-width: 44rem; font-family: var(--tp-font-editorial); font-size: 1.1rem; line-height: 1.7; }
.cc-dropcap::first-letter {
  float: left;
  font-size: 3.6em;
  line-height: 0.8;
  padding: 0.08em 0.1em 0 0;
  color: var(--cc-red);
  font-weight: 600;
}
.cc-part-opener-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.4rem;
  align-items: start;
  margin-bottom: 1.4rem;
}
@media (min-width: 62rem) {
  .cc-part-opener-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 0.85fr);
  }
}
.cc-pull {
  font-family: var(--tp-font-editorial);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.32;
  font-style: italic;
  color: var(--tp-graphite);
  border-block: 2px solid var(--cc-ink);
  padding: 0.9rem 0;
  margin: 0.2rem 0;
  max-width: 100%;
}
.cc-interlude {
  background: var(--tp-stone-deep);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin: 1.6rem 0;
  clear: both;
}
.cc-int-h { margin: 0 0 0.6rem; font-size: 1.1rem; }
.cc-ledger-list { margin: 0; padding-left: 1.1rem; line-height: 1.6; }
.cc-ledger-list li::marker { content: "◦  "; color: var(--cc-red); }
.cc-table-wrap { overflow-x: auto; }
.cc-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.cc-table th, .cc-table td { text-align: left; padding: 0.4rem 0.6rem; border-bottom: 1px solid var(--cc-rule); vertical-align: top; }
.cc-table thead th { font-family: var(--tp-font-mono); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--tp-slate); }
.cc-editions td:first-child, .cc-editions td:last-child { font-family: var(--tp-font-mono); white-space: nowrap; }
.cc-anatomy dl { margin: 0; }
.cc-anat-row { display: grid; grid-template-columns: minmax(8rem, 30%) 1fr; gap: 0.8rem; padding: 0.45rem 0; border-bottom: 1px solid var(--cc-rule); }
.cc-anat-row dt { font-weight: 600; }
.cc-anat-row dd { margin: 0; }
@media (max-width: 40rem) { .cc-anat-row, .cc-plate-row { grid-template-columns: 1fr; gap: 0.1rem; } }

/* tartan divider: generic woven checks, not any maker's pattern */
.cc-part::before,
.cc-sources::before {
  content: "";
  display: block;
  height: 10px;
  margin: 2rem 0 0;
  background:
    repeating-linear-gradient(90deg, rgba(176, 48, 30, 0.35) 0 6px, transparent 6px 22px),
    repeating-linear-gradient(90deg, var(--tp-prussian-soft) 0 22px, transparent 22px 44px),
    repeating-linear-gradient(0deg, rgba(17, 22, 28, 0.12) 0 2px, transparent 2px 5px);
  border-block: 1px solid var(--cc-rule);
}

/* ---------------------------------------------------------------- layout: cards + margin */
.cc-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
@media (min-width: 62rem) {
  .cc-layout { grid-template-columns: minmax(0, 1fr) 17rem; }
}
.cc-card {
  background: var(--cc-paper);
  border: 1px solid var(--cc-rule);
  border-top: 3px solid var(--cc-red);
  border-radius: 4px;
  padding: 1.1rem 1.25rem 1.25rem;
  margin: 0 0 1.4rem;
  box-shadow: var(--tp-shadow-card);
  scroll-margin-top: 5rem;
}
.cc-card-gen { font-family: var(--tp-font-mono); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; margin: 0; color: var(--cc-red); }
.cc-card-years { color: var(--tp-slate); margin-left: 0.4rem; }
.cc-card-move { margin: 0.25rem 0 0.6rem; font-size: 1.25rem; }
.cc-card-body { line-height: 1.6; }

/* spec plate: a factory build plate */
.cc-plate {
  font-family: var(--tp-font-mono);
  font-size: 0.82rem;
  border: 1.5px solid var(--tp-rule-strong);
  border-radius: 6px;
  padding: 0.7rem 0.9rem 0.5rem;
  margin: 1rem 0 0.4rem;
  background:
    radial-gradient(circle at 10px 10px, var(--tp-rule-strong) 0 2px, transparent 2.5px),
    radial-gradient(circle at calc(100% - 10px) 10px, var(--tp-rule-strong) 0 2px, transparent 2.5px),
    var(--tp-stone);
}
.cc-plate-row { display: grid; grid-template-columns: minmax(8rem, 38%) 1fr; gap: 0.6rem; padding: 0.22rem 0; border-bottom: 1px dashed var(--cc-rule); }
.cc-plate-row dt { color: var(--tp-slate); text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.74rem; }
.cc-plate-row dd { margin: 0; }
.cc-plate-foot { margin: 0.4rem 0 0; font-size: 0.7rem; color: var(--tp-slate); text-align: right; }

.cc-stamp {
  display: inline-block;
  font-family: var(--tp-font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  border-radius: 3px;
  padding: 0 0.3rem;
  text-decoration: none;
  vertical-align: 0.1em;
  color: var(--tp-prussian);
}
.cc-stamp-press { color: var(--tp-verdigris); }
.cc-stamp-paper { color: var(--tp-sienna); }
.cc-stamp-photo { color: var(--tp-slate); }
.cc-cite { margin: 0.2rem 0 1rem; }

/* margin column */
.cc-silent { font-size: 0.95rem; border: 1px dashed var(--tp-rule-strong); border-radius: 6px; padding: 0.4rem 1.2rem 0.6rem; margin-top: 3rem; max-width: 44rem; }
.cc-silent .cc-h2 { font-size: 1.15rem; margin-top: 0.5rem; }
.cc-silent-row { margin-bottom: 0.9rem; }
.cc-silent dt { font-weight: 600; }
.cc-silent dd { margin: 0.2rem 0 0; color: var(--tp-graphite); }

/* ---------------------------------------------------------------- figures */
.cc-figure { margin: 1rem 0 0.3rem; }
.cc-figure svg { display: block; width: 100%; max-width: 30rem; height: auto; }
.cc-weight rect { fill: var(--tp-stone-deep); stroke: var(--cc-ink); stroke-width: 1.5; }
.cc-weight text { font-family: var(--tp-font-mono); font-size: 13px; fill: var(--cc-ink); }
.cc-scale { stroke: var(--cc-ink); stroke-width: 2; }
.cc-weights.is-visible .cc-weight { animation: cc-drop 1.1s cubic-bezier(0.3, 0.7, 0.4, 1) both; }
.cc-weights.is-visible .cc-weight-2 { animation-delay: 0.25s; }
.cc-weights.is-visible .cc-weight-3 { animation-delay: 0.5s; }
@keyframes cc-drop {
  from { transform: translateY(-26px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cc-weight-list { list-style: none; padding: 0; margin: 0.4rem 0; font-size: 0.86rem; }
.cc-science {
  background: var(--tp-prussian-soft);
  border-left: 3px solid var(--tp-prussian);
  padding: 0.7rem 0.9rem 0.2rem;
  margin: 1rem 0;
  font-size: 0.93rem;
}
.cc-steer circle, .cc-steer line { fill: none; stroke: var(--cc-ink); stroke-width: 3; stroke-linecap: round; }
.cc-steer .cc-steer-mark { stroke: var(--cc-red); stroke-width: 4; }
.cc-svg-label { font-family: var(--tp-font-ui); font-size: 12px; fill: var(--tp-slate); }
.cc-clubsport {
  border: 1px solid var(--cc-rule);
  border-left: 3px solid var(--cc-red);
  padding: 0.8rem 1rem;
  margin-top: 1.2rem;
  border-radius: 4px;
}
.cc-clubsport h4 { margin: 0 0 0.4rem; }
.cc-lap-a, .cc-lap-b { fill: var(--tp-stone-deep); stroke: var(--cc-ink); stroke-width: 1; }
.cc-lap-gap { fill: var(--cc-red); }
.cc-lap-svg text { font-family: var(--tp-font-mono); font-size: 12px; fill: var(--cc-ink); }

/* easter egg */
/* easter egg: a drawn GTI whose bonnet peeks on hover and swings open to reveal the photo */
.cc-egg { margin-top: 1.4rem; }
.cc-egg-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 36rem;
  padding: 0.7rem 1rem;
  font: inherit;
  text-align: left;
  color: var(--cc-ink);
  background: linear-gradient(100deg, var(--tp-stone-deep), var(--cc-paper) 70%);
  border: 1.5px solid var(--tp-rule-strong);
  border-left: 4px solid var(--cc-red);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
}
.cc-egg-btn:hover { border-color: var(--cc-red); transform: translateY(-1px); }
.cc-egg-btn:focus-visible { outline: 3px solid var(--tp-prussian); outline-offset: 3px; }
.cc-egg-car { flex: 0 0 auto; width: clamp(8rem, 30vw, 12rem); height: auto; overflow: visible; }
.cc-egg-body { fill: var(--tp-vellum); stroke: var(--cc-ink); stroke-width: 2.2; stroke-linejoin: round; }
.cc-egg-glass { fill: var(--tp-stone-deep); stroke: var(--cc-ink); stroke-width: 1.4; }
.cc-egg-cpillar { fill: var(--cc-ink); }
.cc-egg-pillar { stroke: var(--cc-ink); stroke-width: 2.6; }
.cc-egg-handle { stroke: var(--cc-ink); stroke-width: 1.6; stroke-linecap: round; }
.cc-egg-shoulder, .cc-egg-skirt { fill: none; stroke: var(--cc-ink); stroke-width: 1.2; opacity: 0.55; }
.cc-egg-light { fill: var(--tp-stone); stroke: var(--cc-ink); stroke-width: 1.3; }
.cc-egg-taillight { fill: var(--cc-red); opacity: 0.85; }
.cc-egg-grille { fill: none; stroke: var(--cc-ink); stroke-width: 1.3; }
.cc-egg-exhaust { stroke: var(--cc-ink); stroke-width: 3; stroke-linecap: round; }
.cc-egg-tyre { fill: var(--cc-ink); }
.cc-egg-rim { fill: var(--tp-stone-deep); stroke: var(--tp-vellum); stroke-width: 1.4; }
.cc-egg-wheel .cc-wheel circle, .cc-egg-wheel line { fill: none; stroke: var(--tp-vellum); stroke-width: 1.8; }
.cc-egg-caliper { fill: none; stroke: var(--cc-red); stroke-width: 3.5; stroke-linecap: round; }
.cc-egg-red { stroke: var(--cc-red); stroke-width: 2.6; stroke-linecap: round; }
.cc-egg-hood path { fill: var(--tp-vellum); stroke: var(--cc-ink); stroke-width: 1.6; stroke-linejoin: round; }
.cc-egg-hood {
  transform-box: view-box;
  transform-origin: 100px 44px;
  transition: transform 0.7s cubic-bezier(0.3, 1.5, 0.5, 1);
}
.cc-egg-glow { fill: #f6a23c; opacity: 0; transition: opacity 0.5s 0.2s; }
.cc-egg-btn:hover .cc-egg-hood, .cc-egg-btn:focus-visible .cc-egg-hood { transform: rotate(9deg); }
.cc-egg.is-open .cc-egg-hood { transform: rotate(42deg); }
.cc-egg.is-open .cc-egg-glow { opacity: 0.85; }
.cc-egg-copy { display: grid; gap: 0.15rem; }
.cc-egg-hint { font-size: 0.8rem; color: var(--tp-slate); font-style: italic; }
.cc-egg-label { font-family: var(--tp-font-mono); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cc-red); font-weight: 600; }
.cc-egg-panel { position: relative; margin: 0.9rem 0 0; max-width: 64rem; overflow: hidden; border-radius: 6px; }
.cc-egg-panel:not([hidden]) { display: grid; gap: 0.9rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 46rem) { .cc-egg-panel:not([hidden]) { grid-template-columns: 1fr 1.25fr; align-items: end; } }
.cc-egg-photo { margin: 0; overflow: hidden; border-radius: 6px; }
.cc-egg-panel img { display: block; width: 100%; height: auto; border-radius: 6px; border: 1px solid var(--cc-rule); }
.cc-egg-panel figcaption { font-size: 0.9rem; color: var(--tp-graphite); margin-top: 0.5rem; }
.cc-egg.is-open .cc-egg-panel { animation: cc-egg-reveal 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s both; }
.cc-egg.is-open .cc-egg-panel img { animation: cc-egg-zoom 6s ease-out 0.25s both; }
.cc-egg.is-open .cc-egg-panel::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: calc(100% - 2.2rem);
  background: linear-gradient(105deg, transparent 40%, rgba(176, 48, 30, 0.35) 48%, rgba(255, 255, 255, 0.5) 50%, transparent 58%);
  transform: translateX(-120%);
  animation: cc-egg-glint 1.1s ease-in-out 1s both;
  pointer-events: none;
}
@keyframes cc-egg-reveal {
  from { clip-path: circle(0% at 12% 0%); opacity: 0.4; }
  to { clip-path: circle(150% at 12% 0%); opacity: 1; }
}
@keyframes cc-egg-zoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
@keyframes cc-egg-glint {
  to { transform: translateX(120%); }
}

/* ---------------------------------------------------------------- observatories */
.cc-observatory { border-top: 1px solid var(--cc-rule); margin-top: 2.5rem; }
.cc-bench {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.2rem;
  align-items: center;
  background: var(--cc-paper);
  border: 1px solid var(--cc-rule);
  border-radius: 6px;
  padding: 1rem;
}
@media (min-width: 52rem) { .cc-bench { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.cc-bench svg { width: 100%; height: auto; display: block; }
.cc-diff-body { fill: none; stroke: var(--tp-rule-strong); stroke-width: 1.5; }
.cc-axle { stroke: var(--cc-ink); stroke-width: 3; }
.cc-tyre { fill: var(--tp-stone-deep); stroke: var(--cc-ink); stroke-width: 2; }
.cc-slip path { fill: none; stroke: var(--cc-red); stroke-width: 2.5; stroke-linecap: round; opacity: 0; transition: opacity 0.25s; }
.cc-caliper { fill: var(--cc-red); opacity: 0; transition: opacity 0.2s; }
.cc-diff-case { fill: var(--tp-stone); stroke: var(--cc-ink); stroke-width: 2; }
.cc-plate-disc { stroke: none; transition: transform 0.25s ease; transform-box: fill-box; }
.cc-plate-a { fill: var(--cc-ink); }
.cc-plate-b { fill: var(--tp-slate); }
.cc-torque { stroke: var(--tp-prussian); stroke-width: 5; stroke-linecap: round; }
.cc-arrow-head { fill: var(--tp-prussian); }
.cc-turn { fill: none; stroke: var(--tp-slate); stroke-width: 1.5; stroke-dasharray: 5 5; }
.cc-shaft { stroke: var(--tp-slate); stroke-width: 4; stroke-linecap: round; transition: stroke 0.3s; }
.cc-shaft.is-live { stroke: var(--cc-red); }
.cc-input, .cc-output { stroke: var(--cc-ink); stroke-width: 3; }
.cc-clutch rect { fill: var(--cc-ink); }
.cc-clutch .cc-clutch-move { transition: transform 0.3s ease; transform: translateX(0); }
.cc-clutch.is-open .cc-clutch-move { transform: translateX(8px); }
.cc-gear circle { fill: var(--tp-stone); stroke: var(--cc-ink); stroke-width: 2; transition: fill 0.3s; }
.cc-gear text { font-family: var(--tp-font-mono); font-size: 14px; fill: var(--cc-ink); }
.cc-gear.is-live circle { fill: var(--cc-red); }
.cc-gear.is-live text { fill: #fff; }
.cc-gear.is-next circle { stroke-dasharray: 4 3; stroke: var(--cc-red); }
.cc-controls { display: grid; gap: 0.6rem; }
.cc-modes { border: 1px solid var(--cc-rule); border-radius: 4px; padding: 0.5rem 0.8rem; margin: 0; }
.cc-mode { display: block; padding: 0.2rem 0; cursor: pointer; }
.cc-range { width: 100%; accent-color: var(--cc-red); }
.cc-range-label { font-weight: 600; font-size: 0.9rem; }
.cc-readout { font-family: var(--tp-font-mono); font-size: 0.85rem; min-height: 3.2em; margin: 0; }
.cc-btn {
  font: inherit;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  border-radius: 4px;
  border: 1.5px solid var(--cc-ink);
  background: var(--cc-paper);
  color: var(--cc-ink);
  cursor: pointer;
  justify-self: start;
}
.cc-btn:hover { border-color: var(--cc-red); }
.cc-btn-quiet { font-size: 0.8rem; padding: 0.3rem 0.7rem; font-weight: 500; }
.cc-btn:focus-visible, .cc-egg-btn:focus-visible, .cc-range:focus-visible, .cc-mode input:focus-visible { outline: 3px solid var(--tp-prussian); outline-offset: 2px; }

/* ---------------------------------------------------------------- hero tribute, honor roll, jump bar & inline figures */
.cc-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.4rem;
  align-items: start;
}
@media (min-width: 58rem) {
  .cc-hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
}
.cc-hero-copy { min-width: 0; }
.cc-hero-sketch { margin: 0; }
.cc-honor-roll {
  margin: 1.2rem 0 0.8rem;
  padding: 0.9rem 1.1rem 0.65rem;
  background: var(--tp-stone-deep);
  border: 1px solid var(--cc-rule);
  border-left: 4px solid var(--cc-red);
  border-radius: 6px;
}
.cc-honor-dl { margin: 0.45rem 0 0.5rem; }
.cc-honor-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.25rem;
  padding: 0.35rem 0;
  border-bottom: 1px dashed var(--cc-rule);
}
.cc-honor-row:last-child { border-bottom: 0; }
.cc-honor-row dt {
  font-family: var(--tp-font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--tp-slate);
}
.cc-honor-row dd { margin: 0; font-size: 0.9rem; line-height: 1.5; }
@media (min-width: 48rem) {
  .cc-honor-row { grid-template-columns: minmax(12rem, 28%) minmax(0, 1fr); gap: 0.8rem; }
}
.cc-hero-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 0.9rem;
}
.cc-page .tp-essay-jump-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1rem 0 1.4rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--cc-rule);
}
.cc-page .tp-essay-jump-pill.is-active {
  background: var(--tp-minium-soft);
  border-color: var(--cc-red);
  color: var(--cc-red);
  font-weight: 600;
}

.cc-card-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.2rem;
  align-items: start;
}
@media (min-width: 58rem) {
  .cc-card-split { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
}
.cc-card-main { min-width: 0; }

.cc-inline-figure {
  background: var(--tp-stone);
  border: 1px solid var(--cc-rule);
  border-radius: 6px;
  padding: 0.75rem;
  margin: 0.2rem 0;
  min-width: 0;
}
.cc-light-figure { margin: 1.4rem 0; }
.cc-inline-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.35rem 0.6rem;
  margin-bottom: 0.5rem;
}
.cc-inline-era {
  font-family: var(--tp-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--tp-slate);
}
.cc-media-badge {
  font-family: var(--tp-font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.14rem 0.42rem;
  border-radius: 3px;
  border: 1px solid currentColor;
}
.cc-media-badge-photo { color: var(--tp-prussian); background: var(--tp-prussian-soft); }
.cc-media-badge-render { color: var(--tp-sienna); background: var(--tp-minium-soft); }
.cc-inline-frame {
  display: grid;
  place-items: center;
  background: var(--tp-stone-deep);
  border: 1px solid var(--cc-rule);
  border-radius: 4px;
  overflow: hidden;
  max-height: 22rem;
  cursor: zoom-in;
}
.cc-inline-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 21.5rem;
  object-fit: contain;
}
.cc-inline-figure figcaption {
  font-size: 0.84rem;
  line-height: 1.48;
  color: var(--tp-graphite);
  margin: 0.55rem 0 0.4rem;
}
.cc-inline-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.4rem;
}
.cc-inline-foot .cc-cite { margin: 0; }

/* ---------------------------------------------------------------- shared controls, pills, panels & SVGs */
.cc-pill-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.75rem 0 1rem;
}
.cc-pill-btn {
  font: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.36rem 0.78rem;
  border-radius: 999px;
  border: 1.5px solid var(--tp-rule-strong);
  background: var(--cc-paper);
  color: var(--cc-ink);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.cc-pill-btn:hover { border-color: var(--cc-red); }
.cc-pill-btn[aria-pressed="true"] {
  background: var(--tp-minium-soft);
  border-color: var(--cc-red);
  color: var(--cc-red);
  font-weight: 700;
}
.cc-pill-btn:focus-visible, .cc-zoom-btn:focus-visible { outline: 3px solid var(--tp-prussian); outline-offset: 2px; }
.cc-panel {
  background: var(--cc-paper);
  border: 1px solid var(--cc-rule);
  border-radius: 6px;
  padding: 0.9rem 1rem;
  min-width: 0;
}
.cc-panel-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
}
.cc-panel-tag {
  font-family: var(--tp-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tp-slate);
}
.cc-svg-stage { display: block; width: 100%; height: auto; }
.cc-svg-scroll { overflow-x: auto; }
.cc-stage-axis { stroke: var(--tp-rule-strong); stroke-width: 1.5; }
.cc-svg-caption-text { font-family: var(--tp-font-mono); font-size: 11px; fill: var(--cc-ink); font-weight: 600; }
.cc-svg-sub-text { font-family: var(--tp-font-mono); font-size: 10px; fill: var(--tp-slate); }

/* ---------------------------------------------------------------- 5-Era Engineering Relay */
.cc-relay-stage { max-width: 54rem; margin: 0.5rem 0 1rem; }
.cc-relay-bar { fill: var(--tp-stone-deep); stroke: var(--tp-rule-strong); stroke-width: 1.5; transition: fill 0.2s, stroke 0.2s; }
.cc-relay-seg { cursor: pointer; }
.cc-relay-seg.is-active .cc-relay-bar { fill: var(--tp-minium-soft); stroke: var(--cc-red); stroke-width: 2; }
.cc-relay-seg.is-active .cc-svg-caption-text { fill: var(--cc-red); }
.cc-relay-card {
  background: var(--cc-paper);
  border: 1px solid var(--cc-rule);
  border-left: 4px solid var(--cc-red);
  border-radius: 6px;
  padding: 1rem 1.2rem;
}
.cc-relay-card[hidden], .cc-loupe-detail[hidden], .cc-loupe-view[hidden] { display: none; }
.cc-relay-card-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
}
@media (min-width: 54rem) {
  .cc-relay-card-media { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.95fr); }
}
.cc-relay-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.4rem; margin-bottom: 0.6rem; }
.cc-relay-grid { margin: 0; }
.cc-relay-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.2rem;
  padding: 0.45rem 0;
  border-bottom: 1px dashed var(--cc-rule);
}
.cc-relay-row:last-child { border-bottom: 0; }
.cc-relay-row dt { font-family: var(--tp-font-mono); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--tp-slate); }
.cc-relay-row dd { margin: 0; font-size: 0.94rem; line-height: 1.55; }
@media (min-width: 46rem) {
  .cc-relay-row { grid-template-columns: minmax(10rem, 28%) minmax(0, 1fr); gap: 0.8rem; }
}

/* ---------------------------------------------------------------- Dual-Scale 1:20 <-> 1:5 Axle Loupe */
.cc-loupe-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
@media (min-width: 54rem) {
  .cc-loupe-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.cc-loupe-hull { fill: var(--tp-stone-deep); stroke: var(--cc-ink); stroke-width: 2; }
.cc-axle-line { stroke: var(--cc-ink); stroke-width: 3; stroke-linecap: round; }
.cc-panel-outline { fill: none; stroke: var(--tp-prussian); stroke-width: 2; }
.cc-star-accent { fill: var(--tp-minium-soft); stroke: var(--cc-red); stroke-width: 2; }
.cc-strut-line { stroke: var(--cc-red); stroke-width: 3; stroke-linecap: round; }
.cc-torque-flow-a { fill: none; stroke: var(--tp-prussian); stroke-width: 3; stroke-linecap: round; }
.cc-torque-flow-b { fill: none; stroke: var(--cc-red); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.cc-loupe-node { cursor: pointer; }
.cc-loupe-node circle { fill: var(--cc-paper); stroke: var(--cc-ink); stroke-width: 2; transition: fill 0.2s, stroke 0.2s; }
.cc-loupe-node.is-active circle { fill: var(--cc-red); stroke: var(--cc-red); }
.cc-loupe-detail { margin-top: 0.7rem; padding-top: 0.7rem; border-top: 1px dashed var(--cc-rule); }

/* ---------------------------------------------------------------- Coupled 2D <-> 3D Atelier & WebGL2 Canvas */
.cc-atelier-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
@media (min-width: 58rem) {
  .cc-atelier-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
}
.cc-corner-svg { max-width: 29rem; margin: 0 auto 0.5rem; }
.cc-chassis-roll { stroke: var(--cc-ink); stroke-width: 4; stroke-linecap: round; }
.cc-grip-circle { fill: none; stroke-width: 2.2; }
.cc-grip-in { stroke: var(--tp-slate); stroke-dasharray: 5 4; }
.cc-grip-out { stroke: var(--tp-prussian); }
.cc-torque-vec { stroke: var(--cc-red); stroke-width: 4; stroke-linecap: round; }
.cc-yaw-arc { fill: none; stroke: var(--cc-red); stroke-width: 2.5; stroke-dasharray: 4 3; }
.cc-controls-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.75rem; margin: 0.6rem 0; }
@media (min-width: 42rem) {
  .cc-controls-row { grid-template-columns: 1fr 1fr; }
}
.cc-control-group { display: grid; gap: 0.25rem; }
.cc-range-val { font-family: var(--tp-font-mono); color: var(--cc-red); margin-left: 0.45rem; }
.cc-canvas-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: radial-gradient(circle at 50% 42%, var(--tp-stone) 0%, var(--tp-stone-deep) 100%);
  border: 1px solid var(--cc-rule);
  border-radius: 6px;
  overflow: hidden;
}
.cc-webgl-canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: grab;
}
.cc-webgl-canvas:active { cursor: grabbing; }
.cc-webgl-canvas:focus-visible { outline: 3px solid var(--tp-prussian); outline-offset: -3px; }
.cc-check-row { margin: 0.65rem 0 0.4rem; }
.cc-check { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.86rem; cursor: pointer; }
.cc-export-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.6rem 0; }

/* ---------------------------------------------------------------- Alluvial Torque Sankey & 6-Axis Radar */
.cc-sankey-box {
  margin-top: 1.5rem;
  background: var(--cc-paper);
  border: 1px solid var(--cc-rule);
  border-radius: 6px;
  padding: 1rem 1.1rem;
}
.cc-sankey-svg { min-width: 30rem; max-width: 42rem; margin: 0 auto; }
.cc-sankey-flow { fill: none; stroke-linecap: round; opacity: 0.82; }
.cc-sankey-out { stroke: var(--tp-prussian); stroke-width: 24; }
.cc-sankey-in { stroke: var(--cc-tint); stroke-width: 14; }
.cc-sankey-waste { stroke: var(--cc-red); stroke-width: 14; stroke-dasharray: 8 5; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.cc-radar-svg { max-width: 30rem; }
.cc-radar-ring { fill: none; stroke: var(--cc-rule); stroke-width: 1; }
.cc-radar-poly { fill: var(--tp-minium-soft); stroke: var(--cc-red); stroke-width: 2.5; transition: points 0.25s ease; }

/* ---------------------------------------------------------------- #engineers-study */
.cc-subsystems-svg { max-width: 52rem; margin: 1rem 0; }
.cc-quadric-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem;
  margin: 1rem 0 1.4rem;
}
@media (min-width: 44rem) { .cc-quadric-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 66rem) { .cc-quadric-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cc-quadric-card {
  background: var(--cc-paper);
  border: 1px solid var(--cc-rule);
  border-top: 3px solid var(--tp-prussian);
  border-radius: 5px;
  padding: 0.85rem 0.95rem;
}
.cc-quadric-loc { font-family: var(--tp-font-mono); font-size: 0.74rem; color: var(--tp-slate); margin: 0.5rem 0 0; }
.cc-study-plates-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin: 1.2rem 0; }
@media (min-width: 52rem) {
  .cc-study-plates-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.cc-lineage-box { margin-top: 1.5rem; }

/* ---------------------------------------------------------------- 14-item Visual Archive & zero-jump Lightbox */
.cc-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 18.5rem), 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.cc-media-card {
  display: flex;
  flex-direction: column;
  background: var(--cc-paper);
  border: 1px solid var(--cc-rule);
  border-radius: 6px;
  padding: 0.75rem;
  margin: 0;
  min-width: 0;
}
.cc-media-card[hidden] { display: none; }
.cc-media-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}
.cc-media-frame {
  height: 14.5rem;
  display: grid;
  place-items: center;
  background: var(--tp-stone-deep);
  border: 1px solid var(--cc-rule);
  border-radius: 4px;
  overflow: hidden;
  cursor: zoom-in;
}
.cc-media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cc-media-card figcaption {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--tp-graphite);
  margin: 0.5rem 0 0.35rem;
}
.cc-media-card .cc-cite { margin-top: auto; margin-bottom: 0; }

dialog.cc-lightbox {
  width: min(96vw, 76rem);
  height: min(92dvh, 54rem);
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0.85rem 1rem;
  border: 1px solid var(--tp-rule-strong);
  border-radius: 8px;
  background: var(--cc-paper);
  color: var(--cc-ink);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
dialog.cc-lightbox[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 0.65rem;
}
dialog.cc-lightbox::backdrop { background: rgba(12, 16, 22, 0.78); }
.cc-lightbox-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem 0.9rem;
}
.cc-lightbox-bar .cc-pill-bar { margin: 0; }
.cc-lb-hint { font-family: var(--tp-font-mono); font-size: 0.74rem; color: var(--tp-slate); }
.cc-lightbox-stage {
  min-height: 0;
  display: grid;
  place-items: center;
  background: #101419;
  border-radius: 4px;
  overflow: hidden;
}
#cc-lightbox-img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
#cc-lb-cap { max-width: none; margin: 0; font-size: 0.88rem; }

/* sources */
.cc-source-list { padding-left: 1.2rem; font-size: 0.9rem; line-height: 1.55; }
.cc-source-list li { margin-bottom: 0.4rem; scroll-margin-top: 5rem; }
.cc-source-list li:target { background: var(--tp-highlight); }

/* ---------------------------------------------------------------- reduced motion, forced colours, print */
@media (prefers-reduced-motion: reduce) {
  .cc-lane, .cc-wheel, .cc-weights.is-visible .cc-weight { animation: none; }
  .cc-lane { transform: none; }
  .cc-lane-1 { left: 4%; } .cc-lane-2 { left: 60%; } .cc-lane-3 { left: 30%; } .cc-lane-4 { left: 72%; }
  .cc-lane-5 { left: 8%; } .cc-lane-6 { left: 48%; } .cc-lane-7 { left: 80%; } .cc-lane-8 { left: 22%; }
  .cc-plate-disc, .cc-clutch .cc-clutch-move, .cc-slip path, .cc-caliper, .cc-shaft, .cc-gear circle, .cc-lane,
  .cc-pill-btn, .cc-relay-bar, .cc-loupe-node circle, .cc-radar-poly { transition: none; }
  .cc-motion { display: none; }
  .cc-egg-hood, .cc-egg-glow, .cc-egg-btn { transition: none; }
  .cc-egg-btn:hover .cc-egg-hood, .cc-egg-btn:focus-visible .cc-egg-hood { transform: none; }
  .cc-egg.is-open .cc-egg-panel, .cc-egg.is-open .cc-egg-panel img, .cc-egg.is-open .cc-egg-panel::after { animation: none; }
  .cc-egg.is-open .cc-egg-panel::after { display: none; }
}
@media (forced-colors: active) {
  .cc-parade, .cc-track { display: none; }
  .cc-ghost circle { fill: CanvasText; }
  .cc-ghost text { fill: Canvas; }
  .cc-torque, .cc-axle, .cc-shaft.is-live, .cc-axle-line, .cc-strut-line, .cc-torque-vec { stroke: CanvasText; }
  .cc-gear.is-live circle, .cc-caliper, .cc-lap-gap, .cc-loupe-node.is-active circle { fill: Highlight; }
  .cc-card, .cc-panel, .cc-media-card, .cc-relay-card { border-color: CanvasText; }
  .cc-pill-btn[aria-pressed="true"] { border-color: Highlight; color: Highlight; }
}
@media print {
  .cc-parade, .cc-track, .cc-motion, .cc-egg, .cc-hero-tools, .tp-essay-jump-bar, .cc-gen-rail, .cc-race .cc-btn,
  .cc-export-row, .cc-lightbox, [data-folio-puzzle] { display: none; }
  .cc-card, .cc-inline-figure, .cc-media-card { box-shadow: none; break-inside: avoid; }
  .cc-layout { grid-template-columns: 1fr; }
}
