.tour-engine-body {
  background-color: var(--tour-body-bg, #f7f4eb);
  background-image: var(--tour-body-texture-image, none);
  background-size: auto;
  background-position: top left;
  background-repeat: repeat;
  color: #1d2a36;
}

.tour-player-body {
  --tour-shell-width: 1050px;
  --tour-shell-height: 680px;
}

.immersive-tour-body {
  overflow-x: hidden;
  overflow-y: auto;
  background-color: var(--tour-body-bg, #f7f4eb);
  background-image: var(--tour-body-texture-image, none);
  background-size: auto;
  background-position: top left;
  background-repeat: repeat;
}

.tour-experience-screen {
  width: min(1280px, calc(100% - 24px));
  margin: 0 auto;
  padding: 18px 0 42px;
}

.tour-experience-screen[data-tour-atmosphere] {
  position: relative;
  isolation: isolate;
}

.tour-experience-screen[data-tour-atmosphere]::before,
.tour-experience-screen[data-tour-atmosphere]::after {
  content: "";
  position: absolute;
  inset: -42px;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 260ms ease;
}

.tour-shell.immersive .tour-experience-screen {
  width: 100%;
  min-height: 100dvh;
  padding: 10px;
  display: grid;
  justify-items: center;
  align-content: center;
}

.tour-shell.immersive .tour-experience-screen[data-tour-atmosphere]::before,
.tour-shell.immersive .tour-experience-screen[data-tour-atmosphere]::after {
  position: fixed;
  inset: 0;
}

.tour-page-wrap,
.tour-player-shell {
  width: min(var(--tour-shell-width, var(--app-shell-max-width, 1120px)), calc(100% - 24px));
  margin: 0 auto;
  position: relative;
}

.tour-player-shell {
  display: grid;
  gap: 10px;
  isolation: isolate;
  z-index: 1;
}

.tour-experience-screen[data-tour-atmosphere="storm"]::before {
  opacity: 1;
  background:
    radial-gradient(circle at 18% 14%, rgba(168, 196, 255, 0.22), transparent 16%),
    radial-gradient(circle at 82% 12%, rgba(255, 255, 255, 0.14), transparent 10%),
    radial-gradient(circle at 50% 48%, rgba(12, 19, 33, 0.34), transparent 42%),
    radial-gradient(circle at 50% 82%, rgba(10, 14, 23, 0.24), transparent 30%),
    linear-gradient(180deg, rgba(24, 31, 43, 0.14), rgba(8, 12, 20, 0.32));
  filter: blur(34px) saturate(1.05);
  animation: tourStormPulse 6.4s linear infinite;
}

.tour-experience-screen[data-tour-atmosphere="storm"]::after {
  opacity: 1;
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0) 34%, rgba(255, 255, 255, 0.26) 46%, rgba(255, 255, 255, 0) 58%),
    linear-gradient(102deg, rgba(255, 255, 255, 0) 42%, rgba(200, 225, 255, 0.18) 49%, rgba(255, 255, 255, 0) 56%),
    radial-gradient(circle at 22% 22%, rgba(210, 227, 255, 0.12), transparent 16%);
  filter: blur(24px);
  transform: translateX(-14%);
  animation: tourLightningFlash 5.8s linear infinite;
}

.tour-experience-screen[data-tour-atmosphere="sun-glow"]::before {
  opacity: 1;
  background:
    radial-gradient(circle at 76% 14%, rgba(255, 223, 139, 0.34), transparent 18%),
    radial-gradient(circle at 62% 24%, rgba(255, 245, 208, 0.22), transparent 15%),
    radial-gradient(circle at 18% 78%, rgba(255, 231, 184, 0.2), transparent 22%),
    linear-gradient(180deg, rgba(255, 243, 214, 0.02), rgba(255, 221, 164, 0.08));
  filter: blur(32px) saturate(1.08);
  animation: tourSunGlowPulse 8.8s ease-in-out infinite;
}

.tour-experience-screen[data-tour-atmosphere="sun-glow"]::after {
  opacity: 1;
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 241, 196, 0.32), transparent 8%),
    radial-gradient(circle at 84% 26%, rgba(255, 251, 232, 0.24), transparent 6%),
    radial-gradient(circle at 66% 10%, rgba(255, 230, 162, 0.18), transparent 5%),
    radial-gradient(circle at 22% 68%, rgba(255, 244, 205, 0.16), transparent 10%);
  filter: blur(28px);
  animation: tourSunGlowDrift 11.5s ease-in-out infinite;
}

.tour-shell-utility-row {
  display: flex;
  justify-content: flex-end;
}

.tour-shell-footnote {
  width: min(var(--tour-shell-width, var(--app-shell-max-width, 1120px)), calc(100% - 24px));
  margin: -2px auto 0;
  padding: 0 6px;
  text-align: left;
}

.tour-player-card,
.tour-promo-card {
  overflow: hidden;
}

.tour-player-card {
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: var(--tour-shell-bg, var(--surface, #fff));
  min-height: min(var(--tour-shell-height, 760px), calc(100dvh - 24px));
  height: min(var(--tour-shell-height, 760px), calc(100dvh - 24px));
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(17, 24, 39, 0.12);
  position: relative;
  z-index: 1;
}

.tour-player-shell.is-card-stack::before,
.tour-player-shell.is-card-stack::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: color-mix(in srgb, var(--tour-shell-bg, #fff) 82%, #d8c9c1 18%);
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.08);
  pointer-events: none;
  z-index: -1;
}

.tour-player-shell.is-card-stack::before {
  transform: translateY(-10px);
  opacity: 0.62;
}

.tour-player-shell.is-card-stack::after {
  transform: translateY(-20px);
  opacity: 0.4;
}

.tour-shell-top {
  position: relative;
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 8px 14px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0.28));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 7;
  overflow: visible;
}

.tour-gamestate-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tour-gamestate-meta-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.05);
  border: 1px solid rgba(17, 24, 39, 0.08);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(29, 42, 54, 0.74);
}

.tour-gamestate-meta-chip.is-time-cost {
  background: rgba(255, 247, 237, 0.88);
  border-color: rgba(194, 120, 3, 0.16);
}

.tour-gamestate-meta-chip.is-flavor {
  text-transform: none;
  letter-spacing: normal;
  font-weight: 600;
  background: rgba(239, 246, 255, 0.88);
  border-color: rgba(37, 99, 235, 0.14);
}

