/* =============================================================================
   13b-mylist-episode-page.css
   v14.110 CSS REORG: moved VERBATIM out of 13-e2ee-activity-post.css (the
   activity-post file — none of this is activity/posts). Loads immediately
   AFTER 13 in index.html so every rule keeps its cascade position.
   Contents: My List TV/anime episode rows, season dropdown reveal, the
   full-screen episode page overlay (open/close nav hide, back chevron,
   season page-shift glide, season FULL LOCK scroll model, the season
   episode-list scroll container, season rating popout/stars).
   The scroll container (.mylist-episode-page-season-eps) pairs with the
   iOS boundary-glue touchstart nudge in 06-mylists-render-episodes-ratings.js.
   ============================================================================= */

/* v241: universal TV/anime episode row layout + smooth episode navigation polish */
#mylist-view .ep-row {
  align-items: center;
  gap: 10px;
}
#mylist-view .ep-list,
#mylist-view .ep-scroll,
#mylist-view .season-eps,
#mylist-view .season-block {
  overflow-anchor: none;
}
#mylist-view .ep-left {
  align-items: center;
  gap: 7px;
  min-width: 0;
}
#mylist-view .ep-name {
  min-width: 0;
  flex: 1;
  text-align: left;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#mylist-view .ep-right {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex: 0 0 auto;
  margin-left: auto;
  min-width: 0;
}
#mylist-view .ep-number-inline {
  color: #a99dc6;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}
#mylist-view .ep-right .ep-rating-btn {
  flex-shrink: 0;
}
body.light-mode #mylist-view .ep-number-inline {
  color: #7c6fa0;
}
body.true-dark-mode #mylist-view .ep-number-inline,
body.true-dark-mode #mylist-view .ep-name {
  color: #fff;
}
@media (max-width: 600px) {
  #mylist-view .ep-row {
    gap: 8px;
  }
  #mylist-view .ep-name {
    font-size: 13.5px;
  }
  #mylist-view .ep-right {
    gap: 5px;
  }
  #mylist-view .ep-number-inline {
    font-size: 11.5px;
  }
}


/* v249: explicit episode row number/title alignment. */
#mylist-view .ep-title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
  text-align: left;
}
#mylist-view .ep-title-wrap .ep-number-inline {
  margin-right: 0;
}
#mylist-view .ep-title-wrap .ep-name {
  display: block;
  flex: 1 1 auto;
}
#mylist-view .ep-right .ep-number-inline {
  display: none !important;
}



/* v252: stable season dropdown reveal; JS controls height/display to avoid hidden episode regressions. */
#mylist-view .season-eps {
  overflow: hidden;
  will-change: height, opacity;
}
@media (prefers-reduced-motion: reduce) {
  #mylist-view .season-eps {
    transition: none !important;
  }
}


/* v253: iOS/PWA-safe season dropdown tapping. */
#mylist-view .season-header {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

html.mylist-episode-page-open,
body.mylist-episode-page-open {
  overflow: hidden !important;
  overscroll-behavior: none !important;
}
body.mylist-episode-page-open #mobile-bottom-nav,
body.mylist-episode-page-open .mobile-bottom-nav {
  opacity: 0 !important;
  pointer-events: none !important;
}
/* v14.082: the instant the episode page starts CLOSING, restore the bottom nav
   (the slide-down animation still plays over it) so it's already present when the
   page clears — no more split-second pop-in after close completes. Higher
   specificity (2 classes) than the hide above. */
