/* Fonts live with the site (SIL Open Font License, see fonts/): nothing goes to Google, and only what is used loads.
   The "fallback" faces take each font's width on a local font, so nothing moves when the real one arrives. */
@font-face { font-family: "Inter"; src: url(fonts/inter-var.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url(fonts/barlow-condensed-600.woff2) format("woff2"); font-weight: 500 700; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url(fonts/montserrat-800.woff2) format("woff2"); font-weight: 700 800; font-display: block; }
@font-face { font-family: "Inter fallback"; src: local("Segoe UI"), local("Arial"), local("Helvetica Neue"); size-adjust: 107%; ascent-override: 90%; descent-override: 22%; line-gap-override: 0%; }
@font-face { font-family: "Barlow fallback"; src: local("Arial Narrow"), local("Helvetica Neue Condensed"), local("Arial"); size-adjust: 88%; ascent-override: 112%; descent-override: 26%; line-gap-override: 0%; }
@font-face { font-family: "Montserrat fallback"; src: local("Arial Black"), local("Arial"); size-adjust: 104%; ascent-override: 92%; descent-override: 24%; line-gap-override: 0%; }
/* getrealcam.com · home page (direction A · Cinema, round 3).
   Layout: the Hub's Play screen as the opening frame (footage, game between chevrons, one action);
   below it the footage blurs like the Hub's reading pages and each section sits on one smoked pane.
   One deliberate look, dark like the Hub, so the palette is defined once. */
:root {
  --f-brand: "Montserrat", "Montserrat fallback", system-ui, sans-serif;
  --page: #05070A;       /* the Hub window */
  --pane: rgba(10,12,16,.55);
  --line: rgba(255,255,255,.08);
  --t: #F2F3F5;          /* text */
  --t2: #A3ABB5;         /* secondary text */
  --t3: #8A939E;         /* faint text (4.5:1 and up on the page) */
  --blue: #008FFA;       /* "Hub" in the wordmark */
  --ok: #7CF0AE;         /* the Hub's ready green */
  --cta: #F7F7F5;        /* the one white button */
  --acc: 255,92,140;     /* current game's colour, set by script */
  --f-body: "Inter", "Inter fallback", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-cine: "Barlow Condensed", "Barlow fallback", "Arial Narrow", sans-serif;
  --r: 10px;
  --spring: cubic-bezier(.34,1.56,.64,1);
  --out: cubic-bezier(.16,1,.3,1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { background: var(--page); color: var(--t); overflow-x: clip; }
body { margin: 0; font-family: var(--f-body); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { text-wrap: balance; }
:focus { outline: none; }
:focus-visible { outline: 1.5px solid #A9CBFF; outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(0,143,250,.4); }

.cine { font-family: var(--f-cine); text-transform: uppercase; letter-spacing: .015em; font-weight: 600; line-height: .94; }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--t2); }
.wrap { width: min(1180px, 100% - 64px); margin-inline: auto; }

/* ---------- Brand (official vectors, never retyped) ---------- */
.brand { display: flex; align-items: center; gap: 9px; flex: none; }
.brand .bmk { height: 32px; width: auto; }
.brand .bwm { height: 26px; width: auto; }

/* ---------- Buttons and links ---------- */
.b { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 46px; padding: 0 22px; border-radius: var(--r); font-size: 14px; font-weight: 600; letter-spacing: .01em; white-space: nowrap; transition: background .2s, border-color .2s, transform .15s, box-shadow .3s; }
.b svg { width: 16px; height: 16px; flex: none; }
.b svg.patreon { width: 15px; height: 15px; margin-right: 2px; position: relative; top: 1.5px; } /* the symbol's weight sits high: optically centred on the text */
.b.pri svg.patreon { color: #000; }
.b:active { transform: scale(.98); }
.b.pri { background: var(--cta); color: #090B0E; box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.b.pri:hover { background: #fff; box-shadow: 0 10px 40px rgba(255,255,255,.12); }
.b.sec { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.b.sec:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); }
.b.sm { height: 36px; padding: 0 14px; font-size: 13px; }
.lnk { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--t2); text-decoration: underline; text-decoration-color: rgba(255,255,255,.25); text-underline-offset: 4px; transition: color .2s, text-decoration-color .2s; }
.lnk:hover { color: var(--t); text-decoration-color: var(--t); }
.lnk svg { width: 14px; height: 14px; }
.chev { display: inline-grid; place-items: center; width: 40px; height: 40px; color: rgba(255,255,255,.6); transition: color .2s, transform .35s var(--spring); }
.chev svg { width: 28px; height: 28px; stroke-width: 1.4; }
.chev:hover { color: #fff; }

/* ---------- Footage ---------- */
.footage { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: #000; }
.footage .layer { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0; transition: opacity .9s ease, filter 1s var(--out), transform 1.4s var(--out); }
.footage .layer.on { opacity: 1; }
.footage::after { content: ""; position: absolute; inset: 0; pointer-events: none; transition: opacity 1s;
  background: linear-gradient(180deg, rgba(5,7,10,.6) 0%, rgba(5,7,10,0) 20%, rgba(5,7,10,.05) 45%, rgba(5,7,10,.82) 100%),
    radial-gradient(70% 55% at 50% 62%, rgba(5,7,10,.38), transparent 70%),
    radial-gradient(130% 100% at 50% 45%, transparent 55%, rgba(5,7,10,.6) 100%); }
.footage.reading .layer { filter: blur(28px) brightness(.42) saturate(120%); transform: scale(1.08); }
.glow { position: fixed; inset: auto 0 0 0; height: 40vh; z-index: 1; pointer-events: none; background: radial-gradient(60% 80% at 50% 100%, rgba(var(--acc), .13), transparent 70%); transition: background 1.2s; }
/* iPhone and iPad (html.ios, set by site.js): Safari covers anything fixed or stuck to the
   screen with one flat colour under its status bar and toolbar, and only lets page content
   that scrolls show through there. So on iOS every level carries its own picture and scrolls
   like the rest of the page: the opening holds the footage itself, reaching 140px above it;
   the reading levels show the current clip's still, blurred and dimmed; the closing level
   shows it clear. The bar, buttons and text keep their safe-area padding and do not move. */
/* Safari also tints its bars with the page's own background colour: on iOS the page has none,
   the levels' pictures cover it. */
/* Measured on an iPhone with Safari 27: with a coloured root Safari paints that colour under the clock; transparent, the page shows there. */
html.ios, html.ios body { background: transparent; }
/* Each level fills the whole iPhone screen: site.js measures it (--level-h) and how much of it
   Safari covers (--band under the status bar, --under under the toolbar). A level carries a
   transparent border of each so its content stays in the visible part while its picture runs
   on under both bars; snapping puts the top border under the status bar. The opening has no
   top border: nothing sits above the page. */
html.ios { --level-h: 100lvh; --band: 0px; --under: calc(100lvh - 100svh); }
html.ios, html.ios body { overflow-x: clip; }
html.ios .hero, html.ios .dlhero, html.ios .block, html.ios .after { min-height: var(--level-h); border-top: var(--band) solid transparent; border-bottom: var(--under) solid transparent; scroll-margin-top: calc(-1 * var(--band)); }
html.ios .final, html.ios .others { min-height: calc(var(--level-h) - var(--foot, 92px)); border-top: var(--band) solid transparent; scroll-margin-top: calc(-1 * var(--band)); }
html.ios .footage { bottom: calc(-1 * var(--under)) !important; }
/* Safari on iPhone draws coloured pixel streaks when a blurred logo sits under the carousel's
   edge mask: there the side logos only fade. */
html.ios .carousel .slide { filter: none !important; }
html.ios .carousel .slide img { filter: none; }
html.ios .glow { display: none; }
html.ios .top::before { display: none; }
html.ios .top { text-shadow: 0 1px 10px rgba(0,0,0,.6); }
html.ios .footage { position: absolute; inset: -140px 0 0 0; z-index: -1; background: transparent; }
html.ios .footage.reading .layer { filter: none; transform: none; }
html.ios .footage.dim.reading .layer { filter: brightness(.55) saturate(115%); transform: scale(1.03); }
html.ios .block, html.ios .final, html.ios .after, html.ios .others { position: relative; isolation: isolate; clip-path: inset(0); }
html.ios .block::before, html.ios .final::before, html.ios .after::before, html.ios .others::before {
  content: ""; position: absolute; inset: calc(-1 * var(--band, 0px)) 0 calc(-1 * var(--under, 0px)); z-index: -1; pointer-events: none;
  background: #05070A var(--still-soft, none) center / cover no-repeat; }
html.ios .final::before { background-image: var(--still, none); filter: brightness(.7); }
html.ios .fixed-credit { position: absolute; }

/* ---------- Top bar ---------- */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 30; display: flex; align-items: center; gap: 36px;
  padding: calc(14px + env(safe-area-inset-top, 0px)) max(32px, env(safe-area-inset-right, 0px)) 14px max(32px, env(safe-area-inset-left, 0px));
  text-shadow: 0 1px 12px rgba(0,0,0,.55); }
.top::before { content: ""; position: absolute; inset: 0 0 -28px; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(5,7,10,.5), rgba(5,7,10,0)); }
.glass { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13);
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); }
/* The bar, as in RealCam Hub: the mark, the sections as small capitals with a white rule under
   the one on screen, and the Hub's dark pill on the right. */
.top .brand { flex: none; }
.tabs { display: flex; gap: 22px; margin-left: 18px; }
.tabs a { position: relative; height: 30px; display: inline-flex; align-items: center; padding: 0 2px; color: #B4B9BF; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; transition: color .2s; }
.tabs a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--t); transform: scaleX(0); transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.tabs a:hover, .tabs a.on { color: var(--t); }
.tabs a.on::after { transform: scaleX(1); }
.top .right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.pill { height: 30px; display: inline-flex; align-items: center; gap: 9px; padding: 0 12px; border-radius: 999px; background: rgba(5,6,8,.6); border: 1px solid rgba(255,255,255,.13);
  font-size: 12px; font-weight: 500; color: var(--t); white-space: nowrap; text-shadow: none; transition: background .2s; }
.pill:hover { background: rgba(5,6,8,.8); }
.pill svg { width: 13px; height: 13px; }
.pill .sep { width: 1px; height: 13px; background: rgba(255,255,255,.13); }
/* In the bar, Discord and Become a member are plain words and icons, no capsule. On the home page,
   Become a member waits until the opening (which has the big white button) is out of view. */
.top .right { gap: 22px; }
.top .right .pill { height: 30px; padding: 0; border: 0; background: none; border-radius: 0; font-size: 12.5px; font-weight: 600; color: #D9DCE0;
  transition: color .2s, opacity .4s ease, transform .5s var(--out); }
.top .right .pill:hover { background: none; color: var(--t); }
.top .right .pill svg { width: 15px; height: 15px; }
.top .right .pill.join svg { color: var(--t); }
body.onhero .top .right .pill.join { opacity: 0; transform: translateY(-6px); pointer-events: none; }
.menu-btn { display: none; width: 40px; height: 40px; place-items: center; color: var(--t); margin-right: -8px; }
.menu-btn i { display: grid; gap: 5px; width: 20px; }
.menu-btn i::before, .menu-btn i::after { content: ""; height: 1.5px; background: currentColor; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
body.menu .menu-btn i::before { transform: translateY(3.25px) rotate(45deg); }
body.menu .menu-btn i::after { transform: translateY(-3.25px) rotate(-45deg); }

/* Download in the bar opens its three platforms, on the Hub's dark layer. */
.tabs .dd { position: relative; display: inline-flex; }
.tabs .ddl { position: absolute; top: 100%; left: -14px; margin-top: 8px; min-width: 180px; display: grid; padding: 6px; border-radius: 6px;
  background: rgba(7,9,12,.92); border: 1px solid rgba(255,255,255,.13); opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .2s, transform .25s cubic-bezier(.2,.8,.2,1), visibility 0s .25s; }
.tabs .ddl::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.tabs .dd:hover .ddl, .tabs .dd:focus-within .ddl { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .25s cubic-bezier(.2,.8,.2,1), visibility 0s; }
.tabs .ddl a { height: 36px; padding: 0 10px; border-radius: 4px; gap: 10px; letter-spacing: .08em; }
.tabs .ddl a::after { display: none; }
.tabs .ddl a:hover { background: rgba(255,255,255,.08); }
.tabs .ddl svg { width: 14px; height: 14px; }
.menu-btn { display: inline-grid; }

/* The menu: a dark panel slides in from the right, the sections stack at its foot in the
   wordmark's typeface; on hover their letters roll to the Hub blue, and the section's name
   stands huge and faint over the page on the left. */
.sheet { --f-brand: "Montserrat", "Montserrat fallback", system-ui, sans-serif; position: fixed; inset: 0; z-index: 40; visibility: hidden; transition: visibility 0s .7s; }
.sheet.open { visibility: visible; transition: visibility 0s; }
/* Behind the menu: its own clip under a darkening shade. Both open from the right edge with the panel
   and close back into it. */
.sheet .mvid, .sheet .shade { position: absolute; inset: 0; clip-path: inset(0 0 0 100%); transition: clip-path .7s cubic-bezier(.7,0,.2,1); }
.sheet.open .mvid, .sheet.open .shade { clip-path: inset(0); }
.sheet .mvid { background: #05070A; }
.sheet .mvid video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s var(--out); }
.sheet.open .mvid video { transform: none; }
.sheet .shade { background: linear-gradient(90deg, rgba(5,7,10,.58), rgba(5,7,10,.78) 55%, rgba(5,7,10,.9)), radial-gradient(120% 90% at 0% 100%, rgba(5,7,10,.6), transparent 60%); }
.sheet .mcredit { flex-basis: 100%; margin: 6px 0 0; font-size: 11.5px; color: var(--t3); }
.sheet .ghost { position: absolute; left: 0; right: min(46vw, 640px); bottom: 4vh; padding-left: max(24px, env(safe-area-inset-left, 0px)); overflow: hidden; pointer-events: none;
  font-family: var(--f-brand); font-weight: 800; font-size: clamp(120px, 19vw, 300px); line-height: .85; letter-spacing: -.04em; white-space: nowrap; color: rgba(242,243,245,.14);
  opacity: 0; transform: translateY(30px); transition: opacity .5s ease, transform .9s var(--out); }
.sheet.open .ghost { opacity: 1; transform: none; transition-delay: .25s; }
.sheet .ghost span { display: inline-block; transition: opacity .25s, transform .5s var(--out); }
.sheet .ghost span.swap { opacity: 0; transform: translateY(14px); }
.sheet .ghost .hint { font-family: var(--f-body); font-weight: 500; font-size: 17px; letter-spacing: 0; line-height: 1.4; color: var(--t); max-width: calc(54vw - 80px); white-space: normal; margin: 0 0 10px 6px;
  display: flex; align-items: center; gap: 12px; transition: opacity .25s, transform .5s var(--out); }
.sheet .ghost .hint::before { content: ""; width: 28px; height: 2px; background: var(--blue); flex: none; }
.sheet .ghost .hint:empty { display: none; }
.sheet .ghost .hint.swap { opacity: 0; transform: translateY(8px); }
.sheet .panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(46vw, 640px); display: grid; grid-template-rows: auto 1fr auto; align-items: end;
  padding: calc(84px + env(safe-area-inset-top, 0px)) max(40px, env(safe-area-inset-right, 0px)) calc(34px + env(safe-area-inset-bottom, 0px)) 48px;
  background: rgba(14,17,22,.62); -webkit-backdrop-filter: blur(26px) saturate(130%); backdrop-filter: blur(26px) saturate(130%); box-shadow: -30px 0 80px rgba(0,0,0,.45); transform: translateX(102%); transition: transform .7s cubic-bezier(.7,0,.2,1); }
.sheet.open .panel { transform: none; }
/* The logo, opaque and twice the bar's size; it flies between the bar and the panel (.brand-fly). */
.sheet .mbrand { align-self: start; justify-self: start; gap: 18px; }
.sheet .mbrand .bmk { height: 64px; } .sheet .mbrand .bwm { height: 52px; }
.brand-fly { position: fixed; z-index: 60; margin: 0; transform-origin: 0 0; pointer-events: none; will-change: transform; }
.brand-fly.big { gap: 18px; } .brand-fly.big .bmk { height: 64px; } .brand-fly.big .bwm { height: 52px; }
.sheet .items { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.sheet .it { display: inline-flex; align-items: center; gap: 14px; font-family: var(--f-brand); font-weight: 800; font-size: clamp(34px, 5.4vh, 58px); line-height: 1.04; letter-spacing: -.025em; color: var(--t);
  opacity: 0; transform: translateY(40px); transition: opacity .5s ease, transform .8s var(--out); }
.sheet.open .it { opacity: 1; transform: none; transition-delay: calc(.3s + var(--n) * .05s); }
.sheet .it .w { display: inline-block; white-space: nowrap; }
.sheet .it .sp { display: inline-block; width: .28em; }
.sheet .it .ch { display: inline-block; height: 1.04em; overflow: hidden; vertical-align: top; }
.sheet .it .ch i { display: block; font-style: normal; transition: transform .45s cubic-bezier(.7,0,.2,1); transition-delay: calc(var(--k) * 18ms); }
.sheet .it .ch i::after { content: attr(data-c); display: block; color: var(--blue); }
.sheet .it:hover .ch i, .sheet .it:focus-visible .ch i, .sheet .has-sub.open > .it .ch i { transform: translateY(-50%); }
.sheet .it.on::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); margin-left: -22px; margin-right: 0; }
/* Download's platforms keep their room from the start, so showing them moves nothing above:
   they only fade and drop in under the word. */
.sheet .sub > div { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.sheet .sub a { opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s ease, transform .5s var(--out), visibility 0s .5s, color .2s; }
.sheet .sub a:nth-child(2) { transition-delay: .04s, .04s, .5s, 0s; } .sheet .sub a:nth-child(3) { transition-delay: .08s, .08s, .5s, 0s; }
.sheet .has-sub.open .sub a, .sheet .has-sub:hover .sub a, .sheet .has-sub:focus-within .sub a { opacity: 1; visibility: visible; transform: none; transition-delay: 0s, 0s, 0s, 0s; }
.sheet .has-sub.open .sub a:nth-child(2), .sheet .has-sub:hover .sub a:nth-child(2) { transition-delay: .05s, .05s, 0s, 0s; }
.sheet .has-sub.open .sub a:nth-child(3), .sheet .has-sub:hover .sub a:nth-child(3) { transition-delay: .1s, .1s, 0s, 0s; }
.sheet .sub a { display: inline-flex; align-items: center; gap: 9px; padding: 10px 0 6px; font-family: var(--f-brand); font-weight: 700; font-size: 17px; color: #B4B9BF; }
.sheet .sub a:hover { color: var(--blue); }
.sheet .sub svg { width: 16px; height: 16px; }
.sheet .foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); opacity: 0; transition: opacity .5s ease; }
.sheet.open .foot { opacity: 1; transition-delay: .65s; }
.sheet .foot .b { height: 40px; }
body.menu .top { z-index: 50; }

/* ---------- Hero ---------- */
.hero { position: relative; z-index: 2; min-height: 100svh; display: grid; grid-template-rows: 1fr auto;
  padding: calc(96px + env(safe-area-inset-top, 0px)) max(32px, env(safe-area-inset-right, 0px)) 24px max(32px, env(safe-area-inset-left, 0px)); }
.hero .mid { align-self: end; display: grid; justify-items: center; gap: 16px; text-align: center; padding-bottom: 5vh; }
.hero h1 { font-size: clamp(44px, 6.2vw, 84px); text-shadow: 0 4px 40px rgba(0,0,0,.45); }
.hero h1 .w { display: inline-block; }
/* The changing line: every phrase in the same cell, only one shown. */
.hero h1#title { display: grid; }
.hero h1 .ln { grid-area: 1 / 1; align-self: center; visibility: hidden; }
.hero h1 .ln.on, .hero h1 .ln.out { visibility: visible; }
.named .hero h1 .ln { visibility: hidden; } /* not before the big name has gone up to the bar */
.hero h1 .ln.out .w { animation: drop-out .55s cubic-bezier(.5,0,.75,0) both; animation-delay: calc(var(--i) * .045s); }
.hero h1 .ln.in .w { animation: drop-in .8s cubic-bezier(.2,.9,.25,1.15) both; animation-delay: calc(.32s + var(--i) * .06s); }
@keyframes drop-out { to { opacity: 0; transform: translateY(.45em) rotate(4deg); filter: blur(4px); } }
@keyframes drop-in { from { opacity: 0; transform: translateY(-.7em) rotate(-3deg); filter: blur(4px); } }
.hero .lead { max-width: 34em; color: rgba(242,243,245,.86); font-size: 16.5px; text-shadow: 0 1px 14px rgba(0,0,0,.7); }
.carousel { position: relative; justify-self: stretch; width: min(100%, 1120px); margin: 16px auto 0; height: 120px; --sw: 320px; --step: 430px; --drop: 14px; }
/* The Hub's game carousel: the game in the middle, its neighbours on each side smaller, fainter
   and softer (opacity and blur set per logo in home.js), the edges fading out. */
/* The strip reaches 40px above and below the logos so their soft shadow is never cut into a visible box. */
.carousel .logo { position: absolute; inset: -40px 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.25) 9%, rgba(0,0,0,.7) 20%, #000 32%, #000 68%, rgba(0,0,0,.7) 80%, rgba(0,0,0,.25) 91%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.25) 9%, rgba(0,0,0,.7) 20%, #000 32%, #000 68%, rgba(0,0,0,.7) 80%, rgba(0,0,0,.25) 91%, transparent 100%); }
.carousel .slide { position: absolute; left: 50%; top: 40px; width: var(--sw); height: calc(100% - 80px); margin-left: calc(var(--sw) / -2); display: grid; place-items: center; padding: 6px 10px;
  will-change: transform, opacity; }
.carousel .slide img { max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 6px 24px rgba(0,0,0,.6)); pointer-events: none; }
/* Fade and blur come from home.js (--op, --bl). --hv wakes a side game when the pointer comes near:
   clearer, sharp, a little larger and leaning towards the centre, to show a click brings it there. */
