.ct-style-player {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 24px;
  background: #081f33;
}

.ct-style-player video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #081f33;
}

.ct-style-player video:not(.has-played) {
  object-fit: cover;
}

.ct-style-player .drx-playback:not([hidden]) {
  position: absolute;
  inset: auto 10px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 20px;
  border: 1px solid rgb(255 255 255 / 36%);
  background: linear-gradient(155deg, rgb(255 255 255 / 20%), rgb(255 255 255 / 3%)), rgb(8 31 51 / 64%);
  backdrop-filter: blur(18px) saturate(165%);
  -webkit-backdrop-filter: blur(18px) saturate(165%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 30%), 0 6px 18px rgb(0 0 0 / 28%);
  color: #fff;
}

.ct-style-player .drx-playback input {
  appearance: none;
  -webkit-appearance: none;
  flex: 1;
  min-width: 0;
  height: 30px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  --glass-track: linear-gradient(
    to right,
    rgb(255 255 255 / 90%) 0 var(--played, 0%),
    rgb(255 255 255 / 28%) var(--played, 0%) 100%
  );
  --glass-thumb: linear-gradient(165deg, #fff, rgb(211 239 255 / 88%));
  --glass-shadow: inset 0 1px 1px #fff, 0 2px 7px rgb(0 0 0 / 36%);
}

.ct-style-player input::-webkit-slider-runnable-track {
  height: 5px;
  border-radius: 999px;
  background: var(--glass-track);
}

.ct-style-player input::-moz-range-track {
  height: 5px;
  border-radius: 999px;
  background: var(--glass-track);
}

.ct-style-player input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 17px;
  height: 17px;
  margin-top: -6px;
  border: 1px solid rgb(255 255 255 / 80%);
  border-radius: 50%;
  background: var(--glass-thumb);
  box-shadow: var(--glass-shadow);
}

.ct-style-player input::-moz-range-thumb {
  box-sizing: border-box;
  width: 17px;
  height: 17px;
  border: 1px solid rgb(255 255 255 / 80%);
  border-radius: 50%;
  background: var(--glass-thumb);
  box-shadow: var(--glass-shadow);
}

.ct-style-player .drx-playback input:disabled {
  cursor: default;
}

.ct-style-player .drx-playback button {
  padding: 6px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font: 600 12px -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  cursor: pointer;
}

.ct-style-player .drx-playback :focus-visible {
  outline: 2px solid #74d9eb;
  outline-offset: 2px;
}

.ct-style-player .drx-playback {
  z-index: 2;
}

.ct-style-player .drx-playback button {
  min-width: 52px;
  min-height: 36px;
  touch-action: manipulation;
}
