* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, sans-serif; background: #111418; color: #e8eaed; }
header { padding: 16px 24px; border-bottom: 1px solid #2a2f36; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
h1 { margin: 0; font-size: 20px; }
h1 span { font-weight: 400; color: #9aa0a6; }
.status { margin: 0; padding: 6px 12px; border-radius: 999px; background: #2a2f36; font-size: 14px; }
.status.ok { background: #1e4620; color: #b6f0b8; }
.status.bad { background: #5c1e1e; color: #ffc4c4; }
section { padding: 24px; }
#join { max-width: 420px; display: flex; flex-direction: column; gap: 14px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: #9aa0a6; }
input { padding: 10px 12px; border-radius: 8px; border: 1px solid #3a4048; background: #1b1f24; color: #e8eaed; font-size: 15px; }
.buttons { display: flex; gap: 10px; flex-wrap: wrap; }
button { padding: 10px 16px; border: 0; border-radius: 8px; background: #3b82f6; color: white; font-size: 15px; cursor: pointer; }
button.secondary { background: #2a2f36; }
button.danger { background: #b91c1c; margin-top: 16px; }
button:disabled { opacity: 0.5; cursor: default; }
.note { font-size: 13px; color: #9aa0a6; line-height: 1.5; }
#grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.tile { position: relative; background: #000; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; }
.tile video { width: 100%; height: 100%; object-fit: cover; }
.tile .label { position: absolute; left: 8px; bottom: 8px; padding: 3px 8px; border-radius: 6px; background: rgba(0, 0, 0, 0.6); font-size: 13px; }