.tour-gamestate-resources {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.tour-gamestate-resource {
  display: grid;
  grid-template-columns: minmax(78px, auto) 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(17, 24, 39, 0.08);
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.tour-gamestate-resource.is-low {
  background: rgba(255, 245, 245, 0.82);
  border-color: rgba(185, 28, 28, 0.16);
}

.tour-gamestate-resource.is-strong {
  background: rgba(244, 251, 247, 0.82);
  border-color: rgba(22, 101, 52, 0.14);
}

.tour-gamestate-resource-head {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.tour-gamestate-resource-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.07);
  color: color-mix(in srgb, var(--tour-primary, #1f5fae) 82%, #13212b 18%);
  font-size: 11px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.tour-gamestate-resource-label,
.tour-gamestate-resource-value,
.tour-gamestate-group-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(29, 42, 54, 0.72);
}

.tour-gamestate-resource-value {
  min-width: 36px;
  text-align: right;
}

.tour-gamestate-resource-trail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-end;
}

.tour-gamestate-resource-delta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}

.tour-gamestate-resource-delta.is-gain {
  background: rgba(220, 252, 231, 0.96);
  color: #166534;
}

.tour-gamestate-resource-delta.is-loss {
  background: rgba(254, 226, 226, 0.96);
  color: #b91c1c;
}

.tour-gamestate-resource.is-delta-active {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.tour-gamestate-resource.is-delta-active.has-gain {
  background: rgba(240, 253, 244, 0.95);
  border-color: rgba(34, 197, 94, 0.25);
  animation: tour-resource-pulse-gain 1800ms ease;
}

.tour-gamestate-resource.is-delta-active.has-loss {
  background: rgba(254, 242, 242, 0.95);
  border-color: rgba(239, 68, 68, 0.24);
  animation: tour-resource-pulse-loss 1800ms ease;
}

.tour-gamestate-resource.is-delta-active .tour-gamestate-resource-delta {
  animation: tour-resource-badge-pop 1600ms ease;
}

.tour-gamestate-meter {
  position: relative;
  display: block;
  height: 6px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.08);
  overflow: hidden;
}

.tour-gamestate-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, color-mix(in srgb, var(--tour-primary, #1f5fae) 75%, white 25%), var(--tour-primary, #1f5fae));
}

.tour-gamestate-details {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-start;
}

.tour-gamestate-events {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.tour-gamestate-event {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.tour-gamestate-event.is-gain {
  background: rgba(220, 252, 231, 0.95);
  color: #166534;
}

.tour-gamestate-event.is-loss {
  background: rgba(254, 226, 226, 0.95);
  color: #b91c1c;
}

.tour-gamestate-event.is-event-active {
  animation: tour-resource-badge-pop 1600ms ease;
}

.tour-gamestate-group {
  display: grid;
  gap: 6px;
}

.tour-gamestate-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tour-gamestate-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.06);
  border: 1px solid rgba(17, 24, 39, 0.08);
  font-size: 12px;
  font-weight: 600;
  color: #31404d;
}

.tour-gamestate-chip.is-required {
  background: rgba(255, 247, 237, 0.88);
  border-color: rgba(194, 120, 3, 0.16);
}

.tour-gamestate-chip.is-unlock {
  background: rgba(239, 246, 255, 0.88);
  border-color: rgba(37, 99, 235, 0.14);
}

@keyframes tour-resource-pulse-gain {
  0% { transform: translateY(0) scale(1); box-shadow: 0 0 0 rgba(34, 197, 94, 0); }
  18% { transform: translateY(-2px) scale(1.015); box-shadow: 0 0 0 10px rgba(34, 197, 94, 0.08); }
  60% { transform: translateY(-1px) scale(1.005); box-shadow: 0 0 0 18px rgba(34, 197, 94, 0); }
  100% { transform: translateY(0) scale(1); box-shadow: 0 0 0 rgba(34, 197, 94, 0); }
}

@keyframes tour-resource-pulse-loss {
  0% { transform: translateY(0) scale(1); box-shadow: 0 0 0 rgba(239, 68, 68, 0); }
  18% { transform: translateY(-2px) scale(1.015); box-shadow: 0 0 0 10px rgba(239, 68, 68, 0.08); }
  60% { transform: translateY(-1px) scale(1.005); box-shadow: 0 0 0 18px rgba(239, 68, 68, 0); }
  100% { transform: translateY(0) scale(1); box-shadow: 0 0 0 rgba(239, 68, 68, 0); }
}

@keyframes tour-resource-badge-pop {
  0% { opacity: 0; transform: translateY(8px) scale(0.88); }
  18% { opacity: 1; transform: translateY(0) scale(1.02); }
  70% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.tour-shell-topbar {
  display: flex;
  gap: 12px;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 24px;
}

.tour-shell-menu-wrap {
  position: relative;
  z-index: 12;
  flex: 0 0 auto;
}

.tour-shell-menu-toggle {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: #1d2a36;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.08);
}

.tour-progress-bar,
.tour-progress-markers {
  min-width: 0;
  margin: 0;
  flex: 1 1 auto;
}

.tour-shell-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 14;
  min-width: 190px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.16);
  backdrop-filter: blur(14px);
}

.tour-shell-menu[hidden] {
  display: none;
}

.tour-shell-menu-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #1d2a36;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.tour-shell-menu-item:hover {
  background: rgba(17, 24, 39, 0.05);
}

.tour-shell-menu-shortcuts {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  padding: 10px 12px;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.tour-shortcuts-title {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(29, 42, 54, 0.54);
}

.tour-shortcuts-list {
  display: grid;
  gap: 6px;
}

.tour-shortcuts-list > div {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: rgba(29, 42, 54, 0.8);
}

.tour-shortcuts-list kbd {
  min-width: 52px;
  padding: 4px 7px;
  border-radius: 8px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 -1px 0 rgba(17, 24, 39, 0.06);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  color: #1d2a36;
}

.tour-experience-sidebar-backdrop {
  position: absolute;
  inset: 0;
  z-index: 9;
  background: rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.tour-experience-sidebar {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}

.tour-experience-sidebar[hidden],
.tour-experience-sidebar-backdrop[hidden] {
  display: none;
}

.tour-experience-sidebar-panel {
  pointer-events: auto;
  position: absolute;
  top: 16px;
  left: 16px;
  bottom: 16px;
  width: min(390px, calc(100% - 32px));
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.76)),
    color-mix(in srgb, var(--tour-shell-bg, #ffffff) 92%, rgba(230, 223, 211, 0.4) 8%);
  box-shadow: 0 28px 64px rgba(15, 23, 42, 0.2);
  backdrop-filter: blur(18px) saturate(1.05);
  -webkit-backdrop-filter: blur(18px) saturate(1.05);
  transform: translateX(-18px);
  opacity: 0;
  transition: transform 260ms ease, opacity 260ms ease;
  overflow: auto;
}

.tour-player-card.is-sidebar-open .tour-experience-sidebar-panel {
  transform: translateX(0);
  opacity: 1;
}

.tour-experience-sidebar-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.tour-experience-sidebar-kicker {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(29, 42, 54, 0.54);
}

.tour-experience-sidebar-title {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.15;
  color: #1d2a36;
}

.tour-experience-sidebar-close {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.76);
  color: #1d2a36;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.tour-experience-sidebar-meta {
  margin-top: -2px;
}

.tour-experience-sidebar-section,
.tour-experience-sidebar-section-grid {
  display: grid;
  gap: 10px;
}

.tour-experience-sidebar-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(29, 42, 54, 0.52);
}

.tour-experience-sidebar-section-grid {
  gap: 14px;
}

.tour-experience-sidebar-actions {
  display: grid;
  gap: 8px;
  padding-top: 4px;
}

.tour-experience-sidebar-actions .tour-shell-menu-item {
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.56);
  justify-content: center;
}

.tour-experience-sidebar-actions .tour-shell-menu-shortcuts {
  margin-top: 4px;
  padding: 12px 0 0;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.tour-experience-sidebar-resources {
  grid-template-columns: minmax(0, 1fr);
}

.tour-experience-sidebar .tour-gamestate-resource {
  grid-template-columns: minmax(84px, auto) 1fr auto;
  background: rgba(255, 255, 255, 0.72);
}

.tour-inline-discovery {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  max-width: 100%;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(236, 245, 229, 0.88);
  border: 1px solid rgba(58, 107, 52, 0.14);
  color: #386a35;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(76, 105, 54, 0.08);
}

.tour-inline-discovery i {
  font-size: 12px;
}

.tour-progress-bar {
  position: relative;
  height: 1px;
  width: 100%;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.08);
  overflow: hidden;
}

