/* T4+ website. Dark, cinematic; brand gradient from packages/app/public/styles.css (--g-brand). */
:root {
  --bg: #05060b;
  --bg-2: #0a0c16;
  --text: #f3f5fb;
  --text-2: #b3b9cc;
  --text-3: #7f879e;
  --line: rgba(255, 255, 255, 0.1);
  --blue-hi: #4fc3ff;
  --blue: #2f6bff;
  --violet: #7b3cff;
  --g-brand: linear-gradient(135deg, #4fc3ff 0%, #2f6bff 55%, #7b3cff 100%);
  --g-text: linear-gradient(100deg, #6fd0ff 0%, #4f86ff 45%, #9b6bff 100%);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --gutter: clamp(16px, 5vw, 64px);
  --vh: 100vh;
}
@supports (height: 100svh) { :root { --vh: 100svh; } }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color-scheme: dark; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: Manrope, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 50; background: #fff; color: #000; padding: 8px 14px; border-radius: 99px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- space canvas ---------- */
#space { position: fixed; left: 0; top: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
main, .foot { position: relative; z-index: 1; }

/* ---------- type ---------- */
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; color: var(--text-2);
}
.eyebrow__num { color: var(--blue-hi); margin-right: 0.6em; }
.display {
  font-weight: 200;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.98;
  font-size: clamp(42px, 9.2vw, 132px);
}
.display--md { font-size: clamp(38px, 5.4vw, 84px); }
.display em {
  font-style: normal; font-weight: 500;
  background: var(--g-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 22px rgba(79, 140, 255, 0.35));
}
.lead { color: var(--text-2); font-size: clamp(16px, 1.45vw, 20px); max-width: 34em; }
.note, .fine { color: var(--text-3); font-size: 13px; }

/* ---------- pills ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px; border-radius: 999px;
  font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s;
}
.pill--brand { background: var(--g-brand); color: #fff; box-shadow: 0 8px 30px rgba(47, 107, 255, 0.45), inset 0 1px 0 rgba(255,255,255,.25); }
.pill--brand:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(123, 60, 255, 0.55), inset 0 1px 0 rgba(255,255,255,.25); }
.pill--ghost { border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.04); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.pill--ghost:hover { background: rgba(255,255,255,.1); }
.pill--sm { min-height: 38px; padding: 0 16px; font-size: 13px; }
.pill--soon { border: 1px dashed rgba(255,255,255,.22); color: var(--text-2); font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.actions--center { justify-content: center; }

/* ---------- header ---------- */
.top {
  position: fixed; z-index: 20; left: 0; right: 0; top: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(14px + env(safe-area-inset-top)) var(--gutter) 14px;
  background: linear-gradient(to bottom, rgba(5,6,11,.75), rgba(5,6,11,0));
}
.brand img { height: 30px; width: auto; filter: drop-shadow(0 0 12px rgba(79,195,255,.35)); }
.top__right { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: rgba(255,255,255,.04); }
.lang button { min-width: 38px; min-height: 32px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--text-3); }
.lang button[aria-pressed="true"] { background: rgba(255,255,255,.12); color: var(--text); }

/* ---------- numbered chapter nav (desktop) ---------- */
.chapters { position: fixed; z-index: 15; right: var(--gutter); top: 50%; transform: translateY(-50%); display: none; }
.chapters ol { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.chapters a { display: flex; align-items: center; justify-content: flex-end; gap: 12px; text-decoration: none; color: var(--text-3); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.chapters .lbl { opacity: 0; transform: translateX(6px); transition: opacity .3s, transform .3s var(--ease); }
.chapters .num { font-weight: 700; width: 26px; text-align: right; }
.chapters a::after { content: ''; width: 18px; height: 1px; background: currentColor; transition: width .3s var(--ease); }
.chapters a[aria-disabled="true"] { opacity: .35; cursor: default; }
.chapters a:hover .lbl, .chapters a.is-active .lbl { opacity: 1; transform: none; }
.chapters a.is-active { color: var(--text); }
.chapters a.is-active::after { width: 38px; background: var(--g-brand); height: 2px; }
.chapters.is-hidden { opacity: 0; pointer-events: none; }
.chapters { transition: opacity .4s; }
@media (min-width: 1000px) { .chapters { display: block; } }

/* ---------- bottom progress line ---------- */
.progress { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,.06); }
.progress i { display: block; height: 100%; width: 100%; background: var(--g-brand); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 12px rgba(79,195,255,.7); }

/* ---------- SHOW: full screen → QLED TV on a black console ---------- */
.show { position: relative; height: 1300vh; }
.stage { position: -webkit-sticky; position: sticky; top: 0; height: var(--vh); overflow: hidden; }

/* the room: dark wall, the TV's bias light, a floor line */
.room { position: absolute; left: 0; top: 0; right: 0; bottom: 0; opacity: var(--room, 0); }
.room__glow {
  position: absolute; left: var(--gx, 50%); top: var(--gy, 45%); width: var(--gw, 900px); height: calc(var(--gw, 900px) * 0.62);
  transform: translate(-50%, -50%);
  background:
    radial-gradient(closest-side, rgba(79,195,255,.34), rgba(47,107,255,.2) 38%, rgba(123,60,255,.14) 62%, rgba(123,60,255,0));
}
.room__floor {
  position: absolute; left: 0; right: 0; top: var(--fy, 75%); bottom: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,.035), rgba(255,255,255,0) 40%), linear-gradient(#07080e, #030306);
  border-top: 1px solid rgba(255,255,255,.05);
}

/* the set: sized in JS so its screen exactly covers the viewport at scale 1, then scaled down */
.set { position: absolute; left: 0; top: 0; width: 1000px; will-change: transform; }
.tv { position: relative; width: 100%; }
.tv__panel {
  position: relative; padding: 0.45%;
  border-radius: calc(var(--u) * 0.6);
  background: #050507;
  box-shadow: 0 0 0 calc(var(--u) * 0.1) #3b404b, 0 0 0 calc(var(--u) * 0.16) #101217, 0 calc(var(--u) * -0.4) calc(var(--u) * 2) rgba(79,195,255,.08), 0 calc(var(--u) * 3) calc(var(--u) * 9) rgba(0,0,0,.7);
}
.tv__screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; border-radius: calc(var(--u) * 0.15); }
@supports not (aspect-ratio: 16 / 9) { .tv__screen { height: 0; padding-top: 56.25%; } .tv__screen > .mv { position: absolute; left: 0; top: 0; width: 100%; height: 100%; } }
.tv__glare { position: absolute; left: 0; top: 0; right: 0; bottom: 0; pointer-events: none; opacity: var(--room, 0);
  background: linear-gradient(118deg, rgba(255,255,255,.09) 0%, rgba(255,255,255,0) 34%); }
