/* The site run as an app: inside the Android app (a Trusted Web Activity of
   the site, android/) or installed on a home screen. Every page links this
   sheet with media="(display-mode: standalone)": there it applies from the
   first paint, and in a browser tab never (`?app` in the address tries it in
   one: initChrome of ui.js then opens the media of the link). What it does
   follows the iPhone app (ios/Cinetab/App/Root.swift, ExploreScreen.swift;
   Ludoc, 14/11/2026): the bar at the bottom, a header that keeps the logo
   alone with the chips of the home page under it, a home page that opens on
   the field, a page that fades into the next while the bar stays. Linked
   after site.css, whose rules it overrides at equal weight; `:root` in front
   where site.css says more. */

/* ---------- The bar ---------- */
/* Five buttons in a floating pill, written in every page and wired by
   appbar.js: home, search, "Surprise me" (a clock in a strip of film), My list,
   My space. The measures of the bar of the iPhone on a grid of 4: cells of 56
   by 48, 8 between them and around (330 by 66 with its line, as the app), 8
   above the bottom of the screen. */
:root { --appbar-h: 66px; }
:root body { padding-bottom: calc(var(--appbar-h) + 28px + env(safe-area-inset-bottom, 0px)); }
/* Behind the bar the page fades into the ground (PillFade of the app): the
   icons stay readable over a poster; darker since 15/11/2026, for the bar to
   stand out (Ludoc). */
body::after { content: ''; position: fixed; inset: auto 0 0; z-index: 3; height: 170px; background: linear-gradient(color-mix(in srgb, var(--bg) 0%, transparent), color-mix(in srgb, var(--bg) 80%, transparent) 45%, color-mix(in srgb, var(--bg) 97%, transparent)); pointer-events: none; }
.appbar { position: fixed; inset-inline: 0; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); z-index: 4; display: flex; align-items: center; gap: 8px; width: fit-content; margin-inline: auto; padding: 8px; border: 1px solid var(--veil-line); border-radius: 32px; background: rgba(22, 22, 25, .6); box-shadow: 0 10px 32px rgba(0, 0, 0, .45); backdrop-filter: blur(20px) saturate(1.3); -webkit-backdrop-filter: blur(20px) saturate(1.3); transition: scale .33s var(--spring-menu), opacity .15s ease-out; view-transition-name: appbar; }
/* A script still in a cache draws a bar of its own: the written one gives way. */
.appbar:has(~ .appbar) { display: none; }
/* Smaller once the page is read further down, back at its size as soon as it
   goes up again (appbar.js), one scale for the whole bar around its middle,
   as the app (0.83, 0.33 s, no bounce). */
.appbar.is-small { scale: .83; }
/* Gone while a field is typed in, as the app hides its bar under the keyboard. */
body:has(.top--searching) .appbar, body:has(.find input:focus) .appbar { opacity: 0; pointer-events: none; }
.appbar__item { display: grid; place-items: center; width: 56px; height: 48px; padding: 0; border: 0; border-radius: 24px; background: none; color: var(--text-2); font: inherit; cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; transition: background-color .15s, color .15s; }
.appbar__item:active { background: rgba(255, 255, 255, .06); }
.appbar__item:focus-visible { color: var(--text); }
@media (hover: hover) and (pointer: fine) { .appbar__item:hover { color: var(--text); } }
/* The button of the page shown. Until the script has marked it, the search
   belongs to the magnifying glass, « Mon Cinetab » to the picture with play,
   and every page but those of the member to home. */
.appbar__item.is-active, body:not(.page-me, .page-mine, .page-search) .appbar:not(.is-wired) [data-key="home"], .page-search .appbar:not(.is-wired) [data-key="search"], .page-mine .appbar:not(.is-wired) [data-key="later"] { color: var(--text); background: rgba(255, 255, 255, .12); }
.appbar__icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.appbar__item.is-active .appbar__icon, body:not(.page-me, .page-mine, .page-search) .appbar:not(.is-wired) [data-key="home"] .appbar__icon, .page-search .appbar:not(.is-wired) [data-key="search"] .appbar__icon, .page-mine .appbar:not(.is-wired) [data-key="later"] .appbar__icon { stroke-width: 2.4; }
.appbar__moment .popcorn { width: 40px; height: 40px; }
/* "Surprise me": a picture with play, its frame red and its play white, as
   in the iPhone app (PlayMark; Ludoc, 15/11/2026), a line and not a red
   block, which would be YouTube's mark. The colours here go over the ones
   written in the pages, there for a page that has not this sheet yet. Before
   it the same day, a clock in a strip of film, and the folder of the logo:
   their rules stay for a page still in cache. */
.appbar__play { display: block; width: 40px; height: 40px; }
.appbar__play-frame { stroke: var(--accent); }
.appbar__play-arrow { fill: var(--text); stroke: var(--text); }
.appbar__clock { display: block; width: 36px; height: 36px; translate: 0 -2.5px; }
.appbar__clock-ring { stroke: var(--accent); }
.appbar__clock-holes { fill: var(--text); }
.appbar__clock-hands { stroke: var(--text); }
@media (max-width: 359px) {
  .appbar { gap: 4px; padding: 6px; }
  .appbar__item { width: 52px; }
}
@media (prefers-reduced-motion: reduce) { .appbar, .appbar__item { transition: none; } }

/* What the bar stands for goes: the menu at the bottom of the site, the
   button of "Surprise me" in the header, the sticky "Add a video" of a work,
   the block and the band that offer the apps. */
:root :is(.menubar, .top__moment, .film-add, .apps, .ray--apps) { display: none; }
/* « Vos retours » is for the site only (site.css shows it with !important). */
:root .top .top__feedback[hidden] { display: none !important; }
:root .toast { bottom: calc(var(--appbar-h) + 28px + env(safe-area-inset-bottom, 0px)); }

/* ---------- The header, on a phone ---------- */
/* The logo alone, as in the app: signing in and the languages of the videos
   are in My space, the magnifier is in the bar (its button stays in the page,
   the bar clicks it to unfold the field). */
@media (max-width: 720px) {
  :root .top :is(.top__signin, .avatar, .top__lang, .top__search-btn) { display: none; }
  /* Home, Films, Series, Countries: chips under the logo, on those four
     pages, where the site has its menu at the bottom. */
  :is(.page-home, .page-list, .page-countries) .top__in { flex-wrap: wrap; height: auto; min-height: var(--top-h); }
  /* The row runs to the edges of the screen, past the 20px of the page. */
  :is(.page-home, .page-list, .page-countries) .top .nav { display: flex; order: 1; flex: 1 0 100%; gap: 8px; margin: 0 -20px; padding: 4px 20px 12px; overflow-x: auto; scrollbar-width: none; font: 600 14px/1 var(--font); }
  .top .nav::-webkit-scrollbar { display: none; }
  .top .nav a { flex: none; display: grid; place-items: center; height: 36px; padding: 0 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); color: var(--text-nav); touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
  .top .nav a:active { background: var(--surface-hi); }
  .top .nav a[aria-current="page"] { border-color: var(--text); background: var(--text); color: var(--bg); }
  .top .nav a[aria-current="page"]::after, .top .nav__line { display: none; }
  .top .nav a:is([href$="new"], [href$="feed"]) { display: none; }
  .top--searching .top__in > .nav { display: none; }
  .page-countries .top__back { display: none; }
}

/* ---------- A work page ---------- */
/* "Filming locations" leaves the pills under the title, as in the app
   (Ludoc, 14/11/2026): credits and where to watch stay. */
.film-pills .places { display: none; }

@media (max-width: 720px) {
  /* "+" and "Share" at the right of the header, beside the logo: icons alone,
     44 to the touch, as the top bar of the app (written in site/film.html,
     wired by film.js). The pair under the heart goes, so the videos come up;
     only when the page has them in its header (a page kept from before).
     Written `hidden`, which site.css holds with !important: shown here only,
     so that a browser tab, or a sheet still in a cache, never sees them. */
  .page-work .top__work[hidden] { display: flex !important; flex: none; margin-left: auto; margin-right: -12px; }
  .top__icon { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--text); cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; transition: opacity .15s; }
  .top__icon:active { opacity: .6; }
  .top__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  /* The box of the share icon hangs lower than "+": raised a little, as the app does. */
  .top__icon .share__icon { width: 19px; height: 19px; translate: 0 -1px; }
  :root:has(.top__work) .film-side__round { display: none; }

  /* The poster on the left, 68 by 102 as in the app, and beside it the year,
     the title and the pills, held to its top; a long title runs down beside
     it. The summary, the heart and the saga under them, across the screen. */
  .film-head {
    --type-work: 28px;
    grid-template-columns: 68px 16px minmax(0, 1fr);
    grid-template-rows: auto auto 1fr auto auto auto;
    grid-template-areas:
      "poster   .        title"
      "poster   .        pills"
      "poster   .        ."
      "overview overview overview"
      "side     side     side"
      "sagalist sagalist sagalist";
    align-items: start;
  }
  :root .film-head .poster { display: flex; width: 68px; padding: 6px; box-shadow: 0 8px 20px rgba(0, 0, 0, .4); }
  .film-head .poster__title { font-size: 11px; }
  .film-head h1 { margin-top: 0; }
  .film-head__saga + h1 { margin-top: 4px; }
  .film-pills { margin-top: 12px; }
}

/* ---------- The page of a video, on a phone ---------- */
/* As the video screen of the iPhone app (VideoScreen.swift, VideoShelves.swift;
   Ludoc, 14/11/2026): a bar in place of the header, the player across the
   screen, the title smaller, « J'aime » taking the room left, the flag alone,
   then the work's videos in a grey band. What only the app has is written
   `hidden` by video.js: shown here, with !important over that of site.css. */
