/* Auris player visual treatment, adapted to the Create static site. */
.cvp-host { position: relative; }
.cvp-root {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cvp-host > iframe.cvp-iframe {
  pointer-events: none;
}

.cvp-hit {
  position: absolute;
  inset: 0;
  z-index: 1;
  cursor: pointer;
}

.cvp-scrim {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.cvp-ctl {
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  flex: 0 0 auto;
  border: 1px solid color-mix(in srgb, #fff 22%, transparent);
  background: rgba(12, 14, 17, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.25s ease, transform 0.25s ease;
}

.cvp-ctl:hover {
  background: rgba(12, 14, 17, 0.8);
  border-color: color-mix(in srgb, #fff 42%, transparent);
}

/* The mute and fullscreen controls share one bare-icon treatment: they drop
   .cvp-ctl's glass pill so they read as plain glyphs (0.85 -> full on hover),
   sitting side by side at the bottom-right as siblings. */
.cvp-mute,
.cvp-fs {
  border: 0;
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  opacity: 0.85;
}

.cvp-mute:hover,
.cvp-mute:focus-visible,
.cvp-fs:hover,
.cvp-fs:focus-visible {
  background: none;
  opacity: 1;
}

.cvp-bigplay {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 52px;
  height: 52px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.9);
}

.cvp-root.is-paused .cvp-bigplay,
.cvp-root.is-active .cvp-bigplay,
.cvp-bigplay:hover,
.cvp-bigplay:focus-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.cvp-bp-pause {
  display: none;
}

.cvp-root:not(.is-paused) .cvp-bp-play {
  display: none;
}

.cvp-root:not(.is-paused) .cvp-bp-pause {
  display: block;
}

.cvp-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.cvp-root.is-paused .cvp-controls,
.cvp-root.is-active .cvp-controls,
.cvp-root:focus-visible .cvp-controls,
.cvp-root:focus-within .cvp-controls,
.cvp-controls:hover,
.cvp-controls:focus-within {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.cvp-root.is-paused .cvp-scrim,
.cvp-root.is-active .cvp-scrim,
.cvp-root:focus-visible .cvp-scrim,
.cvp-root:focus-within .cvp-scrim {
  opacity: 1;
}

.cvp-icon-muted {
  display: none;
}

.cvp-root.is-muted .cvp-icon-vol {
  display: none;
}

.cvp-root.is-muted .cvp-icon-muted {
  display: block;
}

/* Sliders (scrub + volume) share one visual language. */
.cvp-slider {
  position: relative;
  height: 16px;
  display: flex;
  align-items: center;
  cursor: pointer;
  touch-action: none;
}

.cvp-scrub {
  flex: 1 1 auto;
}

.cvp-slider__track {
  position: relative;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: color-mix(in srgb, #fff 22%, transparent);
  transition: height 0.15s ease;
}

.cvp-slider:hover .cvp-slider__track,
.cvp-slider:focus-visible .cvp-slider__track,
.cvp-slider.is-dragging .cvp-slider__track {
  height: 5px;
}

.cvp-slider__fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: #fff;
  border-radius: 999px;
}

.cvp-slider__thumb {
  position: absolute;
  top: 50%;
  left: 0;
  width: 11px;
  height: 11px;
  margin-left: -5.5px;
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%) scale(0);
  transition: transform 0.12s ease;
}

.cvp-slider:hover .cvp-slider__thumb,
.cvp-slider:focus-visible .cvp-slider__thumb,
.cvp-slider.is-dragging .cvp-slider__thumb {
  transform: translateY(-50%) scale(1);
}

.cvp-volume-group {
  position: relative;
  display: flex;
  align-items: center;
}

.cvp-volume-wrap {
  position: absolute;
  left: 50%;
  bottom: 100%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(6px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.cvp-volume-group:hover .cvp-volume-wrap,
.cvp-volume-group:focus-within .cvp-volume-wrap {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.cvp-volume {
  width: 16px;
  height: 64px;
  justify-content: center;
}

.cvp-volume .cvp-slider__track {
  width: 3px;
  height: 100%;
}

.cvp-volume:hover .cvp-slider__track,
.cvp-volume:focus-visible .cvp-slider__track,
.cvp-volume.is-dragging .cvp-slider__track {
  width: 5px;
  height: 100%;
}

.cvp-volume .cvp-slider__fill {
  top: auto;
  bottom: 0;
  left: 0;
  right: 0;
  width: auto;
  height: 0;
}

.cvp-volume .cvp-slider__thumb {
  top: auto;
  bottom: 0;
  left: 50%;
  margin-left: 0;
  margin-bottom: -5.5px;
  transform: translateX(-50%) scale(0);
}

.cvp-volume:hover .cvp-slider__thumb,
.cvp-volume:focus-visible .cvp-slider__thumb,
.cvp-volume.is-dragging .cvp-slider__thumb {
  transform: translateX(-50%) scale(1);
}

.cvp-ctl:focus-visible,
.cvp-slider:focus-visible,
.cvp-bigplay:focus-visible,
.cvp-root:focus-visible {
  outline: 2px solid color-mix(in srgb, #fff 60%, transparent);
  outline-offset: 2px;
}


.cvp-root { isolation: isolate; }
.cvp-root [hidden] { display: none !important; }
.cvp-root button { font: inherit; box-sizing: border-box; }
.cvp-host:fullscreen { position: fixed !important; inset: 0 !important; width: 100vw !important; height: 100vh !important; max-width: none !important; margin: 0 !important; padding: 0 !important; background: #000; }
.cvp-host:fullscreen > iframe { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; aspect-ratio: auto !important; }
.cvp-host:fullscreen::backdrop { background: #000; }
@media (pointer: coarse) {
  .cvp-ctl { width: 44px; height: 44px; }
  .cvp-bigplay { width: 52px; height: 52px; }
  .cvp-scrub { height: 44px; }
  .cvp-controls { gap: 4px; padding: 6px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .cvp-root *, .cvp-root *::before { transition: none !important; }
}

/* The play path is optically centered in its viewBox; no extra right offset. */
.cvp-bigplay svg { display: block; margin: 0; }