@property --hv { syntax: '<number>'; inherits: true; initial-value: 0; }
.carousel .slide { --hv: 0; opacity: min(1, calc(var(--op, 1) + var(--hv) * .35)); filter: blur(max(0px, calc(var(--bl, 0) * (1 - var(--hv)) * 1px))); transition: --hv .45s cubic-bezier(.34,1.56,.64,1); }
.carousel .slide.near { --hv: 1; }
.carousel .slide img { transform: translateX(calc(var(--hv) * var(--dir, 0) * 8px)) scale(calc(1 + var(--hv) * .08)); }
.carousel .slide.cur { cursor: default; }
/* Drag anywhere on the opening (home.js); vertical moves still scroll the page. */
.hero { touch-action: pan-y; }
.carousel { cursor: grab; user-select: none; -webkit-user-select: none; }
.carousel.dragging, .carousel.dragging * { cursor: grabbing; }
.carousel img { -webkit-user-drag: none; user-select: none; }
/* As in the Hub: no disc. The arrows wait at the edges, where the side logos fade out, and come in with the
   bar's lean (--a, 0 to 1, set by home.js): heading left, the left arrow fades and slides in. */
.carousel .chev { --a: 0; position: absolute; top: 50%; z-index: 20; width: auto; height: auto; padding: 12px 8px; background: none; border: 0; color: rgba(247,247,245,.88);
  filter: drop-shadow(0 1px 6px rgba(0,0,0,.55)); opacity: var(--a); pointer-events: none; transition: color .2s; }
.carousel .chev.shown, .carousel .chev:focus-visible { pointer-events: auto; }
.carousel .chev:focus-visible { --a: 1; }
.carousel .chev:hover { color: #F7F7F5; }
.carousel .chev svg { width: 26px; height: 26px; stroke-width: 1.6; transition: transform .35s var(--spring); }
#prev:hover svg { transform: translateX(-3px); } #next:hover svg { transform: translateX(3px); }
.carousel.dragging .chev { opacity: 0; }
#prev { left: 0; transform: translate(calc((1 - var(--a)) * -14px), -50%); } #next { right: 0; transform: translate(calc((1 - var(--a)) * 14px), -50%); }
/* A touch screen has no pointer to bring them in: they stay, quiet. */
@media (hover: none) { .carousel .chev { opacity: 1; pointer-events: auto; color: rgba(255,255,255,.5); } #prev, #next { transform: translateY(-50%); } }
#prev:hover { transform: translateX(-3px); }
#next:hover { transform: translateX(3px); }
.gline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; font-size: 12.5px; color: var(--t2); }
.gline .ok { display: inline-flex; align-items: center; gap: 7px; color: var(--ok); font-weight: 600; letter-spacing: .08em; font-size: 11px; text-transform: uppercase; }
.gline .ok i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.gline .sep { width: 1px; height: 12px; background: rgba(255,255,255,.18); }
.feats { font-size: 12.5px; color: rgba(242,243,245,.6); max-width: 640px; min-height: 1.5em; transition: opacity .4s; }
.cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.cta .b { height: 50px; padding: 0 28px; font-size: 14.5px; }
.bars { display: flex; gap: 6px; margin-top: 6px; }
.bars button { position: relative; width: 26px; height: 14px; }
.bars button::before, .bars button i { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; border-radius: 1px; background: rgba(255,255,255,.22); }
.bars button i { right: auto; width: 0; background: #fff; }
.bars button.on { width: 40px; }
.bars button.on i { width: 100%; transition: width var(--dur, 0s) linear; }
.bars button.on.run i { width: var(--fill, 100%); }
.foot { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--t3); }
.foot svg { width: 14px; height: 14px; }
.foot .plat { display: inline-flex; gap: 8px; align-items: center; }
.credit { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--t2); }
.credit a { color: var(--t); font-weight: 500; }
.credit a:hover { text-decoration: underline; text-underline-offset: 3px; }
.credit button { display: inline-grid; place-items: center; color: var(--t2); }
.credit button:hover { color: var(--t); }
.cue { position: absolute; left: 50%; bottom: 22px; width: 1px; height: 34px; background: rgba(255,255,255,.12); overflow: hidden; transform: translateX(-50%); }
.cue::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: cue 2.4s var(--out) infinite; }
@keyframes cue { to { top: 100%; } }

/* Opening sequence: the footage comes up from black, then the words. */
.intro .footage { animation: up 1.6s ease both; }
/* --lead (set in the page head) leaves room for the brand, which opens big in the middle
   and then flies to its place in the bar (home.js). */
.intro .hero h1 .w { animation: rise .9s var(--out) both; animation-delay: calc(var(--lead, 0s) + .25s + var(--i) * .07s); }
.intro .hero .lead { animation: rise .9s var(--out) calc(var(--lead, 0s) + .55s) both; }
.intro .hero .carousel { animation: rise 1s var(--out) calc(var(--lead, 0s) + .7s) both; }
.intro .hero .gline, .intro .hero .feats { animation: rise 1s var(--out) calc(var(--lead, 0s) + .8s) both; }
.intro .hero .cta { animation: rise 1s var(--out) calc(var(--lead, 0s) + .9s) both; }
.intro .hero .bars, .intro .hero .foot { animation: up 1.2s ease calc(var(--lead, 0s) + 1s) both; }
.intro .top { animation: up 1.2s ease .6s both; }
/* The name first (html.named, set in the page head): "RealCam Hub" big where the title goes,
   the bar shows only the mark; the first scroll sends the name to the bar (home.js). */
.hero .mid { position: relative; }
.hero-name { position: absolute; left: 50%; width: min(74vw, 560px); height: auto; max-width: none; translate: -50% -50%;
  pointer-events: none; animation: rise 1.1s var(--out) .25s both; }
.hero-name-fly { position: fixed; z-index: 70; margin: 0; max-width: none; pointer-events: none; transform-origin: 0 0; }
.named .top .bwm { opacity: 0; }
.named .hero h1, .named .hero .lead { visibility: hidden; }
.titled .hero .lead { animation: rise-again .9s var(--out) .7s both; }
.titled .hero h1 .w { animation: rise-again .9s var(--out) both; animation-delay: calc(.35s + var(--i) * .07s); }
@keyframes rise-again { from { opacity: 0; transform: translateY(18px); } }
@keyframes up { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* ---------- Sections ---------- */
main { position: relative; z-index: 2; }
/* One level per screen: the page settles on each section, never between two. */
/* Touch screens snap here; with a mouse or a trackpad the levels are glided to by site.js, more softly. */
@media (pointer: coarse) { html { scroll-snap-type: y mandatory; } }
.hero, .block, .final, .dlhero, .after, .others { scroll-snap-align: start; scroll-snap-stop: always; }
.block, .after { min-height: 100svh; display: grid; align-content: center; padding: calc(88px + env(safe-area-inset-top, 0px)) 0 56px; }
.block h2 { font-size: clamp(42px, 5vw, 68px); margin: 12px 0 16px; }
.block .intro { max-width: 34em; color: var(--t2); font-size: 16px; }
.pane { background: var(--pane); border: 1px solid var(--line); border-radius: 16px; -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%); }
.rv.pending { opacity: 0; transform: translateY(22px); }
.rv.in { opacity: 1; transform: none; transition: opacity .9s ease, transform 1s var(--out); }