.tour-progress-bar span {
  display: block;
  height: 100%;
  background: var(--tour-primary, #1f5fae);
}

.tour-progress-markers {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: stretch;
  gap: 6px;
  margin-top: 0;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  scrollbar-width: none;
}

.tour-progress-markers::-webkit-scrollbar {
  display: none;
}

.tour-progress-marker {
  position: relative;
  display: block;
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  height: 8px;
  text-decoration: none;
}

.tour-progress-marker span {
  position: relative;
  display: block;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.18);
  background: rgba(255, 255, 255, 0.95);
  transition: background 160ms ease, border-color 160ms ease, opacity 160ms ease, box-shadow 160ms ease;
}

.tour-progress-marker.complete span,
.tour-progress-marker.active span {
  border-color: var(--tour-primary, #1f5fae);
  background: var(--tour-primary, #1f5fae);
}

.tour-progress-marker.active span {
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--tour-primary, #1f5fae) 16%, transparent 84%);
}

.tour-stage-body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  overflow-x: hidden;
}

.tour-stage-body.is-media-left {
  display: grid;
  grid-template-columns: minmax(260px, 45%) minmax(0, 1fr);
}

.tour-stage-body.is-media-right {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 45%);
}

.tour-stage-body.is-reflection-layout {
  display: grid;
  grid-template-rows: minmax(0, 1fr) minmax(160px, 30%);
}

.tour-stage-body:not(.is-media-left):not(.is-media-right):not(.is-reflection-layout):not(.is-hero-stage):not(.is-poster-stage) {
  gap: 14px;
}

.tour-stage-media {
  min-height: 0;
  position: relative;
  background-color: var(--tour-shell-bg, #ffffff);
  background-image: var(--tour-media-texture-image, none);
  background-size: auto;
  background-position: top left;
  background-repeat: repeat;
  border-right: 1px solid rgba(17, 24, 39, 0.08);
  overflow: hidden;
}

.tour-stage-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
}

.tour-stage-media.is-media-animating {
  animation-duration: 520ms;
  animation-fill-mode: both;
}

.tour-stage-media[data-media-animation="fade-in"].is-media-animating {
  animation-name: tourMediaFadeIn;
}

.tour-stage-media[data-media-animation="blur-in"].is-media-animating {
  animation-name: tourMediaBlurIn;
}

.tour-stage-media[data-media-animation="slide-left"].is-media-animating {
  animation-name: tourMediaSlideLeftIn;
}

.tour-stage-media[data-media-animation="slide-right"].is-media-animating {
  animation-name: tourMediaSlideRightIn;
}

.tour-stage-media[data-media-animation="slide-up"].is-media-animating {
  animation-name: tourMediaSlideUpIn;
}

.tour-stage-media[data-media-animation="slide-down"].is-media-animating {
  animation-name: tourMediaSlideDownIn;
}

.tour-stage-media[data-media-animation="zoom-in"].is-media-animating {
  animation-name: tourMediaZoomIn;
}

.tour-stage-body:not(.is-media-left):not(.is-media-right):not(.is-reflection-layout):not(.is-hero-stage):not(.is-poster-stage) .tour-stage-media {
  max-height: 150px;
  border-right: 0;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.tour-stage-body.is-media-right .tour-stage-media {
  order: 2;
  border-right: 0;
  border-left: 1px solid rgba(17, 24, 39, 0.08);
}

.tour-stage-body.is-media-right .tour-page-content {
  order: 1;
}

.tour-stage-body.is-reflection-layout .tour-stage-media {
  order: 2;
  max-height: none;
  border-right: 0;
  border-bottom: 0;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.tour-stage-body.is-reflection-layout .tour-page-content {
  order: 1;
}

.tour-stage-media.has-tour-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.08));
  pointer-events: none;
}

.tour-stage-media .tour-embed-wrap {
  margin-top: 0;
  height: 100%;
  position: relative;
  z-index: 1;
}

.tour-stage-media .tour-embed-wrap iframe {
  min-height: 100%;
  height: 100%;
}

.tour-hero-image,
.tour-page-image {
  width: 100%;
  max-height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 320ms ease, transform 520ms ease;
}

.tour-media-image-surface {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-color: rgba(10, 18, 31, 0.06);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.tour-media-image-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: inherit;
  background-position: inherit;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.tour-media-image-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.tour-promo-hero {
  width: 100%;
  max-height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1;
  transform: none;
}

.tour-hero-image.is-loaded,
.tour-page-image.is-loaded,
.tour-media-image-surface.is-loaded {
  opacity: 1;
  transform: scale(1);
}

.tour-media-image-surface.is-loaded::before,
.tour-media-image-surface.is-loaded::after {
  opacity: 1;
}

.tour-media-attachment-fixed {
  background-attachment: fixed;
}

.tour-media-attachment-parallax {
  background-attachment: scroll;
  will-change: background-position;
}

.tour-stage-body.is-media-left .tour-hero-image,
.tour-stage-body.is-media-left .tour-page-image {
  height: 100%;
  position: relative;
  z-index: 1;
}

.tour-stage-body:not(.is-media-left):not(.is-media-right):not(.is-reflection-layout):not(.is-hero-stage):not(.is-poster-stage) .tour-hero-image,
.tour-stage-body:not(.is-media-left):not(.is-media-right):not(.is-reflection-layout):not(.is-hero-stage):not(.is-poster-stage) .tour-page-image {
  height: 150px;
  position: relative;
  z-index: 1;
}

.tour-stage-body.is-media-right .tour-hero-image,
.tour-stage-body.is-media-right .tour-page-image,
.tour-stage-body.is-reflection-layout .tour-hero-image,
.tour-stage-body.is-reflection-layout .tour-page-image {
  height: 100%;
}

.tour-page-content {
  position: relative;
  padding: 22px;
  font-family: var(--tour-font-body, var(--tour-font, var(--font-body)));
  font-size: var(--tour-body-font-size, 18px);
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  isolation: isolate;
  scrollbar-gutter: stable;
}

.tour-page-content h1,
.tour-page-content h2,
.tour-page-content h3,
.tour-page-content h4,
.tour-page-content h5,
.tour-page-content h6,
.tour-overview-panel h1,
.tour-overview-panel h2,
.tour-overview-panel h3,
.tour-overview-panel h4,
.tour-overview-panel h5,
.tour-overview-panel h6,
.tour-overview-title {
  font-family: var(--tour-font-headings, var(--font-headings));
}

.tour-overview-copy,
.tour-overview-copy .rich-text,
.tour-overview-copy p,
.tour-overview-panel {
  font-family: var(--tour-font-body, var(--tour-font, var(--font-body)));
  font-size: var(--tour-body-font-size, 18px);
}

.tour-layout-reminder {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  max-width: 100%;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 247, 237, 0.94);
  border: 1px solid rgba(194, 120, 3, 0.16);
  color: #9a3412;
  font-size: 13px;
  font-weight: 700;
}

