/* ============================================================
   anime-pv.css — PV（YouTube）のクリック再生プレーヤー（inc/anime-pv.php）
   クール別一覧の詳細版・作品ページのあらすじ欄で共用。
   最初はサムネイル画像だけを出し、クリックで iframe に差し替える（js/anime-pv.js）。
   ============================================================ */

.anime-pv {
  max-width: 560px;
  margin: 0 0 .9rem;
}
.anime-pv__poster,
.anime-pv__frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
.anime-pv__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: .9;
  transition: opacity .12s;
}
@media (hover: hover) {
  .anime-pv__poster:hover img { opacity: 1; }
}
.anime-pv__poster:focus-visible { outline: 3px solid var(--indigo); outline-offset: 2px; }
.anime-pv__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68px;
  height: 48px;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, .72);
  border-radius: 12px;
}
.anime-pv__play::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-35%, -50%);
  border-style: solid;
  border-width: 11px 0 11px 19px;
  border-color: transparent transparent transparent #fff;
}
.anime-pv__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: .45rem .7rem;
  font-size: .78rem;
  line-height: 1.5;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, .75));
  text-align: left;
}
.anime-pv__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
