/* Skycast live listening page (/live/{ref}). Works on its own; picks up /assets/tokens.css
   (the site's shared tokens) when present. Dark by default, light via OS or the theme button. */
:root {
  --lv-night: var(--sky-night, #070B1A); --lv-deep: var(--sky-deep, #0E1430); --lv-card: var(--sky-card, #151C3D);
  --lv-gold: var(--sky-gold, #FFC857); --lv-magenta: var(--sky-magenta, #FF4D8D); --lv-cyan: var(--sky-cyan, #3DD6F5);
  --lv-ember: var(--sky-ember, #FF7A3D); --lv-text: var(--sky-text, #F4F6FF); --lv-muted: var(--sky-muted, #9AA3C7);
  --lv-line: rgba(154, 163, 199, .18); --lv-glass: rgba(21, 28, 61, .72); --lv-ok: #4BE3A4; --lv-red: #FF5470;
  --lv-on-gold: #1B1405; --lv-shadow: 0 10px 40px rgba(0, 0, 0, .35);
  --lv-font: var(--font-display, "Space Grotesk"), system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --lv-body: var(--font-text, system-ui), -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --lv-night: #F5F6FB; --lv-deep: #FFFFFF; --lv-card: #FFFFFF; --lv-text: #10162E; --lv-muted: #4D5677;
    --lv-line: rgba(16, 22, 46, .12); --lv-glass: rgba(255, 255, 255, .86); --lv-gold: #B7791F; --lv-magenta: #C2185B;
    --lv-cyan: #0277A8; --lv-ember: #C24E12; --lv-ok: #0B7A46; --lv-red: #C0143C; --lv-on-gold: #FFFFFF;
    --lv-shadow: 0 8px 30px rgba(16, 22, 46, .10); color-scheme: light;
  }
}
:root[data-theme="light"] {
  --lv-night: #F5F6FB; --lv-deep: #FFFFFF; --lv-card: #FFFFFF; --lv-text: #10162E; --lv-muted: #4D5677;
  --lv-line: rgba(16, 22, 46, .12); --lv-glass: rgba(255, 255, 255, .86); --lv-gold: #B7791F; --lv-magenta: #C2185B;
  --lv-cyan: #0277A8; --lv-ember: #C24E12; --lv-ok: #0B7A46; --lv-red: #C0143C; --lv-on-gold: #FFFFFF;
  --lv-shadow: 0 8px 30px rgba(16, 22, 46, .10); color-scheme: light;
}

[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.lv {
  margin: 0; min-height: 100vh; background: var(--lv-night); color: var(--lv-text);
  font: 16px/1.55 var(--lv-body); overflow-x: hidden;
  background-image: radial-gradient(120% 60% at 50% -10%, rgba(61, 214, 245, .10), transparent 60%),
                    radial-gradient(90% 50% at 85% 0%, rgba(255, 77, 141, .10), transparent 60%);
  background-attachment: fixed;
}
.lv a { color: var(--lv-cyan); }
.lv :focus-visible { outline: 3px solid var(--lv-gold); outline-offset: 2px; border-radius: 6px; }
.lv .skip { position: absolute; left: -999px; top: 0; z-index: 50; background: var(--lv-gold); color: var(--lv-on-gold); padding: .6rem 1rem; }
.lv .skip:focus { left: 8px; top: 8px; }
.lv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Sky layers */
.lv-bg { position: fixed; inset: 0; z-index: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .8s ease; pointer-events: none; }
.lv-bg.on { opacity: .28; }
.lv-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 11, 26, .35), var(--lv-night) 85%); }
.lv-sky { position: fixed; inset: 0; z-index: 1; pointer-events: none; width: 100vw; height: 100vh; }
.lv-floaters { position: fixed; inset: 0; z-index: 40; pointer-events: none; overflow: hidden; }
.lv-float { position: absolute; bottom: -40px; font-size: 30px; animation: lv-rise 2.8s ease-out forwards; will-change: transform, opacity; }
@keyframes lv-rise { 0% { transform: translateY(0) scale(.6); opacity: 0; } 12% { opacity: 1; } 100% { transform: translateY(-78vh) scale(1.25) rotate(8deg); opacity: 0; } }

