.cc_wtghls7x_O9n199NTSZ .fp {
  padding: var(--space-section) var(--space-page) 0;
  color: var(--color-text);
}

/*
 * Sliding deck: every card is open and sticky; the next card slides over the previous one.
 * JS writes --fp-top per card (header + inset + i × strip, clamped to the viewport); before it
 * runs every card sticks under the header, which is still a working deck.
 * Renderer DOM: .fp-stack > wrapper (display: contents) > child wrapper (display: contents) >
 * .fpi, so the cards are flex items of .fp-stack and their sticky box is the stack.
 * Flex column, so the cards' margins never collapse (JS relies on exact margin sums).
 */
.cc_wtghls7x_O9n199NTSZ .fp .fp-stack {
  --fp-inset: 16px;
  --fp-strip: 64px;
  --fp-gap: 24px;
  /*
   * Scroll during which the finished deck stays put before it is released: one wheel notch.
   * Longer, the screen froze while the user kept scrolling (nothing else is on screen) and it
   * read as a stuck scroll (50vh, 2026-11-03).
   */
  --fp-hold: 120px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding-bottom: 24px;
}

.cc_wtghls7x_O9n199NTSZ .fp .fp-stack--ready::after {
  content: "";
  flex: none;
  height: var(--fp-hold);
}

.cc_wtghls7x_O9n199NTSZ .fp .fp-stack--empty {
  min-height: 72px;
  border-radius: var(--radius-band);
  background-color: var(--color-surface);
}

/*
 * Margins come from JS: --fp-mb lets every card leave together with the last one, --fp-mt
 * puts the 24px gap back. Before JS runs, the gap sits on top of the next card (a sticky
 * card's bottom margin counts against the stack's bottom edge).
 */
.cc_wtghls7x_O9n199NTSZ .fp .fp-stack .fpi {
  position: sticky;
  top: var(--fp-top, calc(var(--size-header) + var(--fp-inset)));
  flex: none;
  margin-bottom: var(--fp-mb, 0px);
  transform-origin: 50% 0;
}

.cc_wtghls7x_O9n199NTSZ .fp .fp-stack > * > :not(:first-child) .fpi, .cc_wtghls7x_O9n199NTSZ .fp .fp-stack > * > .fpi:not(:first-child) {
  margin-top: var(--fp-mt, var(--fp-gap));
}

.cc_wtghls7x_O9n199NTSZ .fp .fp-stack > * > :nth-child(3n + 2) .fpi, .cc_wtghls7x_O9n199NTSZ .fp .fp-stack > * > .fpi:nth-child(3n + 2) {
  background-color: var(--color-tint-sun);
}

.cc_wtghls7x_O9n199NTSZ .fp .fp-stack > * > :nth-child(3n + 3) .fpi, .cc_wtghls7x_O9n199NTSZ .fp .fp-stack > * > .fpi:nth-child(3n + 3) {
  background-color: var(--color-tint-peach);
}

/* Veil over a covered card; it only gets opacity from the recede timeline below. */
.cc_wtghls7x_O9n199NTSZ .fp .fp-stack .fpi::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background-color: var(--color-accent-text);
  opacity: 0;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .cc_wtghls7x_O9n199NTSZ .fp .fp-stack .fpi-tab:hover .fpi-tab-label {
    text-decoration: underline;
    text-underline-offset: var(--underline-offset);
  }
}

@keyframes cc_wtghls7x_O9n199NTSZ_fp-recede {
  to {
    transform: scale(var(--fp-s, 0.96));
  }
}

@keyframes cc_wtghls7x_O9n199NTSZ_fp-veil {
  to {
    opacity: 0.12;
  }
}

/* Scrubbed by the stack's scroll position: linear, no duration (S-FEAT-01 v2). */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .cc_wtghls7x_O9n199NTSZ .fp .fp-stack {
      view-timeline: --fp-stack block;
    }

    .cc_wtghls7x_O9n199NTSZ .fp .fp-stack--ready .fpi:not([data-fp-last]) {
      will-change: transform;
      animation: cc_wtghls7x_O9n199NTSZ_fp-recede linear both;
      animation-timeline: --fp-stack;
      animation-range: cover var(--fp-a) cover var(--fp-b);
    }

    .cc_wtghls7x_O9n199NTSZ .fp .fp-stack--ready .fpi:not([data-fp-last])::after {
      animation: cc_wtghls7x_O9n199NTSZ_fp-veil linear both;
      animation-timeline: --fp-stack;
      animation-range: cover var(--fp-a) cover var(--fp-b);
    }
  }
}

@media (max-width: 767px) {
  .cc_wtghls7x_O9n199NTSZ .fp {
    padding: var(--space-section) var(--space-band) 0;
  }

  .cc_wtghls7x_O9n199NTSZ .fp .fp-stack {
    --fp-inset: 8px;
    --fp-strip: 12px;
  }
}
