.nf-titles {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  row-gap: var(--bw-row);
  align-items: center;
  width: max-content;
  max-width: 70%;
}

@media (max-width: 767px), (pointer: coarse), (hover: none) {
  .nf-titles {
    --bw-row: 44px;
    inset: 0;
    transform: none;
    width: 100%;
    max-width: none;
    height: 100%;
    row-gap: 0;
    overflow: hidden auto;
    overscroll-behavior-y: contain;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
    touch-action: pan-y pinch-zoom;
  }
  .nf-titles::-webkit-scrollbar { display: none; }
  /* Give the first and last title exactly half a viewport at either end. */
  .nf-titles::before, .nf-titles::after {
    content: "";
    flex: 0 0 calc(50% - var(--bw-row) / 2);
  }
  .nf-titles .bw-brand { scroll-snap-align: center; }
  .nf-titles .bw-brand + .bw-brand { margin-top: var(--bw-row); }
}

@media (max-height: 440px) and (orientation: landscape) {
  .nf-index .bw-motion {
    top: max(8px, env(safe-area-inset-top));
    bottom: auto;
  }
}

.nf-stage .wk-poster { min-height: 0; }

.wk-theater .nf-next-still {
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 8px 12px;
  background: #111;
  color: #fff;
  min-height: 40px;
  font-size: 13px;
}

.wk-details .nf-listing {
  display: inline-block;
  margin-top: 8px;
  font-size: .87em;
  text-decoration: underline;
  text-underline-offset: .18em;
}