/* Header / footer (same pattern as the rest of the site) */
.lv .wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }
.lv header.site { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--lv-night) 78%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--lv-line); }
.lv header.site .wrap { display: flex; align-items: center; gap: 12px; min-height: 60px; flex-wrap: wrap; }
.lv .brand { display: flex; align-items: center; gap: 10px; color: var(--lv-text); text-decoration: none; font: 700 1.05rem var(--lv-font); letter-spacing: -.01em; }
.lv nav.main { margin-left: auto; display: flex; gap: 4px 14px; align-items: center; flex-wrap: wrap; }
.lv nav.main a { color: var(--lv-muted); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.lv nav.main a:hover { color: var(--lv-text); }
.lv .themebtn { min-width: 44px; min-height: 44px; border-radius: 12px; border: 1px solid var(--lv-line); background: transparent; color: var(--lv-text); cursor: pointer; font-size: 1rem; }
.lv footer.site { position: relative; z-index: 2; padding: 24px 0 40px; text-align: center; }
.lv footer.site a { color: var(--lv-muted); }

/* Layout */
.lv-main { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; padding: 16px 16px 48px; display: grid; gap: 14px; }
.lv-main > *, #v-show > * { min-width: 0; }
#v-show { display: grid; gap: inherit; min-width: 0; }
.lv a.lv-btn { color: var(--lv-text); text-decoration: none; }
.lv a.lv-primary { color: var(--lv-on-gold); }
.lv-card { background: var(--lv-glass); border: 1px solid var(--lv-line); border-radius: 22px; padding: 18px;
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); box-shadow: var(--lv-shadow); }
.lv-center { text-align: center; }
.lv-row { display: flex; gap: 10px; align-items: center; }
.lv-wrap { flex-wrap: wrap; }
.lv-between { justify-content: space-between; }
.lv-center-row { justify-content: center; flex-wrap: wrap; margin-top: 12px; }
.lv-muted { color: var(--lv-muted); }
.lv-small { font-size: .85rem; }
.lv-red { color: var(--lv-red) !important; }
.lv-ok { color: var(--lv-ok); }
.lv-warn { color: var(--lv-ember); }
.lv-emoji { font-size: 56px; line-height: 1; margin: 6px 0 10px; }

/* Type */
.lv-h1 { font: 700 clamp(1.9rem, 7vw, 3.1rem)/1.08 var(--lv-font); letter-spacing: -.025em; margin: 4px 0 6px; }
.lv-h2 { font: 700 1.5rem/1.2 var(--lv-font); margin: 6px 0; }
.lv-h3 { font: 700 1.15rem/1.25 var(--lv-font); margin: 0; }
.lv-eyebrow { font: 600 .72rem/1.2 var(--lv-font); letter-spacing: .16em; text-transform: uppercase; color: var(--lv-gold); margin: 0 0 6px; }
.lv-kicker { font: 600 .78rem var(--lv-font); letter-spacing: .14em; text-transform: uppercase; color: var(--lv-cyan); margin: 0; }

