.playerNav {
  display: grid;
  grid-template-columns: 46px 1fr 46px;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 8px;
  border-top: 1px solid var(--line);
}
.playerNav strong { text-align: center; font-size: 13px; }
.playerNav button {
  height: 40px;
  padding: 0 0 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  color: var(--text);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.playerNav button:disabled { opacity: .3; cursor: default; }
.playerEpisodeList { max-height: 230px; overflow: auto; padding: 4px 16px 12px; }
.playerEpisode {
  width: 100%;
  display: grid;
  grid-template-columns: 34px minmax(0,1fr) auto;
  gap: 10px;
  align-items: center;
  text-align: left;
  padding: 10px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  border-radius: 8px;
}
.playerEpisode:hover,.playerEpisode.active { background: #202631; }
.playerEpisode.active { box-shadow: inset 3px 0 var(--red); }
.playerEpisode.watched span,.episode.watched .episodeNumber { color: #55d69b; font-weight: 900; }
.playerEpisode.watched strong,.episode.watched strong { opacity: .72; }
.playerEpisode span,.playerEpisode small { color: var(--muted); font-size: 11px; }
.playerEpisode strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#playerDialog { max-height: 94dvh; }
#playerDialog:has(.playerEpisodeList:not([hidden])) video { max-height: 48dvh; }
.playerStage { position: relative; background: #000; }
#formatNote {
  display: none;
}
@media (max-width:700px) {
  #playerDialog {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    margin-inline: auto;
  }
  #playerDialog .playerHead { gap: 8px; padding: 9px 8px 9px 12px; }
  #playerDialog .playerHead > div:first-child { flex: 1 1 auto; min-width: 0; }
  #playerDialog .playerHead > div:last-child { flex: 0 0 auto; }
  #playerDialog .playerHead strong,
  #playerDialog .playerHead small { max-width: none; }
  .playerEpisodeList { max-height: 28dvh; padding: 4px 10px 12px; }
  .playerNav { padding: 10px; }
  .playerEpisode { padding: 11px 7px; }
}