body.mylist-episode-page-open.mylist-episode-page-closing #mobile-bottom-nav,
body.mylist-episode-page-open.mylist-episode-page-closing .mobile-bottom-nav {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.mylist-episode-page-overlay {
  --mylist-episode-page-motion-ms: 450ms;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100svh;
  max-height: 100dvh;
  background: transparent;
  z-index: 12000;
  pointer-events: none;
  overflow: hidden;
  touch-action: manipulation;
}
.mylist-episode-page-overlay.is-closing {
  pointer-events: auto;
}
.mylist-episode-page-surface {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #0e0e0e;
  /* v11.027: disable double-tap-to-zoom on the full-page show details.
     `manipulation` keeps scroll/pan + pinch-zoom but kills the
     double-tap zoom gesture (and the legacy 300ms tap delay). Set on
     the surface so it governs the whole page's touch targets. */
  touch-action: manipulation;
  transform: translate3d(0, 100%, 0);
  opacity: 0.98;
  transition:
    transform var(--mylist-episode-page-motion-ms) cubic-bezier(0.22, 1, 0.36, 1),
    opacity calc(var(--mylist-episode-page-motion-ms) - 190ms) ease;
  will-change: transform, opacity;
}
.mylist-episode-page-overlay.is-open {
  pointer-events: auto;
}
.mylist-episode-page-overlay.is-open .mylist-episode-page-surface {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.mylist-episode-page-shell {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  color: #f5f2ff;
  font-family: 'Sohne', 'DM Sans', sans-serif;
  /* v11.025: nudge the whole page (topbar + scroll body) down so the
     back button + content clear the device top a touch more. Sits on the
     shell — below the safe-area inset the topbar already applies — so it
     stacks additively without touching the safe-area math.
     v11.028: +9px more (9 → 18px total) per follow-up request. */
  padding-top: 18px;
}
.mylist-episode-page-topbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  padding:
    max(calc(var(--shelfd-safe-top, 0px) - 18px), 10px)
    18px
    8px;
  flex: 0 0 auto;
  touch-action: manipulation;
}
html.shelfd-capacitor-native .mylist-episode-page-topbar {
  padding-top: max(calc(var(--shelfd-safe-top, 0px) - 24px), 8px);
}
/* v11.027: back control is now a chevron-only glyph (no "Back" label)
   inside a circular border — matches the discover seasons page back
   button. White stroke, subtle ring + fill. */
.mylist-episode-page-back {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.13);
  color: #f7f3ff;
  border-radius: 999px;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 4px 18px rgba(0,0,0,0.22);
  backdrop-filter: blur(18px) saturate(1.8);
  -webkit-backdrop-filter: blur(18px) saturate(1.8);
}
.mylist-episode-page-back-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
}

.mylist-episode-page-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  /* v11.027: belt-and-suspenders — most taps land in the scroll area,
     so pin `manipulation` here too so double-tap zoom is suppressed
     even where a child resets touch-action. */
  touch-action: manipulation;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  padding: 0 18px calc(env(safe-area-inset-bottom, 0px) + 28px);
  /* v11.013: hide the right-side scrollbar per spec. WebKit (iOS
     Capacitor + Safari) honors the ::-webkit-scrollbar block; Firefox
     honors scrollbar-width; legacy IE uses -ms-overflow-style. The
     scroll itself is unaffected — only the visible track/thumb hides. */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.mylist-episode-page-scroll::-webkit-scrollbar,
.mylist-episode-page-scroll::-webkit-scrollbar-track,
.mylist-episode-page-scroll::-webkit-scrollbar-thumb {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* v13.919: the season open/close "page shift" glides by animating THIS layer's
   transform (compositor-driven → 120Hz on ProMotion). It holds all page content
   so the whole page moves as one unit. NO standing GPU promotion here on purpose:
   `will-change` is set in JS only for the ~600ms the glide runs and released the
   instant it ends, so an idle page carries zero extra layer/memory cost. At rest
   this is a plain block. */
.mylist-episode-page-shift {
  transform: none;
}

.mylist-episode-page-summary {
  display: grid;
  grid-template-columns: 152px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}
.mylist-episode-page-summary-poster {
  appearance: none;
  display: block;
  border: 0;
  padding: 0;
  cursor: pointer;
  width: 152px;
  aspect-ratio: 1400 / 2100;
  border-radius: 3px;
  background-size: cover;
  background-position: center;
  background-color: rgba(255,255,255,0.06);
  box-shadow: 0 18px 32px rgba(0,0,0,0.28);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.mylist-episode-page-summary-poster:active {
  transform: scale(0.985);
}
.mylist-episode-page-summary-poster.no-img {
  background:
    linear-gradient(135deg, rgba(167,139,250,0.24), rgba(88,28,135,0.32)),
    #1a1525;
}
.mylist-episode-page-summary-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-top: 2px;
}
.mylist-episode-page-title {
  font-size: 24px;
  line-height: 1.04;
  /* v11.247: show-detail title — 600 weight, Söhne, -0.03em (was 800/-0.04em). */
  font-weight: 600;
  letter-spacing: -0.03em;
  font-family: 'Sohne', 'DM Sans', sans-serif;
  color: #fbf8ff;
}
.mylist-episode-page-status .status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
}
.mylist-episode-page-progress-area {
  margin-top: 2px;
}
.mylist-episode-page-progress-meta {
  margin-bottom: 6px;
}
.mylist-episode-page-progress-row {
  gap: 8px;
}
.mylist-episode-page-rating-area {
  margin-top: 2px;
}

