.live-page {
  --lv-surface: var(--aic-surface, #fff);
  --lv-alt: var(--aic-surface-alt, #f7f5fb);
  --lv-border: var(--aic-border, #e5e3ef);
  --lv-text: var(--aic-text, #1f1b2e);
  --lv-muted: var(--aic-text-muted, #6b6580);
  --lv-purple: var(--aic-purple, #4a2d7a);
  --lv-purple-d: var(--aic-purple-dark, #33205a);
  --lv-coral: var(--aic-coral, #e74c3c);
  --lv-focus: var(--aic-focus, #ffb703);
  --lv-r: var(--aic-radius, 14px);
  color: var(--lv-text); background: var(--aic-bg, #fbfaff);
}
.live-main { max-width: 1100px; margin: 0 auto; padding: clamp(1.5rem,3vw,2.5rem) 1.25rem clamp(2rem,4vw,3rem); }

.live-status {
  display: flex; align-items: center; gap: .6rem;
  padding: .55rem .9rem; border-radius: 999px;
  font-size: .88rem; font-weight: 600;
  background: var(--lv-alt); color: var(--lv-muted);
  margin: 0 auto 1.25rem; width: fit-content;
}
.live-status[data-state="live"] { background: #fdecea; color: #a42518; }
.live-status[data-state="live"] .live-status__dot { background: var(--lv-coral); animation: lv-pulse 1.2s ease-in-out infinite; }
.live-status__dot { width: .6rem; height: .6rem; border-radius: 999px; background: var(--lv-muted); }
@keyframes lv-pulse { 50% { opacity: .35; } }

.live-player {
  position: relative; width: 100%;
  aspect-ratio: 16 / 9;
  background: #000; border-radius: var(--lv-r);
  overflow: hidden;
  box-shadow: var(--aic-shadow, 0 10px 30px rgba(31,27,46,.10));
}
.live-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 480px) {
  .live-player { border-radius: 10px; }
}

.live-schedule { margin-top: 1.75rem; }
.live-schedule h2 { color: var(--lv-purple-d); margin: 0 0 .75rem; font-size: 1.15rem; }
.live-schedule__grid { display: grid; gap: .75rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .live-schedule__grid { grid-template-columns: repeat(2, 1fr); } }

.live-service {
  padding: 1rem 1.1rem;
  background: var(--lv-surface);
  border: 1px solid var(--lv-border);
  border-radius: var(--lv-r);
}
.live-service[data-live="true"] { border-color: var(--lv-coral); }
.live-service__label { font-weight: 700; color: var(--lv-purple-d); margin: 0 0 .25rem; }
.live-service__time  { color: var(--lv-muted); font-size: .9rem; margin: 0; }

.live-past { margin-top: 2rem; }
.live-past h2 { color: var(--lv-purple-d); margin: 0 0 .75rem; font-size: 1.15rem; }
.live-past__empty { color: var(--lv-muted); font-style: italic; }
.live-videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 1rem; }
.live-video-card { display: flex; flex-direction: column; gap: .55rem; overflow: hidden; padding-bottom: .85rem; color: var(--lv-text); text-decoration: none; background: var(--lv-surface); border: 1px solid var(--lv-border); border-radius: var(--lv-r); }
.live-video-card:hover { border-color: var(--lv-purple); }
.live-video-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.live-video-card strong, .live-video-card span { margin: 0 .85rem; }
.live-video-card strong { line-height: 1.35; }
.live-video-card span { color: var(--lv-muted); font-size: .84rem; }
.live-load-more { display: block; margin: 1.25rem auto 0; padding: .65rem 1.1rem; border: 1px solid var(--lv-border); border-radius: 999px; background: var(--lv-surface); color: var(--lv-purple); font: inherit; font-weight: 600; cursor: pointer; }
.live-load-more:hover { background: var(--lv-alt); }
.live-load-more:focus-visible { outline: 3px solid var(--lv-focus); outline-offset: 2px; }
.live-load-more:disabled { opacity: .6; cursor: wait; }
.live-videos__error { margin: .75rem 0 0; color: #a42518; text-align: center; }

@media (prefers-reduced-motion: reduce) {
  .live-status[data-state="live"] .live-status__dot { animation: none; }
}
@media (forced-colors: active) {
  .live-player { border: 1px solid ButtonText; }
}
