/* Live met Legcast: kaarten van streams die nu live zijn (homepage en /live). Gevuld door /js/live.js. */
.lc-live { --lv-red: #e8412c; --lv-orange: #f39a1d; --lv-ink: #f3f1ee; --lv-ink-2: #b9bec3; --lv-muted: #8e959b; --lv-rule: rgba(255,255,255,.08); --lv-rule-2: rgba(255,255,255,.14); --lv-display: 'Barlow Condensed', 'Arial Narrow', sans-serif; }
.lc-live .dot { position: relative; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--lv-red); flex: none; }
.lc-live .dot::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--lv-red); opacity: 0; animation: lc-ping 2s ease-out infinite; }
@keyframes lc-ping { 0% { transform: scale(.5); opacity: .8; } 80%, 100% { transform: scale(1.4); opacity: 0; } }
.lc-live .onair { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; padding: 6px 13px 6px 10px; border-radius: 999px; border: 1px solid rgba(232,65,44,.4); background: rgba(232,65,44,.1); font-weight: 600; font-size: 14px; color: var(--lv-ink); }
.lc-live .onair b { font-family: var(--lv-display); font-size: 18px; font-weight: 800; letter-spacing: .02em; }

.lv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 18px; }
.lv-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .lv-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lv-grid.three > :nth-child(3) { display: none; } }
@media (max-width: 600px) { .lv-grid.three { grid-template-columns: 1fr; } .lv-grid.three > :nth-child(2) { display: none; } }
.lvc { display: flex; flex-direction: column; border: 1px solid var(--lv-rule); border-radius: 20px; background: linear-gradient(180deg, #16191d, #111316); box-shadow: 0 24px 60px -20px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.05); overflow: hidden; transition: border-color .2s, transform .2s; color: var(--lv-ink); }
.lvc:hover { border-color: var(--lv-rule-2); transform: translateY(-2px); }
.lv-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #0d0f12; }
.lv-grid.three .lv-media { aspect-ratio: 16 / 10; }
.lv-media::before { content: ''; position: absolute; inset: -12%; background: url(/img/tiktok-180.webp) var(--pos, center) / cover; filter: blur(9px) brightness(.5) saturate(1.15); transform: scale(1.15); }
.lv-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 35%, transparent 55%, rgba(0,0,0,.6)); }
.lv-tags { position: absolute; z-index: 2; left: 12px; right: 12px; top: 12px; display: flex; justify-content: space-between; gap: 8px; }
.lv-pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 8px; font-weight: 700; font-size: 12px; line-height: 1; letter-spacing: .05em; text-transform: uppercase; color: #fff; background: rgba(0,0,0,.6); }
.lv-pill.live { background: var(--lv-red); }
.lv-pill.live .dot { width: 7px; height: 7px; background: #fff; }
.lv-pill.live .dot::after { border-color: #fff; inset: -4px; }
.lv-pill .t { font-weight: 600; letter-spacing: .02em; text-transform: none; opacity: .9; font-variant-numeric: tabular-nums; }
/* Mini-scorebord in de Legcast-stijl */
.lv-sb { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 12px; border-radius: 4px; overflow: hidden; background: rgba(17,19,22,.94); box-shadow: 0 10px 30px rgba(0,0,0,.5); font-family: var(--lv-display); }
.lv-sb-top { display: flex; justify-content: space-between; align-items: center; padding: 4px 10px; background: linear-gradient(90deg, #e8412c, #f39a1d); font-weight: 700; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.lv-sb-top span:last-child { opacity: .85; }
.lv-row { display: grid; grid-template-columns: 4px minmax(0, 1fr) 34px 64px; height: 38px; border-top: 1px solid rgba(255,255,255,.06); }
.lv-row.me i { background: var(--lv-red); }
.lv-row .nm { display: flex; flex-direction: column; justify-content: center; padding: 0 10px; min-width: 0; }
.lv-row .nm b { font-size: 21px; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-row .nm small { font-family: 'Hanken Grotesk', Arial, sans-serif; font-size: 10.5px; color: var(--lv-muted); line-height: 1.3; }
.lv-row .lg { display: grid; place-items: center; font-size: 20px; font-weight: 700; background: rgba(255,255,255,.04); font-variant-numeric: tabular-nums; }
.lv-row .sc { display: grid; place-items: center; font-size: 27px; font-weight: 800; font-variant-numeric: tabular-nums; background: #f3f1ee; color: #111; }
.lv-row.me .sc { background: var(--lv-red); color: #fff; }
.lv-row.opp .nm b { color: var(--lv-ink-2); font-size: 18px; }
.lv-row .sc.hit { animation: lc-hit .9s ease-out; }
@keyframes lc-hit { 0% { background: var(--lv-orange); transform: scale(1); } 30% { transform: scale(1.06); } 100% { transform: scale(1); } }
.lv-break { display: grid; place-items: center; padding: 14px 10px; font-size: 20px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--lv-ink-2); }
.lv-body { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 14px 16px; }
.lv-who { display: flex; align-items: center; gap: 11px; min-width: 0; }
.lv-av { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font: 800 16px/1 var(--lv-display); letter-spacing: .04em; color: #fff; background: var(--avc, linear-gradient(135deg, #dc3a25, #d4621a)); box-shadow: 0 0 0 2px #0b0c0e, 0 0 0 3.5px var(--lv-red); }
.lv-who b { display: block; font-weight: 600; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-who small { display: block; color: var(--lv-muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-watch { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--lv-rule-2); background: linear-gradient(180deg, #1c1f24, #15171b); color: var(--lv-ink); font-weight: 600; font-size: 14.5px; text-decoration: none; }
.lv-watch:hover { border-color: rgba(255,255,255,.26); }
.lv-watch:focus-visible, .lv-chip:focus-visible, .lv-rchip:focus-visible { outline: 3px solid var(--lv-orange); outline-offset: 3px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Homepage: blok onder de hero (verborgen als niemand live is) */
.liveband { padding-block: clamp(48px, 7vw, 80px) 0; }
.liveband .lb-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; margin-bottom: 24px; }
.liveband h2 { font-size: clamp(34px, 4.4vw, 54px); }
.liveband .lb-foot { margin-top: 18px; color: var(--lv-muted); font-size: 14.5px; }
.liveband .lb-foot a { color: var(--lv-ink-2); font-weight: 600; text-underline-offset: 3px; }
.liveband .lb-foot a:hover { color: var(--lv-orange); }
/* Rood stipje bij "Live" in het menu zodra iemand live is */
.navdot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #e8412c; vertical-align: 1px; }

@media (prefers-reduced-motion: reduce) {
  .lc-live .dot::after { animation: none; display: none; }
  .lvc, .lv-row .sc.hit { transition: none; animation: none; }
}
