/*
 * Discover on the web (Tonight::DiscoverController, layouts/external/discover).
 *
 * Two layouts from one set of markup:
 *
 *   - Phones and tablets: the iOS Discover screen. One card fills the screen,
 *     the portrait behind and the details over its lower half. Sizes, colours
 *     and spacing are the app's own (DiscoverCardView / DiscoverFeedView).
 *   - Wide screens ("stage", the media query near the end): the portrait
 *     stands on the left with the details alongside, over a blurred backdrop
 *     of the same picture, with a rail of buttons to step through the feed.
 *
 * Everything is under .vd so nothing leaks into the rest of the tonight site.
 */

.vd-body {
  margin: 0;
  overflow: hidden;
  overscroll-behavior: none;
  background: #000;
}

.vd {
  --vd-accent: #ff6b3d;
  --vd-mint: #00c7be;
  --vd-panel: #141a36;
  --vd-label: #a6a8cc;
  --vd-heart: #ff3b5c;
  --vd-gold: #ffcc4d;
  --vd-top: env(safe-area-inset-top, 0px);
  --vd-bottom: env(safe-area-inset-bottom, 0px);

  position: fixed;
  inset: 0;
  overflow: hidden;
  background: #000;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

.vd *,
.vd *::before,
.vd *::after {
  box-sizing: border-box;
}

.vd :where(h1, h2, p, ul) {
  margin: 0;
  padding: 0;
}

.vd :where(a) {
  color: inherit;
  text-decoration: none;
}

.vd :where(button) {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.vd :where(svg) {
  flex: none;
  display: block;
}

.vd [hidden] {
  display: none !important;
}

.vd :focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* "Swipe" for fingers, "scroll" for a mouse. */
.vd-pointer {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .vd-touch {
    display: none;
  }

  .vd-pointer {
    display: inline;
  }
}

/* ---------------------------------------------------------------- Paging */

.vd-scroller {
  position: absolute;
  inset: 0;
  overflow-x: hidden;
  overflow-y: auto;
  container-type: size;
  scroll-snap-type: y mandatory;
  overscroll-behavior: contain;
  scrollbar-width: none;
  outline: none;
}

.vd-scroller::-webkit-scrollbar {
  display: none;
}

.vd-page {
  position: relative;
  height: 100vh;
  height: 100dvh;
  height: 100cqh;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  /* A busy night is 100+ full-screen cards, each with its own blurred button
     layers. Rendering them all is more than iOS Safari gives one tab, and it
     kills the page on load ("A problem repeatedly occurred"), so cards off
     screen are skipped until they come near. Each card's size is fixed by its
     height, so skipping one does not move the snap points. */
  content-visibility: auto;
}

/* First visit on a phone: the feed lifts once to show there is more below. */
@keyframes vd-nudge {
  0%, 22%, 100% { transform: translateY(0); }
  9% { transform: translateY(-32px); }
}

@media (hover: none) {
  .vd-track.is-nudging {
    animation: vd-nudge 4.5s ease-in-out 1;
  }
}

/* ---------------------------------------------------------------- Chrome */

/* Phones: the app's header (DiscoverHeaderBar). The logo is the way home, the
   day switch sits on the right, and Share for the card in view between them. */
.vd-chrome {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: calc(var(--vd-top) + 62px);
  padding: calc(var(--vd-top) + 6px) 16px 12px;
  pointer-events: none;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.25));
}

.vd-chrome::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: calc(var(--vd-top) + 140px);
  background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
}

.vd-chrome > *,
.vd-chrome-end > * {
  pointer-events: auto;
}

.vd-chrome-end {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  pointer-events: none;
}

.vd-round {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
}

.vd-chrome .vd-brand {
  display: flex;
  align-items: center;
  flex: none;
  height: 36px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
}

.vd-chrome .vd-brand img {
  width: auto;
  height: 20px;
}

.vd-chrome .vd-brand span,
.vd-days {
  display: none;
}

.vd-share-lineup {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
}

.vd-share-lineup span,
.vd[data-kind="intro"] .vd-share-lineup {
  display: none;
}

.vd-intro-days {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 36px;
  padding: 0 3px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
}

.vd-intro-days a,
.vd-intro-days button {
  position: relative;
  display: grid;
  place-items: center;
  height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.vd-intro-days button {
  width: 32px;
  padding: 0;
}

/* A 44px touch target around a 30px pill. */
.vd-intro-days a::before,
.vd-intro-days button::before,
.vd-filter-reset::before {
  content: "";
  position: absolute;
  inset: -7px 0;
}

.vd-intro-days .is-selected {
  background: #fff;
  color: #000;
}

/* "Music ✕": the feed is cut down to one kind; a tap brings the lineup back. */
.vd-filter-reset {
  position: absolute;
  top: calc(var(--vd-top) + 54px);
  right: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--vd-accent);
  color: #000;
  font-size: 13px;
  font-weight: 700;
}

/* Wide-screen furniture, off until the stage layout turns it on. */
.vd-ambient,
.vd-rail,
.vd-keys,
.vd-headliner {
  display: none;
}

/* ------------------------------------------------------------------ Card */

.vd-card {
  background: #000;
}

.vd-media {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
}

.vd-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 42%;
}

/* A slow push in on the card in view, from the portrait's focus point (set by
   the controller as transform-origin); every other card pulls back out instead. */
@keyframes vd-drift {
  /* Starts zoomed enough that the pan never uncovers an edge, and level, so the
     tilt only arrives once the zoom has room for it. */
  from { transform: scale(1.07) translate3d(1%, 1.2%, 0) rotate(0deg); }
  to { transform: scale(1.2) translate3d(-1.2%, -1.6%, 0) rotate(1.2deg); }
}

