*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html,body{height:100%;background:#0D0D0D;overflow:hidden}
body{
  font-family:-apple-system,BlinkMacSystemFont,'Inter',sans-serif;
  display:flex;flex-direction:column;height:100vh;height:100dvh;width:100vw;
}

/* ============ VIDEO STAGE ============ */
/* Fills all available height above the thumbnail strip — this file
   assumes the page that embeds it (via iframe) has already sized the
   iframe box itself; on mobile that box is set to nearly the full
   viewport (see wededitpro-landing.html), so this stage naturally
   becomes an edge-to-edge, low-distraction player with nothing
   around it but black. */
.stage{flex:1;position:relative;background:#000;min-height:0}
.stage iframe,.stage video{position:absolute;inset:0;width:100%;height:100%;border:0;display:block}

.video-placeholder{
  position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;
  background:radial-gradient(ellipse at top,#2D2D2D 0%,#111111 100%);cursor:pointer;
}
.play-btn{
  width:76px;height:76px;border-radius:50%;background:#FDFCFA;display:flex;align-items:center;justify-content:center;
  margin-bottom:14px;box-shadow:0 8px 24px rgba(0,0,0,.4);transition:transform .3s cubic-bezier(.34,1.56,.64,1);
}
.video-placeholder:hover .play-btn{transform:scale(1.1)}
.play-btn svg{width:26px;height:26px;fill:#1A1A1A;margin-left:3px}
.video-placeholder-text{color:#A0A0A0;font-size:.875rem;font-weight:500;letter-spacing:.02em}
.now-playing{
  position:absolute;top:calc(14px + env(safe-area-inset-top));left:14px;background:rgba(0,0,0,.55);backdrop-filter:blur(8px);
  color:#FAFAF8;font-size:.75rem;font-weight:600;letter-spacing:.03em;padding:7px 14px;border-radius:999px;
  border:1px solid rgba(255,255,255,.14);pointer-events:none;opacity:0;transition:opacity .3s ease;
}
.now-playing.show{opacity:1}

/* ============ THUMBNAIL STRIP ============ */
.thumbs{
  flex-shrink:0;display:flex;gap:8px;overflow-x:auto;-webkit-overflow-scrolling:touch;
  padding:10px 12px calc(10px + env(safe-area-inset-bottom)) 12px;background:#161616;border-top:1px solid rgba(255,255,255,.06);
  scrollbar-width:thin;
}
.thumbs::-webkit-scrollbar{height:4px}
.thumbs::-webkit-scrollbar-thumb{background:rgba(255,255,255,.15);border-radius:2px}
.thumb{
  flex-shrink:0;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);color:#A0A0A0;
  font-size:.75rem;font-weight:600;letter-spacing:.02em;padding:9px 16px;border-radius:999px;cursor:pointer;
  transition:all .2s ease;white-space:nowrap;min-height:36px;font-family:inherit;
}
.thumb:hover{background:rgba(255,255,255,.12);color:#FAFAF8}
.thumb[aria-current="true"]{background:#FDFCFA;color:#1A1A1A;border-color:#FDFCFA}

/* Edge-to-edge mobile: the strip becomes thumb-sized pills only —
   no scene labels, minimum chrome, all attention on the video. */
@media (max-width:480px){
  .thumbs{padding:8px 10px;gap:6px}
  .thumb{padding:8px 13px;font-size:.6875rem}
}

/* ===== CANDY PLAYER OVERRIDES ===== */
.stage{background:#050505}
.video-placeholder{background:radial-gradient(ellipse 75% 65% at 50% 50%,#4A4A4E 0%,#2A2A2D 28%,#111112 62%,#030303 100%);text-align:center;gap:0}
.video-placeholder::after{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse 120% 90% at 50% 50%,transparent 55%,rgba(0,0,0,.55) 100%)}
.play-btn{position:relative;z-index:1;width:96px;height:96px;border-radius:50%;margin:0 auto 18px;overflow:hidden;display:flex;align-items:center;justify-content:center;
  background:radial-gradient(120% 100% at 30% 15%,#6E6E74 0%,#2A2A2E 38%,#08080A 78%);
  box-shadow:0 2px 2px rgba(255,255,255,.55) inset,0 -14px 26px rgba(0,0,0,.65) inset,0 0 0 1px rgba(255,255,255,.10),0 22px 40px -12px rgba(0,0,0,.85),0 0 46px rgba(200,200,210,.14);
  transition:transform .3s cubic-bezier(.34,1.56,.64,1),box-shadow .3s ease}
.play-btn::before{content:'';position:absolute;left:12%;right:12%;top:5%;height:46%;border-radius:50% 50% 46% 46%/62% 62% 38% 38%;background:linear-gradient(180deg,rgba(255,255,255,.55),rgba(255,255,255,.04));pointer-events:none}
.play-btn::after{content:'';position:absolute;left:24%;right:24%;bottom:7%;height:14%;border-radius:50%;background:radial-gradient(ellipse at center,rgba(255,255,255,.22),transparent 70%);pointer-events:none}
.play-btn svg{position:relative;z-index:1;width:32px;height:32px;fill:#FFFFFF;margin-left:5px;filter:drop-shadow(0 2px 3px rgba(0,0,0,.7))}
.video-placeholder:hover .play-btn,.video-placeholder:focus-visible .play-btn{transform:scale(1.08) translateY(-2px);box-shadow:0 2px 2px rgba(255,255,255,.7) inset,0 -14px 26px rgba(0,0,0,.6) inset,0 0 0 1px rgba(255,255,255,.18),0 28px 48px -12px rgba(0,0,0,.9),0 0 64px rgba(220,220,230,.24)}
.video-placeholder:active .play-btn{transform:scale(.96)}
.video-placeholder:focus-visible{outline:2px solid rgba(255,255,255,.6);outline-offset:-4px}
.video-placeholder-text{position:relative;z-index:1;color:#C9C9CE;letter-spacing:.08em;text-transform:uppercase;font-size:.75rem}
.thumbs{background:linear-gradient(180deg,#141415,#050505);justify-content:safe center}
.thumb{border-radius:999px;border:1px solid rgba(255,255,255,.12);color:#E9E9EC;background:linear-gradient(180deg,#3C3C40 0%,#151517 55%,#0A0A0B 100%);box-shadow:0 1px 0 rgba(255,255,255,.35) inset,0 -6px 10px rgba(0,0,0,.5) inset,0 8px 16px -8px rgba(0,0,0,.8);transition:transform .2s ease,filter .2s ease}
.thumb:hover{transform:translateY(-2px);filter:brightness(1.15)}
.thumb[aria-current='true']{color:#0A0A0B;background:linear-gradient(180deg,#FFFFFF 0%,#D9D9DD 55%,#B4B4BA 100%);border-color:rgba(255,255,255,.7);box-shadow:0 1px 0 rgba(255,255,255,.9) inset,0 -6px 10px rgba(0,0,0,.18) inset,0 8px 18px -8px rgba(255,255,255,.35)}
@media (prefers-reduced-motion:reduce){.play-btn,.thumb{transition:none}}

/* Video thumbnail cards in the film strip */
.thumbs .thumb{display:flex;flex-direction:column;align-items:center;gap:6px;padding:6px 6px 8px;border-radius:14px;min-height:0;white-space:normal;width:132px;text-align:center}
.thumbs .thumb-img{display:block;width:120px;height:68px;object-fit:cover;border-radius:9px;background:#0A0A0B}
.thumbs .thumb-label{display:block;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.6875rem;line-height:1.2}
.thumbs .thumb[aria-current="true"] .thumb-img{outline:2px solid #FDFCFA;outline-offset:1px}
@media (max-width:600px){.thumbs .thumb{width:104px;padding:5px 5px 7px}.thumbs .thumb-img{width:94px;height:53px}.thumbs .thumb-label{max-width:94px}}


/* scroll fix: shield lets wheel/touch scroll the page over the video; bottom 64px stays free for YouTube controls */
.wheel-shield{position:absolute;left:0;right:0;top:0;bottom:64px;z-index:2;cursor:pointer;touch-action:pan-y;background:transparent}
.now-playing{pointer-events:none}

.thumb:focus-visible{outline:2px solid rgba(255,255,255,.85);outline-offset:3px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
main{flex:1;display:flex;flex-direction:column;min-height:0}
