/* Approved November content additions; the helmet scene remains unchanged. */
.opening-enter {
  position: absolute;
  left: 50%;
  bottom: max(12px, calc(env(safe-area-inset-bottom) + 8px));
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transform: translateX(-50%);
  pointer-events: none;
  opacity: 0;
  color: #f3f4f3;
  font: 600 10px/1.3 Arial, Helvetica, sans-serif;
  letter-spacing: .2em;
  white-space: nowrap;
  transition: opacity .2s ease;
}
html:not([data-opening-loading="pending"]):not([data-opening-loading="revealing"]) .opening-enter:not(.is-scrolled) { opacity: 1; }
.opening-enter__line { position: relative; width: 1px; height: 16px; overflow: hidden; background: #ffffff24; }
.opening-enter__line::after { content: ''; position: absolute; top: 0; left: 0; width: 1px; height: 8px; background: var(--orange); animation: opening-enter-line 2s ease-in-out infinite; }
@keyframes opening-enter-line { 0% { transform: translateY(-9px); } 75%,100% { transform: translateY(17px); } }
.opening-enter.is-scrolled .opening-enter__line::after { animation-play-state: paused; }
html[data-motion="reduced"] .opening-enter { transition: none; }
html[data-motion="reduced"] .opening-enter__line::after { animation: none; height: 100%; }
.introduction .intro-eight { flex-shrink: 0; white-space: nowrap; }
.story .story-marker > span { white-space: nowrap; }
/* Re-exported from the portrait originals: more scene height, no side crop. */
.track-sticky,
html[data-motion="full"] .track-sticky { aspect-ratio: 4 / 3; }
.track-frame video { aspect-ratio: 4 / 3; }
@media (max-width: 700px) {
  /* Give the wider race number its own space without reducing its type size. */
  .story .story-marker { position: relative; top: auto; right: auto; display: flex; justify-content: flex-end; margin: -6px 0 26px; }
  .story-heading { margin-bottom: 20px; }
  .opening-enter { font-size: 9px; gap: 8px; }
  .highlights .highlight-step[data-highlight="0"]::before {
    height: 78%;
    background: linear-gradient(180deg, #05090a66 0%, #05090aa3 72%, transparent 100%);
  }
  .highlights .highlight-step[data-highlight="0"] .result-description { text-shadow: 0 1px 4px #000; }
}
@media (prefers-reduced-motion: reduce) {
  .opening-enter { transition: none; }
  .opening-enter__line::after { animation: none; height: 100%; }
}
