.project-case-content .em-project-video-frame {
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: 12px;
}
.project-case-content .em-project-video-frame > video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-case-content .em-video-audio {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--ui-glass-border, rgb(255 255 255 / 12%));
  border-radius: 999px;
  background: var(--ui-menu-background, rgb(12 12 12 / 76%));
  box-shadow: var(--ui-glass-shadow, inset 0 1px 0 rgb(255 255 255 / 7%));
  -webkit-backdrop-filter: var(--ui-glass-filter, blur(10px) saturate(1.28));
  backdrop-filter: var(--ui-glass-filter, blur(10px) saturate(1.28));
  color: var(--color-ink, #fff);
  isolation: isolate;
}
.project-case-content .em-video-audio__toggle {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.project-case-content .em-video-audio__toggle:focus-visible,
.project-case-content .em-video-audio__volume input:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -2px;
}
.project-case-content .em-video-audio__volume {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  width: 0;
  height: 36px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(6px);
  transition: width 280ms cubic-bezier(.16, 1, .3, 1), opacity 180ms ease, transform 280ms cubic-bezier(.16, 1, .3, 1), visibility 0s linear 280ms;
}
.project-case-content .em-video-audio[data-open="true"] .em-video-audio__volume {
  width: 104px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  transition-delay: 0s;
}
.project-case-content .em-video-audio__volume input {
  -webkit-appearance: none;
  appearance: none;
  flex: 0 0 88px;
  width: 88px;
  height: 30px;
  margin: 0 0 0 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.project-case-content .em-video-audio__volume input::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(to right, currentColor var(--em-volume, 100%), color-mix(in srgb, currentColor 24%, transparent) var(--em-volume, 100%));
}
.project-case-content .em-video-audio__volume input::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: color-mix(in srgb, currentColor 24%, transparent);
}
.project-case-content .em-video-audio__volume input::-moz-range-progress {
  height: 4px;
  border-radius: 999px;
  background: currentColor;
}
.project-case-content .em-video-audio__volume input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  margin-top: -4px;
  border: 0;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 1px 4px rgb(0 0 0 / 20%);
}
.project-case-content .em-video-audio__volume input::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 1px 4px rgb(0 0 0 / 20%);
}
.em-video-audio[data-muted="true"] .em-video-audio__waves,
.em-video-audio[data-muted="false"] .em-video-audio__muted { display: none; }
@media (prefers-reduced-motion: reduce) {
  .project-case-content .em-video-audio__volume { transition: none; }
}