.tour-scripture-callout {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--tour-primary, #1f5fae);
  border-radius: 14px;
  color: var(--tour-primary, #1f5fae);
  background: color-mix(in srgb, var(--tour-primary, #1f5fae) 7%, #ffffff 93%);
}

.tour-page-content > *,
.tour-overview-panel > * {
  position: relative;
  z-index: 1;
}

.tour-page-content::before,
.tour-page-content::after,
.tour-overview-panel::before,
.tour-overview-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
}

.tour-layout-poster.is-overview-poster .tour-stage-media {
  min-height: 0;
  border-right: 0;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.tour-layout-poster.is-overview-poster .tour-stage-body {
  position: relative;
  display: block;
  height: 100%;
}

.tour-layout-poster.is-overview-poster .tour-stage-media,
.tour-layout-poster.is-overview-poster .tour-hero-image,
.tour-layout-poster.is-overview-poster .tour-page-image {
  height: 100%;
}

.tour-layout-poster.is-overview-poster .tour-page-content {
  position: absolute;
  left: clamp(16px, 3vw, 28px);
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 3;
  max-width: min(640px, calc(100% - 32px));
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.46);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.18);
  overflow: visible;
}

.tour-layout-poster.is-overview-poster .tour-page-content .rich-text {
  max-width: none;
}

.tour-layout-poster.is-overview-poster .tour-page-content h2 {
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 0.95;
  color: #fff;
  text-shadow: 0 12px 32px rgba(0, 0, 0, 0.34);
}

.tour-layout-poster.is-overview-poster .tour-overview-intro,
.tour-layout-poster.is-overview-poster .tour-page-content > .rich-text:last-of-type {
  color: #102030;
}

.tour-overview-stage {
  position: relative;
  height: 100%;
  min-height: 0;
  display: block;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  background: color-mix(in srgb, var(--tour-shell-bg, #ffffff) 94%, rgba(255, 255, 255, 0.06) 6%);
}

.tour-overview-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.08) 42%, rgba(255, 255, 255, 0.18) 100%),
    var(--tour-overview-hero-image, none);
  background-position: center bottom, center top;
  background-repeat: no-repeat;
  background-size: auto, cover;
  filter: blur(22px) saturate(1.08);
  transform: scale(1.08);
  opacity: 0.72;
  pointer-events: none;
}

.tour-overview-hero {
  position: relative;
  height: 100%;
  min-height: 0;
  background: var(--tour-shell-bg, #ffffff);
  overflow: hidden;
  border-bottom: 0;
}

.tour-overview-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(10, 18, 31, 0.08) 0%, rgba(10, 18, 31, 0.04) 32%, rgba(10, 18, 31, 0.26) 100%),
    radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.14), transparent 40%);
  pointer-events: none;
}

.tour-overview-hero .tour-hero-image,
.tour-overview-hero .tour-page-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  opacity: 0;
  filter: blur(20px);
  transform: scale(1.04);
  animation: tourOverviewHeroReveal 1500ms ease-out forwards;
}

.tour-overview-stage .tour-stage-atmosphere {
  z-index: 3;
}

.tour-overview-panel {
  position: absolute;
  z-index: 4;
  width: 100%;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  padding: clamp(24px, 2.5vw, 36px) clamp(24px, 3vw, 42px) clamp(28px, 3vw, 40px);
  border-radius: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.54));
  backdrop-filter: blur(22px) saturate(1.04);
  -webkit-backdrop-filter: blur(22px) saturate(1.04);
  box-shadow: none;
  opacity: 0;
  transform: translateY(28px);
  animation: tourOverviewPanelLift 1200ms cubic-bezier(0.2, 0.8, 0.2, 1) 180ms forwards;
}

.tour-overview-title {
  margin: 0;
  color: #1d2a36;
  font-size: clamp(1.5rem, 2.45vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92),
    0 2px 0 rgba(229, 231, 235, 0.75),
    0 10px 24px rgba(17, 24, 39, 0.08);
  text-wrap: balance;
  max-width: 78ch;
}

.tour-overview-copy {
  color: #233243;
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  line-height: 1.65;
  max-width: 78ch;
  margin-inline: auto;
}

.tour-overview-copy .rich-text,
.tour-overview-copy p {
  max-width: none;
}

.tour-overview-copy > :first-child {
  margin-top: 0;
}

.tour-overview-copy > :last-child {
  margin-bottom: 0;
}

.tour-overview-cta {
  align-self: center;
  min-width: 220px;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.14);
}

@keyframes tourOverviewHeroReveal {
  0% {
    opacity: 0;
    filter: blur(20px);
    transform: scale(1.04);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
}

@keyframes tourOverviewPanelLift {
  0% {
    opacity: 0;
    transform: translateY(28px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.tour-overview-stage[data-tour-atmosphere="storm"] .tour-stage-atmosphere,
.tour-overview-stage[data-tour-atmosphere="storm"] .tour-overview-hero .tour-stage-atmosphere {
  opacity: 1;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.18), transparent 22%),
    linear-gradient(180deg, rgba(10, 16, 28, 0.18), rgba(10, 16, 28, 0.48));
  animation: tourStormPulse 7s linear infinite;
}

.tour-overview-stage[data-tour-atmosphere="storm"] .tour-stage-atmosphere::before,
.tour-overview-stage[data-tour-atmosphere="storm"] .tour-stage-atmosphere::after {
  content: "";
  position: absolute;
  inset: -10% auto auto 8%;
  width: 42%;
  height: 140%;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 8%, rgba(255,255,255,0) 18%);
  filter: blur(4px);
  opacity: 0;
  transform: skewX(-18deg);
  animation: tourLightningFlash 7s linear infinite;
}

.tour-overview-stage[data-tour-atmosphere="storm"] .tour-stage-atmosphere::after {
  left: auto;
  right: 12%;
  width: 28%;
  animation-delay: 3.4s;
}

.tour-overview-stage[data-tour-atmosphere="sun-glow"] .tour-stage-atmosphere,
.tour-overview-stage[data-tour-atmosphere="sun-glow"] .tour-overview-hero .tour-stage-atmosphere {
  opacity: 1;
  background:
    radial-gradient(circle at 78% 16%, rgba(255, 227, 142, 0.42), transparent 22%),
    linear-gradient(180deg, rgba(255, 241, 214, 0.03), rgba(255, 228, 170, 0.1));
  animation: tourSunGlowPulse 11s ease-in-out infinite;
}

.tour-stage-body[data-tour-atmosphere="storm"] .tour-page-content,
.tour-overview-stage[data-tour-atmosphere="storm"] .tour-overview-panel {
  background: linear-gradient(180deg, rgba(242, 246, 251, 0.42), rgba(242, 246, 251, 0.58));
}

.tour-stage-body[data-tour-atmosphere="storm"] .tour-page-content::before,
.tour-overview-stage[data-tour-atmosphere="storm"] .tour-overview-panel::before {
  opacity: 1;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.14), transparent 16%),
    radial-gradient(circle at 78% 24%, rgba(148, 163, 184, 0.18), transparent 18%),
    linear-gradient(180deg, rgba(8, 14, 24, 0.1), rgba(8, 14, 24, 0.22));
}

.tour-stage-body[data-tour-atmosphere="storm"] .tour-page-content::after,
.tour-overview-stage[data-tour-atmosphere="storm"] .tour-overview-panel::after {
  opacity: 1;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0) 34%, rgba(255, 255, 255, 0.18) 44%, rgba(255, 255, 255, 0) 54%);
  filter: blur(8px);
  transform: translateX(-22%);
  animation: tourStormPulse 8s linear infinite;
}

.tour-stage-body[data-tour-atmosphere="sun-glow"] .tour-page-content,
.tour-overview-stage[data-tour-atmosphere="sun-glow"] .tour-overview-panel {
  background: linear-gradient(180deg, rgba(255, 249, 238, 0.42), rgba(255, 249, 238, 0.6));
}

.tour-stage-body[data-tour-atmosphere="sun-glow"] .tour-page-content::before,
.tour-overview-stage[data-tour-atmosphere="sun-glow"] .tour-overview-panel::before {
  opacity: 1;
  background:
    radial-gradient(circle at 76% 16%, rgba(255, 230, 162, 0.24), transparent 18%),
    radial-gradient(circle at 16% 24%, rgba(255, 244, 214, 0.18), transparent 14%),
    linear-gradient(180deg, rgba(255, 249, 238, 0.02), rgba(255, 239, 204, 0.12));
}

