:root{--bg: #0b0d14;--bg-elev: #131724;--bg-card: #181d2e;--bg-hover: #212840;--border: rgba(255, 255, 255, .08);--text: #f3f4f6;--text-muted: #9ca3af;--accent: #f97316;--accent-2: #ef4444;--accent-glow: rgba(249, 115, 22, .25);--success: #22c55e;--danger: #ef4444;--radius: 14px}*{box-sizing:border-box;margin:0;padding:0}html,body,#root{height:100%;background:var(--bg);color:var(--text);font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;-webkit-font-smoothing:antialiased}button,input,select{font:inherit;color:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.app-shell{display:flex;min-height:100vh}.sidebar{width:230px;flex-shrink:0;background:var(--bg-elev);border-right:1px solid var(--border);padding:20px 14px;display:flex;flex-direction:column;gap:8px;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:10px;padding:6px 10px 18px}.brand-mark{width:36px;height:36px;border-radius:10px;background:linear-gradient(135deg,var(--accent),var(--accent-2));display:grid;place-items:center;font-weight:900;font-size:18px;color:#fff;box-shadow:0 4px 16px var(--accent-glow)}.brand-name{font-weight:800;font-size:17px;letter-spacing:-.02em}.brand-sub{font-size:11px;color:var(--text-muted)}.nav-btn{display:flex;align-items:center;gap:12px;width:100%;padding:11px 14px;border-radius:11px;border:none;background:transparent;color:var(--text-muted);cursor:pointer;font-size:14px;font-weight:600;transition:all .15s ease;text-align:left}.nav-btn:hover{background:var(--bg-hover);color:var(--text)}.nav-btn.active{background:linear-gradient(135deg,#f9731633,#ef444426);color:#fff;border:1px solid rgba(249,115,22,.35)}.kids-toggle{margin-top:auto;display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-radius:11px;background:var(--bg-card);border:1px solid var(--border);font-size:13px;cursor:pointer}.kids-toggle.on{border-color:#22c55e;background:#22c55e24}.main-content{flex:1;min-width:0;padding:24px 28px 96px}.page-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;margin-bottom:22px}.page-title{font-size:24px;font-weight:800;letter-spacing:-.02em}.pill-bar{display:flex;gap:8px;overflow-x:auto;padding-bottom:6px;margin-bottom:20px;scrollbar-width:thin}.pill{flex-shrink:0;padding:8px 14px;border-radius:999px;border:1px solid var(--border);background:var(--bg-card);color:var(--text-muted);font-size:13px;font-weight:600;cursor:pointer;transition:all .15s ease}.pill:hover{background:var(--bg-hover);color:var(--text)}.pill.active{background:var(--accent);color:#fff;border-color:var(--accent)}.hero{position:relative;border-radius:18px;padding:32px;margin-bottom:28px;background:radial-gradient(circle at top right,rgba(249,115,22,.28),transparent 55%),linear-gradient(135deg,#161b2c,#0f1320);border:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:24px;overflow:hidden}.hero-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;background:#f9731633;color:#fdba74;margin-bottom:12px}.hero h1{font-size:30px;font-weight:800;margin-bottom:10px}.hero p{color:var(--text-muted);max-width:560px;line-height:1.5;margin-bottom:18px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 18px;border-radius:10px;border:1px solid var(--border);background:var(--bg-card);color:var(--text);font-weight:600;font-size:14px;cursor:pointer;transition:all .15s ease}.btn:hover{background:var(--bg-hover)}.btn-primary{background:linear-gradient(135deg,var(--accent),var(--accent-2));border-color:transparent;color:#fff;box-shadow:0 6px 20px var(--accent-glow)}.btn-primary:hover{filter:brightness(1.08)}.btn-danger{background:#ef444426;border-color:#ef444459;color:#fca5a5}.btn-sm{padding:6px 12px;font-size:12px}.section-block{margin-bottom:28px}.section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.section-title{font-size:17px;font-weight:700}.media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:16px}.media-row{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(195px,215px);gap:14px;overflow-x:auto;padding-bottom:8px}.media-card{position:relative;background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;cursor:pointer;transition:transform .16s ease,border-color .16s ease;display:flex;flex-direction:column}.media-card:hover{transform:translateY(-3px);border-color:#f9731680}.card-thumb{position:relative;aspect-ratio:16 / 10;background:linear-gradient(135deg,#1f2538,#121625);display:grid;place-items:center;overflow:hidden}.card-thumb.poster{aspect-ratio:2 / 3}.card-thumb img{width:100%;height:100%;object-fit:cover}.card-fallback{font-size:28px;font-weight:800;color:#ffffff40}.card-live-badge{position:absolute;top:8px;left:8px;background:#dc2626;color:#fff;font-size:10px;font-weight:800;padding:3px 7px;border-radius:6px;letter-spacing:.05em}.card-fav-btn{position:absolute;top:8px;right:8px;width:30px;height:30px;border-radius:999px;border:none;background:#0b0d14b8;color:#fff;display:grid;place-items:center;cursor:pointer}.card-fav-btn.active{color:#facc15}.card-body{padding:11px 12px 13px;display:flex;flex-direction:column;gap:4px}.card-title{font-size:14px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card-sub{font-size:12px;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.progress-track{height:3px;background:#ffffff24;width:100%}.progress-fill{height:100%;background:var(--accent)}.search-input{width:100%;max-width:460px;padding:11px 16px;border-radius:12px;border:1px solid var(--border);background:var(--bg-card);font-size:14px}.panel{background:var(--bg-elev);border:1px solid var(--border);border-radius:var(--radius);padding:20px;margin-bottom:20px}.panel h2{font-size:17px;margin-bottom:12px}.form-grid{display:grid;grid-template-columns:1fr 130px 2fr auto;gap:10px;align-items:center}.input{padding:10px 12px;border-radius:10px;border:1px solid var(--border);background:var(--bg-card);font-size:14px;width:100%}.source-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:14px;border-radius:12px;background:var(--bg-card);border:1px solid var(--border);margin-bottom:10px}.code-box{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;border-radius:10px;background:#090b10;border:1px solid var(--border);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px;overflow-x:auto;margin-top:8px}.player-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;background:#05070bf5;display:flex;flex-direction:column}.player-topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;background:#131724eb;border-bottom:1px solid var(--border)}.player-stage{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;position:relative;background:#000}.player-stage video{width:100%;height:100%;max-height:100%;object-fit:contain}.player-status{position:absolute;bottom:18px;left:50%;transform:translate(-50%);background:#0b0d14e0;border:1px solid var(--border);padding:8px 16px;border-radius:999px;font-size:13px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:90;background:#000000c7;display:grid;place-items:center;padding:20px}.modal-card{width:100%;max-width:720px;max-height:85vh;overflow-y:auto;background:var(--bg-elev);border:1px solid var(--border);border-radius:18px;padding:24px}.episode-item{display:flex;align-items:center;justify-content:space-between;padding:11px 14px;border-radius:10px;background:var(--bg-card);border:1px solid var(--border);margin-bottom:8px;cursor:pointer}.episode-item:hover{border-color:var(--accent)}.mobile-nav{display:none}@media(max-width:820px){.sidebar{display:none}.main-content{padding:16px 14px 86px}.hero{padding:20px;flex-direction:column;align-items:flex-start}.hero h1{font-size:22px}.form-grid{grid-template-columns:1fr}.media-grid{grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:12px}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:50;background:#131724f5;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-top:1px solid var(--border);padding:6px 4px calc(6px + env(safe-area-inset-bottom));justify-content:space-around}.mobile-nav button{display:flex;flex-direction:column;align-items:center;gap:3px;background:none;border:none;color:var(--text-muted);font-size:10px;font-weight:600;padding:6px 8px;border-radius:10px}.mobile-nav button.active{color:var(--accent)}}