/* Hero */
.lv-hero { text-align: center; padding: 22px 6px 4px; }
.lv-logo { width: 72px; height: 72px; object-fit: contain; border-radius: 18px; background: #fff; padding: 6px; margin: 0 auto 10px; display: block; box-shadow: var(--lv-shadow); }
.lv-where { color: var(--lv-muted); margin: 0 0 14px; }
.lv-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 auto 14px; max-width: 460px; }
.lv-facts div { background: var(--lv-glass); border: 1px solid var(--lv-line); border-radius: 14px; padding: 8px 6px; }
.lv-facts dt { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lv-muted); }
.lv-facts dd { margin: 2px 0 0; font: 600 .98rem var(--lv-font); }
.lv-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.lv-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--lv-glass); border: 1px solid var(--lv-line); font-size: .82rem; min-height: 32px; }
.lv-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lv-muted); }
.lv-chip.ok .lv-dot { background: var(--lv-ok); box-shadow: 0 0 10px var(--lv-ok); }
.lv-chip.bad .lv-dot { background: var(--lv-red); }
.lv-chip.off .lv-dot { background: var(--lv-gold); }
.lv-chip.ready { border-color: color-mix(in srgb, var(--lv-ok) 50%, transparent); color: var(--lv-ok); }
.lv-bar { width: 54px; height: 4px; border-radius: 4px; background: var(--lv-line); overflow: hidden; }
.lv-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--lv-cyan), var(--lv-gold)); transition: width .3s; }
.lv-desc { margin: 8px 0 0; color: var(--lv-muted); white-space: pre-line; }
.lv-facts dd { overflow-wrap: anywhere; }
.lv-facts { grid-template-columns: 1.5fr 1fr 1fr; }

/* Buttons and inputs */
.lv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 16px;
  border-radius: 14px; border: 1px solid var(--lv-line); background: var(--lv-deep); color: var(--lv-text);
  font: 600 .95rem var(--lv-font); text-decoration: none; cursor: pointer; transition: transform .12s ease, background .2s, border-color .2s; }
.lv-btn:hover { border-color: var(--lv-cyan); }
.lv-btn:active { transform: scale(.97); }
.lv-btn:disabled { opacity: .55; cursor: default; }
.lv-primary { background: linear-gradient(135deg, var(--lv-gold), var(--lv-ember)); color: var(--lv-on-gold); border-color: transparent; }
.lv-primary:hover { border-color: transparent; filter: brightness(1.06); }
.lv-ghost { background: transparent; }
.lv-big { width: 100%; min-height: 60px; font-size: 1.15rem; border-radius: 18px; }
.lv-small-btn { min-height: 40px; padding: 6px 12px; font-size: .85rem; margin-left: auto; }
.lv-glow { animation: lv-glow 2.2s ease-in-out infinite; }
.lv-glow.on { animation: none; background: var(--lv-deep); color: var(--lv-text); border-color: color-mix(in srgb, var(--lv-ok) 60%, transparent); }
@keyframes lv-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 200, 87, .45); } 50% { box-shadow: 0 0 0 12px rgba(255, 200, 87, 0); } }
.lv-controls { display: grid; gap: 12px; }
.lv-slider { flex: 1 1 200px; display: grid; gap: 4px; font-size: .85rem; color: var(--lv-muted); }
.lv-slider span { display: flex; justify-content: space-between; }
.lv-slider output { color: var(--lv-text); font-variant-numeric: tabular-nums; }
.lv input[type="range"] { width: 100%; height: 44px; accent-color: var(--lv-gold); background: transparent; }
.lv-field { display: grid; gap: 4px; font-size: .88rem; }
.lv-field input { min-height: 44px; border-radius: 12px; border: 1px solid var(--lv-line); background: var(--lv-deep); color: var(--lv-text); padding: 8px 12px; font: inherit; }
.lv-check-row { display: flex; gap: 8px; align-items: center; font-size: .88rem; min-height: 44px; }
.lv-check-row input { width: 22px; height: 22px; accent-color: var(--lv-gold); }
.lv-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.lv-cal-wrap { position: relative; }
.lv-menu { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; min-width: 200px; display: grid; background: var(--lv-card); border: 1px solid var(--lv-line); border-radius: 14px; box-shadow: var(--lv-shadow); overflow: hidden; }
.lv-menu a { padding: 12px 14px; color: var(--lv-text); text-decoration: none; min-height: 44px; }
.lv-menu a:hover, .lv-menu a:focus-visible { background: var(--lv-deep); }

