/* Reels: one edge-to-edge media canvas, with every control over the picture. */
.reelViewer {
  --reel-ink: #fff;
  --reel-height: calc(100dvh - 32px);
  position: fixed; inset: 0;
  width: 100%; max-width: none; height: 100%; height: 100dvh; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: #000; color: var(--reel-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  overscroll-behavior: contain; overflow: hidden;
}
.reelViewer:not([open]), .reelViewer [hidden] { display: none !important; }
.reelViewer::backdrop { background: #000; }
.reelViewer * { box-sizing: border-box; }
.reelViewer__layout { position: relative; display: grid; place-items: center; width: 100%; height: 100%; padding: 16px 80px; }
.reelViewer__frame {
  position: relative; isolation: isolate; overflow: hidden;
  width: min(100%, calc(var(--reel-height) * 9 / 16));
  height: 100%; max-height: var(--reel-height);
  border-radius: 4px; background: #000;
}
.reelViewer__stage { position: absolute; inset: 0; touch-action: pan-x pinch-zoom; user-select: none; outline: none; }
.reelViewer__video, .reelViewer__image {
  display: block; position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; border: 0; filter: none; transform: none;
}
.reelViewer.is-portrait .reelViewer__video { object-fit: cover; }
.reelViewer__video { cursor: pointer; }
.reelViewer__frame::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgb(0 0 0 / 42%), transparent 21%, transparent 50%, rgb(0 0 0 / 18%) 66%, rgb(0 0 0 / 74%));
}
.reelViewer__header {
  position: absolute; z-index: 3; top: 12px; left: 16px; right: 10px;
  display: flex; align-items: center; justify-content: space-between;
  pointer-events: none; text-shadow: 0 1px 5px rgb(0 0 0 / 30%);
}
.reelViewer__heading { font-size: 24px; font-weight: 700; letter-spacing: -.5px; line-height: 1; }
.reelViewer__header button { pointer-events: auto; }
.reelViewer__button {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 44px; height: 44px; padding: 8px; margin: 0; border: 0;
  border-radius: 50%; background: transparent; color: #fff; text-decoration: none;
  cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  transition: opacity .15s, transform .15s;
}
.reelViewer__button:hover { opacity: .75; }
.reelViewer__button:active { transform: scale(.9); }
.reelViewer__button:disabled { opacity: .25; cursor: default; transform: none; }
.reelViewer__button svg {
  width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 1px 3px rgb(0 0 0 / 25%));
}
.reelViewer button:focus-visible, .reelViewer a:focus-visible, .reelViewer summary:focus-visible, .reelViewer input:focus-visible {
  outline: 2px solid #fff; outline-offset: 3px;
}
.reelViewer__playback {
  position: absolute; z-index: 3; top: 72px; right: 16px; left: 16px;
  display: flex; justify-content: space-between; pointer-events: none;
}
.reelViewer__playback .reelViewer__button { width: 36px; height: 36px; padding: 9px; background: rgb(0 0 0 / 36%); pointer-events: auto; }
.reelViewer__playback svg { width: 19px; height: 19px; }
.reelViewer__play { opacity: 0; }
.reelViewer__frame:hover .reelViewer__play, .reelViewer__play:focus-visible { opacity: 1; }
.reelViewer__rail {
  position: absolute; z-index: 4; right: 9px; bottom: 34px;
  display: flex; flex-direction: column; align-items: center; gap: 13px;
}
.reelViewer__rail .reelViewer__button { width: 46px; height: 46px; padding: 8px; }
.reelViewer__rail svg { width: 28px; height: 28px; stroke-width: 1.9; }
.reelViewer__like[aria-pressed="true"] { color: #ff3040; }
.reelViewer__like[aria-pressed="true"] svg { fill: currentColor; }
.reelViewer__audioCover {
  display: block; width: 32px; height: 32px; padding: 2px; border: 2px solid #fff;
  border-radius: 6px; margin-top: 7px; overflow: hidden; box-shadow: 0 1px 5px rgb(0 0 0 / 30%);
}
.reelViewer__audioCover img, .reelViewer__avatar img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transform: scale(1.7); transform-origin: 50% 25%; }
.reelViewer__options { position: relative; }
.reelViewer__options summary { list-style: none; }
.reelViewer__options summary::-webkit-details-marker { display: none; }
.reelViewer__options summary circle { fill: currentColor; stroke: none; }
.reelViewer__menu {
  position: absolute; bottom: 4px; right: 52px; width: 224px; padding: 18px;
  border: 1px solid #383838; border-radius: 12px; background: #262626;
  color: #fff; box-shadow: 0 8px 30px rgb(0 0 0 / 35%); font-size: 13px; line-height: 1.4;
}
.reelViewer__volumeLabel { display: block; }
.reelViewer__volume { display: block; width: 100%; height: 32px; margin: 6px 0; accent-color: #fff; cursor: pointer; }
.reelViewer__time { display: block; color: #c7c7c7; margin-bottom: 14px; font-size: 12px; font-variant-numeric: tabular-nums; }
.reelViewer__menu a { display: block; padding-block: 6px; color: inherit; text-decoration: none; }
.reelViewer__footer {
  position: absolute; z-index: 3; bottom: 33px; left: 16px; right: 76px;
  text-shadow: 0 1px 5px rgb(0 0 0 / 40%); pointer-events: none;
}
.reelViewer__author { display: flex; align-items: center; gap: 10px; min-width: 0; margin-bottom: 12px; }
.reelViewer__avatar { display: block; flex: none; width: 34px; height: 34px; overflow: hidden; border: 1px solid rgb(255 255 255 / 55%); border-radius: 50%; }
.reelViewer__username { font-size: 14px; font-weight: 600; line-height: 1.2; }
.reelViewer__profile {
  pointer-events: auto; display: inline-flex; align-items: center; justify-content: center; min-height: 30px;
  padding: 4px 10px; border: 1px solid rgb(255 255 255 / 75%); border-radius: 6px;
  color: #fff; font-size: 12px; font-weight: 600; line-height: 1.2; text-decoration: none;
}
.reelViewer__caption {
  margin: 0 0 12px; padding: 0; font-family: inherit; font-size: 14px; line-height: 1.4;
  font-weight: 400; letter-spacing: 0; text-transform: none;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.reelViewer__audio { display: flex; align-items: center; gap: 7px; margin: 0; padding: 0; min-width: 0; font-size: 12px; line-height: 1.4; }
.reelViewer__audio svg { flex: none; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.reelViewer__audio span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.reelViewer__controls { position: absolute; z-index: 5; bottom: 0; left: 0; right: 0; height: 20px; }
.reelViewer__seek { --progress: 0%; display: block; appearance: none; -webkit-appearance: none; width: 100%; height: 20px; margin: 0; background: transparent; cursor: pointer; }
.reelViewer__seek::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(to right,#fff var(--progress),rgb(255 255 255 / 28%) var(--progress)); }
.reelViewer__seek::-moz-range-track { height: 2px; background: rgb(255 255 255 / 28%); }
.reelViewer__seek::-moz-range-progress { height: 2px; background: #fff; }
.reelViewer__seek::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 8px; height: 8px; margin-top: -3px; border-radius: 50%; background: #fff; opacity: 0; }
.reelViewer__seek::-moz-range-thumb { width: 8px; height: 8px; border: 0; border-radius: 50%; background: #fff; opacity: 0; }
.reelViewer__seek:hover::-webkit-slider-thumb, .reelViewer__seek:focus-visible::-webkit-slider-thumb, .reelViewer__seek:active::-webkit-slider-thumb { opacity: 1; }
.reelViewer__seek:hover::-moz-range-thumb, .reelViewer__seek:focus-visible::-moz-range-thumb, .reelViewer__seek:active::-moz-range-thumb { opacity: 1; }
.reelViewer__seek:disabled { opacity: .3; cursor: default; }
.reelViewer__navigation { position: absolute; right: 28px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 18px; }
.reelViewer__navigation .reelViewer__button { width: 48px; height: 48px; background: #262626; }
.reelViewer__paused { position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%,-50%); display: none; place-items: center; width: 80px; height: 80px; border-radius: 50%; background: rgb(0 0 0 / 38%); pointer-events: none; }
.reelViewer__paused svg { width: 37px; height: 37px; fill: #fff; }
.reelViewer.is-paused:not(.is-loading):not(.is-error):not(.is-image) .reelViewer__paused { display: grid; }
.reelViewer__notice { position: absolute; z-index: 3; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px 60px; background: rgb(0 0 0 / 45%); text-align: center; pointer-events: none; }
.reelViewer__notice p { font-size: 14px; line-height: 1.5; margin: 0; }
.reelViewer.is-loading .reelViewer__notice::before { content: ""; width: 28px; height: 28px; border: 2px solid rgb(255 255 255 / 25%); border-top-color: #fff; border-radius: 50%; animation: reel-spin 1s linear infinite; }
.reelViewer__retry { pointer-events: auto; border: 1px solid #fff; border-radius: 6px; background: transparent; color: inherit; padding: 12px 20px; cursor: pointer; font: inherit; font-size: 13px; }
.reelViewer__toast { position: absolute; z-index: 6; top: 50%; left: 50%; transform: translate(-50%,-50%); width: max-content; max-width: calc(100% - 48px); border-radius: 8px; background: rgb(38 38 38 / 96%); margin: 0; padding: 12px 18px; color: #fff; font-size: 13px; line-height: 1.4; text-align: center; pointer-events: none; }
.reelViewer__pauseIcon, .reelViewer__soundOff { display: none; }
.reelViewer.is-playing .reelViewer__pauseIcon, .reelViewer.is-muted .reelViewer__soundOff { display: block; }
.reelViewer.is-playing .reelViewer__playIcon, .reelViewer.is-muted .reelViewer__soundOn { display: none; }
.reelViewer.is-image .reelViewer__playback, .reelViewer.is-image .reelViewer__audio, .reelViewer.is-image .reelViewer__audioCover, .reelViewer.is-image .reelViewer__volumeLabel, .reelViewer.is-image .reelViewer__time { display: none; }

@media (max-width: 700px) {
  .reelViewer { --reel-height: 100dvh; }
  .reelViewer__layout { padding: 0; }
  .reelViewer__frame { width: 100%; height: 100%; max-height: none; border-radius: 0; }
  .reelViewer__header { top: max(10px,env(safe-area-inset-top)); }
  .reelViewer__playback { top: calc(max(10px,env(safe-area-inset-top)) + 58px); }
  .reelViewer__footer { bottom: calc(30px + env(safe-area-inset-bottom)); }
  .reelViewer__rail { bottom: calc(30px + env(safe-area-inset-bottom)); gap: 11px; }
  .reelViewer__controls { bottom: env(safe-area-inset-bottom); }
  .reelViewer__navigation { width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .reelViewer__navigation:focus-within { width: auto; height: auto; overflow: visible; clip-path: none; z-index: 7; right: 12px; top: 34%; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .reelViewer { --reel-height: 100dvh; }
  .reelViewer__layout { padding: 0 68px; }
  .reelViewer__frame { width: min(100%,calc(100dvh * 16 / 9)); height: 100%; border-radius: 0; }
  .reelViewer__video { object-fit: contain !important; }
  .reelViewer__header { top: 2px; }
  .reelViewer__heading { font-size: 20px; }
  .reelViewer__playback { top: 50px; }
  .reelViewer__rail { gap: 0; right: 8px; bottom: 24px; }
  .reelViewer__rail .reelViewer__button { width: 36px; height: 36px; padding: 6px; }
  .reelViewer__rail svg { width: 23px; height: 23px; }
  .reelViewer__audioCover { display: none; }
  .reelViewer__footer { bottom: 28px; }
  .reelViewer__author { margin-bottom: 6px; }
  .reelViewer__caption { margin-bottom: 6px; }
}
@keyframes reel-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .reelViewer * { transition: none !important; }
  .reelViewer.is-loading .reelViewer__notice::before { animation: none; }
}

/* Existing homepage entry points. */
.tvHero__open{position:absolute;inset:0;z-index:8;width:100%;height:100%;border:0;background:transparent;color:#f6eee1;cursor:pointer;display:flex;align-items:flex-end;justify-content:center;padding:0 10px 18px}
.tvHero__open span{display:inline-flex;align-items:center;gap:8px;border-radius:30px;padding:10px 15px;background:rgb(17 24 23 / 78%);font:500 11px/1.3 var(--font-body,Manrope,sans-serif);letter-spacing:.02em;transition:background .2s}
.tvHero__open:hover span,.tvHero__open:focus-visible span{background:#9d322a}
.tvHero__open:focus-visible{outline:2px solid #f6eee1;outline-offset:-6px}
[data-media-group]{cursor:pointer}
@media(max-width:700px){.tvHero__open{padding-bottom:10px}.tvHero__open span{padding:8px 12px;font-size:10px}}
@media(prefers-reduced-motion:reduce){.tvHero__open span{transition:none}}
