.uva-player { position: relative; width: 100%; max-width: 100%; margin: 0 auto; }
.uva-player video { display: block; width: 100%; height: auto; background: #000; }

.uva-overlay {
  position: absolute;
  z-index: 2147483000;
  overflow: hidden;
  color: #fff;
  background: transparent;
  font: 14px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}
.uva-overlay *, .uva-overlay *::before, .uva-overlay *::after { box-sizing: border-box; }
.uva-overlay [hidden] { display: none !important; }
.uva-overlay.is-started { background: #000; }

.uva-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  background: #000;
  opacity: 0;
  pointer-events: auto;
}
.uva-overlay.is-started .uva-video { opacity: 1; }

.uva-loader {
  position: absolute;
  top: 50%; left: 50%;
  width: 44px; height: 44px;
  margin: -22px 0 0 -22px;
  border: 3px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  border-radius: 50%;
  background: rgba(0, 0, 0, .35);
  animation: uva-spin .8s linear infinite;
  pointer-events: none;
}
@keyframes uva-spin { to { transform: rotate(360deg); } }

.uva-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 8px;
  background: rgba(0, 0, 0, .7);
  color: #fff;
  font: inherit;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
  appearance: none;
  -webkit-appearance: none;
}
.uva-btn:hover:not(:disabled), .uva-btn:focus-visible { background: rgba(0, 0, 0, .9); border-color: #fff; }
.uva-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.uva-btn:disabled { cursor: default; opacity: .85; }
.uva-btn svg { display: block; flex: none; }

.uva-badge {
  position: absolute;
  top: 10px; left: 10px;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(0, 0, 0, .7);
  font-size: 13px;
  font-weight: 600;
  pointer-events: none;
}

.uva-bottom {
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 10px;
  pointer-events: none;
}
.uva-bottom > * { pointer-events: auto; }
.uva-bottom-start { display: flex; align-items: center; gap: 8px; min-width: 0; }
.uva-bottom-start .uva-btn { white-space: nowrap; }

.uva-bigplay {
  position: absolute;
  top: 50%; left: 50%;
  width: 72px; height: 72px;
  margin: -36px 0 0 -36px;
  border-radius: 50%;
  padding: 0;
}

.uva-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .25); pointer-events: none; }
.uva-progress i { display: block; height: 100%; width: 0; background: #f5c518; }

@media (max-width: 480px) {
  .uva-btn { padding: 0 12px; font-size: 13px; }
  .uva-badge { top: 8px; left: 8px; font-size: 12px; }
  .uva-bottom { padding: 0 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .uva-loader { animation-duration: 2.4s; }
}