.tour-stage-body[data-tour-atmosphere="sun-glow"] .tour-page-content::after,
.tour-overview-stage[data-tour-atmosphere="sun-glow"] .tour-overview-panel::after {
  opacity: 1;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 245, 214, 0.34), transparent 0 10%),
    radial-gradient(circle at 34% 34%, rgba(255, 228, 166, 0.3), transparent 0 8%),
    radial-gradient(circle at 68% 22%, rgba(255, 240, 205, 0.28), transparent 0 11%),
    radial-gradient(circle at 82% 46%, rgba(255, 229, 168, 0.26), transparent 0 9%),
    radial-gradient(circle at 56% 62%, rgba(255, 245, 221, 0.24), transparent 0 12%);
  filter: blur(18px) saturate(1.05);
  transform: scale(1.04);
  animation: tourSunGlowDrift 15s ease-in-out infinite;
}

.tour-stage-media[data-tour-atmosphere="storm"] .tour-stage-atmosphere {
  opacity: 1;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.18), transparent 22%),
    linear-gradient(180deg, rgba(10, 16, 28, 0.22), rgba(10, 16, 28, 0.52));
  animation: tourStormPulse 7s linear infinite;
}

.tour-stage-media[data-tour-atmosphere="storm"] .tour-stage-atmosphere::before,
.tour-stage-media[data-tour-atmosphere="storm"] .tour-stage-atmosphere::after {
  content: "";
  position: absolute;
  inset: -10% auto auto 8%;
  width: 42%;
  height: 140%;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 8%, rgba(255,255,255,0) 18%);
  filter: blur(4px);
  opacity: 0;
  transform: skewX(-18deg);
  animation: tourLightningFlash 7s linear infinite;
}

.tour-stage-media[data-tour-atmosphere="storm"] .tour-stage-atmosphere::after {
  left: auto;
  right: 12%;
  width: 28%;
  animation-delay: 3.4s;
}

.tour-stage-media[data-tour-atmosphere="sun-glow"] .tour-stage-atmosphere {
  opacity: 1;
  background:
    radial-gradient(circle at 78% 16%, rgba(255, 227, 142, 0.44), transparent 22%),
    linear-gradient(180deg, rgba(255, 241, 214, 0.06), rgba(255, 228, 170, 0.12));
  animation: tourSunGlowPulse 11s ease-in-out infinite;
}

.tour-page-content h2 {
  color: var(--tour-primary, #1f5fae);
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 2.35rem);
  line-height: 1.14;
}

.tour-promos-shortcode {
  display: grid;
  gap: 14px;
}

.tour-promos-intro > *:first-child {
  margin-top: 0;
}

.tour-promos-intro > *:last-child {
  margin-bottom: 0;
}

.tour-promos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.tour-promos-card {
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 18px;
  background: var(--surface, #ffffff);
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.08);
}

.tour-promos-card-link {
  display: grid;
  color: inherit;
  text-decoration: none;
}

.tour-promos-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: color-mix(in srgb, var(--bg-b, #dce6ef) 52%, #ffffff 48%);
}

.tour-promos-card-media img,
.tour-promos-card-media .tour-promos-card-hero {
  width: 100%;
  height: 100%;
  display: block;
}

.tour-promos-card-copy {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.tour-promos-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--tour-primary, #1f5fae) 68%, #5a6777 32%);
}

.tour-promos-card-copy h3 {
  margin: 0;
  color: var(--heading, #1f5fae);
  font-size: clamp(1.15rem, 1.2vw, 1.45rem);
  line-height: 1.12;
}

.tour-promos-card-title-link {
  color: inherit;
  text-decoration: none;
}

.tour-promos-card-copy p {
  margin: 0;
  color: #425164;
  line-height: 1.55;
}

.tour-promos-card-cta {
  justify-self: start;
}

.tour-promos-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tour-promos-card-cta-primary {
  background: color-mix(in srgb, var(--tour-primary, #1f5fae) 14%, #ffffff 86%);
}


.tour-page-meta,
.tour-promo-card .tour-promo-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: flex-start;
  gap: 6px;
  margin-bottom: 0;
  flex: 0 0 auto;
}

.tour-promo-card .tour-promo-media {
  display: block;
  height: 45vh;
  margin: calc(var(--content-card-padding, 18px) * -1) calc(var(--content-card-padding, 18px) * -1) 30px;
  padding: 0;
  background: #050608;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.tour-promo-card .tour-promo-media-pane {
  width: 100%;
  height: 100%;
  background: #000;
  overflow: hidden;
}

.tour-promo-card .tour-promo-media-pane-image {
  display: block;
  position: relative;
}

.tour-promo-card .tour-promo-hero {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 5;
}

.tour-promo-card .tour-promo-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 6, 8, 0.14) 0%, rgba(5, 6, 8, 0.58) 68%, rgba(5, 6, 8, 0.82) 100%);
  pointer-events: none;
}

.tour-promo-card .tour-promo-media-copy {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.tour-promo-card .tour-promo-media-title {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 4.2vw, 52px);
  line-height: 0.95;
  text-wrap: balance;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
}

.tour-promo-card .tour-promo-preview-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 4px;
  background: rgba(17, 24, 39, 0.78);
  color: #fff;
  font-weight: 700;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.tour-promo-card .tour-promo-preview-actions {
  margin-top: 6px;
}

.tour-promo-card .tour-promo-body {
  padding: 0;
}

.tour-promo-card .tour-promo-access,
.tour-promo-card .tour-promo-support {
  margin-top: 16px;
}

.tour-promo-card .tour-promo-access {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(17, 24, 39, 0.08);
}

.tour-promo-card .tour-promo-support {
  padding: 0;
  border: 0;
  background: transparent;
}

.tour-promo-card .tour-promo-support .tour-donations {
  margin-top: 0;
}

.tour-video-modal-card {
  width: min(1200px, calc(100vw - 28px));
  height: min(82vh, calc(100vw * 0.5625));
  max-height: calc(100vh - 28px);
  background: #050608;
  padding: 0;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  position: relative;
}

.tour-video-modal-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.tour-video-modal-card .gallery-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  left: auto;
  z-index: 2;
}

.tour-promo-card .tour-promo-access-label {
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tour-primary, #1f5fae);
}

.tour-promo-card .tour-promo-sessions .compact-field {
  margin-bottom: 10px;
}

.tour-promo-card .tour-promo-session-details {
  display: grid;
  gap: 8px;
}

.tour-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(31, 95, 174, 0.1);
  color: var(--tour-primary, #1f5fae);
  font-family: var(--font-secondary);
  font-size: 10px;
  font-weight: 700;
}

.tour-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tour-edit-link {
  gap: 8px;
  text-decoration: none;
}

.tour-actions,
.tour-promo-card .tour-promo-actions,
.tour-donations {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  align-items: flex-start;
}