/* Countdown board (split flap) */
.lv-stage { text-align: center; }
.lv-board { display: flex; justify-content: center; align-items: flex-start; gap: 6px; margin: 6px 0 10px; }
.lv-unit { display: grid; gap: 6px; justify-items: center; }
.lv-unit small { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--lv-muted); }
.lv-flaps { display: flex; gap: 4px; }
.lv-flap { display: inline-grid; place-items: center; width: clamp(36px, 10vw, 58px); height: clamp(52px, 14vw, 80px); border-radius: 12px;
  background: linear-gradient(180deg, #1B2350 0 49%, #121A40 51% 100%); color: #F4F6FF; font: 700 clamp(1.7rem, 7vw, 2.8rem) var(--lv-font);
  font-variant-numeric: tabular-nums; position: relative; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .35), 0 6px 18px rgba(0, 0, 0, .3); }
.lv-flap::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .45); }
.lv-flap.flip { animation: lv-flip .38s ease; }
@keyframes lv-flip { 0% { transform: rotateX(0); } 45% { transform: rotateX(-88deg); } 100% { transform: rotateX(0); } }
.lv-sep { font: 700 clamp(1.5rem, 6vw, 2.4rem) var(--lv-font); color: var(--lv-gold); padding-top: clamp(8px, 2.6vw, 16px); }
.lv-note { max-width: 520px; margin: 8px auto 0; }
.lv-pulse-ring { width: 64px; height: 64px; margin: 6px auto 10px; border-radius: 50%; border: 3px solid var(--lv-gold); animation: lv-ring 1.8s ease-out infinite; }
@keyframes lv-ring { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }

/* Player */
.lv-player { text-align: left; }
.lv-status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font: 700 .75rem var(--lv-font); letter-spacing: .12em; text-transform: uppercase; background: rgba(255, 84, 112, .16); color: var(--lv-red); }
.lv-status.test { background: rgba(255, 200, 87, .18); color: var(--lv-gold); }
.lv-status.offline { background: rgba(61, 214, 245, .16); color: var(--lv-cyan); }
.lv-status.paused { background: var(--lv-line); color: var(--lv-muted); }
.lv-song { font: 700 clamp(1.4rem, 5.5vw, 2.1rem)/1.15 var(--lv-font); margin: 0 0 14px; letter-spacing: -.015em; }
.lv-progress { height: 8px; border-radius: 8px; background: var(--lv-line); overflow: hidden; }
.lv-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--lv-cyan), var(--lv-magenta), var(--lv-gold)); }
.lv-progress + .lv-row { margin-top: 6px; font-variant-numeric: tabular-nums; }
.lv-eq { display: flex; gap: 3px; align-items: flex-end; height: 22px; margin: 12px 0 6px; }
.lv-eq i { width: 4px; border-radius: 2px; background: var(--lv-gold); animation: lv-eq 1s ease-in-out infinite; }
.lv-eq i:nth-child(2) { animation-delay: -.3s; background: var(--lv-magenta); }
.lv-eq i:nth-child(3) { animation-delay: -.6s; background: var(--lv-cyan); }
.lv-eq i:nth-child(4) { animation-delay: -.15s; }
.lv-eq i:nth-child(5) { animation-delay: -.45s; background: var(--lv-ember); }
.lv-eq.still i { animation-play-state: paused; }
@keyframes lv-eq { 0%, 100% { height: 4px; } 50% { height: 22px; } }
.lv-cue { margin-top: 16px; padding: 14px; border-radius: 16px; background: var(--lv-deep); border: 1px solid var(--lv-line); }
.lv-cue.finale { border-color: var(--lv-gold); box-shadow: 0 0 30px rgba(255, 200, 87, .25); }
.lv-cue-product { font: 700 1.2rem var(--lv-font); margin: 0; }
.lv-cue p { margin: 0; }

/* Reactions */
.lv-react { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.lv-react button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--lv-line); background: var(--lv-deep); font-size: 1.5rem; cursor: pointer; transition: transform .1s; }
.lv-react button:active { transform: scale(.85); }

