/* ReplayCourt site: index, support, privacy. (/style.css stays as the base for the tournament app in /t/.) */
:root {
  --bg: #040916;
  --bg-2: #081128;
  --panel: rgba(18, 32, 66, .55);
  --glass: rgba(150, 185, 255, .055);
  --glass-2: rgba(150, 185, 255, .09);
  --line: rgba(150, 185, 255, .14);
  --line-strong: rgba(150, 185, 255, .26);
  --fg: #eef3ff;
  --muted: #aab9d6;
  --dim: #8496b8;
  --blue: #2f6bff;
  --cyan: #38bdf8;
  --cyan-2: #7dd3fc;
  --grad: linear-gradient(120deg, #3b7bff 0%, #38bdf8 100%);
  --radius: 22px;
  --shadow: 0 40px 100px -30px rgba(0, 0, 0, .8), 0 0 0 1px var(--line);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth; -webkit-text-size-adjust: 100%;
  background:
    radial-gradient(1200px 700px at 90% -10%, rgba(56, 189, 248, .13), transparent 60%),
    radial-gradient(1000px 640px at -10% 8%, rgba(47, 107, 255, .16), transparent 60%),
    var(--bg);
  background-repeat: no-repeat;
  background-color: var(--bg);
}
html, body { margin: 0; }
body {
  background: transparent; color: var(--fg); overflow-x: hidden;
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
a { color: var(--cyan-2); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--fg); color: var(--bg); padding: 8px 12px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 8px; }

/* Ball canvas (drawn by site.js behind everything) */
.ballfx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(4, 9, 22, .62);
  backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-weight: 750;
  letter-spacing: -.01em; font-size: 1.1rem; white-space: nowrap; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.brand b { font-weight: 750; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { color: var(--muted); text-decoration: none; padding: 7px 11px; border-radius: 999px; font-size: .93rem; white-space: nowrap; transition: color .2s, background .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); background: var(--glass-2); }
.nav .hide-sm { display: none; }
@media (min-width: 860px) { .nav .hide-sm { display: inline-block; } }
@media (max-width: 439px) { .nav .hide-xs { display: none; } }
.pill { margin-left: 8px; display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--cyan-2); border: 1px solid rgba(56, 189, 248, .32); background: rgba(56, 189, 248, .08);
  border-radius: 999px; padding: 5px 12px; white-space: nowrap; font-weight: 650; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

/* ---------- Type ---------- */
h1 { font-size: clamp(2.6rem, 7.2vw, 5.4rem); line-height: 1; margin: 0 0 22px; letter-spacing: -.045em; font-weight: 780; }
h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.06; margin: 0 0 16px; letter-spacing: -.035em; font-weight: 750; }
h3 { font-size: 1.12rem; margin: 0 0 6px; letter-spacing: -.01em; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.08rem, 2vw, 1.28rem); color: var(--muted); max-width: 640px; margin: 0 0 30px; }
.kicker { color: var(--cyan-2); font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 14px; }
.sub { color: var(--muted); margin: 0; max-width: 600px; font-size: 1.08rem; }
.kn { display: inline-block; margin-right: 10px; padding: 1px 8px; border-radius: 999px; border: 1px solid rgba(56, 189, 248, .4); color: var(--fg); font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px; font-weight: 680;
  text-decoration: none; white-space: nowrap; font-size: 1rem; transition: transform .2s var(--ease), box-shadow .2s, background .2s; }
