/* Compact playback layout; loaded only on the watch page. */
.page-watch .watch-workspace{width:100%;max-width:1240px;margin-inline:auto}
.page-watch .watch-workspace.is-movie{max-width:960px}
.page-watch .watch-heading{margin-bottom:18px}
.page-watch .watch-heading h1{font-size:clamp(21px,1.7vw,28px)}
.page-watch .watch-controls{display:flex;align-items:center;flex-wrap:wrap;gap:12px 18px;margin:0 0 16px;min-width:0}
.page-watch .watch-controls>.audio-editions,.page-watch .watch-controls>.player-tabs{margin:0;gap:8px;max-width:100%}
.page-watch .watch-controls>.audio-editions a,.page-watch .watch-controls>.player-tabs a{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 12px;line-height:1.3;border-radius:6px;font-size:12px}
.page-watch .watch-controls>.player-tabs a{padding:8px 12px;border-radius:7px;font-size:12px;line-height:1.45}
.page-watch .player-tabs{gap:8px;margin-bottom:14px}
.page-watch .player-tabs a{background:#13191eea;border-radius:7px;padding:8px 12px;font-size:12px}
.page-watch .player-tabs a[aria-current]{background:linear-gradient(125deg,#493022,#2c1e17);border-color:#d68140;color:#ffc68e}
.page-watch .watch-grid{display:grid;grid-template-columns:minmax(0,1fr) 308px;gap:0 20px;align-items:stretch;max-width:none;margin:0}
.page-watch .video-stage{grid-column:1;grid-row:1;min-width:0;align-self:start;aspect-ratio:16/9;border-radius:12px;border:1px solid #ffffff20;box-shadow:0 15px 42px #0005}
.page-watch .start-video{background:linear-gradient(#0005,#000b),var(--video-poster) center/cover}
.page-watch .playback-details{grid-column:1;grid-row:2;min-width:0;padding:0 2px}
.page-watch .playback-note{font-size:10px;line-height:1.65;margin-top:12px;color:#949ca7}
.page-watch .episode-navigation{margin-top:14px;gap:12px}
.page-watch .episode-navigation>a:last-child{margin-left:auto}
.page-watch .movie-watch{grid-template-columns:minmax(0,1fr)}

/* Size containment makes the video's 16:9 frame determine the row height,
   so a long episode list cannot stretch the player while the page loads. */
.episode-playlist.playlist{grid-column:2;grid-row:1;contain:size;min-height:0;min-width:0;display:flex;flex-direction:column;align-self:stretch;margin:0;border:1px solid #d8884938;border-radius:12px;background:linear-gradient(165deg,#191e23,#10151a 65%);box-shadow:0 15px 40px #0004;overflow:hidden}
.episode-playlist .playlist-heading{display:flex;align-items:center;gap:11px;flex:none;padding:15px 16px 13px;background:linear-gradient(115deg,#ad64231f,transparent 80%);border-bottom:1px solid #ffffff0c}
.playlist-emblem{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;color:#ffad61;border:1px solid #ff9e4033;background:#da8b2814;flex:none}
.playlist-emblem .icon{width:24px;height:24px}
.episode-playlist .playlist-heading h2{padding:0;border:0;font-size:16px;line-height:1.25}
.playlist-heading small{display:block;color:#a6adb6;font-size:10px;margin-top:4px}
.episode-playlist .playlist-season-form{flex:none;display:grid;grid-template-columns:minmax(0,1fr) 34px;gap:7px 9px;padding:12px 15px 10px;border:0}
.episode-playlist .playlist-season-form>label{grid-column:1/-1;font-size:10px;text-transform:uppercase;letter-spacing:1.2px;color:#b5a28f}
.episode-playlist .season-select{position:relative;display:block;min-width:0}
.episode-playlist .season-select>.icon{position:absolute;right:10px;top:11px;width:12px;height:12px;transform:rotate(90deg);pointer-events:none;color:#e2a46a}
.episode-playlist .season-select select{width:100%;height:34px;max-width:none;appearance:none;border:1px solid #ffffff18;background:#0d1319;color:#e5e6e9;padding:0 30px 0 10px;font-size:11px;border-radius:6px}
.episode-playlist .season-select select:hover{border-color:#d3874966}
.episode-playlist .season-open{display:grid;place-items:center;width:34px;height:34px;border:1px solid #b279473d;border-radius:6px;background:#9e5e2820;color:#ffbd80}
.episode-playlist .season-open:hover{background:#b774353a;border-color:#d58a4a}
.season-open .icon{width:17px;height:17px}
.playlist-summary{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 15px 9px;flex:none;color:#9aa4af;font-size:10px}
.playlist-summary button{padding:3px 6px;border-radius:4px;display:inline-flex;align-items:center;gap:4px;color:#f4b076;font-size:10px}
.playlist-summary button:hover{background:#ffffff0b;color:#ffd2a6}
.playlist-summary .icon{width:11px;height:11px}
.episode-playlist .playlist-items{flex:1;min-height:0;max-height:none;position:relative;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#9b673c #10161b;scrollbar-gutter:stable;padding:0 6px 8px}
.playlist-items::-webkit-scrollbar{width:5px}
.playlist-items::-webkit-scrollbar-thumb{border-radius:8px;background:#9b673c}
.playlist-items::-webkit-scrollbar-track{background:#10161b}
.episode-playlist .playlist-items>.episode-link{display:flex;align-items:center;gap:10px;min-height:67px;padding:9px 8px;margin:0 0 4px;border:1px solid transparent;border-radius:7px;background:#ffffff03;position:relative;transition:background .16s,border-color .16s}
.episode-playlist .playlist-items>.episode-link:hover{background:#ffffff09;border-color:#ffffff15}
.episode-playlist .episode-link>.episode-thumb{position:relative;display:block;flex:none;width:65px;height:40px;min-width:0;padding:0;border:1px solid #ffffff17;border-radius:5px;overflow:hidden;background:linear-gradient(135deg,#473323,#16222d)}
.episode-thumb img{width:100%;height:100%;object-fit:cover;opacity:.86}
.episode-playlist .episode-link>.episode-copy{display:block;flex:1;min-width:0;padding:0;background:none;border-radius:0;text-align:left}
.episode-copy .episode-kicker{display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:9px;color:#b19f8b;margin-bottom:4px;text-transform:uppercase;letter-spacing:.5px}
.episode-kicker b{font-size:8px;font-weight:500;color:#ffbd80;background:#e78a2520;padding:1px 4px;border-radius:3px;letter-spacing:0;text-transform:none}
.episode-playlist .episode-copy strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:#dae0e7;font-size:11px;line-height:1.4;font-weight:500}
.episode-playlist .episode-link>.episode-row-play{margin-left:auto;flex:none;width:13px;height:13px;color:#8e9ba8;opacity:.75}
.episode-playlist .playlist-items>.episode-link[aria-current]{border:1px solid #e69c484c;background:linear-gradient(100deg,#6b402b7a,#392a2233);box-shadow:inset 3px 0 #ff9c47}
.episode-playlist .episode-link[aria-current] .episode-thumb{border-color:#edac6166}
.episode-playlist .episode-link[aria-current] strong{color:#fff0df;font-weight:700}
.episode-playlist .episode-link[aria-current] .episode-row-play,.episode-playlist .episode-link[aria-current] .episode-kicker{color:#ffc68d;opacity:1}
.playlist-empty{padding:25px 15px;color:#b3bcc6;text-align:center;font-size:12px;line-height:1.7}
.page-watch .playlist-audio{flex:none;margin:0;padding:12px 14px;gap:8px;border-bottom:1px solid #ffffff12}

@media(max-width:1300px) and (min-width:1101px){
 .page-watch .watch-grid{grid-template-columns:minmax(0,1fr) 284px;column-gap:16px}
 .episode-playlist .playlist-heading{padding:11px 13px 10px}
 .episode-playlist .playlist-season-form{padding:9px 12px 8px;gap:5px 8px}
 .playlist-summary{padding:0 12px 7px}
}
@media(max-width:1100px){
 .page-watch .watch-workspace{max-width:860px}
 .page-watch .watch-grid{grid-template-columns:minmax(0,1fr);gap:0}
 .episode-playlist.playlist{grid-column:1;grid-row:3;contain:none;height:460px;margin-top:24px}
 .page-watch .playlist-items .episode-link{min-height:70px}
 .episode-playlist .episode-copy strong{font-size:12px}
 .episode-playlist .episode-link>.episode-thumb{width:78px;height:45px}
}
@media(max-width:760px){
 .page-watch .watch-controls{gap:10px 14px;margin-bottom:14px}
 .page-watch .watch-controls>.audio-editions a,.page-watch .watch-controls>.player-tabs a{padding:7px 10px;font-size:11px}
 .page-watch .watch-controls>.player-tabs a{padding:8px 12px;font-size:12px}
 .page-watch .watch-heading{margin-bottom:15px;gap:12px}
 .page-watch .watch-heading h1{font-size:21px}
 .page-watch .video-stage{border-radius:9px}
 .page-watch .episode-navigation .button{font-size:11px;padding:0 11px;min-height:36px}
 .page-watch .episode-navigation .icon{width:16px;height:16px}
 .episode-playlist.playlist{height:680px;margin-top:20px}
 .episode-playlist .playlist-heading{padding:13px 14px 12px}
 .episode-playlist .playlist-heading h2{font-size:16px}
 .episode-playlist .episode-link>.episode-thumb{width:70px;height:42px}
 .episode-playlist .episode-copy strong{font-size:12px}
}
