.q-video {
  --q-video-bg: var(--ss-surface-light);
  --q-video-edge: #fafafa;
  --q-video-ink: #000;
  --q-video-text: #171717;
  --q-video-track: #ebebeb;
  --q-video-stroke: rgba(0, 0, 0, 0.08);
  display: block;
  text-align: center;
  margin: var(--q-video-margin, 40px) 0;
  font-family: QuoterGeist, Arial, sans-serif;
  color: var(--q-video-text);
}
.q-video__sizing {
  position: relative;
  margin: 0 auto;
  width: var(--q-video-width);
  max-width: 100%;
}
.q-video__frame {
  display: flex;
  justify-content: center;
  position: relative;
}
.q-video__media {
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  cursor: pointer;
}
.q-video__media:fullscreen {
  width: 100%;
  height: 100%;
  max-height: 100%;
  z-index: 99999999;
}
.q-video__controls {
  position: absolute;
  bottom: 5%;
  background: var(--q-video-bg);
  height: 48px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  opacity: 0;
  border-radius: 6px;
  width: 85%;
  box-shadow:
    0 0 0 1px var(--q-video-stroke),
    0 1px 1px rgba(0, 0, 0, 0.02),
    0 4px 8px rgba(0, 0, 0, 0.04),
    0 0 0 1px var(--q-video-edge);
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.q-video__toggle {
  background: transparent;
  border: 0;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  outline: none;
  cursor: pointer;
  flex: 0 0 40px;
  padding: 0;
  color: var(--q-video-text);
}
.q-video__toggle:focus-visible {
  border-radius: 4px;
  box-shadow:
    0 0 0 2px var(--q-video-bg),
    0 0 0 4px var(--ss-primary);
}
.q-video__toggle[data-paused='true'] .q-video__pause,
.q-video__toggle[data-paused='false'] .q-video__play {
  display: none;
}
.q-video__time {
  font-size: 13px;
  line-height: 40px;
  padding: 0 12px;
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
  width: 60px;
}
.q-video__elapsed {
  padding-left: 0;
}
.q-video__track {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 0 auto;
  margin-top: -1px;
}
.q-video__seek {
  width: 100%;
  height: 18px;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: none;
}
.q-video__progress {
  appearance: none;
  background: var(--q-video-text);
  height: 4px;
  width: 100%;
  position: absolute;
  top: calc(50% - 1px);
  left: 0;
  pointer-events: none;
  border: 0;
  border-radius: 5px;
  overflow: hidden;
}
.q-video__progress::-webkit-progress-bar {
  background: var(--q-video-track);
}
.q-video__progress::-webkit-progress-value {
  background: var(--q-video-ink);
}
.q-video__progress::-moz-progress-bar {
  background: var(--q-video-ink);
}
.q-video__thumb {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--q-video-ink);
  translate: 4px 1px;
  scale: 0;
  transition:
    width 100ms ease-in-out,
    height 100ms ease-in-out,
    border-radius 100ms ease-in-out,
    transform 100ms ease-in-out,
    background-color 100ms ease-in-out;
  top: calc(50% - 5px);
  pointer-events: none;
}
[data-theme='dark'] .q-video {
  --q-video-bg: #000;
  --q-video-edge: #000;
  --q-video-ink: #fff;
  --q-video-text: #ededed;
  --q-video-track: #1f1f1f;
  --q-video-stroke: rgba(255, 255, 255, 0.145);
}
@media (width < 992px) {
  .q-video__controls {
    opacity: 1;
    translate: 0 0;
    scale: 1 0;
  }
}
.q-video__controls[data-visible='true'] {
  opacity: 1;
  translate: 0 -6px;
  transition-duration: 200ms;
  transition-timing-function: cubic-bezier(0.25, 0.57, 0.45, 0.94);
}
@media (width < 992px) {
  .q-video__controls[data-visible='true'] {
    translate: 0 0;
  }
}

.q-video-page .q-docs__page-heading h1 {
  letter-spacing: -0.06em;
}
