:root { --bg:#0b0b0f; --bg2:#101017; --panel:#15151c; --panel2:#1d1d27; --line:#2a2a37; --text:#f1f1f4; --muted:#9a9aab; --accent:#e0303c; --ink:#ffffff; --ok:#4cd08a; --bad:#ff6b6b; --r:14px; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin:0; background:var(--bg); color:var(--text); font:16px/1.55 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif; -webkit-font-smoothing:antialiased; }
a { color:var(--accent); text-decoration:none; } a:hover { text-decoration:underline; }
:focus-visible { outline:3px solid #fff; outline-offset:2px; border-radius:6px; }
h1,h2,h3 { line-height:1.15; margin:0 0 .5em; letter-spacing:-.02em; }
h1 { font-size:clamp(2.3rem,6vw,4.1rem); } h2 { font-size:clamp(1.6rem,3.4vw,2.3rem); } h3 { font-size:1.15rem; }
p { margin:0 0 1em; } .muted { color:var(--muted); } .small { font-size:.88rem; }
.wrap { width:min(1160px,100% - 40px); margin-inline:auto; }

nav.top { position:sticky; top:0; z-index:10; background:rgba(11,11,15,.88); backdrop-filter:blur(12px); border-bottom:1px solid var(--line); }
nav.top .wrap { display:flex; align-items:center; gap:6px; height:64px; }
.brand { display:flex; align-items:center; gap:10px; font-weight:800; letter-spacing:.06em; color:var(--text); font-size:1.2rem; margin-right:18px; }
.brand img { height:34px; width:auto; } .brand:hover { text-decoration:none; }
nav.top a.l { color:var(--muted); padding:8px 12px; border-radius:8px; } nav.top a.l:hover, nav.top a.l.on { color:var(--text); background:var(--panel2); text-decoration:none; }
.sp { flex:1; }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:12px 22px; border-radius:10px; border:1px solid var(--line); background:var(--panel2); color:var(--text); font:inherit; font-weight:650; cursor:pointer; text-align:center; }
.btn:hover { background:#272735; text-decoration:none; } .btn.pri { background:linear-gradient(180deg,#ff4a57,#a8182a); color:#fff; border:1px solid #fff8; box-shadow:inset 0 1px 0 #ffffff55,0 2px 6px #0008; text-shadow:0 1px 1px #0006; } .btn.pri:hover { filter:brightness(1.1); background:linear-gradient(180deg,#ff4a57,#a8182a); }
.btn.sm { padding:7px 14px; font-size:.9rem; } .btn.danger { color:var(--bad); } .btn[disabled], .btn.off { opacity:.5; pointer-events:none; }

.hero { position:relative; overflow:hidden; padding:96px 0 72px; text-align:center; background:radial-gradient(900px 420px at 50% -10%, rgba(224,48,60,.18), transparent 70%), var(--bg); }
.hero p.lead { font-size:1.25rem; color:#cfcfdb; max-width:46ch; margin:0 auto 1.6em; }
.hero .cta { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
.mock { margin:56px auto 0; max-width:900px; border:1px solid var(--line); border-radius:18px; background:var(--panel); padding:18px; box-shadow:0 30px 80px #000a; }
.mock .bar { display:flex; gap:7px; margin-bottom:14px; } .mock .bar i { width:11px; height:11px; border-radius:50%; background:var(--line); }
.mock .row { display:grid; grid-template-columns:repeat(6,1fr); gap:12px; } .mock .row div { aspect-ratio:2/3; border-radius:10px; }
section { padding:72px 0; } section.alt { background:var(--bg2); border-block:1px solid var(--line); }
.center { text-align:center; } .center .sub { color:var(--muted); max-width:56ch; margin:0 auto 2.2em; font-size:1.1rem; }
.grid3 { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:18px; }
.card { background:var(--panel); border:1px solid var(--line); border-radius:var(--r); padding:24px; }
.card .ic { width:44px; height:44px; border-radius:12px; background:rgba(224,48,60,.16); color:var(--accent); display:flex; align-items:center; justify-content:center; margin-bottom:14px; font-weight:800; }
.steps { counter-reset:s; display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:18px; }
.steps .card::before { counter-increment:s; content:counter(s); display:flex; width:34px; height:34px; border-radius:50%; background:var(--accent); color:var(--ink); font-weight:800; align-items:center; justify-content:center; margin-bottom:14px; }
.platforms { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; } .pill { padding:8px 16px; border:1px solid var(--line); border-radius:10px; background:var(--panel); color:#cfcfdb; }
footer { border-top:1px solid var(--line); padding:36px 0; color:var(--muted); font-size:.92rem; } footer .wrap { display:flex; gap:18px; flex-wrap:wrap; align-items:center; }

.page { padding:56px 0 90px; } .page h1 { font-size:clamp(2rem,4.4vw,3rem); }
.tabs { display:inline-flex; gap:4px; padding:4px; background:var(--panel); border:1px solid var(--line); border-radius:12px; margin:6px 0 26px; }
.tabs button { border:0; background:none; color:var(--muted); font:inherit; font-weight:650; padding:9px 20px; border-radius:9px; cursor:pointer; } .tabs button.on { background:var(--panel2); color:var(--text); }
.dl { display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:16px; }
.dl .card { display:flex; flex-direction:column; gap:6px; } .dl .card.rec { border-color:var(--accent); box-shadow:0 0 0 1px var(--accent) inset; }
.dl .tag { align-self:flex-start; font-size:.75rem; font-weight:700; background:var(--accent); color:var(--ink); padding:2px 10px; border-radius:6px; }
.dl .meta { color:var(--muted); font-size:.88rem; } .dl .grow { flex:1; } details summary { cursor:pointer; color:var(--muted); font-size:.85rem; } code, .hash { font:12px/1.4 ui-monospace,Menlo,Consolas,monospace; word-break:break-all; color:#cfcfdb; }

.authbox { max-width:440px; margin:0 auto; } .panel { background:var(--panel); border:1px solid var(--line); border-radius:var(--r); padding:24px; margin-bottom:18px; }
label { display:block; font-size:.88rem; color:var(--muted); margin:14px 0 6px; }
input[type=text],input[type=email],input[type=password],input[type=url],input[type=date] { width:100%; background:var(--bg); color:var(--text); border:1px solid var(--line); border-radius:10px; padding:12px 14px; font:inherit; }
.msg { min-height:1.4em; margin:10px 0 0; font-size:.92rem; } .msg.err { color:var(--bad); } .msg.ok { color:var(--ok); }
.srv { display:flex; gap:14px; align-items:flex-start; padding:16px 0; border-top:1px solid var(--line); } .srv:first-child { border-top:0; }
.dot { width:10px; height:10px; border-radius:50%; background:var(--muted); margin-top:8px; flex:none; } .dot.on { background:var(--ok); box-shadow:0 0 0 4px rgba(76,208,138,.18); }
.chips { display:flex; flex-wrap:wrap; gap:6px; margin:8px 0; } .chip { background:var(--panel2); border:1px solid var(--line); border-radius:8px; padding:3px 6px 3px 12px; font-size:.85rem; display:inline-flex; gap:6px; align-items:center; }
.chip button { background:none; border:0; color:var(--muted); cursor:pointer; font-size:1rem; line-height:1; } .chip button:hover { color:var(--bad); }
.inline { display:flex; gap:8px; flex-wrap:wrap; } .inline input { flex:1; min-width:200px; }
.banner { background:rgba(224,48,60,.12); border:1px solid rgba(224,48,60,.4); padding:12px 16px; border-radius:12px; margin-bottom:18px; }
.codebox { font:700 1.9rem/1 ui-monospace,Menlo,monospace; letter-spacing:.18em; text-align:center; text-transform:uppercase; }
@media (max-width:700px) { nav.top .hide-s { display:none; } .mock .row { grid-template-columns:repeat(3,1fr); } .hero { padding-top:64px; } }

.dl .dh { display:flex; align-items:center; gap:14px; margin-bottom:4px; } .dl .dh h3 { margin:0; } .dl .osi { flex:none; width:44px; height:44px; padding:8px; border-radius:12px; background:var(--panel2); box-sizing:border-box; }

/* Scena Vision: "Scena" in the opening's lettering and colours, "Vision" in Avengeance */
@font-face { font-family: 'Avengeance'; src: url(Avengeance.otf) format('opentype'); font-weight: normal; font-style: normal; }
.scv { white-space: nowrap; display: inline-flex; align-items: baseline; }
.scv-s { text-transform: uppercase; font-size: .86em; font-weight: 800; letter-spacing: .03em; line-height: 1; background: -webkit-linear-gradient(top, #fff6e4, #f0b79e); background: linear-gradient(180deg, #fff6e4, #f0b79e); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.scv-v { text-transform: uppercase; margin-right: .05em; position: relative; top: .15em; font-family: 'Avengeance', 'Arial Narrow', sans-serif; font-weight: normal; font-size: 1em; line-height: 1; letter-spacing: .04em; margin-left: -.09em; background: none; -webkit-text-fill-color: #fff; color: #fff; text-shadow: .045em .045em 0 #e0303c; }
html[data-theme="light"] .scv-s { background: -webkit-linear-gradient(top, #e0303c, #a5121f); background: linear-gradient(180deg, #e0303c, #a5121f); -webkit-background-clip: text; background-clip: text; }
html[data-theme="light"] .scv-v { -webkit-text-fill-color: #14141c; color: #14141c; }
.btn.pri .scv-s, .btn.primary .scv-s, .btn.red .scv-s { background: none; -webkit-text-fill-color: #fff; color: #fff; }
.btn.pri .scv-v, .btn.primary .scv-v, .btn.red .scv-v { -webkit-text-fill-color: #fff; color: #fff; text-shadow: .045em .045em 0 rgba(0,0,0,.4); }

.avatar { width:84px; height:84px; border-radius:50%; overflow:hidden; background:var(--panel2); border:1px solid var(--line); display:flex; align-items:center; justify-content:center; font-size:2rem; color:var(--muted); flex:none; } .avatar img { width:100%; height:100%; object-fit:cover; display:block; }

/* Captain's Log (the blog) */
.log-list { display:grid; gap:16px; margin-top:22px; }
.log-item { display:block; color:inherit; transition:transform .15s ease, border-color .15s ease; } .log-item:hover { text-decoration:none; transform:translateY(-2px); border-color:var(--accent); }
.log-item h2 { font-size:1.35rem; margin:.2em 0 .4em; } .log-item p { margin:0; }
.log-head h1 { margin:.15em 0 .6em; }
.log-body { max-width:70ch; font-size:1.08rem; line-height:1.7; } .log-body h2 { margin:1.6em 0 .5em; font-size:1.4rem; } .log-body ul { padding-left:1.3em; margin:0 0 1em; } .log-body a { text-decoration:underline; word-break:break-word; }
.log-edit { margin:22px 0; display:grid; gap:12px; } .log-edit textarea { min-height:260px; font:inherit; line-height:1.55; }
@media (prefers-reduced-motion: reduce) { .log-item { transition:none; } }

/* ---------- Home page, built like the Home tab in the Scena apps ---------- */
body.apphome { background:#0b0b0f; }
body.apphome nav.top { position:fixed; left:0; right:0; top:0; background:linear-gradient(180deg, rgba(0,0,0,.62), rgba(0,0,0,0)); border-bottom:0; backdrop-filter:none; -webkit-backdrop-filter:none; transition:background .25s; }
body.apphome nav.top.solid { background:rgba(10,10,13,.78); box-shadow:0 1px 0 var(--line); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); }
body.apphome nav.top a.l { color:#d4d4dc; border-radius:6px; font-size:.95rem; } body.apphome nav.top a.l:hover { color:#fff; background:transparent; }
body.apphome nav.top a.l.on { color:#fff; font-weight:700; background:transparent; box-shadow:inset 0 -3px 0 var(--accent); border-radius:6px 6px 0 0; }
.ah { overflow-x:hidden; }
.ah-bb { position:relative; height:78vh; min-height:460px; max-height:900px; overflow:hidden; background:#101016; }
.ah-slide { position:absolute; inset:0; opacity:0; visibility:hidden; transition:opacity 1s, visibility 1s; }
.ah-slide.on { opacity:1; visibility:visible; }
.ah-art { position:absolute; inset:0; transform-origin:70% 40%; }
.ah-slide.on .ah-art { animation:ahdrift 28s ease-in-out infinite alternate; }
@keyframes ahdrift { from { transform:scale(1.02); } to { transform:scale(1.12); } }
.ah-slide[data-art="a"] .ah-art { background:radial-gradient(60% 70% at 78% 30%, #e0303c 0%, rgba(224,48,60,0) 62%), radial-gradient(50% 60% at 95% 85%, #7a1226 0%, rgba(122,18,38,0) 70%), linear-gradient(160deg,#1a0a10,#0b0b12); }
.ah-slide[data-art="b"] .ah-art { background:radial-gradient(60% 70% at 80% 35%, #3f63ff 0%, rgba(63,99,255,0) 62%), radial-gradient(45% 55% at 100% 90%, #1a2a7a 0%, rgba(26,42,122,0) 70%), linear-gradient(160deg,#0a0d1c,#0b0b12); }
.ah-slide[data-art="c"] .ah-art { background:radial-gradient(60% 70% at 78% 30%, #e68a1f 0%, rgba(230,138,31,0) 62%), radial-gradient(50% 60% at 95% 85%, #8a2a12 0%, rgba(138,42,18,0) 70%), linear-gradient(160deg,#1a1008,#0b0b12); }
.ah-art::after { content:""; position:absolute; right:7%; top:50%; width:min(34vw,420px); aspect-ratio:1; transform:translateY(-52%); background:rgba(255,255,255,.07); clip-path:polygon(18% 6%, 94% 50%, 18% 94%); border-radius:30%; filter:blur(.5px); }
.ah-bb::before { content:""; position:absolute; inset:0; z-index:1; pointer-events:none; background:linear-gradient(90deg, rgba(8,8,11,.92) 0%, rgba(8,8,11,.55) 38%, rgba(8,8,11,0) 70%); }
.ah-bb::after { content:""; position:absolute; left:0; right:0; bottom:0; height:45%; z-index:1; pointer-events:none; background:linear-gradient(180deg, rgba(11,11,15,0), #0b0b0f); }
.ah-body { position:absolute; z-index:2; left:max(24px, calc((100% - 1160px) / 2)); bottom:22%; width:min(46%, 760px); min-width:280px; }
.ah-t { font-size:clamp(2rem,4.6vw,3.4rem); line-height:1.05; margin:0 0 10px; font-weight:800; text-shadow:0 2px 14px rgba(0,0,0,.7); }
.ah-m { color:#d8d8e0; font-size:.95rem; margin-bottom:10px; text-shadow:0 1px 6px rgba(0,0,0,.8); }
.ah-o { color:#ececf2; font-size:1.05rem; line-height:1.5; margin:0 0 18px; text-shadow:0 1px 6px rgba(0,0,0,.8); }
.ah-b { display:flex; flex-wrap:wrap; gap:12px; }
.ah-play, .ah-info { display:inline-flex; align-items:center; padding:12px 28px; border-radius:6px; font-weight:700; font-size:1.02rem; text-decoration:none !important; }
.ah-play { background:#fff; color:#111; } .ah-play:hover { background:#e2e2e6; }
.ah-info { background:rgba(109,109,122,.7); color:#fff; } .ah-info:hover { background:rgba(109,109,122,.45); }
.ah-dots { position:absolute; z-index:3; right:max(24px, calc((100% - 1160px) / 2)); bottom:24%; display:flex; gap:6px; }
.ah-dot { width:22px; height:4px; padding:0; border:0; border-radius:2px; background:rgba(255,255,255,.3); cursor:pointer; } .ah-dot.on { background:#fff; }
.ah-dot:focus-visible, .ah-play:focus-visible, .ah-info:focus-visible, .ah-poster:focus-visible, .ah-g:focus-visible { outline:2px solid #fff; outline-offset:3px; }

.ah-rows { position:relative; z-index:3; margin-top:-96px; padding-bottom:70px; }
.ah-row { padding:0 0 10px; }
.ah-row > h2 { width:min(1160px,100% - 40px); margin:22px auto 0; font-size:1.2rem; font-weight:700; letter-spacing:.01em; }
.ah-rail { display:flex; gap:12px; overflow-x:auto; padding:22px max(20px, calc((100% - 1160px) / 2)) 34px; scroll-snap-type:x proximity; scrollbar-width:none; overscroll-behavior-x:contain; -webkit-overflow-scrolling:touch; }
.ah-rail::-webkit-scrollbar { display:none; }
.ah-rail > * { flex:0 0 auto; scroll-snap-align:start; }

/* raised, glassy tiles like the app */
.ah-wide, .ah-poster, .ah-g, .ah-step { background:linear-gradient(160deg, rgba(255,255,255,.075), rgba(255,255,255,.025)); border:1px solid rgba(255,255,255,.08); box-shadow:0 10px 26px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.06); border-radius:14px; transition:transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, border-color .25s; }
.ah-wide:hover, .ah-poster:hover, .ah-g:hover, .ah-step:hover { transform:translateY(-6px); border-color:rgba(224,48,60,.6); box-shadow:0 18px 38px rgba(0,0,0,.55); text-decoration:none; }
.ah-wide { width:300px; padding:0 0 16px; overflow:hidden; }
.ah-wart { height:150px; display:flex; align-items:flex-end; padding:14px 16px; background:linear-gradient(160deg,#e0303c,#3a0a10); }
.ah-wart b { font-size:1.9rem; font-weight:800; letter-spacing:.01em; text-shadow:0 2px 10px rgba(0,0,0,.5); }
.w2 .ah-wart { background:linear-gradient(160deg,#4b6cff,#16224d); } .w3 .ah-wart { background:linear-gradient(160deg,#e68a1f,#4a1a10); } .w4 .ah-wart { background:linear-gradient(160deg,#35c4a0,#0e3b33); } .w5 .ah-wart { background:linear-gradient(160deg,#9a6bff,#2a1650); }
.ah-wbar { height:4px; margin:0 0 12px; background:rgba(255,255,255,.18); } .ah-wbar i { display:block; height:100%; background:var(--accent); }
.ah-wide h3 { font-size:1.02rem; margin:0 16px 4px; } .ah-wide p { margin:0 16px; color:var(--muted); font-size:.9rem; line-height:1.45; white-space:normal; }
.ah-poster { width:170px; height:255px; display:flex; flex-direction:column; justify-content:flex-end; gap:4px; padding:14px; color:#fff; text-decoration:none; overflow:hidden; position:relative; }
.ah-poster::before { content:""; position:absolute; inset:0; z-index:0; }
.ah-poster > span { position:relative; z-index:1; }
.p1::before { background:linear-gradient(160deg,#e0303c,#2a0810); } .p2::before { background:linear-gradient(160deg,#e6b01f,#3a2208); } .p3::before { background:linear-gradient(160deg,#4b6cff,#101a44); } .p4::before { background:linear-gradient(160deg,#d94a8c,#3a0f28); } .p5::before { background:linear-gradient(160deg,#35c4a0,#0a2e28); } .p6::before { background:linear-gradient(160deg,#9a6bff,#20123e); }
.ah-poster::after { content:""; position:absolute; left:0; right:0; bottom:0; height:60%; z-index:0; background:linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.72)); }
.ah-pt { font-size:1.2rem; font-weight:800; line-height:1.1; } .ah-ps { font-size:.8rem; color:#e6e6ee; line-height:1.3; }

/* the numbered row: big outlined numerals behind the cards, like the Top 10 */
.ah-t10 { display:flex; align-items:flex-end; margin-right:14px; }
.ah-n { font-size:8.5rem; line-height:.78; font-weight:900; letter-spacing:-.06em; color:#0a0a10; -webkit-text-stroke:3px #6b6b78; margin-right:-6px; padding-bottom:38px; position:relative; z-index:0; }
.ah-step { position:relative; z-index:1; width:250px; padding:18px; } .ah-step h3 { font-size:1.05rem; margin:0 0 6px; } .ah-step p { margin:0; color:var(--muted); font-size:.92rem; line-height:1.45; white-space:normal; }

/* platform tiles: the same glass as the app's genre tiles */
.ah-genres { display:flex; gap:12px; flex-wrap:wrap; width:min(1160px,100% - 40px); margin:18px auto 10px; }
.ah-g { padding:16px 26px; font-weight:700; color:#fff; text-decoration:none; }
.ah-end { width:min(1160px,100% - 40px); margin:34px auto 0; padding:36px 0 0; border-top:1px solid var(--line); text-align:center; } .ah-end h2 { margin:0 0 .3em; font-size:1.8rem; }
.ah-end .ah-play { margin:6px 6px 0; } .ah-end .ah-info { margin:6px 6px 0; }
@media (max-width:700px) {
  .ah-bb { height:64vh; min-height:420px; } .ah-body { width:calc(100% - 48px); bottom:20%; } .ah-o { font-size:.95rem; display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden; } .ah-dots { right:auto; left:24px; bottom:calc(20% - 28px); }
  .ah-wide { width:220px; } .ah-wart { height:110px; } .ah-poster { width:130px; height:195px; } .ah-n { font-size:6rem; padding-bottom:30px; margin-right:-18px; } .ah-step { width:200px; }
}
@media (prefers-reduced-motion: reduce) { .ah-slide, .ah-slide.on .ah-art, .ah-wide, .ah-poster, .ah-g, .ah-step { transition:none; animation:none; } .ah-wide:hover, .ah-poster:hover, .ah-g:hover, .ah-step:hover { transform:none; } }

/* home page polish: first row lines up with the headline; phone top bar stays on one line */
.ah-rail { scroll-padding-inline:max(20px, calc((100% - 1160px) / 2)); }
nav.top a, nav.top .btn { white-space:nowrap; }
@media (max-width:700px) {
  nav.top .wrap { gap:2px; } nav.top .brand img { height:30px; } nav.top a.l { padding:8px 8px; font-size:.85rem; } nav.top .btn.sm { padding:8px 14px; font-size:.85rem; }
  .ah-rows { margin-top:-60px; }
}
@media (max-width:560px) { nav.top .brand img { height:26px; } nav.top .wrap { gap:0; } nav.top a.l { padding:7px 6px; font-size:.8rem; } nav.top .btn.sm { padding:7px 10px; font-size:.8rem; margin-left:2px; } }

/* Link a TV */
.tvl { max-width:460px; margin:0 auto; text-align:center; } .tvl h1 { margin-bottom:.3em; }
.tvl-form { display:grid; gap:14px; margin:26px 0 10px; } .tvl-form input { text-align:center; }
.tvl-pin { font-size:3rem !important; letter-spacing:.4em; font-weight:800; padding:14px 0 14px .4em !important; font-variant-numeric:tabular-nums; }
.tvl .inline { justify-content:center; }
.tvl-ok { width:72px; height:72px; margin:0 auto 18px; border-radius:50%; background:var(--ok); color:#06210f; font-size:2.4rem; font-weight:800; display:flex; align-items:center; justify-content:center; }
@media (max-width:370px) { nav.top a.l { font-size:.74rem; padding:7px 4px; } nav.top .btn.sm { padding:7px 8px; font-size:.74rem; } }
@media (max-width:380px) { nav.top #navcta { display:none; } }

/* the feature cards fit on the page (a grid) except on phones, where the row swipes */
@media (min-width:1100px) {
  .ah-rail.fit { display:grid; grid-template-columns:repeat(5, 1fr); overflow:visible; width:min(1160px, 100% - 40px); margin:0 auto; padding-left:0; padding-right:0; scroll-snap-type:none; }
  .ah-rail.fit .ah-wide { width:auto; }
  .ah-rail.fit .ah-wart { height:120px; } .ah-rail.fit .ah-wart b { font-size:1.6rem; }
}

/* Billboard ticker: Dolby Vision on every screen */
.ah-tick { position:absolute; z-index:3; left:0; right:0; bottom:100px; height:58px; overflow:hidden; display:flex; align-items:center; background:rgba(8,8,11,.62); border-top:1px solid rgba(224,48,60,.55); border-bottom:1px solid rgba(255,255,255,.08); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); }
.ah-tickin { display:flex; flex:none; width:max-content; animation:ahtick 38s linear infinite; }
.ah-tk { display:flex; align-items:center; flex:none; white-space:nowrap; }
.ah-tk b { font-size:1.7rem; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:#fff; }
.ah-tk em { font-style:normal; font-size:1.7rem; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:transparent; -webkit-text-stroke:1.5px rgba(255,255,255,.85); }
.ah-tkd { display:inline-block; width:12px; height:12px; margin:0 34px; background:#e0303c; transform:rotate(45deg); flex:none; }
.ah-bb:hover .ah-tickin { animation-play-state:paused; }
@keyframes ahtick { from { transform:translateX(0); } to { transform:translateX(-50%); } }
@media (prefers-reduced-motion:reduce) { .ah-tickin { animation:none; } }
.ah-body { bottom:calc(100px + 58px + 26px); } .ah-dots { bottom:calc(100px + 58px + 30px); }
@media (max-width:700px) { .ah-tick { height:46px; bottom:96px; } .ah-tk b, .ah-tk em { font-size:1.25rem; } .ah-tkd { width:9px; height:9px; margin:0 22px; } .ah-body { bottom:calc(96px + 46px + 22px); } .ah-dots { bottom:calc(96px + 46px + 26px); } }
@media (max-width:700px) { .ah-bb { height:auto; min-height:800px; } .ah-body { bottom:calc(96px + 46px + 50px); } .ah-dots { bottom:calc(96px + 46px + 18px); } }

/* Dolby Vision ticker, bigger */
.ah-tick { height:76px; bottom:100px; } .ah-tk b, .ah-tk em { font-size:2.5rem; letter-spacing:.12em; } .ah-tkd { width:16px; height:16px; margin:0 40px; }
.ah-body { bottom:calc(100px + 76px + 26px); } .ah-dots { bottom:calc(100px + 76px + 30px); }
@media (max-width:700px) { .ah-tick { height:60px; bottom:96px; } .ah-tk b, .ah-tk em { font-size:1.7rem; } .ah-tkd { width:11px; height:11px; margin:0 26px; } .ah-body { bottom:calc(96px + 60px + 50px); } .ah-dots { bottom:calc(96px + 60px + 18px); } }
/* Levels buttons on the home page */
.ah-levels { width:min(1160px,100% - 40px); margin:34px auto 10px; }
.ah-levels > h2 { font-size:1.2rem; font-weight:700; margin:0 0 14px; }
.ah-lv { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.ah-lvb { display:flex; flex-direction:column; justify-content:center; gap:6px; min-height:112px; padding:20px 24px; border-radius:10px; color:#fff; text-decoration:none !important; border:1px solid rgba(255,255,255,.12); background:linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); transition:transform .18s, border-color .18s; }
.ah-lvb b { font-size:1.9rem; font-weight:800; line-height:1.1; } .ah-lvb > span { color:#c9c9d3; font-size:.95rem; }
.ah-lvb:hover { transform:translateY(-4px); border-color:rgba(224,48,60,.7); }
.ah-lvb.hot { background:linear-gradient(160deg, rgba(224,48,60,.35), rgba(122,18,38,.2)); border-color:rgba(224,48,60,.55); }
.ah-lvb.x { position:relative; overflow:hidden; background:linear-gradient(160deg,#1a1230,#0c0a16); border-color:rgba(160,120,255,.45); }
.ah-lvb.x::after { content:""; position:absolute; top:0; bottom:0; width:40%; left:-60%; background:linear-gradient(100deg, transparent, rgba(255,255,255,.16), transparent); transform:skewX(-18deg); animation:lvsheen 4.5s ease-in-out infinite; }
.ah-lvb.x > span { color:#c4b2ff; letter-spacing:.18em; text-transform:uppercase; font-weight:700; font-size:.8rem; }
@keyframes lvsheen { 0%,55% { left:-60%; } 100% { left:130%; } }
@media (max-width:700px) { .ah-lv { grid-template-columns:1fr; } .ah-lvb { min-height:92px; } }
@media (prefers-reduced-motion:reduce) { .ah-lvb.x::after { animation:none; display:none; } }
/* Tiers page */
.tr-h { font-size:clamp(2rem,4.6vw,3.2rem); line-height:1.05; margin:0 0 10px; font-weight:800; }
.tr-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin:26px 0 34px; }
.tr-card { position:relative; display:flex; flex-direction:column; gap:10px; padding:26px; border-radius:12px; color:#fff; text-decoration:none !important; border:1px solid rgba(255,255,255,.12); background:linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); overflow:hidden; scroll-margin-top:90px; }
.tr-card:target { border-color:#fff; }
.tr-card .tr-name { font-size:2.1rem; font-weight:800; line-height:1.1; } .tr-price { font-size:1.15rem; color:#f0b79e; font-weight:700; } .tr-card p { margin:0; color:#d5d5de; line-height:1.5; flex:1; }
.tr-card.hot { background:linear-gradient(160deg, rgba(224,48,60,.38), rgba(122,18,38,.22)); border-color:rgba(224,48,60,.6); }
.tr-card .ah-play { align-self:flex-start; }
.tr-card.x { background:radial-gradient(120% 90% at 20% 0%, #2c1b57 0%, #120d24 55%, #09070f 100%); border-color:rgba(160,120,255,.55); box-shadow:0 0 0 1px rgba(160,120,255,.15), 0 18px 50px rgba(90,50,200,.28); }
.tr-sheen { position:absolute; top:0; bottom:0; width:45%; left:-60%; background:linear-gradient(100deg, transparent, rgba(255,255,255,.14), transparent); transform:skewX(-18deg); animation:lvsheen 4.5s ease-in-out infinite; pointer-events:none; }
.tr-soon span { display:inline-block; padding:8px 16px; border:1px solid rgba(190,160,255,.7); border-radius:6px; color:#d9ccff; font-weight:800; letter-spacing:.22em; text-transform:uppercase; font-size:.85rem; background:rgba(120,80,255,.14); animation:soonpulse 2.6s ease-in-out infinite; }
@keyframes soonpulse { 0%,100% { box-shadow:0 0 0 0 rgba(160,120,255,0); } 50% { box-shadow:0 0 22px 2px rgba(160,120,255,.45); } }
.tr-wrap { overflow-x:auto; border:1px solid rgba(255,255,255,.1); border-radius:12px; }
.tr-t { width:100%; border-collapse:collapse; min-width:720px; }
.tr-t th, .tr-t td { padding:13px 16px; text-align:left; border-bottom:1px solid rgba(255,255,255,.07); vertical-align:middle; }
.tr-t thead th { font-size:1.05rem; background:rgba(255,255,255,.04); } .tr-t thead th.x .scv-s { opacity:.9; }
.tr-t tr.tg th { background:rgba(255,255,255,.03); color:#9a9aab; font-size:.8rem; letter-spacing:.1em; text-transform:uppercase; }
.tr-t tbody th[scope=row] { font-weight:500; color:#e6e6ee; }
.tr-t td.v { color:#fff; font-weight:700; background:rgba(224,48,60,.07); }
.tr-t td.x { background:rgba(120,80,255,.06); } .soon-dash { color:#a794e8; letter-spacing:.14em; text-transform:uppercase; font-size:.72rem; font-weight:700; }
@media (max-width:760px) { .tr-cards { grid-template-columns:1fr; } }
@media (prefers-reduced-motion:reduce) { .tr-sheen { display:none; } .tr-soon span { animation:none; } }
/* Lockup inside white buttons */
.ah-play, .ah-info { gap:.3em; }
.ah-play .scv-s { background:none; -webkit-text-fill-color:#c0202c; color:#c0202c; }
.ah-play .scv-v { -webkit-text-fill-color:#111; color:#111; text-shadow:.045em .045em 0 #e0303c; }
@media (max-width:760px) { .tr-t { min-width:0; font-size:.82rem; } .tr-t th, .tr-t td { padding:10px 7px; } .tr-t thead th { font-size:.8rem; } .soon-dash { font-size:.6rem; letter-spacing:.06em; } .tr-t .scv-v { font-size:.9em; } }

/* Vision-X: a bold sharp italic X, set clear of the N */
.scv-x { display:inline-block; position:relative; vertical-align:baseline; width:.92em; height:.74em; margin-left:-.2em; top:-.04em; text-transform:none; }
.scv-x svg { position:absolute; inset:0; width:100%; height:100%; overflow:visible; }
.scv-x .mn { fill:#e0303c; } .scv-x .sh { fill:#fff; }
html[data-theme="light"] .scv-x .sh { fill:#14141c; }
.btn.pri .scv-x .mn, .btn.primary .scv-x .mn, .btn.red .scv-x .mn { fill:#fff; } .btn.pri .scv-x .sh, .btn.primary .scv-x .sh, .btn.red .scv-x .sh { fill:rgba(0,0,0,.4); }
.ah-play .scv-x .sh { fill:#111; }

.scv-h { display:inline-block; position:relative; top:-.09em; margin:0 .02em 0 .11em; }

.tr-tease { font-size:1.05rem; line-height:1.5; } .tr-tease b { display:block; font-size:1.35rem; margin-bottom:4px; background:linear-gradient(90deg,#fff,#c4b2ff); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }

/* Calmer scroller */
.ah-tick { height:42px; bottom:100px; background:rgba(8,8,11,.55); border-top:1px solid rgba(255,255,255,.1); border-bottom:1px solid rgba(255,255,255,.06); }
.ah-tickin { animation-duration:60s; }
.ah-tk b { font-size:.92rem; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:rgba(255,255,255,.82); }
.ah-tkd { width:5px; height:5px; margin:0 30px; background:rgba(224,48,60,.9); transform:none; border-radius:50%; }
.ah-body { bottom:calc(100px + 42px + 26px); } .ah-dots { bottom:calc(100px + 42px + 30px); }
@media (max-width:700px) { .ah-tick { height:38px; bottom:96px; } .ah-tk b { font-size:.8rem; } .ah-tkd { margin:0 20px; } .ah-body { bottom:calc(96px + 38px + 50px); } .ah-dots { bottom:calc(96px + 38px + 18px); } }
.tr-t tr.qp td { font-size:.95rem; font-style:italic; color:#d5d5de; padding-top:16px; padding-bottom:16px; } .tr-t tr.qp td.v { color:#fff; } .tr-t tr.qp td.x { color:#c4b2ff; }

/* formats page */
.fm-h { font-size:1.45rem; margin:44px 0 14px; font-weight:800; }
.fm-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin:18px 0 6px; }
.fm-c { border:1px solid rgba(255,255,255,.1); background:rgba(255,255,255,.03); border-radius:12px; padding:18px 20px; }
.fm-c b { display:block; font-size:1.05rem; margin-bottom:6px; } .fm-c p { margin:0; color:#c9c9d6; line-height:1.5; font-size:.95rem; }
.fm-note { margin:26px 0 0; padding:20px 22px; border-radius:12px; border:1px solid rgba(224,48,60,.45); background:rgba(224,48,60,.08); line-height:1.6; max-width:92ch; }
.fm-note b { color:#fff; }
.fm-t { min-width:620px; } .fm-t td { color:#d6d6e2; line-height:1.5; }
.fm-p { margin:12px 0 0; max-width:92ch; line-height:1.6; }
.fm-ul { margin:0; padding-left:20px; line-height:1.8; color:#d6d6e2; max-width:92ch; }
@media (max-width:760px) { .fm-3 { grid-template-columns:1fr; } }

/* the word Scena, wherever it is written */
.scn { text-transform: uppercase; font-size: .9em; font-weight: 800; letter-spacing: .03em; background: linear-gradient(180deg, #fff6e4, #f0b79e); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
html[data-theme="light"] .scn { background: linear-gradient(180deg, #e0303c, #a5121f); -webkit-background-clip: text; background-clip: text; }
.btn.pri .scn, .btn.primary .scn, .btn.red .scn { background: none; -webkit-text-fill-color: #fff; color: #fff; }
.ah-play .scn { background: none; -webkit-text-fill-color: #c0202c; color: #c0202c; }

/* beta page */
.bt-steps { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin:26px 0 0; }
.bt-s { border:1px solid rgba(255,255,255,.1); background:rgba(255,255,255,.03); border-radius:12px; padding:16px 18px; } .bt-s > b { display:block; margin-bottom:4px; } .bt-s p { margin:0; color:#c9c9d6; line-height:1.5; font-size:.93rem; }
details.bt { border:1px solid rgba(255,255,255,.1); border-radius:12px; background:rgba(255,255,255,.025); margin:0 0 12px; }
details.bt > summary { cursor:pointer; list-style:none; padding:16px 20px; font-size:1.1rem; font-weight:700; color:var(--text); } details.bt > summary::-webkit-details-marker { display:none; }
details.bt > summary::after { content:"+"; float:right; color:var(--muted); font-weight:400; } details.bt[open] > summary::after { content:"\2212"; }
.bt-b { padding:0 20px 18px; line-height:1.6; color:#d6d6e2; max-width:92ch; } .bt-b h3 { font-size:1rem; margin:18px 0 6px; } .bt-b ol, .bt-b ul { padding-left:22px; } .bt-b li { margin:5px 0; }
.bt-form { margin:14px 0 16px; padding:16px; border:1px solid rgba(255,255,255,.1); border-radius:12px; background:rgba(0,0,0,.18); } .bt-row { display:flex; gap:10px; margin-top:6px; } .bt-row input { flex:1; }
.bt-code { margin:8px 0; padding:14px 16px; background:#0c0709; border:1px solid rgba(255,255,255,.1); border-radius:10px; overflow-x:auto; font:13px/1.6 ui-monospace,Menlo,Consolas,monospace; color:#f0e6e4; white-space:pre; }
.bt-b code { background:rgba(255,255,255,.07); padding:1px 6px; border-radius:5px; }
@media (max-width:760px) { .bt-steps { grid-template-columns:1fr; } .bt-row { flex-direction:column; } }

/* show / hide password */
.pw { position:relative; display:block; } .pw > input { padding-right:46px; }
.pw-eye { position:absolute; right:4px; top:50%; transform:translateY(-50%); width:38px; height:38px; display:flex; align-items:center; justify-content:center; background:none; border:0; border-radius:8px; color:var(--muted); cursor:pointer; padding:0; }
.pw-eye:hover { color:var(--text); } .pw-eye:focus-visible { outline:2px solid var(--accent); outline-offset:0; }

/* beta request pop-up */
.bt-dlg { width:min(680px,calc(100vw - 24px)); max-height:calc(100vh - 32px); padding:0; border:1px solid var(--line); border-radius:16px; background:var(--panel); color:var(--text); }
.bt-dlg::backdrop { background:rgba(0,0,0,.72); }
.bt-pf { padding:22px 24px 26px; } .bt-top { display:flex; align-items:center; justify-content:space-between; gap:12px; } .bt-top h2 { margin:0; font-size:1.35rem; }
.bt-x { width:36px; height:36px; border-radius:10px; border:1px solid var(--line); background:var(--panel2); color:var(--text); font-size:1.4rem; line-height:1; cursor:pointer; }
.bt-g { border:0; padding:0; margin:20px 0 0; min-width:0; } .bt-g legend { font-weight:700; padding:0; margin-bottom:6px; } .bt-g p { margin:0 0 8px; }
.bt-g input[type=text], .bt-g input[type=email], .bt-g textarea { margin:4px 0 10px; }
.bt-g textarea { width:100%; background:var(--bg); color:var(--text); border:1px solid var(--line); border-radius:10px; padding:12px 14px; font:inherit; resize:vertical; }
.bt-opts { display:grid; grid-template-columns:repeat(auto-fill,minmax(210px,1fr)); gap:8px; }
.bt-opt { display:flex; align-items:center; gap:10px; padding:10px 12px; border:1px solid var(--line); border-radius:10px; background:var(--bg); cursor:pointer; }
.bt-opt input { width:18px; height:18px; accent-color:var(--accent); flex:none; margin:0; } .bt-opt:has(input:checked) { border-color:var(--accent); background:rgba(224,48,60,.1); }
.bt-all { float:right; margin-top:-30px; background:none; border:0; color:var(--accent); font:inherit; font-size:.9rem; cursor:pointer; }
.bt-ms { display:grid; gap:10px; margin-top:12px; } .bt-m { display:grid; gap:4px; } .bt-m input { margin:0 !important; }
.bt-done { text-align:center; padding:30px 6px; } .bt-pf > .btn { margin-top:20px; width:100%; }
@media (max-width:560px) { .bt-pf { padding:18px 16px 22px; } .bt-opts { grid-template-columns:1fr; } }

/* sign-up: free-name suggestions */
.nsug { margin:6px 0 0; } .nchips { display:flex; flex-wrap:wrap; gap:8px; margin-top:6px; }
.nchip { padding:7px 14px; border-radius:10px; border:1px solid var(--line); background:var(--panel2); color:var(--text); font:inherit; cursor:pointer; } .nchip:hover { border-color:var(--accent); }
input[type=date] { color-scheme:dark; min-height:48px; }
