.hub-chat{margin-top:8px;border:1px solid #555;border-radius:6px;background:#000;color:#fff;font-family:system-ui,sans-serif;font-size:14px;max-width:100%;box-sizing:border-box}.hub-chat-toggle{display:flex;align-items:center;gap:8px;width:100%;text-align:left;background:#000;color:#fff;border:0;border-radius:6px;padding:6px 10px;font:inherit;cursor:pointer}.hub-chat-toggle:focus-visible,.hub-chat-form button:focus-visible,.hub-chat textarea:focus-visible{outline:2px solid #fff;outline-offset:2px}.hub-chat-badge{background:#fff;color:#000;border-radius:999px;padding:0 7px;font-size:12px;font-weight:700}.hub-chat-body{border-top:1px solid #333;padding:6px 10px 10px}.hub-chat-body[hidden]{display:none}.hub-chat-list{list-style:none;margin:0 0 8px;padding:0;height:260px;overflow-y:auto;overscroll-behavior:contain}.hub-chat-msg{display:flex;gap:8px;padding:4px 0}.hub-chat-msg[data-kind=hub]{color:#aaa;font-style:italic}.hub-chat-avatar{flex:none;width:24px;height:24px;border-radius:50%;background:#333;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:12px;object-fit:cover}.hub-chat-msg time,.hub-chat-tag{color:#999;font-size:12px}.hub-chat-text{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.hub-chat-text a{color:#9cf}.hub-chat-older{text-align:center;padding-bottom:4px}.hub-chat-error{margin:0 0 6px;color:#f99}.hub-chat-form{display:flex;gap:6px;align-items:flex-end}.hub-chat-form textarea{flex:1;min-width:0;resize:vertical;background:#111;color:#fff;border:1px solid #666;border-radius:4px;padding:4px 6px;font:inherit}.hub-chat button:not(.hub-chat-toggle){background:#000;color:#fff;border:1px solid #fff;border-radius:4px;padding:4px 10px;font:inherit;font-size:13px;cursor:pointer}.hub-chat button:disabled{opacity:.5;cursor:default}.hub-chat-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}@media(max-width:700px){.hub-chat-list{height:200px}}.hub-room{background:#000;color:#fff;font-family:system-ui,sans-serif;padding:8px;box-sizing:border-box}.hub-room button,.hub-popout-root button{background:#000;color:#fff;border:1px solid #fff;border-radius:4px;padding:2px 8px;font:inherit;font-size:13px;cursor:pointer}.hub-room button[aria-pressed=true],.hub-popout-root button[aria-pressed=true]{background:#fff;color:#000}.hub-room button:focus-visible,.hub-popout-root button:focus-visible,.hub-tile:focus-visible,.hub-split:focus-visible{outline:2px solid #fff;outline-offset:2px}.hub-room-bar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:8px;font-size:14px}.hub-stage{position:relative;display:grid;align-items:start;padding-bottom:14px}.hub-stage[data-mode=focus]{grid-template-columns:minmax(0,1fr) var(--rail);column-gap:12px}.hub-stage[data-mode=focus] .hub-tile[data-focused=true]{grid-column:1}.hub-stage[data-mode=focus] .hub-tile[data-focused=false]{grid-column:2;margin-bottom:12px}.hub-stage[data-mode=grid]{grid-template-columns:repeat(auto-fill,minmax(min(var(--tile),100%),1fr));gap:12px}.hub-stage[data-compact=true][data-mode=focus]{grid-template-columns:none;grid-template-rows:auto auto;grid-auto-flow:column;grid-auto-columns:160px;gap:8px;overflow-x:auto}.hub-stage[data-compact=true][data-mode=focus] .hub-tile[data-focused=true]{grid-row:1;grid-column:1;width:var(--cw);position:sticky;left:0;z-index:1}.hub-stage[data-compact=true][data-mode=focus] .hub-tile[data-focused=false]{grid-row:2;grid-column:auto;margin-bottom:0}body:has(.hub-room){background:#000;color:#fff}.hub-tile{box-sizing:border-box;border:1px solid #555;border-radius:6px;background:#000;min-width:0}.hub-tile[data-focused=true]{border:2px solid #fff}.hub-tile-head{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:4px 6px;font-size:13px;border-bottom:1px solid #333}.hub-tile-title{flex:1;min-width:60px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hub-tile-head input[type=range]{width:80px;accent-color:#fff}.hub-tile-body{display:block}.hub-tile[data-minimized=true] .hub-tile-body{display:none}.hub-tile-placeholder{padding:16px;font-size:13px;color:#aaa}.hub-split{position:absolute;top:0;bottom:14px;width:12px;transform:translate(100%);cursor:col-resize;background:transparent;border-left:2px solid #555;background-clip:padding-box;touch-action:none}.hub-split:hover,.hub-split:focus-visible{border-left-color:#fff}.hub-grip{position:absolute;right:0;bottom:0;width:16px;height:14px;cursor:nwse-resize;border-right:3px solid #666;border-bottom:3px solid #666;touch-action:none}.hub-grip:hover,.hub-grip:focus-visible{border-color:#fff}.hub-popout-root{min-height:100vh}.hub-popout-root .hub-tile{border:0;border-radius:0}@media(max-width:700px){.hub-room{padding:4px}}.guide{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;background:#050505;color:#fff;font:14px system-ui;border:1px solid #aaa;display:flex;flex-direction:column}.guide button,.guide input,.guide select,.guide textarea{background:#111;color:#fff;border:1px solid #777;padding:7px}.guide button{cursor:pointer}.guide-head,.guide-actions{display:flex;align-items:center;gap:10px;padding:10px 14px;border-bottom:1px solid #555}.guide-head>strong{letter-spacing:.14em}.guide-head>button:last-child{margin-left:auto;font-size:22px}.guide-clocks{display:flex;gap:6px;margin-left:auto}.guide-clocks button{display:grid;gap:2px;min-width:80px}.guide-clocks .primary{border-color:#fff;box-shadow:inset 0 -2px #fff}.guide-clocks span{font-variant-numeric:tabular-nums}.guide-actions span{margin-left:auto}.guide-edit{display:flex;gap:25px;padding:10px 16px;border-bottom:1px solid #555;max-height:28vh;overflow:auto}.guide-edit>div,.guide-edit form{display:flex;flex-direction:column;gap:8px;min-width:260px}.guide-edit form>div{display:flex;gap:8px}.guide-edit label{display:flex;align-items:center;gap:8px}.guide-edit textarea{min-height:48px}.library-result{display:block;width:100%;text-align:left;margin-top:4px}.guide-notice{margin:3px 14px;color:#ddd}.guide-scroll{overflow:auto;flex:1;position:relative}.guide-canvas{min-height:100%;position:relative;padding-top:1px}.guide-row{height:37px;display:flex;position:sticky;top:0;z-index:3;background:#050505;border-bottom:1px solid #555}.guide-label{position:sticky;left:0;width:92px;min-width:92px;background:#050505;z-index:4;padding:8px}.hour{width:72px;min-width:72px;border-left:1px solid #252525;padding:8px 4px;color:#bbb}.guide-band{position:absolute;top:39px;height:35px;background:#252525;border:1px solid #888;opacity:.9;overflow:hidden;padding:3px 7px;display:flex;justify-content:space-between;gap:8px}.guide-band small,.guide-slot small{color:#ccc}.guide-slots{position:relative;height:calc(100vh - 170px);min-height:260px;background:repeating-linear-gradient(90deg,transparent 0,transparent 71px,#202020 72px);margin-top:38px}.guide-slot{position:absolute;top:12px;height:60px;background:#171717;border:1px solid #ddd;overflow:hidden;padding:6px;display:grid;align-content:start;gap:3px}.guide-slot button{position:absolute;right:2px;bottom:2px;padding:2px}.guide-slot.placeholder{background:repeating-linear-gradient(135deg,#1b1b1b,#1b1b1b 8px,#393939 8px,#393939 16px);border-style:dashed}.guide-slot.break{background:#101010;border-style:dotted}.guide-now{position:absolute;z-index:5;top:38px;bottom:0;border-left:2px solid #fff;pointer-events:none}.guide-zone{display:flex;gap:18px}.guide-zone small{writing-mode:vertical-rl}.guide-days{display:flex!important;gap:6px!important;flex-wrap:wrap}.guide-days label{font-size:12px}.library{min-height:100vh;background:#000;color:#fff;padding:clamp(1rem,4vw,3rem);font:16px/1.5 system-ui,sans-serif}.library *{box-sizing:border-box}.library-header{display:flex;justify-content:space-between;align-items:end;gap:2rem;max-width:1200px;margin:0 auto 2rem}.library h1{font-size:clamp(2rem,5vw,3.5rem);line-height:1;margin:.2rem 0}.library-header p{color:#aaa;margin:.5rem 0}.library-kicker{font-size:.72rem;letter-spacing:.18em;color:#aaa!important}.library-search{display:grid;gap:.4rem;min-width:min(100%,20rem)}.library input,.library button{font:inherit;color:#fff;background:#090909;border:1px solid #555;border-radius:3px;padding:.65rem .8rem}.library input:focus,.library button:focus-visible{outline:2px solid white;outline-offset:2px}.library-filters{display:flex;gap:.5rem;flex-wrap:wrap;max-width:1200px;margin:0 auto 1.5rem}.library button{cursor:pointer}.library button:hover,.library button[aria-pressed=true]{background:#fff;color:#000}.library-grid{max-width:1200px;margin:auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:1rem}.library-card{padding:0!important;text-align:left!important;overflow:hidden}.library-poster{aspect-ratio:2/3;display:grid;place-items:center;background:linear-gradient(145deg,#171717,#050505);border-bottom:1px solid #333;color:#777;letter-spacing:.22em;font-size:.8rem}.library-card-title,.library-meta{display:block;padding:.25rem .65rem}.library-card-title{font-weight:650}.library-meta{color:#aaa;font-size:.82rem;padding-bottom:.75rem}.library-pagination{max-width:1200px;margin:1.5rem auto;display:flex;align-items:center;justify-content:center;gap:1rem}.library-error{color:#ffbaba}.library-notice{color:#ddd}.library-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:5;background:#000c;display:flex;justify-content:flex-end}.library-detail{position:relative;width:min(100%,600px);height:100%;overflow:auto;background:#050505;border-left:1px solid #555;padding:2rem}.library-detail h2{font-size:2rem}.library-detail h3{font-size:1rem;margin:1.5rem 0 .2rem}.library-detail-poster{width:130px;float:right;margin:1rem 0 1rem 1rem;border:1px solid #333}.library-close{float:right;font-size:1.5rem}.library-actions{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:2rem}.library-queue{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.library-queue input{width:9rem}@media(max-width:640px){.library-header{align-items:stretch;flex-direction:column}.library-detail{padding:1.25rem}.library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.library-pagination{gap:.4rem;flex-wrap:wrap}}.library select{font:inherit;color:#fff;background:#090909;border:1px solid #555;border-radius:3px;padding:.65rem .8rem}.library select:focus-visible{outline:2px solid white;outline-offset:2px}.library-hub-nav{background:#000;padding:.5rem clamp(1rem,4vw,3rem)}.library-hub-nav a{color:#fff}
