/* Vidstack default controls retain keyboard/device support. */
.movie__player > .item__labels--movie { position: static; margin-bottom: 12px; }
.hithd-player-frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 16px; background: #000; }
body.hithd-player-document { margin: 0; overflow: hidden; background: #000; }
.hithd-player { width: 100%; color: #fff; font: inherit; }
.hithd-media { display: block; position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 16px; overflow: hidden; --media-brand: var(--hithd-accent); --media-focus-ring-color: var(--hithd-accent); --media-font-family: Arial, sans-serif; --video-border-radius: 16px; --media-menu-border-radius: 16px; --media-button-border-radius: 10px; }
.hithd-media media-provider, .hithd-media media-provider video, .hithd-media media-provider iframe { width: 100%; height: 100%; }
.hithd-player button { color: #fff; font: inherit; cursor: pointer; }
.player-resume { position: absolute; inset: 0; z-index: 20; display: flex; align-content: center; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; padding: 16px; background: #0006; }
.player-resume .hero__btn { width: auto; max-width: 100%; min-width: 200px; margin: 0; padding: 0 24px; }
.hithd-media:has(.player-resume:not([hidden])) :is(media-video-layout, .player-intro) { display: none; }
.player-intro { position: absolute; inset: 0; display: flex; align-items: flex-start; gap: 16px; padding: 18px; background: linear-gradient(180deg, #000b, transparent 80%); pointer-events: none; }
.player-intro img { width: 56px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 8px; }
.player-intro span { max-width: 60%; text-shadow: 0 1px 4px #000; }
.player-intro small { display: block; color: #ccc; }
.player-error { position: absolute; inset: 0; z-index: 30; display: flex; align-content: center; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; background: #141414f5; padding: 16px; text-align: center; }
.player-error p { flex-basis: 100%; }
.player-error button { padding: 8px 12px; border-radius: 10px; background: var(--hithd-accent); color: var(--hithd-base); }
.player-access { gap: 24px; padding: 24px; }
.player-access img { width: 25%; max-height: 250px; object-fit: contain; border-radius: 10px; }
.player-access h2 { font-size: 22px; }
.hithd-storage-player { position: relative; }
.hithd-storage-player [hidden] { display: none; }
.hithd-player--trailer { margin-top: 20px; }
@media (max-width: 600px) {
    .player-intro { padding: 12px; font-size: 13px; }
    .player-intro img { width: 36px; }
    .player-error { font-size: 13px; }
    .player-access { flex-direction: column; aspect-ratio: auto; text-align: center; }
}
