.video-player { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #000; color: white; isolation: isolate; }
.video-player:focus-visible { outline: 2px solid #e9899a; outline-offset: 2px; }
.rank-media .video-player { position: absolute; inset: 0; aspect-ratio: auto; }
.video-player video, .video-player iframe, .video-player .vp-poster { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
.video-player video { object-fit: contain; background: #000; cursor: pointer; }
.video-player .vp-poster { object-fit: cover; }
.vp-big-play { position: absolute; z-index: 2; top: 50%; left: 50%; display: grid; place-items: center; width: 64px; height: 46px; padding: 0; border: 0; border-radius: 12px; background: #921b31e6; color: white; box-shadow: 0 6px 24px #0008; transform: translate(-50%, -50%); cursor: pointer; transition: background .18s, transform .18s, opacity .18s; }
.vp-big-play svg { width: 26px; height: 26px; fill: currentColor; }
.vp-big-play:hover { background: #b0223d; transform: translate(-50%, -50%) scale(1.06); }
.video-player:not(.is-paused) .vp-big-play, .video-player.has-error .vp-big-play { opacity: 0; pointer-events: none; }
.vp-youtube-note { position: absolute; z-index: 2; right: 10px; bottom: 10px; padding: 5px 8px; border-radius: 5px; background: #08090bce; color: #ededf1; font-size: 11px; pointer-events: none; }
.vp-spinner { position: absolute; z-index: 2; top: 50%; left: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 3px solid #ffffff40; border-top-color: white; border-radius: 50%; opacity: 0; pointer-events: none; animation: vp-spin .8s linear infinite; }
.video-player.is-loading .vp-spinner { opacity: 1; }
@keyframes vp-spin { to { transform: rotate(360deg); } }
.vp-error { position: absolute; z-index: 3; inset: 0; display: grid; place-items: center; background: #0b0c10e6; color: #e4abb7; font-size: 13px; }
.vp-error[hidden] { display: none; }
.vp-controls { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 6px; padding: 26px 10px 8px; background: linear-gradient(transparent, #000000c8); transition: opacity .25s, transform .25s; }
.video-player.is-idle:not(.is-paused) .vp-controls { opacity: 0; transform: translateY(6px); pointer-events: none; }
.video-player.is-idle:not(.is-paused) video { cursor: none; }
.video-player.has-error .vp-controls { display: none; }
.vp-button { display: grid; place-items: center; flex: 0 0 auto; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: white; cursor: pointer; }
.vp-button svg { width: 20px; height: 20px; fill: currentColor; }
.vp-button:hover { background: #ffffff22; }
.vp-time { flex: 0 0 auto; color: #e8e8ee; font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vp-progress, .vp-volume { -webkit-appearance: none; appearance: none; height: 18px; margin: 0; background: transparent; cursor: pointer; }
.vp-progress { flex: 1; min-width: 60px; }
.vp-volume { flex: 0 0 70px; width: 70px; }
.vp-progress::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, #d23a58 var(--vp-progress, 0%), #ffffff40 var(--vp-progress, 0%)); }
.vp-volume::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, white var(--vp-volume, 100%), #ffffff40 var(--vp-volume, 100%)); }
.vp-progress::-moz-range-track, .vp-volume::-moz-range-track { height: 4px; border-radius: 2px; background: #ffffff40; }
.vp-progress::-moz-range-progress { height: 4px; border-radius: 2px; background: #d23a58; }
.vp-volume::-moz-range-progress { height: 4px; border-radius: 2px; background: white; }
.vp-progress::-webkit-slider-thumb, .vp-volume::-webkit-slider-thumb { -webkit-appearance: none; width: 13px; height: 13px; margin-top: -4.5px; border: 0; border-radius: 50%; background: white; }
.vp-progress::-moz-range-thumb, .vp-volume::-moz-range-thumb { width: 13px; height: 13px; border: 0; border-radius: 50%; background: white; }
.vp-progress:focus-visible, .vp-volume:focus-visible, .vp-button:focus-visible, .vp-big-play:focus-visible { outline: 2px solid #e9899a; outline-offset: 2px; }
.video-player.is-fullscreen { aspect-ratio: auto; width: 100%; height: 100%; }
@media (max-width: 600px) {
  .vp-volume { display: none; }
  .vp-controls { gap: 2px; padding: 22px 6px 4px; }
  .vp-button { width: 40px; height: 40px; }
  .vp-time { font-size: 11px; }
}
@media (hover: none) { .vp-volume { display: none; } }
@media (prefers-reduced-motion: reduce) { .vp-spinner { animation-duration: 2s; } }
