/* Yopla site: the films demo on the iPhone (owner, 2026-10-31). The phone is drawn in
   the app's points (402 x 874) and zoomed to its screen, as the Sports demo's: every
   size below is the app's (MoviesScreen.compactContent, TitlePageParts, PlayCTA,
   VersionPicker). */

:root { --ink: #f5f5f7; --grey: #86868b; --live: #f2483c; --star: #ffcc33; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: #000; }
/* iOS Safari enlarges small text on its own: the app's drawn screens keep their sizes */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { color: var(--ink); font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; letter-spacing: -.01em; overflow-x: hidden; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; text-align: inherit; }
button:focus-visible { outline: 2px solid rgba(255, 255, 255, .7); outline-offset: 2px; border-radius: 10px; }

/* ---------- The section ---------- */
.films-demo { padding: 140px 22px 120px; text-align: center; }
.films-demo h2 { font-size: 64px; line-height: 1.0625; font-weight: 600; letter-spacing: -.009em; }
.films-demo h2 span { display: block; }
.films-demo h2 .g { color: var(--grey); }
.films-demo .sub { margin: 26px auto 0; max-width: 640px; font-size: 21px; line-height: 1.38; font-weight: 500; color: var(--grey); letter-spacing: .01em; }
.films-demo .sub b { color: var(--ink); font-weight: 600; }
.embed .films-demo { padding: 0 16px; }
.embed .films-demo > h2, .embed .films-demo > .sub { display: none; }
html:not(.embed) .film { margin-top: 40px; }

/* The film (../film.css), as the phones above it: its words told in the page's headline,
   the phone in the middle, the demo's one button under it, the fine print under that */
.film { padding: 28px 0 20px; }
.film .stack { display: flex; flex-direction: column; align-items: center; padding: 0; }
.film .words { display: contents; }
.film .phonebox { order: 1; }
.film .words .cap { order: 2; margin: 22px auto 0; padding: 0 24px; max-width: 760px; min-height: calc(2 * 1.3em); font-size: 24px; line-height: 1.3; text-align: center; }
.film .ctl { order: 3; margin-top: 24px; }
.film .words .credit { order: 4; margin: 16px auto 0; padding: 0 16px; font-size: 12px; line-height: 1.5; color: #6e6e73; text-align: center; }
.phonebox { position: relative; }
/* Cut at the foot, Apple's way, where the phone and its words would not fit one screen */
/* cut at its foot; panned down (--pan, films.js: the sheet up), cut at its top instead */
.phonebox.cropped { overflow: hidden; --pan: 0;
  -webkit-mask-image: linear-gradient(transparent, #000 calc(var(--pan) * 64px), #000 calc(100% - (1 - var(--pan)) * 64px), transparent);
  mask-image: linear-gradient(transparent, #000 calc(var(--pan) * 64px), #000 calc(100% - (1 - var(--pan)) * 64px), transparent); }

/* ---------- The drawn iPhone (the Sports demo's) ---------- */
.s { display: inline-block; flex: none; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.iphone { --w: 340px; position: relative; flex: none; width: var(--w); padding: calc(var(--w) * .013); border-radius: calc(var(--w) * .19);
  background: linear-gradient(145deg, #c9c9ce 0%, #5d5d62 9%, #26262a 26%, #18181b 50%, #2d2d31 72%, #6c6c71 90%, #cfcfd4 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), 0 0 0 1px rgba(0, 0, 0, .85); }
.iphone::before, .iphone::after { content: ""; position: absolute; border-radius: 2px; background: linear-gradient(90deg, #77777c, #2a2a2e); }
.iphone::before { left: calc(var(--w) * -.008); top: 21%; width: calc(var(--w) * .01); height: 6.5%; box-shadow: 0 calc(var(--w) * .2) 0 #3c3c40; }
.iphone::after { right: calc(var(--w) * -.008); top: 27%; width: calc(var(--w) * .01); height: 10%; background: linear-gradient(270deg, #77777c, #2a2a2e); }
.iphone .bezel { border-radius: calc(var(--w) * .177); background: #000; padding: calc(var(--w) * .027); }
.iphone .screen { position: relative; overflow: hidden; aspect-ratio: 402 / 874; border-radius: calc(var(--w) * .15); background: #000; isolation: isolate; }
.iphone .screen:focus-visible { outline: 2px solid rgba(255, 255, 255, .6); outline-offset: 4px; }
.iphone .island { position: absolute; z-index: 40; top: calc(var(--w) * .023); left: 50%; transform: translateX(-50%); width: calc(var(--w) * .262); height: calc(var(--w) * .077); border-radius: 999px; background: #000; pointer-events: none; }
.lifted { filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .6)); }

/* ---------- Everything in the app's points ---------- */
.pts { position: absolute; left: 0; top: 0; width: 402px; height: 874px; transform-origin: 0 0; overflow: hidden; color: #fff; letter-spacing: 0; text-align: left;
  user-select: none; -webkit-user-select: none; touch-action: manipulation; background: #000; }
.status { position: absolute; left: 0; right: 0; top: 0; height: 54px; z-index: 30; pointer-events: none; }
.status .clock { position: absolute; left: 39px; width: 70px; top: 21px; height: 22px; text-align: center; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.2px; }
.status .icons { position: absolute; right: 39px; top: 24px; display: flex; gap: 6px; align-items: center; }
.homebar { position: absolute; z-index: 31; left: 50%; bottom: 8px; width: 134px; height: 5px; margin-left: -67px; border-radius: 3px; background: #fff; pointer-events: none; }
.scr { position: absolute; inset: 0; background: #000; overflow: hidden; visibility: hidden; opacity: 0; transition: opacity .35s, transform .45s cubic-bezier(.2, .9, .25, 1), visibility 0s .45s; }
.scr.on { visibility: visible; opacity: 1; transition: opacity .35s, transform .45s cubic-bezier(.2, .9, .25, 1), visibility 0s; }
.roundbtn { position: absolute; width: 44px; height: 44px; border-radius: 22px; display: grid; place-items: center;
  background: rgba(36, 36, 38, .72); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: inset 0 .5px 0 rgba(255, 255, 255, .28), inset 0 0 0 .5px rgba(255, 255, 255, .12); }
.roundbtn .s { margin-left: -2px; }

/* The tab bar (iOS 26's), Films picked */
.tabbar { position: absolute; z-index: 25; left: 22px; top: 792px; width: 288px; height: 60px; border-radius: 30px; display: flex; align-items: center; padding: 0 4px;
  background: rgba(40, 40, 40, .62); -webkit-backdrop-filter: blur(20px) saturate(1.3); backdrop-filter: blur(20px) saturate(1.3);
  box-shadow: inset 0 .5px 0 rgba(255, 255, 255, .25), inset 0 0 0 .5px rgba(255, 255, 255, .12), 0 6px 20px rgba(0, 0, 0, .3); }
.tabbar .tab { flex: 1; height: 52px; border-radius: 26px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 10px; font-weight: 600; }
.tabbar .tab .s { width: 30px; height: 24px; }
.tabbar .tab.on { background: rgba(255, 255, 255, .1); color: var(--live); }
.searchbtn { position: absolute; z-index: 25; left: 318px; top: 792px; width: 60px; height: 60px; border-radius: 30px; display: grid; place-items: center;
  background: rgba(40, 40, 40, .62); -webkit-backdrop-filter: blur(20px) saturate(1.3); backdrop-filter: blur(20px) saturate(1.3);
  box-shadow: inset 0 .5px 0 rgba(255, 255, 255, .25), inset 0 0 0 .5px rgba(255, 255, 255, .12), 0 6px 20px rgba(0, 0, 0, .3); }
.tabfade { position: absolute; z-index: 24; left: 0; right: 0; bottom: 0; height: 150px; background: linear-gradient(to top, rgba(0, 0, 0, .85), rgba(0, 0, 0, 0)); pointer-events: none; }

/* ---------- What the provider sends: the same film, twelve times ---------- */
.raw { z-index: 2; cursor: pointer; }
.rawhead { position: absolute; left: 20px; right: 20px; top: 66px; }
.rawhead .k { font-size: 13px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.rawhead .t { margin-top: 6px; font-size: 28px; line-height: 34px; font-weight: 700; letter-spacing: .2px; }
.rawhead .n { margin-top: 2px; font-size: 15px; color: rgba(255, 255, 255, .55); }
.rawlist { position: absolute; left: 0; right: 0; top: 178px; bottom: 0; overflow: hidden; }
.rin { padding: 0 16px; transition: transform 2.6s cubic-bezier(.45, 0, .3, 1); }
.raw.scrolled .rin { transform: translateY(-300px); }
.rrow { position: relative; display: flex; align-items: center; gap: 12px; height: 78px; }
.rrow + .rrow::before { content: ""; position: absolute; left: 56px; right: 0; top: 0; height: .5px; background: rgba(84, 84, 88, .55); }
.rrow img { width: 44px; height: 66px; border-radius: 5px; object-fit: cover; flex: none; }
.rrow span { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.rrow b { font-size: 16px; line-height: 20px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rrow i { font-style: normal; font-size: 13px; color: rgba(255, 255, 255, .55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* gathered into one: each copy to the middle, gone (the film's cue: "it has one page") */
.raw.fold .rrow { transform: translateY(var(--to, 0)) scale(.86); opacity: 0;
  transition: transform .5s cubic-bezier(.55, 0, .35, 1) calc(var(--i) * 14ms), opacity .3s calc(.15s + var(--i) * 14ms); }
.raw.fold .rawhead { opacity: 0; transition: opacity .25s; }

/* ---------- Yopla's page (MoviesScreen.compactContent) ---------- */
.page { z-index: 1; transform: scale(1.04); }
.page.on { transform: none; }
.hero { position: absolute; left: 0; top: 0; width: 402px; height: 466px; overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 70%, rgba(0, 0, 0, .5) 90%, transparent); mask-image: linear-gradient(#000 70%, rgba(0, 0, 0, .5) 90%, transparent); }
.hero .art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero .shade { position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, .4) 0%, transparent 22%, transparent 50%, rgba(0, 0, 0, .7) 82%, #000 100%); }
.hero .logo { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); max-width: 300px; max-height: 96px; object-fit: contain; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .5)); }
.page .body { position: absolute; left: 16px; right: 16px; top: 466px; }
.facts { text-align: center; }
.facts .l1 { height: 17px; font-size: 13px; line-height: 17px; font-weight: 500; color: rgba(255, 255, 255, .75); white-space: nowrap; }
.facts .l2 { height: 18px; margin-top: 6px; display: flex; justify-content: center; align-items: center; }
.facts .star { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; }
.facts .star .s { color: var(--star); }
.cta { margin-top: 18px; width: 100%; height: 46px; border-radius: 23px; background: #fff; color: #000; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; font-weight: 600;
  transition: transform .15s, background-color .15s; }
.cta.pressed { transform: scale(.97); background: #dcdcdc; }
.acts { margin-top: 16px; display: flex; }
.act { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 7px; }
.act .ic { height: 26px; display: grid; place-items: center; }
.act .ic .s { grid-area: 1 / 1; }
.act > span:last-child { font-size: 11px; font-weight: 500; color: rgba(255, 255, 255, .7); }
.mylist .tick, .mylist.listed .add { display: none; }
.mylist.listed .tick { display: inline-block; }
.sum { margin-top: 18px; font-size: 14px; line-height: 20px; color: rgba(255, 255, 255, .82); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.page .h { margin-top: 30px; font-size: 20px; font-weight: 700; }
.castrow { margin-top: 12px; display: flex; gap: 14px; }
.person { width: 84px; flex: none; display: flex; flex-direction: column; align-items: center; text-align: center; }
.person img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; background: #1c1c1e; }
.person b { margin-top: 8px; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 84px; }
.person i { font-style: normal; font-size: 12px; color: rgba(255, 255, 255, .55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 84px; }
.pback { left: 16px; top: 62px; z-index: 5; }

/* ---------- "Choisissez une version" (VersionPicker): iOS 26's sheet, at its content's height ---------- */
.veil { position: absolute; inset: 0; z-index: 26; background: rgba(0, 0, 0, 0); pointer-events: none; transition: background-color .35s; }
.veil.on { background: rgba(0, 0, 0, .45); pointer-events: auto; }
.sheet { position: absolute; z-index: 27; left: 8px; right: 8px; bottom: 8px; height: 560px; border-radius: 38px; overflow: hidden;
  background: rgba(28, 28, 30, .94); -webkit-backdrop-filter: blur(30px) saturate(1.4); backdrop-filter: blur(30px) saturate(1.4);
  box-shadow: inset 0 .5px 0 rgba(255, 255, 255, .22), 0 -10px 40px rgba(0, 0, 0, .5);
  transform: translateY(calc(100% + 20px)); transition: transform .5s cubic-bezier(.2, .95, .25, 1), height .35s cubic-bezier(.3, .8, .3, 1); }
.sheet.on { transform: none; }
.grab { position: absolute; left: 50%; top: 6px; width: 36px; height: 5px; margin-left: -18px; border-radius: 3px; background: rgba(255, 255, 255, .3); }
.lvl { position: absolute; left: 16px; right: 16px; top: 0; padding-bottom: 20px; transition: opacity .2s; }
.lvl.two, .sheet.two .lvl.one { opacity: 0; pointer-events: none; }
.sheet.two .lvl.two { opacity: 1; pointer-events: auto; transition: opacity .2s .12s; }
.shead { display: flex; align-items: center; gap: 13px; padding: 24px 0 18px 4px; }
.shead img { width: 42px; height: 63px; border-radius: 7px; object-fit: cover; box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .15); }
.shead span { display: flex; flex-direction: column; gap: 3px; }
.shead b { font-size: 17px; font-weight: 600; }
.shead i { font-style: normal; font-size: 14px; color: rgba(255, 255, 255, .58); }
.lang { padding: 0 0 9px 18px; font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, .58); }
.grp { border-radius: 22px; background: rgba(255, 255, 255, .075); overflow: hidden; }
.grp .sep { display: block; height: .5px; margin-left: 52px; background: rgba(255, 255, 255, .12); }
.vrow { width: 100%; display: flex; align-items: flex-start; gap: 14px; padding: 12px 18px; transition: background-color .15s; }
.vrow .pl { width: 20px; height: 20px; flex: none; display: grid; place-items: center; }
.vrow .tx { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.vrow b { font-size: 17px; line-height: 22px; font-weight: 400; }
.vrow i { font-style: normal; font-size: 13px; color: rgba(255, 255, 255, .58); }
.vrow.pressed, .vrow:active, .more.pressed, .more:active { background: rgba(255, 255, 255, .1); }
.more { margin-top: 20px; width: 100%; display: flex; align-items: center; gap: 14px; padding: 13px 16px 13px 18px; border-radius: 22px; background: rgba(255, 255, 255, .075); }
.more .sp { width: 20px; flex: none; }
.more .tx { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.more b { font-size: 17px; font-weight: 400; }
.more i { font-style: normal; font-size: 13px; color: rgba(255, 255, 255, .58); }
.more .chev { color: rgba(255, 255, 255, .35); }
.l2head { position: relative; height: 66px; margin-top: 8px; display: grid; place-items: center; }
.l2head b { font-size: 17px; font-weight: 600; }
.l2back { left: 0; top: 11px; }

/* ---------- The film playing, upright ---------- */
.player { z-index: 28; transform: translateY(24px); }
.player.on { transform: none; }
.pclose { position: absolute; left: 16px; top: 60px; width: 44px; height: 44px; display: grid; place-items: center; z-index: 2; }
.pic { position: absolute; left: 0; top: 300px; width: 402px; height: 226px; overflow: hidden; background: #000; }
.pic img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.02); transition: opacity .5s; }
/* the picture drifts as a film plays (films.js: the drift follows the film's time) */
.player.rolling .pic img { opacity: 1; }
.pic .spin { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .25); border-top-color: #fff; animation: spin .8s linear infinite; }
.player.rolling .pic .spin { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.pinfo { position: absolute; left: 20px; right: 20px; top: 560px; }
.pinfo b { display: block; font-size: 17px; font-weight: 600; }
.pinfo .pl2 { margin-top: 5px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .6); }
.badge { height: 18px; padding: 0 5px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); display: inline-grid; place-items: center; font-size: 10px; font-weight: 700; letter-spacing: .3px; color: rgba(255, 255, 255, .85); }
.pbar { position: absolute; left: 20px; right: 20px; top: 626px; height: 4px; }
.pbar .tr, .pbar .fl { position: absolute; left: 0; top: 0; height: 4px; border-radius: 2px; }
.pbar .tr { right: 0; background: rgba(255, 255, 255, .24); }
.pbar .fl { width: 2px; background: var(--live); }
.pbar .kn { position: absolute; left: 0; top: 2px; width: 12px; height: 12px; margin: -6px 0 0 -4px; border-radius: 50%; background: #fff; }
.ptime { position: absolute; left: 20px; right: 20px; top: 640px; display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .6); font-variant-numeric: tabular-nums; }

/* The film draws the phone from its time (films.js, pose): no transitions of its own, but a finger's press */
.pts.posed, .pts.posed *:not(.cta):not(.vrow) { transition: none !important; }
.pts.posed .pic .spin { animation: none; }
/* A finger on it: the app's highlight */
.act.pressed { opacity: .6; }

/* ---------- A phone: the words above, the phone cut at its foot ---------- */
@media (max-width: 734px) {
  .film { padding: 24px 0; }
  .films-demo { padding: 96px 16px 90px; }
  .films-demo h2 { font-size: 40px; line-height: 1.1; }
  .films-demo .sub { font-size: 19px; margin-top: 16px; }
  .film .words .cap { margin: 14px auto 0; padding: 0 8px; min-height: calc(3 * 1.35em); font-size: 17px; line-height: 1.35; }
  .film .ctl { order: 4; margin: 16px 0 0; padding: 0; }
  .film .words .credit { order: 5; margin: 14px auto 0; }
}
@media (prefers-reduced-motion: reduce) {
  .scr, .sheet, .veil, .rin, .raw.fold .rrow { transition: none !important; }
  .pic .spin { animation: none; }
}

/* The full screen on a phone (../film.css): the drawn page at the screen's own size */
.fsl .fshost { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); overflow: hidden; }
.fsl .status > * { visibility: hidden; }
.fsl .homebar { display: none; }
.fsl .tabbar, .fsl .searchbtn { top: auto; bottom: 22px; }
