.player-frame{position:relative}
.player-toolbar{display:flex;justify-content:flex-end;gap:7px;margin:0 0 10px}
.player-toolbar button{border:1px solid var(--line);border-radius:8px;background:#171c26;color:#cbd2df;padding:7px 12px;font-size:.82rem}
.player-toolbar button[aria-pressed="true"]{border-color:var(--accent);background:rgba(242,184,75,.12);color:#fff}
.player-toolbar button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.watch-shell[data-player-mode="wide"] .watch-layout{grid-template-columns:minmax(0,1fr)}
.watch-shell[data-player-mode="wide"] .watch-side{display:none}
.watch-shell[data-player-mode="wide"] .player-frame{width:min(100%,138.667vh,1600px);margin-inline:auto}
.watch-shell[data-player-mode="web-full"]{position:fixed;inset:0;z-index:100;width:100%;max-width:none;padding:10px;background:#030405;overflow:auto}
.watch-shell[data-player-mode="web-full"] .watch-breadcrumb,.watch-shell[data-player-mode="web-full"] .player-info,.watch-shell[data-player-mode="web-full"] .source-panel,.watch-shell[data-player-mode="web-full"] .watch-side{display:none}
.watch-shell[data-player-mode="web-full"] .watch-layout{display:block}
.watch-shell[data-player-mode="web-full"] .player-toolbar{position:absolute;right:14px;top:14px;z-index:6;margin:0;padding:5px;border-radius:10px;background:rgba(4,5,7,.72)}
.watch-shell[data-player-mode="web-full"] .watch-layout>div{min-height:calc(100vh - 20px);display:flex;align-items:center}
.watch-shell[data-player-mode="web-full"] .player-frame{width:min(100%,177.778vh);height:auto;aspect-ratio:16/9;margin:auto;border-radius:10px}
body.player-web-full{overflow:hidden}
.player-error{position:absolute;left:50%;bottom:20px;transform:translateX(-50%);padding:9px 14px;border-radius:9px;background:rgba(154,34,34,.92);color:#fff;font-size:.85rem;white-space:nowrap;z-index:4;box-shadow:0 8px 30px rgba(0,0,0,.35)}
.source-lines{display:flex;gap:9px;overflow-x:auto;padding:14px 0 16px;margin-bottom:3px;border-bottom:1px solid var(--line);scrollbar-width:thin}
.source-lines a{flex:0 0 auto;min-width:120px;padding:9px 12px;border:1px solid var(--line);border-radius:10px;background:#121720;color:#cbd2df}
.source-lines a b,.source-lines a small{display:block}
.source-lines a small{font-size:.72rem;color:var(--muted);margin-top:2px}
.source-lines a.active{border-color:var(--accent);background:rgba(242,184,75,.1);color:#fff}
.line-picker{display:flex;align-items:center;gap:18px;margin:18px 0 6px;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:#171c26}
.line-picker label{flex:0 0 120px;font-weight:750;color:#f5f7fb}
.line-picker label small{display:block;font-size:.75rem;font-weight:400;color:var(--muted)}
.line-picker select{flex:1;min-width:0;border:1px solid #3a4354;border-radius:9px;background:#0e1219;color:#fff;padding:10px 12px;font:inherit;cursor:pointer}
.line-picker select:focus{outline:2px solid var(--accent);outline-offset:2px}
@media(max-width:600px){.line-picker{display:block}.line-picker label{display:block;margin-bottom:8px}.line-picker select{width:100%}.player-toolbar{justify-content:center}.player-toolbar button{flex:1;padding-inline:6px}.watch-shell[data-player-mode="web-full"]{padding:0}.watch-shell[data-player-mode="web-full"] .watch-layout>div{min-height:100dvh}.watch-shell[data-player-mode="web-full"] .player-frame{border-radius:0}.watch-shell[data-player-mode="web-full"] .player-toolbar{right:8px;top:8px;left:8px}}

