/* STTT One Player website v5: an entertainment site you can play with. Dark, cinematic, crimson-to-gold (the Trinidad & Tobago
   colours) with stadium-light energy. Self-contained: the server's CSP allows no outside fonts, scripts or styles. */
:root { --bg: #07070d; --bg2: #0c0c16; --card: rgba(255,255,255,.045); --line: rgba(255,255,255,.09); --line2: rgba(255,255,255,.17);
  --text: #f7f7fb; --muted: #a9a9bd; --dim: #727289; --red: #ff3b5c; --red2: #c9163a; --orange: #ff7a3d; --gold: #ffc65c;
  --violet: #8b5cf6; --cyan: #22d3ee; --green: #22c55e; --grad: linear-gradient(95deg, #ff3b5c, #ff7a3d 48%, #ffc65c);
  --glow: rgba(255,59,85,.4); --r: 22px; --brand: #ff3b5c; --brand2: #ffc65c; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 system-ui, "Segoe UI Variable Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, canvas { max-width: 100%; display: block; } img { height: auto; }
a { color: inherit; } button { font: inherit; color: inherit; }
.wrap { width: min(1200px, 100% - 40px); margin: 0 auto; position: relative; } .wrap.narrow { max-width: 860px; }
.ic { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- navigation ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(7,7,13,.72); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 780; text-decoration: none; letter-spacing: -.015em; font-size: 17px; white-space: nowrap; flex: none; }
.brand img { width: 38px; height: 38px; object-fit: contain; filter: drop-shadow(0 4px 12px var(--glow)); }
.nav .links { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.nav .links a { text-decoration: none; color: var(--muted); font-size: 14.5px; padding: 8px 12px; border-radius: 10px; transition: color .15s, background .15s; white-space: nowrap; }
.nav .links a:hover, .nav .links a.on { color: var(--text); background: rgba(255,255,255,.06); }
.nav .links a.btn { color: #fff; margin-left: 10px; padding: 8px 16px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 8px 12px; font-size: 18px; cursor: pointer; }
.scrollbar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 24px; border-radius: 14px; border: 1px solid var(--line2); background: rgba(255,255,255,.05); color: var(--text); text-decoration: none; font-weight: 680; font-size: 15px; cursor: pointer; transition: transform .15s, border-color .15s, background .15s, box-shadow .2s, filter .2s; position: relative; overflow: hidden; }
.btn:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.09); }
.btn:disabled { opacity: .45; cursor: default; transform: none; }
.btn.primary { background: linear-gradient(180deg, #ff4d6b, var(--red2)); border-color: rgba(255,255,255,.2); box-shadow: 0 10px 30px -10px var(--red), inset 0 1px 0 rgba(255,255,255,.28); color: #fff; }
.btn.primary:hover { box-shadow: 0 16px 40px -10px var(--red), inset 0 1px 0 rgba(255,255,255,.3); filter: brightness(1.07); }
.btn.primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 32%, rgba(255,255,255,.35) 50%, transparent 68%); transform: translateX(-130%); animation: shine 5.5s ease-in-out infinite; pointer-events: none; }
@keyframes shine { 55%, 100% { transform: translateX(130%); } }
.btn.ghost { background: transparent; }
.btn.sm { padding: 8px 15px; font-size: 14px; border-radius: 11px; } .btn.xs { padding: 6px 12px; font-size: 13px; border-radius: 10px; } .btn.lg { padding: 16px 30px; font-size: 16px; } .btn.block { width: 100%; }
.btn small { display: block; font-weight: 450; font-size: 12px; color: rgba(255,255,255,.78); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 76px 0 70px; isolation: isolate; overflow: hidden; }
.aurora { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(100px); animation: drift 22s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 640px; height: 640px; left: -180px; top: -220px; background: #d10f34; opacity: .55; }
.aurora i:nth-child(2) { width: 560px; height: 560px; right: -180px; top: -80px; background: #5b21b6; opacity: .42; animation-delay: -7s; }
.aurora i:nth-child(3) { width: 520px; height: 520px; left: 34%; top: 320px; background: #e0902a; opacity: .22; animation-delay: -12s; }
.aurora i:nth-child(4) { width: 380px; height: 380px; right: 18%; bottom: -200px; background: #0891b2; opacity: .22; animation-delay: -4s; }
@keyframes drift { to { transform: translate(80px, 50px) scale(1.15); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 25%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 25%, #000 30%, transparent 75%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(520px circle at var(--px, 72%) var(--py, 30%), rgba(255,255,255,.07), transparent 60%); }
.beams { position: absolute; inset: -20% 0 auto; height: 120%; z-index: -2; pointer-events: none; }
.beams i { position: absolute; top: -10%; width: 34%; height: 130%; background: linear-gradient(180deg, rgba(255,230,180,.14), transparent 65%); filter: blur(18px); transform-origin: 50% 0; clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%); animation: sweep 9s ease-in-out infinite alternate; }
.beams i:nth-child(1) { left: 2%; --a: -18deg; --b: 8deg; } .beams i:nth-child(2) { right: 4%; --a: 16deg; --b: -10deg; animation-delay: -4s; }
@keyframes sweep { from { transform: rotate(var(--a)); } to { transform: rotate(var(--b)); } }
.hero-copy { text-align: center; max-width: 980px; } .hero-copy .lead { margin: 0 auto; max-width: 40em; } .hero-copy .cta { justify-content: center; }
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px 7px 11px; border-radius: 99px; background: rgba(255,255,255,.06); border: 1px solid var(--line2); font-size: 13.5px; color: #e9e9f0; }
.pill b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 780; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.18); animation: pulse 2s infinite; }
.pill .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--dim); }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(52,211,153,0); } }
h1 { font-size: clamp(40px, 6vw, 78px); line-height: .98; letter-spacing: -.048em; margin: 22px 0 22px; font-weight: 850; }
.lead { color: #c6c6d4; font-size: 19px; max-width: 31em; line-height: 1.6; margin: 0; } .lead b { color: #fff; font-weight: 650; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 22px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 14px; } .trust span { display: inline-flex; align-items: center; gap: 8px; } .trust .ic { color: var(--gold); }
.fine { color: var(--dim); font-size: 13.5px; max-width: 46em; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.ticks li { padding-left: 30px; position: relative; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 19px; height: 19px; border-radius: 50%; background: rgba(255,59,92,.17) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff5a74' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.ticks b { color: var(--text); }

/* the TV in the hero: a real-player replica (styles further down, .rp) */
.tv { position: relative; }
.tv-screen { padding: .55em; background: linear-gradient(160deg, #2a2a34, #111118); border-radius: 1.3em; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 50px 100px -30px rgba(0,0,0,.95), 0 0 90px -20px var(--glow); font-size: clamp(8px, 1.1vw, 14px); }
.tv-foot { width: 22%; height: 14px; margin: 0 auto; background: linear-gradient(#1c1c24, #0d0d12); border-radius: 0 0 10px 10px; box-shadow: 0 18px 30px -12px #000; }
.screen { position: relative; border-radius: .9em; overflow: hidden; aspect-ratio: 16/9; background: #000; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.screen canvas { width: 100%; height: 100%; }
.tag { position: absolute; left: .7em; top: .7em; background: var(--red); color: #fff; border-radius: .4em; padding: .12em .55em; font-size: .78em; font-weight: 800; letter-spacing: .06em; box-shadow: 0 4px 12px -4px var(--red); }

/* ticker */
.ticker { overflow: hidden; padding: 16px 0; border-block: 1px solid var(--line); background: linear-gradient(90deg, rgba(255,59,92,.08), rgba(255,198,92,.05)); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker .track { display: flex; gap: 46px; width: max-content; animation: scrollx 52s linear infinite; } .ticker:hover .track { animation-play-state: paused; }
@keyframes scrollx { to { transform: translateX(-50%); } }
.ticker span { display: inline-flex; align-items: center; gap: 9px; color: #b8b8c8; font-size: 15px; white-space: nowrap; } .ticker b { color: #fff; font-weight: 650; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); display: inline-block; animation: blink 1.4s infinite; flex: none; }
@keyframes blink { 50% { opacity: .35; } }

/* stats */
.stats-sec { padding: 46px 0 10px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r); background: rgba(255,255,255,.03); overflow: hidden; }
.stats div { padding: 26px 28px; border-right: 1px solid var(--line); } .stats div:last-child { border: 0; }
.stats b { display: block; font-size: 34px; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; background: linear-gradient(95deg, #fff, #cfcfdc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats div:last-child b { background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.stats span { color: var(--muted); font-size: 14.5px; }

/* ---------- sections ---------- */
.sec { padding: 100px 0; position: relative; }
.sec.alt { background: linear-gradient(180deg, var(--bg2), var(--bg)); border-block: 1px solid var(--line); }
.eyebrow { color: var(--gold); font-weight: 750; letter-spacing: .14em; text-transform: uppercase; font-size: 12.5px; }
h2 { font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -.04em; line-height: 1.02; margin: 14px 0 16px; font-weight: 840; }
h3 { letter-spacing: -.015em; }
.sub { color: var(--muted); max-width: 40em; margin: 0 0 46px; font-size: 18.5px; }
.center { text-align: center; } .center .sub { margin-inline: auto; } .center-cta { justify-content: center; margin-top: 34px; }
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; } .split .sub { margin-bottom: 28px; }
.card { position: relative; overflow: hidden; background: linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.02)); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; transition: border-color .25s, transform .25s, box-shadow .25s; }
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, -30%), rgba(255,59,92,.16), transparent 62%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover { border-color: rgba(255,59,92,.42); box-shadow: 0 26px 60px -28px var(--glow); } .card:hover::before { opacity: 1; }
.card h3 { margin: 0; font-size: 19px; } .card p { margin: 10px 0 0; color: var(--muted); font-size: 15.5px; }
.card-top { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, rgba(255,59,92,.45), rgba(255,198,92,.2)); border: 1px solid rgba(255,59,92,.45); box-shadow: 0 10px 24px -10px var(--glow); flex: none; }
.ico .ic { width: 22px; height: 22px; } .ico.rec .ic circle:last-child { transform-origin: center; animation: recpulse 1.6s ease-in-out infinite; } @keyframes recpulse { 50% { opacity: .35; transform: scale(.8); } }
.cap { color: var(--dim); font-size: 13px; text-align: center; margin: 12px 0 0; }

/* match day: Multi-View + the three small demos */
.mv { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; padding: 10px; border-radius: 20px; background: linear-gradient(160deg, #26262f, #111117); border: 1px solid var(--line2); box-shadow: 0 40px 80px -30px #000, 0 0 70px -24px rgba(34,197,94,.35); aspect-ratio: 16/9.4; }
.mv .tile { position: relative; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: #000; cursor: pointer; transition: box-shadow .25s, filter .2s; }
.mv .tile:hover { filter: brightness(1.12); } .mv .tile canvas { width: 100%; height: 100%; }
.mv .lbl { position: absolute; left: 8px; bottom: 7px; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; text-shadow: 0 2px 8px #000; }
.mv .sc { position: absolute; right: 7px; top: 7px; font-size: 11.5px; font-weight: 750; padding: 2px 8px; border-radius: 6px; background: rgba(8,8,14,.8); border: 1px solid rgba(255,255,255,.15); font-variant-numeric: tabular-nums; }
.mv .tile.main { box-shadow: inset 0 0 0 2px rgba(255,255,255,.85); }
.mv .tile .spk { position: absolute; right: 8px; bottom: 7px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #1a1205; }
.mv .tile .spk svg { width: 13px; height: 13px; }
.mv.focus { grid-template-columns: 2.4fr 1fr; grid-template-rows: repeat(3, 1fr); } .mv.focus .tile.main { grid-column: 1; grid-row: 1 / span 3; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 60px; }
.screen.sm { border-radius: 12px; }
.rewind input[type=range] { width: 100%; margin: 14px 0 6px; accent-color: var(--red); }
.rw-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--muted); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.rw-label { position: absolute; right: .7em; bottom: .7em; background: rgba(8,8,14,.85); border: 1px solid var(--gold); color: var(--gold); border-radius: .4em; padding: .1em .55em; font-size: 12px; font-weight: 750; }
.screen.sm .tag { font-size: 11px; }
.guide { display: grid; gap: 6px; font-size: 13px; }
.g-time, .g-row { display: grid; grid-template-columns: 6.6em repeat(6, 1fr); gap: 5px; align-items: stretch; }
.g-time { color: var(--dim); font-size: 11.5px; } .g-time span:not(:first-child) { grid-column: span 2; }
.g-row > b { font-weight: 650; font-size: 12px; padding: 7px 8px; border-radius: 8px; background: rgba(255,255,255,.05); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.blk { grid-column: calc(var(--s) + 1) / calc(var(--e) + 1); padding: 7px 8px; border-radius: 8px; background: rgba(255,255,255,.07); color: #d2d2de; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; transition: background .15s, transform .15s; font-size: 12px; }
.blk:hover { background: rgba(255,255,255,.15); transform: translateY(-1px); } .blk.now { background: linear-gradient(90deg, rgba(255,59,92,.36), rgba(255,59,92,.12)); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,59,92,.5); }
.blk.rem { box-shadow: inset 0 0 0 1.5px var(--gold); } .blk.rem::before { content: "🔔 "; }
.toast { margin-top: 12px; min-height: 22px; font-size: 13.5px; color: var(--gold); transition: opacity .3s; }
.recbox .screen { margin-bottom: 14px; }
.recdot { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; background: rgba(8,8,14,.85); padding: 3px 9px; border-radius: 7px; border: 1px solid rgba(255,59,92,.6); font-variant-numeric: tabular-nums; }
.recdot i { width: 9px; height: 9px; border-radius: 50%; background: var(--red); animation: blink 1s infinite; }
.recbox .fine { display: block; margin-top: 10px; font-size: 13px; }
.rec-btn[aria-pressed=true] { background: rgba(255,59,92,.22); border-color: var(--red); }

/* family */
.fam { display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 20px; align-items: stretch; }
.avatars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
.av { display: grid; gap: 7px; justify-items: center; color: #b9b9c8; background: none; border: 0; cursor: pointer; padding: 4px 0; font-size: 13px; transition: transform .2s; }
.av:hover { transform: translateY(-4px); } .av.on { color: #fff; }
.av i { width: 100%; max-width: 64px; aspect-ratio: 1; border-radius: 16px; display: grid; place-items: center; font-style: normal; font-size: 24px; font-weight: 800; color: #fff; position: relative; background: var(--c); transition: box-shadow .2s; }
.av.on i { box-shadow: 0 0 0 3px #fff, 0 14px 30px -10px #000; }
.av em { position: absolute; bottom: -7px; background: #34d399; color: #04261b; font-size: 9px; font-weight: 850; padding: 2px 7px; border-radius: 9em; letter-spacing: .06em; -webkit-text-fill-color: #04261b; }
.pinfo { min-height: 128px; display: grid; gap: 8px; align-content: start; } .pinfo.swap { animation: fadeUp .4s both; }
.pinfo b { font-size: 14px; } .pinfo .row { display: flex; gap: 7px; }
.mini { flex: 1; aspect-ratio: 2/3; border-radius: 9px; background: var(--g); display: flex; align-items: flex-end; padding: 6px; font-size: 10.5px; font-weight: 700; line-height: 1.15; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); position: relative; overflow: hidden; }
.mini.wide { aspect-ratio: 16/10; } .mini .pg { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--red); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }
.limit { display: grid; gap: 6px; color: var(--muted); font-size: 13px; margin-top: 16px; transition: opacity .3s; }
.limit .bar { height: 8px; border-radius: 9em; background: rgba(255,255,255,.1); overflow: hidden; } .limit .bar i { display: block; width: 62%; height: 100%; background: linear-gradient(90deg, #34d399, #fbbf24); border-radius: inherit; }
.night .fine { margin: -4px 0 14px; }
.posters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.poster { position: relative; aspect-ratio: 2/3; border-radius: 12px; border: 0; padding: 9px; background: var(--g); cursor: pointer; text-align: left; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 14px 26px -16px #000; transition: transform .2s, box-shadow .2s; }
.poster::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.75)); }
.poster > * { position: relative; } .poster b { font-size: 12.5px; line-height: 1.15; } .poster small { font-size: 10.5px; color: rgba(255,255,255,.75); }
.poster:hover { transform: translateY(-4px) rotate(-1deg); }
.poster.in { box-shadow: inset 0 0 0 2.5px var(--gold), 0 14px 26px -16px #000; } .poster.in::after { content: "✓"; position: absolute; top: 7px; right: 7px; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: #1a1205; display: grid; place-items: center; font-weight: 900; font-size: 13px; }
.queue { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; }
.q-head { display: flex; align-items: center; gap: 10px; } .q-head b { font-size: 15px; } .q-sum { color: var(--gold); font-size: 13.5px; flex: 1; font-variant-numeric: tabular-nums; }
.q-list { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 4px; color: #d2d2de; font-size: 13.5px; min-height: 22px; }
.q-list li { animation: fadeUp .3s both; } .q-list li span { color: var(--dim); font-variant-numeric: tabular-nums; }
.pin { display: grid; justify-items: center; align-content: start; gap: 14px; text-align: center; } .pin .card-top { justify-self: stretch; text-align: left; }
.locked { display: inline-flex; gap: 9px; align-items: center; padding: 8px 14px; border-radius: 12px; background: rgba(255,255,255,.05); color: #b9b9c8; font-size: 14px; transition: all .3s; } .locked .ic { color: var(--gold); }
.locked.open { color: #34d399; background: rgba(52,211,153,.12); } .locked.open .ic { color: #34d399; }
.dots { display: flex; gap: 12px; } .dots i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); transition: background .15s; } .dots i.f { background: #fff; border-color: #fff; }
.pin.shake .dots { animation: shake .42s; } @keyframes shake { 20%, 60% { translate: -9px 0; } 40%, 80% { translate: 9px 0; } }
.pmsg { color: var(--muted); font-size: 13.5px; min-height: 20px; }
.keys { display: grid; grid-template-columns: repeat(3, 56px); gap: 8px; } .keys button { height: 46px; border-radius: 13px; background: rgba(255,255,255,.07); border: 0; font-weight: 700; font-size: 17px; cursor: pointer; transition: background .15s, transform .1s; } .keys button:hover { background: rgba(255,255,255,.15); } .keys button:active { transform: scale(.93); }

/* platforms */
.devices { display: grid; grid-template-columns: 1fr 1.08fr; gap: 26px; align-items: end; } .devices figure { margin: 0; }
.devices.phones { grid-template-columns: repeat(2, minmax(0, 260px)); justify-content: center; align-items: start; gap: 26px; margin-top: 46px; } .phones .shotframe { border-radius: 22px; } .phones figcaption { font-size: 14px; }
.shotframe { border-radius: 16px; overflow: hidden; border: 1px solid var(--line2); background: #000; box-shadow: 0 40px 80px -30px rgba(0,0,0,.9); transition: transform .4s; } .shotframe:hover { transform: translateY(-4px) scale(1.01); } .shotframe img { width: 100%; }
figcaption { margin-top: 14px; color: var(--muted); font-size: 15px; } figcaption b { color: var(--text); margin-right: 6px; }

/* pricing */
.pricing { overflow: hidden; } .pricing::before { content: ""; position: absolute; left: 50%; top: 40%; width: 900px; height: 600px; translate: -50% -50%; background: radial-gradient(closest-side, rgba(255,59,92,.18), transparent); pointer-events: none; }
.price-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 26px; align-items: stretch; margin-bottom: 26px; }
.price-card { position: relative; padding: 34px; border-radius: 28px; border: 1px solid rgba(255,198,92,.45); background: radial-gradient(500px 260px at 100% 0%, rgba(255,198,92,.16), transparent 70%), radial-gradient(500px 300px at 0% 100%, rgba(255,59,92,.18), transparent 70%), rgba(255,255,255,.04); box-shadow: 0 40px 90px -40px rgba(255,90,80,.55); }
.ribbon { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #1a1205; background: var(--grad); padding: 5px 12px; border-radius: 99px; }
.price-card h3 { font-size: 21px; margin: 16px 0 4px; }
.amount { display: flex; align-items: flex-start; gap: 6px; margin: 6px 0 4px; } .amount .cur { font-size: 34px; font-weight: 800; margin-top: 14px; color: var(--gold); }
.amount b { font-size: 108px; line-height: 1; font-weight: 900; letter-spacing: -.06em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.amount .per { color: var(--muted); font-size: 15px; line-height: 1.25; margin-top: 30px; font-weight: 600; }
.per-month { color: var(--muted); margin: 0 0 22px; } .per-month b { color: #fff; }
.price-card .ticks { margin-bottom: 26px; }
.buy-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; } .buy-row .btn { flex: 1; }
.how { padding: 34px; border-radius: 28px; border: 1px solid var(--line); background: rgba(255,255,255,.03); display: flex; flex-direction: column; }
.how h3 { font-size: 21px; margin: 0 0 20px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 26px; display: grid; gap: 18px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 42px 1fr; column-gap: 14px; } .steps li::before { content: counter(s); grid-row: span 2; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(145deg, var(--red), var(--red2)); display: grid; place-items: center; font-weight: 800; box-shadow: 0 8px 20px -8px var(--red); }
.steps b { font-size: 16.5px; } .steps span { color: var(--muted); font-size: 15px; }
.code-inline { font: 700 14px ui-monospace, Consolas, monospace; letter-spacing: .08em; padding: 1px 8px; border-radius: 7px; border: 1px dashed rgba(255,198,92,.7); background: rgba(255,198,92,.1); color: #fff; cursor: pointer; }
.code-inline.copied { background: #34d399; color: #04261b; border-color: #34d399; }
.resell { margin-top: auto; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 18px 20px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.resell div { display: grid; gap: 2px; flex: 1 1 240px; } .resell span { color: var(--muted); font-size: 14px; }

/* ---------- white-label studio ---------- */
.studio { display: grid; grid-template-columns: 360px 1fr; gap: 26px; align-items: start; }
.st-panel { display: grid; gap: 18px; padding: 24px; border-radius: 24px; border: 1px solid var(--line); background: rgba(255,255,255,.035); }
.st-panel h4 { margin: 0 0 10px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 750; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.gl { display: grid; justify-items: center; gap: 6px; padding: 11px 6px 9px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.03); cursor: pointer; font-size: 11.5px; font-weight: 650; color: #cfcfdc; line-height: 1.2; text-align: center; transition: transform .15s, border-color .15s, background .15s; }
.gl:hover { transform: translateY(-3px); border-color: var(--line2); } .gl[aria-pressed=true] { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 14%, transparent); color: #fff; }
.gl svg { width: 46px; height: 46px; filter: drop-shadow(0 6px 12px rgba(0,0,0,.5)); }
.st-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.st-input { width: 100%; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line2); background: rgba(255,255,255,.05); color: #fff; font: inherit; font-size: 15px; } .st-input::placeholder { color: #7d7d90; } .st-input:focus { outline: 2px solid var(--brand); outline-offset: 2px; border-color: transparent; }
.sw { width: 30px; height: 30px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; padding: 0; background: linear-gradient(135deg, var(--c), var(--c2, var(--c))); transition: transform .15s; } .sw:hover { transform: scale(1.15); } .sw[aria-pressed=true] { border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.22); }
.colorpick { position: relative; width: 30px; height: 30px; border-radius: 50%; overflow: hidden; background: conic-gradient(red, yellow, lime, cyan, blue, magenta, red); border: 2px solid rgba(255,255,255,.3); cursor: pointer; } .colorpick input { position: absolute; inset: -8px; opacity: 0; cursor: pointer; }
.shapes { display: flex; gap: 8px; } .shape { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.04); cursor: pointer; display: grid; place-items: center; } .shape[aria-pressed=true] { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 16%, transparent); } .shape svg { width: 22px; height: 22px; }
.toggle { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; color: #d2d2de; } .toggle input { width: 18px; height: 18px; accent-color: var(--brand); }
.st-actions { display: flex; gap: 8px; flex-wrap: wrap; } .st-actions .btn { flex: 1 1 auto; white-space: nowrap; }
.st-stage { position: relative; display: grid; gap: 18px; }
.st-tv { padding: 10px; border-radius: 22px; background: linear-gradient(160deg, #2a2a34, #111118); border: 1px solid var(--line2); box-shadow: 0 40px 80px -30px #000, 0 0 80px -26px var(--brand); transition: box-shadow .6s; font-size: clamp(7px, 1.02vw, 12.5px); }
.st-screen { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 16/9; background: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--brand) 30%, #0b0b12), #08080d 60%); padding: 1.6em 2em; display: grid; grid-template-rows: auto 1fr; gap: 1.2em; transition: background .6s; }
.st-top { display: flex; align-items: center; gap: 1em; } .st-top .lg svg { width: 3.6em; height: 3.6em; } .st-top .nm { font-size: 1.6em; font-weight: 820; letter-spacing: -.02em; transition: opacity .25s; }
.st-top .clock { margin-left: auto; color: #c9c9d6; font-weight: 700; font-size: 1.15em; font-variant-numeric: tabular-nums; }
.st-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr 12em; grid-template-rows: 1fr 1fr; gap: .9em; min-height: 0; }
.st-tile { border-radius: 1em; padding: 1em; display: flex; flex-direction: column; justify-content: flex-end; font-weight: 750; font-size: 1.15em; background: linear-gradient(150deg, var(--brand), color-mix(in srgb, var(--brand2) 55%, #000)); box-shadow: inset 0 1px 0 rgba(255,255,255,.25); transition: background .6s; position: relative; overflow: hidden; }
.st-tile .e { font-size: 1.5em; margin-bottom: auto; }
.st-tile.big { grid-row: span 2; font-size: 1.5em; } .st-tile.alt { background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.st-side { grid-row: span 2; display: grid; gap: .45em; align-content: start; } .st-side span { padding: .55em .8em; border-radius: .6em; background: rgba(255,255,255,.06); font-size: .92em; color: #d0d0dc; }
.st-side span:first-child { background: color-mix(in srgb, var(--brand) 28%, transparent); color: #fff; }
.splash { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 1em; background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--brand) 40%, #000), #000 70%); opacity: 0; pointer-events: none; }
.splash svg { width: 9em; height: 9em; } .splash b { font-size: 2.2em; letter-spacing: -.02em; } .splash small { color: rgba(255,255,255,.7); font-size: 1.1em; }
.splash.play { animation: splash 3.2s ease both; } .splash.play svg { animation: logoIn 3.2s cubic-bezier(.2,.8,.2,1) both; }
@keyframes splash { 0%, 78% { opacity: 1; } 100% { opacity: 0; } } @keyframes logoIn { 0% { transform: scale(.3) rotate(-25deg); opacity: 0; } 25% { transform: scale(1.08); opacity: 1; } 35%, 100% { transform: none; } }
.st-below { display: grid; grid-template-columns: 210px 1fr; gap: 18px; align-items: stretch; }
.st-phone { padding: 7px; border-radius: 30px; background: linear-gradient(160deg, #2a2a34, #111118); border: 1px solid var(--line2); box-shadow: 0 30px 60px -24px #000; font-size: 10px; }
.st-phone .ph { border-radius: 24px; overflow: hidden; aspect-ratio: 9/17; background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 34%, #0b0b12), #08080d 55%); padding: 1.6em 1.1em; display: grid; align-content: start; gap: 1em; transition: background .6s; }
.st-phone .ph-top { display: flex; align-items: center; gap: .7em; font-weight: 800; font-size: 1.2em; } .st-phone .ph-top svg { width: 2.6em; height: 2.6em; }
.st-phone .ph-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: .6em; } .st-phone .ph-tiles span { border-radius: .9em; padding: 1.4em .5em; text-align: center; font-weight: 700; background: linear-gradient(150deg, var(--brand), color-mix(in srgb, var(--brand2) 55%, #000)); transition: background .6s; } .st-phone .ph-tiles span:first-child { grid-column: span 2; padding: 2.2em .5em; }
.st-phone .ph-row { display: flex; gap: .5em; } .st-phone .ph-row i { flex: 1; aspect-ratio: 2/3; border-radius: .6em; background: rgba(255,255,255,.08); }
.st-about { padding: 22px; border-radius: 22px; border: 1px solid var(--line); background: rgba(255,255,255,.035); display: grid; align-content: start; gap: 10px; }
.st-about .ab-head { display: flex; align-items: center; gap: 12px; } .st-about .ab-head svg { width: 52px; height: 52px; } .st-about h4 { margin: 0; font-size: 18px; } .st-about .ab-sub { color: var(--muted); font-size: 13px; }
.st-about p { margin: 0; color: #cfcfdc; font-size: 14.5px; } .st-about .ab-links { display: flex; flex-wrap: wrap; gap: 8px; } .st-about .ab-links span { font-size: 12.5px; padding: 5px 11px; border-radius: 99px; background: color-mix(in srgb, var(--brand) 18%, transparent); border: 1px solid color-mix(in srgb, var(--brand) 45%, transparent); }
.st-about .pw { color: var(--dim); font-size: 12px; margin-top: 4px; }

/* download, band, faq */
.dl { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; justify-content: center; }
.dcode { margin: 38px auto 0; max-width: 780px; display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; text-align: left; padding: 26px 30px; border-radius: 24px; border: 1px solid var(--line2); background: radial-gradient(420px 170px at 100% 0%, rgba(255,59,92,.22), transparent 70%), rgba(255,255,255,.04); }
.dcode > div { flex: 1 1 300px; min-width: 0; } .dcode > div > b { font-size: 20px; display: block; margin: 6px 0 8px; } .dcode p { margin: 0; color: var(--muted); font-size: 15.5px; } .dcode a { color: var(--gold); text-underline-offset: 3px; } .inl { color: #fff; }
.code { display: inline-flex; align-items: center; gap: 18px; cursor: pointer; padding: 14px 16px 14px 26px; border-radius: 18px; border: 1.5px dashed rgba(255,198,92,.65); background: rgba(255,198,92,.08); transition: transform .15s, background .2s, border-color .2s; }
.code:hover { transform: translateY(-2px); background: rgba(255,198,92,.14); border-color: var(--gold); }
.code span { font-size: 36px; font-weight: 800; letter-spacing: .12em; font-variant-numeric: tabular-nums; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; }
.code i { font-style: normal; font-size: 13px; font-weight: 650; background: rgba(255,255,255,.13); padding: 7px 14px; border-radius: 99px; transition: all .2s; } .code.copied i { background: #34d399; color: #04261b; }
.band { border: 1px solid rgba(255,59,92,.4); border-radius: 30px; padding: 56px; background: radial-gradient(700px 300px at 100% 0%, rgba(255,59,92,.3), transparent 70%), radial-gradient(500px 260px at 0% 100%, rgba(255,198,92,.15), transparent 70%), rgba(255,255,255,.03); display: flex; gap: 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.band h2 { margin: 0 0 10px; } .band p { margin: 0; color: var(--muted); max-width: 36em; font-size: 17.5px; } .band .cta { margin: 0; }
details { background: rgba(255,255,255,.035); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; margin-bottom: 12px; transition: border-color .2s; } details[open] { border-color: var(--line2); }
summary { cursor: pointer; font-weight: 650; font-size: 17px; } details p { color: var(--muted); margin: 12px 0 0; }
.faq h2 { margin-bottom: 34px; }

/* resellers page bits */
.grid { display: grid; gap: 20px; } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
.numbered { counter-reset: n; } .numbered .card { padding-top: 70px; } .numbered .card::after { counter-increment: n; content: counter(n); position: absolute; top: 22px; left: 26px; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(145deg, var(--red), var(--red2)); display: grid; place-items: center; font-weight: 800; font-size: 15px; box-shadow: 0 8px 20px -8px var(--red); }
table.cmp { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: rgba(255,255,255,.03); }
.cmp th, .cmp td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15.5px; } .cmp thead th { background: rgba(255,255,255,.04); color: var(--muted); font-size: 14px; } .cmp th.wl { color: var(--gold); }
.cmp td.y { color: var(--red); font-weight: 800; } .cmp td.n { color: #4c4c5a; } .cmp tr:last-child td { border-bottom: 0; }

/* legal pages */
.doc { max-width: 780px; padding: 64px 0 100px; } .doc h1 { font-size: 46px; margin-top: 0; } .doc h2 { font-size: 23px; margin: 36px 0 10px; letter-spacing: -.02em; } .doc p, .doc li { color: #cfcfdb; }

footer { border-top: 1px solid var(--line); padding: 52px 0 56px; color: var(--muted); font-size: 14.5px; position: relative; overflow: hidden; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 28px 60px; justify-content: space-between; } footer p { margin: 10px 0 0; }
footer a { color: var(--muted); text-decoration: none; display: block; padding: 3px 0; } footer a:hover { color: var(--text); } footer .brand { display: flex; color: var(--text); }
footer .cols { display: flex; gap: 56px; flex-wrap: wrap; } footer .t { color: var(--text); font-weight: 680; display: block; margin-bottom: 8px; }
.flag { position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, #000 0 33%, #fff 33% 36%, var(--red) 36% 64%, #fff 64% 67%, #000 67%); opacity: .85; }

/* scroll reveal (only when JS is on) */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); } .js .rv.in { opacity: 1; transform: none; }
.js .rv.d1 { transition-delay: .08s; } .js .rv.d2 { transition-delay: .16s; } .js .rv.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .js .rv { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

@media (max-width: 1180px) { .nav .wrap { gap: 12px; } .nav .links a { padding: 8px 6px; font-size: 13.5px; } .nav .links a.btn { margin-left: 6px; padding: 8px 12px; } }
@media (max-width: 1040px) { .menu-btn { display: block; } .nav .links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: rgba(7,7,13,.97); border-bottom: 1px solid var(--line); padding: 8px 20px 18px; margin: 0; } .nav .links.open { display: flex; } .nav .links a { padding: 13px 4px; } .nav .links a.btn { margin: 10px 0 0; } }
@media (max-width: 1080px) { .studio { grid-template-columns: 1fr; } .st-stage { order: -1; } .fam { grid-template-columns: 1fr 1fr; } .fam .night { grid-column: span 2; grid-row: 1; } }
@media (max-width: 960px) {
  .hero { padding-top: 52px; } .split, .price-grid, .devices { grid-template-columns: 1fr; gap: 40px; }
  .menu-btn { display: block; } .nav .links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: rgba(7,7,13,.97); border-bottom: 1px solid var(--line); padding: 8px 20px 18px; margin: 0; } .nav .links.open { display: flex; } .nav .links a { padding: 13px 4px; } .nav .links a.btn { margin: 10px 0 0; }
  .stats { grid-template-columns: repeat(2, 1fr); } .stats div:nth-child(2) { border-right: 0; } .stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .trio, .g3, .g4 { grid-template-columns: 1fr 1fr; }
  .sec { padding: 72px 0; } .band { padding: 34px; } .st-below { grid-template-columns: 170px 1fr; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); } h1 { font-size: 44px; } .lead { font-size: 17px; } .cta .btn.lg { width: 100%; }
  .stats b { font-size: 24px; } .stats div { padding: 18px 16px; } .stats span { font-size: 13px; }
  .trio, .g3, .g4, .fam { grid-template-columns: 1fr; } .fam .night { grid-column: auto; }
  .posters { grid-template-columns: repeat(4, 1fr); gap: 7px; } .poster { padding: 6px; } .poster b { font-size: 10.5px; } .poster small { display: none; }
  .price-card, .how { padding: 24px; } .amount b { font-size: 88px; }
  .st-grid { grid-template-columns: 1.2fr 1fr 1fr; } .st-side { display: none; } .st-screen { padding: 1.2em; } .st-tv { font-size: 8px; }
  .st-below { grid-template-columns: 1fr; } .st-phone { display: none; } .gallery { grid-template-columns: repeat(3, 1fr); }
  .band { padding: 26px; } .cmp th, .cmp td { padding: 12px 10px; font-size: 14px; } .code span { font-size: 30px; } .dcode { padding: 22px; }
  .g-time, .g-row { grid-template-columns: 5.4em repeat(6, 1fr); }
}

/* ================= v6: the real player, replicated, with a tour ================= */
.tour { margin-top: 46px; max-width: 1160px; }
.rp-box { position: relative; aspect-ratio: 16/9; border-radius: .8em; overflow: hidden; background: #0A0A0C; }
.rp { position: absolute; left: 0; top: 0; width: 1280px; height: 720px; transform-origin: 0 0; transform: scale(var(--k, .5)); background: #0A0A0C; color: #F2F2F4;
  font: 16px/1.3 "Segoe UI Variable Text", "Segoe UI", system-ui, Roboto, sans-serif; overflow: hidden; user-select: none; outline: none; -webkit-font-smoothing: antialiased; }
.rp * { box-sizing: border-box; } .rp [hidden] { display: none !important; }
:where(.rp) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.rp svg.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.rp-scr { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s .35s; }
.rp-scr.on { opacity: 1; visibility: visible; transition: opacity .35s ease; }
.rp-ring { position: absolute; z-index: 30; border: 3px solid #fff; border-radius: 14px; pointer-events: none; box-shadow: 0 0 0 2px rgba(0,0,0,.35), 0 0 26px rgba(255,255,255,.28); transition: left .26s cubic-bezier(.3,.8,.3,1), top .26s cubic-bezier(.3,.8,.3,1), width .26s, height .26s, opacity .2s; opacity: 0; }
.rp-ring.press { animation: rpPress .22s ease; } @keyframes rpPress { 50% { transform: scale(.97); box-shadow: 0 0 0 2px rgba(0,0,0,.35), 0 0 40px rgba(255,255,255,.6); } }
.rp-toast { position: absolute; left: 50%; bottom: 34px; z-index: 40; translate: -50% 16px; opacity: 0; transition: all .3s; background: rgba(30,30,35,.96); border: 1px solid #2E2E36; padding: 12px 22px; border-radius: 99px; font-size: 17px; font-weight: 600; white-space: nowrap; box-shadow: 0 16px 40px -10px #000; }
.rp-toast.show { opacity: 1; translate: -50% 0; }
/* home */
.rp-home .logo { position: absolute; left: 48px; top: 30px; width: 320px; height: 340px; display: grid; place-items: center; }
.rp-home .logo img { max-width: 100%; max-height: 100%; }
.rp-tile { position: absolute; border-radius: 14px; background: #8E1220; display: grid; place-content: center; justify-items: center; gap: 14px; font-weight: 600; font-size: 25px; color: #fff; }
.rp-tile svg.i { width: 54px; height: 54px; stroke-width: 1.6; } .rp-tile.big { font-size: 34px; } .rp-tile.big svg.i { width: 76px; height: 76px; }
.rp-rail { position: absolute; left: 952px; top: 32px; width: 300px; display: grid; gap: 9px; }
.rp-side { height: 42px; border: 2px solid #6d1420; border-radius: 12px; display: flex; align-items: center; gap: 14px; padding: 0 18px; font-size: 17.5px; background: #0d0d10; }
.rp-info { position: absolute; left: 952px; top: 452px; width: 300px; height: 226px; border-radius: 14px; background: #3a1219; padding: 18px 22px; display: grid; align-content: start; gap: 2px; }
.rp-info .clk { font-size: 34px; font-weight: 600; letter-spacing: -.01em; } .rp-info .dt { color: #c9b5b9; font-size: 14px; margin-bottom: 10px; }
.rp-info small { color: #b49ea2; font-size: 12.5px; } .rp-info b { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
/* live */
.rp-col { position: absolute; top: 20px; bottom: 20px; }
.rp-cats { left: 32px; width: 280px; background: #141417; border-radius: 4px; padding: 14px 12px; }
.rp-btn { display: flex; align-items: center; justify-content: center; gap: 10px; height: 52px; border-radius: 12px; background: #1E1E23; border: 2px solid #3a3a44; font-size: 18px; font-weight: 500; }
.rp-btn { text-align: center; } .rp-btn.sm { height: 42px; padding: 0 16px; font-size: 15px; border-width: 1.5px; }
.rp-cat { display: flex; justify-content: space-between; align-items: center; height: 50px; margin-top: 5px; padding: 0 16px; border-radius: 10px; font-size: 17px; color: #e8e8ec; width: 100%; }
.rp-cat small { color: #9B9BA6; font-size: 13px; } .rp-cat.on { background: #3b1219; }
.rp-chs { left: 324px; width: 404px; }
.rp-chs .hd { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 6px 0 10px; } .rp-chs .hd h4 { flex: 1; margin: 0; font-size: 24px; font-weight: 600; }
.rp-search { height: 50px; margin: 4px 0 8px; border-radius: 12px; background: #1E1E23; display: flex; align-items: center; gap: 12px; padding: 0 16px; color: #9B9BA6; font-size: 16px; }
.rp-list { position: absolute; top: 122px; left: 0; right: 0; bottom: 0; overflow: hidden; }
.rp-list .track { transition: transform .3s cubic-bezier(.3,.8,.3,1); }
.rp-ch { height: 70px; margin-bottom: 4px; display: grid; grid-template-columns: 44px 52px 1fr 30px; gap: 10px; align-items: center; padding: 0 10px; border-radius: 10px; width: 100%; }
.rp-ch.on { background: #1E1E23; } .rp-ch .no { color: #9B9BA6; font-size: 13px; }
.rp-lg { width: 52px; height: 38px; border-radius: 8px; display: grid; place-items: center; font: 800 13px/1 "Segoe UI", system-ui, sans-serif; letter-spacing: -.02em; color: #fff; background: var(--c); box-shadow: inset 0 -3px 0 rgba(0,0,0,.25); position: relative; overflow: hidden; }
.rp-lg::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 45%; background: rgba(255,255,255,.12); }
.rp-ch b { display: block; font-size: 16px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rp-ch > div > span { display: block; color: #9B9BA6; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 2px 0 5px; }
.rp-bar { height: 3px; background: #2a2a31; border-radius: 3px; overflow: hidden; } .rp-bar i { display: block; height: 100%; background: #c8102e; }
.rp-star { font-size: 22px; color: #55555f; text-align: center; } .rp-star.on { color: #f5b301; }
.rp-right { left: 740px; width: 508px; }
.rp-video { position: relative; height: 286px; background: #000; overflow: hidden; } .rp-video canvas { width: 100%; height: 100%; display: block; }
.rp-video .idle { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; color: #9B9BA6; font-size: 15px; background: #000; }
.rp-bug { position: absolute; left: 14px; top: 12px; background: rgba(6,6,10,.85); border-radius: 6px; padding: 4px 10px; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; border-left: 3px solid #c8102e; }
.rp-zap { animation: rpZap .45s ease-out; } @keyframes rpZap { 0% { filter: brightness(2.6) blur(3px) saturate(.2); } 100% { filter: none; } }
.rp-meta { position: absolute; top: 286px; left: 0; right: 0; bottom: 0; background: #141417; padding: 14px 18px; display: grid; align-content: start; gap: 4px; }
.rp-meta > b { font-size: 21px; font-weight: 600; } .rp-meta .now { color: #b8b8c2; font-size: 15px; } .rp-meta p { margin: 2px 0 6px; color: #9B9BA6; font-size: 13.5px; line-height: 1.35; }
.rp-ctl { display: flex; gap: 6px; margin: 4px 0 8px; } .rp-ctl button { height: 40px; min-width: 46px; padding: 0 12px; border-radius: 10px; background: #1E1E23; border: 1.5px solid #34343c; display: grid; place-items: center; font-size: 15px; }
.rp-ctl button svg.i { width: 19px; height: 19px; } .rp-ctl .acc { background: #8E1220; border-color: #8E1220; } .rp-ctl .on { color: #f5b301; }
.rp-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rp-prog { border-radius: 10px; background: #1E1E23; padding: 9px 12px; font-size: 13px; color: #b8b8c2; } .rp-prog b { display: block; font-size: 14.5px; color: #F2F2F4; margin-bottom: 2px; }
.rp-hint { color: #6f6f7a; font-size: 12px; margin-top: 8px; }
/* guide */
.rp-ghead { position: absolute; left: 0; right: 0; top: 0; height: 84px; background: #141417; display: flex; align-items: center; gap: 10px; padding: 0 28px; }
.rp-ghead h4 { margin: 0; font-size: 26px; font-weight: 600; } .rp-ghead small { display: block; color: #9B9BA6; font-size: 14px; font-weight: 400; margin-top: 2px; }
.rp-ghead .sp { flex: 1; }
.rp-gtime { position: absolute; top: 96px; left: 0; right: 0; height: 26px; color: #9B9BA6; font-size: 13px; }
.rp-gtime span { position: absolute; top: 0; } .rp-now { position: absolute; top: 96px; bottom: 16px; width: 2px; background: #e11d48; z-index: 3; box-shadow: 0 0 10px #e11d48; }
.rp-now::before { content: "NOW"; position: absolute; top: -2px; left: 6px; font-size: 11px; font-weight: 800; color: #fb7185; letter-spacing: .06em; }
.rp-grow { position: absolute; left: 20px; right: 20px; height: 66px; }
.rp-gch { position: absolute; left: 0; top: 0; width: 218px; height: 62px; border-radius: 10px; background: #141417; display: flex; align-items: center; gap: 12px; padding: 0 12px; font-size: 15px; font-weight: 500; }
.rp-blk { position: absolute; top: 0; height: 62px; border-radius: 10px; background: #1E1E23; padding: 9px 12px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 15px; border: 1.5px solid transparent; }
.rp-blk small { display: block; color: #9B9BA6; font-size: 12px; margin-top: 3px; } .rp-blk.now { background: #3b1219; border-color: #6d1420; } .rp-blk.past { opacity: .55; }
.rp-blk.rem::after { content: ""; position: absolute; right: 10px; top: 10px; width: 10px; height: 10px; border-radius: 50%; background: #f5b301; box-shadow: 0 0 8px #f5b301; }
/* movies & series */
.rp-vodr { left: 336px; right: 32px; }
.rp-vodr .top { display: flex; gap: 12px; height: 52px; margin-bottom: 16px; } .rp-vodr .rp-search { flex: 1; margin: 0; height: 52px; }
.rp-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.rp-pst { display: grid; gap: 7px; width: 100%; } .rp-pst .art { position: relative; aspect-ratio: 2/3; border-radius: 8px; overflow: hidden; }
.rp-pst > b { font-size: 13.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rp-badge { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; background: #f5b301; color: #1a1205; display: grid; place-items: center; font-weight: 900; font-size: 15px; z-index: 2; }
.rp-detail .cover { position: absolute; left: 0; top: 0; width: 150px; height: 225px; border-radius: 10px; overflow: hidden; }
.rp-detail .txt { position: absolute; left: 172px; top: 0; right: 0; } .rp-detail h4 { margin: 0 0 6px; font-size: 30px; font-weight: 600; } .rp-detail .txt > span { color: #9B9BA6; font-size: 15px; }
.rp-detail p { color: #b8b8c2; font-size: 15px; line-height: 1.45; margin: 10px 0 16px; max-width: 560px; }
.rp-detail .acts { display: flex; gap: 10px; } .rp-seasons { position: absolute; left: 0; right: 0; top: 248px; display: flex; gap: 10px; }
.rp-season { height: 48px; padding: 0 22px; border-radius: 10px; background: #1E1E23; display: grid; place-items: center; font-size: 16px; } .rp-season.on { background: #8E1220; }
.rp-eps { position: absolute; left: 0; right: 0; top: 314px; display: grid; gap: 6px; }
.rp-ep { height: 54px; border-radius: 10px; display: grid; grid-template-columns: 70px 1fr 90px; align-items: center; padding: 0 16px; font-size: 16px; background: #141417; width: 100%; }
.rp-ep span { color: #9B9BA6; font-size: 14px; } .rp-ep .len { text-align: right; }
/* full-screen player */
.rp-player canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.rp-ptop { position: absolute; left: 0; right: 0; top: 0; height: 110px; padding: 24px 32px; display: flex; align-items: flex-start; gap: 12px; background: linear-gradient(rgba(0,0,0,.75), transparent); }
.rp-ptop .sp { flex: 1; } .rp-ptop .rp-btn { background: rgba(30,30,35,.72); height: 46px; padding: 0 18px; }
.rp-pbot { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 36px 26px; background: linear-gradient(transparent, rgba(0,0,0,.88) 45%); }
.rp-banner { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; } .rp-banner .rp-lg { width: 84px; height: 60px; font-size: 20px; }
.rp-banner b { font-size: 26px; font-weight: 600; } .rp-banner span { display: block; color: #c7c7d0; font-size: 16px; margin-top: 3px; }
.rp-trans { display: flex; align-items: center; gap: 12px; }
.rp-trans button { width: 54px; height: 50px; border-radius: 12px; background: rgba(40,40,46,.85); display: grid; place-items: center; } .rp-trans button svg.i { width: 24px; height: 24px; }
.rp-seek { flex: 1; height: 6px; border-radius: 6px; background: rgba(255,255,255,.2); position: relative; } .rp-seek i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; background: #c8102e; transition: width .5s; }
.rp-seek u { position: absolute; top: -6px; width: 18px; height: 18px; border-radius: 50%; background: #fff; translate: -50% 0; transition: left .5s; text-decoration: none; }
.rp-live { min-width: 92px; height: 34px; border-radius: 8px; background: #c8102e; display: grid; place-items: center; font-weight: 800; font-size: 14px; letter-spacing: .05em; font-variant-numeric: tabular-nums; transition: background .3s; padding: 0 10px; } .rp-live.behind { background: #3f3f46; }
.rp-time { color: #c7c7d0; font-size: 14px; font-variant-numeric: tabular-nums; min-width: 150px; text-align: right; }
/* multi-view */
.rp-mv { position: absolute; left: 20px; right: 20px; top: 80px; bottom: 20px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; }
.rp-mv.focus { grid-template-columns: 2.3fr 1fr; grid-template-rows: repeat(3, 1fr); } .rp-mv.focus .main { grid-column: 1; grid-row: 1 / span 3; }
.rp-tilev { position: relative; border-radius: 10px; overflow: hidden; background: #000; border: 2px solid transparent; width: 100%; height: 100%; }
.rp-tilev canvas { width: 100%; height: 100%; display: block; } .rp-tilev.main { border-color: #8E1220; }
.rp-tilev .lbl { position: absolute; left: 12px; bottom: 10px; font-size: 16px; font-weight: 600; text-shadow: 0 2px 8px #000; display: flex; align-items: center; gap: 8px; }
.rp-tilev .snd { position: absolute; right: 12px; bottom: 10px; width: 32px; height: 32px; border-radius: 50%; background: #f5b301; color: #1a1205; display: grid; place-items: center; }
.rp-tilev .snd svg.i { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.rp-mvhead { position: absolute; left: 20px; right: 20px; top: 16px; height: 50px; display: flex; align-items: center; gap: 14px; } .rp-mvhead h4 { margin: 0; font-size: 24px; font-weight: 600; flex: 1; }
/* profiles */
.rp-who { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 44px; }
.rp-who h4 { margin: 0; font-size: 42px; font-weight: 600; } .rp-avs { display: flex; gap: 40px; }
.rp-av { display: grid; justify-items: center; gap: 14px; font-size: 20px; color: #c7c7d0; }
.rp-av i { width: 150px; height: 150px; border-radius: 24px; display: grid; place-items: center; font-style: normal; font-size: 60px; font-weight: 700; color: #fff; background: var(--c); position: relative; }
.rp-av em { position: absolute; bottom: -12px; background: #34d399; color: #04261b; -webkit-text-fill-color: #04261b; font-size: 14px; font-weight: 800; padding: 4px 12px; border-radius: 99px; letter-spacing: .06em; }
/* movie posters (the replica and the family section): typographic, no clip art */
.mp { position: absolute; inset: 0; background: var(--bg); color: #fff; overflow: hidden; container-type: inline-size; }
.mp::before { content: ""; position: absolute; inset: 0; background: var(--fx); }
.mp::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 35%, rgba(0,0,0,.72)); }
.mp b, .mp small, .mp .tl { position: absolute; left: 9%; right: 9%; z-index: 1; }
.mp b { bottom: 15%; font: 800 13cqw/.95 "Segoe UI", system-ui, sans-serif; letter-spacing: .02em; text-transform: uppercase; text-wrap: balance; text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.mp small { bottom: 7%; font-size: 6.4cqw; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.mp .tl { top: 7%; font-size: 6cqw; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.72); }
/* the bar under the TV */
.tour-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 18px; align-items: center; margin-top: 22px; padding: 14px 16px 14px 14px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255,255,255,.04); }
.tour-cap { display: flex; align-items: center; gap: 14px; min-width: 0; text-align: left; } .tour-cap b { display: block; font-size: 16px; } .tour-cap span { display: block; color: var(--muted); font-size: 14px; }
.tour-cap .remote { width: 50px; height: 46px; border-radius: 14px; background: #16161d; border: 1px solid var(--line2); display: grid; place-items: center; flex: none; }
.tour-cap .remote i { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .04em; color: #fff; padding: 4px 6px; border-radius: 7px; background: rgba(255,255,255,.1); transition: background .2s, transform .2s; white-space: nowrap; }
.tour-cap .remote.hit i { background: var(--red); transform: scale(1.12); }
.tour-steps { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.tour-steps button { border: 1px solid var(--line); background: transparent; color: var(--muted); border-radius: 99px; padding: 6px 12px; font-size: 13px; font-weight: 600; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.tour-steps button:hover { color: #fff; border-color: var(--line2); } .tour-steps button[aria-selected=true] { color: #fff; border-color: rgba(255,59,92,.6); background: rgba(255,59,92,.14); }
.tour-toggle { white-space: nowrap; }
@media (max-width: 1080px) { .tour-bar { grid-template-columns: 1fr auto; } .tour-steps { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; } }
@media (max-width: 640px) { .tour { margin-top: 30px; } .tour-steps { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .tour-steps button { flex: none; } .tv-screen { padding: .4em; border-radius: .9em; } .tour-cap span { font-size: 13px; } .tour-cap .remote { display: none; } }

/* family section posters use .mp too */


/* buy a licence */
.how-sub { color: var(--muted); margin: -8px 0 18px; font-size: 15px; }
.buy-form { display: grid; gap: 12px; margin-bottom: 22px; } .fld { display: grid; gap: 5px; font-size: 13.5px; color: #d2d2de; font-weight: 600; } .fld i { color: var(--dim); font-style: normal; font-weight: 400; }
.fld input { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line2); background: rgba(255,255,255,.05); color: #fff; font: inherit; font-size: 15px; font-weight: 400; } .fld input:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: transparent; }
.fld small { color: var(--dim); font-weight: 400; font-size: 12.5px; } .fld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .04em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.buy-msg { margin: 0; min-height: 20px; font-size: 14px; color: var(--muted); } .buy-msg.ok { color: #34d399; } .buy-msg.err { color: #fb7185; }
.buy-msg a { color: var(--gold); }
@media (max-width: 640px) { .fld-row { grid-template-columns: 1fr; } }
.studio svg.i { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.st-tile .e svg.i { width: 1.6em; height: 1.6em; stroke-width: 1.6; } .st-side span { display: flex; align-items: center; gap: .5em; }
.poster .mp { position: absolute; inset: 0; border-radius: inherit; }

/* ================= features: every card is a tiny live demo ================= */
@property --fa { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.fx-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(290px, auto); gap: 18px; }
.fx { position: relative; display: flex; flex-direction: column; border-radius: 24px; border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.015)); transition: transform .3s, box-shadow .3s, border-color .3s; }
.fx::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: conic-gradient(from var(--fa), transparent 0 55%, var(--red) 70%, var(--gold) 82%, transparent 95%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.fx:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px var(--glow); border-color: transparent; }
.fx:hover::after { opacity: 1; animation: fxspin 3s linear infinite; } @keyframes fxspin { to { --fa: 360deg; } }
.fx-big { grid-column: span 2; grid-row: span 2; } .fx-wide { grid-column: span 2; }
.viz { position: relative; height: 168px; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(120% 100% at 50% 0%, rgba(255,59,92,.12), transparent 60%), #0b0b11; }
.fx-big .viz { flex: 1; height: auto; min-height: 340px; } .fx-wide .viz { height: 198px; }
.fx-txt { padding: 20px 22px 22px; } .fx-txt h3 { margin: 0 0 6px; font-size: 19px; } .fx-big .fx-txt h3 { font-size: 25px; }
.fx-txt p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; } .fx-big .fx-txt p { font-size: 16.5px; max-width: 34em; }
.fx:not(.live) .viz, .fx:not(.live) .viz * { animation-play-state: paused !important; }

/* library: chips, a resume card, two rows of posters drifting past */
.v-lib { display: flex; flex-direction: column; gap: 16px; padding: 22px 0 18px; }
.lib-chips { display: flex; gap: 8px; padding: 0 22px; } .lib-chips span { padding: 6px 14px; border-radius: 99px; background: rgba(255,255,255,.06); color: var(--muted); font-size: 13px; font-weight: 600; }
.lib-chips .on { background: #8E1220; color: #fff; }
.lib-resume { margin: 0 22px; display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 16px; background: rgba(20,20,26,.9); border: 1px solid var(--line2); }
.lib-resume .thumb { position: relative; width: 52px; aspect-ratio: 2/3; border-radius: 8px; overflow: hidden; flex: none; }
.lr-t { flex: 1; min-width: 0; } .lr-t small { color: var(--dim); font-size: 12px; } .lr-t b { display: block; font-size: 15px; margin: 2px 0 8px; }
.pb { height: 4px; border-radius: 4px; background: rgba(255,255,255,.12); overflow: hidden; } .pb i { display: block; height: 100%; width: 40%; background: #c8102e; animation: pbgrow 9s ease-in-out infinite; }
@keyframes pbgrow { 0% { width: 28%; } 70%, 100% { width: 62%; } }
.lib-resume .play { padding: 8px 14px; border-radius: 10px; background: #fff; color: #111; font-weight: 700; font-size: 13px; white-space: nowrap; }
.lib-rows { display: grid; gap: 12px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.lib-rows .track { display: flex; gap: 12px; width: max-content; animation: libx 60s linear infinite; } .lib-rows .t2 { animation-duration: 75s; animation-direction: reverse; }
@keyframes libx { to { transform: translateX(-50%); } }
.lib-rows .ps { position: relative; width: 104px; aspect-ratio: 2/3; border-radius: 10px; overflow: hidden; flex: none; box-shadow: 0 12px 24px -14px #000; transition: transform .3s; }
.fx-big:hover .lib-rows .ps { transform: translateY(-3px); }

/* guide: a moving now-line and a reminder being set */
.v-guide { padding: 12px 16px; display: grid; gap: 5px; align-content: start; font-size: 12px; }
.g-hd, .g-r { display: grid; grid-template-columns: 92px repeat(6, 1fr); gap: 4px; } .g-hd { color: var(--dim); font-size: 11px; } .g-hd span:not(:first-child) { grid-column: span 2; }
.g-r b { font-weight: 600; font-size: 11.5px; padding: 6px 8px; border-radius: 7px; background: rgba(255,255,255,.05); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-r i { grid-column: calc(var(--s) + 2) / calc(var(--e) + 2); font-style: normal; padding: 6px 8px; border-radius: 7px; background: rgba(255,255,255,.07); color: #cfcfdb; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-r i.now { background: #3b1219; color: #fff; box-shadow: inset 0 0 0 1px #6d1420; }
.g-r i.rem { animation: grem 7s ease-in-out infinite; } @keyframes grem { 0%, 40% { box-shadow: none; } 48%, 92% { box-shadow: inset 0 0 0 2px #fff, 0 0 18px rgba(255,255,255,.25); background: rgba(245,179,1,.18); } 100% { box-shadow: none; } }
.g-line { position: absolute; top: 30px; bottom: 10px; left: calc(16px + 96px + 10%); width: 2px; background: #e11d48; box-shadow: 0 0 10px #e11d48; animation: gline 14s linear infinite; }
@keyframes gline { from { transform: translateX(0); } to { transform: translateX(120px); } }
.g-toast { position: absolute; right: 16px; bottom: 12px; padding: 7px 14px; border-radius: 99px; background: rgba(28,28,34,.96); border: 1px solid var(--line2); font-size: 12.5px; font-weight: 600; opacity: 0; animation: gtoast 7s ease-in-out infinite; }
@keyframes gtoast { 0%, 46% { opacity: 0; transform: translateY(8px); } 52%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* fast: a list racing past, and the count */
.v-fast { display: flex; }
.fast-list { width: 52%; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 20%, #000 80%, transparent); mask-image: linear-gradient(transparent, #000 20%, #000 80%, transparent); }
.fast-list .track { padding: 0 0 0 14px; animation: fasty 6s cubic-bezier(.6,0,.3,1) infinite; } @keyframes fasty { 0% { transform: translateY(0); } 60%, 100% { transform: translateY(-50%); } }
.fast-list .r { display: flex; align-items: center; gap: 8px; height: 30px; font-size: 11.5px; color: #cfcfdb; white-space: nowrap; } .fast-list .r i { width: 22px; height: 16px; border-radius: 4px; background: var(--c); flex: none; }
.fast-num { flex: 1; display: grid; place-content: center; text-align: center; } .fast-num b { font-size: 34px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fast-num span { color: var(--muted); font-size: 12.5px; } .fast-num em { margin-top: 8px; justify-self: center; padding: 3px 10px; border-radius: 99px; background: rgba(52,211,153,.14); color: #34d399; -webkit-text-fill-color: #34d399; font-size: 12px; font-weight: 700; }

/* link: a URL typed in, then what the app found in it */
.v-link { padding: 22px 18px; display: grid; gap: 14px; align-content: center; }
.v-link .inp { padding: 10px 14px; border-radius: 12px; background: #16161d; border: 1px solid var(--line2); display: grid; gap: 3px; } .v-link .lbl { color: var(--dim); font-size: 11px; }
.v-link .typed { font: 12.5px ui-monospace, Consolas, monospace; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.caret { display: inline-block; width: 7px; height: 14px; vertical-align: -2px; background: var(--gold); animation: blink 1s steps(1) infinite; }
.v-link .chips { display: flex; flex-wrap: wrap; gap: 6px; } .v-link .chips span { padding: 5px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; background: rgba(52,211,153,.14); color: #34d399; opacity: 0; transform: translateY(6px); transition: all .35s; }
.v-link.done .chips span { opacity: 1; transform: none; } .v-link.done .chips span:nth-child(2) { transition-delay: .25s; } .v-link.done .chips span:nth-child(3) { transition-delay: .5s; }

/* theme: a tiny Home screen recoloured by the swatches */
.v-theme { --acc: #8E1220; padding: 18px; display: grid; gap: 14px; align-content: center; }
.v-theme .tmini { display: grid; grid-template-columns: 1.3fr 1fr 1fr .9fr; grid-template-rows: 34px 34px; gap: 6px; }
.v-theme .t { border-radius: 8px; background: var(--acc); transition: background .5s; } .v-theme .t.big { grid-row: span 2; }
.v-theme .rail { grid-column: 4; grid-row: 1 / span 2; display: grid; gap: 4px; } .v-theme .rail i { border-radius: 5px; border: 1.5px solid color-mix(in srgb, var(--acc) 80%, #fff 0%); transition: border-color .5s; }
.sw-row { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; } .sw-row button { width: 20px; height: 20px; border-radius: 50%; border: 2px solid transparent; background: var(--c); cursor: pointer; padding: 0; transition: transform .15s; }
.sw-row button:hover { transform: scale(1.2); } .sw-row button[aria-pressed=true] { border-color: #fff; }

/* chat: the conversation plays out */
.v-chat { padding: 16px; display: flex; flex-direction: column; gap: 7px; justify-content: center; font-size: 12.5px; }
.v-chat .b { max-width: 82%; padding: 8px 12px; border-radius: 14px; opacity: 0; animation: cht 9s ease-out infinite; } .v-chat .me { align-self: flex-end; background: #8E1220; border-bottom-right-radius: 4px; }
.v-chat .them { align-self: flex-start; background: #23232b; border-bottom-left-radius: 4px; } .v-chat .sys { align-self: center; font-size: 11.5px; font-weight: 700; color: #34d399; opacity: 0; animation: cht 9s ease-out infinite; animation-delay: 4.2s; }
.v-chat .b:nth-child(1) { animation-delay: .2s; } .v-chat .b:nth-child(3) { animation-delay: 2.8s; }
.v-chat .dots { display: flex; gap: 4px; animation: chtdots 9s ease-out infinite; animation-delay: 1.2s; } .v-chat .dots i { width: 6px; height: 6px; border-radius: 50%; background: #9b9ba6; animation: blink 1s infinite; } .v-chat .dots i:nth-child(2) { animation-delay: .2s; } .v-chat .dots i:nth-child(3) { animation-delay: .4s; }
@keyframes cht { 0% { opacity: 0; transform: translateY(8px); } 6%, 85% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; } }
@keyframes chtdots { 0% { opacity: 0; } 4%, 16% { opacity: 1; } 18%, 100% { opacity: 0; height: 0; padding: 0; margin: -4px 0; } }

/* kind: requests with and without caching */
.v-kind { padding: 16px 20px; display: grid; gap: 10px; align-content: end; }
.v-kind .bars { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; height: 96px; align-items: end; }
.v-kind .bar { display: grid; gap: 6px; align-content: end; height: 100%; } .v-kind .bar span { font-size: 11px; color: var(--muted); text-align: center; }
.v-kind .bar i { display: block; border-radius: 8px 8px 3px 3px; } .v-kind .hi { height: 72px; background: linear-gradient(#ef4444, #7f1d1d); animation: khi 5s ease-in-out infinite; } .v-kind .lo { height: 12px; background: linear-gradient(#34d399, #065f46); }
@keyframes khi { 0%, 100% { height: 52px; } 50% { height: 76px; } }
.kpill { justify-self: center; padding: 5px 12px; border-radius: 99px; background: rgba(52,211,153,.14); color: #34d399; font-size: 11.5px; font-weight: 700; }

/* heal: the signal drops, comes back, and an update lands */
.v-heal svg { position: absolute; left: 0; right: 0; top: 34px; width: 100%; height: 70px; overflow: visible; }
.v-heal .wave { animation: wave 6s linear infinite; } .v-heal path { fill: none; stroke: #34d399; stroke-width: 2.5; filter: drop-shadow(0 0 6px rgba(52,211,153,.6)); animation: wcol 6s steps(1) infinite; }
@keyframes wave { to { transform: translateX(-300px); } } @keyframes wcol { 0%, 30% { stroke: #34d399; } 30.01%, 46% { stroke: #ef4444; } 46.01% { stroke: #34d399; } }
.v-heal .st, .v-heal .upd { position: absolute; padding: 5px 11px; border-radius: 99px; font-size: 12px; font-weight: 700; opacity: 0; }
.v-heal .st { left: 16px; top: 12px; } .v-heal .lost { background: rgba(239,68,68,.16); color: #fca5a5; animation: hlost 6s steps(1) infinite; } .v-heal .ok { background: rgba(52,211,153,.14); color: #34d399; animation: hok 6s steps(1) infinite; }
@keyframes hlost { 0%, 30% { opacity: 0; } 30.01%, 46% { opacity: 1; } 46.01% { opacity: 0; } } @keyframes hok { 0%, 46% { opacity: 0; } 46.01%, 90% { opacity: 1; } 90.01% { opacity: 0; } }
.v-heal .upd { right: 14px; bottom: 12px; background: rgba(255,255,255,.07); color: #e5e5ee; animation: hupd 12s ease-in-out infinite; } @keyframes hupd { 0%, 55% { opacity: 0; transform: translateY(6px); } 62%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

@media (max-width: 1080px) { .fx-grid { grid-template-columns: repeat(2, 1fr); } .fx-big { grid-row: auto; } }
@media (max-width: 640px) { .fx-grid { grid-template-columns: 1fr; } .fx-big, .fx-wide { grid-column: auto; } .fx-big .viz { min-height: 300px; } .lib-resume .play { display: none; } }

/* ---------- hover: light, depth and movement ---------- */
/* top bar: a gradient underline grows under the link; Download has its own button with a falling arrow */
.nav .links a:not(.btn):not(.nav-dl) { position: relative; }
.nav .links a:not(.btn):not(.nav-dl)::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.nav .links a:not(.btn):not(.nav-dl):is(:hover, .on)::after { transform: scaleX(1); }
.nav .links a.nav-dl { display: inline-flex; align-items: center; gap: 7px; color: var(--text); margin-left: 10px; padding: 7px 14px; border: 1px solid var(--line2); border-radius: 11px; background: rgba(255,255,255,.04); transition: border-color .2s, background .2s, transform .2s, box-shadow .25s; }
.nav .links a.nav-dl:hover { border-color: rgba(255,59,92,.65); background: rgba(255,59,92,.13); transform: translateY(-1px); box-shadow: 0 10px 26px -12px var(--glow); }
.nav-dl svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.nav-dl:hover .arr { animation: dldrop 1s cubic-bezier(.5,0,.5,1) infinite; }
@keyframes dldrop { 0% { transform: translateY(-5px); opacity: 0; } 35%, 65% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(4px); opacity: 0; } }
.nav .links a.nav-dl + .btn { margin-left: 8px; }

/* buttons: a sheen sweeps across, they lean toward the pointer (--tx/--ty from site.js) and press in */
.btn::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.26) 50%, transparent 70%); transform: translateX(-130%); pointer-events: none; }
.btn:hover::before { transform: translateX(130%); transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.btn:hover { transform: translate(var(--tx, 0px), calc(var(--ty, 0px) - 2px)); }
.btn:not(.primary):hover { border-color: rgba(255,59,92,.55); box-shadow: 0 14px 32px -16px var(--glow); }
.btn:active { transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(.96); transition-duration: .08s; }
.btn:disabled:hover, .btn:disabled:active { transform: none; box-shadow: none; } .btn:disabled::before { display: none; }

/* cards: tilt toward the pointer (--rx/--ry), a light follows it, and a gradient runs round the border */
.card, .price-card { transition: border-color .3s, transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s; }
.fx { transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s; }
.card:hover, .fx:hover, .price-card:hover { transform: perspective(1100px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)) translateY(-6px); }
.price-card:hover { box-shadow: 0 50px 100px -40px rgba(255,90,80,.7); }
.card:not(.numbered .card)::after, .price-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: conic-gradient(from var(--fa), transparent 0 55%, var(--red) 70%, var(--gold) 82%, transparent 95%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.card:not(.numbered .card):hover::after, .price-card:hover::after { opacity: 1; animation: fxspin 3s linear infinite; }
.card:hover { border-color: transparent; } .numbered .card:hover { border-color: rgba(255,59,92,.42); }
.fx::before, .price-card::before { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, -30%), rgba(255,255,255,.07), transparent 60%); }
.fx:hover::before, .price-card:hover::before { opacity: 1; }
.ico { transition: transform .45s cubic-bezier(.3,1.6,.5,1), box-shadow .3s; }
.card:hover .ico { transform: translateY(-3px) rotate(-7deg) scale(1.1); box-shadow: 0 16px 30px -10px var(--glow); }
.card h3 { transition: color .3s; } .card:hover h3 { color: #fff; }

footer a:not(.brand) { transition: color .2s, transform .25s cubic-bezier(.2,.8,.2,1); } footer a:not(.brand):hover { transform: translateX(4px); }

@media (max-width: 960px) { .nav .links { background: #07070d; } .nav .links a::after { display: none; } .nav .links a.nav-dl { margin: 10px 0 0; justify-content: center; padding: 12px; } .nav .links a.nav-dl + .btn { margin-left: 0; } }
@media (hover: none) { .card:hover, .fx:hover, .price-card:hover { transform: none; } }

/* ---------- STTT Remote: the phone remote app ---------- */
.remote-sec { background: radial-gradient(700px 420px at 85% 40%, rgba(255,59,92,.16), transparent 70%), radial-gradient(520px 360px at 10% 90%, rgba(255,198,92,.07), transparent 70%); overflow: hidden; }
.rm { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.rm-txt .sub { margin-bottom: 30px; }
.rm-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 14px; }
.rm-list li { display: flex; gap: 16px; align-items: flex-start; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); transition: border-color .2s, transform .2s; }
.rm-list li:hover { border-color: rgba(255,59,92,.45); transform: translateX(4px); }
.rm-list .ri { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: linear-gradient(160deg, rgba(255,59,92,.28), rgba(255,122,61,.12)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.rm-list b { display: block; font-size: 17px; margin-bottom: 2px; } .rm-list span:not(.ri) { color: var(--muted); font-size: 15px; }
.rm-cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-bottom: 18px; }
.rm-code { padding: 10px 12px 10px 18px; gap: 12px; }
.rm-code b { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 750; }
.rm-code span { font-size: 24px; }
.rm-stage { position: relative; display: grid; place-items: center; min-height: 600px; }
.rm-glow { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255,59,92,.35), transparent 65%); filter: blur(30px); }
/* the phone */
.ph { position: relative; width: 300px; height: 600px; border-radius: 46px; padding: 12px; background: linear-gradient(160deg, #2a2a36, #0d0d14 60%); box-shadow: 0 0 0 2px #3a3a48, 0 40px 80px -30px rgba(0,0,0,.9), 0 0 60px -20px var(--glow); animation: ph-float 7s ease-in-out infinite; }
.ph::before { content: ""; position: absolute; top: 20px; left: 50%; width: 86px; height: 22px; margin-left: -43px; border-radius: 12px; background: #050508; z-index: 2; }
@keyframes ph-float { 50% { transform: translateY(-10px) rotate(-1deg); } }
.ph-screen { height: 100%; border-radius: 36px; overflow: hidden; background: #0b0b0e; display: flex; flex-direction: column; font-size: 11.5px; line-height: 1.25; }
.ph-top { display: flex; align-items: center; gap: 8px; padding: 46px 12px 8px; }
.ph-top b { flex: 1; font-size: 16px; }
.ph-back, .ph-tv { width: 28px; height: 28px; border-radius: 9px; background: #22242b; display: grid; place-items: center; font-size: 16px; color: #ccc; }
.ph-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ecf6e; box-shadow: 0 0 8px #3ecf6e; }
.ph-split { flex: 1; display: grid; grid-template-columns: 40% 60%; gap: 6px; padding: 4px 10px; min-height: 0; overflow: hidden; }
.ph-cats { display: grid; gap: 5px; align-content: start; }
.ph-cats i { font-style: normal; padding: 8px; border-radius: 8px; border: 1px solid #ffffff22; background: #000; font-weight: 600; }
.ph-cats i.on { background: #3a1018; border-color: var(--red); }
.ph-chs { display: grid; gap: 6px; align-content: start; }
.ph-ch { display: flex; gap: 7px; align-items: center; padding: 7px; border-radius: 10px; background: #17181d; position: relative; }
.ph-ch .lg { width: 26px; height: 26px; flex: none; border-radius: 7px; display: grid; place-items: center; font-weight: 800; font-size: 9px; color: #fff; background: color-mix(in srgb, var(--c) 70%, #000); }
.ph-ch b { display: block; font-size: 11px; } .ph-ch small { color: #a2a6b3; font-size: 9.5px; display: block; }
.ph-ch.on { box-shadow: inset 0 0 0 1.5px var(--red); animation: ph-tap 4s ease-in-out infinite; }
@keyframes ph-tap { 0%, 70%, 100% { background: #17181d; } 78% { background: #3a1018; } }
.ph-np { display: grid; grid-template-columns: 1fr auto auto auto; gap: 6px; align-items: center; margin: 6px 8px 0; padding: 8px 10px; border-radius: 14px; background: #121318; border: 1px solid #ffffff12; }
.ph-np b { display: block; } .ph-np small { color: #a2a6b3; } .ph-np small i { font-style: normal; background: var(--red); color: #fff; border-radius: 4px; padding: 0 4px; font-size: 8px; font-weight: 800; margin-right: 4px; }
.ph-np span { width: 30px; height: 30px; border-radius: 9px; background: #22242b; display: grid; place-items: center; font-size: 13px; }
.ph-tabs { display: grid; grid-template-columns: repeat(5, 1fr); padding: 8px 6px 18px; gap: 2px; }
.ph-tabs i { font-style: normal; display: grid; justify-items: center; gap: 1px; font-size: 16px; color: #a2a6b3; padding: 4px 0; border-radius: 10px; filter: grayscale(.6); }
.ph-tabs i small { font-size: 8.5px; font-weight: 600; } .ph-tabs i.on { background: #ffffff12; color: #fff; filter: none; }
/* what pops up around it: the TV's pairing message, then the notification controls */
.rm-pop { position: absolute; display: flex; gap: 12px; align-items: center; max-width: 330px; padding: 12px 16px; border-radius: 18px; background: rgba(18,18,28,.92); border: 1px solid var(--line2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 24px 50px -20px rgba(0,0,0,.9); opacity: 0; }
.rm-pop > span { font-size: 24px; } .rm-pop small { color: var(--dim); font-size: 11.5px; display: block; } .rm-pop b { font-size: 14.5px; line-height: 1.35; display: block; }
.rm-pop em { font-weight: 850; letter-spacing: .12em; }
.rm-pair { top: 70px; left: -30px; animation: rm-pop1 10s ease-in-out infinite; }
.rm-note { bottom: 90px; right: -36px; animation: rm-pop2 10s ease-in-out infinite; }
.rm-note .ni { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 13px; flex: none; }
.rm-note p { display: flex; gap: 6px; margin: 8px 0 0; } .rm-note p i { font-style: normal; font-size: 12px; font-weight: 650; padding: 5px 9px; border-radius: 9px; background: rgba(255,255,255,.08); color: #9ecbff; white-space: nowrap; }
@keyframes rm-pop1 { 0%, 4% { opacity: 0; transform: translateY(12px) scale(.96); } 10%, 44% { opacity: 1; transform: none; } 50%, 100% { opacity: 0; transform: translateY(-8px); } }
@keyframes rm-pop2 { 0%, 48% { opacity: 0; transform: translateY(12px) scale(.96); } 56%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .rm-pop { opacity: 1; } }
@media (max-width: 1240px) { .rm-pair { left: 0; } .rm-note { right: 0; } }
@media (max-width: 960px) { .rm { grid-template-columns: 1fr; gap: 30px; } .rm-stage { min-height: 560px; } .rm-pair { left: 0; } .rm-note { right: 0; } }
@media (max-width: 640px) { .ph { width: 270px; height: 540px; } .rm-stage { min-height: 640px; } .rm-pop { left: 8px; right: 8px; max-width: none; } .rm-pair { top: 0; } .rm-note { bottom: 0; } }

/* ---- the cart (Pricing → Buy) and the pay page ---------------------------------------------------------------------------------- */
[hidden] { display: none !important; }
.cart-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-left: 6px; border-radius: 12px; color: var(--text) !important; }
.cart-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.cart-btn b:empty { display: none; }
.cart-btn b { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--red); color: #fff; font-size: 11px; line-height: 18px; text-align: center; font-variant-numeric: tabular-nums; }
.cart { display: grid; gap: 14px; margin-bottom: 22px; }
.cart-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; } .cart-head h3 { margin: 0; } .cart-sub { color: var(--muted); font-size: 14px; }
.cart-test, .pay-test { margin: 0; padding: 10px 14px; border-radius: 12px; background: rgba(255,198,92,.09); border: 1px solid rgba(255,198,92,.35); color: #ffe2a8; font-size: 13.5px; }
.cart-lines { display: grid; gap: 10px; }
.cart-line { display: grid; grid-template-columns: minmax(0, 1fr) 120px 64px 36px; gap: 10px; align-items: end; padding: 12px; border-radius: 16px; background: rgba(255,255,255,.035); border: 1px solid var(--line); }
.fld select { width: 100%; padding: 12px 10px; border-radius: 12px; border: 1px solid var(--line2); background: #15151f; color: #fff; font: inherit; font-size: 15px; font-weight: 400; }
.fld select:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: transparent; }
.cart-price { text-align: right; padding-bottom: 12px; font-variant-numeric: tabular-nums; }
.cart-x { width: 36px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 20px; cursor: pointer; } .cart-x:hover { color: #fff; border-color: var(--line2); }
.cart-add { justify-self: start; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 6px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.cart-total b { font-size: 26px; color: var(--text); font-variant-numeric: tabular-nums; }
.cart-ways { margin: -4px 0 0; color: var(--dim); font-size: 13px; }
.cart-other { justify-self: start; padding: 0; border: 0; background: none; color: var(--gold); font: inherit; font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .cart-line { grid-template-columns: minmax(0, 1fr) 36px; } .cart-line .fld:first-child { grid-column: 1 / -1; } .cart-price { grid-column: 1; text-align: left; padding: 0; } .cart-line .fld:nth-child(2) { grid-column: 1; } .cart-x { grid-column: 2; grid-row: 2; } }

.pay { max-width: 640px; padding: 56px 0 90px; }
.pay-card { padding: 34px; border-radius: 28px; border: 1px solid var(--line); background: rgba(255,255,255,.03); display: grid; gap: 18px; }
.pay-wait { margin: 0; color: var(--muted); }
.pay-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; } .pay-from { font-weight: 750; } .pay-num { color: var(--muted); }
.pay-card h1 { margin: 0; font-size: 34px; letter-spacing: -.02em; } .pay-card p { margin: 0; } .pay-card .muted { color: var(--muted); }
.pay-amount { font-size: 56px; font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; margin-top: 6px; }
.pay-devices { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; } .pay-devices li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 10px; background: rgba(255,255,255,.04); font-size: 14px; }
.pay-methods { display: grid; gap: 10px; }
.pay-go { justify-content: flex-start; text-align: left; } .pay-go svg { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.pay-safe { color: var(--dim); font-size: 13px; }
.pay-msg { padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.05); font-size: 14px; } .pay-msg.bad { background: rgba(251,113,133,.1); color: #fda4af; } .pay-msg.warn { background: rgba(255,198,92,.1); color: #ffe2a8; }
.pay-other summary { cursor: pointer; color: var(--gold); font-size: 14.5px; } .pay-other p { margin-top: 8px !important; white-space: pre-line; color: #d2d2de; font-size: 14px; }
.pay-lines { display: grid; border-top: 1px solid var(--line); }
.pay-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; } .pay-row b { white-space: nowrap; font-variant-numeric: tabular-nums; }
.pay-row.sub { color: var(--muted); } .pay-row.total { font-size: 16px; } .pay-row.total b { font-size: 18px; }
.pay-contact { font-size: 13.5px; }
.pay-done { display: grid; gap: 12px; justify-items: start; } .pay-done .pay-devices { justify-self: stretch; }
.pay-tick { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(52,211,153,.14); box-shadow: 0 0 0 8px rgba(52,211,153,.06); }
.pay-tick svg { width: 34px; height: 34px; fill: none; stroke: #34d399; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; animation: tick .6s .15s ease-out forwards; }
@keyframes tick { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .pay-tick svg { animation: none; stroke-dashoffset: 0; } }
.pay-fine { margin: 18px auto 0; text-align: center; }
@media (max-width: 640px) { .pay { padding-top: 32px; } .pay-card { padding: 22px; } .pay-amount { font-size: 44px; } }


/* ---------- the hero: a night stadium ---------------------------------------------------------------------------------------------
   Four floodlights aim at the pointer (or at whatever ball is in the air); every few seconds a football, a basketball, a cricket six,
   or the remote comes up and its STTT play button changes the TV's channel. Drawn by site.js ("the stadium"). */
.stadium { position: relative; overflow: hidden; isolation: isolate; min-height: calc(100svh - 68px); display: grid; align-items: center; }
.sd-stage { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; }
.sd-pitch { position: absolute; left: -20%; right: -20%; bottom: -8%; height: 46%; z-index: -2; transform: perspective(700px) rotateX(64deg); transform-origin: 50% 100%;
  background: linear-gradient(transparent 0 49.6%, rgba(255,255,255,.16) 50% 50.4%, transparent 50.8%), repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 2px, transparent 2px 110px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 2px, transparent 2px 90px), linear-gradient(#0c2f22, #08130f 80%);
  -webkit-mask-image: linear-gradient(transparent, #000 35%); mask-image: linear-gradient(transparent, #000 35%); }
.sd-crowd { position: absolute; left: 0; right: 0; bottom: 34%; height: 90px; z-index: -2; opacity: .55; filter: blur(.6px);
  background: radial-gradient(12px 16px at 10px 70px, #000 60%, transparent 62%) 0 0 / 22px 90px repeat-x, radial-gradient(10px 14px at 5px 78px, #000 60%, transparent 62%) 11px 6px / 22px 90px repeat-x; }
.sd-copy { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 7vh 0 9vh; } .sd-copy > div { min-width: 0; }
.sd-head { font-size: clamp(46px, 7.2vw, 100px); line-height: .92; letter-spacing: -.045em; font-weight: 900; margin: 22px 0; text-wrap: balance;
  background: radial-gradient(circle at var(--mx, 60%) var(--my, 30%), #fff 0, #fff3d6 12%, #ffc65c 26%, #ff7a3d 42%, #ff3b5c 58%, #b8173a 80%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sd-head span { display: block; padding-bottom: .1em; margin-bottom: -.1em; }
.sd-copy .cta { margin: 28px 0 0; }
.sd-meta { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 26px; color: var(--muted); font-size: 14px; } .sd-meta b { color: var(--text); }
.sd-tvwrap { perspective: 1400px; }
.sd-tv { position: relative; border-radius: 22px; padding: 12px; background: linear-gradient(160deg, #23222e, #0c0b13 60%); transform: rotateY(var(--ry, -10deg)) rotateX(var(--rx, 6deg)); transition: transform .35s cubic-bezier(.2,.7,.2,1);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 50px 90px -40px #000, 0 0 90px -30px rgba(255,59,92,.5); }
.sd-tv::after { content: ""; position: absolute; left: 50%; bottom: -34px; width: 34%; height: 10px; transform: translateX(-50%); border-radius: 0 0 12px 12px; background: #15141d; }
.sd-screen { --ballc: #fff; position: relative; aspect-ratio: 16/9; max-width: 100%; border-radius: 12px; overflow: hidden; background: radial-gradient(120% 90% at 50% 120%, #1d6b45, #0f3d2a 45%, #071a12 85%); }
.sd-screen[data-ch="basketball"] { --ballc: #ff8a3d; background: repeating-linear-gradient(90deg, rgba(0,0,0,.09) 0 2px, transparent 2px 46px), linear-gradient(160deg, #c98a4e, #8b5428 70%); }
.sd-screen[data-ch="cricket"] { --ballc: #e0242f; background: radial-gradient(120% 90% at 50% 120%, #2a8a4f, #145c33 50%, #0a2e1a 90%); }
.sd-screen[data-ch="movie"] { background: radial-gradient(70% 90% at 75% 30%, #ff9a52 0, #b3402a 30%, #2b0f22 65%, #0a0710 100%); }
.sd-glare { position: absolute; inset: 0; background: radial-gradient(500px circle at var(--gx, 30%) var(--gy, 20%), rgba(255,255,255,.18), transparent 45%); mix-blend-mode: screen; pointer-events: none; }
.sd-field { position: absolute; inset: 14% 8% 10%; border: 2px solid rgba(255,255,255,.35); border-radius: 4px; }
.sd-field::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 2px solid rgba(255,255,255,.35); }
.sd-field::after { content: ""; position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1; border: 2px solid rgba(255,255,255,.35); border-radius: 50%; transform: translate(-50%, -50%); }
.sd-screen[data-ch="cricket"] .sd-field { inset: 9% 13% 7%; border-radius: 50%; }
.sd-screen[data-ch="cricket"] .sd-field::before, .sd-screen[data-ch="cricket"] .sd-field::after { display: none; }
.sd-strip { display: none; position: absolute; left: 46.5%; width: 7%; top: 33%; height: 38%; background: #cdb57d; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.sd-screen[data-ch="cricket"] .sd-strip { display: block; }
.sd-screen[data-ch="movie"] .sd-field, .sd-screen[data-ch="movie"] .sd-ball, .sd-screen[data-ch="movie"] .sd-chips { display: none; }
.sd-movie { display: none; position: absolute; left: 6%; bottom: 13%; gap: 2px; text-shadow: 0 2px 14px rgba(0,0,0,.6); }
.sd-movie small { font-weight: 700; font-size: clamp(9px, 1vw, 12px); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.sd-movie b { font-weight: 900; font-size: clamp(20px, 2.8vw, 36px); line-height: 1; letter-spacing: -.03em; }
.sd-movie span { font-size: clamp(10px, 1vw, 13px); color: #e6dcef; }
.sd-screen[data-ch="movie"] .sd-movie { display: grid; }
.sd-ball { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--ballc); box-shadow: 0 0 10px var(--ballc); animation: sdrun 7s ease-in-out infinite; }
@keyframes sdrun { 0% { left: 30%; top: 55%; } 25% { left: 52%; top: 38%; } 50% { left: 70%; top: 60%; } 75% { left: 46%; top: 66%; } 100% { left: 30%; top: 55%; } }
.sd-score { position: absolute; left: 4%; top: 6%; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: clamp(10px, 1.2vw, 14px); background: rgba(0,0,0,.65); border-radius: 8px; padding: 5px 10px; }
.sd-tag { background: var(--red); border-radius: 4px; padding: 1px 6px; font-size: .8em; letter-spacing: .08em; }
.sd-score b { font-variant-numeric: tabular-nums; color: var(--gold); } .sd-dim { color: var(--muted); }
.sd-chips { position: absolute; right: 3%; bottom: 6%; display: flex; gap: 6px; }
.sd-chips span { font-weight: 600; font-size: clamp(9px, 1vw, 12px); background: rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.15); border-radius: 99px; padding: 4px 9px; }
.sd-splash { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle, #24101c, #05050b 70%); opacity: 0; transition: opacity .22s; pointer-events: none; }
.sd-splash img { width: 24%; transform: scale(.6); transition: transform .5s cubic-bezier(.2,1.5,.4,1); filter: drop-shadow(0 8px 26px rgba(255,59,92,.65)); }
.sd-screen.switching .sd-splash { opacity: 1; } .sd-screen.switching .sd-splash img { transform: scale(1); }
.sd-remote { position: fixed; right: max(16px, 4vw); bottom: 0; z-index: 30; width: 76px; padding: 18px 0 30px; border-radius: 38px 38px 30px 30px; pointer-events: none;
  background: linear-gradient(165deg, #2c2a36, #121118 60%); box-shadow: 0 0 0 1px rgba(255,255,255,.09), 0 30px 60px -10px #000, inset 0 1px 0 rgba(255,255,255,.12);
  display: grid; justify-items: center; gap: 12px; transform: translateY(120%) rotate(-12deg); transform-origin: 50% 100%; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.sd-remote.up { transform: translateY(5%) rotate(-12deg); }
.sd-led { width: 6px; height: 6px; border-radius: 50%; background: #3a1c22; transition: background .1s, box-shadow .1s; }
.sd-remote.press .sd-led { background: var(--red); box-shadow: 0 0 10px var(--red); }
.sd-pad { width: 50px; height: 50px; border-radius: 50%; background: #1c1b24; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); display: grid; place-items: center; }
.sd-pad i { width: 18px; height: 18px; border-radius: 50%; background: #2c2a36; }
.sd-play { position: relative; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 35%, #2b2733, #15131a);
  box-shadow: 0 0 0 1px rgba(255,198,92,.35), 0 0 22px -4px rgba(255,59,92,.6); transition: transform .12s; }
.sd-play img { width: 42px; height: 42px; }
.sd-play::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--gold); opacity: 0; }
.sd-remote.press .sd-play { transform: scale(.84); }
.sd-remote.press .sd-play::after { animation: sdripple .7s ease-out; }
@keyframes sdripple { from { opacity: .9; transform: scale(.9); } to { opacity: 0; transform: scale(1.9); } }
.sd-row { display: flex; gap: 8px; } .sd-row i { width: 12px; height: 12px; border-radius: 4px; background: #24222c; }
.sd-ir { position: fixed; left: 0; top: 0; width: 10px; height: 10px; border-radius: 50%; background: #ff6b7f; box-shadow: 0 0 14px 5px rgba(255,59,92,.8); pointer-events: none; z-index: 31; }
.tour-sec { padding-top: 70px; } .tour-sec .sub { margin-bottom: 0; }
@media (max-width: 960px) { .sd-copy { grid-template-columns: 1fr; padding: 5vh 0 7vh; } .sd-tvwrap { max-width: 560px; } .sd-remote { width: 64px; } }
@media (prefers-reduced-motion: reduce) { .sd-ball { animation: none; } .sd-tv, .sd-remote, .sd-splash, .sd-splash img { transition: none; } }

/* the pay page: your own ways to pay (bank transfer, cash…) */
.pay-go.on { border-color: var(--gold); background: rgba(255,198,92,.08); }
.pay-way { display: grid; gap: 12px; padding: 18px; border-radius: 18px; border: 1px solid rgba(255,198,92,.35); background: rgba(255,198,92,.05); }
.pay-way-name { font-size: 17px; }
.pay-steps { white-space: pre-line; color: #e2deef; font-size: 15px; line-height: 1.6; }
.pay-ref { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pay-ref span { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.05); color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; }
.pay-ref b { color: var(--text); font-size: 17px; letter-spacing: 0; text-transform: none; font-variant-numeric: tabular-nums; }
.pay-msg.ok { background: rgba(52,211,153,.1); color: #6ee7b7; }
