
/* Full-screen story player: phone-size frame centred on dark backdrop (desktop), the whole screen on phones. */
.cc_UvrFCXV67c_hl79aEW5Bx .sol-story, .cc_UvrFCXV67c_cMfD3wOGQa .sol-story {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
}

.cc_UvrFCXV67c_hl79aEW5Bx .sol-story__backdrop, .cc_UvrFCXV67c_cMfD3wOGQa .sol-story__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(10 10 10 / 92%);
}

.cc_UvrFCXV67c_hl79aEW5Bx .sol-story__frame, .cc_UvrFCXV67c_cMfD3wOGQa .sol-story__frame {
  position: relative;
  /* 14 Nov gap scan (compat F1, mobile-ux M5): vh lines first. Engines without dvh (iOS < 15.4, Chrome/WebView < 108,
     Samsung < 21) dropped the only size lines; every child is absolute, so the frame was 0 × 0 (a dark screen). */
  width: min(480px, calc((100vh - 48px) * 9 / 16));
  width: min(480px, calc((100dvh - 48px) * 9 / 16));
  height: min(calc(100vh - 48px), 854px);
  height: min(calc(100dvh - 48px), 854px);
  overflow: hidden;
  border-radius: 14px;
  background: #000;
  color: var(--sol-white);
  outline: none;
  /* 13 Nov full audit: the viewer handles every drag itself (as Sheet does); with pan-y the browser took vertical drags
     and cancelled the pointer, so swipe-down-to-close never reached its distance. Taps and holds are unaffected.
     14 Nov mobile audit (A1): two-finger zoom is allowed again; one-finger drags still reach the viewer. The first
     line is for a browser that does not know pinch-zoom (it drops the second). */
  touch-action: none;
  touch-action: pinch-zoom;
  user-select: none;
  -webkit-user-select: none;
  transition: transform 160ms var(--sol-ease), opacity 160ms var(--sol-ease);
}

.cc_UvrFCXV67c_hl79aEW5Bx .sol-story__media, .cc_UvrFCXV67c_cMfD3wOGQa .sol-story__media {
  position: absolute;
  inset: 0;
}

.cc_UvrFCXV67c_hl79aEW5Bx .sol-story__video, .cc_UvrFCXV67c_cMfD3wOGQa .sol-story__video, .cc_UvrFCXV67c_hl79aEW5Bx .sol-story__image, .cc_UvrFCXV67c_cMfD3wOGQa .sol-story__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.cc_UvrFCXV67c_hl79aEW5Bx .sol-story__top, .cc_UvrFCXV67c_cMfD3wOGQa .sol-story__top {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  display: grid;
  gap: var(--sol-space-3);
  padding: var(--sol-space-3) var(--sol-space-3) var(--sol-space-6);
  background: linear-gradient(rgb(0 0 0 / 55%), rgb(0 0 0 / 0%));
}

.cc_UvrFCXV67c_hl79aEW5Bx .sol-story__bars, .cc_UvrFCXV67c_cMfD3wOGQa .sol-story__bars {
  display: flex;
  gap: 4px;
}

.cc_UvrFCXV67c_hl79aEW5Bx .sol-story__bar, .cc_UvrFCXV67c_cMfD3wOGQa .sol-story__bar {
  flex: 1;
  height: 3px;
  overflow: hidden;
  border-radius: 2px;
  background: rgb(255 255 255 / 35%);
}

.cc_UvrFCXV67c_hl79aEW5Bx .sol-story__fill, .cc_UvrFCXV67c_cMfD3wOGQa .sol-story__fill {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--sol-white);
  transform: scaleX(0);
  transform-origin: left;
}

.cc_UvrFCXV67c_hl79aEW5Bx .sol-story__head, .cc_UvrFCXV67c_cMfD3wOGQa .sol-story__head {
  display: flex;
  align-items: center;
  gap: var(--sol-space-2);
}

.cc_UvrFCXV67c_hl79aEW5Bx .sol-story__avatar, .cc_UvrFCXV67c_cMfD3wOGQa .sol-story__avatar {
  width: 34px;
  height: 34px;
  border: 2px solid var(--sol-white);
  border-radius: 50%;
  object-fit: cover;
}

