/* The film a demo plays (scrub.js): its words, device and player with 64 px
   above and below (the brief's gap from the sub), sized by the demo to fit
   one screen below the page's nav (--room); the finger; under the device the
   player (play / pause, the film's bar, its time; on Yopla's demos "Essayer
   moi-même" beside it); the fine print right under that. */
.film { position: relative; margin: 0 auto; padding: 64px 0; display: flex; flex-direction: column; justify-content: center; outline: none; }
.film > .credit { margin: 18px auto 0; padding: 0 24px; max-width: 640px; font-size: 12px; line-height: 1.5; color: #6e6e73; text-align: center; }
/* The words: one caption under the device, as Apple's highlights: the move in
   grey, what came of it in white (the page's subs read the same way) */
.film .cap { margin: 18px auto 0; padding: 0 24px; max-width: 760px; min-height: calc(2 * 1.3em); font-size: 26px; line-height: 1.3; font-weight: 600; letter-spacing: -.003em; color: #86868b; text-align: center; text-wrap: balance; }
.film .cap .mres, .film .cap .res { color: #f5f5f7; }
/* the moment's words arrive in white; once its result shows, the move steps back to
   grey and the result is the white part (owner, 2026-10-31: the changing words went unnoticed) */
.film .mtitle { font-weight: 600; color: #f5f5f7; transition: opacity .22s, color .5s; }
.film .cap:has(.mres.a) .mtitle, .film .cap:has(.res.on) .mtitle { color: #86868b; }
.film .mtitle.out { opacity: 0; }
/* While the film plays, the devices are its pictures */
.film.rolling .devices { pointer-events: none; }
.film.frozen * { animation-play-state: paused !important; }
/* The player under the device (below) */
.film .ctl { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 28px auto 0; }
/* The finger: iOS's touch mark */
.finger { position: absolute; left: 0; top: 0; z-index: 20; width: 0; height: 0; pointer-events: none; }
.finger i { position: absolute; left: calc(var(--fs, 36px) / -2); top: calc(var(--fs, 36px) / -2); width: var(--fs, 36px); height: var(--fs, 36px); border-radius: 50%;
  background: rgba(255, 255, 255, .4); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55), 0 2px 10px rgba(0, 0, 0, .35);
  opacity: 0; transform: scale(.7); transition: opacity .18s ease-out, transform .22s cubic-bezier(.3, .7, .3, 1), background-color .12s; }
.finger.on i { opacity: 1; transform: scale(1); }
.finger.down i { transform: scale(.84); background: rgba(255, 255, 255, .56); }
/* Full screen: the demo's app alone over the page (the page stretches its frame, frames.js) */
.fsl { display: none; }
html.fs .fsl { display: block; position: fixed; inset: 0; z-index: 1000; background: #000; overflow: hidden; touch-action: manipulation; }
html.fs, html.fs body { overflow: hidden; }
.fsl .fsclose { position: absolute; z-index: 1010; top: 10px; right: 12px; height: 32px; padding: 0 14px; border: 0; border-radius: 16px; background: rgba(120, 120, 128, .36);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; -webkit-tap-highlight-color: transparent; }
@media (max-width: 734px) {
  .film { padding: 24px 0; }
  .film > .credit { margin-top: 14px; }
  .film .ctl { margin-top: 18px; padding: 0 16px; }
  .film .cap { margin-top: 14px; padding: 0 20px; min-height: calc(3 * 1.3em); font-size: 19px; line-height: 1.3; }
  .film .cap:has(.mres) { min-height: calc(4 * 1.3em); }
}
@media (prefers-reduced-motion: reduce) {
  .film .mtitle, .finger i { transition: none !important; }
}

/* The film's words told in the section's headline (o.headline, frames.js): no caption under the device */
.film.told .cap { display: none; }

/* The live demos' player (scrub.js; owner, 2026-11-03, round-9/demo-scrubber C): play / pause, the
   film's bar (a press holds it where the finger is, a drag draws it as it goes), its time; beside
   it on Yopla's, "Essayer moi-même", white, gone while the phone is the visitor's */
.film .dctl { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px; width: min(560px, 86vw); }
.dcap { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 6px; border-radius: 22px; background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.film .dctl > .dcap:only-child { flex: none; width: min(460px, 86vw); }
.dpp { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; color: #f5f5f7; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.dpp:hover { background: rgba(255, 255, 255, .1); }
.dpp svg { width: 13px; height: 13px; }
.dbar { position: relative; flex: 1; min-width: 0; height: 28px; cursor: pointer; touch-action: none; outline: none; --f: 0; -webkit-tap-highlight-color: transparent; }
.dbar .tr, .dbar .fl { position: absolute; left: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 2px; transition: height .15s, margin-top .15s; }
.dbar .tr { right: 0; background: rgba(255, 255, 255, .16); }
.dbar .fl { width: calc(var(--f) * 100%); background: rgba(245, 245, 247, .8); }
.dbar .kn { position: absolute; top: 50%; left: calc(var(--f) * 100%); width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .5); transform: scale(0); transition: transform .18s; }
.dbar:hover .tr, .dbar:hover .fl, .film.held .dbar .tr, .film.held .dbar .fl, .dbar:focus-visible .tr, .dbar:focus-visible .fl { height: 5px; margin-top: -2.5px; }
.dbar:hover .kn, .film.held .dbar .kn, .dbar:focus-visible .kn { transform: scale(1); }
.film.held .dbar .kn { transform: scale(1.25); }
.film.handed .dbar .fl { background: rgba(245, 245, 247, .4); }
.dtime { flex: none; font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; color: rgba(245, 245, 247, .6); }
.trybtn { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px 0 13px; border: 0; border-radius: 18px; background: #f5f5f7; color: #000;
  font: inherit; font-size: 14px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; cursor: pointer; transition: background-color .2s, transform .15s, opacity .3s; -webkit-tap-highlight-color: transparent; }
.trybtn svg { width: 14px; height: 14px; }
.trybtn:hover { background: #fff; }
.trybtn:active { transform: scale(.97); }
.film.handed .trybtn { opacity: 0; pointer-events: none; }
@media (max-width: 734px) {
  .film .dctl { gap: 14px; width: 100%; }
  .film .dctl > .dcap { flex-basis: 100%; }
}
