:root{color-scheme:dark;--bg:#0a0e18;--panel:#121929;--panel2:#1a2537;--stroke:#26344a;--text:#f4f7fd;--muted:#91a0b5;--accent:#5b8cff;--green:#28c7a0;--radius:17px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:15px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input{font:inherit}button{border:1px solid var(--stroke);background:var(--panel2);color:var(--text);border-radius:10px;padding:10px 13px;cursor:pointer;touch-action:manipulation}button:hover,button:focus-visible{border-color:var(--accent)}button:active{transform:scale(.99)}input{border:1px solid var(--stroke);border-radius:10px;background:#0e1727;padding:13px;color:var(--text);width:100%;outline:none}input:focus{border-color:var(--accent)}small{color:var(--muted)}.hide{display:none!important}.topbar{height:75px;border-bottom:1px solid var(--stroke);padding:0 25px;display:flex;align-items:center;justify-content:space-between;background:#0f1522;gap:10px}.brand{display:flex;gap:11px;align-items:center;letter-spacing:.06em}.brand>div{display:grid}.brand small{font-size:9px;letter-spacing:.18em;margin-top:-3px}.brand-icon{background:linear-gradient(140deg,#639dff,#3758d3);color:white;width:66px;height:66px;border-radius:18px;display:flex;align-items:center;justify-content:center;font-size:32px;box-shadow:0 10px 30px #254ac52c}.brand-icon.small{width:42px;height:42px;font-size:17px;border-radius:11px}.toolbar{display:flex;align-items:center;gap:9px}.status{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:7px;margin-right:9px}#state-dot{width:8px;height:8px;border-radius:50%;background:var(--green)}.workspace{display:grid;grid-template-columns:248px minmax(0,1fr);min-height:calc(100vh - 112px)}.sidebar{padding:23px 15px;border-right:1px solid var(--stroke);background:#0d1421;display:flex;flex-direction:column;gap:14px}.search-label{color:var(--muted);font-size:12px}.groups{display:flex;flex-direction:column;gap:4px;overflow:auto;max-height:60vh}.group{display:flex;align-items:center;justify-content:space-between;width:100%;border-color:transparent;background:transparent;text-align:left;padding:12px;color:#b9c7da}.group.active{background:#1f2f4f;color:white;border-color:#2d4875}.group .qty{font-size:11px;opacity:.65}.sidebar-foot{margin-top:auto;color:#64748b;font-size:11px}main{min-width:0;padding:24px;max-width:1500px;width:100%;margin:auto}.playerbox{overflow:hidden;background:var(--panel);border:1px solid var(--stroke);border-radius:var(--radius)}.player-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 21px}.player-head small{letter-spacing:.14em;font-size:10px}.player-head h2{margin:3px 0 0;font-size:22px;line-height:1.22}.player-head p{margin:4px 0 0;color:var(--muted);font-size:12px}.player-controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.audio-switch{color:var(--muted);display:flex;gap:8px;align-items:center;white-space:nowrap}.audio-switch input{width:18px;height:18px;accent-color:#6190ff}.media-shell{aspect-ratio:16/9;position:relative;background:#05070b;max-height:520px;min-height:210px;display:flex;align-items:center;justify-content:center}.media-shell video{height:100%;width:100%;object-fit:contain}.media-shell audio{width:min(520px,80%)}.empty,.loading{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#070c16;gap:8px;text-align:center}.empty span{font-size:42px;color:#548aff}.empty strong,.loading strong{font-size:20px}.spinner{width:33px;height:33px;border:3px solid #203b66;border-top-color:#5b8cff;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.player-foot{display:flex;align-items:center;justify-content:space-between;padding:10px 17px;gap:8px}.player-foot>div{display:flex;gap:7px;flex-wrap:wrap}.pill{font-size:10px;color:#9fb5ce;background:#1b2a44;padding:4px 8px;border-radius:5px}.play-again{background:var(--accent);border-color:transparent;font-weight:700}.list-head{display:flex;align-items:center;justify-content:space-between;margin:26px 0 14px;gap:10px}.list-head h3{margin:0;font-size:20px}.list-head>div{display:flex;align-items:center;gap:13px}#count,#notice{font-size:12px;color:var(--muted)}.channel-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px}.channel-card{border-radius:12px;min-height:82px;background:var(--panel);border:1px solid var(--stroke);display:flex;align-items:center;gap:12px;padding:12px;text-align:left;width:100%}.channel-card.selected{border-color:var(--accent);background:#1b2b47}.channel-logo{border-radius:10px;background:#243454;min-width:53px;width:53px;height:53px;display:flex;align-items:center;justify-content:center;overflow:hidden;font-weight:750;font-size:19px;color:#b6d1ff}.channel-logo img{width:100%;height:100%;object-fit:contain}.channel-name{min-width:0;flex:1}.channel-name strong{display:block;font-size:14px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.channel-name small{display:block;font-size:11px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.fav{background:transparent;border:none;color:#748399;padding:8px;font-size:20px;line-height:1}.fav.on{color:#ffbd59}.channel-action{flex:1;display:flex;align-items:center;gap:10px;min-width:0}.login{min-height:100vh;display:grid;place-items:center;padding:22px}.loginbox{max-width:360px;width:100%;background:var(--panel);border:1px solid var(--stroke);padding:32px;border-radius:20px}.loginbox h1{margin:20px 0 0}.loginbox p{color:var(--muted);margin:3px 0 26px}.loginbox label{display:block;font-size:12px;color:var(--muted);margin-bottom:7px}.primary{width:100%;background:#4679e8;border:none;margin-top:12px;padding:13px;font-weight:650}.error{color:#ff919d;display:block;min-height:19px;margin-top:8px}footer{padding:12px 24px;color:#60748d;font-size:11px;text-align:center}@media(max-width:920px){.workspace{grid-template-columns:1fr}.sidebar{padding:12px 15px;gap:10px;border-right:0;border-bottom:1px solid var(--stroke)}.sidebar-foot{display:none}.groups{flex-direction:row;max-height:none;overflow:auto}.group{width:auto;white-space:nowrap;padding:8px 11px;gap:8px}.search-label{display:none}main{padding:15px}.channel-grid{grid-template-columns:repeat(auto-fill,minmax(175px,1fr))}.player-head{padding:13px;flex-wrap:wrap}.toolbar button{padding:8px}.status{display:none}}@media(max-width:480px){.topbar{height:62px;padding:0 12px}.brand-icon.small{height:34px;width:34px}.brand small{display:none}.channel-grid{grid-template-columns:1fr 1fr;gap:8px}.channel-card{padding:8px;gap:7px;min-height:69px}.channel-logo{min-width:41px;width:41px;height:41px;font-size:13px}.channel-name strong{font-size:12px}.channel-name small{font-size:10px}.fav{padding:4px}.player-head h2{font-size:17px}.media-shell{min-height:195px}}

/* Yolcu ekranı Canvas görüntüleme. Video nesnesi çözümlemeyi ve sesi sürdürür. */
.media-shell.canvas-active #video{
  position:absolute!important;left:-9999px!important;top:0!important;
  width:320px!important;height:180px!important;opacity:0.01!important;
  pointer-events:none!important;
}
.media-shell .canvas-player{width:100%;height:100%;object-fit:contain;display:block;background:#05070b;}
