*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; height: 100%; overflow: hidden; background: #000; }

.stage { position: fixed; inset: 0; display: flex; align-items: stretch; overflow: hidden; }

.col-fill { flex: 1; display: none; position: relative; overflow: hidden; }
.col-fill::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg,#1a0a00 0%,#2d1500 50%,#0d0600 100%);
}

.slides-viewport {
  flex: 0 0 100%; width: 100%; height: 100dvh;
  position: relative; overflow: hidden;
  cursor: pointer; user-select: none;
  -webkit-tap-highlight-color: transparent;
}
@media (orientation: landscape) and (min-width: 600px) {
  .col-fill { display: block; }
  .slides-viewport { flex: 0 0 auto; width: calc(100dvh * 9 / 16); max-width: 100vw; }
}

.slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  overflow: hidden;
  opacity: 0; pointer-events: none;
  display: flex; flex-direction: column;
}
.slide.active { opacity: 1; pointer-events: all; }

.slide-scroll { overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.no-nav { cursor: default; }
.no-nav-pan-x { touch-action: pan-x; }

.progress-dots {
  position: fixed; right: 14px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 8px;
  z-index: 999; pointer-events: none;
}
.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.35);
  transition: height .3s, border-radius .3s, background .3s;
  pointer-events: all; cursor: pointer;
}
.dot.active { height: 20px; border-radius: 3px; background: rgba(255,255,255,.9); }

.nav-hints { position: fixed; inset: 0; pointer-events: none; z-index: 998; }
.nav-hint {
  position: absolute;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.7); font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; pointer-events: none;
  opacity: 0; transition: opacity .35s, background .2s;
}
.nav-hint.visible { opacity: 1; pointer-events: all; }
.nav-hint-up    { top: 16px; left: 50%; transform: translateX(-50%); }
.nav-hint-down  { bottom: 16px; left: 50%; transform: translateX(-50%); }
.nav-hint-left  { left: 16px; top: 50%; transform: translateY(-50%); }
.nav-hint-right { right: 16px; top: 50%; transform: translateY(-50%); }
