/* the reel is a real-time player (autoplay at one speed, pause / play); the page below it holds the SEO content */
:root{--c1:#ff3d8b;--c2:#ffe9f1;--bg:#0b0710;--card:#14062a;--line:#2a1838;--muted:#b9a9bf;--navh:60px}
html,body{height:auto;overflow:visible;background:var(--bg)}
html.locked,html.locked body{overflow:hidden;height:100%;overscroll-behavior:none}
body{margin:0;color:#efe6ee;font:17px/1.65 Inter,system-ui,-apple-system,Segoe UI,sans-serif}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
a{color:var(--c1)}
/* player */
#reel{position:relative;height:100vh;height:100svh;background:#000;overflow:hidden;z-index:1;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent}
html:not(.locked) #reel{touch-action:pan-y}
#stagewrap{position:absolute;inset:0;overflow:hidden;background:#000}
#stage{position:absolute;left:0;top:0;width:1920px;height:1080px;transform-origin:0 0}
#reel.is-paused #stage *{animation-play-state:paused!important}   /* pause freezes the whole frame, CSS animations of the text included */
#veil{position:absolute;inset:0;background:#000;opacity:0;pointer-events:none;transition:opacity .2s;z-index:50}
#veil.on{opacity:1}
#prog{position:absolute;left:0;top:0;height:3px;width:0;background:var(--c1);z-index:96}
#ctl{position:absolute;left:0;right:0;bottom:18px;z-index:60;display:flex;justify-content:center;align-items:center;gap:16px;pointer-events:none}
#ctl>*{pointer-events:auto}
.nb{width:42px;height:42px;border-radius:50%;border:1px solid rgba(255,233,241,.4);background:rgba(8,3,14,.55);color:#ffe9f1;font:400 20px/1 Inter,sans-serif;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s,border-color .2s,opacity .3s}
@media (hover:hover){.nb:hover{background:var(--c1);border-color:var(--c1)}}   /* touch screens: no sticky pink button after a tap */
.nb:active{background:var(--c1);border-color:var(--c1)}
#pp{width:50px;height:50px}#pp svg{display:block}#pp .i-play{display:none;margin-left:2px}#pp.is-paused .i-play{display:block}#pp.is-paused .i-pause{display:none}   /* 26.10 pause / play button: the whole control bar */
/* Skip Animation: always visible while the reel is locked, sits right above the dots; the hint (Continue) sits above it */
#skipreel{position:absolute;left:50%;bottom:72px;transform:translateX(-50%);z-index:61;display:inline-flex;align-items:center;gap:10px;height:34px;padding:0 18px 0 20px;border-radius:999px;border:1px solid rgba(255,233,241,.38);background:rgba(8,3,14,.55);color:#ffe9f1;font:400 15px/1 Bebas,Impact,sans-serif;letter-spacing:.26em;text-transform:uppercase;white-space:nowrap;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background .2s,border-color .2s,color .2s}
#skipreel::after{content:'';width:7px;height:7px;border-top:2px solid currentColor;border-right:2px solid currentColor;transform:rotate(135deg);margin-top:-3px}
@media (hover:hover){#skipreel:hover{background:var(--c1);border-color:var(--c1);color:#fff}}
#skipreel:focus-visible,#skipreel:active{background:var(--c1);border-color:var(--c1);color:#fff}
#skipreel:focus-visible{outline:2px solid #fff;outline-offset:3px}
html:not(.locked) #skipreel{display:none}
#hint{position:absolute;left:50%;bottom:116px;transform:translateX(-50%);z-index:60;opacity:0;transition:opacity .5s;pointer-events:none;text-align:center;white-space:nowrap;cursor:pointer}
#hint.on{opacity:1;pointer-events:auto}
#hint span{display:inline-flex;align-items:center;gap:12px;padding:13px 30px 12px 32px;border-radius:999px;font:400 22px Bebas,Impact,sans-serif;letter-spacing:.24em;text-transform:uppercase;color:#fff;background:linear-gradient(180deg,#ff5c9d,#e0286f);box-shadow:0 0 0 1px rgba(255,255,255,.35) inset,0 8px 26px rgba(255,61,139,.45);animation:hintpulse 1.8s ease-in-out infinite}
#hint span::after{content:'';width:9px;height:9px;border-top:2.5px solid #fff;border-right:2.5px solid #fff;transform:rotate(45deg);animation:hintarrow 1.2s ease-in-out infinite}
#hint::after{content:attr(data-sub);display:block;margin-top:9px;font:400 13px Bebas,Impact,sans-serif;letter-spacing:.3em;text-transform:uppercase;color:var(--c2);opacity:.75}
@keyframes hintpulse{0%,100%{box-shadow:0 0 0 1px rgba(255,255,255,.35) inset,0 8px 26px rgba(255,61,139,.4),0 0 0 0 rgba(255,61,139,.5)}50%{box-shadow:0 0 0 1px rgba(255,255,255,.35) inset,0 8px 30px rgba(255,61,139,.6),0 0 0 14px rgba(255,61,139,0)}}
@keyframes hintarrow{0%,100%{margin-left:0}50%{margin-left:5px}}
#boot{position:fixed;inset:0;z-index:200;background:#08030e;display:flex;flex-direction:column;gap:14px;align-items:center;justify-content:center;transition:opacity .8s}
#boot b{font:italic 44px Bedross,Georgia,serif;color:var(--c1);font-weight:400;animation:pulse 1.4s ease-in-out infinite}
#boot span{font:400 15px Bebas,Impact,sans-serif;letter-spacing:.34em;text-transform:uppercase;color:var(--c2);opacity:.6}
@keyframes pulse{50%{opacity:.35}}
#boot.off{opacity:0;pointer-events:none}
html.lite #grain{display:none}
/* mobile (portrait, 29.11 owner: "optimise for the phone, centre everything, the 16:9 reel on a reel-like screen"):
   the 16:9 stage is a centred frame, the current phrase is readable HTML right under it, and the cluster "frame + caption" sits in the middle of the free area between the header and the controls.
   player.js fit() measures it and sets --fw/--fh (frame), --cl-top (top of the cluster), --cap-h (caption box height, fixed by the longest phrase so nothing jumps) and --sab (safe-area bottom). */
:root{--sab:0px}
#cap{display:none}
@media (max-aspect-ratio:1/1){
  #reel{background:linear-gradient(180deg,#0b0710 0%,#14062a 52%,#0b0710 100%)}
  #stagewrap{inset:auto;left:calc((100% - var(--fw,100%))/2);top:var(--cl-top,var(--navh));width:var(--fw,100%);height:var(--fh,56.25vw);background:#000}
  #stage .ph{display:none!important}
  #cap{display:flex;flex-direction:column;justify-content:center;text-align:center;position:absolute;left:0;right:0;top:calc(var(--cl-top,var(--navh)) + var(--fh,56.25vw));height:var(--cap-h,160px);z-index:2;padding:0 22px;box-sizing:border-box;overflow:hidden}
  .capbox{font:400 24px/1.35 Bebas,Impact,sans-serif;letter-spacing:.03em;color:#f6e3ee}
  .capbox .l{font-size:18px;letter-spacing:.3em;text-transform:uppercase;color:#ff7aa8;margin-bottom:10px}
  .capbox .t{opacity:0;transform:translateY(14px);transition:opacity .5s,transform .5s}
  .capbox .t.in{opacity:1;transform:none}
  .capbox em{font:italic 1.5em/1 Bedross,Georgia,serif;color:var(--c1);font-style:italic;letter-spacing:0;text-transform:none}
  .capbox em.b{display:block;font-size:2.3em;line-height:1.02;margin:.15em 0 .1em}
  /* one controls block at the bottom, above the Safari bar: [See details | Skip Animation] over [pause/play | replay] */
  #ctl{bottom:calc(14px + var(--sab) + var(--hub-h,0px))}
  #skipreel{bottom:calc(14px + var(--sab) + 54px + 10px);height:44px;font-size:15px}
  #hint{bottom:calc(14px + var(--sab) + 54px + 10px + var(--hub-h,0px))}#hint span{font-size:19px;padding:13px 24px 12px 26px}#hint::after{display:none}
  .nb{width:46px;height:46px}#pp,#replay{width:54px;height:54px}
}
/* short phones (iPhone SE, small Androids): the caption gets smaller so the longest phrase still fits under the frame */
@media (max-aspect-ratio:1/1) and (max-height:780px){
  .capbox{font-size:19px;line-height:1.22}
  .capbox .l{font-size:14px;margin-bottom:4px}
  .capbox em{font-size:1.4em}
  .capbox em.b{font-size:1.9em}
}
@media (max-aspect-ratio:1/1) and (max-height:650px){
  .capbox{font-size:17px;line-height:1.2}
  .capbox .l{font-size:13px;margin-bottom:3px}
  .capbox em{font-size:1.35em}
  .capbox em.b{font-size:1.75em}
}
/* a phone held sideways: the whole 16:9 stage (with its own text) is centred below the slim header; the controls stay out of the picture: pause / replay in the lower left, Skip / See details in the lower right (the header is 48 px, see content.css) */
@media (min-aspect-ratio:1/1) and (max-height:500px){
  #ctl{left:max(16px,env(safe-area-inset-left));right:auto;bottom:calc(12px + var(--sab) + var(--hub-h,0px))}
  #skipreel{left:auto;right:max(16px,env(safe-area-inset-right));transform:none;bottom:calc(12px + var(--sab));height:44px}
  #hint{left:auto;right:max(16px,env(safe-area-inset-right));transform:none;bottom:calc(12px + var(--sab) + var(--hub-h,0px))}#hint span{font-size:17px;padding:14px 22px 13px 24px}#hint::after{display:none}
  .nb{width:44px;height:44px}#pp,#replay{width:48px;height:48px}
}
/* ?crop=1 (preview of the vertical 9:16 variant): the 16:9 scene is cropped from the centre and fills the screen under the header, the caption lies over its lower part */
@media (max-aspect-ratio:1/1){
  html.crop #stagewrap{left:0;top:var(--navh);width:100%;height:calc(100% - var(--navh))}
  html.crop #cap{top:auto;bottom:calc(14px + var(--sab) + 54px + 10px + 44px + 14px);background:linear-gradient(180deg,rgba(11,7,16,0),rgba(11,7,16,.82) 38%,rgba(11,7,16,.9));padding-top:26px;justify-content:flex-end}
  html.crop #skipreel{background:rgba(8,3,14,.7)}
}
