#series-details .episode-list { gap: 0; margin-top: 22px; }
#series-details .episode-row { display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: center; gap: 12px; min-height: 58px; border-bottom: 1px solid #ffffff12; }
#series-details .episode-row:last-child { border-bottom: 0; }
#series-details .episode-play { width: 100%; padding: 16px 2px; border: 0; border-radius: 0; background: transparent; color: #d2d2d2; font-size: 13px; font-weight: 500; line-height: 1.5; text-align: left; overflow-wrap: anywhere; box-shadow: none; }
#series-details .episode-play:hover, #series-details .episode-play:active { background: transparent; color: #fff; transform: none; }
#series-details .episode-row:hover { background: #ffffff04; }
#series-details .episode-play:focus-visible { outline: 1px solid #ffffff8c; outline-offset: -3px; border-radius: 4px; }
#series-details .episode-seen-toggle { position: relative; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #747474; transition: color .15s, background .15s; }
#series-details .episode-seen-toggle[aria-pressed="true"] { color: #e50914; }
#series-details .episode-seen-toggle:hover, #series-details .episode-seen-toggle:active { background: #ffffff08; transform: none; }
#series-details .episode-seen-toggle:hover { color: #aaa; }
#series-details .episode-seen-toggle[aria-pressed="true"]:hover { color: #ff3340; }
#series-details .episode-seen-toggle:focus-visible { outline: 1px solid #ffffff8c; outline-offset: -2px; }
.episode-seen-icon { display: block; width: 22px; height: 22px; background: currentColor; pointer-events: none; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2.5 12s3.5-6.5 9.5-6.5S21.5 12 21.5 12 18 18.5 12 18.5 2.5 12 2.5 12Z' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='m8.5 12 2.1 2.1 4.9-5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2.5 12s3.5-6.5 9.5-6.5S21.5 12 21.5 12 18 18.5 12 18.5 2.5 12 2.5 12Z' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='m8.5 12 2.1 2.1 4.9-5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.episode-seen-tooltip { position: absolute; right: 0; bottom: calc(100% + 5px); z-index: 2; width: max-content; max-width: 200px; padding: 6px 8px; border: 1px solid #ffffff1c; border-radius: 5px; background: #252525; color: #e0e0e0; font-size: 10px; font-weight: 500; line-height: 1.3; opacity: 0; visibility: hidden; pointer-events: none; }
.episode-seen-toggle:hover .episode-seen-tooltip, .episode-seen-toggle:focus-visible .episode-seen-tooltip { opacity: 1; visibility: visible; }
#episode-watch-confirm { width: min(460px, calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 26px; overflow: auto; border: 1px solid #ffffff20; border-radius: 16px; background: #181818; color: #fff; box-shadow: 0 20px 80px #0008; }
#episode-watch-confirm::backdrop { background: #000b; }
#episode-watch-title { margin: 0 0 16px; font-size: 21px; font-weight: 650; letter-spacing: -.02em; }
#episode-watch-range, #episode-watch-target { margin: 0 0 12px; color: #b1b1b1; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.episode-watch-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.episode-watch-actions button { padding: 11px 14px; font-size: 12px; }
.episode-watch-actions .episode-watch-cancel { background: transparent; color: #aaa; }
.episode-watch-actions .episode-watch-cancel:hover { background: #ffffff08; color: #fff; }
@media (max-width: 650px) {
  #series-details .episode-row { gap: 8px; }
  #series-details .episode-play { font-size: 12px; }
  #episode-watch-confirm { padding: 22px; }
  .episode-watch-actions button { flex: 1; }
  .episode-watch-actions .episode-watch-cancel { flex-basis: 100%; }
}
