:root{color-scheme:dark;--bg:#101518;--panel:#192126;--ink:#edf3ef;--muted:#9eaeac;--accent:#b2dec5;--line:#2d3c40}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.45 system-ui,-apple-system,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer;min-height:54px;padding:12px 18px;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--ink);font-weight:600}button:hover{background:#2b3b3b}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.accent,#start{background:var(--accent);color:#13251b;border-color:var(--accent)}header{padding:20px 26px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:14px}.mark{color:var(--accent);font-size:38px}h1{font-size:26px;letter-spacing:-1px;margin:0}small,.eyebrow{font-size:11px;letter-spacing:1.8px;font-weight:650;color:var(--accent)}.header-controls{display:flex;gap:10px}.safety{padding:8px 26px;color:var(--muted);font-size:12px;border-bottom:1px solid var(--line)}main{padding:24px 26px;display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:26px;max-width:1600px;margin:auto}.watch{min-width:0}.screen{position:relative;background:#060a0c;border-radius:18px;overflow:hidden;aspect-ratio:16/9}video{width:100%;height:100%;display:block;object-fit:contain}#welcome{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;padding:7%;background:radial-gradient(ellipse at 85% 90%,#25463c 0,transparent 60%),#101c20}#welcome h2{font-size:clamp(24px,3.4vw,48px);letter-spacing:-1.5px;line-height:1.1;margin:18px 0}#welcome p{color:var(--muted);max-width:390px;margin:0 0 22px}#start{align-self:flex-start}.now{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:20px 0 16px}.now h2{font-size:25px;margin:3px 0 0}.now p{color:var(--muted);margin:5px 0 0;font-size:14px;overflow-wrap:anywhere}#favourite{font-size:27px;min-width:58px}.transport{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.transport button{padding:12px 7px;font-size:14px}.diagnostics{margin-top:20px;color:var(--muted);font-size:14px}summary{cursor:pointer;min-height:44px;padding:12px 0;color:var(--ink)}.diagnostics label{display:inline-flex;flex-direction:column;margin-right:12px}.browse-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.browse-head h2{font-size:23px;margin:0 0 14px}#count{font-size:12px;color:var(--muted)}input,textarea,select{background:#0e161a;border:1px solid var(--line);border-radius:10px;color:var(--ink);padding:13px;min-height:52px;max-width:100%}input,textarea{width:100%}select{width:100%}.filters{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0 16px}.filters button{font-size:13px;padding:10px}.channels{overflow:auto;max-height:520px;display:flex;flex-direction:column;gap:8px}.channel{width:100%;display:flex;text-align:left;align-items:center;gap:12px;padding:13px;min-height:74px}.channel.active{border-color:var(--accent);background:#24372f}.icon{width:42px;height:42px;border-radius:10px;background:#2a3c3d;color:var(--accent);display:grid;place-items:center;flex-shrink:0;font-size:13px}.channel .name{display:block;font-size:16px;overflow-wrap:anywhere}.channel .meta{display:block;color:var(--muted);font-size:12px;font-weight:400;margin-top:3px}.channel .copy{min-width:0}#empty{padding:24px 6px;color:var(--muted)}#reset{width:100%;margin-top:15px;font-size:13px;color:var(--muted)}footer{padding:10px 26px 22px;font-size:12px;color:var(--muted);display:flex;justify-content:space-between;gap:15px}dialog{width:min(640px,calc(100% - 28px));max-height:88vh;overflow:auto;border:1px solid var(--line);border-radius:18px;padding:24px;background:var(--panel);color:var(--ink)}dialog::backdrop{background:#000b}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:15px}.dialog-head h2{font-size:25px;margin:0}.close{font-size:25px;min-width:54px}dialog p{color:var(--muted);font-size:14px}dialog label{display:block;margin:16px 0 8px;font-size:14px}dialog label input,dialog label textarea{display:block;margin-top:8px}.check{display:flex!important;align-items:flex-start;gap:10px}.check input{width:22px;min-height:22px;margin:0!important;flex-shrink:0}.dialog-actions{display:flex;justify-content:space-between;gap:12px;margin-top:18px}.dialog-actions button{font-size:14px}.privacy{font-size:12px!important}a{color:var(--accent)}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}[hidden]{display:none!important}#importStatus{color:var(--accent)}@media(max-width:950px) and (min-width:681px){main{grid-template-columns:minmax(0,1fr) 280px;gap:18px;padding:18px}.channels{max-height:360px}header{padding:14px 18px}.now h2{font-size:21px}#welcome p{font-size:13px}#welcome h2{font-size:30px}.safety{padding:6px 18px}.transport button{font-size:12px}}@media(max-width:680px){header{padding:15px;flex-wrap:wrap}.brand h1{font-size:24px}.brand small{font-size:9px}.header-controls{width:100%}.header-controls button{flex:1;font-size:14px}.safety{padding:8px 15px}main{padding:16px 15px;display:flex;flex-direction:column;gap:22px}.screen{border-radius:12px}#welcome{padding:6%}#welcome h2{font-size:25px;margin:10px 0}#welcome p{font-size:12px;margin-bottom:12px}.eyebrow{font-size:9px}#start{min-height:44px;padding:8px 12px;font-size:13px}.now h2{font-size:21px}.transport{grid-template-columns:repeat(2,1fr)}.channels{max-height:440px}footer{padding:12px 15px;display:block}footer span{display:block;margin-top:8px}dialog{padding:18px}.dialog-actions{flex-direction:column}}
@media(max-width:360px){.screen:has(#welcome:not([hidden])){min-height:230px;aspect-ratio:auto}#welcome h2{font-size:24px}}
.kind{display:block;margin-top:10px}
@media(min-width:681px) and (max-height:800px){header{padding:12px 22px}.safety{padding:6px 22px}main{padding:16px 22px}.screen{height:clamp(150px,calc(100dvh - 330px),420px);aspect-ratio:auto}.now{padding:12px 0}.now h2{font-size:22px}.now p{margin-top:3px}.channels{max-height:max(140px,calc(100dvh - 330px))}footer{padding-top:0}.diagnostics{margin-top:10px}#welcome h2{font-size:clamp(25px,3vw,38px);margin:12px 0}#welcome p{margin-bottom:15px}#welcome{padding:5%}}
@media(min-width:681px) and (max-height:540px){header{padding:8px 18px}.brand small{display:none}.brand h1{font-size:23px}.mark{font-size:30px}.safety{font-size:10px;padding:5px 18px}main{padding:12px 18px}.screen{height:160px}#welcome .eyebrow{display:none}#welcome h2{font-size:23px;margin:5px 0}#welcome p{font-size:12px;margin-bottom:8px}#start{min-height:44px;padding:8px 12px;font-size:13px}.now small{font-size:9px}.now h2{font-size:18px}.now p{font-size:12px}.now{padding:8px 0}.channels{max-height:170px}}
@media(min-width:681px) and (max-height:800px){.channels{max-height:max(90px,calc(100dvh - 410px))}}
@media(min-width:681px) and (max-height:540px){.channels{max-height:100px}}