.mylist-episode-page-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px 12px;
  margin: 0 0 18px;
  padding: 0;
}
.mylist-episode-page-actions-main {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mylist-episode-page-actions-main .btn-secondary {
  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  color: #f7f3ff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 4px 18px rgba(0,0,0,0.22);
  backdrop-filter: blur(18px) saturate(1.8);
  -webkit-backdrop-filter: blur(18px) saturate(1.8);
}
.mylist-episode-page-seasons {
  min-height: 0;
}
.mylist-episode-page-list {
  height: auto !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
}
.mylist-episode-page-list .ep-list-inner,
.mylist-episode-page-list .ep-scroll,
.mylist-episode-page-season-list {
  overflow: visible !important;
  max-height: none !important;
  height: auto !important;
}
.mylist-episode-page-list .ep-list-inner {
  padding: 0 !important;
}

.mylist-episode-page-season-block {
  margin-bottom: 12px;
  border: 1px solid rgba(196,181,253,0.12);
  border-radius: 18px;
  background: rgba(255,255,255,0.045);
  /* v13.910: `clip` (not `hidden`) so the corners/height-animation still clip
     BUT the block does NOT become a scroll container — that's what lets the
     season header below use position:sticky to pin to the page scroll while an
     open season's episodes scroll under it. `hidden` would trap the sticky
     inside this block (it would scroll away with the block). */
  overflow: clip;
  box-shadow: 0 18px 42px rgba(0,0,0,0.22);
}
.mylist-episode-page-season-header {
  display: flex;
  align-items: stretch;
  gap: 18px;
  padding: 16px;
  /* v13.910: SOLID (was rgba 0.03) so that when this header is pinned at the
     top of the page over the scrolling episode list it stays fully opaque —
     episodes must never ghost through it. This solid resolves to the same tone
     the translucent value produced over the block, so the collapsed look is
     unchanged. */
  background: #1e1d22;
  cursor: pointer;
}
/* v13.914: FULL LOCK. When a season is open the page stops scrolling and the
   open season's episode list is the ONLY scroll container. CRITICAL FIX over
   v13.912/913: the scroll container is given a DEFINITE pixel height in JS
   (`sizeEpisodePageFocusScroll`), because iOS WKWebView only scrolls a nested
   container reliably with an explicit height — a flex-derived height left it
   directionally stuck ("swipe down first, keep the finger down, to scroll up").
   This mirrors the proven inline-card focus mode, which also pins a fixed
   height. The card header sits above as a normal block, so the card is locked
   and only the episodes scroll, both directions.
   `.mylist-episode-page-focused` is set on the overlay by JS whenever a season
   is open; it first hides the summary / action row / other seasons so the open
   season is the sole top-level block. */
.mylist-episode-page-focused .mylist-episode-page-summary,
.mylist-episode-page-focused .mylist-episode-page-actions,
.mylist-episode-page-focused .mylist-episode-page-season-block:not(.is-open) {
  display: none;
}
/* the page itself no longer scrolls — its whole height goes to the open season */
.mylist-episode-page-focused .mylist-episode-page-scroll {
  overflow: hidden;
}
.mylist-episode-page-focused .mylist-episode-page-season-block.is-open {
  margin: 0;
}
.mylist-episode-page-focused .mylist-episode-page-season-block.is-open > .mylist-episode-page-season-header {
  border-bottom: 1px solid rgba(196,181,253,0.10);
}
.mylist-episode-page-focused .mylist-episode-page-season-block.is-open > .mylist-episode-page-season-body {
  height: auto !important;
  overflow: visible !important;
  display: block !important;
}
/* the episode list is THE scroll container — its height is set inline (definite
   px) by sizeEpisodePageFocusScroll() so iOS scrolls it reliably both ways */
.mylist-episode-page-season-block.is-open .mylist-episode-page-season-eps,
.mylist-episode-page-focused .mylist-episode-page-season-block.is-open .mylist-episode-page-season-eps {
  max-height: none !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  /* v13.915: was `touch`. The legacy `-webkit-overflow-scrolling: touch`
     momentum implementation glues the container to its BOTTOM edge on iOS — once
     you hit the last episode you can't scroll back up until a downward nudge.
     `auto` uses iOS 13+'s native momentum, which scrolls both ways with no
     boundary lock. THIS is the root cause of the "stuck at the bottom" scroll. */
  -webkit-overflow-scrolling: auto !important;
  overscroll-behavior: contain !important;
  touch-action: pan-y !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
.mylist-episode-page-focused .mylist-episode-page-season-block.is-open .mylist-episode-page-season-eps::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}
.mylist-episode-page-season-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}
.mylist-episode-page-season-title-line {
  gap: 8px;
}
.mylist-episode-page-season-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.mylist-episode-page-season-count {
  font-size: 12px;
  font-weight: 500;
  color: rgba(245,242,255,0.82);
}
.mylist-episode-page-season-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-left: auto;
  align-self: stretch;
  flex: 0 0 auto;
  min-width: 0;
}
.mylist-episode-page-season-controls-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  width: 100%;
}
.mylist-episode-page-season-rating-slot {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin-top: auto;
  position: relative;
  z-index: 4;
}
.mylist-episode-page-season-rating-control {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 44px;
}
.mylist-episode-page-season-rating-chip-value {
  color: #ffffff;
}
.mylist-episode-page-season-rating-chip {
  appearance: none;
  border: 1px solid rgba(251,191,36,0.24);
  background: rgba(15,15,15,0.72);
  color: #f8d973;
  border-radius: 999px;
  min-width: 44px;
  min-height: 30px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-family: 'Sohne', 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transform: translateZ(0);
  transition:
    transform 180ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 180ms ease,
    background 180ms ease;
}
.mylist-episode-page-season-rating-chip:active {
  transform: translateZ(0) scale(0.96);
}
.mylist-episode-page-season-rating-chip.is-readonly {
  cursor: default;
  color: rgba(248,217,115,0.78);
  background: rgba(15,15,15,0.48);
}
.mylist-episode-page-season-rating-stars {
  position: absolute;
  right: calc(100% + 7px);
  top: 50%;
  transform: translate3d(10px, -50%, 0) scale(0.94);
  transform-origin: right center;
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  min-height: 42px;
  max-width: min(230px, calc(100vw - 112px));
  padding: 4px 9px;
  border: 1px solid rgba(251,191,36,0.16);
  border-radius: 999px;
  background: rgba(14,14,14,0.94);
  box-shadow: 0 12px 28px rgba(0,0,0,0.32);
  will-change: transform, opacity;
  touch-action: none;
  transition:
    transform 240ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 170ms ease;
}
.mylist-episode-page-season-rating-control.is-expanded .mylist-episode-page-season-rating-stars {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, -50%, 0) scale(1);
}
/* v11.026: the season rating popout now renders the SAME
   `.ep-rating-popup-stars` slot widget as the top-of-page overall
   rating. This compound selector (2 classes → specificity beats the
   bare `.ep-rating-popup-stars` rule in 01-mylists-cards-episodes.css)
   pins the popout to the hero widget's 22px star scale + flex layout,
   while the base `.mylist-episode-page-season-rating-stars` rule above
   keeps the floating-bubble positioning. The old bespoke
   `.mylist-episode-page-season-rating-star-*` rules were removed — the
   widget styling (champagne gold #E6C766 fill, half-step clip, hit
   zones) all comes from the shared `.ep-rating-star-*` family. */