.vd-card.is-live .vd-image {
  animation: vd-drift 14s ease-in-out infinite alternate;
  will-change: transform;
}

.vd-card:nth-of-type(even).is-live .vd-image {
  animation-direction: alternate-reverse;
}

.vd-scrim {
  position: absolute;
  inset: auto 0 0;
  height: 60%;
  background: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.35) 25%, rgba(0, 0, 0, 0.7) 55%, rgba(0, 0, 0, 0.88) 100%);
  pointer-events: none;
}

/* A tap anywhere but a control opens the show: the portrait underneath is the link. */
.vd-content {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 20px calc(var(--vd-bottom) + 22px);
  pointer-events: none;
}

.vd-card:has(.vd-hint:not(.is-done)) .vd-content {
  padding-bottom: calc(var(--vd-bottom) + 52px);
}

.vd-content a,
.vd-content button {
  pointer-events: auto;
}

.vd-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.vd-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vd-eyebrow {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.75);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vd-actions {
  display: flex;
  gap: 4px;
}

.vd-save svg {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.vd-save.favorite-active svg {
  fill: var(--vd-heart);
  stroke: var(--vd-heart);
  transform: scale(1.08);
}

.vd-title {
  display: -webkit-box;
  overflow: hidden;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.3px;
  line-height: 1.12;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.vd-tagline {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Starts / From / Location, and the showtimes panel */

.vd-facts {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vd-label {
  display: block;
  color: var(--vd-label);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
}

.vd-times {
  padding: 8px 12px;
  border-radius: 14px;
  background: var(--vd-panel);
}

.vd-times-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.vd-times-next {
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  font-weight: 600;
}

.vd-times-next.is-soon {
  color: var(--vd-mint);
}

.vd-times-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 8px;
}

.vd-times-grid.is-pair {
  grid-template-columns: 1fr 1fr;
}

.vd-time {
  padding: 5px 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  text-align: center;
}

.vd-time b {
  display: block;
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
}

.vd-time small {
  display: block;
  margin-top: 2px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.6px;
}

.vd-time.is-next {
  border-color: rgba(0, 199, 190, 0.7);
  background: rgba(0, 199, 190, 0.12);
  color: var(--vd-mint);
}

.vd-boxes {
  display: flex;
  gap: 8px;
}

.vd-box {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding: 6px 12px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: var(--vd-panel);
}

.vd-box b {
  overflow: hidden;
  font-size: 21px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* "10:30 PM" in a third of a phone's width: a size down, as iOS scales it. */
.vd-box b.is-long {
  font-size: 17px;
  letter-spacing: -0.3px;
  line-height: 25px;
}

.vd-box.is-location b {
  display: -webkit-box;
  font-size: 16px;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.vd-box small {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vd-box.is-soon {
  border-color: rgba(0, 199, 190, 0.7);
  background: #0f3030;
}

.vd-box.is-soon .vd-label,
.vd-box.is-soon small {
  color: var(--vd-mint);
}

/* "Make a night of it": Eat nearby / Get there */

.vd-night {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.vd-night > .vd-label {
  padding-left: 2px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 1.6px;
}

.vd-night-row {
  display: flex;
  gap: 8px;
}

.vd-night-button {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 56px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 107, 61, 0.5);
  border-radius: 14px;
  background: rgba(40, 22, 18, 0.82);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.vd-night-button:active {
  transform: scale(0.97);
}

.vd-night-button i {
  display: grid;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffb59c;
}

.vd-night-button span {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.vd-night-button b {
  color: #ffb59c;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.vd-night-button small {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vd-night-button.is-go {
  border-color: rgba(0, 199, 190, 0.5);
  background: rgba(10, 34, 36, 0.82);
}

.vd-night-button.is-go i,
.vd-night-button.is-go b {
  color: #4fdcd3;
}

/* Book tickets / More info */

.vd-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.vd-book,
.vd-more {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform 0.15s ease, filter 0.15s ease, background-color 0.15s ease;
}

.vd-book:active,
.vd-more:active {
  transform: scale(0.97);
}

.vd-book {
  flex: 1 1 auto;
  gap: 7px;
  background: var(--vd-accent);
  box-shadow: 0 2px 8px rgba(255, 107, 61, 0.4);
}

.vd-book span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.vd-book b {
  font-size: 15px;
  font-weight: 700;
}

.vd-book small {
  font-size: 10px;
  font-weight: 600;
  opacity: 0.85;
}

.vd-more {
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.14);
  font-size: 15px;
  font-weight: 600;
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
}

@keyframes vd-bob {
  from { transform: translateY(0); }
  to { transform: translateY(-5px); }
}

.vd-hint {
  position: absolute;
  inset: auto 0 max(calc(var(--vd-bottom) - 8px), 8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.vd-hint svg {
  animation: vd-bob 0.7s ease-in-out infinite alternate;
}

.vd-hint.is-done {
  opacity: 0;
}

/* ----------------------------------------------------------------- Intro */

/* Phones: the app's Today screen (DiscoverIntroCard), in its sizes. */
.vd-intro {
  background: #000;
}

.vd-intro-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.vd-intro-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(48px);
  transform: scale(1.25);
}

.vd-intro-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255, 107, 61, 0.16), #120d1f 50%, #000), rgba(0, 0, 0, 0.72);
}

.vd-fan,
.vd-intro-send {
  display: none;
}

.vd-intro-layout {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-top: calc(var(--vd-top) + 64px);
}

.vd-intro-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 520px;
  min-height: 0;
  margin: 0 auto;
  padding: 0 20px 12px;
  overflow: hidden auto;
  scrollbar-width: none;
}

.vd-intro-copy::-webkit-scrollbar {
  display: none;
}

.vd-intro-copy > * {
  flex: none;
}

.vd-intro-share {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px 9px 14px;
  border: 1px solid rgba(255, 107, 61, 0.5);
  border-radius: 16px;
  background: rgba(255, 107, 61, 0.12);
}

.vd-intro-share > div {
  flex: 1;
  min-width: 0;
}

.vd-intro-share b {
  font-size: 15px;
  font-weight: 700;
}

.vd-intro-share p {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  line-height: 1.3;
}

.vd-intro-share button,
.vd-intro-send {
  align-items: center;
  flex: none;
  gap: 6px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--vd-accent);
  color: #000;
  font-size: 14px;
  font-weight: 700;
}

.vd-intro-share button {
  display: flex;
}

.vd-intro-date {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--vd-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}

.vd-intro-date i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.vd-intro h1 {
  margin-top: 6px;
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -0.6px;
  line-height: 1.15;
  text-wrap: balance;
}

.vd-intro h1 strong {
  color: var(--vd-accent);
  font-weight: inherit;
}

.vd-intro h2 {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.8px;
  line-height: 1.2;
  text-transform: uppercase;
}

/* The row runs off both edges of the screen, as the app's does. */
.vd-intro-previews {
  display: flex;
  gap: 8px;
  margin: 0 -20px;
  padding: 0 20px;
  overflow-x: auto;
  scroll-padding: 0 20px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.vd-intro-previews::-webkit-scrollbar {
  display: none;
}

.vd-intro-preview {
  flex: 0 0 158px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: #141729;
  scroll-snap-align: start;
}

.vd-intro-preview-image {
  position: relative;
  height: 74px;
  overflow: hidden;
}

.vd-intro-preview-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.75));
}

.vd-intro-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vd-intro-preview time {
  position: absolute;
  z-index: 1;
  top: 7px;
  left: 7px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--vd-accent);
  font-size: 11px;
  font-weight: 700;
}

.vd-intro-preview-image b {
  position: absolute;
  z-index: 1;
  inset: auto 9px 6px;
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vd-intro-preview-details {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px 9px;
}

.vd-intro-preview-details span {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vd-intro-preview-details b {
  align-self: flex-end;
  font-size: 12px;
  font-weight: 700;
}

/* The tiles take the room there is: 104px tall on a big phone, down to 56px. */
.vd-intro-copy > .vd-intro-moods {
  flex: 0 1 236px;
  display: flex;
  flex-direction: column;
  min-height: 140px;
}

.vd-intro-categories {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 104px);
  gap: 8px;
  min-height: 0;
}

.vd-intro-category {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: #1a1a33;
  text-align: left;
}

.vd-intro-category img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vd-intro-category::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
}

.vd-intro-category span {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 0 12px;
}

.vd-intro-category b {
  color: var(--vd-accent);
  font-size: 26px;
  font-weight: 800;
}

.vd-intro-category strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.1;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* A phone has room for two rows of tiles: the four biggest chips. */
@media not ((min-width: 860px) and (min-aspect-ratio: 6/5)) {
  .vd-intro-category:nth-child(n+5) {
    display: none;
  }
}

.vd-intro-start {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

/* A gentle upward pulse: the arrows rise and brighten from the bottom one up. */
@keyframes vd-pulse-rise {
  from { transform: translateY(1px); }
  to { transform: translateY(-5px); }
}

@keyframes vd-pulse-glow {
  from { opacity: var(--vd-from); }
  to { opacity: var(--vd-to); }
}

.vd-intro-pulse {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: vd-pulse-rise 0.9s ease-in-out infinite alternate;
}

.vd-intro-pulse svg {
  margin-top: -9px;
  opacity: var(--vd-from);
  animation: vd-pulse-glow 0.9s ease-in-out infinite alternate;
}

.vd-intro-pulse svg:nth-child(1) { --vd-from: 0.3; --vd-to: 0.95; animation-delay: 0.3s; }
.vd-intro-pulse svg:nth-child(2) { --vd-from: 0.6; --vd-to: 0.75; animation-delay: 0.15s; }
.vd-intro-pulse svg:nth-child(3) { --vd-from: 0.9; --vd-to: 0.55; }

.vd-intro-explore {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 14px 18px calc(max(var(--vd-bottom), 12px) + 4px);
  border-radius: 22px 22px 0 0;
  background: var(--vd-accent);
  color: #1a121a;
  text-align: left;
}

.vd-intro-explore > span {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.vd-intro-explore b {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.vd-intro-explore small {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.85;
}

.vd-intro-explore i {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1a121a;
  color: var(--vd-accent);
}

.vd-intro-explore i svg + svg {
  margin-top: -11px;
}

/* What does not fit a short phone gives way, in the app's order: tile height
   (above), the second row of tiles, the tiles, then the Send banner. */
@container (max-height: 760px) {
  .vd-intro-category b { font-size: 20px; }
  .vd-intro-category strong { font-size: 15px; }
}

@container (max-height: 690px) {
  .vd-intro-copy > .vd-intro-moods {
    flex-basis: 126px;
    min-height: 78px;
  }

  /* One row: the two biggest chips, from the left. */
  .vd-intro-categories {
    justify-content: flex-start;
  }

  .vd-intro-category:nth-child(n+3) {
    display: none;
  }
}

@container (max-height: 620px) {
  .vd-intro-copy > .vd-intro-moods {
    display: none;
  }
}

@container (max-height: 540px) {
  .vd-intro-share {
    display: none;
  }
}

/* ------------------------------------------------------------------- End */

.vd-end {
  background: linear-gradient(135deg, #12102e, #060913);
}

.vd-end-layout {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  max-width: 560px;
  height: 100%;
  margin: 0 auto;
  padding: calc(var(--vd-top) + 86px) 24px calc(var(--vd-bottom) + 20px);
}

.vd-end-copy {
  margin-top: auto;
}

.vd-end-eyebrow {
  color: #adb0ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.vd-end h2 {
  margin: 12px 0;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.vd-end h2 em {
  color: var(--vd-mint);
  font-style: normal;
}

.vd-end-sub {
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
}

.vd-end-preview {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vd-end-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  background: #171a36;
  transition: background-color 0.15s ease;
}

.vd-end-row img {
  flex: none;
  width: 56px;
  height: 64px;
  border-radius: 12px;
  background: #1c1c1e;
  object-fit: cover;
}

.vd-end-row-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.vd-end-row small {
  color: #c7b3ff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}

.vd-end-row b {
  font-size: 14px;
  font-weight: 700;
}

.vd-end-row i {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vd-end-price {
  flex: none;
  max-width: 78px;
  padding: 9px;
  border-radius: 10px;
  background: var(--vd-mint);
  color: #000;
  font-size: 12px;
  font-weight: 700;
}

.vd-end-next {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
  padding: 20px;
  border-radius: 16px;
  background: linear-gradient(90deg, #00c7be, #00c0e8);
  color: #000;
  font-size: 16px;
  font-weight: 700;
  transition: transform 0.15s ease, filter 0.15s ease;
}

/* ------------------------------------------------------- Empty / message */

.vd-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 32px;
  background: #0b0b10;
  text-align: center;
}

.vd-message svg {
  color: rgba(255, 255, 255, 0.8);
}

.vd-message h1 {
  font-size: 22px;
  font-weight: 700;
}

.vd-message p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
}

.vd-message-button {
  margin-top: 6px;
  padding: 12px 24px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: 16px;
  font-weight: 700;
}

/* ------------------------------------------------------------ Date sheet */

.vd-sheet {
  position: absolute;
  inset: 0;
  z-index: 40;
}

.vd-sheet-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.vd-sheet-panel {
  position: absolute;
  inset: auto 0 0;
  max-width: 560px;
  max-height: 86%;
  margin: 0 auto;
  padding: 8px 20px calc(var(--vd-bottom) + 18px);
  overflow-y: auto;
  border-radius: 24px 24px 0 0;
  background: #17171c;
  transform: translateY(100%);
  transition: transform 0.26s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.vd-sheet.is-open .vd-sheet-backdrop {
  opacity: 1;
}

.vd-sheet.is-open .vd-sheet-panel {
  transform: none;
}

.vd-sheet-grabber {
  width: 36px;
  height: 5px;
  margin: 0 auto 14px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.25);
}

.vd-sheet h2 {
  font-size: 24px;
  font-weight: 700;
}

.vd-sheet h2 + p {
  margin: 4px 0 14px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  font-weight: 500;
}

.vd-sheet-days {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.vd-sheet-day {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 51px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.7);
}

.vd-sheet-day span {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
}

.vd-sheet-day b {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.vd-sheet-day small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.vd-sheet-day.is-selected {
  border-color: rgba(255, 107, 61, 0.6);
  background: rgba(255, 107, 61, 0.16);
}

.vd-sheet-day.is-selected svg {
  color: var(--vd-accent);
}

/* ------------------------------------------------------- Get there sheet */

.vd-go .vd-sheet-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #101220;
}

.vd-go .vd-sheet-grabber {
  margin-bottom: 4px;
}

.vd-go-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.1);
}

.vd-go h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
}

.vd-go h2 svg {
  color: var(--vd-mint);
}

.vd-go h2 + p {
  margin: -4px 0 6px;
  font-size: 15px;
}

.vd-go-drive,
.vd-go-row {
  display: flex;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: var(--vd-panel);
}

.vd-go-row {
  align-items: center;
  min-height: 68px;
  transition: background-color 0.15s ease;
}

.vd-go-drive > i,
.vd-go-row > i {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.vd-go-drive > i {
  background: #4fdcd3;
  color: #06231f;
}

.vd-go-drive > div,
.vd-go-row > span {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.vd-go b {
  font-size: 17px;
  font-weight: 700;
}

.vd-go small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.vd-go-row > svg {
  color: rgba(255, 255, 255, 0.5);
}

.vd-go-maps {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.vd-go-maps a {
  display: grid;
  flex: 1;
  place-items: center;
  min-height: 42px;
  border: 1px solid #4fdcd3;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition: filter 0.15s ease, background-color 0.15s ease;
}

.vd-go-maps a:first-child {
  background: #4fdcd3;
  color: #06231f;
}

.vd-go-parking {
  margin-top: 10px;
  color: #4fdcd3;
  font-size: 14px;
  font-weight: 700;
}

.vd-go-row.is-arrive {
  border-color: rgba(255, 107, 61, 0.5);
  background: rgba(40, 22, 18, 0.9);
}

.vd-go-row.is-arrive > i {
  background: none;
  color: var(--vd-accent);
}

@media (hover: hover) {
  .vd-go-row:hover {
    background: #1c2347;
  }

  .vd-go-row.is-arrive:hover {
    background: rgba(60, 30, 22, 0.95);
  }

  .vd-go-maps a:hover {
    filter: brightness(1.1);
    background-color: rgba(79, 220, 211, 0.12);
  }

  .vd-go-maps a:first-child:hover {
    background-color: #4fdcd3;
  }
}

/* Short phones (and landscape): tighten so the card's stack still fits. */
@media (max-height: 700px) {
  .vd-content {
    gap: 8px;
  }

  .vd-title {
    font-size: 26px;
  }

  .vd-box b {
    font-size: 18px;
  }

  .vd-end-layout {
    gap: 12px;
  }

  .vd-end h2 {
    font-size: 29px;
  }

  .vd-end-next {
    padding: 16px;
  }
}

@media (hover: hover) {
  .vd-book:hover,
  .vd-intro-explore:hover,
  .vd-end-next:hover {
    filter: brightness(1.08);
  }

  .vd-more:hover {
    background: rgba(255, 255, 255, 0.24);
  }

  .vd-end-row:hover {
    background: #1f2347;
  }

  .vd-sheet-day:hover {
    background: rgba(255, 255, 255, 0.12);
  }
}

/* =======================================================================
 * Stage: wide screens. The portrait on the left, its details alongside.
 * ===================================================================== */

@media (min-width: 860px) and (min-aspect-ratio: 6/5) {
  .vd {
    --vd-edge: clamp(28px, 3vw, 48px);
    --vd-ease: cubic-bezier(0.2, 0.75, 0.2, 1);
    background: #06070d;
  }

  /* The current portrait, blurred to a wash of its own colours. */
  .vd-ambient {
    display: block;
    position: absolute;
    inset: 0;
    overflow: hidden;
  }

  .vd-ambient-layer {
    position: absolute;
    inset: -12%;
    background-position: center;
    background-size: cover;
    filter: blur(90px) saturate(1.35);
    opacity: 0;
    transition: opacity 1s ease;
  }

  .vd-ambient-layer.is-on {
    opacity: 0.62;
  }

  .vd-ambient::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(120% 90% at 30% 50%, rgba(6, 7, 13, 0) 0%, rgba(6, 7, 13, 0.55) 60%, rgba(6, 7, 13, 0.92) 100%),
      linear-gradient(90deg, rgba(6, 7, 13, 0) 30%, rgba(6, 7, 13, 0.6) 100%);
  }

  .vd[data-kind="end"] .vd-ambient-layer.is-on {
    opacity: 0.2;
  }

  /* Header: brand, the week, share. */
  .vd-chrome {
    padding: 20px var(--vd-edge);
    filter: none;
  }

  .vd-chrome::before,
  .vd-intro-days {
    display: none;
  }

  .vd-chrome .vd-brand {
    gap: 12px;
    height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
  }

  .vd-chrome .vd-brand img {
    height: 26px;
  }

  .vd-chrome .vd-brand span {
    display: block;
    padding: 4px 9px;
    border: 1px solid rgba(255, 107, 61, 0.5);
    border-radius: 999px;
    color: var(--vd-accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
  }

  .vd-days {
    position: absolute;
    left: 50%;
    display: flex;
    gap: 2px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: rgba(12, 13, 22, 0.55);
    transform: translateX(-50%);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    backdrop-filter: blur(24px) saturate(1.4);
  }

  .vd-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 68px;
    padding: 7px 12px;
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.62);
    transition: background-color 0.15s ease, color 0.15s ease;
  }

  .vd-day span {
    font-size: 13px;
    font-weight: 700;
  }

  .vd-day small {
    font-size: 10px;
    font-weight: 500;
    opacity: 0.7;
  }

  .vd-day:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
  }

  .vd-day.is-selected {
    background: #fff;
    color: #000;
  }

  .vd-filter-reset {
    position: static;
    gap: 8px;
    height: 44px;
    padding: 0 16px;
    font-size: 14px;
  }

  .vd-share-lineup span {
    display: inline;
  }

  .vd-share-lineup,
  .vd[data-kind="intro"] .vd-share-lineup {
    display: flex;
    align-items: center;
    gap: 8px;
    width: auto;
    height: 44px;
    padding: 0 18px 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(12, 13, 22, 0.55);
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.15s ease;
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    backdrop-filter: blur(24px) saturate(1.4);
  }

  .vd-share-lineup svg {
    width: 18px;
    height: 18px;
    margin: 0;
  }

  .vd-share-lineup:hover {
    background: rgba(255, 255, 255, 0.14);
  }

  /* Card: portrait | details */
  .vd-card {
    display: grid;
    grid-template-columns: auto minmax(0, 520px);
    align-items: center;
    justify-content: center;
    column-gap: clamp(40px, 6vw, 104px);
    padding: 92px calc(var(--vd-edge) + 96px) 44px var(--vd-edge);
    background: none;
  }

  .vd-media {
    position: relative;
    inset: auto;
    width: auto;
    height: min(100vh - 150px, 860px);
    height: min(100cqh - 150px, 860px);
    aspect-ratio: 9 / 16;
    border-radius: 30px;
    box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: transform 0.7s var(--vd-ease), opacity 0.5s ease, box-shadow 0.3s ease;
  }

  /* A soft sheen across the top edge of the print. */
  .vd-media::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 28%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    pointer-events: none;
  }

  .vd-media:hover {
    box-shadow: 0 50px 110px -26px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.28);
  }

  .vd-scrim,
  .vd-hint {
    display: none;
  }

  .vd-content,
  .vd-card:has(.vd-hint:not(.is-done)) .vd-content {
    position: static;
    gap: 18px;
    max-width: none;
    margin: 0;
    padding: 0;
    pointer-events: auto;
  }

  /* Arriving: the portrait settles, the details rise in one after another.
     Only once the controller is running ([data-kind]), so the page still
     reads without JavaScript. */
  .vd[data-kind] .vd-card:not(.is-current) .vd-media {
    opacity: 0.35;
    transform: scale(0.92);
  }

  .vd[data-kind] .vd-card .vd-content > * {
    transition: opacity 0.5s ease, transform 0.7s var(--vd-ease);
  }

  .vd[data-kind] .vd-card:not(.is-current) .vd-content > * {
    opacity: 0;
    transform: translateY(22px);
  }

  .vd[data-kind] .vd-card.is-current .vd-content > :nth-child(2) { transition-delay: 0.07s; }
  .vd[data-kind] .vd-card.is-current .vd-content > :nth-child(3) { transition-delay: 0.14s; }
  .vd[data-kind] .vd-card.is-current .vd-content > :nth-child(4) { transition-delay: 0.21s; }

  .vd-info {
    gap: 12px;
    text-shadow: none;
  }

  .vd-headliner {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 5px;
    padding: 5px 11px 5px 9px;
    border-radius: 999px;
    background: var(--vd-gold);
    color: #000;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
  }

  .vd-eyebrow {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    letter-spacing: 1.8px;
  }

  .vd-actions {
    gap: 8px;
  }

  .vd-actions .vd-round {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.07);
    transition: background-color 0.15s ease, transform 0.15s ease;
  }

  .vd-actions .vd-round:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
  }

  .vd-title {
    font-size: clamp(38px, 4.3vw, 68px);
    letter-spacing: -0.035em;
    line-height: 1.02;
    text-wrap: balance;
    -webkit-line-clamp: 3;
  }

  .vd-title a:hover {
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 6px;
  }

  .vd-tagline {
    display: -webkit-box;
    color: rgba(255, 255, 255, 0.72);
    font-size: 18px;
    line-height: 1.4;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .vd-facts {
    gap: 10px;
  }

  .vd-times,
  .vd-box {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(20, 26, 54, 0.66);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
  }

  .vd-times {
    padding: 14px 16px 16px;
  }

  .vd-times-head {
    margin-bottom: 10px;
  }

  .vd-times-next {
    font-size: 13px;
  }

  .vd-time {
    padding: 9px 4px;
    border-radius: 12px;
  }

  .vd-time b {
    font-size: 19px;
  }

  .vd-time small {
    font-size: 9px;
  }

  .vd-boxes {
    gap: 10px;
  }

  .vd-box {
    gap: 3px;
    padding: 12px 16px 14px;
  }

  .vd-label {
    font-size: 11px;
    letter-spacing: 1.2px;
  }

  .vd-box b {
    font-size: 26px;
  }

  .vd-box.is-location b {
    font-size: 18px;
  }

  .vd-box b.is-long {
    font-size: 24px;
    line-height: inherit;
  }

  .vd-box small {
    font-size: 13px;
  }

  .vd-box.is-soon {
    border-color: rgba(0, 199, 190, 0.7);
    background: rgba(15, 48, 48, 0.8);
  }

  .vd-night-row {
    gap: 10px;
  }

  .vd-night-button {
    gap: 12px;
    min-height: 64px;
    padding: 10px 14px;
    border-radius: 18px;
  }

  .vd-night-button:hover {
    filter: brightness(1.25);
  }

  .vd-night-button i {
    width: 40px;
    height: 40px;
    border-radius: 11px;
  }

  .vd-night-button b {
    font-size: 18px;
  }

  .vd-night-button small {
    font-size: 13px;
  }

  .vd-buttons {
    gap: 12px;
    margin-top: 4px;
  }

  .vd-book,
  .vd-more {
    min-height: 58px;
    padding: 0 26px;
  }

  .vd-book {
    gap: 10px;
    box-shadow: 0 10px 30px -6px rgba(255, 107, 61, 0.55);
  }

  .vd-book:hover {
    transform: translateY(-1px);
  }

  .vd-book b,
  .vd-more {
    font-size: 17px;
  }

  .vd-book small {
    font-size: 11px;
  }

  /* Sheets become a dialog in the middle of the stage. */
  .vd-sheet-panel {
    inset: 50% auto auto 50%;
    width: min(460px, calc(100% - 48px));
    max-height: calc(100% - 80px);
    padding: 22px 22px 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 26px;
    box-shadow: 0 50px 120px -20px rgba(0, 0, 0, 0.9);
    opacity: 0;
    transform: translate(-50%, -46%) scale(0.97);
    transition: transform 0.26s var(--vd-ease), opacity 0.2s ease;
  }

  .vd-sheet.is-open .vd-sheet-panel {
    opacity: 1;
    transform: translate(-50%, -50%);
  }

  .vd-sheet-grabber {
    display: none;
  }

  .vd-sheet-backdrop {
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }

  /* The rail: step through the feed, see how far in you are. */
  .vd-rail {
    position: absolute;
    top: 50%;
    right: var(--vd-edge);
    z-index: 15;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    transform: translateY(-50%);
  }

  .vd-rail-button {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    background: rgba(12, 13, 22, 0.55);
    transition: background-color 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
  }

  .vd-rail-button:hover {
    background: rgba(255, 255, 255, 0.18);
  }

  .vd-rail-button:active {
    transform: scale(0.94);
  }

  .vd-rail-button.is-primary {
    border-color: transparent;
    background: var(--vd-accent);
    box-shadow: 0 10px 26px -6px rgba(255, 107, 61, 0.6);
  }

  .vd-rail-button.is-primary:hover {
    filter: brightness(1.1);
  }

  .vd-rail-button:disabled {
    cursor: default;
    opacity: 0.3;
  }

  .vd-rail-count {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-variant-numeric: tabular-nums;
  }

  .vd-rail-count b {
    font-size: 20px;
    font-weight: 800;
  }

  .vd-rail-count i {
    width: 16px;
    height: 1px;
    background: rgba(255, 255, 255, 0.35);
  }

  .vd-rail-count span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    font-weight: 600;
  }

  .vd-rail-track {
    width: 2px;
    height: clamp(60px, 16vh, 150px);
    border-radius: 1px;
    background: rgba(255, 255, 255, 0.14);
  }

  .vd-rail-fill {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: var(--vd-accent);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.5s var(--vd-ease);
  }

  .vd-keys {
    position: absolute;
    bottom: 18px;
    left: var(--vd-edge);
    z-index: 15;
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 12px;
    transition: opacity 0.3s ease;
  }

  .vd-keys kbd {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    font: inherit;
    font-size: 11px;
  }

  .vd-keys kbd + kbd {
    margin-right: 4px;
  }

  /* Intro: the day's numbers and ways in on the left, its first three
     portraits fanned out on the right. */
  @keyframes vd-rise {
    from { opacity: 0; transform: translateY(20px); }
  }

  .vd-intro {
    background: none;
  }

  .vd-intro-backdrop,
  .vd-intro-pulse,
  .vd-intro-share {
    display: none;
  }

  .vd-intro-layout {
    display: grid;
    grid-template-columns: minmax(0, clamp(560px, 43vw, 740px)) auto;
    grid-template-areas: "heading fan" "soon fan" "moods fan" "start fan";
    align-content: center;
    justify-content: center;
    gap: 26px clamp(40px, 6vw, 110px);
    padding: 96px calc(var(--vd-edge) + 96px) 44px var(--vd-edge);
  }

  .vd-intro-copy {
    display: contents;
  }

  .vd-intro-heading,
  .vd-intro-soon,
  .vd-intro-copy > .vd-intro-moods,
  .vd-intro-start {
    min-width: 0;
    animation: vd-rise 0.7s var(--vd-ease) both;
  }

  .vd-intro-heading { grid-area: heading; }
  .vd-intro-soon { grid-area: soon; animation-delay: 0.08s; }
  .vd-intro-copy > .vd-intro-moods { grid-area: moods; display: block; min-height: 0; animation-delay: 0.16s; }
  .vd-intro-start { grid-area: start; animation-delay: 0.24s; }

  .vd-intro-date {
    font-size: 13px;
    letter-spacing: 2.6px;
  }

  /* "85 shows", large, over the rest of the sentence. */
  .vd-intro h1 {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(26px, 2.5vw, 38px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
  }

  .vd-intro h1 strong {
    display: block;
    margin-bottom: 8px;
    font-size: clamp(68px, 7.4vw, 116px);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 0.92;
  }

  .vd-intro h2 {
    margin-bottom: 10px;
    font-size: 11px;
    letter-spacing: 2px;
  }

  /* The row fades out where more of it is waiting. */
  .vd-intro-previews {
    gap: 12px;
    margin: -4px 0 0;
    padding: 4px 48px 0 0;
    scroll-padding: 0;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 64px), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - 64px), transparent);
  }

  .vd-intro-preview {
    flex-basis: clamp(186px, 13vw, 224px);
    border-radius: 16px;
    background: rgba(20, 23, 41, 0.78);
    transition: transform 0.25s var(--vd-ease), border-color 0.2s ease;
  }

  .vd-intro-preview:hover {
    border-color: rgba(255, 255, 255, 0.32);
    transform: translateY(-3px);
  }

  .vd-intro-preview-image {
    height: 104px;
  }

  .vd-intro-preview time {
    font-size: 12px;
  }

  .vd-intro-preview-image b {
    inset: auto 12px 8px;
    font-size: 15px;
  }

  .vd-intro-preview-details {
    padding: 10px 12px;
  }

  .vd-intro-preview-details span {
    font-size: 12px;
  }

  .vd-intro-preview-details b {
    font-size: 14px;
  }

  .vd-intro-categories {
    --vd-tile-gap: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--vd-tile-gap);
  }

  /* The shape of a show's detail image, so the whole picture is in the tile. */
  .vd-intro-category {
    flex: 0 0 calc((100% - 3 * var(--vd-tile-gap)) / 4);
    aspect-ratio: 2 / 1;
    align-items: flex-end;
    border-radius: 14px;
    transition: border-color 0.2s ease;
  }

  .vd-intro-category img {
    transition: transform 0.6s var(--vd-ease);
  }

  .vd-intro-category::after {
    background: linear-gradient(rgba(0, 0, 0, 0.12) 25%, rgba(0, 0, 0, 0.86));
    transition: opacity 0.2s ease;
  }

  .vd-intro-category:hover {
    border-color: rgba(255, 107, 61, 0.7);
  }

  .vd-intro-category:hover img {
    transform: scale(1.08);
  }

  .vd-intro-category:hover::after {
    opacity: 0.75;
  }

  .vd-intro-category span {
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    padding: 0 14px 10px;
  }

  .vd-intro-category b,
  .vd-intro-category strong {
    font-size: 24px;
    line-height: 1.1;
  }

  .vd-intro-category strong {
    max-width: 100%;
    font-size: 14px;
  }

  .vd-intro-start {
    flex-direction: row;
    gap: 14px;
  }

  .vd-intro-explore {
    gap: 22px;
    width: auto;
    padding: 9px 10px 9px 28px;
    border-radius: 999px;
    box-shadow: 0 14px 34px -8px rgba(255, 107, 61, 0.6);
    transition: transform 0.15s ease, filter 0.15s ease;
  }

  .vd-intro-explore:active {
    transform: scale(0.98);
  }

  .vd-intro-explore b {
    font-size: 19px;
  }

  /* Down, the way a scroll goes. */
  .vd-intro-explore i {
    transform: rotate(180deg);
  }

  .vd-intro-send {
    display: flex;
    gap: 8px;
    min-height: 52px;
    padding: 0 22px 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(12, 13, 22, 0.5);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    transition: background-color 0.15s ease;
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    backdrop-filter: blur(24px) saturate(1.4);
  }

  .vd-intro-send:hover {
    background: rgba(255, 255, 255, 0.14);
  }

  .vd-fan {
    grid-area: fan;
    position: relative;
    display: block;
    align-self: center;
    height: min(100vh - 260px, 620px);
    height: min(100cqh - 260px, 620px);
    aspect-ratio: 9 / 16;
    margin: 0 72px;
  }

  /* Two rings behind the fan. */
  .vd-fan::before,
  .vd-fan::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    height: 122%;
    aspect-ratio: 1;
    border: 1px solid rgba(255, 107, 61, 0.24);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
  }

  .vd-fan::after {
    height: 170%;
    border-color: rgba(255, 107, 61, 0.12);
  }

  .vd-fan-card {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    border-radius: 26px;
    box-shadow: 0 40px 80px -24px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.12);
    transition: transform 0.8s var(--vd-ease);
  }

  .vd-fan-card img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 50% 42%;
  }

  .vd-fan-card span {
    position: absolute;
    inset: auto 0 0;
    padding: 70px 22px 22px;
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.82));
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.2px;
    line-height: 1.15;
  }

  .vd-fan-card small {
    display: block;
    margin-bottom: 5px;
    color: var(--vd-accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
  }

  /* Back to front: third, second, then the opening card on top. */
  .vd-fan-card:nth-last-child(3) { transform: translateX(-27%) rotate(-10deg) scale(0.84); }
  .vd-fan-card:nth-last-child(2) { transform: translateX(26%) rotate(8deg) scale(0.9); }
  .vd-fan-card:nth-last-child(1) { transform: rotate(-1.5deg); }

  /* Until the controller is running the cards wait in a stack, then fan out. */
  .vd[data-kind] .vd-intro:not(.is-current) .vd-fan-card { transform: scale(0.86); }

  .vd-intro:hover .vd-fan-card:nth-last-child(3) { transform: translateX(-34%) rotate(-13deg) scale(0.84); }
  .vd-intro:hover .vd-fan-card:nth-last-child(2) { transform: translateX(33%) rotate(11deg) scale(0.9); }
  .vd-fan-card:nth-last-child(1):hover { transform: rotate(0deg) scale(1.02); }

  /* End */
  .vd-end {
    background: none;
  }

  .vd-end-layout {
    gap: 26px;
    max-width: 640px;
    padding: 110px 24px 60px;
  }

  .vd-end-eyebrow {
    font-size: 13px;
  }

  .vd-end h2 {
    margin: 16px 0;
    font-size: clamp(44px, 4.6vw, 64px);
    letter-spacing: -0.035em;
    line-height: 1.04;
  }

  .vd-end-sub {
    font-size: 18px;
  }

  .vd-end-row {
    gap: 16px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background: rgba(23, 26, 54, 0.7);
  }

  .vd-end-row img {
    width: 64px;
    height: 76px;
  }

  .vd-end-row b {
    font-size: 17px;
  }

  .vd-end-row i {
    font-size: 13px;
  }

  .vd-end-row small {
    font-size: 10px;
  }

  .vd-end-price {
    max-width: none;
    padding: 10px 14px;
    font-size: 14px;
  }

  .vd-end-copy,
  .vd-end-next {
    margin-top: 0;
  }

  .vd-end-next {
    font-size: 18px;
  }

  /* Narrow stage (small laptops, tablets on their side, a half-width window):
     the same layout with the furniture pulled in. */
  @media (max-width: 1100px) {
    .vd-intro-send {
      display: none;
    }

    .vd-fan {
      height: min(100cqh - 300px, 440px);
      margin: 0 48px;
    }

    .vd-intro-categories {
      --vd-tile-gap: 8px;
    }

    .vd-intro-category span {
      padding: 0 10px 8px;
    }

    .vd-intro-category b {
      font-size: 18px;
    }

    .vd-intro-category strong {
      font-size: 12px;
    }

    .vd-brand span,
    .vd-share-lineup span,
    .vd-keys {
      display: none;
    }

    .vd-share-lineup {
      width: 44px;
      padding: 0;
      justify-content: center;
    }

    .vd-day {
      min-width: 54px;
      padding: 6px 8px;
    }

    .vd-card,

    .vd-rail-button {
      width: 46px;
      height: 46px;
    }

    .vd-title {
      font-size: clamp(30px, 4.2vw, 44px);
    }

    .vd-tagline {
      font-size: 16px;
    }

    .vd-box {
      padding: 10px 12px 11px;
    }

    .vd-box b,
    .vd-box b.is-long {
      font-size: 20px;
    }

    .vd-box.is-location b {
      font-size: 16px;
    }

    .vd-book,
    .vd-more {
      padding: 0 18px;
    }

  }

  /* Laptop heights: keep the whole stack on screen. */
  @media (max-height: 800px) {
    .vd-intro-layout {
      row-gap: 18px;
      padding-top: 84px;
      padding-bottom: 28px;
    }

    .vd-intro h1 {
      margin-top: 10px;
      font-size: clamp(22px, 2.2vw, 30px);
    }

    .vd-intro h1 strong {
      font-size: clamp(56px, 6vw, 84px);
    }

    .vd-intro-preview-image {
      height: 84px;
    }

    .vd-intro-category b {
      font-size: 20px;
    }

    /* One row of tiles, so the start button clears the keys hint. */
    @media (max-height: 760px) {
      .vd-intro-categories {
        justify-content: flex-start;
      }

      .vd-intro-category:nth-child(n+5) {
        display: none;
      }
    }

    @media (max-height: 640px) {
      .vd-intro-copy > .vd-intro-moods {
        display: none;
      }
    }

    .vd-content,
    .vd-card:has(.vd-hint:not(.is-done)) .vd-content {
      gap: 12px;
    }

    .vd-info {
      gap: 8px;
    }

    .vd-title {
      font-size: clamp(32px, 3.6vw, 48px);
      -webkit-line-clamp: 2;
    }

    .vd-tagline {
      font-size: 16px;
      -webkit-line-clamp: 1;
    }

    .vd-times {
      padding: 10px 14px 12px;
    }

    .vd-time {
      padding: 6px 4px;
    }

    .vd-box {
      padding: 9px 14px 10px;
    }

    .vd-box b {
      font-size: 22px;
    }

    .vd-book,
    .vd-more {
      min-height: 50px;
    }

    .vd-end-layout {
      gap: 16px;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .vd *,
  .vd *::before,
  .vd *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}
