/* Playback controls never sit on top of event footage. */
.native-player {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  background: #170b25;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.native-player__stage {
  width: 100%;
  min-width: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.native-player .native-player__stage video {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: #170b25;
}
.native-player__controls {
  position: relative;
  min-width: 0;
  padding: 4px 10px 6px;
  background: #251737;
  border-top: 1px solid #ffffff24;
}
.native-player__buttons {
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
}
.native-player .native-player__button {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 11px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.native-player .native-player__button:hover { background: #ffffff17; }
.native-player__button svg { width: 22px; height: 22px; display: block; }
.native-player__time {
  flex: 1 1 auto;
  min-width: 0;
  padding-inline: 3px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.native-player .native-player__seek {
  --played: 0%;
  display: block;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 24px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  accent-color: #d1ff73;
}
.native-player__seek::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(to right, #d1ff73 0 var(--played), #ffffff44 var(--played) 100%);
}
.native-player__seek::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  margin-top: -5px;
  border: 0;
  border-radius: 50%;
  background: #d1ff73;
}
.native-player__seek::-moz-range-track { height: 4px; border-radius: 4px; background: #ffffff44; }
.native-player__seek::-moz-range-progress { height: 4px; border-radius: 4px; background: #d1ff73; }
.native-player__seek::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: #d1ff73; }
.native-player__seek:disabled { opacity: .4; cursor: default; }
.native-player :is(button, input, video):focus-visible { outline: 2px solid #d1ff73; outline-offset: -2px; }
.native-player .native-player__status { margin: 0; padding: 2px 8px 6px; color: #f1e9ff; font-size: 11px; line-height: 1.5; }
.native-player [hidden] { display: none !important; }
.native-player:fullscreen { width: 100vw; height: 100dvh; border-radius: 0; }
.native-player:-webkit-full-screen { width: 100vw; height: 100vh; border-radius: 0; }
.native-player:fullscreen .native-player__controls { padding-bottom: max(6px, env(safe-area-inset-bottom)); }
.native-player:-webkit-full-screen .native-player__controls { padding-bottom: max(6px, env(safe-area-inset-bottom)); }
@media (max-width: 360px) {
  .native-player__controls { padding-inline: 6px; }
  .native-player__time { font-size: 10px; padding-inline: 1px; }
}
