/* Desktop player follows the release page's typography and controls. */
@media (min-width:901px){
  html[data-watch-route-view="play"] .watch-material__playHeader{
    display:grid;grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:"title actions";
    align-items:end;column-gap:24px;row-gap:20px;margin-bottom:24px !important;
  }
  html[data-watch-route-view="play"] .watch-material__backLink{
    display:none;
    grid-area:back;justify-self:start;align-self:start;padding:0 !important;
    font:500 14px/1.5 var(--watch-global-font,"Segoe UI",Tahoma,Arial,sans-serif);
    color:rgba(var(--w-ink-rgb,255,255,255),.6) !important;
  }
  html[data-watch-route-view="play"] .watch-material__backLink:hover{color:rgb(var(--w-ink-rgb,255,255,255)) !important;opacity:1}
  html[data-watch-route-view="play"] .watch-material__playCenter{grid-area:title;text-align:left}
  html[data-watch-route-view="play"] .watch-material__playTitle{
    font-family:var(--watch-global-font,"Segoe UI",Tahoma,Arial,sans-serif);
    font-size:56px;line-height:.96;font-weight:700;letter-spacing:normal;
    text-align:left;overflow-wrap:anywhere;
  }
  html[data-watch-route-view="play"] .watch-material__playOrig{
    margin-top:8px;font-size:20px;line-height:1.3;font-weight:400;
    color:rgba(var(--w-ink-rgb,255,255,255),.7);
  }
  html[data-watch-route-view="play"] .watch-material__playActions{display:none!important}
  html[data-watch-route-view="play"] .watch-material__shareIcon{
    display:inline-flex;align-items:center;justify-content:center;
    width:48px;min-width:48px !important;height:48px !important;padding:0 !important;
    border-radius:50%;border:1px solid rgba(var(--w-ink-rgb,255,255,255),.08) !important;
    background:var(--watch-player-control-bg,#111) !important;
  }
  html[data-watch-route-view="play"] .watch-material__shareIcon:hover{background:var(--watch-player-control-hover,#171717) !important;opacity:1}
}

.watch-episodes{
  box-sizing:border-box;position:relative;display:flex;min-width:0;overflow:hidden;
  margin:24px 0 48px;border-radius:12px;background:#010101;
  --w-ink-rgb:238,238,238;box-shadow:none;
  color:rgba(var(--w-ink-rgb,255,255,255),.92);
  font-family:var(--watch-global-font,"Segoe UI",Tahoma,Arial,sans-serif);
  --watch-player-control-bg:rgba(var(--w-ink-rgb,255,255,255),.045);
  --watch-player-control-hover:rgba(var(--w-ink-rgb,255,255,255),.08);
}
.watch-episodes__body{box-sizing:border-box;display:flex;flex-direction:column;gap:18px;width:100%;min-height:0;min-width:0;padding:20px 12px 12px;transition:opacity .2s ease,transform .25s ease}
.watch-episodes__top{margin:0 8px;display:flex;text-align:left;justify-content:space-between;align-items:flex-start;gap:12px}
.watch-episodes h2{margin:0 0 4px;font-size:16px;line-height:1.5;font-weight:600;letter-spacing:normal}
.watch-episodes__current{font-size:13px;line-height:1.5;font-weight:400;color:rgba(var(--w-ink-rgb,255,255,255),.55)}
.watch-episodes__controls{display:flex;flex-direction:column;gap:12px;min-width:0;margin:0 8px}
.watch-episodes label,.watch-episodes__voiceControl{display:flex;flex-direction:column;width:100%;min-width:0;gap:7px}
.watch-episodes label,.watch-episodes__label{font-size:12px;line-height:1.5;font-weight:400;color:rgba(var(--w-ink-rgb,255,255,255),.6)}
.watch-episodes [hidden]{display:none!important}
.watch-episodes select,.watch-episodes button{
  box-sizing:border-box;height:42px;margin:0;padding:0 12px;border-radius:8px;
  border:0;
  background:var(--watch-player-control-bg);color:inherit;box-shadow:none;
  font:500 14px/1.5 var(--watch-global-font,"Segoe UI",Tahoma,Arial,sans-serif);
  letter-spacing:normal;cursor:pointer;transition:background .16s ease,border-color .16s ease;
}
.watch-episodes select{width:100%;min-width:0;max-width:100%;padding-right:30px;color:rgb(var(--w-ink-rgb,255,255,255));color-scheme:dark;text-overflow:ellipsis}
.watch-episodes__voiceTrigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;flex:0 0 auto;text-align:left;white-space:nowrap}
.watch-episodes__voiceTrigger span:first-child{overflow:hidden;text-overflow:ellipsis}
.watch-episodes .watch-episodes__chevron{display:block;flex:0 0 16px;width:16px;height:16px;margin:0;align-self:center;color:currentColor;opacity:.6}
.watch-episodes__grid,.watch-episodes__voiceList{position:relative;display:flex;flex-direction:column;gap:8px;max-height:340px;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:none;-ms-overflow-style:none;flex:1}
.watch-episodes__grid{padding:0 2px 0 0;gap:4px;scrollbar-gutter:auto;scroll-padding:0;scroll-snap-type:y mandatory}
.watch-episodes__grid>button{scroll-snap-align:start}
.watch-episodes__grid button{display:flex;align-items:center;gap:12px;flex:0 0 auto;width:100%;min-width:0;height:86px;padding:8px;text-align:left;border:0;border-radius:12px;background:transparent;color:rgba(var(--w-ink-rgb,255,255,255),.94);font-weight:600;letter-spacing:.2px}
.watch-episodes__thumb{position:relative;display:flex;align-items:center;justify-content:center;flex:0 0 120px;width:120px;aspect-ratio:16/9;overflow:hidden;border-radius:5px;background:rgba(var(--w-ink-rgb,255,255,255),.07);color:rgba(var(--w-ink-rgb,255,255,255),.3)}
.watch-episodes__thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.watch-episodes__copy{display:flex;flex-direction:column;gap:5px;min-width:0}
.watch-episodes__name{font-size:14px;font-weight:600}
.watch-episodes__status:empty{display:none}
.watch-episodes__status{font-size:11px;line-height:1.4;font-weight:400;color:rgba(var(--w-ink-rgb,255,255,255),.45)}
.watch-episodes button:hover:not(:disabled){background:var(--watch-player-control-hover)}
.watch-episodes__grid button:hover:not(:disabled){background:rgba(var(--w-ink-rgb,255,255,255),.07)}
.watch-episodes__grid button[aria-pressed=true],.watch-episodes__grid button[aria-pressed=true]:hover{background:#141414;box-shadow:none}
.watch-episodes__grid button[aria-pressed=true] .watch-episodes__status{color:rgba(var(--w-ink-rgb,255,255,255),.7)}
.watch-episodes button:disabled{opacity:.3;cursor:default}
.watch-episodes :is(button,select):focus-visible{outline:2px solid #aaa;outline-offset:-2px}
.watch-episodes__drawer{position:absolute;inset:0;display:flex;flex-direction:column;gap:18px;box-sizing:border-box;padding:20px 12px 12px;background:inherit;transform:translateX(100%);visibility:hidden;transition:transform .25s ease,visibility 0s .25s;z-index:1}
.watch-episodes.is-voices-open .watch-episodes__drawer{transform:translateX(0);visibility:visible;transition:transform .25s ease,visibility 0s}
.watch-episodes.is-voices-open .watch-episodes__body{opacity:0;transform:translateX(-24px)}
.watch-episodes .watch-episodes__back{display:flex;align-items:center;gap:10px;flex:0 0 auto;padding:0 8px;border:0;background:transparent!important;text-align:left;font-size:16px;font-weight:600}
.watch-episodes__voiceList{max-height:none;padding:0 2px 0 0;gap:4px;scrollbar-gutter:auto}
.watch-episodes__voiceList button{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;flex:0 0 auto;height:auto;min-height:48px;width:100%;padding:14px 16px;text-align:left;border:0;border-radius:12px;background:transparent;color:rgba(var(--w-ink-rgb,255,255,255),.94);font-size:14px;font-weight:600;letter-spacing:.2px}
.watch-episodes__voiceText{display:flex;flex-direction:column;gap:3px;min-width:0;overflow-wrap:anywhere}
.watch-episodes__voiceCount{flex:none;white-space:nowrap;font-size:12px;font-weight:400;letter-spacing:normal;font-variant-numeric:tabular-nums;color:rgba(var(--w-ink-rgb,255,255,255),.5)}
.watch-episodes__voiceList small{font-size:11px;font-weight:400;color:rgba(var(--w-ink-rgb,255,255,255),.45)}
.watch-episodes__voiceList button:hover:not(:disabled){background:rgba(var(--w-ink-rgb,255,255,255),.07)}
.watch-episodes__voiceList button[aria-pressed=true],.watch-episodes__voiceList button[aria-pressed=true]:hover{background:rgba(var(--w-ink-rgb,255,255,255),.1)}
.watch-episodes__voiceList button[aria-pressed=true]::after{content:none}
.watch-episodes__tools{display:flex;align-items:center;gap:10px}
.watch-episodes .watch-episodes__settingsTrigger{display:flex;align-items:center;justify-content:center;width:30px;height:30px;padding:0;border-color:transparent;background:transparent}
.watch-episodes__settingsTrigger svg{display:block;width:20px;height:20px;opacity:.9}
.watch-episodes__settings{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:none;flex:1;padding:0 2px}
.watch-episodes__settings::-webkit-scrollbar{display:none;width:0;height:0}
.watch-episodes__settings button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:64px;height:auto;width:100%;padding:14px 12px;text-align:left;border:0;border-radius:8px;background:transparent;font-size:14px;font-weight:500;line-height:1.45}
.watch-episodes__settingsGroup{padding:4px;background:rgba(var(--w-ink-rgb,255,255,255),.025);border-radius:12px}
.watch-episodes__settingsGroup button+button{border-radius:0}
.watch-episodes__settingsGroup button:last-child{border-radius:0 0 8px 8px}
.watch-episodes__settings button>span:first-child{min-width:0;flex:1}
.watch-episodes__toggle{display:block;position:relative;box-sizing:border-box;flex:0 0 50px;width:50px;height:28px;border-radius:999px;background:rgba(var(--w-ink-rgb,255,255,255),.06);transition:background-color .18s ease}
.watch-episodes__toggle::after{content:'';position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:rgba(var(--w-ink-rgb,255,255,255),.9);transition:transform .18s ease}
.watch-episodes__settings button[aria-checked=true] .watch-episodes__toggle{background:rgba(90,220,120,.18)}
.watch-episodes__settings button[aria-checked=true] .watch-episodes__toggle::after{transform:translateX(22px)}
@media(prefers-reduced-motion:reduce){.watch-episodes__toggle,.watch-episodes__toggle::after{transition:none}}
html:is([data-watch-theme="light"],[data-theme="light"]) .watch-episodes{background:#010101;--w-ink-rgb:238,238,238}
html:is([data-watch-theme="light"],[data-theme="light"]) .watch-episodes select{color-scheme:dark}
@media(min-width:901px) and (max-width:1280px){html[data-watch-route-view="play"] .watch-material__playTitle{font-size:48px}}
@media(min-width:901px) and (max-width:920px){html[data-watch-route-view="play"] .watch-material__playTitle{font-size:36px}html[data-watch-route-view="play"] .watch-material__playOrig{font-size:17px}}
@media(min-width:1200px){
  html[data-watch-route-view="play"] .watch-material__playView.has-kodik-episodes{
    display:grid !important;grid-template-columns:minmax(0,1fr) 320px;
    grid-template-areas:"heading heading" "video episodes";column-gap:0;align-items:stretch;
  }
  html[data-watch-route-view="play"] .has-kodik-episodes .watch-material__playHeader{grid-area:heading}
  html[data-watch-route-view="play"] .has-kodik-episodes .watch-material__playerShell{grid-area:video;min-width:0;margin:0 !important;align-self:start}
  html[data-watch-route-view="play"] .has-kodik-episodes .watch-material__playerFrame{border-radius:12px 0 0 12px;border:0;box-shadow:none}
  html[data-watch-route-view="play"] .has-kodik-episodes .watch-episodes{grid-area:episodes;contain:size;min-height:0;margin:0;border-radius:0 12px 12px 0}
  .has-kodik-episodes .watch-episodes__grid{max-height:none}
}
@media(min-width:901px) and (max-width:1199px){
  html[data-watch-route-view="play"] .has-kodik-episodes .watch-material__playerShell{margin-bottom:0 !important}
  html[data-watch-route-view="play"] .has-kodik-episodes .watch-material__playerFrame{border-radius:12px 12px 0 0}
  .watch-episodes{margin-top:0;border-radius:0 0 12px 12px}
  .watch-episodes__body{display:grid;grid-template-columns:1fr 1fr;gap:18px 24px}
  .watch-episodes__controls{grid-column:2;grid-row:1;flex-direction:row}
  .watch-episodes__grid{grid-column:1/-1;max-height:300px}
}
@media(max-width:900px){.watch-episodes{display:none}}
@media(prefers-reduced-motion:reduce){.watch-episodes button,.watch-episodes select,.watch-episodes__body,.watch-episodes__drawer{transition:none}}

.watch-episodes__grid::-webkit-scrollbar,.watch-episodes__voiceList::-webkit-scrollbar{display:none;width:0;height:0}
.watch-episodes__grid::-webkit-scrollbar-thumb,.watch-episodes__voiceList::-webkit-scrollbar-thumb{background:rgba(var(--w-ink-rgb,255,255,255),.18);border-radius:4px}
.watch-episodes__grid::-webkit-scrollbar-button,.watch-episodes__voiceList::-webkit-scrollbar-button{display:none;width:0;height:0}

.watch-episodes__placeholderVoice{height:42px;flex:none;border-radius:8px;margin:22px 8px 0;background:rgba(var(--w-ink-rgb,255,255,255),.04)}
.watch-episodes__placeholderRows{display:flex;flex-direction:column;gap:16px;padding:8px;min-height:0;overflow:hidden}
.watch-episodes__placeholderRows i{display:block;flex:none;width:120px;height:68px;border-radius:5px;background:rgba(var(--w-ink-rgb,255,255,255),.04)}

.watch-episodes .watch-videoseed__notice{flex:none;margin:10px 8px 0;color:#dfb477;font-size:13px;font-weight:400;line-height:1.5;letter-spacing:normal}
.watch-episodes--movie .watch-videoseed__notice{margin:0 8px 12px}
.watch-episodes__voiceList>.watch-videoseed__notice{margin:0 8px 12px}
html:is([data-watch-theme="light"],[data-theme="light"] ) .watch-episodes .watch-videoseed__notice{color:#dfb477}