.cc_UvrFCXV67c_hl79aEW5Bx .sol-story__title, .cc_UvrFCXV67c_cMfD3wOGQa .sol-story__title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: var(--sol-white);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cc_UvrFCXV67c_hl79aEW5Bx .sol-story__icon, .cc_UvrFCXV67c_cMfD3wOGQa .sol-story__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--sol-white);
  cursor: pointer;
}

.cc_UvrFCXV67c_hl79aEW5Bx .sol-story__icon:focus-visible, .cc_UvrFCXV67c_cMfD3wOGQa .sol-story__icon:focus-visible, .cc_UvrFCXV67c_hl79aEW5Bx .sol-story__nav:focus-visible, .cc_UvrFCXV67c_cMfD3wOGQa .sol-story__nav:focus-visible {
  outline: 2px solid var(--sol-white);
  outline-offset: 2px;
}

/* Desktop arrows beside the frame; on phones the left third / rest of the frame are the tap targets. */
.cc_UvrFCXV67c_hl79aEW5Bx .sol-story__nav, .cc_UvrFCXV67c_cMfD3wOGQa .sol-story__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 90%);
  color: var(--sol-ink);
  cursor: pointer;
  transform: translateY(-50%);
}

.cc_UvrFCXV67c_hl79aEW5Bx .sol-story__nav.is-prev, .cc_UvrFCXV67c_cMfD3wOGQa .sol-story__nav.is-prev {
  left: var(--sol-space-3);
}

.cc_UvrFCXV67c_hl79aEW5Bx .sol-story__nav.is-next, .cc_UvrFCXV67c_cMfD3wOGQa .sol-story__nav.is-next {
  right: var(--sol-space-3);
}

/* The product card (VideoProductCard, frosted glass) at the bottom of the story. */
.cc_UvrFCXV67c_hl79aEW5Bx .sol-story__card, .cc_UvrFCXV67c_cMfD3wOGQa .sol-story__card {
  position: absolute;
  inset: auto var(--sol-space-3) var(--sol-space-4);
  z-index: 2;
}

@media (max-width: 767px) {
  .cc_UvrFCXV67c_hl79aEW5Bx .sol-story__frame, .cc_UvrFCXV67c_cMfD3wOGQa .sol-story__frame {
    width: 100vw;
    /* 14 Nov gap scan (compat F1): vh fallback for engines without dvh. */
    height: 100vh;
    height: 100dvh;
    border-radius: 0;
  }

  .cc_UvrFCXV67c_hl79aEW5Bx .sol-story__nav, .cc_UvrFCXV67c_cMfD3wOGQa .sol-story__nav {
    display: none;
  }

  .cc_UvrFCXV67c_hl79aEW5Bx .sol-story__top, .cc_UvrFCXV67c_cMfD3wOGQa .sol-story__top {
    padding-top: max(var(--sol-space-3), env(safe-area-inset-top));
  }

  .cc_UvrFCXV67c_hl79aEW5Bx .sol-story__card, .cc_UvrFCXV67c_cMfD3wOGQa .sol-story__card {
    bottom: max(var(--sol-space-4), env(safe-area-inset-bottom));
  }
}

/* 14 Nov gap scan (mobile-ux M5): a phone turned sideways cover-cropped the 9:16 video to a strip under the top bar and
   the product card. The frame keeps the phone shape, full height and centred on the dark backdrop. */
@media (max-width: 767px) and (orientation: landscape) {
  .cc_UvrFCXV67c_hl79aEW5Bx .sol-story__frame, .cc_UvrFCXV67c_cMfD3wOGQa .sol-story__frame {
    width: calc(100vh * 9 / 16);
    width: calc(100dvh * 9 / 16);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc_UvrFCXV67c_hl79aEW5Bx .sol-story__frame, .cc_UvrFCXV67c_cMfD3wOGQa .sol-story__frame {
    transition: none;
  }
}

/* Grouped stories: the group's name, then the story's own title in a lighter line. */
.cc_UvrFCXV67c_hl79aEW5Bx .sol-story__subtitle, .cc_UvrFCXV67c_cMfD3wOGQa .sol-story__subtitle {
  display: block;
  overflow: hidden;
  font-weight: 400;
  opacity: 0.8;
  text-overflow: ellipsis;
  white-space: nowrap;
}
