[data-classroom-audio] { position: fixed; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
[data-media-stage] { min-width: 0; }
.t-media-grid { min-height: 280px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); align-content: center; gap: 10px; padding: 14px; background: radial-gradient(ellipse at 50% 40%, #123b66, #06142d 76%); }
.t-media-tile { position: relative; min-width: 0; min-height: 190px; overflow: hidden; border: 1px solid #ffffff20; border-radius: 10px; background: #091a38; }
.t-media-tile video { display: block; width: 100%; height: 100%; min-height: 190px; object-fit: cover; background: #07152d; }
.t-media-tile.is-screen { grid-column: 1 / -1; min-height: 280px; }
.t-media-tile.is-screen video { min-height: 280px; object-fit: contain; }
.t-media-caption { position: absolute; inset: auto 0 0; padding: 22px 11px 9px; color: #fff; background: linear-gradient(transparent, #020917c7); font-size: 11px; }
.t-media-placeholder { display: grid; min-height: 250px; place-content: center; justify-items: center; gap: 10px; padding: 24px; color: #a8c0dd; text-align: center; font-size: 12px; line-height: 1.6; }
.live-screen[data-media-stage] { display: grid; align-content: center; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; padding: 14px; }
.live-screen[data-media-stage] > .t-media-placeholder { grid-column: 1 / -1; min-height: 320px; }
.live-screen[data-media-stage] .t-media-tile { min-height: 280px; }
.live-screen[data-media-stage] .t-media-tile video { min-height: 280px; }
.live-screen[data-media-stage] .t-media-tile.is-screen { min-height: 380px; }
.live-screen[data-media-stage] .t-media-tile.is-screen video { min-height: 380px; }
.live-media-placeholder { display: grid; justify-items: center; gap: 10px; color: #b6d2f6; text-align: center; }
.live-media-placeholder strong { color: #e9f4ff; font-size: 14px; }
.live-media-placeholder span { font-size: 11px; }
@media (max-width: 700px) {
  .t-media-grid { min-height: 210px; grid-template-columns: 1fr; }
  .t-media-tile, .t-media-tile video { min-height: 180px; }
  .live-screen[data-media-stage] > .t-media-placeholder { min-height: 230px; }
  .live-screen[data-media-stage] .t-media-tile, .live-screen[data-media-stage] .t-media-tile video { min-height: 210px; }
}