/* Get started */
.steps { display: grid; grid-template-columns: 1.15fr 1fr 1fr; margin-top: 44px; overflow: hidden; }
.step { padding: 30px 28px 30px; display: flex; flex-direction: column; gap: 12px; border-left: 1px solid var(--line); min-width: 0; }
.step:first-child { border-left: 0; background: linear-gradient(180deg, rgba(255,255,255,.04), transparent); }
.step .n { font-family: var(--f-cine); font-size: 15px; letter-spacing: .14em; color: var(--t3); font-weight: 600; }
.step:first-child .n { color: var(--blue); }
.step h3 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.step p { color: var(--t2); font-size: 14px; flex: 1; }
.step .acts { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 10px; }
.step .need { display: inline-flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--t3); }
.step .need svg { width: 14px; height: 14px; }
.already { margin-top: 18px; font-size: 13.5px; color: var(--t3); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* The Hub (pictures only) */
.hubrow { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: center; margin-top: 44px; }
.shot { position: relative; aspect-ratio: 1200 / 794; border-radius: 12px; overflow: hidden; background: #000; box-shadow: 0 50px 140px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.09); }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.015); transition: opacity .6s ease, transform 1s var(--out); }
.shot img.on { opacity: 1; transform: none; }
.points { display: grid; }
.points button, .points .p { display: grid; gap: 4px; text-align: left; padding: 18px 0 18px 18px; border-top: 1px solid var(--line); position: relative; }
.points > :first-child { border-top: 0; }
.points button::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 2px; border-radius: 1px; background: rgba(255,255,255,.1); transition: background .3s; }
.points button.on::before { background: var(--t); }
.points b { font-weight: 600; font-size: 16px; color: var(--t2); transition: color .2s; }
.points button.on b, .points .p b { color: var(--t); }
.points span { color: var(--t3); font-size: 14px; transition: color .2s; }
.points button.on span, .points .p span { color: var(--t2); }
.points button:hover b { color: var(--t); }

/* Motion FX */
.fx { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.fxlive { display: grid; gap: 14px; }
.lens { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; box-shadow: 0 40px 120px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08); }
.lens video { position: absolute; left: -6%; top: -6%; width: 112%; height: 112%; max-width: none; object-fit: cover; will-change: transform; }
.lens .hud { position: absolute; left: 12px; top: 12px; display: flex; gap: 8px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.lens .hud span { padding: 4px 8px; border-radius: 6px; background: rgba(0,0,0,.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lens .hud .rec { color: #FF8A80; }
.lens .credit { position: absolute; right: 12px; bottom: 10px; font-size: 11.5px; }
.fxcard { padding: 18px 22px 12px; }
.fxcard .hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.fxcard .hd b { font-weight: 600; font-size: 14px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; padding: 2px; }
.seg button { padding: 5px 12px; border-radius: 6px; font-size: 12px; color: var(--t2); transition: background .2s, color .2s; }
.seg button.on { background: rgba(255,255,255,.1); color: var(--t); }
.sl { display: grid; grid-template-columns: 128px 1fr 44px; gap: 16px; align-items: center; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.05); font-size: 13.5px; }
.sl:first-of-type { border-top: 0; }
.sl output { text-align: right; color: var(--t2); font-variant-numeric: tabular-nums; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 18px; background: transparent; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 2px; border-radius: 1px; background: linear-gradient(90deg, #fff var(--p, 50%), rgba(255,255,255,.15) var(--p, 50%)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -6px; border-radius: 50%; background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,.5); transition: transform .2s var(--spring); }
input[type=range]:active::-webkit-slider-thumb { transform: scale(1.25); }
input[type=range]::-moz-range-track { height: 2px; background: rgba(255,255,255,.15); }
input[type=range]::-moz-range-progress { height: 2px; background: #fff; }
input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: #fff; }

/* Games */
.games { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 44px; }
.gt { position: relative; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; text-align: left; display: flex; flex-direction: column; justify-content: space-between; padding: 18px; background: #0B0E13; border: 1px solid var(--line); transition: border-color .3s, transform .6s var(--out); min-width: 0; }
.gt:hover { border-color: rgba(255,255,255,.22); transform: translateY(-3px); }
.gt > img.bg, .gt > video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; z-index: 0; transition: opacity .5s, transform 1.4s var(--out); }
.gt > img.bg { opacity: .55; }
.gt > video { opacity: 0; }
.gt.play > video { opacity: 1; }
.gt:hover > img.bg { transform: scale(1.05); }
.gt::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(5,7,10,.5), rgba(5,7,10,0) 35%, rgba(5,7,10,0) 45%, rgba(5,7,10,.92)); }
.gt > :not(.bg):not(video) { position: relative; z-index: 2; }
.gt .lg { height: 32px; width: auto; max-width: 80%; object-fit: contain; object-position: left; filter: drop-shadow(0 3px 12px rgba(0,0,0,.7)); }
.gt .nm { font-size: 14.5px; font-weight: 600; }
.gt .st { font-size: 11.5px; color: var(--t3); margin: 2px 0 8px; }
.gt .fs { font-size: 12px; color: rgba(242,243,245,.7); line-height: 1.55; }
.gt .go { position: absolute; right: 16px; top: 18px; width: 18px; height: 18px; color: var(--t2); opacity: 0; transform: translateX(-4px); transition: opacity .3s, transform .4s var(--out); }
.gt:hover .go { opacity: 1; transform: none; }

/* App */
.app { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: center; }
.list { display: grid; gap: 14px; margin-top: 26px; font-size: 15px; }
.list div { display: flex; gap: 14px; }
.list div::before { content: ""; width: 16px; height: 1px; background: var(--t3); margin-top: 12px; flex: none; }
.stores { display: flex; gap: 22px; margin-top: 30px; font-size: 13px; color: var(--t3); }
.stores span { display: inline-flex; gap: 8px; align-items: center; }
.stores svg { width: 15px; height: 15px; }
.phones { position: relative; height: 580px; }
.phone { position: absolute; width: 230px; padding: 7px; border-radius: 36px; background: linear-gradient(160deg, #2a2f36, #0c0e12 60%); box-shadow: 0 30px 80px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.08); transition: transform 1.2s var(--out); }
.phone img { border-radius: 29px; width: 100%; }
.phones .p1 { left: 50%; top: 0; z-index: 2; width: 252px; transform: translate(-50%, var(--y1, 0px)); }
.phones .p2 { left: calc(50% - 252px); top: 64px; opacity: .8; transform: translateY(var(--y2, 0px)) rotate(-4deg); }
.phones .p3 { left: calc(50% + 22px); top: 64px; opacity: .8; transform: translateY(var(--y2, 0px)) rotate(4deg); }

/* Final */
.final { min-height: calc(100svh - var(--foot, 92px)); padding: 88px max(16px, env(safe-area-inset-right, 0px)) 48px max(16px, env(safe-area-inset-left, 0px)); text-align: center; display: grid; align-content: center; position: relative; z-index: 2; }
.final .fitbox { display: grid; justify-items: center; gap: 22px; }
.final h2 { font-size: clamp(60px, 9vw, 132px); text-shadow: 0 6px 50px rgba(0,0,0,.5); }
.final p { color: rgba(242,243,245,.8); text-shadow: 0 1px 12px rgba(0,0,0,.6); }
footer { position: relative; z-index: 2; display: flex; gap: 24px; align-items: center; flex-wrap: wrap; font-size: 12.5px; color: var(--t3);
  padding: 28px max(32px, env(safe-area-inset-right, 0px)) calc(40px + env(safe-area-inset-bottom, 0px)) max(32px, env(safe-area-inset-left, 0px));
  background: rgba(5,7,10,.75); border-top: 1px solid var(--line); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
footer .brand .bmk { height: 24px; } footer .brand .bwm { height: 20px; }
footer nav { margin-left: auto; display: flex; gap: 20px; flex-wrap: wrap; }
footer a:hover { color: var(--t); }


/* ---------- Download pages ---------- */
.footage.dim .layer { filter: brightness(.55) saturate(115%); transform: scale(1.03); }
.footage.dim::after { background: linear-gradient(90deg, rgba(5,7,10,.88) 0%, rgba(5,7,10,.55) 45%, rgba(5,7,10,.25) 100%), linear-gradient(180deg, rgba(5,7,10,.5), transparent 25%, transparent 70%, rgba(5,7,10,.9)); }
.dlhero { position: relative; z-index: 2; min-height: 100svh; display: grid; align-items: center; padding: calc(110px + env(safe-area-inset-top, 0px)) 0 70px; }
.dlgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.dlgrid > * { min-width: 0; }
.platforms { display: inline-flex; gap: 2px; padding: 3px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.03); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); margin-bottom: 30px; }
.platforms a { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 9px; font-size: 13px; color: var(--t2); transition: background .2s, color .2s; }
.platforms a svg { width: 15px; height: 15px; }
.platforms a:hover { color: var(--t); }
.platforms a.on { background: rgba(255,255,255,.1); color: var(--t); }
.dlhero h1 { font-size: clamp(48px, 6vw, 88px); margin: 12px 0 18px; }
.dlhero .lead { color: rgba(242,243,245,.82); font-size: 17px; max-width: 32em; }
.member { display: flex; align-items: center; gap: 12px; margin: 26px 0 0; font-size: 13.5px; color: var(--t2); }
.member svg { width: 16px; height: 16px; color: var(--t); flex: none; }
.release { margin-top: 26px; padding: 6px 22px; }
.release .row { display: grid; grid-template-columns: 90px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.release .row:first-child { border-top: 0; }
.release .k { color: var(--t3); font-size: 12.5px; }
.release code { font: 12px/1.4 ui-monospace, "SF Mono", Consolas, monospace; color: var(--t2); overflow-wrap: anywhere; }
.release .v { font-variant-numeric: tabular-nums; }
.copy { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--t2); padding: 5px 8px; border-radius: 7px; transition: background .2s, color .2s; }
.copy:hover { background: rgba(255,255,255,.08); color: var(--t); }
.copy svg { width: 14px; height: 14px; }
.dlacts { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 24px; }
.dlacts .b { height: 52px; padding: 0 28px; font-size: 15px; }
.fine { margin-top: 16px; font-size: 12.5px; color: var(--t3); max-width: 36em; }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 60; transform: translate(-50%, 20px); opacity: 0; padding: 12px 18px; border-radius: 10px; background: rgba(20,24,30,.92); border: 1px solid var(--line); font-size: 13.5px; transition: opacity .3s, transform .5s var(--out); pointer-events: none; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.visual { position: relative; }
.visual .shot { aspect-ratio: 1200 / 794; }
.visual .shot img { opacity: 1; transform: none; }
.visual .phones { height: 600px; }
.duo .ph { position: absolute; width: 230px; }
.duo .p1 { right: 8%; top: 0; width: 250px; transform: rotate(3deg); z-index: 2; }
.duo .p2 { left: 6%; top: 60px; transform: rotate(-4deg); }

/* The three downloads: a picture each (the Hub's window, the app on iPhone, the app on Android),
   the name in the wordmark's typeface, one line, where it leads. */
.dlprods .wrap { display: grid; gap: 34px; }
.prods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.prod { position: relative; display: grid; grid-template-rows: auto 1fr auto; border-radius: 18px; overflow: hidden; color: var(--t);
  border: 1px solid var(--line); background: rgba(14,17,22,.86); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); transition: border-color .3s, transform .6s var(--out); }
a.prod:hover { border-color: rgba(255,255,255,.22); transform: translateY(-3px); }
.prod.here { border-color: rgba(0,143,250,.5); }
.prod .pv { position: relative; height: clamp(190px, 29vh, 290px); overflow: hidden; border-bottom: 1px solid var(--line);
  background: radial-gradient(90% 80% at 50% 115%, rgba(0,143,250,.3), transparent 65%), linear-gradient(180deg, rgba(255,255,255,.035), transparent 70%); }
.prod .pv > * { transition: transform .8s var(--out); }
a.prod:hover .pv > * { transform: translateY(-8px); }
.prod .pv .win { position: absolute; left: 13%; top: 17%; width: 112%; max-width: none; aspect-ratio: 800 / 529; object-fit: cover; object-position: top left; border-radius: 10px;
  box-shadow: 0 30px 70px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.12); }
.prod .pv .ph { position: absolute; left: 27%; top: 12%; width: 46%; }
.prod .pt { display: grid; gap: 6px; padding: 20px 22px 6px; align-content: start; }
.prod .pi svg { width: 20px; height: 20px; color: var(--t2); }
.prod .pt b { font-family: var(--f-brand); font-weight: 800; font-size: 21px; letter-spacing: -.015em; line-height: 1.15; }
.prod .pt > span:last-child { color: var(--t2); font-size: 14px; }
.prod .go { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px 20px; font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.prod .go svg { width: 15px; height: 15px; transition: transform .4s var(--out); }
a.prod:hover .go svg { transform: translateX(4px); }
.prod.here .go { color: var(--t3); }
.invite { padding: 26px 26px 22px; display: grid; gap: 16px; max-width: 460px; justify-self: end; width: 100%; }
.invite h2 { font-family: var(--f-body); text-transform: none; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.invite .st { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.invite .st i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; border: 1px solid rgba(255,255,255,.18); color: var(--t2); }
.invite .st.on i { background: var(--cta); color: #090B0E; border-color: transparent; }
.invite .st b { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 4px; }
.invite .st p { font-size: 13px; color: var(--t2); }
.invite .st.off { opacity: .5; }
.invite form { display: grid; gap: 10px; margin-top: 10px; }
.invite label { font-size: 12.5px; color: var(--t2); }
.invite input { height: 44px; padding: 0 14px; border-radius: var(--r); border: 1px solid rgba(255,255,255,.14); background: rgba(0,0,0,.3); color: var(--t); font: inherit; font-size: 16px; } /* 16px: iOS does not zoom in */
.invite input:disabled, .invite button:disabled { cursor: not-allowed; }
.invite .b:disabled { opacity: .45; }
.invite .priv { font-size: 12px; color: var(--t3); border-top: 1px solid var(--line); padding-top: 14px; }
.after { position: relative; z-index: 2; }
.after h2 { font-size: clamp(36px, 4vw, 56px); margin: 12px 0 0; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; margin-top: 30px; }
.facts div { padding: 18px 0; border-top: 1px solid var(--line); min-width: 0; }
.facts b { display: block; font-weight: 600; margin-bottom: 4px; }
.facts span { color: var(--t2); font-size: 14px; }
.steps.three .step:first-child { background: none; }
.steps.three .step .n { color: var(--t3); }
.others { min-height: calc(100svh - var(--foot, 92px)); display: grid; align-content: center; padding: 88px 0 48px; position: relative; z-index: 2; }
.others h2 { font-size: clamp(36px, 4vw, 56px); }
.stores .lnk svg { width: 15px; height: 15px; }
.toast:not(.show) { visibility: hidden; }
.fixed-credit { position: fixed; z-index: 3; right: max(32px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); font-size: 12px; }
.fixed-credit { transition: opacity .4s; }
.footage.dim.reading .layer { filter: blur(28px) brightness(.42) saturate(120%); transform: scale(1.08); }
@media (max-width: 1020px) {
  .dlgrid { grid-template-columns: 1fr; gap: 44px; }
  .invite { justify-self: start; }
  .visual .phones { height: 520px; }
}
@media (max-width: 760px) {
  .dlhero { padding-top: calc(90px + env(safe-area-inset-top, 0px)); }
  .platforms { display: flex; width: 100%; }
  .platforms a { flex: 1; justify-content: center; padding: 0 8px; }
  .release { padding: 4px 16px; }
  .release .row { grid-template-columns: 1fr auto; }
  .release .row .k { grid-column: 1 / -1; }
  .facts { grid-template-columns: 1fr; }
  .visual .phones { height: 430px; }
  .duo .ph { width: 170px; } .duo .p1 { width: 184px; right: 4%; } .duo .p2 { left: 4%; top: 44px; }
  .dlprods .wrap { gap: 20px; }
  .prods { grid-template-columns: 1fr; gap: 10px; }
  .prod { grid-template-columns: 108px minmax(0, 1fr); grid-template-rows: 1fr auto; border-radius: 14px; }
  .prod .pv { grid-row: 1 / 3; height: auto; min-height: 132px; border-bottom: 0; border-right: 1px solid var(--line); }
  .prod .pv .win { left: 16%; top: 22%; width: 260%; border-radius: 6px; }
  .prod .pv .ph { left: 13%; top: 14%; width: 74%; }
  .prod .pt { padding: 14px 16px 2px; gap: 3px; }
  .prod .pi { display: none; }
  .prod .pt b { font-size: 17px; }
  .prod .pt > span:last-child { font-size: 13px; }
  .prod .go { padding: 8px 16px 14px; font-size: 10.5px; }
  .duo .phone { width: 180px; } .duo .p1 { width: 190px; }
}

/* ---------- Download pages, round 5: one button, the facts on demand, steps as big numbers ---------- */
.b.big { height: 54px; padding: 0 26px; font-size: 15px; }
.b small { font-size: 12.5px; font-weight: 500; opacity: .7; margin-left: 4px; }
.verify { margin-top: 14px; font-size: 13px; color: var(--t2); }
.verify summary { cursor: pointer; list-style: none; display: inline-flex; gap: 6px; align-items: center; padding: 6px 0; }
.verify summary::-webkit-details-marker { display: none; }
.verify summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 4px; transition: transform .3s; }
.verify[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.verify summary:hover { color: var(--t); }
.verify .shaline { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; margin-top: 8px; padding: 12px 14px; border-radius: 12px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.verify .shaline > span { font-size: 11.5px; color: var(--t3); }
.verify code { font: 12px/1.4 ui-monospace, "SF Mono", Consolas, monospace; color: var(--t2); overflow-wrap: anywhere; }
.after .steps.three { margin-top: 30px; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; gap: 40px; overflow: visible; }
.after .steps.three .step { border: 0; padding: 0; background: none; gap: 8px; }
.after .steps.three .step .n { font-family: var(--f-cine); font-size: 56px; line-height: .9; letter-spacing: 0; color: rgba(255,255,255,.2); }
.after .steps.three .step:first-child .n { color: rgba(0,143,250,.75); }
@media (max-width: 1020px) { .after .steps.three { gap: 18px; } .after .steps.three .step { display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; } .after .steps.three .step .n { grid-row: span 2; font-size: 44px; } .after .steps.three .step p, .after .steps.three .step h3 { grid-column: 2; } }
@media (max-width: 760px) { .after .steps.three .step .n { font-size: 36px; } .verify .shaline { grid-template-columns: 1fr auto; } .verify .shaline > span { display: none; } }

/* ---------- Levels after the opening (round 5) ----------
   Same spirit as the opening: one headline, one line, one picture, at most one action. No eyebrows, no template panes. */
.lv-head { display: grid; gap: 14px; max-width: 34em; }
.lv-head h2 { font-size: clamp(40px, 5.2vw, 76px); margin: 0; }
.lv-head p { color: rgba(242,243,245,.78); font-size: 16.5px; line-height: 1.55; }
.lv-head .tag { color: var(--t); font-weight: 600; }

/* How it works: the Hub on the PC, the app on top of it, three numbered words. */
.lv-how { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); grid-template-areas: "head duo" "flow duo"; gap: 28px 64px; align-items: center; }
.lv-how .lv-head { grid-area: head; align-self: end; }
.lv-how .lv-flow { grid-area: flow; align-self: start; }
.lv-duo { grid-area: duo; position: relative; margin: 0; padding-right: 9%; padding-bottom: 6%; }
.lv-duo .pc { width: 100%; aspect-ratio: 1200 / 794; object-fit: cover; object-position: top; border-radius: 14px;
  box-shadow: 0 50px 140px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.1); }
/* Phones. iPhone: the screenshot sits in the screen area of the real frame (media/iphone-frame.png,
   1350 × 2760, screen 72–1277 × 69–2690), drawn over it. Android (.droid): a slim bezel with a punch hole. */
.ph { position: relative; display: block; width: 100%; aspect-ratio: 1350 / 2760; filter: drop-shadow(0 28px 44px rgba(0,0,0,.6)); }
[hidden] { display: none !important; }
.ph img { position: absolute; left: 5.333%; top: 2.5%; width: 89.333%; height: 95%; object-fit: cover; object-position: top; border-radius: 16% / 7.6%; }
.ph::after { content: ""; position: absolute; inset: 0; background: url(media/iphone-frame.webp) center / 100% 100% no-repeat; pointer-events: none; }
.ph.droid { aspect-ratio: 9 / 19.6; border-radius: 13% / 6%; background: linear-gradient(160deg, #262b31, #0a0c0f 55%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.13), inset 0 0 0 3px #050608; }
.ph.droid img { left: 3.6%; top: 1.7%; width: 92.8%; height: 96.6%; border-radius: 10.5% / 4.8%; }
.ph.droid::after { inset: 3% auto auto 50%; width: 3.6%; aspect-ratio: 1; translate: -50% 0; border-radius: 50%; background: #000; box-shadow: 0 0 0 1px rgba(255,255,255,.06); }
.lv-duo .ph { position: absolute; right: 0; bottom: 0; width: 27%; transform: rotate(3deg); }
.lv-flow { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px 28px; flex-wrap: wrap; font-size: 14.5px; color: rgba(242,243,245,.85); }
.lv-flow li { display: inline-flex; align-items: baseline; gap: 10px; }
.lv-flow b { font-family: var(--f-cine); font-size: 15px; letter-spacing: .1em; color: var(--blue); font-weight: 600; }
.lv-flow.small { justify-content: center; font-size: 14px; }

/* Modes: three phones, the middle one larger, one word under each. */
.lv-modes { display: grid; justify-items: center; gap: 36px; text-align: center; }
.lv-modes .lv-head { justify-items: center; }
.lv-phones { display: flex; align-items: flex-end; justify-content: center; gap: clamp(16px, 3vw, 44px); }
.lv-phones figure { margin: 0; display: grid; gap: 12px; justify-items: center; width: clamp(150px, 15vw, 220px); transform: translateY(var(--y2, 0px)); transition: transform 1.2s var(--out); }
.lv-phones figure.mid { width: clamp(180px, 18.5vw, 262px); transform: translateY(var(--y1, 0px)); }
.lv-phones figure:not(.mid) .ph { opacity: .88; }
.lv-phones figcaption { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--t2); }

/* Motion FX: the live picture large, the sliders as one glass strip under it. */
.lv-fx { display: grid; justify-items: center; gap: 28px; text-align: center; }
.lv-fx .lv-head { justify-items: center; }
.lv-fx .fxlive { width: min(100%, 900px); display: grid; gap: 12px; }
.fxstrip { display: flex; align-items: center; gap: 18px 28px; padding: 12px 20px; border-radius: 16px; text-align: left; }
.fxstrip #sliders { flex: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px 20px; }
.fxstrip .sl { grid-template-columns: 1fr; gap: 2px; padding: 2px 0; border: 0; font-size: 12px; color: var(--t2); }
.fxstrip .sl output { display: none; }

/* Games: four tall strips; the one under the pointer plays, a tap shows its modes. */
.lv-games { display: grid; gap: 30px; }
.strips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; height: clamp(300px, 50vh, 520px); }
.strip { position: relative; overflow: hidden; border-radius: 18px; display: grid; grid-template-rows: 1fr auto; justify-items: center; padding: 20px 18px; text-align: center;
  background: #0B0E13; box-shadow: 0 0 0 1px rgba(255,255,255,.08); transition: box-shadow .3s, transform .6s var(--out); }
.strip:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.22); }
.strip > img.bg, .strip > video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; z-index: 0; transition: opacity .5s, transform 1.4s var(--out), filter .5s; }
.strip > img.bg { opacity: .6; }
.strip > video { opacity: 0; }
.strip.play > video { opacity: 1; }
.strip:hover > img.bg { transform: scale(1.05); }
.strip::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(5,7,10,.25), rgba(5,7,10,0) 30%, rgba(5,7,10,.15) 55%, rgba(5,7,10,.9)); transition: background .4s; }
.strip > :not(.bg):not(video) { position: relative; z-index: 2; }
.strip .lg { align-self: center; display: grid; place-items: center; height: 56px; width: 86%; transition: transform .5s var(--out), opacity .3s; }
.strip .lg img { max-height: 100%; max-width: 100%; object-fit: contain; filter: drop-shadow(0 4px 18px rgba(0,0,0,.7)); }
.strip .meta { display: grid; gap: 2px; font-size: 12px; color: var(--t2); }
.strip .meta b { font-size: 14px; color: var(--t); font-weight: 600; }
.strip .modes { position: absolute; inset: auto 12px 12px; z-index: 3; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 12px; border-radius: 14px;
  background: rgba(14,17,22,.78); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,.12);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .45s var(--out); }
.strip .modes i { font-style: normal; font-size: 12px; padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--t); }
.strip.open .modes { opacity: 1; transform: none; }
.strip.open .meta { opacity: 0; }
.strip.open .lg { transform: translateY(-18%); }

/* Community: one tile per player whose footage the site shows. */
.lv-community { display: grid; gap: 30px; }
.creators { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.creator.you { align-content: center; justify-items: center; text-align: center; background: rgba(255,255,255,.04); border: 1px dashed rgba(255,255,255,.2); box-shadow: none; }
.creator.you::after { display: none; }
.creator.you b { font-family: var(--f-cine); font-size: 26px; letter-spacing: .04em; }
.creator { position: relative; overflow: hidden; border-radius: 16px; aspect-ratio: 16 / 9; display: grid; align-content: end; padding: 14px 16px; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.creator img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: .75; transition: transform 1.2s var(--out), opacity .4s; }
.creator::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,7,10,0) 40%, rgba(5,7,10,.88)); }
.creator span { position: relative; z-index: 1; display: grid; gap: 2px; }
.creator b { font-weight: 600; font-size: 15px; }
.creator i { font-style: normal; font-size: 12px; color: var(--t2); }
.creator > svg { position: absolute; z-index: 1; top: 12px; right: 12px; width: 18px; height: 18px; color: var(--t2); transition: transform .35s var(--out), color .2s; }
.creator:hover img { transform: scale(1.05); opacity: .95; }
.creator:hover > svg { color: var(--t); transform: translate(2px, -2px); }