.button svg { width: 18px; height: 18px; }
.primary { background: var(--grad); color: #021027; box-shadow: 0 12px 34px -8px rgba(34, 140, 238, .6), inset 0 1px 0 rgba(255, 255, 255, .35); }
.primary:hover { color: #021027; transform: translateY(-1px); box-shadow: 0 16px 40px -8px rgba(34, 160, 238, .75), inset 0 1px 0 rgba(255, 255, 255, .35); }
.ghost { border: 1px solid var(--line-strong); color: var(--fg); background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.ghost:hover { background: var(--glass-2); color: #fff; }
.ghost:hover svg { transform: translateX(2px); }
.ghost svg { transition: transform .2s var(--ease); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 24px; isolation: isolate; }
@media (min-width: 768px) { .hero { padding: 88px 0 40px; } }
.hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-copy .lead { margin-left: auto; margin-right: auto; }
.hero-copy .cta { justify-content: center; }
.hero-ambient { position: absolute; z-index: -1; left: 50%; top: 38%; width: min(1100px, 100%); height: 60%; transform: translateX(-50%);
  background-size: cover; background-position: center; filter: blur(70px) saturate(130%); opacity: .32; border-radius: 50%;
  transition: background-image .8s; pointer-events: none; }
.hero[data-sport="beach"] .hero-ambient { background-image: url("/assets/clips/beach-volleyball-poster-1280.jpg"); }
.hero[data-sport="padel"] .hero-ambient { background-image: url("/assets/clips/padel-poster.jpg"); }
.hero[data-sport="tennis"] .hero-ambient { background-image: url("/assets/clips/tennis-poster.jpg"); }

.hero-player { max-width: 1280px; margin: 44px auto 0; padding: 0 16px; }
@media (min-width: 768px) { .hero-player { padding: 0 32px; margin-top: 56px; } }

.tabs { display: flex; justify-content: center; gap: 4px; width: max-content; max-width: 100%; margin: 0 auto 18px; padding: 5px;
  border-radius: 999px; background: rgba(12, 22, 48, .6); border: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 10px 30px -12px rgba(0, 0, 0, .6); }
.tab { -webkit-appearance: none; appearance: none; position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px; border: 0; margin: 0; cursor: pointer;
  font: inherit; font-size: .95rem; font-weight: 620; color: var(--muted); background: transparent; white-space: nowrap;
  padding: 9px 16px; border-radius: 999px; transition: color .25s, background .25s; }
.tab svg { width: 18px; height: 18px; flex: none; }
.tab:hover { color: var(--fg); }
.tab[aria-selected="true"] { color: #021027; background: var(--grad); box-shadow: 0 6px 18px -6px rgba(56, 189, 248, .7); }
.tab-progress { position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: rgba(2, 16, 39, .5);
  transform-origin: left; transform: scaleX(var(--p, 0)); opacity: 0; }
.hero.auto .tab[aria-selected="true"] .tab-progress { opacity: 1; }
@media (max-width: 479px) {
  .tab svg { display: none; }
  .tab { padding: 9px 14px; font-size: .9rem; }
}

.stage-video { position: relative; container-type: inline-size; }
.panels { display: grid; }
.panel { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility 0s linear .7s; }
.panel.is-active { opacity: 1; visibility: visible; transition: opacity .7s var(--ease), visibility 0s; }
.frame { position: relative; border-radius: 26px; overflow: hidden; background: #071026; aspect-ratio: 16 / 9;
  box-shadow: 0 50px 120px -40px rgba(20, 90, 220, .55), 0 0 0 1px var(--line-strong); }
.frame::after { content: ""; position: absolute; inset: auto 0 0 0; height: 26%; pointer-events: none;
  background: linear-gradient(to top, rgba(4, 9, 22, .55), transparent); opacity: 0; transition: opacity .3s; }
.stage-video:hover .frame::after, .hero.paused .frame::after { opacity: 1; }
.frame video { width: 100%; height: 100%; object-fit: cover; }
.panel figcaption { margin: 16px 4px 0; color: var(--muted); font-size: 1rem; max-width: 720px; }
.panel figcaption strong { color: var(--fg); margin-right: 6px; }
.clip-note { margin: 8px 4px 0; color: var(--dim); font-size: .85rem; }
@media (max-width: 599px) {
  .hero-player { padding: 0; }
  .frame { border-radius: 0; box-shadow: 0 30px 80px -30px rgba(20, 90, 220, .5); }
  .panel figcaption, .clip-note { margin-left: 16px; margin-right: 16px; }
}

.playtoggle { position: absolute; right: 16px; top: calc(100cqw * 9 / 16 - 60px); z-index: 2; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); color: #fff; cursor: pointer;
  background: rgba(8, 16, 36, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .2s var(--ease), background .2s; }
.playtoggle[hidden] { display: none; }
.playtoggle:hover { background: rgba(8, 16, 36, .8); }
.playtoggle svg { width: 18px; height: 18px; }
.playtoggle .ic-play { display: none; }
.hero.paused .playtoggle .ic-play { display: block; }
.hero.paused .playtoggle .ic-pause { display: none; }
/* Paused (or reduced motion): a big centred play button on the poster. */
.hero.paused .playtoggle { width: 76px; height: 76px; right: auto; left: calc(50% - 38px); top: calc(100cqw * 9 / 32 - 38px); background: rgba(8, 16, 36, .6); }
.hero.paused .playtoggle svg { width: 30px; height: 30px; margin-left: 3px; }

/* ---------- Sections ---------- */
main { overflow-x: clip; }
.block { position: relative; padding: 96px 0; }
@media (min-width: 900px) { .block { padding: 128px 0; } }
.head { margin-bottom: 48px; max-width: 760px; }
.glow { position: absolute; z-index: -1; width: 620px; height: 620px; border-radius: 50%; pointer-events: none; filter: blur(40px);
  background: radial-gradient(closest-side, rgba(47, 107, 255, .22), transparent); }
.g1 { left: -220px; top: 0; }
.g2 { right: -240px; top: 10%; background: radial-gradient(closest-side, rgba(56, 189, 248, .16), transparent); }
.g3 { left: 50%; top: -320px; margin-left: -310px; background: radial-gradient(closest-side, rgba(56, 189, 248, .3), transparent); }

.card { position: relative; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(150, 185, 255, .07), rgba(150, 185, 255, .02));
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: transform .35s var(--ease), border-color .35s, background .35s; }
.card:hover { transform: translateY(-3px); border-color: var(--line-strong); background: linear-gradient(180deg, rgba(150, 185, 255, .1), rgba(150, 185, 255, .03)); }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }
.ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px; color: var(--cyan-2);
  background: linear-gradient(160deg, rgba(47, 107, 255, .26), rgba(56, 189, 248, .1)); border: 1px solid rgba(96, 165, 250, .3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.ico svg { width: 22px; height: 22px; }

.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .flow { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .flow { grid-template-columns: repeat(4, 1fr); } }

.sports { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.sports li { display: flex; gap: 14px; align-items: center; padding: 14px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--glass); }
.sports svg { width: 34px; height: 34px; flex: none; color: var(--cyan-2); }
.sports b { display: block; font-size: .98rem; }
.sports span { display: block; color: var(--muted); font-size: .88rem; }
.sports .more { border-style: dashed; background: transparent; }
.sports .more svg { color: var(--dim); }

/* Feature rows */
.feature { display: grid; gap: 40px; align-items: center; padding: 72px 0; }
@media (min-width: 960px) {
  .feature { grid-template-columns: .9fr 1.1fr; gap: 72px; padding: 112px 0; }
  .feature.flip .copy { order: 2; }
}
.feature .sub { margin-bottom: 4px; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; color: var(--muted); }
.ticks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%;
  background: rgba(56, 189, 248, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%237dd3fc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat;
  border: 1px solid rgba(56, 189, 248, .32); }

/* Media: real frames and app screens */
.media { position: relative; margin: 0; display: grid; justify-items: center; }
.media::before { content: ""; position: absolute; inset: 4% 6% 14%; z-index: -1; border-radius: 40px;
  background: radial-gradient(closest-side, rgba(47, 107, 255, .3), transparent); filter: blur(30px); }
.par { width: 100%; display: grid; justify-items: center; will-change: translate; }
.screen { width: 100%; border-radius: 18px; overflow: hidden; background: #050a18; box-shadow: var(--shadow); }
.screen img { width: 100%; height: auto; }
.device { padding: 9px; background: linear-gradient(160deg, #26324f, #0b1224 60%); box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, .1); }
.device img { width: 100%; height: auto; }
.device.phone { width: min(290px, 74vw); border-radius: 50px; }
.device.phone img { border-radius: 42px; }
.device.phone.sm { width: min(220px, 52vw); }
.device.tablet { width: min(460px, 88%); border-radius: 30px; padding: 11px; }
.device.tablet img { border-radius: 20px; }
.device.land { width: 100%; border-radius: 40px; padding: 9px; }
.cap { margin: 20px 0 0; color: var(--dim); font-size: .84rem; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; justify-self: start; }
.cap span { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; }

/* Tournament pair: tablet with a TV slide overlapping */
.duo-tour .over { width: min(380px, 80%); margin-top: -90px; justify-self: end; }
.screen.sm { border-radius: 14px; }
@media (min-width: 600px) { .duo-tour .over { margin-top: -150px; } }

/* Camera pair: landscape camera phone, Operator phone overlapping */
.camview { position: relative; border-radius: 32px; overflow: hidden; }
.camview img { border-radius: 0; }
.outline { position: absolute; inset: 0; width: 100%; height: 100%; }
.outline path { fill: none; stroke: #38bdf8; stroke-width: 5; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(56, 189, 248, .7)); }
.outline circle { fill: #38bdf8; stroke: #050b1a; stroke-width: 3; }
.hud { position: absolute; left: 5%; bottom: 8%; font-size: .78rem; font-weight: 650; color: var(--cyan-2); padding: 4px 10px; border-radius: 999px;
  background: rgba(8, 16, 36, .65); border: 1px solid rgba(103, 232, 249, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.duo-cam .over { width: auto; margin-top: -60px; justify-self: end; margin-right: 4%; }
@media (min-width: 600px) { .duo-cam .over { margin-top: -120px; } }

/* More grid */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }

/* Steps */
ol.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: s; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
ol.steps li { counter-increment: s; border-top: 1px solid var(--line-strong); padding: 22px 4px 0; }
ol.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-weight: 750; font-size: 2.2rem; letter-spacing: -.03em; margin-bottom: 8px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
ol.steps strong { display: block; margin-bottom: 6px; font-size: 1.08rem; }
ol.steps span { color: var(--muted); font-size: .98rem; }

/* Closing CTA */
.closer { position: relative; overflow: hidden; isolation: isolate; border-radius: 36px; padding: 72px 24px; margin: 40px 0 0; text-align: center;
  border: 1px solid var(--line-strong); background: linear-gradient(180deg, rgba(16, 34, 76, .85), rgba(6, 14, 34, .9)); }
.closer .sub { margin: 0 auto 30px; }
.closer .cta { justify-content: center; }
.closer-logo { width: 88px; height: 88px; margin: 0 auto 22px; border-radius: 22px; box-shadow: 0 20px 60px rgba(47, 107, 255, .45); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: .9rem; margin-top: 96px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--fg); }

/* ---------- Document pages (support, privacy) ---------- */
.doc { max-width: 780px; margin: 0 auto; padding: 64px 16px 24px; }
@media (min-width: 768px) { .doc { padding: 96px 32px 24px; } }
.doc h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); }
.doc h2 { font-size: 1.45rem; margin: 52px 0 12px; letter-spacing: -.02em; }
.doc h3 { margin: 28px 0 4px; }
.doc p, .doc li { color: #d3def3; }
.doc .lead { color: var(--muted); }
.doc .muted { color: var(--dim); }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin-bottom: 6px; }
.doc li::marker { color: var(--cyan-2); }
.doc details { border: 1px solid var(--line); border-radius: 16px; background: var(--glass); margin: 10px 0; padding: 0 20px; transition: background .25s, border-color .25s; }
.doc details:hover { border-color: var(--line-strong); }
.doc details[open] { background: var(--glass-2); border-color: var(--line-strong); }
.doc summary { cursor: pointer; font-weight: 640; padding: 16px 30px 16px 0; list-style: none; position: relative; }
.doc summary::-webkit-details-marker { display: none; }
.doc summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--cyan-2);
  border-bottom: 2px solid var(--cyan-2); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.doc details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.doc details > :last-child { margin-bottom: 18px; }
.doc details p, .doc details ul, .doc details ol { margin-top: 0; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
  }
}
@keyframes reveal { from { opacity: 0; transform: translateY(36px) scale(.985); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ballfx { display: none; }
}
.hero + .block { padding-top: 64px; }
@media (min-width: 900px) { .hero + .block { padding-top: 88px; } }
@media (max-width: 639px) {
  .flow .card { display: grid; grid-template-columns: 44px 1fr; gap: 2px 16px; padding: 18px; }
  .flow .ico { margin: 0; grid-row: span 2; }
}

/* Desktop hero player: sports listed on the left, the clip at the same size as the feature images
   (about 620 px), with the explainer text under the clip. */
@media (min-width: 960px) {
  .hero-player { max-width: 1200px; display: grid; grid-template-columns: minmax(240px, 300px) minmax(0, 640px);
    justify-content: center; align-items: center; column-gap: 48px; margin-top: 64px; }
  .hero-player .tabs { grid-column: 1; grid-row: 1 / span 2; flex-direction: column; align-items: stretch; width: auto;
    margin: 0; padding: 8px; gap: 6px; border-radius: 22px; }
  .hero-player .tab { justify-content: flex-start; padding: 16px 20px; font-size: 1.1rem; border-radius: 16px; gap: 12px; }
  .hero-player .tab svg { width: 24px; height: 24px; }
  .hero-player .tab-progress { left: 20px; right: 20px; bottom: 7px; }
  .hero-player .stage-video { grid-column: 2; grid-row: 1; }
  .hero-player .clip-note { grid-column: 2; grid-row: 2; }
  .hero-player .frame { border-radius: 22px; }
}

/* "Runs live" line under the hero clip */
.clip-live { display: flex; align-items: center; gap: 10px; margin: 18px 4px 0; color: var(--fg); font-size: 1.05rem; font-weight: 600; }
.live-dot { width: 10px; height: 10px; flex: none; border-radius: 50%; background: #ff3b5c; box-shadow: 0 0 0 0 rgba(255, 59, 92, .6); animation: livepulse 2s infinite; }
@keyframes livepulse { 0% { box-shadow: 0 0 0 0 rgba(255, 59, 92, .55); } 70% { box-shadow: 0 0 0 10px rgba(255, 59, 92, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 59, 92, 0); } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }
@media (max-width: 599px) { .clip-live { margin-left: 16px; margin-right: 16px; font-size: 1rem; } }
@media (min-width: 960px) { .hero-player .clip-live { grid-column: 2; grid-row: 2; } .hero-player .clip-note { grid-row: 3; } .hero-player .tabs { grid-row: 1 / span 3; } }

/* Text under the hero clip: one consistent block aligned to the video's left edge. */
.panel figcaption, .clip-live, .clip-note { margin-left: 0; margin-right: 0; max-width: none; text-wrap: pretty; line-height: 1.5; }
.panel figcaption { margin-top: 16px; font-size: 1rem; color: var(--muted); }
.panel figcaption strong { display: block; margin: 0 0 2px; color: var(--fg); font-size: 1.05rem; font-weight: 650; }
.clip-live { margin-top: 12px; font-size: .95rem; font-weight: 500; color: var(--muted); align-items: flex-start; }
.clip-live .live-dot { margin-top: .5em; }
.clip-note { margin-top: 6px; font-size: .85rem; color: var(--dim); }
@media (max-width: 599px) {
  .panel figcaption, .clip-live, .clip-note { margin-left: 16px; margin-right: 16px; }
}
