/* The live classes section: timetable, classroom and the notice on the overview. */

.live-list { list-style: none; padding: 0; margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
.live-row { display: grid; grid-template-columns: 11rem minmax(0, 1fr) auto; gap: var(--s5); align-items: start; padding: var(--s5); }
.live-row + .live-row { border-top: 1px solid var(--border); }
.live-when { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s1); }
.live-when time { font-weight: 700; }
.live-what h2 { margin-bottom: var(--s1); }
.live-what h2 a { color: var(--text); text-decoration: none; }
.live-what h2 a:hover { text-decoration: underline; }
.live-what p { margin: 0; }
.live-actions { display: flex; flex-direction: column; align-items: flex-end; gap: var(--s2); }
.live-cancelled .live-what h2 a { text-decoration: line-through; }

.live-soon { text-align: center; padding: var(--s8) var(--s5); }
.live-soon .chip-icon { margin-bottom: var(--s3); }
.live-soon > h2 { justify-content: center; }
.live-soon p { max-width: 34rem; margin-inline: auto; }
.live-soon .contact { max-width: 30rem; margin-inline: auto; }

.live-rules { list-style: none; padding: 0; display: grid; gap: var(--s3); }
.live-rules li { display: flex; gap: var(--s3); align-items: flex-start; }
.live-rules .icon { color: var(--accent-600); margin-top: 0.2rem; }

.live-room { display: grid; grid-template-columns: minmax(0, 1fr) 22rem; gap: var(--s4); align-items: stretch; margin-bottom: var(--s3); }
.live-room-solo { grid-template-columns: minmax(0, 1fr); }
.live-stage { align-self: start; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: var(--navy-900); }
.live-chat { min-height: 28rem; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.live-room iframe { display: block; width: 100%; height: 100%; border: 0; }
.live-chat iframe { min-height: 28rem; }
.live-help { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s6); }

.live-notice { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s4); margin-bottom: var(--s6); padding: var(--s4) var(--s5); background: var(--accent-50); border: 1px solid var(--accent-100); border-radius: var(--r-lg); }
.live-notice > .icon { width: 1.5rem; height: 1.5rem; color: var(--accent-700); }
.live-notice p { flex: 1 1 14rem; margin: 0; }
.live-notice strong, .live-notice span { display: block; }
.live-notice span { font-size: var(--fs-sm); color: var(--text-2); }
.live-notice.live-live { border-color: var(--accent-600); }

@media (max-width: 68rem) {
  .live-room { grid-template-columns: minmax(0, 1fr); }
  .live-chat, .live-chat iframe { min-height: 24rem; }
}
@media (max-width: 52rem) {
  .live-row { grid-template-columns: minmax(0, 1fr); gap: var(--s3); }
  .live-actions { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
}