.tv__brand { position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 50%); font-size: calc(var(--u) * 0.55); letter-spacing: .3em; color: rgba(255,255,255,.28); font-weight: 700; }
.tv__stand { position: relative; height: calc(var(--u) * 4.2); }
.tv__stand i { position: absolute; left: 50%; top: 0; width: 26%; height: 100%; transform: translateX(-50%);
  background: linear-gradient(#22252d, #0b0c10); clip-path: polygon(44% 0, 56% 0, 56% 70%, 100% 82%, 100% 100%, 0 100%, 0 82%, 44% 70%);
}

/* low black lacquer console: glossy top that catches the screen, fluted doors, an LED line, a glow on the floor */
.console { position: relative; width: 150%; margin-left: -25%; }
.console__top {
  position: relative; height: calc(var(--u) * 1.3);
  background:
    radial-gradient(ellipse 34% 260% at 50% 0%, rgba(120,170,255,.38), rgba(120,170,255,0) 70%),
    linear-gradient(#30343d, #0c0d12 40%, #040406);
  border-radius: calc(var(--u) * 0.35) calc(var(--u) * 0.35) calc(var(--u) * 0.1) calc(var(--u) * 0.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 calc(var(--u) * 0.25) calc(var(--u) * 0.6) rgba(0,0,0,.8);
}
.console__body {
  position: relative; height: calc(var(--u) * 8); display: flex; margin: 0 1.2%;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0, rgba(255,255,255,.012) calc(var(--u) * 0.25), rgba(0,0,0,.4) calc(var(--u) * 0.5), rgba(255,255,255,.05) calc(var(--u) * 0.62)),
    linear-gradient(#0e0f15, #050507 70%, #020203);
  box-shadow: inset 0 calc(var(--u) * 0.5) calc(var(--u) * 0.9) rgba(0,0,0,.85);
}
.console__body::before { content: ''; position: absolute; left: 2%; right: 2%; top: 0; height: 2px;
  background: var(--g-brand); opacity: .8; box-shadow: 0 0 calc(var(--u) * 1.4) rgba(79,195,255,.75); }
.console__body i { flex: 1; border-left: 1px solid rgba(0,0,0,.9); box-shadow: inset 1px 0 0 rgba(255,255,255,.04); }
.console__body i:first-child { border-left: 0; box-shadow: none; }
.console__legs { position: relative; height: calc(var(--u) * 1.6); margin: 0 1.2%; }
.console__legs i { position: absolute; top: 0; width: 0.8%; height: 100%; background: linear-gradient(90deg, #15161b, #4a4e58, #15161b); }
.console__legs i:first-child { left: 5%; } .console__legs i:last-child { right: 5%; }
.console__legs::before { content: ''; position: absolute; left: 4%; right: 4%; top: -10%; height: calc(var(--u) * 4);
  background: radial-gradient(closest-side, rgba(79,140,255,.28), rgba(123,60,255,.12) 60%, rgba(0,0,0,0)); }
.console__legs::after { content: ''; position: absolute; left: -4%; right: -4%; top: 70%; height: calc(var(--u) * 4);
  background: radial-gradient(closest-side, rgba(0,0,0,.7), rgba(0,0,0,0)); }

/* readability scrim over the full-screen start */
.scrim { position: absolute; left: 0; top: 0; right: 0; bottom: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 42%, rgba(5,6,11,.55), rgba(5,6,11,.88) 70%), linear-gradient(rgba(5,6,11,.5), rgba(5,6,11,.2));
}
.hero__copy {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  padding: 0 var(--gutter);
  text-align: center; display: flex; flex-direction: column; align-items: center;
}
.hero__copy .display { margin-top: 18px; }
.hero__copy .lead { margin: 18px auto 0; color: var(--text); opacity: .85; }
.hero__copy .actions { justify-content: center; margin-top: 26px; }
.hero__copy .note { margin-top: 14px; color: var(--text-2); }

/* chapter text beside (desktop) or under (phone) the TV */
.panel {
  position: absolute; left: var(--gutter); top: 50%; width: min(40vw, 560px);
  transform: translateY(calc(-50% + (1 - var(--r, 0)) * 40px));
  opacity: var(--r, 0); visibility: hidden;
}
.panel.is-on { visibility: visible; }
.panel .display { margin-top: 16px; }
.panel .lead { margin-top: 20px; }
.panel .fine { margin-top: 14px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips li { font-size: 13px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.035); color: var(--text-2); }
.mv__hint { margin-top: 16px; font-size: 13px; color: var(--blue-hi); }

/* multiview: the recorded T4+ multiview plays on the TV; four transparent windows sit on top.
   Picking a window zooms the video into that quarter (= "full screen" in the app). */
.mv { overflow: hidden; }
.mv__video {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; background: #000 url(media/multiview-poster.jpg) center / cover;
  transform-origin: var(--zx, 0%) var(--zy, 0%); transform: scale(var(--z, 1));
  transition: transform .6s var(--ease);
}
.mv__grid { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: var(--mv-pe, none); }
.mv__tile { position: absolute; width: 50%; height: 50%; left: calc(var(--x) / 2); top: calc(var(--y) / 2); cursor: pointer; }
.mv__grid.has-full .mv__tile { left: 0; top: 0; width: 100%; height: 100%; }
.mv__grid.has-full .mv__tile:not(.is-full) { display: none; }
.mv__tile:hover::after, .mv__tile:focus-visible::after { content: ''; position: absolute; left: 0; top: 0; right: 0; bottom: 0;
  box-shadow: inset 0 0 0 var(--ring, 3px) rgba(255,255,255,.85); }
.mv__tile:focus-visible { outline: none; }

/* what the TV shows: one layer per chapter, crossfaded by the scroll */
.scr { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.mv.scr { opacity: 1; }
video.scr { pointer-events: none; background: #0b0d1c center / cover; }
video.scr[data-layer="2"] { background-image: url(media/alerts-poster.jpg); }
video.scr[data-layer="1"] { background-image: url(media/zap-poster.jpg); }
/* 02: the picture freezes (grey, grainy, still), then the backup comes in with a flash */
.tv__screen.is-frozen video.scr[data-layer="1"] { filter: grayscale(1) contrast(1.25) brightness(.55) blur(1px); }
.tv__screen::after { content: ''; position: absolute; left: 0; top: 0; right: 0; bottom: 0; pointer-events: none; opacity: 0;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.07) 0 2px, rgba(0,0,0,0) 2px 4px); }
.tv__screen.is-frozen::after { opacity: 1; animation: grain .25s steps(2) infinite; }
@keyframes grain { 50% { transform: translateY(2px); } }
.tv__screen.is-flash::before { content: ''; position: absolute; left: 0; top: 0; right: 0; bottom: 0; z-index: 3; background: #fff; animation: flash .45s ease-out forwards; pointer-events: none; }
@keyframes flash { from { opacity: .7; } to { opacity: 0; } }

/* 04: a film page drawn the way the app draws it, sized in TV units so it scales with the TV */
.film { background: #07080f; overflow: hidden; }
.film__bg { position: absolute; left: 30%; top: 0; right: 0; bottom: 0; background: url(media/film-sintel.jpg) center / cover; }
.film__bg::after { content: ''; position: absolute; left: 0; top: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, #07080f 0%, rgba(7,8,15,.85) 25%, rgba(7,8,15,0) 60%), linear-gradient(0deg, #07080f 0%, rgba(7,8,15,0) 40%); }
.film__info { position: absolute; left: 5%; top: 14%; width: 46%; font-size: calc(var(--u) * 1.15); color: #fff; }
.film__kicker { font-size: .8em; letter-spacing: .3em; text-transform: uppercase; color: #8fb6ff; font-weight: 700; }
.film__title { font-size: 3.6em; font-weight: 800; line-height: 1.05; margin-top: .15em; letter-spacing: -.01em; }
.film__meta { margin-top: .5em; color: #c9d1e6; font-size: .95em; }
.film__rates { display: flex; gap: .5em; margin-top: .8em; }
.film__rates b { font-size: .8em; padding: .3em .8em; border-radius: .5em; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); }
.film__rates b:first-child { background: #f5c518; color: #111; border-color: #f5c518; }
.film__rates b:nth-child(2) { background: #01b4e4; color: #04131c; border-color: #01b4e4; }
.film__plot { margin-top: .9em; color: #dfe4f2; line-height: 1.45; font-size: .95em; }
.film__people { margin-top: .7em; color: #9aa3bd; font-size: .8em; }
.film__btns { display: flex; gap: .6em; margin-top: 1.2em; }
.film__btns span { font-size: .85em; font-weight: 700; padding: .55em 1.2em; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); }
.film__btns span.on { background: linear-gradient(135deg, #3d6bff, #7b3cff); border-color: #9fc2ff; box-shadow: 0 0 1.2em rgba(90,120,255,.7); }

/* 02: channel stills with the app's zap bar */
.zapd { background: #000; }
.zapd__pic { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: center / cover no-repeat; opacity: 0; transition: opacity .25s; }
.zapd__pic.on { opacity: 1; }
.zapd.is-wait .zapd__pic { filter: brightness(.35) blur(2px); }
.zapd__bar { position: absolute; left: 3%; right: 3%; bottom: 5%; display: flex; align-items: center; gap: 1.2em; padding: .9em 1.2em; border-radius: 1em;
  font-size: calc(var(--u) * 1.25); color: #fff; background: rgba(12,14,24,.86); border: 1px solid rgba(255,255,255,.12); }
.zapd.is-card .zapd__bar { animation: card .35s var(--ease); }
@keyframes card { from { transform: translateY(.4em); box-shadow: 0 0 0 .15em #4fc3ff, 0 0 2em rgba(79,195,255,.8); } to { transform: none; box-shadow: none; } }
.zapd__logo { width: 3.4em; height: 2.2em; border-radius: .5em; display: flex; align-items: center; justify-content: center; font-weight: 800; color: #8fb6ff; background: rgba(255,255,255,.06); }
.zapd__txt { display: flex; flex-direction: column; }
.zapd__num { font-size: .8em; color: #c9d1e6; }
.zapd__name { font-size: 1.15em; }
.zapd__prog { font-style: normal; font-size: .85em; color: #9aa3bd; }
.zapd__live { margin-left: auto; font-size: .8em; color: #1ed760; font-weight: 700; }

/* 04: the News screen, drawn like the app */
.newsd { background: radial-gradient(ellipse at 20% 0%, #24206a, #0b0d22 60%); padding: 3% 3.5%; font-size: calc(var(--u) * 1.05); color: #fff; }
.newsd__flash { display: flex; align-items: center; gap: 1em; border-radius: .8em; overflow: hidden; background: rgba(10,12,24,.8); border: 1px solid rgba(255,140,60,.6); white-space: nowrap; }
.newsd__flash b { padding: .7em 1.4em .7em 1em; background: linear-gradient(90deg, #ff2d48, #ff7a2a); clip-path: polygon(0 0, 100% 0, calc(100% - .9em) 100%, 0 100%); text-transform: uppercase; letter-spacing: .06em; }
.newsd__flash .al-time { color: #ffb13d; font-weight: 700; }
.newsd__tabs { display: flex; gap: .7em; margin-top: 1.2em; }
.newsd__tabs span { padding: .45em 1.1em; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); font-weight: 700; font-size: .9em; }
.newsd__tabs span.on { background: linear-gradient(135deg, #3d6bff, #5a8cff); border-color: #9fc2ff; box-shadow: 0 0 1em rgba(90,140,255,.6); }
.newsd__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1em; margin-top: 1.2em; }
.newsd__card { display: flex; gap: 1em; padding: 1em; border-radius: 1em; background: rgba(255,255,255,.05); border: 1px solid rgba(120,150,255,.3); min-height: 7.5em; }
.newsd__card p { display: flex; flex-direction: column; gap: .5em; }
.newsd__card b { font-size: 1.05em; line-height: 1.3; }
.th { flex: none; width: 9em; border-radius: .7em; }
.th1 { background: linear-gradient(135deg, #ff2d48, #7b3cff); } .th2 { background: linear-gradient(135deg, #ffb13d, #ff5a2a); }
.th3 { background: linear-gradient(135deg, #1ed760, #1a8cff); } .th4 { background: linear-gradient(135deg, #4fc3ff, #2f6bff); }
.lv { font-style: normal; align-self: flex-start; font-size: .7em; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .25em .6em; border-radius: .35em; background: rgba(255,255,255,.12); }
.lv--crit { background: #ff2d48; } .lv--imp { background: #ff9a2a; color: #1a0d00; }

/* alert tints: the whole room flashes amber for a quake, red for breaking news */
.stage::before { content: ''; position: absolute; left: 0; top: 0; right: 0; bottom: 0; pointer-events: none; opacity: 0; z-index: 3; mix-blend-mode: screen; }
.stage.tint-quake::before { background: radial-gradient(ellipse at var(--gx) var(--gy), rgba(255,200,40,.32), rgba(255,140,0,.12) 40%, rgba(0,0,0,0) 70%); animation: tint 1.4s ease-out; }
.stage.tint-news::before { background: radial-gradient(ellipse at var(--gx) var(--gy), rgba(255,40,70,.32), rgba(255,40,70,.1) 40%, rgba(0,0,0,0) 70%); animation: tint 1.4s ease-out; }
@keyframes tint { 0% { opacity: 0; } 12% { opacity: 1; } 30% { opacity: .35; } 45% { opacity: .9; } 100% { opacity: 0; } }

/* ---------- effects around the TV (one per chapter, shown while the TV is big) ---------- */
.ov { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; visibility: hidden; font-size: var(--af, 16px); z-index: 4; }
.stage[data-ov="1"] .ov[data-ov="1"], .stage[data-ov="2"] .ov[data-ov="2"], .stage[data-ov="3"] .ov[data-ov="3"], .stage[data-ov="4"] .ov[data-ov="4"], .stage[data-ov="5"] .ov[data-ov="5"] { visibility: visible; }

/* 02 */
.drop__card { position: absolute; left: calc(var(--sl) + var(--sw) / 2); top: calc(var(--st) + var(--sh) * .42); transform: translate(-50%, -50%) scale(.9);
  min-width: 15em; padding: 1.1em 1.5em; border-radius: 1em; text-align: center; color: #fff;
  background: rgba(10,12,22,.9); border: 1px solid rgba(255,255,255,.14); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 1.5em 4em rgba(0,0,0,.6); opacity: 0; transition: opacity .3s, transform .4s var(--ease), border-color .3s, box-shadow .3s; }
.drop.is-freeze .drop__card { opacity: 1; transform: translate(-50%, -50%); }
.drop.is-out .drop__card { opacity: 0; }
.drop__spin { display: block; width: 2.2em; height: 2.2em; margin: 0 auto .6em; border-radius: 50%; border: .22em solid rgba(255,255,255,.15); border-top-color: #4fc3ff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.drop__ok { display: none; width: 2.2em; height: 2.2em; margin: 0 auto .6em; border-radius: 50%; background: #1ed760; color: #04160b; font-style: normal; font-weight: 900; font-size: 1em; line-height: 2.2em; box-shadow: 0 0 1.5em rgba(30,215,96,.7); }
.drop__t1, .drop__t3 { font-weight: 800; font-size: 1.15em; }
.drop__t2, .drop__t4 { margin-top: .3em; font-size: .85em; color: var(--text-2); }
.drop__t3, .drop__t4 { display: none; }
.drop.is-ok .drop__card { border-color: rgba(30,215,96,.7); box-shadow: 0 0 2.5em rgba(30,215,96,.35), 0 1.5em 4em rgba(0,0,0,.6); }
.drop.is-ok .drop__spin, .drop.is-ok .drop__t1, .drop.is-ok .drop__t2 { display: none; }
.drop.is-ok .drop__ok, .drop.is-ok .drop__t3, .drop.is-ok .drop__t4 { display: block; }

/* 02 overlay: the CH key and three facts */
.zapo__key { position: absolute; left: calc(var(--sl) - 4.5em); top: calc(var(--st) + var(--sh) * .35); width: 3.6em; padding: .7em 0; border-radius: 1.2em; text-align: center; color: #fff;
  background: linear-gradient(160deg, #262a36, #0d0f16); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 1em 2.5em rgba(0,0,0,.6); }
.zapo__key span { display: block; font-size: .75em; color: var(--text-2); }
.zapo__key b { display: block; font-size: 1.4em; color: #cfe0ff; }
.zapo.press .zapo__key { animation: press .25s ease-out; }
@keyframes press { 40% { transform: scale(.9); box-shadow: 0 0 0 .2em #4fc3ff, 0 0 2em rgba(79,195,255,.9); } }
.zapo__stats { position: absolute; left: calc(var(--sl) + var(--sw) + 1.2em); top: calc(var(--st) + var(--sh) * .1); width: 15em; }
.zs { padding: .8em 1em; margin-bottom: .7em; border-radius: .9em; background: rgba(12,14,26,.92); border: 1px solid rgba(79,195,255,.4); box-shadow: 0 0 1.5em rgba(79,195,255,.2);
  opacity: 0; transform: translateX(-1em); transition: opacity .35s, transform .5s var(--ease); }
.zs b { display: block; color: #fff; font-size: .95em; }
.zs span { display: block; color: var(--text-2); font-size: .82em; margin-top: .15em; }
.zapo.s1 .zs1, .zapo.s2 .zs2, .zapo.s3 .zs3 { opacity: 1; transform: none; }
.zapo.is-out .zs, .zapo.is-out .zapo__key { opacity: 0; transition: opacity .4s; }

/* 03 overlay: the player's safety nets */
.tech { position: absolute; list-style: none; left: calc(var(--sl) + var(--sw) + 1.2em); top: calc(var(--st) + var(--sh) * .02); width: 16em; }
.tech li { position: relative; padding: .7em 1em .7em 2.6em; margin-bottom: .6em; border-radius: .9em; background: rgba(12,14,26,.92); border: 1px solid rgba(255,255,255,.12);
  opacity: 0; transform: translateX(-1em); transition: opacity .35s, transform .5s var(--ease), border-color .3s; }
.tech li i { position: absolute; left: .9em; top: 1em; width: .8em; height: .8em; border-radius: 50%; background: #1ed760; box-shadow: 0 0 .8em #1ed760; }
.tech li b { display: block; color: #fff; font-size: .95em; }
.tech li span { display: block; color: var(--text-2); font-size: .8em; margin-top: .15em; }
.drop.t-1 .t1, .drop.t-2 .t2, .drop.t-3 .t3, .drop.t-4 .t4 { opacity: 1; transform: none; }
.drop.is-freeze .t1, .drop.is-freeze .t4 { border-color: rgba(79,195,255,.7); }
.drop.is-ok .t4 { border-color: rgba(30,215,96,.8); box-shadow: 0 0 1.5em rgba(30,215,96,.3); }
@media (max-width: 999px) { .tech, .zapo__stats { left: var(--sl); top: calc(var(--st) + var(--sh) + 12px); width: var(--sw); display: grid; grid-template-columns: 1fr 1fr; gap: 6px; font-size: 12px; }
  .tech li, .zs { margin: 0; } .zapo__key { left: calc(var(--sl) + 6px); font-size: 11px; } }

/* 04 */
.search__card { position: absolute; left: calc(var(--sl) + var(--sw) * .5); top: calc(var(--st) + var(--sh) * .12); width: min(var(--cw), 92vw);
  padding: 1em; border-radius: 1em; background: rgba(12,14,26,.94); border: 1px solid rgba(120,160,255,.45);
  box-shadow: 0 0 2.5em rgba(79,140,255,.3), 0 1.5em 4em rgba(0,0,0,.6); opacity: 0; transform: translateY(-1em); transition: opacity .35s, transform .5s var(--ease); }
.stage[data-ov="4"] .search__card { opacity: 1; transform: none; }
.search.is-out .search__card, .search.is-out .rate { opacity: 0; }
.search__box { display: flex; align-items: center; gap: .6em; padding: .55em .8em; border-radius: .6em; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); font-size: 1.05em; color: #fff; }
.search__box i { font-style: normal; color: #8fb6ff; }
.search__caret { width: 2px; height: 1.1em; background: #4fc3ff; animation: blink 1s steps(2) infinite; }
.search__res { list-style: none; margin-top: .7em; }
.search__res li { display: flex; flex-wrap: wrap; align-items: center; gap: .2em .6em; padding: .6em .4em; border-top: 1px solid rgba(255,255,255,.08); opacity: 0; transform: translateY(.6em); transition: opacity .35s, transform .45s var(--ease); }
.search.is-res .search__res li { opacity: 1; transform: none; }
.search.is-res .search__res li:nth-child(2) { transition-delay: .25s; }
.search__res b { color: #fff; font-size: 1em; }
.search__res em { font-style: normal; color: var(--text-2); font-size: .82em; }
.tag { font-size: .68em; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .2em .55em; border-radius: .35em; background: rgba(143,182,255,.18); color: #b8ceff; }
.tag--live { background: rgba(255,45,72,.2); color: #ff8fa0; }
.rem { margin-left: auto; font-size: .78em; font-weight: 800; padding: .35em .8em; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); color: #fff; transition: background .3s, box-shadow .3s; }
.search.is-rem .rem { background: linear-gradient(135deg, #3d6bff, #7b3cff); border-color: #9fc2ff; box-shadow: 0 0 1.2em rgba(90,120,255,.8); }
.rate { position: absolute; left: calc(var(--sl) + var(--sw) * .05); top: calc(var(--st) + var(--sh) * .78); display: flex; flex-wrap: wrap; align-items: center; gap: .6em;
  padding: .7em .9em; border-radius: .9em; background: rgba(12,14,26,.92); border: 1px solid rgba(245,197,24,.55); box-shadow: 0 0 2em rgba(245,197,24,.25);
  opacity: 0; transform: scale(.9); transform-origin: 0 100%; transition: opacity .35s, transform .5s cubic-bezier(.2,1.5,.35,1); }
.search.is-rate .rate { opacity: 1; transform: none; }
.rate p { display: flex; align-items: center; gap: .4em; color: #fff; font-size: .9em; }
.rate p b { font-size: .85em; padding: .15em .5em; border-radius: .35em; background: #f5c518; color: #111; }
.rate p:nth-child(2) b { background: #01b4e4; color: #04131c; }
.rate__note { width: 100%; color: var(--text-2) !important; font-size: .75em !important; }

/* 06: a phone with T4+'s remote page */
.phone { position: absolute; left: calc(var(--sl) - 9em); top: calc(var(--st) + var(--sh) * .5 - 15em); width: 14.2em; height: 29.5em; padding: .55em;
  border-radius: 2.6em; background: linear-gradient(145deg, #4a4f5c, #1a1c22 30%, #0d0e12 70%, #3a3e48);
  box-shadow: inset 0 0 0 .12em #5a606e, 0 0 0 1px rgba(0,0,0,.6), 0 2.5em 5em rgba(0,0,0,.75), 0 0 4em rgba(79,140,255,.28);
  opacity: 0; transform: translateX(-3em) rotate(-10deg); transition: opacity .45s, transform .9s cubic-bezier(.2,1.25,.35,1); }
.devices.is-in .phone { opacity: 1; transform: rotate(-6deg); }
.devices.is-out .phone, .devices.is-out .sync { opacity: 0; }
.phone__screen { position: relative; height: 100%; padding: .6em .9em; border-radius: 2.1em; overflow: hidden; color: #eef1f7;
  background: radial-gradient(ellipse at 50% 0%, #161b2a, #0b0d12 55%); font-size: .82em; }
.phone__screen::after { content: ''; position: absolute; left: 0; top: 0; right: 0; bottom: 0; pointer-events: none;
  background: linear-gradient(125deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,0) 30%); }
.phone__status { display: flex; align-items: center; justify-content: space-between; font-size: .75em; font-weight: 700; color: #fff; height: 1.8em; }
.phone__status span:last-child { font-size: .6em; letter-spacing: .1em; }
.phone__island { width: 5.2em; height: 1.45em; border-radius: 1em; background: #000; }
.rm__h { margin-top: .7em; font-size: 1.15em; font-weight: 800; }
.rm__st { font-size: .72em; color: #4ee38a; margin-bottom: .6em; }
.rm__row { display: flex; gap: .45em; margin-bottom: .45em; }
.rm__row b, .rm__pad b, .rm__nums b { flex: 1; display: flex; align-items: center; justify-content: center; height: 2.3em; border-radius: .7em; background: #1b2030; font-size: .82em; font-weight: 600; transition: background .15s, box-shadow .15s, transform .15s; }
.rm__pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45em; margin: .7em 0; }
.rm__pad b { height: 2.9em; font-size: 1em; }
.rm__pad .k-ok { width: 2.9em; justify-self: center; border-radius: 50%; background: #5b7cff; }
.rm__c { display: flex; gap: .3em; margin: .5em 0; } .rm__c i { flex: 1; height: .45em; border-radius: .3em; }
.rm__nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: .35em; }
.rm__nums b { height: 1.9em; }
.rm__search { display: flex; gap: .4em; margin-top: .6em; }
.rm__search span { flex: 1; display: flex; align-items: center; padding: 0 .7em; height: 2.2em; border-radius: .6em; border: 1px solid #2a3142; background: #11151f; color: #9aa3b8; font-size: .72em; white-space: nowrap; overflow: hidden; }
.rm__search b { display: flex; align-items: center; padding: 0 .9em; border-radius: .6em; background: #5b7cff; font-size: .75em; }
.devices[data-key="u"] .k-u, .devices[data-key="d"] .k-d, .devices[data-key="l"] .k-l, .devices[data-key="r"] .k-r, .devices[data-key="ch"] .k-ch {
  background: #262d42; box-shadow: 0 0 0 .12em #4fc3ff, 0 0 1.2em rgba(79,195,255,.8); transform: scale(.95); }
.devices[data-key="ok"] .k-ok { box-shadow: 0 0 0 .15em #fff, 0 0 1.6em #5b7cff; transform: scale(.92); }
.sync { position: absolute; left: calc(var(--sl) + var(--sw) * .55); top: calc(var(--st) + var(--sh) * .66); width: min(var(--cw), 80vw); padding: .9em 1.1em; border-radius: 1em;
  background: rgba(12,14,26,.92); border: 1px solid rgba(30,215,96,.5); box-shadow: 0 0 2em rgba(30,215,96,.25), 0 1.5em 4em rgba(0,0,0,.6);
  opacity: 0; transform: translateY(1em); transition: opacity .4s, transform .6s var(--ease); }
.devices.is-sync .sync { opacity: 1; transform: none; }
.sync__t { color: #fff; font-weight: 800; font-size: 1.05em; }
.sync__t::before { content: '🔒 '; }
.sync__d { margin-top: .3em; color: var(--text-2); font-size: .85em; }
.tv.shake .tv__panel, .tv.shake + .console { animation: tvShake .9s cubic-bezier(.36,.07,.19,.97); }
@keyframes tvShake {
  10%, 90% { transform: translate3d(calc(var(--u) * -0.25), 0, 0) rotate(-.15deg); }
  20%, 80% { transform: translate3d(calc(var(--u) * 0.45), calc(var(--u) * 0.1), 0) rotate(.2deg); }
  30%, 50%, 70% { transform: translate3d(calc(var(--u) * -0.7), calc(var(--u) * -0.15), 0) rotate(-.3deg); }
  40%, 60% { transform: translate3d(calc(var(--u) * 0.7), calc(var(--u) * 0.15), 0) rotate(.3deg); }
}


/* ---------- alerts that leave the TV ---------- */
.chip { display: inline-block; padding: .25em .7em; border-radius: .4em; font-size: .72em; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.chip--quake { background: #ffd23f; color: #1a1400; }
.chip--crit { background: #ff2d48; color: #fff; }
.al__title { margin-top: .55em; font-size: 1.2em; font-weight: 700; line-height: 1.28; color: #fff; }
.al__meta { margin-top: .4em; font-size: .82em; color: var(--text-2); }

.quake, .newsa {
  position: absolute; width: var(--cw, 360px); padding: 1em 1.15em;
  border-radius: 1em; background: rgba(13, 14, 24, .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; will-change: transform, opacity;
}
.quake {
  left: var(--qx); top: var(--qy);
  border: 2px solid #ffd23f; box-shadow: 0 0 0 1px rgba(255,210,63,.25), 0 0 36px rgba(255,210,63,.45), 0 24px 60px rgba(0,0,0,.6);
  transform-origin: 0% 0%; transform: scale(.25) translate(-40px, -40px);
  transition: opacity .25s, transform .7s cubic-bezier(.2, 1.5, .35, 1);
}
.alerts.q-in .quake { opacity: 1; transform: none; animation: quakeHit .7s cubic-bezier(.2,1.6,.3,1), quakeGlow 1.1s ease-in-out .7s infinite alternate; }
@keyframes quakeHit { 0% { transform: scale(.3) rotate(-4deg); } 55% { transform: scale(1.08) rotate(1deg); } 75% { transform: scale(.97) rotate(-.5deg); } 100% { transform: none; } }
.quake::after { content: ''; position: absolute; left: 0; top: 0; right: 0; bottom: 0; border-radius: inherit; background: #fff3c4; opacity: 0; pointer-events: none; }
.alerts.q-in .quake::after { animation: hitFlash .6s ease-out; }
@keyframes hitFlash { 0% { opacity: .85; } 100% { opacity: 0; } }
.alerts.q-in .chip--quake { animation: chipBlink .5s steps(2) 4; }
@keyframes chipBlink { 50% { background: #fff; color: #1a1400; box-shadow: 0 0 1.2em #ffd23f; } }
.seis { display: block; width: 100%; height: 1.6em; margin-top: .45em; }
.seis path { fill: none; stroke: #ffd23f; stroke-width: 2; stroke-linejoin: round; filter: drop-shadow(0 0 4px rgba(255,210,63,.9)); stroke-dasharray: 340; stroke-dashoffset: 340; }
.alerts.q-in .seis path { animation: seis 1.3s ease-out .25s forwards; }
@keyframes seis { to { stroke-dashoffset: 0; } }
@keyframes quakeGlow { to { box-shadow: 0 0 0 1px rgba(255,210,63,.4), 0 0 60px rgba(255,210,63,.75), 0 24px 60px rgba(0,0,0,.6); } }
.quake__rings { position: absolute; left: 0; top: 0; width: 0; height: 0; }
.quake__rings b { position: absolute; left: -60px; top: -60px; width: 120px; height: 120px; border-radius: 50%; border: 2px solid rgba(255,210,63,.8); opacity: 0; }
.alerts.q-in .quake__rings b { animation: ring 1.8s cubic-bezier(.2,.7,.3,1) infinite; }
.alerts.q-in .quake__rings b:nth-child(2) { animation-delay: .45s; }
.alerts.q-in .quake__rings b:nth-child(3) { animation-delay: .9s; }
@keyframes ring { 0% { transform: scale(.2); opacity: 1; border-width: 4px; } 100% { transform: scale(5); opacity: 0; border-width: 1px; } }

.newsa {
  left: var(--nx); top: var(--ny);
  border: 2px solid rgba(255, 92, 112, .95); box-shadow: 0 0 34px rgba(255, 45, 72, .5), 0 24px 60px rgba(0,0,0,.6);
  transform: translateY(-40px) scale(.96); transition: opacity .35s, transform .6s var(--ease);
  overflow: hidden;
}
.alerts.n-in .newsa { opacity: 1; transform: none; animation: newsSlam .55s cubic-bezier(.2,1.4,.3,1), newsGlow 1s ease-in-out .6s 3 alternate; }
@keyframes newsSlam { 0% { transform: translateY(-70px) skewY(-5deg) scale(1.06); } 60% { transform: translateY(6px) skewY(1deg); } 100% { transform: none; } }
@keyframes newsGlow { to { box-shadow: 0 0 0 1px rgba(255,92,112,.6), 0 0 60px rgba(255,45,72,.85), 0 24px 60px rgba(0,0,0,.6); } }
.newsa::before { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 50%; pointer-events: none;
  background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,120,140,.35), rgba(255,255,255,0)); transform: skewX(-20deg); }
.alerts.n-in .newsa::before { animation: shine 1.1s ease-out .2s; }
@keyframes shine { to { left: 130%; } }
.alerts.n-in .chip--crit { animation: chipBlinkR .45s steps(2) 5; }
@keyframes chipBlinkR { 50% { background: #fff; color: #ff2d48; box-shadow: 0 0 1.2em #ff2d48; } }
.sweep { position: absolute; left: var(--sl); top: var(--st); width: var(--sw); height: 4px; overflow: hidden; pointer-events: none; }
.sweep::after { content: ''; position: absolute; top: 0; bottom: 0; left: -40%; width: 40%; background: linear-gradient(90deg, rgba(255,45,72,0), #ff2d48, #ffb3be, #ff2d48, rgba(255,45,72,0)); box-shadow: 0 0 18px #ff2d48; opacity: 0; }
.alerts.n-in .sweep::after { animation: sweep 1s ease-in-out; }
@keyframes sweep { 0% { left: -40%; opacity: 1; } 100% { left: 100%; opacity: 1; } }
.newsa__head { display: flex; align-items: center; gap: .6em; font-size: .9em; font-weight: 700; color: #fff; }
.newsa__head .al-time { margin-left: auto; color: var(--text-2); font-weight: 600; }
.newsa__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, #ff2d48, #ff8a5c); transform-origin: 0 50%; transform: scaleX(1); }
.alerts.n-in .newsa__bar { transform: scaleX(0); transition: transform 6s linear; }

.flash {
  position: absolute; left: var(--fx); top: var(--fy); width: var(--fw); height: 2.6em;
  display: flex; align-items: center; overflow: hidden; border-radius: 10px;
  background: rgba(10, 11, 20, .92); border: 1px solid rgba(255, 150, 60, .55); box-shadow: 0 0 30px rgba(255, 120, 40, .35);
  clip-path: inset(0 100% 0 0); transition: clip-path .7s var(--ease), opacity .3s;
}
.alerts.f-in .flash { clip-path: inset(0 0 0 0); animation: bandPulse 1.2s ease-in-out .7s 2 alternate; }
@keyframes bandPulse { to { box-shadow: 0 0 50px rgba(255,120,40,.75); border-color: rgba(255,170,80,.9); } }
.alerts.f-in .flash__tag { background: repeating-linear-gradient(135deg, #ffb13d 0 14px, #ff8a2a 14px 28px); background-size: 40px 40px; animation: stripes .8s linear infinite; }
@keyframes stripes { to { background-position: 40px 0; } }
.flash__tag { position: relative; z-index: 1; flex: none; height: 100%; display: flex; align-items: center; gap: .5em; padding: 0 1em 0 .9em; font-size: .8em; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #1a0d00;
  background: linear-gradient(90deg, #ffb13d, #ff7a2a); clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%); padding-right: 26px; }
.flash__tag i { width: 9px; height: 9px; border-radius: 50%; background: #1a0d00; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.flash__body { white-space: nowrap; padding-left: .9em; font-size: .95em; font-weight: 600; color: #fff; }
.flash__body .al-time { color: #ffb13d; margin-right: 8px; }
.alerts.f-in .flash__body { animation: marquee 9s linear .6s both; }
@keyframes marquee { from { transform: translateX(10%); } to { transform: translateX(-60%); } }
.alerts.out .quake, .alerts.out .newsa, .alerts.out .flash { opacity: 0; transition: opacity .5s; }
.alerts.solo.n-in .quake, .alerts.solo.f-in .newsa { opacity: 0; transition: opacity .4s; animation: none; }

@media (max-width: 700px) {
  .show { height: 720vh; }
  .panel { left: var(--gutter); right: var(--gutter); width: auto; top: var(--panel-top, 52%); transform: translateY(calc((1 - var(--r, 0)) * 30px)); }
  .panel .display { font-size: 38px; margin-top: 10px; }
  .panel .lead { margin-top: 12px; font-size: 15px; }
  .chips { margin-top: 14px; gap: 6px; }
  .chips li { font-size: 12px; padding: 5px 11px; }
  .panel .fine { font-size: 12px; }
  .mv__hint { margin-top: 10px; }
  .show { height: 1200vh; }
  .phone { left: calc(var(--sl) - 14px); top: calc(var(--st) - 20px); font-size: 8.5px; }
  .sync { left: calc(var(--sl) + var(--sw) * .3); top: calc(var(--st) + var(--sh) + 8px); width: calc(var(--sw) * .7); }
  .search__card { left: calc(var(--sl) + 8px); width: calc(var(--sw) - 16px); top: calc(var(--st) + 8px); }
  .rate { top: calc(var(--st) + var(--sh) + 8px); left: var(--sl); }
}

/* ---------- personalisation ---------- */
.pers { padding: 130px var(--gutter) 40px; }
.pers__inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px; align-items: center; }
.pers__head .display { margin-top: 14px; }
.pers__head .lead { margin-top: 18px; }
.pers__tv { position: relative; border-radius: 16px; padding: 6px; background: #050507; box-shadow: 0 0 0 1px #2b2f38, 0 30px 80px rgba(0,0,0,.6), 0 0 70px rgba(79,140,255,.25); }
.pers__tv video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; background: #0b0d1c url(media/alerts-poster.jpg) center / cover; }
.pers__grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 10px; }
.pc { padding: 20px 20px 18px; border-radius: 18px; background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015)); border: 1px solid var(--line);
  opacity: 0; transform: translateY(24px); transition: opacity .55s, transform .7s var(--ease), border-color .3s; }
.pc:hover { border-color: rgba(120,160,255,.45); }
.pc b { display: block; font-size: 17px; color: #fff; }
.pc b::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 9px; border-radius: 50%; background: var(--g-brand); box-shadow: 0 0 8px #4fc3ff; vertical-align: middle; }
.pc p { margin-top: 8px; color: var(--text-2); font-size: 14px; line-height: 1.5; }
.pers.is-in .pc { opacity: 1; transform: none; }
.pers.is-in .pc:nth-child(2) { transition-delay: .06s; } .pers.is-in .pc:nth-child(3) { transition-delay: .12s; } .pers.is-in .pc:nth-child(4) { transition-delay: .18s; }
.pers.is-in .pc:nth-child(5) { transition-delay: .24s; } .pers.is-in .pc:nth-child(6) { transition-delay: .3s; } .pers.is-in .pc:nth-child(7) { transition-delay: .36s; } .pers.is-in .pc:nth-child(8) { transition-delay: .42s; }
@media (max-width: 900px) { .pers__inner { grid-template-columns: 1fr; } .pers__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pers { padding-top: 90px; } .pers__grid { grid-template-columns: 1fr; gap: 10px; } }
@media (prefers-reduced-motion: reduce) { .pc { opacity: 1; transform: none; transition: none; } }

/* news screen: live market + weather strip; film page: online subtitles button */
.newsd__live { display: flex; flex-wrap: wrap; gap: .5em; margin-top: .9em; font-size: .85em; font-weight: 700; }
.newsd__live .mk { padding: .3em .7em; border-radius: .5em; background: rgba(255,255,255,.06); }
.newsd__live .up { color: #4ee38a; } .newsd__live .dn { color: #ff6b7d; }
.newsd__live .wx { margin-left: auto; color: #fff; } .newsd__live .wx i { font-style: normal; color: #9aa3bd; font-weight: 600; margin-left: .3em; }
.film__btns span.cc { border-color: rgba(79,195,255,.6); color: #bfe6ff; }

/* ---------- "our own engineering" ---------- */
.own { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 6px 14px 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff;
  background: linear-gradient(#0b0d18, #0b0d18) padding-box, var(--g-brand) border-box; border: 1px solid transparent; box-shadow: 0 0 18px rgba(79,140,255,.35); }
.own i { width: 8px; height: 8px; border-radius: 50%; background: var(--g-brand); box-shadow: 0 0 8px #4fc3ff; }
.eng { position: relative; padding: 140px var(--gutter) 60px; }
.eng__inner { max-width: 1180px; margin: 0 auto; text-align: center; }
.eng .lead { margin: 22px auto 0; max-width: 46em; }
.eng__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 54px; text-align: left; }
.stat { position: relative; padding: 26px 24px; border-radius: 20px; overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015)); border: 1px solid var(--line);
  opacity: 0; transform: translateY(30px); transition: opacity .6s, transform .8s var(--ease), border-color .3s; }
.stat::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 2px; background: var(--g-brand); opacity: .7; }
.stat:hover { border-color: rgba(120,160,255,.45); }
.eng.is-in .stat { opacity: 1; transform: none; }
.eng.is-in .stat:nth-child(2) { transition-delay: .08s; } .eng.is-in .stat:nth-child(3) { transition-delay: .16s; }
.eng.is-in .stat:nth-child(4) { transition-delay: .24s; } .eng.is-in .stat:nth-child(5) { transition-delay: .32s; } .eng.is-in .stat:nth-child(6) { transition-delay: .4s; }
.stat b { display: block; font-size: clamp(40px, 4.4vw, 60px); font-weight: 200; line-height: 1; background: var(--g-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat p { margin-top: 12px; color: var(--text-2); font-size: 15px; line-height: 1.5; }
@media (max-width: 900px) { .eng__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .eng { padding-top: 100px; } .eng__grid { grid-template-columns: 1fr; gap: 12px; margin-top: 36px; } .stat { padding: 20px; } }
@media (prefers-reduced-motion: reduce) { .stat { opacity: 1; transform: none; transition: none; } }

/* ---------- end + footer ---------- */
/* price */
.price { position: relative; text-align: center; padding: 110px var(--gutter) 60px; }
.price .display { margin-top: 14px; }
.price__card { position: relative; max-width: 620px; margin: 40px auto 0; padding: 38px 34px 30px; border-radius: 28px;
  background: linear-gradient(#0c0e1a, #0a0b15) padding-box, var(--g-brand) border-box; border: 1px solid transparent;
  box-shadow: 0 0 60px rgba(79,140,255,.25), 0 30px 80px rgba(0,0,0,.5); }
.price__tag { display: flex; align-items: baseline; justify-content: center; gap: 12px; flex-wrap: wrap; }
.price__tag b { font-size: clamp(64px, 9vw, 104px); font-weight: 200; line-height: 1; background: var(--g-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price__tag span { color: var(--text-2); font-size: 17px; }
.price__trial { margin-top: 10px; color: var(--text); font-weight: 600; }
.price__list { list-style: none; text-align: left; margin: 26px auto 0; max-width: 470px; }
.price__list li { position: relative; padding: 9px 0 9px 30px; color: var(--text-2); border-top: 1px solid var(--line); }
.price__list li::before { content: '✓'; position: absolute; left: 4px; top: 9px; color: #4fc3ff; font-weight: 800; }
.price__fine { margin-top: 20px; color: var(--text-3); font-size: 13px; }

/* what's new */
.news-cl { text-align: center; padding: 110px var(--gutter) 20px; }
.news-cl .display { margin-top: 14px; } .news-cl .lead { margin: 16px auto 0; }
.cl { list-style: none; max-width: 820px; margin: 36px auto 0; text-align: left; border-left: 2px solid rgba(79,140,255,.35); }
.cl > li { position: relative; padding: 0 0 26px 26px; }
.cl > li::before { content: ''; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--g-brand); box-shadow: 0 0 10px #4fc3ff; }
.cl time { font-weight: 800; color: #fff; font-size: 15px; letter-spacing: .02em; }
.cl ul { list-style: none; margin-top: 8px; }
.cl ul li { position: relative; padding: 4px 0 4px 16px; color: var(--text-2); font-size: 15px; }
.cl ul li::before { content: '•'; position: absolute; left: 2px; color: #8fb6ff; }
.cl__more { margin-top: 6px; }

/* set-up */
.setup { text-align: center; padding: 110px var(--gutter) 20px; }
.setup .display { margin-top: 14px; }
.tabs { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 30px; padding: 5px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.tabs button { padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--text-2); }
.tabs button[aria-selected="true"] { background: var(--g-brand); color: #fff; box-shadow: 0 6px 20px rgba(47,107,255,.4); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1100px; margin: 34px auto 0; text-align: left; }
.steps li { display: flex; gap: 16px; padding: 24px; border-radius: 20px; background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015)); border: 1px solid var(--line); }
.steps li > b { flex: none; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; background: var(--g-brand); box-shadow: 0 0 18px rgba(79,140,255,.5); }
.steps h3 { font-size: 19px; color: #fff; }
.steps p { margin-top: 6px; color: var(--text-2); font-size: 15px; }
.steps code { display: inline-block; margin-top: 6px; padding: 4px 10px; border-radius: 8px; background: rgba(79,195,255,.12); border: 1px solid rgba(79,195,255,.35); color: #bfe6ff; font-size: 14px; word-break: break-all; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.buy { margin: 26px auto 0; max-width: 470px; text-align: left; }
.buy label { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 8px; }
.buy__row { display: flex; gap: 8px; flex-wrap: wrap; }
.buy input { flex: 1 1 220px; min-height: 48px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05); color: #fff; font: 600 16px Manrope, system-ui, sans-serif; letter-spacing: .06em; }
.buy input:focus { outline: 2px solid var(--blue-hi); outline-offset: 2px; }
.buy__note { margin-top: 10px; font-size: 13px; color: var(--text-3); }
.faq__more { text-align: center; margin-top: 30px; color: var(--text-2); display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.faq details p a { color: #8fb6ff; }

/* FAQ */
.faq { padding: 60px var(--gutter) 110px; }
.faq .display { text-align: center; }
.faq__list { max-width: 820px; margin: 36px auto 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 4px; font-size: 18px; font-weight: 600; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); color: #8fb6ff; font-size: 20px; font-weight: 300; transition: transform .3s var(--ease), background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: rgba(79,140,255,.15); }
.faq details p { padding: 0 4px 22px; color: var(--text-2); max-width: 46em; }
.faq summary:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 2px; border-radius: 8px; }
.foot { padding: 40px var(--gutter) calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--text-3); font-size: 13px; text-align: center; background: rgba(5,6,11,.85); }
.foot p { margin-top: 8px; }
.foot__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 10px; }
.foot__links a { color: var(--text-2); text-decoration: none; }
.foot__links a:hover { color: var(--text); }

/* ---------- phone ---------- */
@media (max-width: 700px) {
  body { font-size: 16px; }
  .top .pill--sm { display: none; }
  .brand img { height: 26px; }
  .actions .pill { flex: 1 1 auto; }
}
@media (max-width: 700px) and (max-height: 700px) {
  .hero__copy .note { display: none; }
}

/* ---------- reduced motion: no camera move; the JS places everything at its end state ---------- */
@media (prefers-reduced-motion: reduce) {
  .show { height: 760vh; }
  .mv__video, .pill { transition: none; }
  .drop__spin, .search__caret, .tv__screen::after, .zapd__bar { animation: none !important; }
  .drop__card, .search__card, .search__res li, .rate, .phone, .sync { transition: none; }
  .quake, .newsa, .flash { transition: none; animation: none !important; }
  .quake__rings, .newsa__bar, .sweep, .stage::before { display: none; }
  .seis path { stroke-dashoffset: 0; }
  .flash__body { animation: none !important; }
}
