.hg-player-controls { box-sizing: border-box; width: 100%; padding: 12px; border: 1px solid #ffffff1f; background: #17191f; color: #f5f2ec; font: 13px/1.5 system-ui, sans-serif; }
.hg-player-shell { width: 100%; min-width: 0; background: #0f1116; }
.hg-player-controls *, .hg-player-controls *::before, .hg-player-controls *::after { box-sizing: border-box; }
.hg-player-timeline { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 9px; }
.hg-player-timeline > span { min-width: 112px; font-variant-numeric: tabular-nums; font-size: 12px; }
.hg-player-timeline > input { flex: 1 1 170px; min-width: 100px; }
.hg-player-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.hg-player-controls button, .hg-player-controls select { min-height: 40px; max-width: 100%; margin: 0; padding: 7px 10px; border: 1px solid #ffffff38; border-radius: 7px; background: #282b35; color: #fff; font: inherit; cursor: pointer; touch-action: manipulation; }
.hg-player-controls button:hover, .hg-player-controls select:hover { border-color: #e7c794; }
.hg-player-controls button:disabled, .hg-player-controls select:disabled, .hg-player-controls input:disabled { cursor: default; opacity: .45; }
.hg-player-controls button:focus-visible, .hg-player-controls select:focus-visible, .hg-player-controls input:focus-visible { outline: 2px solid #e7c794; outline-offset: 3px; }
.hg-player-controls input[type="range"] { width: 100%; height: 30px; margin: 0; padding: 0; border: 0; accent-color: #e7c794; cursor: pointer; touch-action: pan-y; }
.hg-player-controls label { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: #e8e5df; font: inherit; }
.hg-player-volume input { max-width: 85px; }
.hg-player-status { display: block; margin-top: 8px; color: #e7c794; font-size: 12px; }
.hg-player-status:empty { display: none; }
.hg-player-controls [hidden] { display: none !important; }
.hg-player-shell--immersive { position: relative; }
.hg-player-shell--immersive .hg-player-controls { position: absolute; z-index: 3; right: 0; bottom: 0; left: 0; border: 0; background: linear-gradient(transparent, #08090ddd 28%); transition: opacity .2s ease, visibility .2s ease; }
.hg-player-shell--immersive .hg-player-timeline { flex-wrap: nowrap; gap: 7px; margin-bottom: 0; }
.hg-player-shell--immersive .hg-player-timeline > span { min-width: 0; white-space: nowrap; font-size: 11px; }
.hg-player-shell--immersive .hg-player-timeline > input { flex: 1 1 0; min-width: 0; }
.hg-player-shell--immersive .hg-player-icon { display: grid; flex: 0 0 40px; width: 40px; min-height: 44px; padding: 7px; place-items: center; border: 0; background: transparent; }
.hg-player-shell--immersive [aria-pressed="true"] [data-hg-player-sound-on], .hg-player-shell--immersive [aria-pressed="false"] [data-hg-player-sound-off] { display: none; }
.hg-player-shell--immersive.hg-controls-hidden .hg-player-controls { visibility: hidden; opacity: 0; pointer-events: none; }
.hg-player-shell--immersive .hg-player-controls.is-blocked { visibility: hidden; opacity: 0; pointer-events: none; }
.hg-player-center { position: absolute; z-index: 2; top: 50%; left: 50%; display: grid; width: 72px; height: 72px; min-height: 44px; padding: 0; place-items: center; transform: translate(-50%, -50%); border: 1px solid #ffffff70; border-radius: 50%; background: #090b107a; color: #fff; cursor: pointer; touch-action: manipulation; }
.hg-player-center[hidden] { display: none !important; }
.hg-player-center:focus-visible { outline: 2px solid #e7c794; outline-offset: 4px; }
.discover-media .hg-player-shell--immersive .hg-player-controls { background: linear-gradient(transparent, #08090ddd 28%); border: 0; }
@media (prefers-reduced-motion: reduce) { .hg-player-shell--immersive .hg-player-controls { transition: none; } }
.player-episode-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px; border-bottom: 1px solid #8b8b8b30; }
.player-episode-toolbar button { min-height: 42px; padding: 7px 14px; border: 1px solid #8b8b8b50; border-radius: 7px; background: #22242b; color: #f5f2ec; font: inherit; cursor: pointer; }
.player-episode-toolbar button:disabled { opacity: .4; cursor: default; }
.player-episode-toolbar label { display: flex; align-items: center; gap: 7px; margin-inline-start: auto; font-size: 13px; }
.player-episode-toolbar input { width: 18px; height: 18px; accent-color: #e7c794; }
.player-episode-list { margin: 12px 16px 20px; border: 1px solid #ffffff16; border-radius: 12px; background: #17191f80; }
.player-episode-list > summary { display: flex; min-height: 44px; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; color: #dedce4; font-size: 13px; list-style: none; cursor: pointer; touch-action: manipulation; }
.player-episode-list > summary::-webkit-details-marker { display: none; }
.player-episode-list > summary:focus-visible { outline: 2px solid #e7c794; outline-offset: 2px; }
.player-episode-list[open] > summary svg { transform: rotate(90deg); }
.player-episode-list > .episode-grid { margin: 0; padding: 0 14px 14px; }
.player-episode-list > .player-episode-toolbar { margin-bottom: 14px; padding: 0 14px 14px; }
.player-episode-list > .player-library-actions { justify-content: flex-end; gap: 10px; padding: 0 14px 10px; }
.player-episode-list:not([open]) > :not(summary) { display: none; }
.hg-player-shell:fullscreen, .hg-player-shell:-webkit-full-screen { display: grid; grid-template-rows: minmax(0, 1fr) auto; width: 100vw; height: 100vh; height: 100dvh; overflow: auto; background: #000; }
.hg-player-shell:fullscreen > .player-stage, .hg-player-shell:-webkit-full-screen > .player-stage { display: grid; width: 100%; height: 100%; min-height: 0; aspect-ratio: auto; background: #000; border-radius: 0; }
.hg-player-shell:fullscreen > .source-ad-preview-stage, .hg-player-shell:-webkit-full-screen > .source-ad-preview-stage, .hg-player-shell:fullscreen > .ve-preview-stage, .hg-player-shell:-webkit-full-screen > .ve-preview-stage { width: 100%; height: 100%; min-height: 0; max-height: none; background: #000; }
.hg-player-shell:fullscreen video, .hg-player-shell:-webkit-full-screen video { width: 100%; height: 100%; max-height: none; object-fit: contain; }
@media (max-width: 600px) {
  .hg-player-controls { padding: 10px; font-size: 12px; }
  .hg-player-controls button, .hg-player-controls select { min-height: 44px; padding: 8px; }
  .hg-player-buttons { gap: 6px; }
  .hg-player-volume { flex: 1 0 110px; }
  .hg-player-controls .hg-player-speed { margin-inline-start: auto; }
  .player-episode-toolbar { padding: 10px; font-size: 13px; }
}