@media (max-width: 720px) {
  /* The header goes but for the search the bar of the bottom unfolds in it. */
  .page-video .top:not(.top--searching) { display: none; }
  .page-video .watch { padding-top: 0; }
  .page-video .watch__crumb { display: none; }
  /* Back, the work's title (it opens the work), « Partager »: 44 tall, 8 in from the edges. */
  .page-video .watch__bar[hidden] { display: flex !important; align-items: center; gap: 4px; height: 44px; margin: 0 calc(8px - var(--gutter)) 6px calc(12px - var(--gutter)); }
  .watch__bar-title { flex: 1; min-width: 0; overflow: hidden; font: 500 16px/44px var(--font); color: var(--text-2); white-space: nowrap; text-overflow: ellipsis; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
  .watch__bar-title:active { color: var(--text); }
  .watch__bar .watch__bar-icon { width: 22px; height: 22px; }
  /* The player across the screen, square at its corners. */
  .page-video .watch__player { margin-inline: calc(-1 * var(--gutter)); border-radius: 0; }
  /* The title, then the channel, the language, its length, the season. */
  .page-video .watch__title { margin-top: 14px; font-size: 19px; line-height: 1.3; letter-spacing: -.3px; }
  .page-video .watch__by { margin-top: 8px; font-size: 14px; }
  .page-video .watch__dur[hidden] { display: contents !important; }
  /* One row of 44: « J'aime » takes what is left, « Ma liste » its word, the
     flag a square; « Partager » is in the bar. */
  .page-video .watch__acts { flex-wrap: nowrap; gap: 8px; margin-top: 14px; }
  .page-video .watch__acts-main :is(.watch__like, .later--text) { border-radius: 12px; }
  .page-video .watch__acts-main .watch__like { flex: 1 1 auto; min-width: 0; gap: 8px; padding: 0 10px; font-size: 14px; font-weight: 700; }
  .page-video .watch__like[aria-pressed="false"] { background: var(--like-tint, rgba(201, 36, 63, .16)); border-color: var(--like-line, rgba(201, 36, 63, .55)); }
  .page-video .watch__like[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); }
  /* Given, the heart full in the colour of the words, on the red (the app's). */
  .page-video .watch__like .watch__thumb--full { fill: var(--text); stroke: var(--text); }
  .page-video .watch__acts-main .later--text { flex: none; gap: 7px; padding: 0 14px 0 12px; border-color: var(--line); font-size: 13px; }
  .page-video .watch__acts .watch__share { display: none; }
  .page-video .watch__acts .report { display: grid; place-items: center; flex: none; width: 44px; height: 44px; margin: 0; padding: 0; color: var(--text-3); }
  .page-video .report__word { display: none; }
  .page-video .report__flag[hidden] { display: block !important; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  /* The work's videos: a grey band between two lines, as the first row (the
     app's): its title, the work, « Tout voir », the cards; no card of the
     work, no pills (the category of the video, as the app). */
  .page-video .wpanel { padding: 22px 0 26px; background: var(--surface-section); }
  .page-video :is(.wpanel__work, .wpanel__rule, .wpills__box, .wpanel__more) { display: none; }
  .page-video .wpanel__head[hidden] { display: flex !important; padding-inline: var(--gutter); }
  .page-video .wpanel.is-alone .wpanel__head[hidden] { display: none !important; }
  .page-video .wpanel__head { margin-bottom: 6px; }
  .page-video .wlist { margin-top: 0; }
}

/* ---------- The home page ---------- */
/* It opens on the field: the title that presents the site to a visitor stays
   for the readers of screens only, its lines, the popular searches and the
   "Search" button go (the key of the keyboard sends). */
.page-home .hero { padding-block: 8px 24px; }
.page-home .hero h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.page-home :is(.hero__intro, .hero__popular, .find__go) { display: none; }
.page-home .find { margin-top: 0; }
.page-home .find__form { padding-right: 14px; }
/* As in the app (RayHead): « Tout voir », « La carte » grey, a red chevron
   after them; the genres without the light line of the site (23/11/2026). */
.page-home .ray__head .ray__more { display: inline-flex; flex: none; align-items: center; gap: 6px; font: 600 14px/1 var(--font); color: var(--text-2); }
.page-home .ray__head .ray__more::after { content: ''; width: 6px; height: 6px; border: solid var(--accent-text); border-width: 2px 2px 0 0; rotate: 45deg; }
.page-home .ray__head .ray__arrow { display: none; }
.page-home .genre-card::after { display: none; }

/* ---------- From a page to the next ---------- */
/* The page fades into the next in 0.2 s, the way Android does, the same
   forward and back; the bar, named, stays where it is. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root), ::view-transition-group(appbar) { animation-duration: .2s; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

/* ---------- My list and My space, on a phone ---------- */
/* As the screens « Ma liste » and « Moi » of the iPhone app (MeScreen.swift,
   MyVideosScreen.swift; Ludoc, 14/11/2026): me.js draws them when this sheet
   says so with --me-app, so that a sheet still in a cache keeps the page of
   the site. Lines of 54 on the surface, the list of the videos as the app's
   (a picture of 150 at the left), the pages of « Moi » under a bar with the
   arrow back. */
@media (max-width: 720px) {
  :root { --me-app: 1; }
  /* The blue glow at the top, as every screen of the app without a work (redTop). */
  .page-me main:has(> .mapp, > .mapp-sub) { position: relative; }
  .page-me main:has(> .mapp, > .mapp-sub)::before { content: ''; position: absolute; top: calc(-1 * var(--top-h)); inset-inline: 0; z-index: -1; height: 420px; background: radial-gradient(ellipse 80% 60% at 50% 0%, var(--glow-top), transparent 70%); pointer-events: none; }
  /* Gone while a field is typed in, as the app hides its bar under the keyboard. */
  body:has(:is(.mapp__field, .mapp__input):focus) .appbar { opacity: 0; pointer-events: none; }

  .mapp { padding: 8px var(--gutter) 40px; }

  /* A page that invites (Invite, InvitePage): in the middle of what lies
     between the header and the bar; the picture 148, the title 24 heavy and
     white, the line grey, « Connexion » the width of its words. */
  .mapp__invite { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: calc(100svh - var(--top-h) - var(--appbar-h) - 28px - env(safe-area-inset-bottom, 0px)); padding: 24px 32px; text-align: center; }
  .mapp__picture { width: 148px; height: 148px; object-fit: contain; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
  .mapp__invite h1:not(.sr-only) { max-width: 340px; margin: 28px 0 0; font: 800 24px/1.25 var(--font); letter-spacing: -.4px; color: var(--text); }
  .mapp__invite p { max-width: 340px; margin: 8px 0 0; font: 400 15px/1.45 var(--font); color: var(--text-2); }
  /* Without a title, the words larger and lighter. */
  .mapp__invite.is-plain p { max-width: 320px; margin-top: 20px; font-size: 17px; line-height: 1.4; color: var(--text-soft); }
  .mapp__go { display: inline-grid; place-items: center; min-height: 46px; margin-top: 24px; padding: 0 32px; border: 0; border-radius: var(--r-ctl); font: 700 16px/1 var(--font); touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
  .mapp__go:active { opacity: .75; }
  /* Under the arrow of a list emptied (« Ma liste »): what is left of the screen. */
  .mapp__bar + .mapp__invite { min-height: calc(100svh - var(--top-h) - var(--appbar-h) - 72px - env(safe-area-inset-bottom, 0px)); }

  /* « Moi »: the face, 56, and its camera; the name 22 heavy, the address under it. */
  .mapp__who { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
  .mapp__face-box { position: relative; flex: none; }
  .mapp__face { position: relative; display: block; width: 56px; height: 56px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--text); cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
  .mapp .mapp__portrait { display: grid; place-items: center; width: 56px; height: 56px; overflow: hidden; border-radius: 50%; background: var(--surface-hi); font: 800 22px/1 var(--font); color: var(--text); }
  .mapp__portrait img { width: 100%; height: 100%; object-fit: cover; }
  .mapp__cam { position: absolute; right: -2px; bottom: -2px; display: grid; place-items: center; width: 22px; height: 22px; border: 2px solid var(--bg); border-radius: 50%; background: var(--surface); }
  .mapp__cam-icon { width: 12px; height: 12px; fill: none; stroke: var(--text); stroke-width: 2.4; stroke-linejoin: round; }
  .mapp__menu { position: absolute; top: 64px; left: 0; z-index: 5; display: grid; min-width: 220px; padding: 6px 0; border: 1px solid var(--line); border-radius: var(--r-window); background: var(--surface); box-shadow: var(--shadow-pop); }
  .mapp__menu button { min-height: 44px; padding: 0 16px; border: 0; background: none; color: var(--text); font: 600 15px/1 var(--font); text-align: left; }
  .mapp__menu button:active { background: var(--surface-hi); }
  .mapp__menu .is-danger { color: var(--accent-text); }
  .mapp__names { display: grid; gap: 3px; min-width: 0; }
  .mapp__name { margin: 0; overflow: hidden; font: 800 22px/1.25 var(--font); color: var(--text); white-space: nowrap; text-overflow: ellipsis; }
  .mapp__mail { overflow: hidden; font: 400 13px/1.3 var(--font); color: var(--text-2); white-space: nowrap; text-overflow: ellipsis; }
  .mapp__note:not(:empty) { margin: 0 0 14px; font: 400 14px/1.4 var(--font); color: var(--accent-text); }
  .mapp__note:empty { display: none; }

  .mapp__hint { margin: 12px 0 0; font: 400 13px/1.4 var(--font); color: var(--text-2); }

  /* A line of « Réglages »: its symbol, its name, what it holds, the chevron. */
  .mapp__rows { display: grid; gap: 10px; }
  .mapp__row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 54px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); font: 600 16px/1.25 var(--font); text-align: left; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; transition: background-color .15s; }
  .mapp__row:active { background: var(--surface-hi); }
  .mapp__glyph { flex: none; width: 24px; height: 21px; fill: none; stroke: var(--text-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .mapp__label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mapp__value { flex: none; max-width: 45%; overflow: hidden; font: 400 14px/1.3 var(--font); color: var(--text-2); white-space: nowrap; text-overflow: ellipsis; }
  .mapp__chev { flex: none; width: 13px; height: 13px; fill: none; stroke: var(--text-3); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
  .mapp__row--switch { padding-block: 10px; }
  .mapp__row--switch .mapp__label { display: grid; gap: 3px; white-space: normal; }
  .mapp__row--switch small { font: 400 13px/1.3 var(--font); color: var(--text-2); }
  .mapp__row--out { margin-top: 28px; }
  /* « Réglages » (MeScreen of the app; Ludoc, 15/11/2026): the title 30
     heavy, the face and the name, then cards of lines touching one another, a
     hairline between them under their names (RowCard), 14 apart. */
  .mapp--me > .mapp__title { margin: 0 0 12px; }
  .mapp__cards { display: grid; gap: 14px; }
  .mapp__card { display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
  .mapp__card > .mapp__row { position: relative; border: 0; border-radius: 0; background: none; }
  .mapp__card > .mapp__row:active { background: var(--surface-hi); }
  .mapp__card > .mapp__row--info:active { background: none; }
  .mapp__card > * + .mapp__row::before { content: ''; position: absolute; top: 0; right: 0; left: 50px; height: 1px; background: var(--line); }
  .mapp__change { display: none; }
  .mapp--me > .mapp__card { margin-top: 14px; }
  .mapp--me > .mapp__hint { margin: 8px 4px 0; color: var(--text-3); }
  .mapp--me > .mapp__hint:empty { display: none; }
  .mapp--me > .mapp__hint.is-wrong { color: var(--accent-text); }
  /* A visitor: why an account, and « Connexion » across, the one red button. */
  .mapp__why { margin: 0 0 12px; }
  .mapp__signin { display: grid; place-items: center; width: 100%; min-height: 48px; margin-bottom: 24px; border: 0; border-radius: var(--r-ctl); font: 700 16px/1 var(--font); touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
  /* The ⓘ at the right of the address, and who sees what in its bubble, under it. */
  .mapp__info { display: grid; place-items: center; flex: none; width: 44px; height: 44px; margin: -6px -10px -6px 0; padding: 0; border: 0; background: none; color: var(--text-2); touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
  .mapp__info:active { opacity: .6; }
  .mapp__info-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
  .mapp__tip { max-width: min(300px, calc(100vw - 2 * var(--gutter))); padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-hi); color: var(--text); font: 400 15px/1.45 var(--font); box-shadow: var(--shadow-pop); }
  @supports (position-area: bottom) {
    .mapp__info { anchor-name: --who-sees; }
    .mapp__tip { position-anchor: --who-sees; position-area: bottom span-left; position-try-fallbacks: flip-block; inset: auto; margin: 4px 0; }
  }
  /* Far from « Se déconnecter », and quiet. */
  .mapp__delete { display: block; width: 100%; min-height: 44px; margin-top: 64px; padding: 0; border: 0; background: none; color: var(--text-3); font: 600 14px/1 var(--font); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .mapp__confirm { margin-top: 40px; padding: 18px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
  .mapp__confirm h2 { margin: 0; font: 700 17px/1.3 var(--font); }
  .mapp__confirm p { margin: 8px 0 0; font: 400 14px/1.45 var(--font); color: var(--text-2); }
  .mapp__confirm-go { display: flex; gap: 8px; margin-top: 16px; }
  .mapp__confirm-go .btn { flex: 1; min-height: 44px; }

  /* The bar of a page of « Moi » (TopBar): the arrow, the title grey, 44 tall. */
  .mapp__bar { display: flex; align-items: center; gap: 4px; height: 44px; margin: 0 calc(8px - var(--gutter)) 12px; }
  .mapp--list > .mapp__bar { margin-inline: 8px; margin-bottom: 0; }
  .mapp__back { display: grid; place-items: center; flex: none; width: 44px; height: 44px; color: var(--text); touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
  .mapp__back:active { opacity: .6; }
  .mapp__icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .mapp__bar-title { flex: 1; min-width: 0; margin: 0; overflow: hidden; font: 400 14px/44px var(--font); color: var(--text-2); white-space: nowrap; text-overflow: ellipsis; }
  .mapp__save { flex: none; min-height: 44px; padding: 0 12px; border: 0; background: none; color: var(--text); font: 700 16px/1 var(--font); }
  .mapp__save:disabled { color: var(--text-3); }
  /* The tabs of the site under that bar: their own title goes. */
  .mapp-sub { display: block; padding-top: 8px; }
  .mapp-sub > .space__main > .mapp__bar { margin-bottom: 4px; }
  .mapp-sub .space__panel > div > .space__head { display: none; }

  /* The pseudo and the languages. */
  .mapp--page { padding-top: 8px; }
  .mapp__body { display: grid; }
  .mapp__lead { margin: 0; font: 400 15px/1.45 var(--font); color: var(--text-2); }
  .mapp__input { height: 52px; margin-top: 16px; padding: 0 14px; border: 1px solid var(--ghost-line-hi); border-radius: 12px; background: var(--surface); color: var(--text); font: 400 16px/1 var(--font); }
  .mapp__body > .mapp__hint { margin-top: 8px; color: var(--text-3); }
  .mapp__problem:not(:empty) { margin: 12px 0 0; font: 600 14px/1.4 var(--font); color: var(--accent-text); }
  .mapp__langs { display: grid; margin-top: 16px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
  .mapp__langs .radio { display: flex; align-items: center; gap: 12px; min-height: 52px; margin: 0; padding: 0 14px; font: 600 16px/1.2 var(--font); }
  .mapp__langs .radio + .radio { border-top: 1px solid var(--line); }

  /* « Compte et confidentialité » and « Changer d'adresse » (AccountPage and EmailPage of the app). */
  .mapp__section { margin: 24px 4px 8px; font: 600 14px/1.3 var(--font); color: var(--text-2); }
  .mapp__account > .mapp__section:first-child { margin-top: 8px; }
  .mapp__account > .mapp__lead + .mapp__rows { margin-top: 12px; }
  .mapp__section + .mapp__lead { margin-inline: 4px; }
  .mapp__account .mapp__rows + .mapp__rows:not(:empty) { margin-top: 10px; }
  .mapp__account .mapp__rows > .mapp__hint { margin: 0 4px; color: var(--text-3); }
  .mapp__account > .mapp__hint { margin: 8px 4px 0; color: var(--text-3); }
  .mapp__account > .mapp__hint.is-wrong { color: var(--accent-text); }
  .mapp__row--info:active { background: var(--surface); }
  .mapp__mailbox { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mapp__row[aria-busy="true"] { opacity: .6; }
  .mapp__account .account__code-box { margin-top: 20px; }
  .mapp__account .account__code-box .mapp__input { margin-top: 8px; }
  .mapp__account .account__problem:not(:empty) { margin-top: 12px; }
  .mapp__account .account__lost { margin-top: 20px; }

  /* « Ma liste », « Vidéos aimées », « Historique »: the title 30 heavy, then
     the field, the pills, « Trier par » and the lines, 16 apart. */
  .mapp--list { padding-inline: 0; }
  .mapp__title { min-height: 44px; margin: 8px var(--gutter) 0; font: 800 30px/44px var(--font); letter-spacing: -.6px; color: var(--text); }
  .mapp__tools { display: grid; gap: 16px; margin-top: 16px; }
  .mapp__find { display: flex; align-items: center; gap: 10px; min-height: 48px; margin: 0 var(--gutter); padding: 0 6px 0 14px; border: 1px solid var(--ghost-line-hi); border-radius: 8px; background: var(--cool-veil, rgba(0, 0, 0, .6)); }
  .mapp__find:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
  .mapp__lens { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--text-3); stroke-width: 2.2; stroke-linecap: round; }
  .mapp__field { flex: 1; min-width: 0; height: 46px; padding: 0; border: 0; background: none; color: var(--text); font: 400 16px/1 var(--font); outline: 0; -webkit-appearance: none; appearance: none; }
  .mapp__field::placeholder { color: var(--text-3); }
  .mapp__field::-webkit-search-cancel-button { display: none; }
  .mapp__clear { display: grid; place-items: center; flex: none; width: 36px; height: 36px; padding: 0; border: 0; background: none; color: var(--text-3); }
  .mapp__clear-icon { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
  .mapp__pills { display: flex; gap: 8px; padding: 0 var(--gutter); overflow-x: auto; scrollbar-width: none; }
  .mapp__pills::-webkit-scrollbar { display: none; }
  .mapp__pill { flex: none; min-height: 34px; padding: 0 14px; border: 1px solid var(--cool-line, #24242a); border-radius: var(--r-pill); background: var(--cool-veil, rgba(0, 0, 0, .6)); color: var(--text-2); font: 600 14px/1 var(--font); white-space: nowrap; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; transition: background-color .15s, color .15s, border-color .15s; }
  .mapp__pill[aria-pressed="true"] { border-color: var(--text); background: var(--text); color: var(--bg); font-weight: 700; }
  /* « Trier par », then the order in big letters and its triangle. */
  .mapp__sort { justify-self: start; display: grid; gap: 1px; margin: 0 var(--gutter) 2px; padding: 0; border: 0; background: none; color: var(--text); text-align: left; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
  .mapp__sort-by { font: 600 13px/1.3 var(--font); color: var(--text-2); }
  .mapp__sort-value { display: flex; align-items: center; gap: 10px; font: 800 20px/1.3 var(--font); }
  .mapp__tri { flex: none; width: 12px; height: 12px; fill: currentColor; stroke: none; }
  .mapp__list { display: grid; gap: 16px; margin-top: 16px; padding: 0 var(--gutter); }
  .mapp__tools[hidden] + .mapp__list { margin-top: 20px; }
  .mapp__line { margin: 16px var(--gutter) 0; font: 400 15px/1.45 var(--font); color: var(--text-2); }

  /* A line: the picture 150 wide at the left, the words beside it. Swiped
     to the left, the red bin comes out at the right, as wide as the line has
     moved (--open, set by me.js). */
  .mapp__item { position: relative; }
  .mapp__video { position: relative; display: flex; align-items: center; gap: 14px; color: var(--text); touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
  .mapp__bin { position: absolute; top: 0; right: 0; bottom: 0; display: grid; place-items: center; width: var(--open, 0px); padding: 0; overflow: hidden; border: 0; border-radius: 6px; background: var(--accent); color: var(--on-accent); cursor: pointer; }
  .mapp__bin-icon { flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
  .mapp__item.is-gliding .mapp__video { transition: translate .42s var(--spring-layout); }
  .mapp__item.is-gliding .mapp__bin { transition: width .42s var(--spring-layout); }
  .mapp__thumb { position: relative; flex: none; width: 150px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: var(--surface); }
  .mapp__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .mapp__thumb .vcard__dur { right: 6px; bottom: 6px; padding: 4px 5px; font-size: 10px; }
  .mapp__text { display: grid; gap: 4px; flex: 1; min-width: 0; }
  .mapp__meta { overflow: hidden; font: 600 12px/1.3 var(--font); color: var(--text-2); white-space: nowrap; text-overflow: ellipsis; }
  .mapp__vtitle { display: -webkit-box; overflow: hidden; font: 700 15px/1.3 var(--font); color: var(--text); -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .mapp__by { display: flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; font: 400 12px/1.3 var(--font); color: var(--text-3); white-space: nowrap; }
  .mapp__by > span:not(.chip) { overflow: hidden; text-overflow: ellipsis; }
  .mapp__item--skel { display: flex; align-items: center; gap: 14px; }
  .mapp__skel { display: block; width: 100%; height: 14px; border-radius: 4px; }
  .mapp__skel--a { width: 110px; height: 11px; }
  .mapp__skel--c { width: 80px; height: 11px; }

  /* The sheet of « Trier par », from the bottom, at the height of what it holds. */
  .mapp__sheet { position: fixed; inset: auto 0 0; width: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; border-radius: 16px 16px 0 0; background: var(--surface); color: var(--text); }
  .mapp__sheet::backdrop { background: rgba(0, 0, 0, .5); }
  .mapp__sheet[open] { animation: mapp-rise .33s var(--spring-menu); }
  @keyframes mapp-rise { from { translate: 0 100%; } }
  .mapp__sheet-in { padding: 26px 0 calc(16px + env(safe-area-inset-bottom, 0px)); }
  .mapp__sheet h2 { margin: 0 22px 10px; font: 800 24px/1.25 var(--font); }
  .mapp__option { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 54px; padding: 0 22px; border: 0; background: none; color: var(--text); font: 600 17px/1.2 var(--font); text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .mapp__option:active { background: var(--surface-hi); }
  .mapp__option:focus-visible { outline-offset: -2px; }
  .mapp__option[aria-pressed="true"] { font-weight: 700; }
  .mapp__check { flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
  .mapp__option[aria-pressed="true"] .mapp__check { opacity: 1; }

  /* « Annuler » for 5 s, over the bar of the bottom (UndoBar). */
  .mapp__undo { position: fixed; inset-inline: 16px; bottom: calc(var(--appbar-h) + 22px + env(safe-area-inset-bottom, 0px)); z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-float); font: 600 14px/1.35 var(--font); color: var(--text); }
  .mapp__undo-btn { flex: none; min-height: 36px; padding: 0 8px; border: 0; background: none; color: var(--accent-text); font: 700 14px/1 var(--font); cursor: pointer; }
}
@media (max-width: 720px) and (prefers-reduced-motion: reduce) {
  .mapp__sheet[open] { animation: none; }
}

/* ---------- Films and Series, on a phone ---------- */
/* As the chips Films and Séries of the iPhone app's home (ExploreScreen.swift,
   HomeRows.swift): the blue glow at the top, the field under the chips (written
   `hidden` by the server and home.js, shown here only), then the shelves one in
   a grey band, one bare, one in a band (row--band, set by type-rows.js and
   home.js as banded of ExploreScreen.swift: « Reprendre la vidéo » and « Ma
   liste » bare, the row after them in a band); the first, right under the
   field, its top open on the glow, with neither line nor grey (row--open;
   RayFrame, open). Titles 20 heavy, « Tout voir » grey with a red chevron,
   posters of a third of the screen. The rows are those of the iPhone app
   (type-rows.js): the server writes « Dans l'actualité » first, `hidden`,
   shown here, and « Ajouts récents », first in a tab, is hidden here. */
.page-list .rows > .row--app[hidden] { display: block !important; }
.page-list .rows > .row--tab { display: none; }
@media (max-width: 720px) {
  .page-list main { position: relative; }
  .page-list main::before { content: ''; position: absolute; top: calc(-1 * var(--top-h)); inset-inline: 0; z-index: -1; height: 420px; background: radial-gradient(ellipse 80% 60% at 50% 0%, var(--glow-top), transparent 70%); pointer-events: none; }
  .page-list .list-find[hidden] { display: block !important; padding-top: 8px; }
  .page-list .list-find .find { margin-top: 0; }
  .page-list .list-find .find__form { padding-right: 14px; }
  .page-list .list-find .find__go { display: none; }

  .page-list .rows { gap: 0; padding-top: 0; }
  .page-list .rows > :is(.row, .ray) { padding-top: 28px; }
  .page-list .rows > .row--band { margin: 32px calc(-1 * var(--gutter)) 0; padding: 22px var(--gutter) 26px; background: var(--surface-section); border-block: 1px solid var(--line); }
  .page-list .rows > .row--open { padding-top: 0; background: linear-gradient(to bottom, transparent, var(--surface-section) 75%); border-top: 0; }
  /* « Tous les pays »: the chip Pays of the header leads there, as in the app. */
  .page-list .rows__all { display: none; }
  .page-list main:has(> .rows > .row--band:last-child) + .foot { margin-top: 0; }
  /* « Reprendre la vidéo » and « Ma liste », blocks of the home among the rows. */
  .page-list .rows > .ray > .wrap { max-width: none; padding-inline: 0; }
  .page-list .rows > .ray .ray__head { margin-bottom: 12px; }
  .page-list .rows > .ray .ray__head h2 { font: 800 20px/1.2 var(--font); letter-spacing: -.3px; }
  .page-list .rows > .ray .row__more { margin-left: auto; }
  /* What brings « Pour vous » and the rows of tastes: « D'après Dune, Premier Contact et Sicario ». */
  .page-list .row__note { overflow: hidden; margin: -9px 0 12px; font: 400 13px/1.3 var(--font); color: var(--text-3); white-space: nowrap; text-overflow: ellipsis; }
  /* A saga: the poster of its most covered film, another behind it, a pile (SagaCell). */
  .page-list .card--saga { position: relative; padding-top: 5px; }
  .page-list .card--saga::before { content: ''; position: absolute; top: 0; inset-inline: 6px; height: 40px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-hi); }
  .page-list .card--saga .poster { position: relative; }

  .page-list .row__head { align-items: center; margin-bottom: 12px; }
  .page-list .row__head h2 { overflow: hidden; font: 800 20px/1.2 var(--font); letter-spacing: -.3px; white-space: nowrap; text-overflow: ellipsis; }
  .page-list .row__more { display: inline-flex; flex: none; align-items: center; gap: 6px; margin-left: 8px; font: 600 14px/1 var(--font); color: var(--text-2); }
  .page-list .row__more::after { content: ''; width: 6px; height: 6px; border: solid var(--accent-text); border-width: 2px 2px 0 0; rotate: 45deg; }
  .page-list .row__track { gap: 10px; }
  .page-list .rows .card { width: calc((100vw - 50px) / 3.35); }
  .page-list .rows .card .poster { border-radius: 8px; }
  .page-list .rows .card__name { margin-top: 8px; font: 600 13px/1.3 var(--font); }
  /* One line, as SmallPoster: « Avec Matthew McConaughey » under a poster went on two (Pixel 9a). */
  .page-list .rows .card__meta { overflow: hidden; margin-top: 2px; font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
}

/* ---------- By country, on a phone ---------- */
/* As the chip Pays of the iPhone app (BrowseScreen.swift, countries; Ludoc,
   14/11/2026): the blue glow at the top (redTop), the title, then every
   country as a line of the lists of the search (.browse__row of search.css):
   its name, the number of its works, a chevron, a thin rule; no map, no flag,
   no card. The number, the chevron and the grey lines that wait for the list
   are written `hidden` by countries.js, shown here only. */
@media (max-width: 720px) {
  .page-countries .film-top { position: relative; isolation: isolate; }
  .page-countries .film-top::before { content: ''; position: absolute; top: 0; inset-inline: 0; z-index: -1; height: 420px; background: radial-gradient(ellipse 80% 60% at 50% 0%, var(--glow-top), transparent 70%); pointer-events: none; }
  .page-countries .channel-head h1 { letter-spacing: -.02em; }
  .page-countries .countries-page { padding-top: 4px; }
  .page-countries .map { display: none; }
  .page-countries .countries { display: block; margin-top: 12px; }
  .page-countries .countries > li { display: block; }
  .page-countries .countries > .country-wait[hidden] { display: flex !important; align-items: center; min-height: 56px; border-bottom: 1px solid var(--line); }
  .page-countries .country__skel { display: block; height: 14px; border-radius: 4px; }
  .page-countries .country { gap: 12px; min-height: 56px; padding: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; -webkit-tap-highlight-color: transparent; transition: opacity .15s; }
  .page-countries .country:active { opacity: .6; }
  .page-countries :is(.country__flag, .country__count) { display: none; }
  .page-countries .country__text { flex: 1; }
  .page-countries .country__name { overflow: hidden; font: 500 17px/1.3 var(--font); white-space: nowrap; text-overflow: ellipsis; }
  .page-countries .country__n[hidden] { display: block !important; flex: none; font: 500 14px/1 var(--font); font-variant-numeric: tabular-nums; color: var(--text-3); }
  .page-countries .country__chevron[hidden] { display: block !important; flex: none; width: 16px; height: 16px; fill: none; stroke: var(--text-3); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
}
@media (max-width: 720px) and (prefers-reduced-motion: reduce) { .page-countries .country { transition: none; } }

/* ---------- Surprise me, inside the window, on a phone ---------- */
/* The inside of « Surprends-moi » (moment.js) as the sheet of the iPhone app
   (ios/Cinetab/Screens/MomentScreen.swift): the black of the app with the blue
   glow at the top (redTop), the pills on its see-through black (coolVeil),
   the styles on two rows that slide sideways (moment.js reads --moment-app),
   no red halo under « Voir les propositions » nor under ▶, the title in 30,
   margins of 20. The frame of the window (sheet, handle, drag) is the section
   "Windows as sheets". */
@media (max-width: 720px) {
  :root { --moment-app: 1; }
  .moment { background: var(--bg); }
  .moment__body { padding: 26px 20px 12px; background: radial-gradient(ellipse 80% 60% at 50% 0%, var(--glow-top), transparent 70%) top / 100% 320px no-repeat local, var(--bg); }
  /* The frame already keeps the safe area at the bottom (padding of the dialog). */
  .moment__foot { padding: 0 20px 8px; background: var(--bg); }
  .moment__foot::before { background: linear-gradient(180deg, transparent, var(--bg)); }
  .moment__title { font-size: 30px; }
  .moment__choices { margin-top: 22px; }
  .moment__time { font-size: 19px; }
  .moment :is(.moment__time, .moment__pill, .moment__field, .moment__chip) { background: var(--cool-veil); }
  .moment__row { margin-inline: -20px; padding-inline: 20px; }
  .moment__band { margin-inline: -20px; padding-inline: 20px; }
  .moment__styles.has-rows { flex-direction: column; flex-wrap: nowrap; }
  .moment__style-row { display: flex; gap: 8px; margin-inline: -20px; padding-inline: 20px; overflow-x: auto; scrollbar-width: none; }
  .moment__style-row::-webkit-scrollbar { display: none; }
  .moment__style-row > .moment__pill { flex: none; }
  /* The works, genres and themes under the field, a little see-through until
     chosen, so that the field stands out above them (Picked, quiet). */
  .moment__works .moment__pill:not([aria-pressed="true"]) { opacity: .7; }
  .moment__go { box-shadow: none; }
  .moment__go:disabled { background: var(--cool-veil); }
  .moment__round--play { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 2px 4px rgba(0, 0, 0, .5); }
  .moment__join-go { height: 40px; }
  .moment__text > .skel--bar:first-child { width: 90px; }
}

/* ---------- Windows as sheets ---------- */
/* On a phone, every window opened over the page rises from the bottom as the
   sheets of the iPhone app (ios/Cinetab/App/Root.swift, the
   .presentationDetents of ios/Cinetab/Screens/*.swift): the whole width, round
   corners at the top only, the page darkened behind as before, a grabber on
   top where the app shows one, and pulled down to close (sheet-drag.js, asked
   by appbar.js, which reads --sheet: a window without it is left alone). Three
   heights, the detents of the app: `large` leaves a band of the page at the
   top (ProposeSheet, MomentScreen, ReportSheet, PlacesSheet, the sign-in with
   its picture), `medium` half the screen, pulled up to large (LangsSheet,
   SpoilerSheet, WhereSheet, CreditsSheet), `fit` as high as what it holds (the
   sign-in alone, « Trier par », the sort of a tab). Any of them is made large
   by data-detent="large" on the dialog. The first choices after an account is
   made (.onb) stay a whole page, as the app's fullScreenCover. */
@media (max-width: 720px) {
  :root {
    --sheet-top: max(32px, calc(env(safe-area-inset-top, 0px) + 12px));
    --sheet-large: calc(100dvh - var(--sheet-top));
    --sheet-medium: 50dvh;
    --sheet-r: 28px;
  }
  :root dialog:is(.signin, .add, .moment, .places-win, .filter__panel, .mapp__sheet, .isheet) {
    --sheet: fit;
    --sheet-bg: var(--surface);
    position: fixed; inset: auto 0 0; z-index: auto;
    width: 100%; max-width: none; height: auto; max-height: var(--sheet-large); margin: 0;
    padding: 0 0 env(safe-area-inset-bottom, 0px);
    overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
    background: var(--sheet-bg); border: 0; border-radius: var(--sheet-r) var(--sheet-r) 0 0; box-shadow: 0 -12px 40px rgba(0, 0, 0, .5);
    opacity: 1; scale: none; animation: none;
    translate: 0 100%;
    transition: translate .2s ease-in, height .34s var(--spring-menu), display .2s allow-discrete, overlay .2s allow-discrete;
  }
  :root dialog:is(.signin, .add, .moment, .places-win, .filter__panel, .mapp__sheet, .isheet)[open] {
    translate: 0 var(--sheet-y, 0px);
    transition: translate .34s var(--spring-menu), height .34s var(--spring-menu), display .34s allow-discrete, overlay .34s allow-discrete;
  }
  :root dialog:is(.signin, .add, .moment, .places-win, .filter__panel, .mapp__sheet, .isheet)::backdrop {
    opacity: 0;
    transition: opacity .2s ease-in, display .2s allow-discrete, overlay .2s allow-discrete;
  }
  :root dialog:is(.signin, .add, .moment, .places-win, .filter__panel, .mapp__sheet, .isheet)[open]::backdrop {
    opacity: var(--sheet-veil, 1);
    transition: opacity .25s var(--ease-out), display .25s allow-discrete, overlay .25s allow-discrete;
  }
  @starting-style {
    :root dialog:is(.signin, .add, .moment, .places-win, .filter__panel, .mapp__sheet, .isheet)[open] { translate: 0 100%; }
    :root dialog:is(.signin, .add, .moment, .places-win, .filter__panel, .mapp__sheet, .isheet)[open]::backdrop { opacity: 0; }
  }
  /* Under the finger: no easing, the page behind lightens as it goes down. */
  :root dialog.is-sheet-dragging, :root dialog.is-sheet-dragging::backdrop { transition: none; }
  /* The grabber (presentationDragIndicator): 36 by 5, 5 from the top, held
     there while the window scrolls; it takes no room. */
  :root dialog:is(.signin, .add, .moment, .places-win, .filter__panel, .mapp__sheet, .isheet)::before {
    content: ""; position: sticky; top: 0; z-index: 3; display: block; flex: none; align-self: center;
    width: 36px; height: 5px; margin: 0 auto -5px; translate: 0 5px; border-radius: 3px;
    background: var(--field-line-hi); pointer-events: none;
  }
  /* The sheet itself takes the focus when it opens: no ring round it. */
  :root dialog:is(.signin, .add, .moment, .places-win, .filter__panel, .mapp__sheet, .isheet):focus-visible { outline: 0; }
  /* The grabbers each window drew before give way to that one. */
  :root dialog .filter__in::before, :root .signin--sheet .signin__card::before { content: none; }

  /* The heights. */
  :root dialog:is(.add, .moment, .places-win, .signin--invite, .signin--invited),
  :root dialog.signin:has(#report-title), :root dialog.isheet,
  :root dialog:is(.signin, .add, .moment, .places-win, .filter__panel, .mapp__sheet, .isheet)[data-detent="large"] { --sheet: large; height: var(--sheet-large); }
  :root dialog:is(.langs, .spoiler__panel, .where__panel) { --sheet: medium; height: var(--sheet-medium); }
  :root dialog:is(.langs, .spoiler__panel, .where__panel)[data-detent="large"] { --sheet: medium; height: var(--sheet-large); }
  /* The sign-in takes the whole height once the keyboard is up (SignInSheet). */
  :root dialog.signin:not(.signin--sheet):has(:is(input, textarea):focus) { height: var(--sheet-large); }
  /* A single height: no grabber, as the app (.automatic shows it only between two). */
  :root dialog:is(.places-win, .signin--invite, .signin--invited)::before, :root dialog.signin:has(#report-title)::before, :root dialog.isheet::before { content: none; }

  /* The grounds, those of the app: the black of the screens behind the
     sign-in and « Surprends-moi », the grey of the sheets elsewhere. */
  :root dialog:is(.signin, .moment) { --sheet-bg: var(--bg); }
  :root dialog.signin:has(#report-title) { --sheet-bg: var(--surface); }
  :root dialog.add { --add-bg: var(--surface); --add-in: var(--bg); --sheet-bg: var(--add-bg); }
  :root dialog.moment { --sheet-r: 40px; }
  /* The window of « Trier par » had its own rise and veil: the common ones. */
  :root dialog.mapp__sheet[open] { animation: none; }
  :root dialog.mapp__sheet::backdrop { background: var(--veil-form); }
  :root dialog.places-win[open] { grid-template-rows: 44% minmax(0, 1fr); }
}
@media (max-width: 720px) and (prefers-reduced-motion: reduce) {
  :root dialog:is(.signin, .add, .moment, .places-win, .filter__panel, .mapp__sheet, .isheet),
  :root dialog:is(.signin, .add, .moment, .places-win, .filter__panel, .mapp__sheet, .isheet)[open],
  :root dialog:is(.signin, .add, .moment, .places-win, .filter__panel, .mapp__sheet, .isheet)::backdrop,
  :root dialog:is(.signin, .add, .moment, .places-win, .filter__panel, .mapp__sheet, .isheet)[open]::backdrop { transition: none; }
}

/* ---------- Sign in and the first choices, on a phone ---------- */
/* The inside of the sign-in window as the sheet of the iPhone app
   (ios/Cinetab/Screens/SignInScreen.swift: SignInScreen, CodeScreen):
   signin.js draws it when this sheet says so with --signin-app, so that a page
   whose sheet is still in a cache keeps the window of the site. « Cancel » at
   the top, « Sign in » between it when nothing has said why; opened by a
   gesture, the picture, the reason and the grey line over the ways in, all at
   once; then the screen of the code. The frame (sheet, handle, drag, height)
   is the section "Windows as sheets". The first choices of a new account
   (onboard.js, onboard.css, loaded after this sheet: hence `:root` in front)
   as OnboardingScreen.swift, the whole screen. */
@media (max-width: 720px) {
  :root { --signin-app: 1; }
  .signin--app .signin__card { gap: 0; padding: 0 0 20px; }
  .signin--app.signin--invite .signin__card { background: radial-gradient(ellipse 80% 100% at 50% 0%, var(--glow-top), transparent 70%) top / 100% 220px no-repeat; }

  /* The bar of the sheet: « Sign in » in the middle, « Cancel » at the right. */
  .sapp__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 52px; padding: 0 8px; }
  .sapp__bar-title { grid-column: 2; font: 700 17px/1.2 var(--font); color: var(--text); text-align: center; }
  .sapp__cancel { grid-column: 3; justify-self: end; height: 44px; padding: 0 12px; background: none; border: 0; border-radius: var(--r-ctl); font: 500 17px/1 var(--font); color: var(--text-2); }
  .sapp__back { justify-self: start; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: none; border: 0; border-radius: var(--r-ctl); color: var(--text); }
  .sapp__back svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

  /* Opened by a gesture: the picture, 28 under it the reason, the grey line. */
  .sapp__invite { display: flex; flex-direction: column; align-items: center; padding: 48px 8px 0; text-align: center; }
  .sapp__picture { display: block; width: 148px; height: 148px; object-fit: contain; user-select: none; -webkit-user-select: none; }
  .sapp__title { max-width: 340px; margin-top: 28px; font: 800 24px/1.2 var(--font); letter-spacing: -.4px; color: var(--text); text-wrap: balance; }
  .sapp__lead { max-width: 340px; margin-top: 8px; font: 400 15px/1.6 var(--font); color: var(--text-2); text-wrap: balance; }

  /* The ways in: Apple, Google, « or by email », the field, the button, the note. */
  .signin--app .signin__body, .signin--app .signin__form { gap: 10px; }
  .signin--app .signin__body { padding: 12px 20px 0; }
  .signin--app.signin--invite .signin__body { padding-top: 44px; }
  .signin--app .signin__apple { height: 50px; gap: 8px; border-radius: var(--r-ctl); font-size: 17px; }
  .signin--app .signin__google { height: 50px; gap: 10px; background: var(--surface); border-color: var(--line); border-radius: var(--r-ctl); font: 600 16px/1 var(--font); color: var(--text); }
  .signin--app .signin__google svg { width: 18px; height: 18px; }
  .signin--app .signin__or { padding: 8px 0; font: 400 13px/1 var(--font); }
  .signin--app .signin__form .field { height: 50px; padding: 0 16px; background: var(--surface); border-radius: var(--r-ctl); font: 400 16px/1.2 var(--font); }
  .signin--app .signin__go { height: 50px; border-radius: var(--r-ctl); font: 700 16px/1 var(--font); }
  .signin--app .signin__alert { padding: 10px; background: var(--accent-tint-rule); border: 0; border-radius: var(--r-ctl); font: 400 14px/1.45 var(--font); color: var(--text); }
  .signin--app .signin__dot { display: none; }
  .signin--app .signin__hint { padding: 12px; background: var(--surface); border-color: var(--line); border-radius: var(--r-ctl); font: 400 15px/1.45 var(--font); }
  .signin--app :is(.signin__fix, .signin__keep) { border-radius: var(--r-ctl); font-size: 14px; }
  .signin--app .signin__fix { font-weight: 700; }
  .signin--app .signin__keep { border-color: var(--line); }
  .sapp__note, .signin--app .signin__privacy { padding-top: 6px; font: 400 13px/1.5 var(--font); color: var(--text-3); text-align: center; text-wrap: pretty; }
  .sapp__note a { color: var(--text-3); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

  /* The code: its title in 28, where it went, six boxes of 60 checked as soon
     as they are full, the wait before sending it again, « Change address ». */
  .sapp__page { padding: 16px 20px 0; }
  .sapp__code-title { font: 800 28px/1.15 var(--font); letter-spacing: -.6px; color: var(--text); }
  .sapp__sent { margin-top: 8px; font: 400 15px/1.45 var(--font); color: var(--text-2); overflow-wrap: anywhere; }
  .sapp__form { display: flex; flex-direction: column; margin-top: 28px; }
  .sapp__code .code__cell { height: 60px; background: var(--surface); border-radius: var(--r-ctl); font: 700 26px/1 var(--font); }
  .sapp__code.is-wrong { animation: sapp-shake .27s linear; }
  @keyframes sapp-shake { 18% { translate: -8px 0; } 44% { translate: 8px 0; } 70% { translate: -5px 0; } }
  .sapp__delay { margin-top: 12px; font: 400 13px/1.5 var(--font); color: var(--text-3); }
  .sapp__form .signin__alert { margin-top: 14px; }
  .sapp__form .signin__go { height: 48px; margin-top: 18px; }
  .sapp__resend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 18px; font: 400 14px/1.4 var(--font); color: var(--text-3); }
  .sapp__link { min-height: 32px; padding: 0; background: none; border: 0; font: 400 14px/1.4 var(--font); color: var(--text); }
  .sapp__link--strong { font-weight: 600; }

  /* The first choices: margins of 20, the title in 28, the line in 16, the
     main action of 50 across the bottom under a line from edge to edge, and
     on « Ready » that action alone. */
  :root .onb__top { padding: 0 8px 0 20px; }
  :root .onb__close { width: 44px; height: 44px; }
  :root .onb__card { padding: 24px 20px 0; }
  :root .onb__title { font-size: 28px; }
  :root .onb__lead { font-size: 16px; }
  :root .onb__lang { padding: 0 14px; }
  :root .onb__grid { gap: 12px 10px; }
  :root .onb__foot { margin-inline: -20px; padding: 16px 20px calc(8px + env(safe-area-inset-bottom)); }
  :root .onb__go { height: 50px; border-radius: 10px; font-size: 16px; }
  :root .onb__card.is-ready .onb__later { display: none; }
}
@media (max-width: 720px) and (prefers-reduced-motion: reduce) { .sapp__code.is-wrong { animation: none; } }

/* ---------- Proposing a video, on a phone ---------- */
/* The inside of the window follows the sheet of the iPhone app
   (ios/Cinetab/Screens/ProposeSheet.swift, Views/ProposeViews.swift): « Fermer »
   at the left of the title, the video on top with « Modifier », the steps in
   bars, small questions, the choices in rounded cards with a round check at
   the right, « Tout est bon ? » in lines, « Terminé » right under the thanks.
   add.js reads --add-app and writes what only the app has (.add--app). The
   frame of the window (a sheet from the bottom) is not here. */
@media (max-width: 720px) {
  :root { --add-app: 1; }

  .add--app .add__bar { position: relative; justify-content: center; height: 44px; margin-top: 14px; padding: 0 20px; border-bottom: 0; font: 700 16px/1.2 var(--font); color: var(--text); }
  .add--app .add__bar span { flex: none; max-width: calc(100% - 160px); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; text-align: center; }
  .add--app .add__close--word { position: absolute; top: 0; left: 20px; width: auto; height: 44px; padding: 0; font: 600 15px/1 var(--font); color: var(--text-2); }

  .add--app .add__body { gap: 0; padding: 0 20px 24px; }
  .add--app .add__ask { margin-top: 18px; }
  .add--app .add__q { margin-bottom: 8px; font: 700 16px/1.3 var(--font); letter-spacing: 0; }
  .add--app:is([data-step="link"], [data-step="sent"]) .add__q { margin-bottom: 16px; font: 800 22px/1.2 var(--font); letter-spacing: -.4px; }

  /* The video on top (VideoLine); on the link, the work of the page. */
  .add--app .add__rail { gap: 12px; margin-top: 16px; }
  .add--app .add__done { align-items: center; gap: 12px; min-height: 0; padding: 0; background: none; border: 0; border-radius: 0; }
  .add--app .add__done .add__thumb { width: 96px; height: 54px; border-radius: var(--r-item); }
  .add--app .add__done-text { white-space: normal; font: 600 14px/1.3 var(--font); }
  .add--app .add__done-text > span { display: block; margin-top: 3px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 400 12px/1.35 var(--font); color: var(--text-2); }
  .add--app .add__sep { display: none; }
  .add--app .add__done-text > .add__done-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin: 0; white-space: normal; font: inherit; color: inherit; }
  .add--app .add__edit { height: 44px; margin-block: 0; padding: 0 0 0 8px; font: 600 14px/1 var(--font); color: var(--accent-text); }
  .add--app[data-step="link"] .add__done .poster { width: 32px; border-radius: var(--r-chip); }
  .add--app[data-step="link"] .add__done-text { font-size: 15px; }
  .add--app[data-step="link"] .add__edit { display: none; }

  /* 1 · L'œuvre, 2 · La catégorie…: a bar of 3 each, red up to the question. */
  .add__steps { display: flex; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
  .add__stepl { flex: 1; min-width: 0; }
  .add__stepl button { display: flex; flex-direction: column; gap: 6px; width: 100%; min-height: 32px; padding: 0; background: none; border: 0; opacity: 1; text-align: left; color: var(--text-3); }
  .add__stepl button:disabled { cursor: default; }
  .add__stepl.is-at button { color: var(--text); }
  .add__stepl-bar { height: 3px; background: var(--line); border-radius: var(--r-pill); }
  .add__stepl.is-on .add__stepl-bar { background: var(--accent); }
  .add__stepl-name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 700 11px/1.3 var(--font); letter-spacing: .3px; }

  /* The link: a field of 52, « Coller » in a red capsule, the round ✕. */
  .add--app[data-step="link"] .add__field { height: 52px; }
  .add--app .add__paste { height: 32px; padding: 0 14px; background: var(--accent); border: 0; border-radius: var(--r-pill); font: 600 14px/1 var(--font); color: var(--on-accent); }
  .add--app .add__clear { width: 40px; height: 44px; margin-right: 0; background: radial-gradient(circle, var(--text-3) 9px, transparent 9.5px); font: 800 10px/1 var(--font); color: var(--add-in); }
  .add--app .add__help { margin-top: 12px; }
  .add--app .add__wrong { margin-top: 12px; font: 400 14px/1.45 var(--font); }
  .add--app .add__video { margin-top: 12px; padding: 0; background: none; border: 0; }
  .add--app .add__video.is-off { opacity: .5; }
  .add--app .add__video .add__thumb { width: 96px; height: 54px; border-radius: var(--r-item); }
  .add--app .add__video-by { font-size: 12px; }
  /* A refusal is a line behind a red dot (Problem), its ways out under it. */
  .add--app .add__alert { gap: 8px; margin-top: 12px; padding: 0; border: 0; }
  .add--app .add__bang { width: 8px; height: 8px; margin-top: 6px; background: var(--accent); border: 0; font-size: 0; }
  .add--app .add__alert p { font: 400 14px/1.45 var(--font); }
  .add--app .add__alert-links { flex-direction: column; gap: 0; margin: 12px 0 0 -16px; }
  .add--app .add__alert-links .add__link { order: -1; height: 44px; margin: 0 0 6px; padding: 0 16px; background: var(--add-in); border: 1px solid var(--line); border-radius: var(--r-ctl); font: 600 15px/1 var(--font); color: var(--text); text-decoration: none; }
  .add--app .add__alert-links a { display: flex; align-items: center; min-height: 44px; font: 600 14px/1.3 var(--font); color: var(--accent-text); text-decoration: none; }

  /* The work: cards of 12 round, a poster of 48, picked in red with a check. */
  .add--app .add__guess { gap: 12px; padding: 10px 12px; background: var(--surface-hi); border-radius: var(--r-window); }
  .add--app .add__guess > div:not(.poster) { flex: 1; }
  .add--app .add__guess .poster { width: 48px; border-radius: var(--r-poster); }
  .add--app .add__guess-title { font: 700 16px/1.3 var(--font); }
  .add--app .add__guess-why { margin-top: 2px; font: 400 12px/1.4 var(--font); color: var(--text-3); }
  .add--app .add__guess-why span { display: none; }
  .add__find { display: flex; align-items: center; gap: 10px; width: 100%; height: 46px; margin-top: 12px; padding: 0 14px; background: var(--add-in); border: 1px solid var(--ghost-line-hi); border-radius: var(--r-ctl); font: 400 15px/1.2 var(--font); color: var(--text-3); text-align: left; }
  .add__find span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .add__find-icon { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--text-3); stroke-width: 2.4; stroke-linecap: round; }
  .add--app[data-step="work"] .add__field { height: 46px; gap: 10px; }
  .add--app[data-step="work"] .add__input { font-size: 15px; }
  .add--app .add__list { gap: 8px; margin-top: 8px; }
  .add--app .add__pick { gap: 12px; padding: 10px 12px; border-radius: var(--r-window); }
  .add--app .add__pick:has(input:checked) { background: var(--surface-hi); }
  .add--app .add__pick .poster { width: 48px; border-radius: var(--r-poster); }
  .add--app .add__pick-title { font: 600 16px/1.3 var(--font); }
  .add--app .add__pick:has(input:checked) .add__pick-title { font-weight: 700; }
  .add--app .add__pick-n { font: 400 13px/1.3 var(--font); }
  .add--app .add__group { padding: 6px 0 0; font: 700 13px/1.4 var(--font); color: var(--text-2); }
  .add--app .add__back { font: 600 13px/1.4 var(--font); }
  .add--app .add__more { min-height: 44px; padding: 0; border: 0; font: 600 14px/1.4 var(--font); }
  .add--app .add__more > span:last-child { display: none; }
  .add--app .add__radio { order: 3; width: 24px; height: 24px; border: 1.5px solid var(--line); }
  .add--app :is(.add__pick:has(input:checked), .add__guess) .add__radio { background: var(--accent); border-color: var(--accent); }
  .add--app :is(.add__pick:has(input:checked), .add__guess) .add__radio::after { content: ""; width: 10px; height: 6px; margin-top: -3px; background: none; border: solid var(--on-accent); border-width: 0 0 2px 2px; border-radius: 0; rotate: -45deg; }

  /* The category, the season, the language. */
  .add--app .add__tabs { gap: 8px; }
  .add--app .add__pick--tab { padding: 12px 14px; }
  .add--app .add__pick--tab .add__pick-title { font-weight: 600; }
  .add--app .add__pick--tab:has(input:checked) .add__pick-title { font-weight: 700; }
  .add--app .add__label { font-weight: 700; }
  .add--app .add__set--episode { flex: 0 0 140px; }
  .add--app :is(.add__input--box, .select select) { height: 46px; }

  /* « Tout est bon ? »: the work as it was picked, a line per answer. */
  .add__summary { display: flex; flex-direction: column; gap: 12px; margin: 4px 0 12px; }
  .add__sum { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 14px; background: none; border: 1px solid var(--line); border-radius: var(--r-window); text-align: left; color: var(--text); }
  .add__sum--work { padding: 10px 12px; background: var(--surface-hi); border-color: var(--accent); }
  .add__sum--work .poster { flex: none; width: 48px; border-radius: var(--r-poster); }
  .add__sum-text { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  .add__sum-label { font: 600 13px/1.35 var(--font); color: var(--text-2); }
  .add__sum-value { font: 600 16px/1.3 var(--font); }
  .add__sum--work .add__sum-value { order: -1; font-weight: 700; }
  .add__sum--work .add__sum-label { font-weight: 400; }
  .add__sum-edit { flex: none; font: 600 14px/1 var(--font); color: var(--accent-text); }
  .add__sum--work .add__sum-edit { display: none; }
  .add--app .add__lead { font: 400 14px/1.5 var(--font); }

  /* Sent: from the left, « Terminé » under the text, then the smaller link. */
  .add--app .add__sent { align-items: flex-start; justify-content: flex-start; gap: 0; margin-top: 10px; padding: 0; text-align: left; }
  .add--app .add__check { margin-bottom: 16px; }
  .add--app .add__sent .add__q { margin-bottom: 6px; }
  .add--app .add__sent .add__lead { max-width: none; font-size: 16px; }
  .add__sent-go { display: flex; flex-direction: column; align-items: center; gap: 10px; align-self: stretch; margin-top: 24px; }
  .add__sent-go .add__go { flex: none; align-self: stretch; }
  .add--app .add__again { margin: 0; font: 600 15px/1.3 var(--font); text-decoration-color: currentColor; }

  /* The button that goes on: across the bottom, no line over it. */
  .add--app .add__foot { padding: 10px 20px 8px; background: var(--add-bg); border-top: 0; }
  .add--app .add__foot:empty { display: none; }
  .add--app .add__go:disabled { opacity: .45; }
}

/* ---------- Small windows, inside, on a phone ---------- */
/* What the little sheets hold, as those of the iPhone app: « Signaler »
   (ReportSheet, ios/Cinetab/Screens/Sheets.swift), « Où regarder »
   (WhereSheet.swift), « Crédits » (CreditsSheet.swift), the anti-spoiler
   (SpoilerSheet) and the languages of the videos (LangsSheet). Each has the
   bar of a sheet of the app (.isheet__bar: « Annuler » or nothing, the title,
   the action or « Fermer »), written `hidden` by its module and shown here;
   the rows of a form in cards. report.js reads --sheets-app and draws its
   sheet of the app (dialog.isheet). */
@media (max-width: 720px) {
  :root { --sheets-app: 1; --isheet-r: 22px; }
  /* The bar, held at the top while the sheet scrolls. */
  :root .isheet__bar, :root .isheet__bar[hidden] {
    position: sticky; top: 0; z-index: 2; display: grid !important; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 4px;
    min-height: 56px; margin: 0; padding: 6px 8px 0; background: var(--sheet-bg, var(--surface));
  }
  .isheet__title { grid-column: 2; min-width: 0; max-width: 60vw; margin: 0; overflow: hidden; font: 700 17px/1.2 var(--font); color: var(--text); text-align: center; white-space: nowrap; text-overflow: ellipsis; }
  .isheet__lead, .isheet__act { min-width: 0; min-height: 44px; padding: 0 12px; border: 0; border-radius: var(--r-pill); background: none; font: 500 17px/1 var(--font); color: var(--text); white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .isheet__lead { grid-column: 1; justify-self: start; }
  .isheet__act { grid-column: 3; justify-self: end; }
  .isheet__act--strong { font-weight: 700; }
  :is(.isheet__lead, .isheet__act):active { background: var(--surface-hi); }
  :is(.isheet__lead, .isheet__act):disabled { color: var(--text-3); cursor: default; }

  /* The form: a header over each card, rows of 48 in the card. */
  .isheet__body { display: flex; flex-direction: column; padding: 8px 20px 24px; }
  .isheet__head { margin: 16px 16px 8px; font: 500 13px/1.4 var(--font); color: var(--text-2); }
  .isheet__card { overflow: hidden; border-radius: var(--isheet-r); background: var(--surface-hi); }
  .isheet__row { position: relative; display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 16px; font: 500 15px/1.35 var(--font); color: var(--text); }
  .isheet__row + .isheet__row::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; height: 1px; background: var(--line-hi); }
  /* The report sheet (report.js, piste 3 « La question à part », 28/11/2026):
     the reasons that ask end with a chevron and push their page; the page of
     a question shows the video as a reminder, the question in large, its
     answers as rows with a check. The push is iOS's: 350 ms, the list
     recedes by 30 % under the page that comes. */
  :root { --isheet-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 5l7 7-7 7' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); --isheet-find: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10.5 18a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15ZM16 16l5 5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
  .isheet__go { width: 100%; border: 0; background: none; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .isheet__go span { flex: 1; min-width: 0; }
  .isheet__go::after { content: ""; flex: none; width: 13px; height: 13px; background: var(--text-3); -webkit-mask: var(--isheet-chevron) center / contain no-repeat; mask: var(--isheet-chevron) center / contain no-repeat; }
  .isheet__go:active { background: var(--line); }
  .isheet--report .isheet__lead { display: inline-flex; align-items: center; gap: 6px; }
  .rs-back { flex: none; width: 12px; height: 18px; background: currentColor; scale: -1 1; -webkit-mask: var(--isheet-chevron) center / contain no-repeat; mask: var(--isheet-chevron) center / contain no-repeat; }
  .isheet__go:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
  .isheet--report .isheet__pick:has(input:checked) > span:first-of-type { font-weight: 700; }
  .isheet--report .isheet__pick::after { background: var(--accent); }
  .rs-form { overflow-x: clip; }
  .rs-pages { display: grid; }
  .rs-page { grid-area: 1 / 1; min-width: 0; background: var(--sheet-bg); }
  .rs-page .isheet__card + .isheet__card { margin-top: 12px; }
  .rs-recall { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 14px; border-radius: 20px; background: var(--surface-hi); }
  .rs-thumb { flex: none; width: 64px; height: 36px; border-radius: 6px; object-fit: cover; background: var(--line); }
  .rs-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  .rs-text b { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font: 600 14px/1.3 var(--font); color: var(--text); }
  .rs-text small { font: 400 13px/1.35 var(--font); color: var(--text-2); }
  .isheet__pick .rs-text b { font-size: 15px; }
  .isheet__pick .rs-dur { flex: none; font: 500 13px/1 var(--font); color: var(--text-2); font-variant-numeric: tabular-nums; }
  .isheet__pick .poster { flex: none; width: 40px; border-radius: 4px; }
  .isheet__pick:has(.rs-thumb, .poster) { padding-block: 12px; }
  .rs-ask { margin: 26px 16px 14px; font: 700 22px/1.25 var(--font); letter-spacing: -.01em; color: var(--text); text-wrap: balance; outline: 0; }
  .rs-find { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; }
  .rs-find::before { content: ""; flex: none; width: 16px; height: 16px; background: var(--text-3); -webkit-mask: var(--isheet-find) center / contain no-repeat; mask: var(--isheet-find) center / contain no-repeat; }
  .rs-find:focus-within { box-shadow: inset 0 0 0 2px var(--accent); }
  .rs-find__field { flex: 1; min-width: 0; height: 48px; padding: 0; border: 0; background: none; outline: 0; font: 400 16px/1 var(--font); color: var(--text); }
  .rs-find__field::placeholder { color: var(--text-3); }
  .rs-pad { padding: 12px 16px; }
  .rs-none { margin: 12px 16px 0; font: 400 14px/1.4 var(--font); color: var(--text-2); }
  .rs-in, .rs-back-out { z-index: 1; }
  .rs-in { animation: rs-in .35s var(--ease-out) both; }
  .rs-out { animation: rs-out .35s var(--ease-out) both; }
  .rs-back-in { animation: rs-back-in .35s var(--ease-out) both; }
  .rs-back-out { animation: rs-back-out .35s var(--ease-out) both; }
  /* A choice of one: the check on the right of the row chosen (inline Picker). */
  .isheet__pick { cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .isheet__pick:active { background: var(--line); }
  .isheet__pick input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
  .isheet__pick span { flex: 1; min-width: 0; }
  .isheet__pick::after, :root dialog.langs .check::after { content: ""; flex: none; width: 18px; height: 18px; background: currentColor; opacity: 0; -webkit-mask: var(--isheet-check) center / contain no-repeat; mask: var(--isheet-check) center / contain no-repeat; }
  .isheet__pick:has(input:checked)::after { opacity: 1; }
  .isheet__pick:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: -2px; }
  :root { --isheet-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.5 12.5l5 5L19.5 7' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
  .isheet__note { display: block; width: 100%; min-height: 84px; padding: 12px 16px; border: 0; background: none; outline: 0; resize: none; font: 400 16px/1.4 var(--font); color: var(--text); field-sizing: content; max-height: 160px; }
  .isheet__fail { margin: 14px 16px 0; font: 500 15px/1.4 var(--font); color: var(--accent-text); }
  .isheet__text { margin: 0; padding: 14px 16px; font: 500 15px/1.45 var(--font); color: var(--text); }
  :root .isheet__danger[hidden]:not(.is-off) { display: block !important; }
  .isheet__danger { width: 100%; min-height: 48px; margin-top: 20px; padding: 0 16px; border: 0; border-radius: var(--isheet-r); background: var(--surface-hi); font: 500 15px/1 var(--font); color: var(--accent-text); text-align: left; cursor: pointer; }
  .isheet__danger:active { background: var(--line); }

  /* The sheets of the work page: the bar in place of their own top. */
  :root dialog:is(.where__panel, .spoiler__panel, .langs) .filter__in { display: block; padding: 0; }
  :root dialog:is(.spoiler__panel, .langs) .filter__foot, :root dialog.langs .filter__title { display: none; }

  /* « Où regarder »: the country, a list per kind of offer, the source. */
  :root dialog.where__panel:not(.credits__panel) .where__body { gap: 22px; padding: 12px 20px 24px; }
  :root .where__country[hidden] { display: block !important; margin: 0; font: 600 13px/1.3 var(--font); color: var(--text-2); }
  :root dialog.where__panel .where__group h3 { margin-bottom: 10px; }
  :root dialog.where__panel :is(.where__list, .where__wait) { gap: 8px; }
  :root dialog.where__panel .where__item { gap: 10px; min-height: 46px; padding: 0; font-size: 14px; }
  :root dialog.where__panel .where__item img, :root dialog.where__panel .where__blank { width: 34px; height: 34px; }
  :root dialog.where__panel .where__ghost { height: 46px; border-radius: var(--r-card); }
  :root dialog.where__panel .where__none { font-size: 15px; }
  :root dialog.where__panel .where__via { padding-top: 14px; font-size: 12px; }
  :root dialog.where__panel .where__via a { padding: 0; color: var(--text-3); }

  /* « Crédits »: one column, the trades in the app's order, names in 19. */
  :root dialog.credits__panel .credits__body { padding: 0 24px 24px; }
  :root dialog.credits__panel .credits__cols { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  :root dialog.credits__panel .credits__col { display: contents; }
  .credits__group--director { order: 1; }
  .credits__group--cast { order: 2; }
  .credits__group--writer { order: 3; }
  .credits__group--composer { order: 4; }
  .credits__group--photo { order: 5; }
  :root dialog.credits__panel .credits__group h3 { margin: 0; padding: 14px 0 4px; font: 500 17px/1.3 var(--font); color: var(--text-2); }
  :root dialog.credits__panel .credits__person { min-height: 48px; margin: 0; padding: 0; border-radius: 0; font: 500 19px/1.3 var(--font); }
  :root dialog.credits__panel .credits__person:hover { background: none; }
  :root dialog.credits__panel .credits__go { width: 17px; height: 17px; }

  /* The anti-spoiler: the question over a card of two rows, the help under
     it, « Retirer » in a card of its own. */
  :root dialog.spoiler__panel .spoiler__title { margin: 16px 36px 8px; font: 700 17px/1.3 var(--font); color: var(--text); }
  :root dialog.spoiler__panel .spoiler__picks { display: block; margin: 0 20px; overflow: hidden; border-radius: var(--isheet-r); background: var(--surface-hi); }
  :root dialog.spoiler__panel .spoiler__help { order: 9; margin: 8px 36px 0; font: 500 13px/1.45 var(--font); color: var(--text-2); }
  :root dialog.spoiler__panel .filter__in { display: flex; flex-direction: column; padding-bottom: 24px; }
  :root dialog.spoiler__panel .spoiler__title { order: 1; }
  :root dialog.spoiler__panel .spoiler__picks { order: 2; }
  :root dialog.spoiler__panel .isheet__danger { order: 10; width: auto; margin: 20px 20px 0; }
  :root dialog.spoiler__panel .spoiler__picks .select { position: relative; display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 16px; }
  :root dialog.spoiler__panel .spoiler__picks .select + .select::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; height: 1px; background: var(--line-hi); }
  :root dialog.spoiler__panel .spoiler__picks .select[hidden] { display: none; }
  :root .isheet__label[hidden] { display: block !important; order: -1; flex: 1; font: 500 15px/1.3 var(--font); color: var(--text); }
  :root dialog.spoiler__panel .spoiler__picks select { width: auto; min-height: 44px; padding: 0 22px 0 0; border: 0; background: none; font: 500 15px/1 var(--font); color: var(--text-2); text-align: right; text-align-last: right; }
  :root dialog.spoiler__panel .spoiler__picks .select::after { content: ""; right: 16px; width: 12px; height: 16px; background: var(--text-2); -webkit-mask: var(--isheet-updown) center / contain no-repeat; mask: var(--isheet-updown) center / contain no-repeat; }
  :root { --isheet-updown: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 16'%3E%3Cpath d='M3 6l3-3 3 3M3 10l3 3 3-3' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

  /* The languages of the videos: the line over a card of rows, the check of
     the ones kept in red; the language of the site in a card of its own. */
  :root dialog.langs .filter__in > div:not(.isheet__bar):first-of-type { margin: 0; }
  :root dialog.langs .langs__lead { margin: 12px 36px 8px; font: 500 14px/1.45 var(--font); color: var(--text-2); }
  :root dialog.langs .filter__group { margin: 0 20px; overflow: hidden; border-radius: var(--isheet-r); background: var(--surface-hi); }
  :root dialog.langs .check { position: relative; justify-content: space-between; gap: 12px; min-height: 48px; padding: 0 16px; font: 600 16px/1.3 var(--font); color: var(--text); }
  :root dialog.langs .check + .check::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; height: 1px; background: var(--line-hi); }
  :root dialog.langs .check input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
  :root dialog.langs .check::after { color: var(--accent); }
  :root dialog.langs .check:has(input:checked)::after { opacity: 1; }
  :root dialog.langs .check:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: -2px; }
  :root dialog.langs .langs__site { margin: 20px 20px 24px; min-height: 48px; padding: 0 0 0 16px; border: 0; border-radius: var(--isheet-r); background: var(--surface-hi); font: 500 15px/1.3 var(--font); color: var(--text); }
  :root dialog.langs .langs__site select { min-height: 44px; border: 0; background: none; font-size: 15px; color: var(--text-2); }

  /* « Trier par » of My list: the bottom of the screen is the sheet's. */
  :root dialog.mapp__sheet .mapp__sheet-in { padding-bottom: 16px; }
}

/* ---------- A person, « Tout voir », Mon Cinetab, on a phone ---------- */
/* A person and the whole of a row (person.html, shelf.html: page-shelf) as
   the grid of BrowseScreen.swift (case works, decade, country, genre): the
   blue glow at the top (redTop), the title in 30 with no eyebrow over it,
   « · Films » after a decade or a country's films as the app names them
   (written `hidden` by shelf.js), the count in 14 grey, then three posters
   a row at every width, 12 apart and 18 between rows, corners of 8; the name
   and the count on one line each, as the posters of Films and Series. The
   page of a country in this grid stays as it was; /countries is its own
   section above. */
@media (max-width: 720px) {
  /* The arrow alone at the top, as a pushed screen of the app (and as the
     pages of a theme, « Nouveautés » and a channel). */
  .page-shelf .top .logo { display: none; }
  .page-shelf .film-top { position: relative; isolation: isolate; }
  .page-shelf .film-top::before { content: ''; position: absolute; top: 0; inset-inline: 0; z-index: -1; height: 420px; background: radial-gradient(ellipse 80% 60% at 50% 0%, var(--glow-top), transparent 70%); pointer-events: none; }
  .page-shelf .channel-head > .eyebrow, .page-shelf .channel-head > .skel--bar:first-child { display: none; }
  .page-shelf .channel-head h1 { letter-spacing: -.02em; }
  .page-shelf .channel-head__type[hidden] { display: inline !important; }
  .page-shelf .channel-head__meta { margin-top: 8px; font-size: 14px; color: var(--text-2); }
  /* Room before the line of the foot, which the last posters touched. */
  .page-shelf .shelf-page { padding-block: 20px 40px; }
  .page-shelf .posters { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 12px; }
  .page-shelf .posters .poster { border-radius: 8px; }
  .page-shelf .posters .card__name { margin-top: 8px; font: 600 13px/1.3 var(--font); }
  .page-shelf .posters .card__meta { overflow: hidden; margin-top: 2px; font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
}

/* « Mon Cinetab » (mine.js), the section of the bookmark, as MineScreen.swift of
   the iPhone app (Ludoc, 15/11/2026): the blue glow, its name as a title in 30
   (the menu that names it on the site is not shown here), no link to « Mon
   espace » (the bar has « Réglages »), the rows titled in 20 with « Tout
   voir » grey and its red chevron, as Films and Series, one bare, one in a
   grey band between two lines (RayFrame). A visitor sees the page that
   invites (app-invite.js). */
@media (max-width: 720px) {
  .page-mine main { position: relative; }
  .page-mine main::before { content: ''; position: absolute; top: calc(-1 * var(--top-h)); inset-inline: 0; z-index: -1; height: 420px; background: radial-gradient(ellipse 80% 60% at 50% 0%, var(--glow-top), transparent 70%); pointer-events: none; }
  .page-mine .mine__head { padding-top: 8px; }
  .page-mine .mine__head h1.sr-only { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; min-height: 44px; font: 800 30px/44px var(--font); letter-spacing: -.6px; color: var(--text); }
  .page-mine .mine__space { display: none; }
  .page-mine .rays { gap: 0; padding-top: 0; }
  .page-mine .rays > .ray { padding-top: 32px; }
  .page-mine .rays > .ray:nth-child(even) { margin-top: 32px; padding: 22px 0 26px; background: var(--surface-section); border-block: 1px solid var(--line); }
  .page-mine main:has(> .rays > .ray:nth-child(even):last-child) + .foot { margin-top: 0; }
  .page-mine .mine__invite { padding-top: 8px; }
  .page-mine .ray__head { align-items: center; margin-bottom: 12px; }
  .page-mine .ray__head h2 { overflow: hidden; font: 800 20px/1.2 var(--font); letter-spacing: -.3px; white-space: nowrap; text-overflow: ellipsis; }
  .page-mine .ray__more { display: inline-flex; align-items: center; gap: 6px; font: 600 14px/1 var(--font); color: var(--text-2); }
  .page-mine .ray__more::after { content: ''; width: 6px; height: 6px; border: solid var(--accent-text); border-width: 2px 2px 0 0; rotate: 45deg; }
}

/* ---------- A theme, « Nouveautés », a channel, on a phone ---------- */
/* As BrowseScreen.swift of the iPhone app, cases .theme, .latest and
   .channel (FeedList, FeedCard, SkeletonFeedCard of VideoList.swift; Ludoc,
   14/11/2026): the arrow alone in the header (TopBar), the blue glow at the
   top (redTop), the title 30 heavy, « Les plus récentes, sur tout le
   catalogue. » under it but on a channel, then one list of the videos, the
   latest first, each card under the line of its work. theme.js, new.js and
   channel.js draw it (feed-app.js) when this sheet says so with --feed-app:
   a sheet still in a cache keeps the pages of the site. */
@media (max-width: 720px) {
  :root { --feed-app: 1; }
  /* The first body the server writes for these pages (server/pages.js) is the
     site's: here the script draws the screen of the app instead, and nothing
     of the site shows before it does. */
  :is(.page-theme, .page-new, .page-channel:not(.page-shelf, .page-countries)) :is([data-film-head], main) > [data-served] { display: none; }
  :is(.page-theme, .page-new, .page-channel:not(.page-shelf, .page-countries)) .top .logo { display: none; }
  /* No veil under the arrow at the top: the glow runs up behind it; once the
     page scrolls, the dark layer of the header comes in (statusBarBackdrop). */
  :is(.page-theme, .page-new, .page-channel:not(.page-shelf, .page-countries)) .top::after { display: none; }
  :is(.page-theme, .page-new, .page-channel:not(.page-shelf, .page-countries)) .film-top { position: relative; isolation: isolate; }
  :is(.page-theme, .page-new, .page-channel:not(.page-shelf, .page-countries)) .film-top::before { content: ''; position: absolute; top: 0; inset-inline: 0; z-index: -1; height: 420px; background: radial-gradient(ellipse 80% 60% at 50% 0%, var(--glow-top), transparent 70%); pointer-events: none; }

  .fapp__head { padding-top: 4px; }
  .fapp__title { margin: 0; font: 800 30px/1.2 var(--font); letter-spacing: -.6px; color: var(--text); }
  .fapp__title > .fapp__skel-name { display: block; width: 180px; height: 26px; margin-block: 5px; }
  .fapp__line { margin: 4px 0 0; font: 400 14px/1.4 var(--font); color: var(--text-2); }

  /* The cards one under the other, 34 apart (VideoGrid). */
  .fapp { padding-top: 18px; }
  .fapp.is-done { padding-bottom: 22px; }
  .fapp__list { display: grid; gap: 34px; }
  .fapp__none { margin: 0; padding: 2px 0; font: 400 15px/1.45 var(--font); color: var(--text-2); }
  .fapp__card { display: grid; gap: 10px; min-width: 0; }

  /* The line of the work: its poster 22 by 33, its title, its tab, how long
     ago; short of room, the tab gives way before the title. */
  .fapp__work { display: flex; align-items: center; gap: 8px; min-width: 0; font: 400 13px/1.3 var(--font); color: var(--text-2); white-space: nowrap; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
  .fapp__work:active { opacity: .6; }
  .fapp__poster { display: block; flex: none; width: 22px; height: 33px; border-radius: 3px; object-fit: cover; background: var(--skel); }
  .fapp__name { flex: none; max-width: 60%; overflow: hidden; font-weight: 700; color: var(--text); text-overflow: ellipsis; }
  .fapp__tab { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .fapp__ago { flex: none; margin-left: auto; padding-left: 4px; }

  /* The video: its picture across, the title 16 on two lines at most, the
     bookmark at its end, the channel 3 under it (an episode first). */
  .fapp .vcard { gap: 10px; }
  .fapp .vcard__dur { padding: 4px 6px; font-size: 12px; }
  .fapp .vcard__head { gap: 6px; }
  .fapp .vcard__title { display: -webkit-box; overflow: hidden; font: 600 16px/1.3 var(--font); -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .fapp .vcard__by { display: flex; align-items: center; gap: 8px; min-width: 0; margin-top: -7px; font: 400 13px/1.3 var(--font); }
  .fapp__channel { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .fapp .later { width: 44px; height: 44px; margin: -12px -12px -12px -8px; }

  /* Not come yet: the line of the work, the picture, two lines of title, one under them. */
  .fapp__card--skel .fapp__work { pointer-events: none; }
  .fapp__card--skel .fapp__poster { border-radius: 3px; }
  .fapp__skel-work { width: 170px; height: 13px; }
  .fapp__card--skel .vcard > .skel--bar.fapp__skel-title { width: 100%; height: 16px; }
  .fapp__card--skel .vcard > .skel--bar.fapp__skel-title--short { width: calc(100% - 110px); }
  .fapp__card--skel .vcard > .skel--bar.fapp__skel-by { width: 150px; height: 12px; margin-top: 0; }
}

/* ---------- The top of « Par pays », on a phone ---------- */
/* The chip Pays of the iPhone app pushes the list of the countries as a
   screen of its own (ExploreScreen.swift, NavigationLink to Browse.countries;
   BrowseScreen.swift: TopBar with the arrow alone over the title): no chips
   Accueil · Films · Séries · Pays here, the arrow back and no logo, as the
   theme page, the glow running up behind it. */
@media (max-width: 720px) {
  .page-countries .top__in { flex-wrap: nowrap; height: var(--top-h); }
  .page-countries .top .nav, .page-countries .top .logo, .page-countries .top::after { display: none; }
  .page-countries .top .top__back { display: grid; }
}

/* ---------- A work page under its heading, on a phone ---------- */
/* As WorkScreen.swift of the iPhone app (TabsBar of Components.swift,
   VideoCard of VideoCards.swift; Ludoc, 14/11/2026): the header goes up with
   the page and the tabs pin to the top of the screen; under them the order of
   the videos on the right, the season and the episode of a series on the
   left; the videos one under the other, « Tout » a single list by score; the
   heart sharing its row with « Saga » or « Anti-spoiler »; no « Vous aimerez
   aussi ». film.js and tabs.js read --work-app: film.js moves the tabs out of
   the top of the page into main, where they can pin, and the anti-spoiler
   beside the heart; tabs.js draws « Tout » as one list. A sheet still in a
   cache keeps the page of the site. */
@media (max-width: 720px) {
  :root { --work-app: 1; }
  .page-work .top { position: relative; }
  .page-work main > .tabbar { position: sticky; top: 0; z-index: 2; margin: 32px 0 0; background: var(--bg); }
  /* A work without videos yet: the clapperboard as far under the heart as the
     tabs would be (WorkScreen.swift). */
  .page-work main > .awaiting { padding-top: 56px; padding-bottom: 72px; }
  .page-work main > .awaiting::before, .page-work main > .awaiting::after { display: none; }
  /* Without the clapperboard, as the iPhone app (Ludoc, 16/11/2026). */
  .page-work main > .awaiting .awaiting__picture { display: none; }
  .page-work main > .awaiting h2 { margin-top: 0; }
  .page-work main > .awaiting:has(+ .alike) { padding-bottom: 72px; }
  .page-work .tabs { gap: 24px; padding-inline: 20px; box-shadow: inset 0 -1px 0 var(--line); }
  .page-work .tab { gap: 5px; min-height: 44px; padding: 15px 0 10px; font: 600 16px/1 var(--font); }
  .page-work .tab[aria-selected="true"] { font-weight: 700; }
  .page-work .tab__n { font: 700 12px/1 var(--font); }
  .page-work .tabs__bar { height: 2px; }

  /* Under the tabs: the order on the right, in words (« Les meilleures
     d'abord ⌄ »), on every tab; on a series with seasons, the season and the
     episode as square menus on the left and the order as a square icon. */
  .page-work .tools { flex-wrap: nowrap; justify-content: flex-end; min-height: 44px; margin: 4px 0 12px; }
  .page-work .tools .filter { flex: none; }
  /* The overview the server writes has no such line (a series, the
     anti-spoiler alone): its room is kept, so that nothing moves. */
  .page-work .panel[data-served]:not(:has(> .tools))::before { content: ''; display: block; height: 60px; }
  .page-work .panel[data-served] > .tools--bare { margin-top: 12px; }
  .page-work .tools__tokens, .page-work .tools .filter__n { display: none; }
  .page-work .tools .filter__btn { gap: 6px; height: 44px; padding: 0; background: none; border: 0; font: 600 13px/1 var(--font); color: var(--text); }
  .page-work .tools .filter__caret { width: 6px; height: 6px; margin-left: 2px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; font-size: 0; rotate: 45deg; translate: 0 -2px; }
  .page-work .tools:has(.seasons:not([hidden])) { margin-top: 12px; }
  .page-work .tools:has(.seasons:not([hidden])) .filter__btn { position: relative; width: 44px; height: 40px; border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--surface); }
  .page-work .tools:has(.seasons:not([hidden])) .filter__btn > span:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .page-work .tools:has(.seasons:not([hidden])) .filter__caret { display: none; }
  /* line.3.horizontal.decrease: three lines, shorter one under the other. */
  .page-work .tools:has(.seasons:not([hidden])) .filter__btn::before { content: ''; width: 16px; height: 12px; background: linear-gradient(currentColor, currentColor) top center / 16px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 10px 2px no-repeat, linear-gradient(currentColor, currentColor) bottom center / 4px 2px no-repeat; }
  .page-work .tools .seasons { order: 0; flex: 0 1 auto; flex-wrap: nowrap; min-width: 0; margin-right: auto; }
  .page-work .tools .seasons .select { flex: 0 1 auto; min-width: 0; }
  .page-work .tools .seasons .select select { width: auto; max-width: 100%; overflow: hidden; text-overflow: ellipsis; height: 40px; min-height: 40px; padding: 0 32px 0 14px; border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--surface); font: 700 14px/1 var(--font); color: var(--text); }
  .page-work .tools .seasons .select--on select { border-color: var(--line); }
  .page-work .tools .seasons .select--on::after { color: var(--text); }
  .page-work .tools .seasons .select::after { content: ''; right: 14px; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; rotate: 45deg; translate: 0 -70%; }

  /* Since 20/11/2026 (Ludoc; ToolsLine, seasonButton and SeasonSheet of the
     iPhone app): the four orders as pills on a line that slides sideways,
     from the margin of the page to the edge of the screen, one touch each;
     before them on a series, ONE button for the season and the episode
     (« Saisons », « Saison 2 », « S02E08 »), which opens a sheet; the button on
     the right is the languages', a globe, only on a page with several, and
     the line fades under it while more waits. tabs.js writes .sorts hidden
     and says .tools--pills: a script still in a cache keeps the line above.
     The margins of the line do not change: what the server writes stays where
     it was. */
  :root .page-work .tools--pills { gap: 8px; justify-content: flex-start; }
  :root .page-work .tools--pills .tools__left { display: contents; }
  :root .page-work .tools--pills .seasons { display: none; }
  :root .page-work .tools--pills .sorts { display: flex !important; flex: 1 1 0; align-items: center; gap: 6px; min-width: 0; min-height: 44px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
  :root .page-work .tools--pills .sorts::-webkit-scrollbar { display: none; }
  :root .page-work .tools--pills.tools--lang .sorts { margin-inline-end: 0; padding-inline-end: 4px; }
  :root .page-work .tools--pills.tools--lang .sorts--more { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 24px), transparent); }
  .sorts__pick { display: contents; }
  /* A pill is 34 tall, 44 for the touch. */
  .sorts__pill, .sorts__season { position: relative; flex: none; height: 34px; padding: 0 11px; border: 1px solid var(--line); background: var(--surface); white-space: nowrap; -webkit-tap-highlight-color: transparent; transition: scale .275s var(--spring-press), background-color .15s, border-color .15s, color .15s; }
  .sorts__pill::before, .sorts__season::before { content: ''; position: absolute; inset: -5px 0; }
  .sorts__pill:active, .sorts__season:active { scale: .97; }
  .sorts__pill { border-radius: 17px; font: 600 14px/1 var(--font); color: var(--text-2); }
  .sorts__pill[aria-pressed="true"] { border-color: var(--text); background: var(--text); font-weight: 700; color: var(--bg); }
  .sorts__season { display: inline-flex; align-items: center; gap: 6px; border-radius: var(--r-ctl); font: 700 14px/1 var(--font); color: var(--text); }
  .sorts__season--on { border-color: var(--accent); }
  .sorts__season::after { content: ''; flex: none; width: 10px; height: 10px; background: currentColor; -webkit-mask: var(--sorts-down) center / contain no-repeat; mask: var(--sorts-down) center / contain no-repeat; }
  .sorts__caption { font-weight: 600; color: var(--text-2); }
  .sorts__sep { flex: none; width: 1px; height: 20px; margin: 0 4px; background: var(--line); }
  :root { --sorts-down: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1.5 3.5L5 7l3.5-3.5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); --sorts-globe: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'%3E%3Ccircle cx='8' cy='8' r='6.25'/%3E%3Cpath d='M1.75 8h12.5M8 1.75c1.9 1.7 2.8 3.8 2.8 6.25S9.9 12.55 8 14.25C6.1 12.55 5.2 10.45 5.2 8S6.1 3.45 8 1.75z'/%3E%3C/g%3E%3C/svg%3E"); }
  /* The languages: a square of 40 with a globe, framed in red once one is
     chosen (languageMenu of WorkScreen.swift); its sheet holds the languages alone. */
  :root .page-work .tools--pills:not(.tools--lang) .filter { display: none; }
  :root .page-work .tools.tools--pills .filter__btn { position: relative; justify-content: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--surface); color: var(--text); }
  :root .page-work .tools.tools--pills .filter--on .filter__btn { border-color: var(--accent); }
  :root .page-work .tools.tools--pills .filter__btn > span:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  :root .page-work .tools.tools--pills .filter__caret { display: none; }
  :root .page-work .tools.tools--pills .filter__btn::before { content: ''; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--sorts-globe) center / contain no-repeat; mask: var(--sorts-globe) center / contain no-repeat; }
  :root .page-work .tools--pills .filter__group--sort { display: none; }
  /* Its title says « Langue » already. */
  :root .page-work .tools--pills .filter__group--lang legend { display: none; }
  /* The sheet of the seasons: a pastille a choice, framed once made, in red
     when it is a season or an episode, and the others of its list pale then
     (SeasonSheet of the app); the bold words keep their room either way. */
  .spick .filter__in { gap: 20px; }
  .spick__group { display: flex; flex-direction: column; gap: 12px; }
  .spick__label { margin: 0; font: 600 13px/1.4 var(--font); color: var(--text-2); }
  .spick__list { display: flex; flex-wrap: wrap; gap: 8px; }
  .spick__btn { display: inline-grid; place-items: center; align-content: center; min-width: 44px; height: 40px; padding: 0 14px; border: 1px solid var(--line-hi); border-radius: 20px; background: var(--surface-hi); font: 600 15px/1 var(--font); color: var(--text); -webkit-tap-highlight-color: transparent; transition: border-color .15s, box-shadow .15s, opacity .15s; }
  .spick__btn::after { content: attr(data-text); height: 0; overflow: hidden; visibility: hidden; font-weight: 700; }
  .spick__btn[aria-pressed="true"] { border-color: var(--text); box-shadow: inset 0 0 0 .5px var(--text); font-weight: 700; }
  .spick__list--on .spick__btn[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 .5px var(--accent); }
  .spick__list--on .spick__btn[aria-pressed="false"] { opacity: .4; }
  /* What the server writes of a tab, the menus of before: their room, without
     them, until the script draws the pills. */
  .page-work .panel[data-served] > .tools:not(.tools--bare):not(.tools--pills) > * { visibility: hidden; }

  /* The videos one under the other, 34 apart (VideoGrid): the picture across,
     the title 16 on two lines at most with the bookmark at its end, the
     channel under it, the episode first. */
  .page-work .panel .grid { gap: 34px; }
  .page-work .panel .vcard { gap: 10px; }
  .page-work .panel .vcard__tab { display: none; }
  .page-work .panel .vcard__dur { padding: 4px 6px; font-size: 12px; }
  .page-work .panel .vcard__head { gap: 6px; }
  .page-work .panel .vcard__title { display: -webkit-box; overflow: hidden; font: 600 16px/1.3 var(--font); -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  /* Its " · " between the channel and the episode goes with the size of the line. */
  .page-work .panel .vcard__by { display: flex; align-items: center; gap: 8px; min-width: 0; margin-top: -7px; font: 400 0/1.3 var(--font); }
  .page-work .panel .vcard__by > a { min-width: 0; overflow: hidden; font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
  .page-work .panel .vcard__by > .chip { order: -1; flex: none; padding: 1px 5px; font: 700 11px/1.3 var(--font); color: var(--text); }
  .page-work .panel .later { width: 44px; height: 44px; margin: -12px -12px -12px -8px; }
  /* What the server writes of « Tout », a shelf a tab, already one list. */
  .page-work .shelves { display: flex; flex-direction: column; gap: 34px; }
  .page-work .shelves > section::before { display: none; }
  /* A tab of one card keeps the two columns of the list from 521 px, which
     site.css narrows to one there (a tab beside the next ones). */
  @media (min-width: 521px) {
    .page-work .shelves > section[data-cards="1"] > .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  /* A tab split by nature (series.js): its titles stay, further from the
     cards above than the cards are from each other. */
  .page-work .sections { gap: 48px; }
  .page-work .shelves .row__head { display: none; }
  .page-work .shelves .grid { display: grid; gap: 34px; overflow: visible; margin-inline: 0; padding-inline: 0; scroll-snap-type: none; }
  .page-work .shelves .vcard { width: auto; }

  /* The line of the anti-spoiler above the videos, that of the other
     languages under them (MaskLine, folded): grey, the action in bold. */
  .page-work .panel .elsewhere { margin: 22px 0 0; font: 400 14px/1.45 var(--font); }
  .page-work .panel .spoiler__line { margin: 0 0 12px; }
  .page-work .panel .elsewhere__btn { font: 700 14px/1.45 var(--font); text-decoration: none; }
  .page-work .alike { display: none; }

  /* The heart takes the row alone, or 57 % of it beside « Saga » or
     « Anti-spoiler » (SharedRow), both 46 high; their chevron on the left, grey. */
  .page-work .film-side__actions { flex: 1 1 auto; flex-wrap: nowrap; min-width: 0; }
  .page-work .film-side .like { flex: 1 1 0; height: 46px; font-size: 16px; }
  /* Beside a button too wide for the 43 % left, it gives way down to half. */
  .page-work .film-side .like:has(+ :is(.saga__toggle, .spoiler)) { flex: 0 1 calc((100% - 10px) * .57); min-width: calc(50% - 5px); }
  .page-work .film-side :is(.saga__toggle, .spoiler) { flex: 1 0 auto; max-width: calc(50% - 5px); }
  .page-work .film-side :is(.saga__toggle, .spoiler__btn) { justify-content: flex-start; gap: 6px; width: 100%; height: 46px; padding: 0 18px 0 16px; overflow: hidden; background: none; border: 1px solid var(--line-hi); border-radius: var(--r-pill); font: 600 15px/1 var(--font); color: var(--text); white-space: nowrap; }
  .page-work .film-side .spoiler__btn--on { border-color: var(--accent); }
  .page-work .film-side :is(.saga__n, .spoiler__at) { font-weight: 500; color: var(--text-2); }
  .page-work .film-side .spoiler__at { display: inline; }
  /* Set, too long beside the heart: « S3 E2 » alone, in the colour of the words. */
  .page-work .film-side .spoiler { container-type: inline-size; }
  @container (max-width: 199px) {
    .page-work .film-side .spoiler__btn--on :is(.spoiler__word, .spoiler__dot) { display: none; }
    .page-work .film-side .spoiler__btn--on .spoiler__at { font-weight: 600; color: var(--text); }
  }
  .page-work .film-side .saga__chevron { order: -1; flex: none; width: 13px; height: 13px; margin-right: 4px; color: var(--text-2); }
  .page-work .film-side .spoiler__btn .filter__caret { order: -1; flex: none; width: 6px; height: 6px; margin: 0 8px 0 3px; border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2); font-size: 0; rotate: 45deg; translate: 0 -2px; }

  /* The saga unfolded: a film a line, its poster 44 by 66 (sagaList). */
  .page-work .saga__head { padding: 12px 16px 8px; font-size: 13px; }
  .page-work .saga__head h2 { font-size: 15px; }
  .page-work .saga__item { gap: 12px; padding: 8px 16px; }
  .page-work .saga__item .poster { width: 44px; border-radius: var(--r-poster); }
  .page-work .saga__name { font-size: 15px; }
  .page-work .saga__meta { margin-top: 3px; font-size: 13px; }
  .page-work .saga__this { font-size: 11px; }
  .page-work .saga__go { width: 14px; height: 14px; }
}

/* ---------- The player across the whole screen, a phone turned sideways ---------- */
/* As VideoScreen.swift (`full`: a compact height, the iPhone on its side):
   the page goes, the player fills the screen, 16:9 in the middle of black,
   within the safe areas; upright again, the page is back as it was. CSS
   alone, so that nothing is built again: the frame of YouTube stays the same
   element and the video plays on (requestFullscreen needs a gesture). The
   rest of the page stays where it is, under the player and its black, out of
   reach of a finger; upright again, video.js brings it back where it was read
   (`--player-full`). A tablet (a landscape height over 720), a computer, a
   page with no player or with a window open keep their layout.
   Android testers, 18-19/11/2026: a black picture with the sound going on, or
   half of the video, once the phone was turned. So no `visibility: hidden` on
   the page around the player any more (a hidden ancestor can stop the frame
   from being painted on some phones), and a size taken from the screen as laid
   out (percentages of the fixed box) rather than from vw and dvh, which some
   browsers leave at their upright values for a moment: the frame fills the
   safe area and YouTube puts the 16:9 in the middle of its own black. */
@media (orientation: landscape) and (max-height: 720px) and (hover: none) and (pointer: coarse) {
  :root:has(> body.page-video .watch__player > iframe):not(:has(dialog[open])) { --player-full: 1; overflow: hidden; background: #000; }
  :root:not(:has(dialog[open])) body.page-video:has(.watch__player > iframe) { overflow: hidden; background: #000; pointer-events: none; }
  :root:not(:has(dialog[open])) .page-video .watch__player > iframe {
    --safe-t: env(safe-area-inset-top, 0px);
    --safe-b: env(safe-area-inset-bottom, 0px);
    /* The same room on both sides, so the player stays in the middle of the screen. */
    --safe-x: max(env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
    position: fixed;
    inset: var(--safe-t) var(--safe-x) var(--safe-b);
    /* Over the header (20) and its menus (30). */
    z-index: 40;
    width: calc(100% - 2 * var(--safe-x));
    height: calc(100% - var(--safe-t) - var(--safe-b));
    margin: 0;
    /* The page around goes black, as before. */
    box-shadow: 0 0 0 100vmax #000;
    pointer-events: auto;
  }
}

/* ---------- Haptics ---------- */
/* A small buzz on the member's gestures, as the iPhone app's haptic feedback
   (WorkScreen, VideoScreen, VideoCards, MomentScreen, Rayons): read by
   js/haptics.js, which never buzzes in a tab. */
:root { --haptics: 1; }

/* The push of the report sheet (report.js), and the fade that takes its place
   with fewer animations. */
@keyframes rs-in { from { translate: 100% 0; } }
@keyframes rs-out { to { translate: -30% 0; } }
@keyframes rs-back-in { from { translate: -30% 0; } }
@keyframes rs-back-out { to { translate: 100% 0; } }
@keyframes rs-fade-in { from { opacity: 0; } }
@keyframes rs-fade-out { to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .rs-in, .rs-back-in { animation: rs-fade-in .2s ease-out both; }
  .rs-out, .rs-back-out { animation: rs-fade-out .2s ease-out both; }
}

/* ---------- Footer ---------- */
/* The stores of the apps (site.css, .foot__apps): whoever runs the site as an
   app has it already; « Apps » of the first line still leads to /download. */
.foot__apps { display: none; }