.mylist-episode-page-season-rating-stars.ep-rating-popup-stars {
  --ep-star-size: 22px;
  display: flex;
  gap: 3px;
  touch-action: none;
}
.mylist-episode-page-season-poster {
  width: 77px;
  aspect-ratio: 2 / 3;
  flex: 0 0 77px;
  display: block;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(255,255,255,0.05);
  border-radius: 3px !important;
}
.mylist-episode-page-season-poster.season-poster-empty {
  background:
    linear-gradient(135deg, rgba(167,139,250,0.2), rgba(255,255,255,0.03)),
    rgba(255,255,255,0.035);
}
.mylist-episode-page-season-body {
  display: none;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  will-change: height, opacity, transform;
  /* v11.029: collapse/expand duration bumped 380ms → 450ms (height +
     transform). Opacity scaled up proportionally (260 → 300ms) so it
     still finishes ahead of the height for a clean no-clip fade. */
  transition:
    height 450ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 300ms ease,
    transform 450ms cubic-bezier(0.22, 1, 0.36, 1);
}
.mylist-episode-page-season-block.is-open .mylist-episode-page-season-body {
  opacity: 1;
  transform: translateY(0);
}
.mylist-episode-page-season-block .season-arrow {
  transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
}
.mylist-episode-page-season-block.is-open .season-arrow {
  transform: rotate(180deg);
}
.mylist-episode-page-season-eps {
  padding: 0 10px 10px 10px;
}
.mylist-episode-page-season-eps .ep-row {
  margin-bottom: 8px;
}
.mylist-episode-page-overlay .ep-title-stack {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.mylist-episode-page-overlay .ep-title-stack .ep-name {
  flex: 0 1 auto;
  width: 100%;
  min-width: 0;
}
.mylist-episode-page-overlay .ep-runtime {
  display: block;
  color: rgba(255,255,255,0.70);
  font-size: 11px;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 0;
  font-family: 'Sohne', 'DM Sans', system-ui, sans-serif;
}
.mylist-episode-page-season-eps .ep-row:last-child {
  margin-bottom: 0;
}
.mylist-episode-page-overlay .season-rating-chip,
.mylist-episode-page-overlay .season-rating-bar {
  display: none !important;
}
.mylist-episode-page-overlay .ep-row.watched-ep {
  border-left-color: transparent;
  box-shadow: none;
}
.mylist-episode-page-overlay .ep-row::before,
.mylist-episode-page-overlay .episode-fill-layer {
  background: rgba(139, 92, 246, 0.22);
}
.mylist-episode-page-overlay .ep-row::after {
  background: none;
  filter: none;
}
.mylist-episode-page-overlay .episode-burst {
  display: none !important;
}
.mylist-episode-page-overlay .ep-row.episode-watch-sweep::after {
  animation: episodeWatchSweep 1180ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.mylist-episode-page-overlay .ep-row.episode-watch-glow {
  animation: mylistEpisodeRowLavenderGlow 1180ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.mylist-episode-page-overlay .ep-row.episode-watch-impact .ep-check {
  animation: mylistEpisodeCheckLavenderPop 560ms cubic-bezier(0.175, 0.885, 0.32, 1.25) forwards;
}
.mylist-episode-page-overlay .ep-check.checked {
  border-color: rgba(167, 139, 250, 0.84);
  background: rgba(167, 139, 250, 0.3);
  color: rgba(245, 242, 255, 0.98);
  box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.1);
}
@keyframes mylistEpisodeCheckLavenderPop {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(167,139,250,0);
    filter: brightness(1);
  }
  28% {
    transform: scale(1.16);
    box-shadow: 0 0 0 5px rgba(167,139,250,0.16);
    filter: brightness(1.08);
  }
  60% {
    transform: scale(1.06);
    box-shadow: 0 0 0 9px rgba(167,139,250,0.06);
    filter: brightness(1.03);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(167,139,250,0);
    filter: brightness(1);
  }
}
@keyframes mylistEpisodeRowLavenderGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(167,139,250,0), 0 0 0 rgba(167,139,250,0);
  }
  24% {
    box-shadow: 0 0 0 1px rgba(196,181,253,0.16), 0 0 10px rgba(167,139,250,0.12);
  }
  58% {
    box-shadow: 0 0 0 1px rgba(167,139,250,0.12), 0 0 14px rgba(167,139,250,0.16);
  }
  100% {
    box-shadow: 0 0 0 1px rgba(167,139,250,0.14), 0 0 0 rgba(167,139,250,0);
  }
}
.mylist-episode-page-empty {
  padding: 18px 0 4px;
  font-size: 14px;
  color: rgba(245,242,255,0.58);
}

