.live-only { grid-template-rows: auto minmax(0, 1fr); }
.live-only .vbody { min-height: 0; }
.live-only .vside:empty { display: none; }
.live-only .vbody:has(.vside:empty) { grid-template-columns: 1fr; }
.public-feed { position: relative; display: grid; min-height: 0; min-width: 0; background: black; overflow: hidden; border-radius: 8px; }
.public-feed video { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.public-feed .feed-still { position: absolute; inset: 0; width: 100%; max-height: 100%; aspect-ratio: 16 / 9; margin: auto; background-repeat: no-repeat; pointer-events: none; }
.public-feed .feed-still[hidden] { display: none; }
.public-feed p { position: absolute; z-index: 2; inset: 0; margin: 0; display: grid; place-items: center; text-align: center; padding: 18px; pointer-events: none; background: #0005; }
.public-feed p:empty { display: none; }
.public-feed .feed-retry { position: absolute; z-index: 3; top: 66%; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.tv-live, .tvstage .public-feed { height: 100%; border-radius: 0; }
.seg a { text-decoration: none; color: var(--muted); padding: 6px 10px; border-radius: 7px; }
.seg a[aria-current="page"] { background: var(--panel2); color: var(--text); }
.mini .preview-still { position: absolute; inset: 0; width: 100%; aspect-ratio: 16 / 9; margin: auto; background-repeat: no-repeat; pointer-events: none; }
.mini.offline .preview-still { display: none; }
.offline .dot { background: var(--stall, #f87171); }
.mini.offline { border-color: color-mix(in srgb, var(--stall, #f87171) 55%, var(--line)); }
.caminfo { text-decoration: none; color: inherit; }
.tvrow.public-tv { grid-template-columns: 1fr auto; }
#tvNote { margin-bottom: 10px; }
#tvStage:empty::before { content: 'Waiting for live activity…'; position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); }
#summary { font-size: 13px; color: var(--muted); }
#tvList a { display: block; }
.tvstage:fullscreen { background: #000; }
.tvstage .tvfull { z-index: 1; }
@media (max-width: 900px) {
  .live-only .vbody { display: block; overflow-y: auto; }
  .live-only .stage { min-height: min(55vh, 480px); }
}
@media (max-width: 800px) {
  .tv { grid-template-rows: minmax(0, 1fr) auto; }
  .tvside { display: block; max-height: 34vh; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .live-only .stage { grid-template-columns: 1fr; }
  .public-feed { min-height: 210px; aspect-ratio: 4 / 3; }
  .tvstage .public-feed { aspect-ratio: auto; }
}