/* News: three glass cards. */
.lv-news { display: grid; gap: 30px; }
.newsrow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.news { display: grid; align-content: start; gap: 8px; padding: 22px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.news time { font-size: 12px; color: var(--t3); letter-spacing: .04em; }
.news h3 { font-size: 19px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.news p { font-size: 14px; color: var(--t2); line-height: 1.5; }
.news .chip { justify-self: start; margin-top: 4px; font-size: 11px; padding: 3px 9px; border-radius: 999px; background: rgba(0,143,250,.14); color: #8FCBFF; }

/* The closing plays the footage clear: a soft shade behind its words keeps them readable. */
.final .fitbox { position: relative; }
.final .fitbox::before { content: ""; position: absolute; inset: -90px -22vw; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(5,7,10,.62), rgba(5,7,10,0)); }
.final .lv-flow, .final .already { text-shadow: 0 1px 14px rgba(0,0,0,.85); color: var(--t); }
.final .already .dot-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--t3); }

@media (max-width: 1020px) {
  .lv-how { grid-template-columns: 1fr; grid-template-areas: "head" "duo" "flow"; gap: 22px; }
  .fxstrip { flex-direction: column; align-items: stretch; }
  .fxstrip #sliders { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fxstrip .sl.extra { display: none; }
  .strips { grid-template-columns: 1fr 1fr; height: auto; }
  .strip { aspect-ratio: 4 / 5; }
}
@media (max-width: 760px) {
  .lv-head { gap: 8px; }
  .lv-head h2 { font-size: clamp(34px, 10vw, 44px); }
  .lv-head p { font-size: 14.5px; }
  .lv-how, .lv-modes, .lv-fx, .lv-games, .lv-community, .lv-news { gap: 18px; }
  .lv-duo { padding-right: 12%; }
  .lv-duo .ph { width: 30%; }
  .lv-flow { gap: 8px 16px; font-size: 13px; }
  .lv-phones { gap: 10px; }
  .lv-phones figure { width: 26vw; } .lv-phones figure.mid { width: 34vw; }
  .lv-phones figcaption { font-size: 10px; }
  .fxstrip { padding: 10px 14px; gap: 8px; }
  .fxstrip #sliders { gap: 2px 12px; }
  .strip { aspect-ratio: 3 / 4; padding: 14px 10px; border-radius: 14px; }
  .strip .lg { height: 40px; }
  .strip .meta span { display: none; }
  .strip .modes { inset: auto 6px 6px; padding: 8px; gap: 4px; }
  .strip .modes i { font-size: 10.5px; padding: 3px 7px; }
  .creators { grid-template-columns: 1fr 1fr; gap: 8px; }
  .creator { aspect-ratio: 4 / 3; padding: 10px; border-radius: 12px; }
  .creator b { font-size: 13px; } .creator i { font-size: 11px; }
  .newsrow { grid-template-columns: 1fr; gap: 8px; }
  .news { padding: 14px 16px; gap: 4px; }
  .news h3 { font-size: 16px; } .news p { font-size: 13px; }
}

