/* Creator films. Keep the player and its playlist together on narrow screens. */
#creator-videos {
  scroll-margin-top: 70px;
  color: #faf9f7;
  background: linear-gradient(180deg, #0005 145px, #0002 210px, #0003),
    linear-gradient(90deg, #7d7a76, #7b7771 25%, #78756e 35%, #807d79 45%, #949392 50%,
      #9a9999 55%, #8c8b89 60%, #77746e 65%, #6e6b63 70%, #7c7974 85%, #82817d);
  padding: 28px clamp(16px, 4.5vw, 72px) clamp(32px, 4.2vw, 64px);
  font-family: inherit;
}
#creator-videos .cv-inner { max-width: 1184px; margin-inline: auto; }
#creator-videos .cv-head { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 0 0 16px; white-space: nowrap; }
#creator-videos .cv-hint-label, #creator-videos .cv-head p {
  display: inline-flex; flex: none; align-items: center; margin: 0; white-space: nowrap; font-size: 13.5px; line-height: 20px;
  letter-spacing: -.01em; text-shadow: 0 1px 10px #0004;
}
#creator-videos .cv-hint-label { gap: 10px; color: #fff; font-weight: 600; }
#creator-videos .cv-head p { gap: 6px; color: #fff; font-weight: 500; }
.cv-hint-dot { position: relative; flex: none; width: 8px; height: 8px; background: #4ade80; border-radius: 50%; }
.cv-hint-dot::after { content: ''; position: absolute; inset: -7px; border: 1.5px solid #4ade802c; border-radius: inherit; }
.cv-head svg { flex: none; }
.cv-layout { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(270px, 1fr); gap: clamp(22px, 3.5vw, 48px); align-items: start; }
.cv-viewer, .cv-queue { min-width: 0; }
@media (max-width: 380px) {
  #creator-videos .cv-head { margin-inline: -8px; gap: 6px; }
  #creator-videos .cv-hint-label { gap: 6px; }
  #creator-videos .cv-head p { gap: 3px; }
}
@media (max-width: 350px) {
  #creator-videos .cv-hint-label, #creator-videos .cv-head p { font-size: 13px; }
}
.cv-viewer:has(.cv-stage[data-platform="instagram"]) { width: min(100%, 390px); justify-self: center; }
.cv-stage { position: relative; isolation: isolate; width: 100%; aspect-ratio: 16/9; background: #100f0e; border-radius: 16px; overflow: hidden; scroll-margin-top: 82px; }
.cv-stage[data-platform="youtube"] { min-height: 200px; }
.cv-stage[data-platform="instagram"] { aspect-ratio: auto; }
/* Instagram contains the 9:16 film in a 4:5 viewport with its own header and footer. */
.cv-stage[data-platform="instagram"]::before {
  content: '';
  display: block;
  padding-top: calc(125% + var(--reel-ui-height, 208px));
}
.cv-stage [hidden], .cv-viewer .cv-close[hidden] { display: none !important; }
.cv-poster-link, .cv-embed { position: absolute; inset: 0; display: grid; place-items: center; }
.cv-poster-link img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.cv-play { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: clamp(52px, 6vw, 72px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 4px 22px #0004; transition: transform .18s ease; }
.cv-play::before { content: ''; display: block; width: 0; height: 0; border-block: 9px solid transparent; border-left: 15px solid #191816; margin-left: 4px; }
.cv-poster-link:hover .cv-play { transform: translate(-50%, -50%) scale(1.06); }
.cv-embed iframe { display: block; border: 0; width: 100%; height: 100%; }
.cv-stage[data-platform="instagram"] iframe { background: #fff; }
.cv-caption { padding-top: 17px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
#creator-videos .cv-now-title { margin: 0; font-size: clamp(19px, 2.1vw, 28px); font-weight: 680; line-height: 1.3; color: #fff; letter-spacing: -.045em; word-break: keep-all; }
#creator-videos .cv-now-meta { margin: 6px 0 0; font-size: 14px; line-height: 1.55; color: #f7f6f4; overflow-wrap: anywhere; }
.cv-tools { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
#creator-videos .cv-tools > * { border: 0; padding: 5px 0; background: none; color: #dedbd6; font: inherit; font-size: 14px; line-height: 1.5; cursor: pointer; white-space: nowrap; text-decoration: underline; text-underline-offset: 4px; }
.cv-queue ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 3px; }
.cv-queue li { margin: 0; min-width: 0; }
#creator-videos .cv-choice { display: flex; align-items: center; gap: 11px; color: #faf9f7; text-decoration: none; min-width: 0; padding: 6px 8px; border-radius: 9px; }
.cv-choice:hover { background: #ffffff0d; }
.cv-choice[aria-current="true"] { background: #ffffff15; box-shadow: inset 0 0 0 1px #ffffff33; }
.cv-choice > img, .cv-reel-thumb { display: block; width: 76px; height: 46px; border-radius: 6px; object-fit: cover; object-position: 50% 52%; background: #171615; flex: 0 0 auto; }
.cv-reel-thumb { overflow: hidden; }
.cv-reel-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; transform: scale(1.08); }
.cv-choice-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cv-choice-info strong { font-size: 15px; line-height: 1.34; letter-spacing: -.035em; font-weight: 600; word-break: keep-all; }
.cv-choice-info small { font-size: 13px; line-height: 1.35; color: #f7f6f4; }
#creator-videos :focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.cv-stage:has(.cv-poster-link:focus-visible) { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 760px) {
  .cv-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .cv-stage { border-radius: 12px; }
  .cv-caption { padding-top: 13px; flex-wrap: wrap; gap: 5px 14px; }
  .cv-tools { margin-left: auto; }
  .cv-queue ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 5px; }
  #creator-videos .cv-choice { height: 100%; flex-direction: column; align-items: stretch; gap: 8px; padding: 5px; }
  .cv-choice > img, .cv-reel-thumb { width: 100%; height: auto; aspect-ratio: 16/9; }
  .cv-choice-info { padding: 0 2px 3px; }
  .cv-choice-info strong { font-size: 14px; }
}
@media (max-width: 520px) {
  .cv-queue ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #creator-videos .cv-now-meta { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .cv-play { transition: none; }
}