@media (max-width: 430px) {
  .mylist-episode-page-topbar {
    padding-left: 14px;
    padding-right: 14px;
  }
  .mylist-episode-page-scroll {
    padding-left: 14px;
    padding-right: 14px;
  }
  .mylist-episode-page-summary {
    grid-template-columns: 142px minmax(0, 1fr);
    gap: 12px;
  }
  .mylist-episode-page-summary-poster {
    width: 142px;
  }
  .mylist-episode-page-title {
    font-size: 21px;
  }
  .mylist-episode-page-season-poster {
    width: 77px;
    flex-basis: 77px;
  }
  .mylist-episode-page-season-rating-stars {
    right: calc(100% + 5px);
    padding-left: 7px;
    padding-right: 7px;
    max-width: min(216px, calc(100vw - 104px));
  }
  /* v11.026: nudge the shared star widget a touch smaller on compact
     widths so the bubble clears the chip. */
  .mylist-episode-page-season-rating-stars.ep-rating-popup-stars {
    --ep-star-size: 20px;
    gap: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mylist-episode-page-surface,
  .mylist-episode-page-season-body,
  .mylist-episode-page-season-block.is-open .season-arrow,
  .mylist-episode-page-season-rating-chip,
  .mylist-episode-page-season-rating-stars,
  .mylist-episode-page-season-rating-stars .ep-rating-star-fill {
    transition: none !important;
  }
}


