.dh-player {
  position: fixed; right: 16px; bottom: 16px; z-index: 900;
  width: 400px; max-width: calc(100vw - 32px);
  background: var(--marble, #251f2a);
  border: 1px solid var(--gold, #cea24c);
  box-shadow: 0 8px 30px rgba(0,0,0,.6), 0 0 18px rgba(255,79,160,.25);
}
.dh-player-bar {
  display: flex; align-items: center; gap: .5rem; padding: .4rem .6rem;
  font-family: var(--mono, 'Space Mono', monospace); font-size: .75rem; color: var(--ink, #f2e8d9);
}
.dh-player-title { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dh-btn {
  background: transparent; color: var(--gold, #cea24c); border: 1px solid var(--gold, #cea24c);
  min-width: 2rem; height: 2rem; cursor: pointer; font: inherit;
}
.dh-btn:hover, .dh-btn:focus-visible { background: var(--gold, #cea24c); color: var(--bg, #150e18); }
.dh-vol { width: 70px; accent-color: var(--neon, #ff4fa0); }
.dh-player-screen { width: 100%; aspect-ratio: 4 / 3; background: #000; }
.dh-player-screen iframe { width: 100%; height: 100%; display: block; border: 0; }

/* Minimized: slim toolbar; video kept in the DOM (off-screen) so audio continues */
.dh-player.minimized { width: auto; max-width: calc(100vw - 32px); }
.dh-player.minimized .dh-player-screen {
  position: absolute; left: -9999px; width: 400px; height: 300px; aspect-ratio: auto;
}

@media (max-width: 480px) {
  .dh-player { right: 8px; bottom: 8px; left: 8px; width: auto; max-width: none; }
  .dh-vol { width: 56px; }
}