/* Ready check */
.lv-checks { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 8px; }
.lv-checks li { display: flex; gap: 10px; align-items: center; min-height: 44px; flex-wrap: wrap; }
.lv-chk { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--lv-line); font-weight: 700; font-size: .8rem; }
.lv-chk.ok { background: color-mix(in srgb, var(--lv-ok) 22%, transparent); color: var(--lv-ok); }
.lv-chk.bad { background: color-mix(in srgb, var(--lv-red) 22%, transparent); color: var(--lv-red); }
.lv-check-summary { text-align: center; font-weight: 600; margin: 4px 0 0; }
.lv-check-summary.ok { color: var(--lv-ok); }
.lv-check-summary.wait { color: var(--lv-gold); }

/* Announcements */
.lv-disclose { width: 100%; display: flex; justify-content: space-between; align-items: center; background: none; border: 0; color: var(--lv-text); font: 700 1.05rem var(--lv-font); min-height: 44px; cursor: pointer; padding: 0; }
.lv-caret { transition: transform .2s; }
.lv-disclose[aria-expanded="false"] .lv-caret { transform: rotate(-90deg); }
.lv-badge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--lv-gold); color: var(--lv-on-gold); font-size: .75rem; margin-left: 6px; }
.lv-ann-list { display: grid; gap: 8px; margin-top: 10px; }
.lv-ann { border-radius: 14px; padding: 12px 14px; border: 1px solid; }
.lv-ann.info { background: rgba(61, 214, 245, .08); border-color: rgba(61, 214, 245, .3); }
.lv-ann.important { background: rgba(255, 200, 87, .1); border-color: rgba(255, 200, 87, .4); }
.lv-ann.urgent { background: rgba(255, 84, 112, .12); border-color: rgba(255, 84, 112, .5); }
.lv-ann strong { display: block; font-family: var(--lv-font); }

/* Schedule */
.lv-sched { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 4px; }
.lv-sched li { min-width: 0; display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 12px; min-height: 52px; border: 1px solid transparent; }
.lv-sched li.live { background: rgba(61, 214, 245, .1); border-color: rgba(61, 214, 245, .35); }
.lv-sched li.replaying { background: var(--lv-deep); }
.lv-sched .t { width: 52px; font-size: .78rem; color: var(--lv-muted); flex-shrink: 0; font-variant-numeric: tabular-nums; }
.lv-sched .b { flex: 1; min-width: 0; }
.lv-sched .b strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lv-sched .b span { font-size: .8rem; color: var(--lv-muted); }
.lv-sched .st { font: 700 .7rem var(--lv-font); color: var(--lv-cyan); letter-spacing: .1em; }
.lv-sched button { min-width: 44px; min-height: 44px; border-radius: 12px; border: 1px solid var(--lv-line); background: var(--lv-deep); color: var(--lv-text); cursor: pointer; }
.lv-sched button.voted { border-color: var(--lv-gold); background: rgba(255, 200, 87, .14); }

/* Venue, safety, lists */
.lv-areas { display: grid; gap: 10px; margin-top: 10px; }
.lv-area { display: flex; gap: 10px; align-items: flex-start; }
.lv-area .b { flex: 1; min-width: 0; }
.lv-area a { min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; }
.lv-list { margin: 10px 0; padding-left: 20px; display: grid; gap: 6px; }

/* Sponsors */
.lv-primary-sponsor { display: flex; justify-content: center; margin: 8px 0 12px; }
.lv-sponsor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.lv-sponsor { display: grid; place-items: center; min-height: 72px; padding: 10px; border-radius: 14px; background: #fff; color: #10162E; text-decoration: none; font: 700 .9rem var(--lv-font); text-align: center; }
.lv-sponsor img { max-width: 100%; max-height: 56px; object-fit: contain; }
.lv-sponsor.primary { min-height: 110px; width: min(280px, 100%); }
.lv-sponsor.primary img { max-height: 90px; }

/* Photos */
.lv-photo-form { display: grid; gap: 10px; margin-top: 12px; }
.lv-drop { border: 2px dashed var(--lv-line); border-radius: 16px; padding: 18px; text-align: center; cursor: pointer; min-height: 88px; display: grid; place-items: center; }
.lv-drop.over { border-color: var(--lv-gold); background: rgba(255, 200, 87, .06); }
.lv-drop img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.lv-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; margin-top: 12px; }
.lv-gallery button { padding: 0; border: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 1; cursor: pointer; background: var(--lv-deep); }
.lv-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Social */
.lv-social, .lv-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.lv-social a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--lv-line); color: var(--lv-text); text-decoration: none; font-size: .88rem; }
.lv-tags { margin-top: 10px; }
.lv-tags span { padding: 4px 10px; border-radius: 999px; background: rgba(61, 214, 245, .12); color: var(--lv-cyan); font-size: .8rem; font-weight: 600; }

