/* Trendly speedrun demo (Dec 3 2026), in the hero where the 34 s film was (#product). Same frame as the film
   (film-20261112/player.css): 1060px box, 40px sides, 10px outer frame with 36px corners, 16:9 inner frame with 26px
   corners. Click-to-play with sound, like the Sandcastles demo: a still from the demo under a light veil and a black
   "Play video" pill in the middle; once it plays, the film's own controls (centre button, timeline, sound, full screen).
   Own code; no fonts, libraries or other hosts. */
.tdemo{position:relative;z-index:1;box-sizing:border-box;width:100%;max-width:1060px;margin:52px auto 33px;padding:0 40px;scroll-margin-top:28px}
.tdemo-wrap{padding:10px;border-radius:36px;background:rgba(255,255,255,.02);box-shadow:inset 0 1px 0 rgba(255,255,255,.04),inset 0 0 70px rgba(255,255,255,.02),inset 0 0 12px rgba(255,255,255,.04)}
.tdemo-frame{position:relative;aspect-ratio:16/9;overflow:hidden;border:1px solid rgba(255,255,255,.06);border-radius:26px;background:#000;color:#fff;font-family:var(--font,Geist,Arial,sans-serif);isolation:isolate}
.tdemo-media{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;background:#000;cursor:pointer}
.tdemo-frame button{appearance:none;-webkit-appearance:none;margin:0;padding:0;border:0;background:none;color:inherit;font:inherit;cursor:pointer}
.tdemo-frame :focus-visible{outline:2px solid #fff;outline-offset:3px}
.tdemo-frame svg{display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tdemo-frame .tdemo-fill{fill:currentColor;stroke:none}

/* Before the first play (and after the end): the still, a light veil, the black pill */
.tdemo-veil{position:absolute;z-index:1;inset:0;background:rgba(11,11,10,.28);pointer-events:none;transition:opacity .25s ease}
.tdemo-frame .tdemo-cta{position:absolute;z-index:3;top:50%;left:50%;display:flex;align-items:center;gap:14px;height:64px;padding:0 34px 0 28px;
  border-radius:999px;background:#0b0b0a;color:#fff;font-size:24px;font-weight:500;letter-spacing:-.01em;line-height:1;white-space:nowrap;
  transform:translate(-50%,-50%);box-shadow:0 0 0 1px rgba(255,255,255,.16),0 10px 30px rgba(0,0,0,.45),0 0 44px rgba(255,255,255,.12);
  transition:transform .18s ease,box-shadow .18s ease,opacity .25s ease}
.tdemo-cta svg{width:22px;height:22px}
@media (hover:hover){.tdemo-frame .tdemo-cta:hover{transform:translate(-50%,-50%) scale(1.04);box-shadow:0 0 0 1px rgba(255,255,255,.28),0 12px 34px rgba(0,0,0,.5),0 0 54px rgba(255,255,255,.18)}}
.tdemo-frame.is-started .tdemo-veil,.tdemo-frame.is-started .tdemo-cta{opacity:0;pointer-events:none}

/* After the first play: the film's controls */
.tdemo-frame .tdemo-big{position:absolute;z-index:2;top:50%;left:50%;display:grid;place-items:center;width:64px;height:64px;margin:-32px 0 0 -32px;border-radius:50%;background:rgba(15,15,16,.35);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:rgba(255,255,255,.85);opacity:0;pointer-events:none;transition:opacity .2s ease}
.tdemo-big svg{width:32px;height:32px}
.tdemo-shade{position:absolute;z-index:1;left:0;right:0;bottom:0;height:135px;background:linear-gradient(to top,rgba(0,0,0,.55),rgba(0,0,0,.22) 55%,rgba(0,0,0,0));pointer-events:none;opacity:0;transition:opacity .2s ease}
.tdemo-controls{position:absolute;z-index:2;left:24px;right:24px;bottom:24px;display:flex;align-items:center;gap:16px;opacity:0;pointer-events:none;transition:opacity .2s ease}
.tdemo-controls>button{flex:none;display:grid;place-items:center;width:24px;height:24px;border-radius:6px;color:#fff}
.tdemo-controls>button svg{width:24px;height:24px}
.tdemo-time{flex:none;font-size:15px;line-height:1;font-variant-numeric:tabular-nums;color:#fff;white-space:nowrap}
.tdemo-total{color:rgba(255,255,255,.5)}
.tdemo-timeline{position:relative;flex:1 1 auto;min-width:40px;height:21px;margin-right:8px;cursor:pointer;touch-action:none;border-radius:999px}
.tdemo-track,.tdemo-buffer,.tdemo-progress{position:absolute;left:0;top:8px;height:5px;border-radius:999px}
.tdemo-track{right:0;background:rgba(255,255,255,.15)}
.tdemo-buffer{width:0;background:rgba(255,255,255,.2)}
.tdemo-progress{width:0;background:#fff}
.tdemo-controls>.tdemo-full{margin-left:-8px}
.tdemo-frame.is-started.is-paused .tdemo-big,.tdemo-frame.is-started.show-controls .tdemo-big,
.tdemo-frame.is-started.is-paused .tdemo-shade,.tdemo-frame.is-started.show-controls .tdemo-shade,
.tdemo-frame.is-started.is-paused .tdemo-controls,.tdemo-frame.is-started.show-controls .tdemo-controls{opacity:1;pointer-events:auto}
.tdemo-frame.is-started .tdemo-shade{pointer-events:none}
@media (hover:hover){
  .tdemo-frame.is-started:hover .tdemo-big,.tdemo-frame.is-started:hover .tdemo-shade,.tdemo-frame.is-started:hover .tdemo-controls,
  .tdemo-frame.is-started:focus-within .tdemo-shade,.tdemo-frame.is-started:focus-within .tdemo-controls{opacity:1}
  .tdemo-frame.is-started:hover .tdemo-big,.tdemo-frame.is-started:hover .tdemo-controls,.tdemo-frame.is-started:focus-within .tdemo-controls{pointer-events:auto}
}
.tdemo-frame .tdemo-icon-pause,.tdemo-frame.is-playing .tdemo-icon-play,
.tdemo-frame .tdemo-icon-muted,.tdemo-frame.is-muted .tdemo-icon-sound{display:none}
.tdemo-frame.is-playing .tdemo-icon-pause,.tdemo-frame.is-muted .tdemo-icon-muted{display:block}
.tdemo-frame.no-fullscreen .tdemo-full{display:none}
.tdemo-frame:fullscreen{border:0;border-radius:0}
.tdemo-frame:fullscreen .tdemo-media{object-fit:contain}
.tdemo-frame:-webkit-full-screen{border:0;border-radius:0}
.tdemo-frame:-webkit-full-screen .tdemo-media{object-fit:contain}
.tdemo-frame.is-error .tdemo-controls,.tdemo-frame.is-error .tdemo-big,.tdemo-frame.is-error .tdemo-shade,.tdemo-frame.is-error .tdemo-cta{display:none}
@supports not (aspect-ratio:1){.tdemo-frame{height:0;padding-top:56.25%}}

@media(max-width:650px){
  .tdemo{margin-top:34px;margin-bottom:40px;padding:0 20px}
  .tdemo-controls{gap:10px;left:16px;right:16px;bottom:16px}
  .tdemo-timeline{margin-right:2px}
  .tdemo-controls>.tdemo-full{margin-left:-2px}
  .tdemo-frame .tdemo-cta{gap:10px;height:48px;padding:0 24px 0 20px;font-size:18px}
  .tdemo-cta svg{width:17px;height:17px}
}
@media(max-width:480px){
  .tdemo{margin-top:46px}
  .tdemo-wrap{padding:7px;border-radius:24px}
  .tdemo-frame{border-radius:17px}
  .tdemo-frame .tdemo-cta{height:42px;padding:0 20px 0 17px;font-size:16px}
}
@media(prefers-reduced-motion:reduce){.tdemo-cta,.tdemo-veil,.tdemo-big,.tdemo-shade,.tdemo-controls{transition:none}}
