.watch-wide{--drawer-bg:#151c25;--drawer-text:#eef2f7;--drawer-muted:#a1abba;--drawer-border:#ffffff18;--drawer-field:#212b38;--drawer-width:380px;--watch-video-height:70vh}
[data-theme=light] .watch-wide{--drawer-bg:#fff;--drawer-text:#182332;--drawer-muted:#627084;--drawer-border:#172d4a1c;--drawer-field:#f1f5fa}
.play-page:has(.watch-wide){padding-top:80px}
.play-page__container:has(.watch-wide){width:calc(100% - 48px);max-width:1880px}
.play-page__container:has(.watch-wide)>.play-breadcrumb{display:none}
.watch-wide.watch-layout{display:block;position:relative;width:min(100%,calc((100svh - 145px)*16/9));margin:0 auto 28px}
.watch-wide .watch-main{width:100%;min-width:0}
.watch-wide .player__wrap{width:100%;aspect-ratio:16/9;border-radius:14px;box-shadow:0 12px 55px #0003}
.watch-wide .watch-main>.watch-meta{display:none}
.watch-wide .watch-sidebar[hidden]{display:none!important}
.watch-wide .watch-sidebar:not([hidden]){display:flex;flex-direction:column;gap:16px;position:absolute;right:0;top:0;width:var(--drawer-width);height:var(--watch-video-height);max-height:none;min-height:0;padding:22px;background:var(--drawer-bg);color:var(--drawer-text);border:1px solid var(--drawer-border);border-radius:0 14px 14px 0;box-shadow:-14px 0 45px #0006;z-index:30;overflow:hidden}
.watch-drawer-toggle{position:absolute;right:12px;top:calc(var(--watch-video-height)/2 - 26px);z-index:35;display:flex;align-items:center;justify-content:center;width:38px;height:52px;border:1px solid #ffffff35;border-radius:12px;background:#111b29bb;color:#fff;cursor:pointer;backdrop-filter:blur(8px)}
.watch-drawer-toggle svg,.watch-drawer-close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.watch-drawer-toggle:hover{background:#24354c}
.watch-wide.drawer-open .watch-drawer-toggle{right:calc(var(--drawer-width) + 10px)}
.watch-wide.drawer-open .watch-drawer-toggle svg{transform:rotate(180deg)}
.watch-drawer-close{position:absolute;right:12px;top:12px;display:grid;place-items:center;width:32px;height:32px;border:0;background:transparent;color:var(--drawer-muted);border-radius:8px;cursor:pointer}
.watch-drawer-close:hover{background:var(--drawer-field);color:var(--drawer-text)}
.watch-drawer-toggle:focus-visible,.watch-drawer-close:focus-visible{outline:2px solid #69a1ff;outline-offset:3px}
.watch-wide .watch-film-card{display:flex;align-items:flex-start;gap:14px;padding:0 15px 16px 0;border-bottom:1px solid var(--drawer-border);flex:none}
.watch-film-poster{width:68px;height:96px;object-fit:cover;border-radius:8px;background:var(--drawer-field);flex:none}
.watch-wide .watch-sidebar .watch-meta{display:block;margin:0;min-width:0;flex:1}
.watch-wide .watch-meta__title-row{display:block}
.watch-wide .watch-meta__title{font-size:21px;line-height:1.35;letter-spacing:0;margin:0 0 7px;color:var(--drawer-text)}
.watch-wide .watch-meta__episode{font-size:11px;color:#71a8ff;background:#4386ff19;padding:3px 7px;border-radius:5px}
.watch-wide .watch-meta__facts{display:flex;flex-wrap:wrap;gap:4px 8px;font-size:11px;color:var(--drawer-muted);line-height:1.6;margin:10px 0 0}
.watch-wide .watch-meta__facts span::before{display:none}
.watch-wide .watch-meta__actions{display:none}
.watch-wide .watch-sidebar__header{gap:8px;flex:none;align-items:center}
.watch-wide .watch-sidebar__header h2{font-size:15px;color:var(--drawer-text)}
.watch-wide .watch-sidebar__subtitle,.watch-wide .watch-sidebar__current{font-size:11px;color:var(--drawer-muted)}
.watch-wide .watch-lines{flex:none}
.watch-wide .watch-lines__label{font-size:11px;color:var(--drawer-muted);margin-bottom:8px}
.watch-wide .watch-lines__rail{display:flex;flex-wrap:wrap;gap:6px;overflow:visible}
.watch-wide .watch-lines__rail,.watch-wide .watch-line-status,.watch-wide .watch-lines__label{display:none}
.watch-source-dropdown{display:block;width:100%;height:44px;padding:0 36px 0 12px;border:1px solid var(--drawer-border);border-radius:9px;background:var(--drawer-field);color:var(--drawer-text);font:inherit;font-size:12px;cursor:pointer;white-space:nowrap;text-overflow:ellipsis}
.watch-source-dropdown:focus-visible{outline:2px solid #69a1ff;outline-offset:2px}
.watch-wide .watch-source-tab{padding:9px 10px;font-size:11px;border:1px solid var(--drawer-border);background:var(--drawer-field);color:var(--drawer-text);border-radius:7px}
.watch-wide .watch-source-tab.is-active{background:#317bf0;border-color:#317bf0;color:#fff}
.watch-wide .watch-line-status{font-size:11px;color:var(--drawer-muted);margin-top:9px}
.watch-wide .watch-episode-panels{flex:1;min-height:0;display:flex;overflow:hidden}
.watch-wide .watch-episode-panel.is-active{display:flex;flex-direction:column;width:100%;min-height:0;max-height:none}
.watch-wide .watch-episode-panel[hidden]{display:none!important}
.watch-wide .watch-episode-grid{flex:1;min-height:0;max-height:none!important;overflow-y:auto;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:40px;align-content:start;gap:7px;padding-right:6px;scrollbar-width:thin;scrollbar-color:var(--drawer-muted) transparent;overscroll-behavior:contain}
.watch-wide .episode-btn{min-height:40px;border:1px solid var(--drawer-border);border-radius:7px;background:var(--drawer-field);color:var(--drawer-text);font-size:12px}
.watch-wide .episode-btn:hover{border-color:#5b91ec;background:#4386ff1a}
.watch-wide .episode-btn.is-active{background:#317bf0;color:#fff;border-color:#317bf0}
.watch-wide .watch-episode-tools{flex:none;gap:7px;margin-bottom:10px}
.watch-wide .watch-episode-tools input,.watch-wide .watch-episode-tools select{background:var(--drawer-field);color:var(--drawer-text);border-color:var(--drawer-border);min-width:0}
.watch-wide .watch-tool-label,.watch-wide .watch-episode-hint{color:var(--drawer-muted);font-size:11px}
.watch-wide .watch-tool-btn,.watch-wide .watch-current-btn{background:var(--drawer-field);color:var(--drawer-text);border-color:var(--drawer-border)}
.watch-wide .watch-autonext{display:none!important}
.watch-wide .watch-sidebar__footer{flex:none;border-top:1px solid var(--drawer-border);padding-top:12px;margin-top:0}
.watch-wide .watch-feedback{width:100%;font-size:12px;text-align:center;color:var(--drawer-muted)}
.watch-wide .watch-feedback span{color:#619cff}
.watch-wide .watch-source-message:empty,.watch-wide .watch-episode-hint:empty{display:none}
@media(max-height:740px){.watch-wide{--drawer-width:350px}.watch-wide .watch-sidebar:not([hidden]){padding:15px;gap:11px}.watch-wide .watch-film-poster{width:48px;height:68px}.watch-wide .watch-film-card{padding-bottom:10px}.watch-wide .watch-meta__title{font-size:18px}}
@media(prefers-reduced-motion:reduce){.watch-wide *{scroll-behavior:auto}}