.tour-promo-youtube-live-btn {
  background: linear-gradient(135deg, #ff2b2b, #b31217);
}

.tour-donations {
  background: color-mix(in srgb, var(--tour-donation-surface, #ffffff) 92%, #eef4ff 8%);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 4px;
  padding: 14px 16px;
}

.tour-donations h2 {
  width: 100%;
  margin: 0 0 6px;
}

.tour-donations-stacked {
  display: grid;
}

.tour-donation-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 4px;
  background: var(--tour-donation-bg, #0d8a7b);
  color: var(--tour-donation-text, #ffffff);
  font-weight: 800;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.tour-donations-stacked .tour-donation-btn {
  width: 100%;
}

.tour-inline-actions {
  margin-top: 8px;
  padding-top: 0;
}

.tour-choice {
  background: var(--tour-primary, #1f5fae);
  border-radius: 12px;
  min-height: 0;
  padding: 12px 14px;
}

.tour-choice:hover {
  filter: brightness(0.96);
}

.tour-feedback-overlay {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  pointer-events: none;
}

.tour-feedback-card {
  position: relative;
  width: min(260px, calc(100% - 32px));
  aspect-ratio: 1 / 1;
  padding: 22px 20px 18px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  pointer-events: auto;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tour-feedback-card.is-correct {
  border-color: rgba(13, 138, 123, 0.24);
  background: color-mix(in srgb, var(--tour-feedback-correct-bg, #f4fbf7) 72%, rgba(255, 255, 255, 0.28) 28%);
  color: var(--tour-feedback-correct-text, #166534);
  overflow: hidden;
  box-shadow:
    0 24px 60px rgba(17, 24, 39, 0.18),
    0 0 0 1px rgba(13, 138, 123, 0.08),
    0 0 40px rgba(13, 138, 123, 0.14);
}

.tour-feedback-card.is-incorrect {
  border-color: rgba(183, 65, 14, 0.24);
  background: color-mix(in srgb, var(--tour-feedback-incorrect-bg, #fff7f2) 72%, rgba(255, 255, 255, 0.28) 28%);
  color: var(--tour-feedback-incorrect-text, #9a3412);
}

.tour-feedback-message {
  margin: 0;
  color: #1d2a36;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  position: relative;
  z-index: 1;
  max-width: 14ch;
}

.tour-feedback-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 0;
  background: rgba(17, 24, 39, 0.08);
  color: #1d2a36;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.tour-feedback-close[hidden] {
  display: none;
}

.tour-feedback-progress {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  height: 3px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(17, 24, 39, 0.08);
}

.tour-feedback-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--tour-primary, #1f5fae);
}

.tour-feedback-celebration {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.tour-feedback-celebration::before,
.tour-feedback-celebration::after {
  content: "";
  position: absolute;
  inset: auto 50% 18%;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  transform: translateX(-50%) scale(0.2);
  opacity: 0;
}

.tour-feedback-celebration::before {
  background:
    radial-gradient(circle, rgba(13, 138, 123, 0.2) 0 18%, transparent 19%),
    radial-gradient(circle, rgba(31, 95, 174, 0.16) 0 10%, transparent 11%),
    radial-gradient(circle, rgba(255, 255, 255, 0.42) 0 6%, transparent 7%);
  animation: tourFeedbackHalo var(--tour-feedback-celebration-ms, 1800ms) ease-out forwards;
}

.tour-feedback-celebration::after {
  border: 2px solid rgba(13, 138, 123, 0.22);
  animation: tourFeedbackRing var(--tour-feedback-celebration-ms, 1800ms) ease-out forwards;
}

.tour-feedback-celebration span {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  opacity: 0;
  background: var(--tour-primary, #1f5fae);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.32);
  animation: tourFeedbackCelebrate var(--tour-feedback-celebration-ms, 1800ms) cubic-bezier(.21,.81,.24,.99) forwards;
}

.tour-feedback-celebration span:nth-child(1) { left: 14%; top: 64%; animation-delay: 0ms; background: #0d8a7b; }
.tour-feedback-celebration span:nth-child(2) { left: 26%; top: 30%; animation-delay: 120ms; background: #1f5fae; }
.tour-feedback-celebration span:nth-child(3) { left: 44%; top: 72%; animation-delay: 60ms; background: #f59e0b; }
.tour-feedback-celebration span:nth-child(4) { left: 61%; top: 24%; animation-delay: 170ms; background: #ef4444; }
.tour-feedback-celebration span:nth-child(5) { left: 76%; top: 60%; animation-delay: 90ms; background: #8b5cf6; }
.tour-feedback-celebration span:nth-child(6) { left: 54%; top: 42%; animation-delay: 210ms; background: #10b981; }

.tour-audio-shell {
  display: none;
}

.tour-audio-replay-fab {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 9;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  color: color-mix(in srgb, var(--tour-primary, #1f5fae) 78%, #12202b 22%);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, opacity 180ms ease;
}

.tour-audio-replay-fab:hover,
.tour-audio-replay-fab:focus-visible {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.22);
  background: rgba(255, 255, 255, 0.98);
  outline: none;
}

.tour-audio-replay-fab:disabled {
  opacity: 0.55;
  cursor: default;
  transform: none;
}

.tour-audio-replay-fab i {
  font-size: 16px;
}

@media (max-width: 700px) {
  .tour-audio-replay-fab {
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
  }
}

.tour-embed-wrap {
  margin-top: 16px;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.tour-embed-wrap iframe {
  display: block;
  width: 100%;
  min-height: 320px;
  border: 0;
}

.tour-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.tour-gallery-grid .gallery-item {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.tour-gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
}

.tour-zoom-box {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid #d7dee5;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.7);
}

.tour-not-found {
  max-width: 720px;
  margin: 40px auto 0;
}

.tour-layout-split .tour-page-content {
  display: grid;
  gap: 14px;
}

.tour-layout-gallery .tour-page-content {
  display: grid;
  gap: 14px;
}

.tour-layout-hero .tour-page-content {
  gap: 12px;
  justify-content: center;
}

.tour-layout-hero .tour-page-content .rich-text {
  max-width: 34rem;
}

.tour-layout-question .tour-page-content {
  background: linear-gradient(180deg, rgba(31,95,174,0.06), transparent);
  justify-content: flex-start;
}

.tour-layout-question .tour-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 4px;
}

.tour-question-actions {
  padding-top: 0;
}

.tour-actions.tour-question-actions .tour-choice {
  width: 100%;
  text-align: left;
}

.tour-layout-question .tour-page-content h2 {
  font-size: clamp(1.25rem, 1.5vw, 2rem);
  line-height: 1.1;
}

.tour-layout-question .tour-page-content .rich-text {
  font-size: 0.96rem;
}

.tour-layout-question .tour-choice {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
  padding: 10px 13px;
  min-height: 0;
  font-size: 0.92rem;
  line-height: 1.35;
  border-radius: 10px;
}

.tour-question-actions .tour-choice {
  transition: opacity 180ms ease, transform 180ms ease, filter 180ms ease, background-color 180ms ease;
}

.tour-question-actions .tour-choice.is-correct {
  background: #178553;
}

.tour-question-actions .tour-choice.is-faded {
  opacity: 0.24;
  transform: scale(0.985);
  filter: saturate(0.35);
}

.tour-layout-reflection .tour-page-content {
  background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(247,244,235,0.8));
}

.tour-stage-body.is-story-stage {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 244, 235, 0.9));
}

.tour-layout-story .tour-page-content {
  width: 100%;
  max-width: 70ch;
  margin: 0 auto;
  gap: 16px;
  justify-content: center;
  padding-top: 32px;
  padding-bottom: 30px;
}

.tour-layout-story .tour-page-content .rich-text {
  max-width: none;
}

.tour-stage-body.is-hero-stage {
  display: block;
  height: 100%;
}

.tour-stage-body.is-hero-stage .tour-stage-media {
  position: absolute;
  inset: 0;
  max-height: none;
  border: 0;
}

.tour-stage-body.is-hero-stage .tour-hero-image,
.tour-stage-body.is-hero-stage .tour-page-image {
  height: 100%;
}

.tour-stage-body.is-hero-stage .tour-stage-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 12, 20, 0.08) 0%, rgba(8, 12, 20, 0.18) 38%, rgba(8, 12, 20, 0.62) 100%),
    radial-gradient(circle at top, rgba(255, 255, 255, 0.14), transparent 36%);
  pointer-events: none;
  z-index: 2;
}

.tour-stage-body.is-hero-stage .tour-page-content {
  position: relative;
  z-index: 3;
  height: 100%;
  justify-content: flex-end;
  gap: 14px;
  padding: clamp(24px, 3vw, 34px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 10%, rgba(8, 12, 20, 0.12) 38%, rgba(8, 12, 20, 0.42) 100%);
}

.tour-layout-hero .tour-stage-body.is-hero-stage .tour-page-content h2,
.tour-layout-hero .tour-stage-body.is-hero-stage .tour-page-content .tour-badge,
.tour-layout-hero .tour-stage-body.is-hero-stage .tour-page-content .tour-inline-discovery {
  color: #fff;
}

.tour-layout-hero .tour-stage-body.is-hero-stage .tour-page-content .tour-badge,
.tour-layout-hero .tour-stage-body.is-hero-stage .tour-page-content .tour-edit-link {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
  backdrop-filter: blur(10px);
}

.tour-layout-hero .tour-stage-body.is-hero-stage .tour-page-content .rich-text,
.tour-layout-hero .tour-stage-body.is-hero-stage .tour-page-content .rich-text p,
.tour-layout-hero .tour-stage-body.is-hero-stage .tour-page-content .rich-text li {
  color: rgba(255, 255, 255, 0.92);
  max-width: 46rem;
}

.tour-layout-hero .tour-stage-body.is-hero-stage .tour-page-content h2 {
  font-size: clamp(2rem, 4.6vw, 4.2rem);
  line-height: 0.96;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
}

.tour-stage-body.is-poster-stage {
  display: grid;
  grid-template-rows: minmax(220px, 46%) minmax(0, 1fr);
}

.tour-stage-body.is-poster-stage .tour-stage-media {
  max-height: none;
  border-right: 0;
  border-bottom: 0;
}

.tour-stage-body.is-poster-stage .tour-hero-image,
.tour-stage-body.is-poster-stage .tour-page-image {
  height: 100%;
}

.tour-stage-body.is-poster-stage .tour-page-content {
  margin: -42px 18px 18px;
  min-height: calc(100% - 18px);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.7));
  backdrop-filter: blur(16px) saturate(1.04);
  -webkit-backdrop-filter: blur(16px) saturate(1.04);
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.tour-restart-link {
  color: #5a6777;
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 2px;
  opacity: 0.82;
}

.tour-shell-side-nav {
  position: absolute;
  top: 50%;
  left: -18px;
  right: -18px;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  transform: translateY(-50%);
}

.tour-side-arrow {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  background: rgba(255, 255, 255, 0.88);
  color: #1d2a36;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.12);
}

.tour-side-arrow-left {
  margin-right: auto;
}

.tour-side-arrow-right {
  margin-left: auto;
}

.tour-side-arrow:hover {
  background: rgba(255, 255, 255, 0.98);
}

.tour-player-card.is-animating {
  animation-duration: 360ms;
  animation-fill-mode: both;
}

.tour-player-card[data-runtime-animation="fade"].is-animating {
  animation-name: tourFadeIn;
}

.tour-player-card[data-runtime-animation="slide-up"].is-animating {
  animation-name: tourSlideUpIn;
}

.tour-player-card[data-runtime-animation="slide-right"].is-animating {
  animation-name: tourSlideRightIn;
}

.tour-player-card[data-runtime-animation="scale-in"].is-animating {
  animation-name: tourScaleIn;
}

.tour-player-card[data-runtime-animation="swing-in"].is-animating {
  animation-name: tourSwingIn;
}

.tour-player-card[data-runtime-animation="blur-in"].is-animating {
  animation-name: tourBlurIn;
}

.tour-player-card[data-runtime-animation="stack-flip"].is-animating {
  animation-name: tourStackFlipIn;
}

.tour-player-card[data-runtime-animation="drop-center"].is-animating {
  animation-name: tourDropCenterIn;
}

@keyframes tourFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes tourSlideUpIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes tourSlideRightIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes tourScaleIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes tourSwingIn {
  0% { opacity: 0; transform: rotateX(-70deg); transform-origin: top center; }
  100% { opacity: 1; transform: rotateX(0deg); transform-origin: top center; }
}

@keyframes tourBlurIn {
  0% { opacity: 0; filter: blur(14px); transform: scale(1.02); }
  100% { opacity: 1; filter: blur(0); transform: scale(1); }
}

@keyframes tourStackFlipIn {
  0% { opacity: 0; transform: perspective(1200px) rotateX(-16deg) translateY(26px) scale(0.97); transform-origin: top center; }
  100% { opacity: 1; transform: perspective(1200px) rotateX(0deg) translateY(0) scale(1); transform-origin: top center; }
}

@keyframes tourDropCenterIn {
  0% { opacity: 0; transform: translateY(-28px) scale(0.94); filter: blur(8px); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes tourMediaFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes tourMediaBlurIn {
  from { opacity: 0; filter: blur(18px); transform: scale(1.03); }
  to { opacity: 1; filter: blur(0); transform: scale(1); }
}

@keyframes tourMediaSlideLeftIn {
  from { opacity: 0; transform: translateX(-28px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes tourMediaSlideRightIn {
  from { opacity: 0; transform: translateX(28px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes tourMediaSlideUpIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes tourMediaSlideDownIn {
  from { opacity: 0; transform: translateY(-24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes tourMediaZoomIn {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes tourStormPulse {
  0%, 100% { filter: brightness(0.94) saturate(1); }
  26% { filter: brightness(0.88) saturate(1.02); }
  34% { filter: brightness(1.04) saturate(1.05); }
  66% { filter: brightness(0.9) saturate(0.98); }
  74% { filter: brightness(1.08) saturate(1.04); }
}

@keyframes tourLightningFlash {
  0%, 12%, 100% { opacity: 0; }
  13% { opacity: 0.9; }
  14% { opacity: 0.18; }
  15% { opacity: 1; }
  17% { opacity: 0.08; }
  18% { opacity: 0.76; }
  21% { opacity: 0; }
  58% { opacity: 0; }
  59% { opacity: 0.64; }
  60% { opacity: 0.1; }
  61% { opacity: 0.88; }
  64% { opacity: 0; }
}

@keyframes tourSunGlowPulse {
  0%, 100% {
    opacity: 0.96;
    transform: scale(1) translate3d(0, 0, 0);
    filter: blur(26px) saturate(1.02);
  }
  50% {
    opacity: 1;
    transform: scale(1.08) translate3d(14px, -12px, 0);
    filter: blur(34px) saturate(1.14);
  }
}

@keyframes tourSunGlowDrift {
  0%, 100% {
    opacity: 0.84;
    transform: translate3d(0, 0, 0) scale(1);
  }
  33% {
    opacity: 1;
    transform: translate3d(18px, -10px, 0) scale(1.09);
  }
  66% {
    opacity: 0.88;
    transform: translate3d(-14px, 12px, 0) scale(0.97);
  }
}

@keyframes tourFeedbackCelebrate {
  0% { opacity: 0; transform: translate3d(0, 0, 0) scale(0.2) rotate(0deg); }
  12% { opacity: 1; transform: translate3d(0, -6px, 0) scale(1) rotate(18deg); }
  72% { opacity: 1; transform: translate3d(0, -18px, 0) scale(0.96) rotate(160deg); }
  100% { opacity: 0; transform: translate3d(0, -58px, 0) scale(0.46) rotate(240deg); }
}

@keyframes tourFeedbackHalo {
  0% { opacity: 0; transform: translateX(-50%) scale(0.2); }
  18% { opacity: 0.92; transform: translateX(-50%) scale(0.9); }
  68% { opacity: 0.55; transform: translateX(-50%) scale(1.1); }
  100% { opacity: 0; transform: translateX(-50%) scale(1.22); }
}

@keyframes tourFeedbackRing {
  0% { opacity: 0; transform: translateX(-50%) scale(0.28); }
  15% { opacity: 0.72; transform: translateX(-50%) scale(0.72); }
  80% { opacity: 0.36; transform: translateX(-50%) scale(1.02); }
  100% { opacity: 0; transform: translateX(-50%) scale(1.18); }
}

.tour-video-wrap {
  height: 100%;
}

.tour-video-frame {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

@media (max-width: 900px) {
  .tour-stage-media .tour-media-image-surface,
  .tour-overview-hero .tour-media-image-surface,
  .tour-stage-body.is-hero-stage .tour-media-image-surface,
  .tour-stage-body.is-poster-stage .tour-media-image-surface {
    background-size: contain !important;
    background-position: center center !important;
    background-color: rgba(10, 18, 31, 0.18);
  }

  .tour-stage-media .tour-media-image-surface::before,
  .tour-overview-hero .tour-media-image-surface::before,
  .tour-stage-body.is-hero-stage .tour-media-image-surface::before,
  .tour-stage-body.is-poster-stage .tour-media-image-surface::before {
    opacity: 1;
    background-image: inherit;
    background-size: cover;
    background-position: inherit;
    filter: blur(24px) saturate(1.02);
    transform: scale(1.08);
  }

  .tour-stage-media .tour-media-image-surface::after,
  .tour-overview-hero .tour-media-image-surface::after,
  .tour-stage-body.is-hero-stage .tour-media-image-surface::after,
  .tour-stage-body.is-poster-stage .tour-media-image-surface::after {
    opacity: 1;
    background-image: inherit;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
  }

  .tour-page-wrap,
  .tour-player-shell,
  .tour-experience-screen {
    width: 100%;
    padding-top: 0;
  }

  .tour-shell.immersive .tour-experience-screen {
    width: 100%;
    min-height: 100svh;
    padding: 0;
    align-content: start;
  }

  .tour-shell.immersive .tour-player-shell {
    width: 100%;
    max-width: none;
    min-height: 100svh;
    gap: 0;
  }

  .tour-player-card {
    min-height: 100svh;
    height: 100svh;
    border-radius: 0;
  }

  .tour-player-shell.is-card-stack::before {
    transform: translateY(-10px);
    opacity: 0.62;
  }

  .tour-player-shell.is-card-stack::after {
    transform: translateY(-20px);
    opacity: 0.4;
  }

  .tour-shell-top {
    min-height: 36px;
    padding: 6px 10px;
  }

  .tour-shell-topbar {
    gap: 10px;
  }

  .tour-experience-sidebar-panel {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    padding: 18px;
    border-radius: 0;
  }

  .tour-stage-body.is-media-left {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 32dvh) minmax(0, 1fr);
  }

  .tour-stage-body.is-media-right {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 32dvh) minmax(0, 1fr);
  }

  .tour-stage-body.is-media-right .tour-stage-media {
    order: 1;
    border-left: 0;
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  }

  .tour-stage-body.is-media-right .tour-page-content {
    order: 2;
  }

  .tour-stage-body.is-reflection-layout {
    grid-template-rows: minmax(0, 1fr) minmax(0, 28dvh);
  }

  .tour-stage-body {
    flex: 1 1 auto;
    min-height: 0;
  }

  .tour-promo-card .tour-promo-media {
    height: auto;
    margin: calc(var(--content-card-padding, 18px) * -1) calc(var(--content-card-padding, 18px) * -1) 22px;
    padding: 0;
  }

  .tour-promo-card .tour-promo-media-pane-image {
    min-height: 0;
  }

  .tour-promo-card .tour-promo-media-copy {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .tour-promo-card .tour-promo-media-title {
    font-size: clamp(22px, 8vw, 34px);
  }


  .tour-stage-media {
    min-height: 0;
    max-height: none;
    border-right: 0;
    border-bottom: 0;
  }

  .tour-stage-body.is-hero-stage .tour-page-content {
    padding: 20px 18px 24px;
    justify-content: flex-end;
  }

  .tour-layout-hero .tour-stage-body.is-hero-stage .tour-page-content h2 {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }

  .tour-stage-body.is-poster-stage {
    grid-template-rows: minmax(180px, 42%) minmax(0, 1fr);
  }

  .tour-stage-body.is-poster-stage .tour-page-content {
    margin: -22px 12px 12px;
    padding: 16px;
    border-radius: 16px;
  }

  .tour-layout-story .tour-page-content {
    max-width: 100%;
    padding-top: 24px;
    padding-bottom: 22px;
  }

  .tour-page-content {
    padding: 22px;
    min-height: 0;
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .tour-overview-stage {
    display: block;
    position: relative;
    height: calc(100svh - 48px);
    min-height: calc(100svh - 48px);
    padding: 0;
  }

  .tour-overview-hero,
  .tour-overview-hero.has-tour-backdrop {
    height: 100%;
    min-height: 100%;
    border-bottom: 0;
  }

  .tour-overview-panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    margin: 0;
    gap: 12px;
    padding: 16px 16px 20px;
    border-radius: 0;
  }

  .tour-overview-title {
    font-size: clamp(1.38rem, 6.1vw, 2rem);
  }

  .tour-overview-copy {
    font-size: 0.98rem;
    line-height: 1.58;
  }

  .tour-overview-cta {
    width: 100%;
    min-width: 0;
  }

  .tour-layout-poster.is-overview-poster .tour-page-content {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
    padding: 14px 14px 16px;
  }

  .tour-layout-poster.is-overview-poster .tour-page-content h2 {
    font-size: clamp(1.7rem, 7vw, 2.6rem);
  }

  .tour-promos-grid {
    grid-template-columns: 1fr;
  }

  .tour-progress-markers {
    gap: 6px;
    overflow: hidden;
  }

  .tour-progress-marker {
    min-width: 0;
  }

  .tour-inline-discovery {
    width: 100%;
    justify-content: flex-start;
  }

  .tour-feedback-overlay {
    padding: 14px;
  }

  .tour-shell-side-nav {
    left: 10px;
    right: 10px;
    bottom: 10px;
    top: auto;
    transform: none;
  }

  .tour-side-arrow {
    width: 34px;
    height: 34px;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .tour-page-wrap,
  .tour-player-shell,
  .tour-experience-screen {
    width: min(100%, calc(100% - 16px));
  }

  .tour-experience-screen {
    padding: 6px 0 10px;
  }

  .tour-gamestate-resource {
    grid-template-columns: minmax(62px, auto) 1fr auto;
  }

  .tour-player-card {
    min-height: min(var(--tour-shell-height, 680px), calc(100dvh - 12px));
    height: min(var(--tour-shell-height, 680px), calc(100dvh - 12px));
  }

  .tour-player-shell.is-card-stack::before {
    transform: translateY(-8px);
    opacity: 0.42;
  }

  .tour-player-shell.is-card-stack::after {
    transform: translateY(-16px);
    opacity: 0.24;
  }

  .tour-stage-body.is-media-left {
    grid-template-columns: minmax(0, 34%) minmax(0, 66%);
  }

  .tour-stage-body.is-media-right {
    grid-template-columns: minmax(0, 66%) minmax(0, 34%);
  }

  .tour-player-shell.is-card-stack::before {
    transform: translateY(-8px) scale(0.992);
  }

  .tour-player-shell.is-card-stack::after {
    transform: translateY(-16px) scale(0.984);
  }
}

@media (min-width: 901px) and (max-width: 1100px) and (orientation: portrait) {
  .tour-stage-body.is-media-left {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 34dvh) minmax(0, 1fr);
  }

  .tour-stage-body.is-media-right {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 34dvh) minmax(0, 1fr);
  }

  .tour-stage-media {
    border-right: 0;
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  }
}

@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .tour-media-attachment-fixed,
  .tour-media-attachment-parallax {
    background-attachment: scroll;
  }
}