/* Live feed */
.lv-feed-video { width: 100%; border-radius: 14px; background: #000; margin-top: 10px; }

/* Lightbox */
.lv-lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(4, 6, 16, .94); display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 56px 12px 12px; }
.lv-lightbox figure { margin: 0; display: grid; gap: 8px; justify-items: center; max-width: 100%; }
.lv-lightbox img { max-width: 100%; max-height: 72vh; border-radius: 12px; object-fit: contain; }
.lv-lightbox figcaption { color: #F4F6FF; font-size: .9rem; text-align: center; }
.lv-lightbox .lv-btn { color: #F4F6FF; border-color: rgba(255, 255, 255, .2); }
.lv-lb-close { position: absolute; top: 10px; right: 10px; }
.lv-lb-prev, .lv-lb-next { position: absolute; top: 50%; transform: translateY(-50%); font-size: 1.6rem; }
.lv-lb-prev { left: 8px; } .lv-lb-next { right: 8px; }
.lv-lb-strip { display: flex; gap: 6px; overflow-x: auto; max-width: 100%; padding: 6px; }
.lv-lb-strip button { padding: 0; border: 2px solid transparent; border-radius: 8px; background: none; cursor: pointer; flex-shrink: 0; }
.lv-lb-strip button[aria-current="true"] { border-color: var(--lv-gold); }
.lv-lb-strip img { width: 64px; height: 48px; object-fit: cover; border-radius: 6px; display: block; }

/* Loading */
.lv-spinner { width: 42px; height: 42px; margin: 8px auto 12px; border-radius: 50%; border: 3px solid var(--lv-line); border-top-color: var(--lv-gold); animation: lv-spin .9s linear infinite; }
@keyframes lv-spin { to { transform: rotate(360deg); } }

@media (min-width: 720px) {
  .lv-main { padding-top: 28px; gap: 18px; }
  .lv-card { padding: 22px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .lv *, .lv *::before, .lv *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .lv-float { display: none; }
}
@media (prefers-contrast: more) {
  .lv-card { background: var(--lv-card); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ── Round 2: follow/share, calibration, checklist tips, shared header on this page ── */
.lv-hero-actions { gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.lv-hero-actions .lv-btn[aria-pressed="true"] { border-color: var(--lv-gold); color: var(--lv-gold); }
.lv-calib-stage { margin-top: 12px; padding: 22px 16px; border-radius: 18px; border: 1px solid var(--lv-line); background: var(--lv-deep); text-align: center; transition: background-color .06s linear; }
.lv-calib-stage.flash { background: #FFE7B0; color: #1B1405; }
.lv-calib-stage p { margin: 0 0 12px; font-weight: 600; min-height: 3em; }
.lv-calib-dots { display: flex; justify-content: center; gap: 8px; margin-bottom: 16px; }
.lv-calib-dots span { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--lv-muted); }
.lv-calib-dots span.on { background: var(--lv-gold); border-color: var(--lv-gold); }
#lv-calib-tap { min-width: 60%; min-height: 72px; font-size: 1.3rem; touch-action: manipulation; }
.lv-calib-val { font: 700 2.4rem/1.1 var(--lv-font); text-align: center; margin: 14px 0; font-variant-numeric: tabular-nums; }
.lv-tips { margin-top: 6px; }
.lv-tips li { margin-bottom: 6px; }
body.lv .site-head { position: sticky; z-index: 20; }
body.lv .site-foot { position: relative; z-index: 2; }
