:root { color-scheme: dark; --bg: #0e0e10; --panel: #141418; --line: #2c2c34; --text: #eee; --muted: #8d8d96; --live: #3dd68c; --idle: #d7a13a; } * { box-sizing: border-box; } html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font-family: system-ui, sans-serif; } body { display: grid; grid-template-rows: auto minmax(0, 1fr); height: 100vh; height: 100dvh; overflow: hidden; } header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); } h1, h2 { margin: 0; font-size: 16px; font-weight: 600; } h2 { font-size: 14px; } .titles p, .meta { margin: 2px 0 0; color: var(--muted); font-size: 12px; } .pill { margin: 0; padding: 4px 10px; border-radius: 999px; background: #2a2418; color: var(--idle); font-size: 12px; font-variant-numeric: tabular-nums; } .pill.live { background: #14281e; color: var(--live); } main { display: grid; grid-template-columns: minmax(0, 1fr) 300px; grid-template-rows: minmax(0, 1fr); min-height: 0; min-width: 0; } canvas { width: 100%; height: 100%; display: block; background: #121216; touch-action: none; } aside { border-left: 1px solid var(--line); background: var(--panel); overflow: hidden; min-height: 0; padding: 10px 14px; display: flex; flex-direction: column; } ul { list-style: none; margin: 10px 0 0; padding: 0; } li { display: grid; grid-template-columns: 18px 1fr auto; gap: 8px; align-items: center; padding: 4px 6px; border-radius: 6px; cursor: pointer; } li:hover, li.selected { background: #22222a; } .swatch { width: 18px; height: 18px; border-radius: 50%; border: 1px solid #555; background: #222; } li.mover .swatch { border-radius: 3px; } .name { font-size: 13px; font-weight: 600; } .addr { color: var(--muted); font-size: 11px; } /* with a fixture open, or in a short window, collapse the list to swatches */ aside:has(#detail:not([hidden])) ul { display: flex; flex-wrap: wrap; gap: 4px; } aside:has(#detail:not([hidden])) li { display: block; padding: 3px; } aside:has(#detail:not([hidden])) li .name, aside:has(#detail:not([hidden])) li .addr { display: none; } @media (max-height: 760px) { ul { display: flex; flex-wrap: wrap; gap: 4px; } li { display: block; padding: 3px; } li .name, li .addr { display: none; } } #detail { margin-top: 12px; min-height: 0; overflow: hidden; } #channels { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2px 10px; margin-top: 8px; } .channel { display: grid; grid-template-columns: 22px minmax(72px, 1.2fr) 1fr 28px; gap: 6px; align-items: center; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; } .ch-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .bar { height: 6px; background: #2a2a32; border-radius: 99px; overflow: hidden; } .bar span { display: block; height: 100%; background: #d0d0d8; } @media (max-width: 800px) { main { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; } aside { border-left: 0; border-top: 1px solid var(--line); max-height: 42vh; } }