.watch-page { display: grid; place-items: center; min-height: 100vh; min-height: 100dvh; margin: 0; padding: 0; background: #080407; }
.player-stage { position: relative; isolation: isolate; width: 100%; height: 100vh; height: 100dvh; max-height: 100dvh; overflow: hidden; background: #120b10; }
.player-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; opacity: .62; }
.player-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #080407; }
.player-message { position: absolute; z-index: 8; top: 44%; left: 12px; right: 76px; margin: auto; max-width: 280px; display: grid; gap: 16px; padding: 20px; border: 1px solid rgb(255 255 255 / 14%); border-radius: 20px; background: rgb(18 5 14 / 88%); text-align: center; font-size: 14px; line-height: 21px; }
.player-message[hidden], .player-status[hidden], .player-message button[hidden] { display: none; }
.player-status { position: absolute; z-index: 7; bottom: calc(104px + env(safe-area-inset-bottom)); left: 16px; right: 82px; border-radius: 8px; padding: 8px; background: rgb(0 0 0 / 68%); font-size: 12px; line-height: 18px; }
.player-status[data-loading="true"]::before { content: ""; display: inline-block; vertical-align: middle; width: 12px; height: 12px; margin-right: 8px; border: 2px solid #7e6270; border-top-color: #fff; border-radius: 50%; animation: player-loading 1s linear infinite; }
.player-test-label { position: absolute; z-index: 7; top: calc(78px + env(safe-area-inset-top)); left: 12px; right: 12px; text-align: center; font-size: 10px; line-height: 14px; color: #eee; text-shadow: 0 1px 3px #000; pointer-events: none; }
input.timeline[data-player-timeline] { accent-color: #fb3886; touch-action: pan-y; height: 44px; min-height: 44px; }
@keyframes player-loading { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .player-status[data-loading="true"]::before { animation: none; } }
.player-stage::after { content: ""; position: absolute; z-index: -1; inset: 0; background: #10070c; }
.player-top { position: absolute; z-index: 10; inset: 0 0 auto; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: calc(12px + env(safe-area-inset-top)) 12px 40px; background: linear-gradient(rgb(0 0 0 / 80%), transparent); }
.player-top .icon-btn { background: rgb(0 0 0 / 48%); }
.player-top .player-title, .player-top h1 { flex: 1; min-width: 0; padding-top: 4px; font-size: 15px; line-height: 21px; text-align: center; font-weight: 650; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.media-unavailable { position: absolute; z-index: 5; top: 46%; left: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 16px; width: calc(100% - 48px); max-width: 300px; padding: 24px 18px; border: 1px solid rgb(255 255 255 / 14%); border-radius: 20px; background: rgb(18 5 14 / 85%); text-align: center; }
.media-unavailable > svg { width: 48px; height: 48px; color: #ffaccb; }
.media-unavailable h2 { font-size: 19px; line-height: 25px; }
.media-unavailable p { font-size: 13px; line-height: 20px; color: #d4c7ce; }
.media-unavailable .secondary-btn { min-height: 44px; width: 100%; font-size: 13px; }
.player-bottom { position: absolute; z-index: 10; inset: auto 0 0; padding: 40px 16px calc(20px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, rgb(0 0 0 / 92%) 35%); }
.episode-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 15px; font-weight: 700; line-height: 22px; margin-bottom: 12px; }
.episode-caption .text-btn { color: white; }
.episode-caption small { display: block; margin-top: 4px; color: #c5b6be; font-size: 11px; font-weight: 400; line-height: 16px; }
.transport { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.transport .icon-btn { background: transparent; }
.transport .secondary-btn { min-height: 44px; padding: 8px 14px; background: rgb(255 255 255 / 12%); }
.transport .time-label { flex: 1; color: #beb1ba; font-size: 12px; font-variant-numeric: tabular-nums; }
.transport > span { color: #beb1ba; font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.timeline { display: flex; align-items: center; gap: 12px; min-height: 30px; margin-top: 10px; color: #beb1ba; font-size: 12px; }
.timeline input[type="range"] { width: 100%; height: 24px; margin: 0; accent-color: #fb3886; cursor: pointer; }
.timeline input[type="range"]:disabled { opacity: .5; cursor: not-allowed; }
.timeline .track { position: relative; flex: 1; height: 4px; border-radius: 8px; background: rgb(255 255 255 / 20%); }
.timeline .track[aria-disabled="true"] { background: rgb(255 255 255 / 16%); }
input.timeline[type="range"] { display: block; flex: 1; width: 0; min-width: 40px; min-height: 24px; height: 24px; margin: 0; padding: 0; background: transparent; accent-color: #8a7181; }
input.timeline[type="range"]:disabled { cursor: not-allowed; opacity: .5; }
.media-disclaimer { margin-top: 10px; font-size: 11px; line-height: 16px; color: #cbbac4; }
.watch-page + .fixture-panel { color: var(--color-muted); }
.watch-page { width: 100vw; }
.player-actions { position: absolute; z-index: 10; right: 15px; bottom: calc(82px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px; width: 53px; }
.player-action { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 64px; width: 53px; padding: 6px 0; border-radius: 10px; background: rgb(0 0 0 / 22%); color: white; }
.player-action svg { width: 30px; height: 30px; }
.player-action span { font-size: 12px; line-height: 16px; font-weight: 600; overflow-wrap: anywhere; }
.player-action[aria-pressed="true"] { color: #ff7296; }
.player-episode { position: absolute; z-index: 10; left: 16px; bottom: calc(75px + env(safe-area-inset-bottom)); font-size: 13px; line-height: 18px; }
.player-stage .media-unavailable { left: 44%; width: calc(100% - 104px); max-width: 280px; }
.player-stage .player-bottom { height: calc(57px + env(safe-area-inset-bottom)); padding: 6px 8px calc(7px + env(safe-area-inset-bottom)); background: rgb(0 0 0 / 88%); }
.player-bottom .transport { height: 44px; }
@media (min-width: 600px) {
  .player-stage { width: min(100vw, calc(100dvh * 9 / 16)); aspect-ratio: 9 / 16; }
  .player-top { padding-top: 16px; }
}
@media (max-height: 620px) {
  .media-unavailable { top: 44%; padding: 16px; gap: 10px; }
  .media-unavailable > svg { width: 32px; height: 32px; }
  .media-unavailable h2 { font-size: 16px; line-height: 22px; }
  .media-unavailable p { font-size: 12px; line-height: 17px; }
  .player-bottom { padding-top: 24px; padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
}
