.video-player { position: relative; width: 100%; height: 100%; background: #000; }
.video-player video { display: block; width: 100%; height: 100%; object-fit: contain; }
.player-watermark-area { position: absolute; pointer-events: none; overflow: hidden; }
.player-watermark { position: absolute; right: 3%; bottom: 3%; width: 12.5%; max-width: 90px; height: auto; max-height: 20%; object-fit: contain; object-position: right bottom; }
.player-controls-visible .player-watermark { bottom: min(54px, 30%); }
.player-action { position: absolute; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; right: 10px; top: 10px; z-index: 2; width: 34px; height: 34px; padding: 0; border: 1px solid #ffffff66; border-radius: 5px; color: #fff; background: #0009; font: 24px/1 system-ui; cursor: pointer; opacity: 0; transition: opacity .15s; }
.player-controls-visible .player-action, .video-player:focus-within .player-action { opacity: 1; }
.player-action:focus-visible { outline: 2px solid white; outline-offset: 2px; }
.player-overlay-ready video::-webkit-media-controls-fullscreen-button { display: none; }
.video-player:fullscreen { width: 100%; height: 100%; border-radius: 0; }
.video-player.player-expanded { position: fixed; inset: 0; width: 100vw; height: 100dvh; z-index: 10000; border-radius: 0; }
@media (hover: none) { .player-action { opacity: 1; } }

.player-download { right: 52px; text-decoration: none; }

.player-watermark[data-logo="races"] { width: 7.8125%; max-width: 56.25px; max-height: 12.5%; }
