@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&display=swap');
:root{color-scheme:dark;--bg:#10120f;--panel:#191c17;--hover:#23271f;--line:#2a2f25;--text:#f3f5ee;--muted:#a3aa9a;--accent:#d3eb94;--ink:#1a2410;--radius:14px;font-family:'DM Sans',sans-serif;font-size:16px}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}button:disabled{opacity:.5;cursor:wait}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:4px}::selection{color:var(--ink);background:var(--accent)}input,textarea{caret-color:var(--accent)}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-thumb{background:#3c4334;border-radius:5px}svg{width:20px;height:20px;display:block;flex-shrink:0}button svg{pointer-events:none}button{border:0;background:none}h1,h2,h3,p{margin:0}h1,h2{letter-spacing:-.035em}p{line-height:1.6}small{font-size:.78rem}.skip{position:fixed;top:-70px;left:20px;background:var(--accent);color:var(--ink);padding:14px;z-index:100}.skip:focus{top:12px}.topbar{height:88px;display:flex;align-items:center;gap:30px;padding:0 32px;border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--bg);z-index:20}.brand{display:flex;align-items:center;font-size:1.6rem;font-weight:700;letter-spacing:-.04em;min-width:177px}.brand svg{width:34px;height:34px;color:var(--accent);margin-right:10px}.brand-dot{color:var(--accent)}.search{height:44px;max-width:510px;flex:1;display:flex;align-items:center;gap:12px;background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:0 14px;color:var(--muted)}.search input{border:0;outline:none;background:none;min-width:0;width:100%;font-size:.875rem;color:var(--text)}input::placeholder,textarea::placeholder{color:#a3aa9a}.search kbd{font-family:inherit;border:1px solid #42483b;padding:0 6px;border-radius:4px;color:var(--muted);font-size:.75rem}.header-right{margin-left:auto;display:flex;align-items:center;gap:25px}.parked{display:flex;align-items:center;gap:8px;font-size:.78rem;color:var(--muted);white-space:nowrap}.parked svg{width:16px;color:var(--accent)}.avatar{height:36px;width:36px;flex-shrink:0;border-radius:50%;background:#2d3523;color:var(--accent);font-weight:600;font-size:.8rem}.sidebar{position:fixed;top:88px;bottom:0;width:222px;padding:28px 16px 18px;border-right:1px solid var(--line);display:flex;flex-direction:column}.nav-item{min-height:48px;padding:12px 15px;display:flex;align-items:center;gap:13px;width:100%;text-align:left;font-size:.875rem;font-weight:500;border-radius:9px;color:var(--muted);margin-bottom:5px;white-space:nowrap}.nav-item:hover{background:var(--panel);color:var(--text)}.nav-item.active{background:#2a3320;color:var(--accent)}.nav-item svg{width:19px;height:19px}.count{margin-left:auto;font-size:.75rem;padding:2px 7px;background:#30362a;border-radius:4px}.nav-rule{height:1px;background:var(--line);margin:20px 15px}.sidebar-bottom{margin-top:auto}.server-shortcut{width:100%;text-align:left;display:flex;align-items:center;gap:10px;padding:15px 10px;margin-bottom:12px}.server-symbol{color:var(--muted)}.server-shortcut strong{font-size:.78rem;font-weight:500;display:block}.server-shortcut small{color:var(--muted);font-size:.68rem;display:block;margin-top:5px;line-height:1.4}.server-shortcut>svg:last-child{width:14px;margin-left:auto;color:var(--muted)}.sidebar-foot{border-top:1px solid var(--line);margin:16px 13px 0;padding-top:20px;color:var(--muted);font-size:.7rem}.sidebar-foot span{display:block;margin-top:5px;font-size:.65rem;color:#858e7c}main{margin-left:222px;padding:30px 36px 0;min-height:calc(100vh - 88px);max-width:1900px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:24px}.page-heading h1{font-size:1.65rem;font-weight:600}.page-heading p{color:var(--muted);font-size:.85rem;margin-top:7px}.date{font-size:.78rem;color:var(--muted);display:flex;align-items:center;gap:9px}.hero{position:relative;min-height:322px;overflow:hidden;border-radius:16px;background:#3c4b46 url('./assets/mountains.jpg') 58% 45%/cover}.hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(11,20,16,.87),rgba(13,23,16,.48) 45%,rgba(6,14,7,.02) 85%)}.hero-content{position:relative;padding:42px;max-width:610px}.hero h2{font-size:3.3rem;font-weight:500;line-height:1.04;max-width:440px;text-wrap:balance}.hero p{color:#e0e6d8;font-size:.9rem;max-width:315px;margin:18px 0 25px}.hero-actions{display:flex;gap:10px;flex-wrap:wrap}.button{display:inline-flex;justify-content:center;align-items:center;gap:9px;min-height:44px;padding:11px 18px;border-radius:8px;font-size:.85rem;font-weight:600;background:var(--accent);color:var(--ink);line-height:1.2}.button:hover{filter:brightness(1.08)}.button svg{width:17px;height:17px}.button.secondary{background:#ffffff1a;color:#fff;backdrop-filter:blur(8px)}.button.subtle{background:var(--panel);color:var(--text)}.hero-corner{position:absolute;right:20px;bottom:20px;color:#fff;display:flex;gap:7px;align-items:center;font-size:.72rem}.hero-corner svg{width:14px;height:14px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:30px 0 16px;gap:15px}.section-heading h2{font-size:1.2rem;font-weight:550;letter-spacing:-.025em}.section-heading p{font-size:.8rem;color:var(--muted);margin-top:5px}.text-button{font-size:.8rem;color:var(--muted);min-height:44px}.text-button:hover{color:var(--accent)}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 16px}.media-card{min-width:0;position:relative}.thumb-button{display:block;width:100%;padding:0;text-align:left}.thumb{position:relative;overflow:hidden;aspect-ratio:16/9;border-radius:10px;background:#272e22}.thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s cubic-bezier(.16,1,.3,1)}.thumb-button:hover img{transform:scale(1.04)}.thumb:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 50%,#0005)}.thumb-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:40px;height:40px;border-radius:50%;background:#10120fbb;display:grid;place-items:center;color:#fff;opacity:0;z-index:2;transition:opacity .2s}.thumb-button:hover .thumb-play,.thumb-button:focus-visible .thumb-play{opacity:1}.duration{position:absolute;right:8px;bottom:8px;background:#10120fe6;padding:3px 5px;border-radius:4px;font-size:.66rem;z-index:2;font-variant-numeric:tabular-nums}.card-title{font-size:.875rem;font-weight:500;line-height:1.4;margin:11px 26px 5px 0;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.card-meta{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:.72rem;line-height:1.5}.save{position:absolute;bottom:22px;right:-5px;padding:9px;color:var(--muted)}.save svg{width:16px;height:16px}.save.saved{color:var(--accent)}.discover-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.discovery{position:relative;height:136px;overflow:hidden;border-radius:10px;text-align:left;padding:20px;display:flex;align-items:flex-end;background:#28301f}.discovery img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.discovery:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent,#111b0be0)}.discovery span{position:relative;z-index:1;font-size:.95rem;font-weight:550}.main-footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);margin-top:35px;padding:18px 0 20px;color:var(--muted);font-size:.72rem}.main-footer button{color:var(--muted);font-size:.72rem;min-height:44px}.chips{display:flex;gap:8px;overflow-x:auto;margin:5px 0 24px;padding-bottom:3px}.chip{flex-shrink:0;background:var(--panel);padding:10px 17px;min-height:42px;border-radius:8px;font-size:.8rem;color:var(--muted)}.chip.active{background:var(--text);color:var(--bg)}.empty{padding:60px 20px 80px;max-width:600px;margin:auto;text-align:center}.empty-icon{display:grid;place-items:center;margin:0 auto 20px;width:62px;height:62px;background:var(--panel);border-radius:16px;color:var(--accent)}.empty-icon svg{width:28px;height:28px}.empty h2{font-size:1.5rem;font-weight:500;margin-bottom:12px}.empty p{color:var(--muted);font-size:.9rem;margin-bottom:24px;line-height:1.7}.banner{padding:16px 20px;background:var(--panel);border:1px solid var(--line);border-radius:12px;display:flex;align-items:center;gap:16px;margin-bottom:25px}.banner>svg{color:var(--accent);width:26px;height:26px}.banner strong{font-size:.92rem;display:block;font-weight:550}.banner p{font-size:.8rem;color:var(--muted);margin-top:5px}.banner .button{margin-left:auto;white-space:nowrap}.sheet{width:min(580px,calc(100vw - 32px));max-height:90dvh;background:var(--panel);color:var(--text);border:1px solid #394130;border-radius:16px;padding:28px}.sheet::backdrop,.player::backdrop{background:#050704cf;backdrop-filter:blur(7px)}.sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.sheet-head h2{font-size:1.5rem;font-weight:550}.icon-button{display:grid;place-items:center;min-height:44px;min-width:44px;color:var(--muted);border-radius:8px}.icon-button:hover{background:var(--hover);color:var(--text)}.form-stack{display:grid;gap:18px}.field{display:grid;gap:8px;font-size:.8rem;font-weight:500}.field input,.field textarea,.field select{width:100%;border:1px solid #454d3c;background:#11150e;color:var(--text);padding:12px;border-radius:8px;font-size:.875rem;min-height:44px;outline-offset:2px}.field select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23a3aa9a'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");background-size:18px;background-position:right 12px center;background-repeat:no-repeat;padding-right:35px}.field textarea{min-height:95px;resize:vertical}.hint{font-size:.8rem;color:var(--muted);line-height:1.65}.hint a{text-decoration:underline;text-underline-offset:3px;color:var(--accent)}.error{font-size:.8rem;color:#ffc1ad;line-height:1.5;white-space:pre-line}.error:empty{display:none}.form-stack .button{width:100%}.settings-section{padding:20px 0;border-top:1px solid var(--line)}.settings-section h3{font-size:.95rem;font-weight:550;margin-bottom:12px}.settings-section:first-child{border:0;padding-top:0}.setting-line{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:8px 0}.setting-line p{font-size:.8rem}.setting-line small{color:var(--muted);display:block;margin-top:5px}.source-row{display:flex;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--line);font-size:.85rem}.source-row small{display:block;color:var(--muted);margin-top:4px}.danger{color:#ffc1ad}.player{width:min(1120px,100vw);max-width:100vw;max-height:100dvh;background:var(--bg);color:var(--text);border:1px solid var(--line);padding:18px 24px;border-radius:16px}.player-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;font-size:.8rem;color:var(--muted)}.screen{width:100%;aspect-ratio:16/9;background:#000;display:grid;place-items:center;position:relative;overflow:hidden}.screen canvas,.screen iframe,.screen video{width:100%;height:100%;object-fit:contain;border:0;display:block}.player-info{display:flex;align-items:center;justify-content:space-between;margin-top:18px}.player-info h2{font-size:1.2rem;font-weight:550}.player-info p{font-size:.8rem;color:var(--muted);margin-top:6px}.player-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:14px}.player-controls label{display:flex;align-items:center;gap:8px;font-size:.8rem;color:var(--muted)}.player-controls input{accent-color:var(--accent)}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);padding:12px 20px;border:1px solid #49523c;background:#242c1b;border-radius:10px;color:var(--text);z-index:100;opacity:0;pointer-events:none;font-size:.875rem;transition:opacity .2s,transform .2s;max-width:90vw}#toast.show{opacity:1;transform:translate(-50%,0)}.loading{padding:80px 20px;text-align:center;color:var(--muted)}.loading:before{content:'';display:block;width:24px;height:24px;border:2px solid var(--line);border-top-color:var(--accent);border-radius:50%;margin:0 auto 16px;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.player:fullscreen{border:0;border-radius:0;max-height:none}.player:fullscreen .screen{height:calc(100dvh - 180px);aspect-ratio:auto}.profile-status{color:var(--accent)}
@media(min-width:1600px){main{padding:38px 48px 0}.hero{min-height:380px}.hero-content{padding:55px}.hero h2{font-size:4rem}.hero p{margin-top:22px}.grid{gap:26px 20px}}
@media(max-width:1150px){.parked{display:none}.sidebar{width:190px;padding-left:10px;padding-right:10px}main{margin-left:190px;padding:26px}.brand{min-width:148px}.topbar{padding:0 24px;gap:25px}.hero-content{padding:32px}.hero h2{font-size:2.9rem}.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.server-shortcut{padding:10px 5px;gap:6px}.server-shortcut small{font-size:.63rem}.server-shortcut>svg:last-child{display:none}.date{display:none}}
@media(max-width:760px){.topbar{height:72px;padding:0 18px;gap:20px}.brand{min-width:auto;font-size:1.35rem}.brand svg{width:29px;height:29px}.search{max-width:none;min-width:100px}.search kbd{display:none}.header-right{gap:0}.sidebar{top:auto;bottom:0;height:70px;width:100%;border:0;border-top:1px solid var(--line);padding:7px 8px;background:var(--bg);z-index:30}.sidebar nav{display:flex;justify-content:space-around}.nav-item{flex-direction:column;gap:5px;padding:5px 10px;margin:0;font-size:.64rem;min-height:52px;min-width:0;width:auto}.nav-item svg{width:20px;height:20px}.nav-rule,.sidebar-bottom,.count{display:none}main{margin:0;padding:22px 20px 75px}.page-heading h1{font-size:1.4rem}.page-heading{margin-bottom:20px}.hero{min-height:310px;background-position:65% 50%}.hero-content{padding:28px;max-width:440px}.hero h2{font-size:2.65rem;max-width:290px}.hero p{font-size:.85rem;max-width:270px}.hero-corner{display:none}.hero:before{background:linear-gradient(90deg,#0b1416d9,#0b14162e)}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}.discover-grid{grid-template-columns:repeat(3,1fr);gap:10px}.discovery{height:110px;padding:13px}.discovery span{font-size:.8rem;max-width:90px}.section-heading{margin-top:26px}.section-heading h2{font-size:1.1rem}.section-heading p{font-size:.75rem}.banner{align-items:flex-start;flex-wrap:wrap}.banner .button{margin-left:0}.player{padding:12px;border-radius:0;width:100%;}.player-header .button{font-size:.75rem;padding:10px}.player-header>span{font-size:.65rem}.player-info h2{font-size:1.05rem}.screen{min-height:200px}.sheet{padding:24px}.main-footer{font-size:.65rem}.avatar{width:33px;height:33px}.save{bottom:20px}}
@media(max-width:450px){.brand{font-size:1.23rem}.brand svg{width:26px;height:26px;margin-right:7px}.topbar{gap:12px;padding:0 14px}.search{height:39px;padding:0 9px;gap:7px}.search input{font-size:.72rem}.search svg{width:16px}.avatar{width:29px;height:29px;font-size:.7rem}main{padding:20px 16px 75px}.hero{min-height:322px}.hero-content{padding:26px 23px}.hero h2{font-size:2.55rem}.hero-actions{gap:8px}.hero-actions .button{padding:11px 12px;font-size:.77rem}.card-title{font-size:.8rem}.card-meta{font-size:.66rem}.discovery{height:115px;padding:10px}.page-heading p{font-size:.77rem}.main-footer>span{max-width:180px}.player-header{gap:4px}.player-header>span{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.guide-scroll{overflow:auto;border:1px solid var(--line);border-radius:12px}.guide{min-width:760px}.guide-times,.guide-row{display:grid;grid-template-columns:180px 1fr}.guide-times{font-size:.8rem;color:var(--muted);padding:16px}.guide-times>div{display:grid;grid-template-columns:repeat(3,1fr)}.guide-row{min-height:76px;border-top:1px solid var(--line)}.guide-channel{background:var(--panel);text-align:left;padding:15px;font-size:.85rem;font-weight:500}.guide-programs{position:relative}.guide-programs>button{position:absolute;top:4px;bottom:4px;padding:10px;text-align:left;border:2px solid var(--bg);background:var(--panel);border-radius:8px;overflow:hidden;min-width:0}.guide-programs>button:hover{background:var(--hover)}.guide-programs strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.8rem;font-weight:500}.guide-programs small{display:block;white-space:nowrap;color:var(--muted);margin-top:7px;font-size:.75rem}.section-heading>div:last-child>.text-button+.text-button{margin-left:14px}.save{min-width:44px;min-height:44px}

.player .screen{max-height:calc(100dvh - 245px)}.player:fullscreen .screen{max-height:calc(100dvh - 200px)}

[hidden]{display:none!important}

.nav-short{display:none}.avatar{min-width:44px;min-height:44px}@media(max-width:760px){.nav-long{display:none}.nav-short{display:block}.nav-item{font-size:.7rem}.avatar{width:44px;height:44px}}
