:root { color-scheme: dark; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: #0b0b0c; color: #e6e6e6; font: 16px/1.4 system-ui, -apple-system, Segoe UI, Roboto, sans-serif; }
body { display: flex; align-items: center; justify-content: center; padding: 16px; }
.card { width: 100%; max-width: 360px; }
form { display: flex; gap: 8px; }
input[type=password] { flex: 1; min-width: 0; padding: 12px 14px; font-size: 16px; border: 1px solid #333; border-radius: 8px; background: #161618; color: inherit; }
input[type=password]:focus { outline: 2px solid #6b8afd; outline-offset: 1px; border-color: transparent; }
button { padding: 12px 18px; font-size: 16px; border: 0; border-radius: 8px; background: #6b8afd; color: #fff; cursor: pointer; }
button:hover { background: #7f9bff; }
.msg { min-height: 1.4em; margin: 12px 0 0; color: #f08a8a; text-align: center; }
body.player { flex-direction: column; padding: 0; background: #000; }
body.admin { align-items: flex-start; }
.wide { width: 100%; max-width: 900px; }
.meta { color: #9a9a9a; margin: 0 0 12px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #222; white-space: nowrap; }
th { color: #9a9a9a; font-weight: 500; }
tr.on td:first-child { color: #4cd964; }
tr.off { color: #777; }
@media (max-width: 600px) { th:nth-child(6), td:nth-child(6), th:nth-child(7), td:nth-child(7) { display: none; } }
.chans { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; padding: 8px; width: 100%; background: #0b0b0c; }
.chans button { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; font-size: 15px; background: #1c1c1f; color: #ddd; border: 1px solid #333; }
.chans button:hover { background: #26262a; }
.chans button.cur { background: #6b8afd; color: #fff; border-color: #6b8afd; }
.chans img { height: 28px; width: 28px; object-fit: contain; }
.chans .vs { font-size: 12px; font-weight: 600; opacity: .8; }
body.player { justify-content: flex-start; }
.chans .group { display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.chans .group[hidden] { display: none; }
.chans button.split { font-size: 18px; padding: 4px 12px; }
.panes { display: flex; flex: 1; min-height: 0; width: 100%; }
.pane { position: relative; flex: 1; min-width: 0; min-height: 0; display: flex; }
.pane[hidden] { display: none; }
.pane video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.pane .msg { position: absolute; bottom: 8px; left: 0; right: 0; color: #bbb; pointer-events: none; }
@media (max-width: 900px) { .panes.split { flex-direction: column; } }