/* ---------- Narrow screens ---------- */
@media (max-width: 1080px) {
  .tabs { display: none; }
}
@media (max-width: 1020px) {
  .steps { grid-template-columns: 1fr; }
  .step { border-left: 0; border-top: 1px solid var(--line); }
  .step:first-child { border-top: 0; }
  .hubrow, .fx, .app { grid-template-columns: 1fr; gap: 36px; }
  .games { grid-template-columns: 1fr 1fr; }
  .phones { height: 480px; }
  .phone { width: 190px; } .phones .p1 { width: 210px; }
  .phones .p2 { left: calc(50% - 205px); } .phones .p3 { left: calc(50% + 15px); }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  .top { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .top .right .pill.join { display: none; }
  .sheet .panel { width: 100%; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
  .sheet .shade { background: linear-gradient(180deg, rgba(5,7,10,.62), rgba(5,7,10,.5) 30%, rgba(5,7,10,.82) 62%, rgba(5,7,10,.94)); }
  .sheet .ghost { display: none; }
  .sheet .it { font-size: clamp(30px, 9vw, 40px); }
  .sheet .it.on::before { display: none; }
  .sheet .sub a { font-size: 15px; }
  .hero { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  /* Phones: drag, tap a side logo, or the small arrows at the edges. */
  .carousel { height: 72px; --sw: 170px; --step: 178px; --drop: 9px; }
  .carousel .chev { padding: 8px 4px; }
  .carousel .chev svg { width: 18px; height: 18px; }
  .foot .plat, .cue { display: none; }
  .sl { grid-template-columns: 96px 1fr 40px; gap: 12px; }
  .phones { height: 440px; }
  .phones .p2, .phones .p3 { display: none; }
  .games { grid-template-columns: 1fr; }
  .gt { aspect-ratio: 16 / 10; }
  footer { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  footer nav { margin-left: 0; }
}
/* ---------- Every level fits its screen ----------
   Short screens tighten the spacing; phones get compact versions of each level.
   Whatever is still too tall is zoomed down by fitLevels() in site.js. */
@media (max-height: 820px) and (min-width: 761px) {
  .block, .after { padding-top: calc(76px + env(safe-area-inset-top, 0px)); padding-bottom: 40px; }
  .block h2 { font-size: clamp(38px, 7vh, 60px); margin: 8px 0 12px; }
  .steps, .hubrow, .games { margin-top: 28px; }
  .step { padding: 24px 24px; }
  .points button, .points .p { padding: 13px 0 13px 18px; }
  .points button::before { top: 13px; bottom: 13px; }
  .phones { height: 500px; }
  .final h2 { font-size: clamp(56px, 13vh, 120px); }
  .dlhero { padding: calc(80px + env(safe-area-inset-top, 0px)) 0 36px; }
  .dlhero h1 { font-size: clamp(44px, 8.5vh, 80px); margin: 8px 0 12px; }
  .platforms { margin-bottom: 20px; }
  .member { margin-top: 18px; }
  .release { margin-top: 18px; } .release .row { padding: 9px 0; }
  .dlacts { margin-top: 18px; }
  .fine { margin-top: 12px; }
  .visual .phones { height: 480px; }
  .after h2 { font-size: clamp(34px, 6.5vh, 52px); }
  .facts { margin-top: 18px; } .facts div { padding: 12px 0; }
}
@media (max-width: 1020px) {
  .dlhero .visual { display: none; }
}
@media (max-width: 1020px) and (min-width: 761px) {
  .points { grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .points > :nth-child(2) { border-top: 0; }
  .games .gt { aspect-ratio: 4 / 3; }
}
@media (max-width: 760px) {
  /* Full-bleed footage on phones: no dark band at the top or the bottom, only a soft fade
     where the bar and the opening's last lines sit. */
  .top::before { bottom: -36px; background: linear-gradient(180deg, rgba(5,7,10,.42), rgba(5,7,10,0)); }
  .footage::after { background: linear-gradient(180deg, rgba(5,7,10,.15) 0%, rgba(5,7,10,0) 16%, rgba(5,7,10,0) 38%, rgba(5,7,10,.45) 58%, rgba(5,7,10,.78) 80%, rgba(5,7,10,.85) 100%); }
  /* The opening on a phone: the title, the game, one line and the action; the rest is further down. */
  .hero .lead, .hero .feats { display: none; }
  .hero .mid { gap: 14px; padding-bottom: 3vh; }
  .hero h1 { margin-bottom: 6px; }
  .footage.dim::after { background: linear-gradient(180deg, rgba(5,7,10,.2) 0%, rgba(5,7,10,.45) 30%, rgba(5,7,10,.55) 70%, rgba(5,7,10,.6) 100%); }
  .block, .after { padding: calc(70px + env(safe-area-inset-top, 0px)) 0 28px; }
  .block h2 { font-size: clamp(32px, 9.5vw, 40px); margin: 6px 0 10px; }
  .block .intro { font-size: 14.5px; }
  .eyebrow { font-size: 10.5px; }
  /* Get started: three short steps */
  .steps { margin-top: 20px; }
  #start .intro, .step .need { display: none; }
  .step { padding: 14px 18px; display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 6px 10px; }
  .step p, .step .acts { grid-column: 1 / -1; }
  .step .acts:not(:has(a)) { display: none; }
  .step h3 { font-size: 17px; }
  .step p { font-size: 13.5px; line-height: 1.45; }
  .step .acts { margin-top: 4px; }
  .step .b.sm { height: 36px; }
  .already { margin-top: 12px; font-size: 13px; }
  /* Hub: the picture, then three tabs */
  .hubrow { margin-top: 20px; gap: 14px; }
  .points { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .points .p, .points button span { display: none; }
  .points button { padding: 10px 0 0; border-top: 0; text-align: center; justify-items: center; }
  .points button::before { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 2px; }
  .points b { font-size: 14px; }
  /* Motion FX: the live picture and the sliders */
  #fx .intro { display: none; }
  .fx { gap: 16px; }
  .fxcard { padding: 12px 16px 6px; }
  .sl { padding: 5px 0; font-size: 13px; }
  /* Games: two by two */
  #games .intro { display: none; }
  .games { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
  .games .gt { aspect-ratio: 4 / 5; padding: 12px; }
  .gt .lg { height: 24px; }
  .gt .fs { display: none; }
  .gt .nm { font-size: 13.5px; }
  .gt .st { margin-bottom: 0; }
  /* App: the list, then the phone */
  .app { gap: 18px; }
  .list { gap: 8px; margin-top: 14px; font-size: 14px; }
  .list div::before { margin-top: 10px; }
  .stores { margin-top: 16px; }
  .phones { height: 270px; }
  .phone { width: 124px; padding: 5px; border-radius: 24px; } .phone img { border-radius: 20px; }
  .phones .p1 { width: 126px; }
  .phones .p2, .phones .p3 { display: block; width: 106px; top: 26px; }
  .phones .p2 { left: calc(50% - 138px); } .phones .p3 { left: calc(50% + 32px); }
  /* Download pages: the essentials first, the pictures stay on larger screens */
  .dlhero { padding: calc(70px + env(safe-area-inset-top, 0px)) 0 24px; }
  .dlgrid { gap: 20px; }
  .dlhero h1 { font-size: clamp(36px, 10.5vw, 46px); margin: 6px 0 10px; }
  .dlhero .lead { font-size: 15px; }
  .platforms { margin-bottom: 16px; }
  .member { margin-top: 14px; font-size: 13px; }
  .release { margin-top: 16px; } .release .row { padding: 8px 0; gap: 4px 14px; }
  .dlacts { margin-top: 16px; } .dlacts .b { height: 48px; }
  .fine { margin-top: 10px; font-size: 12px; }
  .invite { padding: 18px; gap: 12px; }
  .after h2 { font-size: clamp(30px, 9vw, 38px); }
  .steps.three { margin-top: 18px !important; }
  .others .facts { grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .facts div { padding: 10px 0; } .facts b { font-size: 13.5px; } .facts span { font-size: 12.5px; line-height: 1.45; }
  /* Closing and footer */
  .final { padding-top: 70px; padding-bottom: 24px; }
  .final h2 { font-size: clamp(54px, 17vw, 80px); }
  footer { gap: 8px 16px; padding-top: 16px; padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)); font-size: 11.5px; }
  footer > span:nth-child(2) { order: 3; width: 100%; }
  footer nav { gap: 14px; }
}
@media (max-width: 760px) and (max-height: 700px) {
  .dlhero .member { display: none; }
  .dlhero .lead { font-size: 14.5px; }
  .invite .st p { font-size: 12.5px; }
}

/* ---------- Round 6 mockups ---------- */
/* What is still a stand-in, named after its line in MEDIA_NEEDS.md. */
.need { position: absolute; z-index: 4; left: 12px; top: 12px; padding: 5px 9px; border-radius: 6px; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: #FFD27A; background: rgba(0,0,0,.55); border: 1px dashed rgba(255,210,122,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); pointer-events: none; }
.ph .slot { position: absolute; left: 5.333%; top: 2.5%; width: 89.333%; height: 95%; border-radius: 16% / 7.6%; display: grid; place-content: center; gap: 4px; text-align: center; padding: 12px;
  background: repeating-linear-gradient(135deg, #10141a 0 10px, #0c0f14 10px 20px); color: var(--t2); font-size: 11px; }
.ph .slot b { color: #FFD27A; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

/* Modes, like the opening: the mode's footage fills the level, its name large, bars that move on
   by themselves (a click picks one), and the app on the iPhone at the right. */
.mlevel { position: relative; overflow: hidden; }
.mbgs { position: absolute; inset: 0; z-index: 0; background: #05070A; }
.mbgs video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 1s ease, transform 7s ease-out; }
.mbgs video.on { opacity: 1; transform: none; }
.mbgs::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,7,10,.85), rgba(5,7,10,.45) 48%, rgba(5,7,10,.2)), linear-gradient(0deg, rgba(5,7,10,.75), transparent 45%); }
.mlevel .mneed { top: calc(84px + env(safe-area-inset-top, 0px)); left: max(24px, env(safe-area-inset-left, 0px)); }
.lv-modes3 { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.mtext { display: grid; gap: 22px; align-content: center; }
.mtitle { font-size: clamp(22px, 2.2vw, 30px); color: rgba(242,243,245,.7); letter-spacing: .06em; }
.mname { display: grid; gap: 12px; min-height: 2.6em; }
.mname b { font-size: clamp(64px, 9vw, 150px); line-height: .9; text-shadow: 0 6px 50px rgba(0,0,0,.5); }
.mname p { font-size: clamp(16px, 1.4vw, 20px); color: rgba(242,243,245,.85); max-width: 26em; }
.mgames { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--t2); }
.mgames i { width: 3px; height: 3px; border-radius: 50%; background: var(--t3); }
.mname.swap b { animation: drop-in .8s cubic-bezier(.2,.9,.25,1.15) both; }
.mname.swap p, .mname.swap .mgames { animation: rise .8s var(--out) .15s both; }
.mbars { display: flex; gap: 18px; margin-top: 18px; max-width: 640px; }
.mbars button { flex: 1; display: grid; gap: 10px; text-align: left; font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--t3); padding: 6px 0; transition: color .3s; }
.mbars button:hover, .mbars button.on { color: var(--t); }
.mbars button::after { content: ""; grid-area: 2 / 1; height: 2px; background: rgba(255,255,255,.2); }
.mbars button i { grid-area: 2 / 1; position: relative; z-index: 1; height: 2px; width: 0; background: #fff; }
.mphone .ph { width: min(19vw, 300px, calc((var(--level-h, 100svh) - 200px) / 2.05)); transform: rotate(3deg); }
.mphone .ph.pop { animation: pop .8s var(--out); }
@keyframes pop { from { transform: translateY(24px) rotate(5deg); opacity: .3; } to { transform: rotate(3deg); opacity: 1; } }

/* Motion FX: one clip, cut in two by a line you drag; the right half has the effect. */
.lv-fx2 { display: grid; justify-items: center; gap: 26px; text-align: center; }
.lv-fx2 .lv-head { justify-items: center; }
.cmp { --x: 50%; position: relative; width: min(100%, 960px, calc((var(--level-h, 100svh) - 360px) * 16 / 9)); aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; cursor: ew-resize; touch-action: pan-y; user-select: none;
  box-shadow: 0 40px 120px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.09); }
.cmp > div { position: absolute; inset: 0; overflow: hidden; }
.cmp video, .cmp canvas { position: absolute; left: -6%; top: -6%; width: 112%; height: 112%; max-width: none; object-fit: cover; will-change: transform; pointer-events: none; }
.cmp-b { clip-path: inset(0 0 0 var(--x)); }
.cmp .side { position: absolute; z-index: 3; bottom: 14px; padding: 5px 10px; border-radius: 6px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; background: rgba(0,0,0,.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.cmp .side.l { left: 14px; color: var(--t2); } .cmp .side.r { right: 14px; color: var(--t); }
.cmp-h { position: absolute; z-index: 3; top: 0; bottom: 0; left: var(--x); width: 44px; margin-left: -22px; display: grid; place-items: center; cursor: ew-resize; }
.cmp-h::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px rgba(0,0,0,.5); }
.cmp-h i { position: relative; width: 38px; height: 38px; border-radius: 50%; background: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.45); }
.cmp-h i::before, .cmp-h i::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; border: 5px solid transparent; margin-top: -5px; }
.cmp-h i::before { left: 7px; border-right-color: #0A0C10; } .cmp-h i::after { right: 7px; border-left-color: #0A0C10; }
.fxcards { width: min(100%, 960px, max(560px, calc((var(--level-h, 100svh) - 360px) * 16 / 9))); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.fxcards button { display: grid; gap: 4px; justify-items: start; text-align: left; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(14,17,22,.6); color: var(--t2); transition: border-color .3s, background .3s, color .3s; }
.fxcards button:hover { color: var(--t); border-color: rgba(255,255,255,.2); }
.fxcards button.on { color: var(--t); border-color: var(--blue); background: rgba(0,143,250,.1); }
.fxcards svg { width: 34px; height: 22px; color: var(--blue); margin-bottom: 4px; }
.fxcards b { font-family: var(--f-brand); font-weight: 800; font-size: 16px; color: inherit; }
.fxcards span { font-size: 12.5px; line-height: 1.4; }

/* Community: rows of clips that slide past each other. */
#community { align-content: center; gap: 28px; }
.wall { --rh: clamp(150px, 21vh, 230px); position: relative; display: grid; gap: 12px; overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.wall.dragging { cursor: grabbing; }
.wall .row { display: flex; gap: 12px; width: max-content; will-change: transform; }
.wall .run { display: flex; gap: 12px; }
.wall .tile { position: relative; flex: none; height: var(--rh); aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #0c0f14; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.wall .tile.v { aspect-ratio: 9 / 16; }
.wall .tile img, .wall .tile video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; pointer-events: none; }
.wall .tile img { opacity: .82; transition: opacity .4s, transform 1.2s var(--out); }
.wall .tile video { opacity: 0; transition: opacity .4s; }
.wall .tile.play video { opacity: 1; }
.wall .tile:hover img { opacity: 1; transform: scale(1.04); }
.wall .tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5,7,10,.85)); pointer-events: none; }
.wall .who { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 10px; display: grid; gap: 1px; }
.wall .who b { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wall .tile.v .who b { font-size: 11.5px; }
.wall .who i { font-style: normal; font-size: 11px; color: var(--t2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wall .tile.cta { aspect-ratio: 1; display: grid; place-content: center; gap: 6px; text-align: center; padding: 16px; background: rgba(0,143,250,.12); box-shadow: inset 0 0 0 1px rgba(0,143,250,.45); }
.wall .tile.cta::after { display: none; }
.wall .tile.cta b { font-family: var(--f-cine); font-size: 30px; letter-spacing: .04em; }
.wall .tile.cta span { font-size: 12.5px; color: var(--t2); }

@media (max-width: 760px) {
  .lv-modes3 { grid-template-columns: minmax(0, 1fr) 34vw; gap: 14px; align-items: end; }
  .mtext { gap: 14px; }
  .mname b { font-size: clamp(44px, 13vw, 64px); }
  .mname p { font-size: 14.5px; }
  .mgames { font-size: 10px; letter-spacing: .1em; }
  .mbars { grid-column: 1 / -1; gap: 10px; margin-top: 6px; }
  .mbars button { font-size: 10px; letter-spacing: .06em; }
  .mtext { display: contents; }
  .mtitle { grid-column: 1 / -1; }
  .mname { grid-column: 1; align-self: end; }
  .mphone { grid-column: 2; grid-row: 2; }
  .mphone .ph { width: 100%; }
  .mbgs::after { background: linear-gradient(0deg, rgba(5,7,10,.9), rgba(5,7,10,.35) 60%, rgba(5,7,10,.55)); }
  .fxcards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .fxcards button { padding: 10px 12px; } .fxcards span { display: none; }
  .wall { --rh: clamp(120px, 18vh, 170px); gap: 8px; } .wall .row, .wall .run { gap: 8px; }
}

/* Setup: four steps from the Patreon "Start here" guide, each with its picture. */
.lv-setup { display: grid; gap: 30px; }
.setup { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.setup li { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: rgba(14,17,22,.78); }
.setup .st { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.setup .sv { position: relative; margin: 0; height: clamp(150px, 24vh, 230px); overflow: hidden; border-bottom: 1px solid var(--line);
  background: radial-gradient(90% 80% at 50% 115%, rgba(0,143,250,.26), transparent 65%), linear-gradient(180deg, rgba(255,255,255,.035), transparent 70%); }
.setup .sv .need { top: auto; bottom: 10px; left: 10px; }
.setup .sv.web .slot { position: absolute; left: 10%; right: 10%; top: 14%; bottom: -10%; border-radius: 10px 10px 0 0; display: grid; place-content: center; gap: 4px; text-align: center; padding: 12px;
  background: repeating-linear-gradient(135deg, #10141a 0 10px, #0c0f14 10px 20px); box-shadow: 0 0 0 1px rgba(255,255,255,.1); color: var(--t2); font-size: 12px; }
.setup .sv.web .slot b { color: #FFD27A; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.setup .sv.pc img { position: absolute; left: 10%; top: 14%; width: 125%; max-width: none; border-radius: 8px; box-shadow: 0 20px 50px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.12); }
.setup .sv.phone .ph { position: absolute; left: 50%; top: 10%; width: 42%; translate: -50% 0; }
.setup .n { font-family: var(--f-cine); font-size: 15px; letter-spacing: .12em; color: var(--blue); font-weight: 600; }
.setup h3 { font-family: var(--f-brand); font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.setup p { font-size: 13.5px; color: var(--t2); line-height: 1.5; }
.setup .gos { margin-top: auto; padding-top: 6px; display: flex; gap: 18px; }
.setup .go { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.after .guide { margin-top: 10px; color: var(--t2); font-size: 14.5px; }
@media (max-width: 1020px) { .setup { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .setup { grid-template-columns: 1fr; gap: 8px; }
  .setup li { flex-direction: row; border-radius: 14px; }
  .setup .sv { flex: none; width: 96px; height: auto; min-height: 118px; border-bottom: 0; border-right: 1px solid var(--line); }
  .setup .st { padding: 10px 14px 12px; gap: 3px; }
  .setup .n { font-size: 12px; } .setup h3 { font-size: 15px; } .setup p { font-size: 12.5px; }
  .setup .go { font-size: 10px; }
  .setup .sv .need, .setup .sv.web .slot { font-size: 0; } .setup .sv .need { display: none; }
  .setup .sv.web .slot b { font-size: 10px; }
  .setup .sv.phone .ph { width: 70%; top: 12%; }
  .setup .sv.pc img { width: 260%; left: 14%; top: 20%; }
}

/* Community page: the wall fills the first screen under its title. */
.cwall { align-content: center; gap: 30px; }
.cwall h1 { font-size: clamp(48px, 6vw, 88px); }
.cwall .wall { --rh: clamp(130px, 19vh, 210px); }
.others .steps.three { margin-top: 30px; }
.others .cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 30px; }
.others .cta { justify-content: flex-start; }

/* Setup as large slides: each step's picture almost the size of a small Hub window. */
.steps-car { display: grid; gap: 18px; }
.track { --cw: min(70vw, 900px, calc((var(--level-h, 100svh) - 390px) * 16 / 9)); list-style: none; margin: 0; padding: 0 calc(50% - var(--cw) / 2);
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; }
.track::-webkit-scrollbar { display: none; }
.track.dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.slide2 { flex: none; width: var(--cw); scroll-snap-align: center; scroll-snap-stop: always; display: grid; gap: 16px; opacity: .45; transform: scale(.94); transition: opacity .5s, transform .7s var(--out); }
.slide2.on { opacity: 1; transform: none; }
.stage { position: relative; margin: 0; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; pointer-events: none;
  background: radial-gradient(70% 90% at 50% 120%, rgba(0,143,250,.32), transparent 65%), linear-gradient(180deg, #11151b, #090b0f); box-shadow: 0 40px 120px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.08); }
.stage .need { left: 14px; top: auto; bottom: 14px; }
.win { position: absolute; left: 7%; right: 7%; top: 9%; bottom: -4%; border-radius: 12px; overflow: hidden; background: #0b0d11; box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.12); display: grid; grid-template-rows: auto 1fr; }
.win .bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #15191f; border-bottom: 1px solid rgba(255,255,255,.06); }
.win .bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.16); }
.win .url { margin: 0 auto; padding: 4px 14px; border-radius: 7px; background: rgba(255,255,255,.06); font-size: 11.5px; color: var(--t2); }
.win .body { position: relative; overflow: hidden; }
.win .body img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.slot.big { position: absolute; inset: 0; display: grid; place-content: center; gap: 6px; text-align: center; padding: 20px; background: repeating-linear-gradient(135deg, #10141a 0 12px, #0c0f14 12px 24px); color: var(--t2); font-size: 14px; }
.slot.big b { color: #FFD27A; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.phones2 .ph { position: absolute; top: 8%; width: 23%; }
.phones2 .ph:first-child { left: 24%; transform: rotate(-4deg); }
.phones2 .ph.droid { right: 24%; top: 12%; width: 22%; transform: rotate(4deg); }
.stage .tag { position: absolute; top: 14px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--t2); }
.stage .tag.l { left: 18px; } .stage .tag.r { right: 18px; }
.pair .win { right: 30%; }
.pair .ph { position: absolute; right: 9%; top: 10%; width: 22%; transform: rotate(4deg); }
.slide2 .st { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 4px 16px; padding: 0 6px; }
.slide2 .st .n { grid-row: 1 / 3; font-family: var(--f-cine); font-size: 34px; color: var(--blue); font-weight: 600; letter-spacing: .04em; }
.slide2 .st h3 { font-family: var(--f-brand); font-weight: 800; font-size: 22px; letter-spacing: -.01em; }
.slide2 .st p { grid-column: 2; color: var(--t2); font-size: 14.5px; }
.slide2 .st .gos { grid-column: 3; grid-row: 1 / 3; align-self: center; display: flex; gap: 18px; }
.slide2 .st .go { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.carnav { display: grid; grid-template-columns: 1fr auto auto auto 1fr; align-items: center; gap: 16px; padding: 0 max(24px, env(safe-area-inset-right, 0px)) 0 max(24px, env(safe-area-inset-left, 0px)); }
.carnav .guide2 { font-size: 13px; color: var(--t2); }
#how { gap: 26px; }
.carnav .chev { width: 36px; height: 36px; display: grid; place-items: center; color: var(--t2); border-radius: 50%; transition: color .2s, background .2s; }
.carnav .chev:hover { color: var(--t); background: rgba(255,255,255,.06); }
.carnav .chev svg { width: 18px; height: 18px; }
.carnav .dots { display: flex; gap: 8px; }
.carnav .dots button { width: 26px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.22); transition: background .3s, width .4s var(--out); }
.carnav .dots button.on { width: 44px; background: var(--t); }
@media (max-width: 760px) {
  .track { --cw: 84vw; gap: 12px; }
  .stage { border-radius: 14px; }
  .win { left: 5%; right: 5%; top: 8%; } .win .bar { height: 22px; padding: 0 8px; gap: 4px; } .win .bar i { width: 6px; height: 6px; } .win .url { font-size: 8.5px; padding: 2px 8px; }
  .slot.big, .slot.big b { font-size: 11px; }
  .stage .tag { font-size: 8.5px; top: 8px; } .stage .tag.l { left: 10px; } .stage .tag.r { right: 10px; }
  .stage .need { font-size: 8.5px; bottom: 8px; left: 8px; padding: 3px 6px; }
  .slide2 .st { grid-template-columns: auto 1fr; } .slide2 .st .gos { grid-column: 2; grid-row: auto; }
  .slide2 .st .n { font-size: 26px; } .slide2 .st h3 { font-size: 17px; } .slide2 .st p { font-size: 13px; }
}
@media (max-width: 760px) { .carnav { grid-template-columns: auto auto auto; justify-content: center; } .carnav .guide2 { grid-column: 1 / -1; grid-row: 2; text-align: center; } .carnav .guide2.sp { display: none; } .track { --cw: min(84vw, calc((var(--level-h, 100svh) - 330px) * 16 / 9 + 120px)); } }
.stage .shot2 { position: absolute; left: 50%; top: 8%; height: 100%; width: auto; max-width: none; translate: -50% 0; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.12); }
/* The one blue button: Join on Patreon in the setup slides. */
.b.blue { height: 42px; padding: 0 20px; gap: 9px; border-radius: 10px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 10px 30px rgba(0,143,250,.35); transition: background .2s, transform .3s var(--out); }
.b.blue:hover { background: #1a9bff; transform: translateY(-1px); }
.b.blue svg { width: 15px; height: 15px; }
.slide2 .st .gos .b.blue { letter-spacing: 0; text-transform: none; }
@media (max-width: 760px) { .b.blue { height: 38px; padding: 0 16px; font-size: 13px; } }
.stage .shot2.wide { left: 7%; right: auto; width: 86%; height: auto; translate: none; }
.stage .shot2.left { left: 6%; width: 64%; height: auto; translate: none; top: 10%; }
.slide2 .st .gos { gap: 10px; }

/* ---------- Round 7: the secondary pages in the opening's language (DESIGN.md) ---------- */
/* Title card: the page opens on its footage, the words at the lower left like credits. */
.dlhero.titlecard { align-items: end; padding-bottom: clamp(48px, 9vh, 96px); }
.titlecard h1 { font-size: clamp(56px, 8.4vw, 132px); line-height: .92; margin: 22px 0 18px; max-width: 11em; text-shadow: 0 6px 50px rgba(0,0,0,.45); }
.titlecard .lead { font-size: clamp(16px, 1.4vw, 19px); max-width: 30em; }
.titlecard .dlacts { align-items: center; gap: 14px 26px; margin-top: 28px; }
.titlecard .verify { margin: 0; }
.platforms.bare, .titlecard .platforms { border: 0; background: none; padding: 0; gap: 26px; -webkit-backdrop-filter: none; backdrop-filter: none; margin: 0; }
.titlecard .platforms a { height: 30px; padding: 0; border-radius: 0; background: none; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #B4B9BF; position: relative; }
.titlecard .platforms a.on { background: none; color: var(--t); }
.titlecard .platforms a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--t); }
.titlecard .platforms a svg { width: 14px; height: 14px; }

/* The levels with slides: the title in the wrap, the slides across the full width. */
#install { gap: 26px; }

/* Before you start: a spec sheet, one row per subject, on hairlines. */
.spec { margin: 34px 0 0; max-width: 980px; }
.spec > div { display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr); gap: 8px 40px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.1); }
.spec > div:last-child { border-bottom: 1px solid rgba(255,255,255,.1); }
.spec dt { font-family: var(--f-brand); font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.spec dd { margin: 0; color: rgba(242,243,245,.78); font-size: 15px; line-height: 1.55; max-width: 60ch; }

/* The other platforms: their names, set large, one per row; the picture slides in on hover. */
.plat-rows { display: grid; margin-top: 28px; border-top: 1px solid rgba(255,255,255,.1); }
.prow { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 6px 36px; padding: clamp(14px, 2.6vh, 26px) 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.prow b { font-family: var(--f-brand); font-weight: 800; font-size: clamp(44px, 7.4vw, 112px); line-height: 1; letter-spacing: -.035em; color: var(--t); transition: color .35s, transform .6s var(--out); }
.prow > span:not(.peek) { color: var(--t2); font-size: 15px; max-width: 30ch; }
a.prow:hover b, a.prow:focus-visible b { color: var(--blue); transform: translateX(10px); }
.prow.here b { color: rgba(242,243,245,.28); }
.prow.here > span { color: var(--t3); }
.prow .peek { position: absolute; z-index: 3; right: 0; top: 50%; width: clamp(160px, 22vw, 320px); translate: 0 -50%; opacity: 0; transform: translateX(40px); transition: opacity .35s, transform .7s var(--out); pointer-events: none; }
.prow .peek .pc { width: 100%; border-radius: 10px; box-shadow: 0 30px 70px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.12); }
.prow .peek .ph { width: 46%; margin-left: auto; }
a.prow:hover .peek { opacity: 1; transform: none; }

/* A slide with one phone, standing in the middle of the stage. */
.stage.one .ph { position: absolute; left: 50%; top: 7%; width: 25%; translate: -50% 0; }

@media (max-width: 760px) {
  .titlecard h1 { font-size: clamp(46px, 13vw, 64px); margin: 16px 0 12px; }
  .titlecard .platforms { gap: 18px; width: auto; display: inline-flex; }
  .titlecard .platforms a { flex: none; }
  .spec > div { grid-template-columns: 1fr; padding: 12px 0; gap: 4px; }
  .spec dt { font-size: 15px; } .spec dd { font-size: 13.5px; }
  .prow { grid-template-columns: 1fr; gap: 2px; }
  .prow b { font-size: clamp(40px, 13vw, 56px); }
  .prow > span:not(.peek) { font-size: 13px; }
  .prow .peek { display: none; }
  .stage.one .ph { width: 30%; }
}
#install .lv-head, #how .lv-head { max-width: none; }

.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Games: one full-screen shot per game, the words at the lower left over its footage. */
.glevel { position: relative; overflow: hidden; align-content: end; padding-bottom: clamp(48px, 9vh, 100px); }
.gbg { position: absolute; inset: 0; z-index: 0; background: #05070A; }
.gbg video, .gbg img { width: 100%; height: 100%; object-fit: cover; }
.gbg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,7,10,.82), rgba(5,7,10,.3) 55%, rgba(5,7,10,.15)), linear-gradient(0deg, rgba(5,7,10,.85), transparent 55%); }
.glevel .gneed { top: calc(84px + env(safe-area-inset-top, 0px)); left: max(24px, env(safe-area-inset-left, 0px)); }
.gcard { position: relative; z-index: 2; display: grid; gap: 18px; justify-items: start; }
.glogo { height: clamp(70px, 14vh, 150px); width: auto; max-width: min(70vw, 620px); object-fit: contain; object-position: left center; filter: drop-shadow(0 8px 40px rgba(0,0,0,.5)); }
.gstores { color: rgba(242,243,245,.8); font-size: 16px; }
.gk { display: block; margin-bottom: 8px; font-size: 13px; color: var(--t3); }
.gworks ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 24px; max-width: 760px; }
.gworks li { font-family: var(--f-brand); font-weight: 700; font-size: clamp(16px, 1.5vw, 21px); letter-spacing: -.01em; }
.gby a { margin-right: 18px; font-size: 14.5px; font-weight: 500; color: var(--t); }
.gby a:hover { text-decoration: underline; text-underline-offset: 3px; }
.gnum { position: absolute; z-index: 2; right: max(32px, env(safe-area-inset-right, 0px)); bottom: clamp(40px, 8vh, 90px); font-family: var(--f-cine); font-weight: 600; font-size: clamp(56px, 8vw, 120px); line-height: 1; color: rgba(242,243,245,.9); }
.gnum i { font-style: normal; font-size: .35em; color: var(--t3); margin-left: 6px; }
/* The rack: the games down the right edge, the one on screen lit. */
.rack { position: fixed; z-index: 20; right: max(32px, env(safe-area-inset-right, 0px)); top: 50%; translate: 0 -50%; display: grid; gap: 10px; justify-items: end; }
.rack a { font-family: var(--f-brand); font-weight: 700; font-size: 13px; color: rgba(242,243,245,.6); text-shadow: 0 1px 14px rgba(0,0,0,.9), 0 0 2px rgba(0,0,0,.6); transition: color .3s, transform .4s var(--out); }
.rack a:hover { color: var(--t); }
.rack a.on { color: var(--t); transform: translateX(-6px); }
.rack a.on::after { content: ""; display: inline-block; width: 18px; height: 2px; margin-left: 10px; vertical-align: middle; background: var(--blue); }
@media (max-width: 760px) {
  .rack { display: none; }
  .glogo { height: clamp(56px, 9vh, 90px); max-width: 80vw; }
  .gworks li { font-size: 15px; } .gworks ul { gap: 4px 16px; }
  .gnum { font-size: 44px; top: calc(80px + env(safe-area-inset-top, 0px)); bottom: auto; }
  .gbg::after { background: linear-gradient(0deg, rgba(5,7,10,.92), rgba(5,7,10,.25) 65%, rgba(5,7,10,.5)); }
}

/* Help: a short index under the title card, then one level per kind of problem. */
.jump { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 30px; }
.jump a { font-family: var(--f-brand); font-weight: 700; font-size: 17px; color: var(--t); border-bottom: 2px solid rgba(255,255,255,.25); padding-bottom: 4px; transition: border-color .25s; }
.jump a:hover { border-color: var(--blue); }
.spec.faq dt { font-size: 19px; }
.still { margin-top: 20px; max-width: 46ch; font-size: 17px; color: rgba(242,243,245,.85); line-height: 1.55; }
#still .cta { justify-content: flex-start; margin-top: 28px; }
@media (max-width: 760px) { .jump a { font-size: 15px; } .spec.faq dt { font-size: 16px; } }

/* News: a dated list, newest first, on hairlines. */
#newsrow.newsrow { display: grid; grid-template-columns: none; gap: 0; border-top: 1px solid rgba(255,255,255,.1); max-width: 980px; }
.nrow { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 4px 40px; padding: clamp(14px, 2.4vh, 24px) 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.nrow time { font-family: var(--f-cine); font-weight: 600; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--t2); line-height: 1.1; }
.nrow time b { display: block; font-size: clamp(40px, 4.4vw, 60px); color: var(--t); letter-spacing: 0; }
.nrow h3 { font-family: var(--f-brand); font-weight: 800; font-size: clamp(19px, 1.8vw, 26px); letter-spacing: -.015em; }
.nrow p { margin-top: 6px; color: rgba(242,243,245,.75); font-size: 15px; max-width: 58ch; }
.nrow .ntag { display: inline-block; margin-top: 8px; font-size: 12.5px; color: var(--blue); }
@media (max-width: 760px) {
  .nrow { grid-template-columns: 64px minmax(0, 1fr); gap: 2px 16px; }
  .nrow time { font-size: 11px; } .nrow time b { font-size: 30px; }
  .nrow h3 { font-size: 16px; } .nrow p { font-size: 13px; }
}
#how .track { --cw: min(70vw, 900px, calc((var(--level-h, 100svh) - 430px) * 16 / 9)); }
@media (max-width: 760px) { #how .track { --cw: min(84vw, calc((var(--level-h, 100svh) - 360px) * 16 / 9 + 120px)); } }

/* Motion FX, like Modes: the clip fills the level, the line that splits it runs the full height,
   the words and the effects at the lower left. */
.fxlevel { position: relative; overflow: hidden; align-content: end; padding-bottom: clamp(40px, 8vh, 90px); }
.fxlevel .cmp { position: absolute; inset: 0; z-index: 0; width: auto; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
.fxlevel .cmp::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(0deg, rgba(5,7,10,.88), rgba(5,7,10,.2) 50%, rgba(5,7,10,.35)), linear-gradient(90deg, rgba(5,7,10,.55), transparent 50%); }
.fxlevel .cmp-h { z-index: 4; }
.fxlevel .side { z-index: 3; top: calc(84px + env(safe-area-inset-top, 0px)); bottom: auto; }
.fxlevel .side.l { left: max(24px, env(safe-area-inset-left, 0px)); margin-top: 36px; }
.fxlevel .side.r { right: max(24px, env(safe-area-inset-right, 0px)); }
.fxlevel .mneed { top: calc(84px + env(safe-area-inset-top, 0px)); left: max(24px, env(safe-area-inset-left, 0px)); }
.fxtext { position: relative; z-index: 5; display: grid; gap: 14px; justify-items: start; pointer-events: none; }
.fxtext h2 { font-size: clamp(48px, 7vw, 110px); line-height: .92; text-shadow: 0 6px 50px rgba(0,0,0,.5); }
.fxtext > p { color: rgba(242,243,245,.85); font-size: clamp(15px, 1.3vw, 18px); max-width: 34em; }
.fxtext .fxbars { pointer-events: auto; width: min(100%, 640px); }
.fxtext .fxline { min-height: 1.5em; font-size: 14px; color: var(--t2); }
@media (max-width: 760px) {
  .fxtext h2 { font-size: clamp(40px, 12vw, 56px); }
  .fxlevel .cmp::after { background: linear-gradient(0deg, rgba(5,7,10,.92), rgba(5,7,10,.15) 60%, rgba(5,7,10,.4)); }
}

/* Community: the wall fills the first screen, the title card over it at the lower left. */
.cwall { position: relative; overflow: hidden; align-content: end; padding-bottom: clamp(40px, 8vh, 90px); }
.cwall .wall { position: absolute; inset: 0; z-index: 0; align-content: center; --rh: calc((var(--level-h, 100svh) - 36px) / 4); -webkit-mask-image: none; mask-image: none; }
.cwall::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(0deg, rgba(5,7,10,.94), rgba(5,7,10,.55) 45%, rgba(5,7,10,.25)), linear-gradient(90deg, rgba(5,7,10,.6), transparent 60%); }
.ctext { position: relative; z-index: 2; display: grid; gap: 16px; justify-items: start; pointer-events: none; }
.ctext h1 { font-size: clamp(56px, 8.4vw, 132px); line-height: .92; text-shadow: 0 6px 50px rgba(0,0,0,.5); }
.ctext > p { color: rgba(242,243,245,.85); font-size: clamp(15px, 1.3vw, 18px); max-width: 34em; }
.ctext .cta { pointer-events: auto; justify-content: flex-start; margin-top: 8px; }
/* Get on the wall: a real sequence, so numbered, one row each. */
.crows { list-style: none; margin: 30px 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.1); max-width: 980px; }
.crows li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 4px 30px; align-items: baseline; padding: clamp(16px, 2.8vh, 28px) 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.crows .n { font-family: var(--f-cine); font-weight: 600; font-size: clamp(44px, 5vw, 72px); line-height: 1; color: var(--blue); }
.crows h3 { font-family: var(--f-brand); font-weight: 800; font-size: clamp(22px, 2.4vw, 34px); letter-spacing: -.02em; }
.crows p { margin-top: 6px; color: rgba(242,243,245,.75); font-size: 15px; max-width: 56ch; }
/* The credits: handles set large. */
.credits .prow b { font-size: clamp(26px, min(3.8vw, 5.6vh), 54px); }
.credits .prow { padding: clamp(8px, 1.4vh, 16px) 0; }
@media (max-width: 760px) {
  .cwall .wall { --rh: calc((var(--level-h, 100svh) - 36px) / 4.4); }
  .ctext h1 { font-size: clamp(46px, 13vw, 64px); }
  .crows li { grid-template-columns: 54px minmax(0, 1fr); gap: 2px 14px; }
  .crows .n { font-size: 34px; } .crows h3 { font-size: 18px; } .crows p { font-size: 13px; }
  .credits .prow b { font-size: clamp(24px, 8vw, 34px); }
}

/* ---------- Round 8: everything after the opening speaks its grammar ----------
   Centered composition over footage, no panels; in a row of pictures the current one is sharp and
   its neighbours fade and blur like the side logos of the game carousel; chevrons and thin bars. */
.stage { background: none; box-shadow: none; border-radius: 0; overflow: visible; }
.stage .shot2 { border-radius: 8px; }
.slide2 { opacity: .35; filter: blur(3px); transform: scale(.9); transition: opacity .6s ease, filter .6s ease, transform .65s var(--out); }
.slide2.on { opacity: 1; filter: none; transform: none; }
.slide2 .st { display: grid; grid-template-columns: none; justify-items: center; text-align: center; gap: 6px; padding: 0; }
.slide2 .st .n { grid-row: auto; font-size: 15px; letter-spacing: .14em; color: var(--blue); }
.slide2 .st p { grid-column: auto; max-width: 52ch; }
.slide2 .st .gos { grid-column: auto; grid-row: auto; margin-top: 6px; justify-content: center; }
.carnav { grid-template-columns: auto auto auto; justify-content: center; }
.carnav .guide2 { grid-column: 1 / -1; grid-row: 2; text-align: center; }
.carnav .guide2.sp { display: none; }
.carnav .dots button { width: 26px; height: 2px; border-radius: 1px; }
.carnav .dots button.on { width: 40px; }
#how .lv-head, #install .lv-head { justify-items: center; text-align: center; margin-inline: auto; }

/* Title cards: centered at the lower middle, like the opening's title, line and one white button. */
.dlhero.titlecard > .wrap:not(.dlgrid), .dlhero.titlecard .tc { display: grid; justify-items: center; text-align: center; }
.titlecard h1 { margin-inline: auto; max-width: none; }
.titlecard .lead { margin-inline: auto; }
.titlecard .dlacts { justify-content: center; }
.titlecard .jump { justify-content: center; }
.ctext { justify-items: center; text-align: center; margin-inline: auto; }
.ctext .cta { justify-content: center; }
.gcard { justify-items: center; text-align: center; margin-inline: auto; }
.glogo { object-position: center; }
.gworks ul { justify-content: center; }
.gby a { margin: 0 9px; }
.gbg::after { background: linear-gradient(0deg, rgba(5,7,10,.88), rgba(5,7,10,.25) 55%, rgba(5,7,10,.35)); }
.cwall::after { background: linear-gradient(0deg, rgba(5,7,10,.94), rgba(5,7,10,.5) 50%, rgba(5,7,10,.3)); }
/* iPhone: the request gets its own level; the opening keeps one white button. */
#request { display: grid; place-items: center; }
#request .invite { justify-self: center; }
.slide2 .st { grid-template-columns: auto auto; justify-content: center; column-gap: 12px; }
.slide2 .st .n { align-self: baseline; }
.slide2 .st > :not(.n):not(h3) { grid-column: 1 / -1; }
/* A taller or wider window shows larger pictures, up to where they would blur. */
#how .track { --cw: min(72vw, 1180px, calc((var(--level-h, 100svh) - 545px) * 16 / 9)); }
#install .track { --cw: min(72vw, 1180px, calc((var(--level-h, 100svh) - 430px) * 16 / 9)); }
/* Short screens tighten the text, phones get most of the width. */
@media (max-height: 800px) { #how .track { --cw: min(72vw, 1180px, calc((var(--level-h, 100svh) - 470px) * 16 / 9)); } }
@media (max-width: 760px) { #how .track, #install .track { --cw: min(84vw, calc((var(--level-h, 100svh) - 330px) * 16 / 9)); } }

/* Every picture stays inside its 16:9 stage: the text under it is never covered. */
.stage .shot2 { top: 0; }
.stage .win { top: 0; bottom: 0; }
/* The slides take the keyboard; the step in focus already stands out, without a frame around them all. */
.track:focus, .track:focus-visible { outline: none; }

/* The step's number and name sit together, centred, whatever the width of the line under them;
   the row of slides never grows wider than the screen, so the current one stays centred. */
.steps-car { grid-template-columns: minmax(0, 1fr); }
.slide2 .st { grid-template-columns: 1fr auto auto 1fr; justify-items: center; }
.slide2 .st .n { grid-column: 2; grid-row: 1; }
.slide2 .st h3 { grid-column: 3; grid-row: 1; }
.slide2 .st > :not(.n):not(h3) { grid-column: 1 / -1; max-width: min(52ch, 100%); }

/* The faded slides on each side can be clicked: they brighten under the pointer to say so. */
.slide2:not(.on) { cursor: pointer; }
@media (hover: hover) { .slide2:not(.on):hover { opacity: .65; filter: blur(1px); } }

/* Steps without a button have height to spare: it stays below the text instead of stretching their
   picture, which grew wider than the step and pushed it and its title off centre. */
.slide2 { grid-template-columns: minmax(0, 1fr); align-content: start; }

/* How it works is one level: what RealCam is, then the five steps beside it in the same carousel. */
.slide2 .st.solo h3 { grid-column: 1 / -1; }
.slide2 .st .gos .b [data-i] svg { width: 15px; height: 15px; }
.stage.duo2 .shot2 { left: 3%; top: 0; width: 80%; height: auto; translate: none; }
.stage.duo2 .ph { position: absolute; right: 4%; top: 3%; width: 22%; transform: rotate(3deg); }
/* A clip in a phone sits where a capture would. */
.ph video { position: absolute; left: 5.333%; top: 2.5%; width: 89.333%; height: 95%; object-fit: cover; border-radius: 16% / 7.6%; }

/* Motion: one headline, the three things it covers, the real app on the phone. */
.mbig { font-size: clamp(64px, 9vw, 150px); line-height: .9; margin: 0; text-shadow: 0 6px 50px rgba(0,0,0,.5); }
.mlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; max-width: 34em; }
.mlist li { display: grid; gap: 4px; }
.mlist b { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--t); }
.mlist span { font-size: clamp(15px, 1.25vw, 18px); line-height: 1.45; color: rgba(242,243,245,.85); }
.mcred { position: absolute; z-index: 2; right: max(24px, env(safe-area-inset-right, 0px)); bottom: 18px; }
@media (max-width: 760px) {
  .lv-modes3 { grid-template-columns: minmax(0, 1fr) 32vw; align-items: center; gap: 14px; }
  .mtext { display: grid; gap: 14px; }
  .mbig { font-size: clamp(44px, 13vw, 64px); }
  .mlist { gap: 12px; }
  .mlist b { font-size: 10.5px; }
  .mlist span { font-size: 13px; }
  .mphone { grid-column: 2; grid-row: 1; }
}

/* On the wall now: a single viewer, the clip whole, its creator under it. */
.viewer { margin: 22px auto 0; display: grid; gap: 12px; width: min(100%, calc((var(--level-h, 100svh) - var(--foot, 0px) - 260px) * 16 / 9)); }
.vstage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 8px; background: #06080b; box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.vstage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .9s ease; }
.vstage video.on { opacity: 1; }
.viewer figcaption { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.vby { font-weight: 600; color: var(--t); }
.vby:hover { text-decoration: underline; }
.vgame { color: var(--t2); }
.vnext { margin-left: auto; display: inline-grid; place-items: center; width: 36px; height: 36px; color: var(--t2); transition: color .2s; }
.vnext:hover { color: var(--t); }
.vnext svg { width: 20px; height: 20px; }
#credits h2 { text-align: center; }

/* The Hub's two main pages, side by side. */
.hubtwo { display: grid; gap: 28px; justify-items: center; text-align: center; }
.hubtwo h2 { font-size: clamp(40px, 5.2vw, 76px); margin: 0; }
.hubpair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; width: min(100%, 1500px, calc((var(--level-h, 100svh) - 300px) * 3.1)); }
.hubpair figure { margin: 0; display: grid; gap: 14px; }
.hubpair img { width: 100%; aspect-ratio: 1800 / 1190; object-fit: cover; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.1); }
.hubpair figcaption { font-size: 14.5px; color: var(--t2); display: grid; gap: 4px; }
.hubpair figcaption b { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--t); }
@media (max-width: 760px) {
  .hubtwo { gap: 16px; }
  .hubpair { grid-template-columns: minmax(0, 1fr); gap: 14px; width: min(100%, calc((var(--level-h, 100svh) - 270px) / 2 * 1.51)); }
  .hubpair figure { gap: 6px; }
  .hubpair figcaption { font-size: 12.5px; }
}

/* The Hub's page: one thing per level, its headline beside a large capture, sides taking turns. */
.hrow { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.htext { display: grid; gap: 16px; }
.htext h2 { font-size: clamp(40px, 4.8vw, 76px); line-height: .98; margin: 0; }
.htext p { font-size: clamp(15px, 1.25vw, 18px); line-height: 1.5; color: rgba(242,243,245,.82); max-width: 30em; }
.hshot { margin: 0; justify-self: center; width: min(100%, calc((var(--level-h, 100svh) - 170px) * 1.51)); }
.hshot img { display: block; width: 100%; aspect-ratio: 900 / 595; object-fit: cover; border-radius: 8px; box-shadow: 0 40px 110px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.1); }
.hlevel.flip .hrow { grid-template-columns: minmax(0, 1.28fr) minmax(0, .72fr); }
.hlevel.flip .htext { order: 2; }
.hlevel .wrap.hrow { width: min(1500px, 92vw); max-width: none; margin-inline: auto; }
.hclose .wrap { display: grid; gap: 22px; justify-items: center; text-align: center; }
.hclose h2 { font-size: clamp(44px, 6vw, 96px); margin: 0; }
.hclose .cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px; }
@media (max-width: 760px) {
  .hrow, .hlevel.flip .hrow { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .hlevel.flip .htext { order: 0; }
  .htext { gap: 8px; }
  .htext h2 { font-size: clamp(34px, 10vw, 44px); }
  .htext p { font-size: 14.5px; }
  .hshot { width: 100%; }
}

/* Discord sits right beside the menu; Become a member comes before it. */
#patreon { margin-top: 12px; }
.confirmed { margin-top: 10px; color: var(--ok); font-size: 13px; }
.confirmed svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 6px; }
.top .right .pill.join { order: -1; }
.top .right .menu-btn { margin-left: -12px; }

/* The slides scroll inside their row, which would cut their soft shadows into a visible band:
   the row reaches well past them, without taking more room. */
.track { padding-block: 130px; margin-block: -130px; }
.carnav { position: relative; z-index: 3; }
.lv-setup, #install .wrap { position: relative; z-index: 3; pointer-events: none; }
.lv-setup a, #install .wrap a { pointer-events: auto; }

/* Phones: every step gets the same tall picture area, so the phones and the captures are as large as they can be. */
@media (max-width: 760px) {
  #how .track, #install .track { --cw: 84vw; --sh: max(170px, calc(100svh - 396px)); gap: 12px; }
  html.ios #how .track, html.ios #install .track { --sh: max(170px, calc(var(--level-h) - var(--under, 0px) - var(--band, 0px) - 396px)); }
  #how .carnav .guide2, #install .carnav .guide2 { display: none; }
  .slide2 .stage { aspect-ratio: auto; height: var(--sh); }
  .stage .shot2, .stage .shot2.wide { left: 50%; top: 50%; width: 100%; height: auto; translate: -50% -50%; }
  .stage .win { left: 0; right: 0; top: 50%; bottom: auto; height: 56vw; translate: 0 -50%; }
  .stage.duo2 .shot2 { left: 0; top: 50%; width: 82%; height: auto; translate: 0 -50%; }
  .stage.duo2 .ph { right: 0; top: 50%; width: min(36%, calc(var(--sh) / 2.1)); translate: 0 -50%; }
  .phones2 .ph, .phones2 .ph.droid { top: 50%; width: min(46%, calc((var(--sh) - 24px) / 2.08)); translate: 0 -50%; }
  .phones2 .ph:first-child { left: 2%; }
  .phones2 .ph.droid { left: auto; right: 2%; }
  .stage .tag { display: none; }   /* the buttons under the phones already name them */
  .pair .shot2.left { left: 0; top: 50%; width: 78%; height: auto; translate: 0 -50%; }
  .pair .ph { right: 0; top: 50%; width: min(36%, calc(var(--sh) / 2.1)); translate: 0 -50%; }
  .stage .shot2 { box-shadow: 0 14px 40px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.12); }
}

/* ---------- UX pass, 2026-11-08 ---------- */
/* One size for every level's title; title cards stay larger. */
.after h2, .others h2, .htext h2, #how h2, #hub h2, #games h2, #news h2 { font-size: clamp(36px, 5vw, 72px); line-height: 1; }
/* Titles are centred like the opening, everywhere; what sits under them is one centred column. */
#games .lv-head, #news .lv-head, .after .wrap > h2, .others .wrap > h2 { text-align: center; justify-items: center; margin-inline: auto; max-width: none; }
.after .wrap > .lv-head, .others .wrap > .lv-head { max-width: none; justify-items: center; text-align: center; }
#news .newsrow, .after .crows, .after .spec, .others .plat-rows { width: min(100%, 860px); margin-inline: auto; }
.slide2 .st h3 { color: var(--t); }
/* Text over footage or the wall keeps a soft shade of its own, so nothing behind it competes. */
.ctext::before, .final .fitbox::before { content: ""; position: absolute; inset: -70px -16%; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(5,7,10,.8), rgba(5,7,10,.45) 62%, rgba(5,7,10,0)); }
.final .fitbox { position: relative; isolation: isolate; }
.ctext { isolation: isolate; }
.final .already { justify-content: center; }
/* The games' page: nothing leaves the screen on a phone. */
.gcard { grid-template-columns: minmax(0, 1fr); width: 100%; }
.glogo { max-width: min(100%, 620px); }
.gby { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; }
@media (max-width: 760px) {
  .glogo { max-width: 86%; }
  .gnum { top: calc(128px + env(safe-area-inset-top, 0px)); }
  .final .already .dot-sep { display: none; }
  .final .already { gap: 6px 18px; }
  .strips { gap: 8px; }
  .strip { aspect-ratio: 1 / 1.1; }
  #games .lv-head p { font-size: 13.5px; }
  .hubpair { width: min(100%, calc((var(--level-h, 100svh) - var(--under, 0px) - 330px) / 2 * 1.51)); }
}

/* Download pages: the same layout on each platform, so switching between them moves nothing. */
.dlhero.titlecard .lead { min-height: 4.65em; }
.dlhero.titlecard .dlacts { min-height: 90px; align-content: flex-start; }
@media (min-width: 1100px) { .dlhero.titlecard h1 { white-space: nowrap; font-size: min(8.4vw, 7.2vw + 16px, 118px); } }
@media (max-width: 760px) {
  .dlhero.titlecard h1 { min-height: 1.84em; display: grid; align-items: end; }
  .dlhero.titlecard .lead { min-height: 6.2em; }
  .dlhero.titlecard .dlacts { min-height: 96px; }
}
/* The download itself is the one blue action. */
.dlacts .b.pri, .hclose .b.pri { background: var(--blue); color: #fff; box-shadow: 0 10px 30px rgba(0,143,250,.35); }
.dlacts .b.pri:hover, .hclose .b.pri:hover { background: #1F9BFF; }
.dlacts .b.pri small { color: #fff; opacity: .85; }
/* The request form keeps its own title size. */
#request .invite h2 { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.1; }

/* Touch: two quick taps or swipes must not zoom the page (it showed as the page jumping wider than the screen). */
html { touch-action: manipulation; }
/* iPhone: nothing heavy to repaint while levels fly past. */
html.ios .slide2 { filter: none; }

/* Download pages: the platform's own screens beside its title, in one frame that never changes size. */
.dlhero.titlecard { align-items: center; padding-bottom: 56px; }
.dlhero.titlecard > .wrap.dlsplit { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(28px, 4vw, 72px); align-items: center; width: min(1560px, 92vw); max-width: none; margin-inline: auto; }
.dlsplit .tc { display: grid; justify-items: center; text-align: center; }
.dlsplit h1, .dlhero.titlecard .dlsplit h1 { white-space: normal; font-size: clamp(44px, 5.4vw, 96px); min-height: 1.84em; display: grid; align-items: end; }
.dlsplit .dlacts { justify-content: center; }
.dlshow { margin: 0; position: relative; width: 100%; height: min(62vh, 620px); }
.dlpc img { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 100%; max-height: 100%; aspect-ratio: 1800 / 1190; object-fit: cover; border-radius: 8px; box-shadow: 0 40px 110px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.1); }
.dlphones .ph { position: absolute; top: 50%; left: 50%; height: 100%; width: auto; aspect-ratio: 1350 / 2760; translate: -50% -50%; }
.dlphones .ph.droid { aspect-ratio: 1350 / 2760; }
.dlphones .p2 { z-index: 2; height: 100%; }
.dlphones .p1, .dlphones .p3 { height: 86%; opacity: .92; }
.dlphones .p1 { transform: translateX(-62%) rotate(-6deg); }
.dlphones .p3 { transform: translateX(62%) rotate(6deg); }
@media (max-width: 1099px) {
  .dlhero.titlecard > .wrap.dlsplit { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .dlshow { order: -1; height: max(120px, calc(100svh - 530px)); }
  html.ios .dlshow { height: max(120px, calc(var(--level-h) - var(--under, 0px) - var(--band, 0px) - 530px)); }
  .dlpc img { width: auto; height: 100%; max-height: none; }
  .dlhero.titlecard { padding-top: calc(76px + env(safe-area-inset-top, 0px)); padding-bottom: 16px; }
  .dlsplit h1, .dlhero.titlecard .dlsplit h1 { font-size: clamp(38px, 11vw, 60px); margin: 10px 0 8px; }
  .dlhero.titlecard .dlsplit .lead { min-height: 5em; font-size: 14.5px; }
  .dlhero.titlecard .dlsplit .dlacts { margin-top: 8px; min-height: 84px; }
}
/* Every platform reserves the same lines, so nothing above or below moves. */
.dlsplit .lead, .dlhero.titlecard .dlsplit .lead { min-height: 3lh; }
.dlsplit .dlacts, .dlhero.titlecard .dlsplit .dlacts { min-height: 96px; }
@media (max-width: 1099px) { .dlhero.titlecard .dlsplit .lead { min-height: 4lh; } .dlhero.titlecard .dlsplit .dlacts { min-height: 100px; } .dlhero.titlecard .dlsplit h1 { min-height: 2lh; } }
@media (max-width: 340px) { .dlhero.titlecard .dlsplit .lead { min-height: 5lh; } }

/* The step coming to the centre barely grows, in time with the slide's glide. */
.slide2 { transform: scale(.975); transition: opacity .62s ease, filter .62s ease, transform .62s cubic-bezier(.45,0,.25,1); }
.slide2.on { transform: none; }

/* iPhone: what fills a level also runs under Safari's bars, like the level's own picture. */
html.ios .gbg, html.ios .cwall .wall, html.ios .cwall::after { top: calc(-1 * var(--band, 0px)); bottom: calc(-1 * var(--under, 0px)); height: auto; }

/* Blue buttons: white text stays readable (4.5:1); the brand blue stays for accents and logos. */
.b.blue, .dlacts .b.pri, .hclose .b.pri { background: #0077DB; }
.b.blue:hover, .dlacts .b.pri:hover, .hclose .b.pri:hover { background: #0A84E6; }
.dlacts .b.pri small { opacity: 1; }

/* Download, Hub and Help openings: the footage fills the screen as clear as on the home page; only the text's part is shaded. */
.footage.dim:not(.reading) .layer { filter: none; transform: none; }
.footage.dim:not(.reading)::after { background: linear-gradient(90deg, rgba(5,7,10,.72), rgba(5,7,10,.42) 48%, rgba(5,7,10,.08) 72%), linear-gradient(0deg, rgba(5,7,10,.6), transparent 42%); }
@media (max-width: 1099px) {
  .footage.dim:not(.reading)::after { background: linear-gradient(180deg, rgba(5,7,10,.15) 0%, rgba(5,7,10,0) 22%, rgba(5,7,10,.55) 46%, rgba(5,7,10,.82) 72%, rgba(5,7,10,.88) 100%); }
}

/* Going from one page to another fades instead of flashing, where the browser can. */
/* With a mouse only: on iPhone the snapshot stops at Safari's bars, so the fade would show bands around it. */
@media (hover: hover) and (pointer: fine) { @view-transition { navigation: auto; } }
.dlhero { touch-action: pan-y; }

/* iPhone: the wall must not cut what runs under Safari's bars (the level's clip-path already bounds it). */
html.ios .cwall { overflow: visible; }
/* iPhone openings: under the footage, the same picture runs below Safari's bars, so these areas are never empty. */
html.ios .hero, html.ios .dlhero { isolation: isolate; }
html.ios .hero::before, html.ios .dlhero::before { content: ""; position: absolute; inset: calc(-1 * var(--band, 0px)) 0 calc(-1 * var(--under, 0px)); z-index: -2; pointer-events: none; background: #05070A var(--still, none) center / cover no-repeat; filter: brightness(.6); }

/* Phones: the logo and the menu stay readable when the opening's footage is bright at the top. */
@media (max-width: 1099px) {
  .footage.dim:not(.reading)::after { background: linear-gradient(180deg, rgba(5,7,10,.55) 0%, rgba(5,7,10,.12) 15%, rgba(5,7,10,0) 22%, rgba(5,7,10,.55) 46%, rgba(5,7,10,.82) 72%, rgba(5,7,10,.88) 100%); }
}

/* iPhone: the blurred still is small and lossless; a fine grain at the phone's own pixels keeps its dark gradients from banding. */
html.ios .block::before, html.ios .after::before, html.ios .others::before { background: url(media/grain.png) 0 0 / 43px 43px repeat, #05070A var(--still-soft, none) center / cover no-repeat; }

/* The brand in running text: the logo's typeface; RealCam alone or Hub alone in the logo's blue, together only Hub. */
.rc { font-family: var(--f-brand); font-weight: 800; letter-spacing: -.02em; text-transform: none; white-space: nowrap; }
.rc-on { color: var(--blue); }
.cine .rc { font-size: .76em; letter-spacing: -.035em; }
/* On a blue button, a blue name would vanish: it keeps the button's white. */
.b.blue .rc-on, .b.pri .rc-on { color: inherit; }
.legal { flex-basis: 100%; order: 5; margin: 0; font-size: 11px; line-height: 1.5; color: rgba(242,243,245,.42); }
/* The language picker: the names in small type, the current one lit, nothing more. */
.langs { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 11.5px; letter-spacing: .01em; }
.langs a { color: rgba(242,243,245,.42); transition: color .2s ease; }
.langs a:hover, .langs a[aria-current] { color: var(--t); }
footer .langs { order: 6; flex-basis: 100%; }
.sheet .foot .langs { flex-basis: 100%; margin-top: 8px; }

/* Phones: the logo and the menu stay readable over bright footage. A shade on the bar's edge only. */
@media (max-width: 1099px) {
  .top::before { content: ""; position: absolute; inset: 0 0 auto; height: 112px; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(5,7,10,.62), rgba(5,7,10,.28) 55%, transparent); }
}

/* iPhone: the menu lies in the page over the whole screen, under the status bar and Safari's bar; its content stays between them. */
html.ios .sheet { position: absolute; inset: var(--menu-y, 0px) 0 auto; height: var(--level-h, 100svh); overflow: hidden; }
html.ios .sheet .panel { top: var(--band, 0px); bottom: var(--under, 0px); }

/* iPhone: behind the level on screen runs the page's clip, blurred, over the level's blurred still. A light blur at the phone's own pixels keeps it smooth. */
html.ios .softclip { position: absolute; inset: calc(-1 * var(--band, 0px)) 0 calc(-1 * var(--under, 0px)); z-index: -1; width: 100%; height: calc(100% + var(--band, 0px) + var(--under, 0px)); max-width: none; object-fit: cover; pointer-events: none; opacity: 0; filter: blur(10px); transform: scale(1.08); transition: opacity .6s; }
html.ios .softclip.on { opacity: 1; }

/* Download pages: Patreon comes up once, for those not yet members. */
.dljoin { margin: 2px 0 0; font-size: 13.5px; color: rgba(242,243,245,.72); }


/* Download pages: the still under the clip from the first paint. */
.fstill img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
/* From one download page to another, the bar's platforms stay exactly in place; only the rest cross-fades. */
.platforms { view-transition-name: rc-platforms; }
::view-transition-old(rc-platforms) { display: none; }
::view-transition-new(rc-platforms) { animation: none; }

/* Download pages: the new platform's words and previews fade in; nothing moves. */
@keyframes swapin { from { opacity: 0; } to { opacity: 1; } }
.swapin { animation: swapin .28s ease both; }

/* iPhone: the last level's footer ends above Safari's bar. */
html.ios footer { padding-bottom: calc(18px + var(--under, 0px)); }

/* iPhone: the logo is already in the bar; the footer stays short. */
html.ios footer > .brand { display: none; }

/* Community: the wall of small thumbnails behind, one clip in front, the creators first. The page is one screen; the footer waits below it. */
.cscreen { --vis: 100svh; min-height: 100svh; display: grid; align-content: center; padding: 66px 0 14px; overflow: hidden; }
.cscreen .wall { position: absolute; inset: 0; z-index: 0; align-content: center; gap: 6px; --rh: calc(var(--level-h, 100svh) / 7.4); -webkit-mask-image: none; mask-image: none; }
.cscreen .wall .row, .cscreen .wall .run { gap: 6px; }
.cscreen .wall .tile { border-radius: 4px; box-shadow: none; }
.cscreen .wall .tile::after, .cscreen .wall .who, .cscreen .wall .tile.cta { display: none; }
.cscreen .wall .tile img { opacity: .62; }
.cscreen::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(180deg, rgba(5,7,10,.6), rgba(5,7,10,.34) 26%, rgba(5,7,10,.5) 58%, rgba(5,7,10,.92) 86%); }
.cinfo { position: relative; z-index: 1; display: grid; justify-items: center; gap: 10px; min-width: 0; }
.cinfo h1 { margin: 0; font-size: clamp(30px, 5vh, 56px); text-align: center; text-shadow: 0 2px 24px rgba(0,0,0,.6); }
.cview { margin: 0; width: min(100%, 1120px, calc((var(--vis) - 262px) * 16 / 9)); min-width: 0; }
.cview .vstage { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 8px; background: #05070A; box-shadow: 0 0 0 1px rgba(255,255,255,.16), 0 30px 80px rgba(0,0,0,.65); }
.cview .vstage video { object-fit: cover; }
.cview .vstage video.upright { object-fit: contain; }
.cview figcaption { display: flex; align-items: center; gap: 10px; min-height: 46px; padding-top: 4px; }
.cwho { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 10px; font-size: 14px; }
.cwho .vby { flex: none; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cwho .vgame { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.cfollow { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border: 1px solid rgba(255,255,255,.34); border-radius: 6px; font-size: 13px; font-weight: 600; color: var(--t); transition: background .2s, color .2s; }
.cfollow:hover { background: var(--t); color: #05070A; }
.cfollow svg { width: 15px; height: 15px; }
.cview .vnext { flex: none; margin: 0; width: 34px; height: 34px; color: var(--t); }
.cfoot { width: min(100%, 1120px); display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.thanks h2 { display: flex; align-items: center; gap: 7px; margin: 0 0 4px; font-family: var(--f-brand); font-weight: 800; font-size: 14px; letter-spacing: -.01em; text-transform: none; }
.thanks h2 svg { width: 13px; height: 13px; color: var(--blue); }
.thanks ul { display: flex; flex-wrap: wrap; gap: 0 11px; margin: 0; padding: 0; list-style: none; font-size: 13px; line-height: 1.6; }
.thanks a { color: rgba(242,243,245,.72); transition: color .25s; }
.thanks a:hover, .thanks a.on { color: var(--t); }
.thanks a.on { font-weight: 600; }
.cget { margin: 0; font-size: 13.5px; line-height: 1.5; color: rgba(242,243,245,.78); }
.cget b { color: var(--t); }
footer.flevel { scroll-snap-align: end; }
@media (orientation: portrait) and (max-width: 899px) {
  .cview { width: 100%; }
  .cview .vstage { width: min(100%, calc((var(--vis) - 318px) * 3 / 4)); margin-inline: auto; aspect-ratio: 3 / 4; }
  .cview .vstage video.upright { object-fit: cover; }
  .cfoot { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .cinfo h1 { font-size: clamp(28px, 8.6vw, 38px); }
  .cview figcaption { min-height: 42px; }
  .cwho { flex-direction: column; gap: 0; align-items: flex-start; font-size: 13.5px; line-height: 1.25; }
  .cwho .vgame { font-size: 12px; max-width: 100%; }
  .thanks ul { font-size: 12.5px; gap: 0 10px; }
  .cget { font-size: 13px; }
}
@media (max-height: 520px) {
  .cinfo h1, .cfoot { display: none; }
  .cview { width: min(100%, calc((var(--vis) - 126px) * 16 / 9)); }
}
html.ios .cscreen { --vis: calc(var(--level-h, 100svh) - var(--band, 0px) - var(--under, 0px)); min-height: var(--level-h, 100svh); border-bottom: var(--under, 0px) solid transparent; overflow: visible; }
html.ios .cscreen::before { display: none; }
html.ios .cscreen .wall, html.ios .cscreen::after { top: calc(-1 * var(--band, 0px)); bottom: calc(-1 * var(--under, 0px)); height: auto; }

/* iPhone: the bar is not one wide fixed element. On Safari 27.2 (simulator) that alone paints a band under the clock; logo, tabs and
   controls pinned separately do not, and they sit exactly where the bar put them. */
html.ios .top { position: static; height: 0; padding: 0; }
html.ios .top .brand { position: fixed; z-index: 30; top: 18px; left: max(32px, env(safe-area-inset-left, 0px)); }
html.ios .top .tabs { position: fixed; z-index: 30; top: 19px; left: 207px; margin: 0; }
html.ios .top .right { position: fixed; z-index: 30; top: 14px; right: max(32px, env(safe-area-inset-right, 0px)); margin: 0; }
@media (max-width: 760px) {
  html.ios .top .brand { left: max(16px, env(safe-area-inset-left, 0px)); }
  html.ios .top .right { right: max(16px, env(safe-area-inset-right, 0px)); }
}
html.ios body.menu .top .brand, html.ios body.menu .top .right { z-index: 50; }
html.ios .intro .top { animation: none; }
html.ios .intro .top .brand, html.ios .intro .top .tabs, html.ios .intro .top .right { animation: up 1.2s ease .6s both; }
html.ios .glow { display: none; }

/* iPhone: until the script moves the footage into its opening, it already covers that opening's whole screen, bars included. */
html.ios body > .footage { top: 0; bottom: auto; height: var(--level-h, 100lvh); }

/* A phone step without its capture yet: a plain screen with the step's words. */
.ph .slot { background: linear-gradient(180deg, #141922, #05070A); border: 0; color: rgba(242,243,245,.82); font-size: 13px; line-height: 1.35; }
/* Page not found. */
.cmissing { min-height: calc(100svh - var(--foot, 92px)); text-align: center; }
.cmissing h1 { font-size: clamp(40px, 6vw, 84px); margin: 0 0 12px; }
.cmissing .cta { justify-content: center; }

/* iPhone: overflow would cut the Games picture at the level's padding, leaving its top and bottom borders, under the bars, empty. The level's clip-path already bounds it. */
html.ios .glevel { overflow: visible; }

/* The Hub on a phone held upright: the screens run almost edge to edge, their captions on one line. */
@media (max-width: 760px) and (orientation: portrait) {
  .hubtwo { gap: 10px; }
  .hubpair { width: calc(100vw - 16px); gap: 10px; }
  .hubpair figure { gap: 4px; }
  .hubpair figcaption { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0 8px; padding-inline: 8px; }
  .hshot { width: calc(100vw - 16px); }
  .htext h2 { font-size: clamp(40px, 12vw, 52px); }
  .htext p { font-size: 16px; }
}

/* A phone held sideways is too low for one level per screen: levels take the height they need, at their normal size, and the page scrolls freely. */
@media (max-height: 500px) {
  html { scroll-snap-type: none; }
  html .block, html .after, html .others, html .final, html.ios .block, html.ios .after, html.ios .others, html.ios .final { min-height: 0; border-bottom-width: 0; padding-top: 68px; padding-bottom: 28px; }
  html .glevel, html.ios .glevel, html.ios .cscreen { min-height: var(--level-h, 100svh); }
  html.ios .glevel, html.ios .cscreen { border-bottom-width: var(--under, 0px); }
  html .hero, html .dlhero, html.ios .hero, html.ios .dlhero { padding-top: 62px; padding-bottom: 22px; }
  /* The steps: the picture on one side, the words on the other, one step per screen. */
  .track, #how .track, #install .track { --cw: min(88vw, 780px); --sh: auto; }
  .slide2 { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: 18px; }
  .slide2 .stage { aspect-ratio: 16 / 9; }
  .slide2 .st { justify-items: start; text-align: left; align-content: center; }
  .slide2 .st h3 { font-size: 19px; }
  .slide2 .st p { font-size: 13.5px; line-height: 1.4; }
  .slide2 .st .gos { justify-content: flex-start; }
  #how h2, #install h2 { font-size: clamp(24px, 4vw, 34px); margin-bottom: 0; }
  .steps-car { gap: 6px; }
  .carnav .guide2:not(.sp) { display: none; }
  .hubpair { grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(100%, 780px); }
  .hrow, .hlevel.flip .hrow { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px; }
  .hlevel.flip .hrow { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
  .hlevel.flip .htext { order: 2; }
  .hshot { width: 100%; }
  html.ios .sheet .panel { overflow-y: auto; align-content: start; padding-top: 62px; }
  html.ios .sheet .mbrand { display: none; }
  /* The openings fit the first screen: words on one side, the previews on the other. */
  .hero .lead, .hero .status, .hero .row-note { display: none; }
  .hero .carousel { height: 96px; }
  .dlhero.titlecard > .wrap.dlsplit { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 16px; align-items: center; }
  .dlsplit .tc { order: 1; }
  .dlsplit .dlshow, html.ios .dlsplit .dlshow { order: 2; height: min(240px, calc(var(--level-h, 100svh) - 130px)); width: 100%; }
  .dlhero.titlecard { align-items: center; }
  .dlsplit h1, .dlhero.titlecard .dlsplit h1, .dlhero.titlecard h1 { min-height: 0; font-size: clamp(26px, 4.4vw, 36px); margin: 4px 0 6px; white-space: normal; }
  .dlsplit .lead, .dlhero.titlecard .dlsplit .lead, .dlhero.titlecard .lead { min-height: 0; font-size: 13px; line-height: 1.4; }
  .dlsplit .dlacts, .dlhero.titlecard .dlsplit .dlacts, .dlhero.titlecard .dlacts { min-height: 0; margin-top: 8px; }
  .hero .mid { gap: 6px; padding-bottom: 0; }
  .hero h1 { font-size: clamp(26px, 4.6vw, 38px); }
  html.ios .sheet .it { font-size: 25px; }
  .dljoin { font-size: 12.5px; }
  .fixed-credit { display: none; }
}

/* iPhone page: what happened with Patreon, in the request pane. */
.authnote { margin: 0; padding: 10px 12px; border-left: 2px solid #FFB454; background: rgba(255,180,84,.1); font-size: 13.5px; line-height: 1.4; color: var(--t); }

/* Download pages: the clip carries on from Windows to iPhone to Android, and some of its shots are much brighter (snow).
   A steady shade keeps those from making one platform look lighter than the others. */
body:has(.dlhero .platforms) .footage.dim::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: rgba(5,7,10,.3); }

/* The big name has no filter: a CSS filter over the video can make some graphics cards draw the page through
   another path, slightly grey, which snapped back to its colours when the name was gone. */
