#see-it .video-slot { max-width: none; }

.video-figure {
  margin: 0;
  --vf-pad: 24px;
  position: relative;
  padding: var(--vf-pad);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.video-figure video {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: none;
}

.video-figure figcaption {
  margin-top: 14px;
  max-width: 62ch;
  font-size: 1rem;
  color: var(--text-muted);
}

@media (max-width: 34rem) {
  .video-figure { --vf-pad: 14px; }
}

.video-cue { display: none; }

@media (hover: hover) and (pointer: fine) {
  .video-figure.has-cue:not(.is-played) .video-cue {
    display: grid;
    place-items: center;
    position: absolute;
    top: var(--vf-pad);
    left: var(--vf-pad);
    width: calc(100% - (var(--vf-pad) * 2));
    aspect-ratio: 16 / 9;
    pointer-events: none;
  }
}

.video-cue__disc {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(10, 10, 17, .82);
  border: 2px solid rgba(255, 255, 255, .92);
  box-shadow: 0 6px 24px -6px rgba(0, 0, 0, .6);
}

.video-cue__disc::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 6px;
  border-style: solid;
  border-width: 13px 0 13px 22px;
  border-color: transparent transparent transparent #FFFFFF;
}

@media (max-width: 46rem) {
  .video-cue__disc { width: 60px; height: 60px; }
  .video-cue__disc::before { border-width: 10px 0 10px 17px; margin-left: 5px; }
}

.video-note {
  margin: 10px 0 0;
  font-size: .85rem;
  color: var(--text-muted);
}

.travel {
  position: relative;
  margin: 48px auto 0;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);

  --tv-on-ok: #FFFFFF;
}

[data-theme="dark"] .travel { --tv-on-ok: #0B1410; }

.travel h3 {
  margin: 0 0 14px;
  font-size: 1.15rem;
}

.travel > p.travel-lead {
  margin: 0 0 22px;
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 62ch;
}

.travel__rail {
  display: grid;
  gap: 12px;
  align-items: center;
}

@media (min-width: 46rem) {
  .travel__rail { grid-template-columns: 1fr 44px 1fr 44px 1.6fr; gap: 14px; }
}

.travel__node {
  padding: 16px 14px;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--text-muted);
  background: var(--surface-sunk);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius);
  transition:
    border-color .45s var(--ease),
    background   .45s var(--ease),
    color        .45s var(--ease),
    transform    .45s var(--ease);
}

.travel__node small {
  display: block;
  margin-top: 4px;
  font-weight: 400;
  font-size: .875rem;
  opacity: .9;
}

.travel__node.is-active  { border-color: var(--accent); color: var(--text); transform: scale(1.03); }
.travel__node.is-alerted { border-color: var(--accent-fill); background: var(--accent-fill); color: #FFFFFF; transform: none; }
.travel__node.is-clear   { border-color: var(--ok); background: var(--ok); color: var(--tv-on-ok); transform: none; }

.travel__link {
  position: relative;
  height: 4px;
  border-radius: 2px;
  background: var(--border-strong);
  overflow: hidden;
}

@media (max-width: 45.99rem) {
  .travel__link { height: 22px; width: 4px; margin-inline: auto; }
}

.travel__link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: translateX(-100%);
}

@media (max-width: 45.99rem) {
  .travel__link::after {
    background: linear-gradient(180deg, transparent, var(--accent), transparent);
    transform: translateY(-100%);
  }
}

.travel__link.is-firing::after { animation: s7-travel-sweep 700ms var(--ease) 1 forwards; }

@media (max-width: 45.99rem) {
  .travel__link.is-firing::after { animation-name: s7-travel-sweep-y; }
}

@keyframes s7-travel-sweep   { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes s7-travel-sweep-y { from { transform: translateY(-100%); } to { transform: translateY(100%); } }

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

.travel__room {
  padding: 12px 6px;
  font-size: .85rem;
  font-weight: 600;
  transition-delay: calc(var(--i, 0) * 60ms);
}

.travel__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 22px;
}

.travel__steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.travel__steps button {
  min-height: 44px;
  padding: 8px 16px;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font: inherit;
  font-size: .92rem;
  cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}

.travel__steps button:hover { color: var(--text); border-color: var(--text-muted); }

.travel__steps button[aria-current="step"] {
  color: #FFFFFF;
  background: var(--accent-fill);
  border-color: var(--accent-fill);
  font-weight: 700;
}

.travel__play { min-height: 44px; }

.travel__status {
  margin: 18px 0 0;
  min-height: 1.6em;
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 62ch;
}

@media (max-width: 34rem) {
  .travel { padding: 14px; }
}

.js-travel .travel-still { display: none; }

.travel-still ol { margin: 0; padding-left: 1.3em; }
.travel-still li { margin-bottom: 10px; color: var(--text-muted); max-width: none; }
.travel-still li strong { color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  .travel__node { transition: none; transform: none !important; }
  .travel__room { transition-delay: 0ms; }
  .travel__link.is-firing::after { animation: none; transform: none; opacity: .9; }
  .travel__steps button { transition: none; }
}

@media print {
  .travel__rail, .travel__controls, .travel__status { display: none !important; }
  .js-travel .travel-still { display: block !important; }
  .travel { border: 1px solid #767169; padding: 0; }
  .video-figure video { display: none !important; }
  .video-cue { display: none !important; }
  .video-figure { padding: 0; border: 0; box-shadow: none; background: none; }
}
