.xy-volume-panel {
  position: fixed;
  right: 0;
  bottom: 48px;
  z-index: 960;
  box-sizing: border-box;
  width: min(360px, 100vw);
  color: #f4f6f8;
  background: #202b36f7;
  border: 1px solid #5a6670;
  border-right: 0;
  border-bottom: 0;
  border-radius: 0;
  box-shadow: -4px -5px 24px #0004;
  backdrop-filter: blur(18px);
  font: 13px/1.5 "Segoe UI", "Microsoft YaHei UI", sans-serif;
  color-scheme: dark;
  text-align: left;
}
.xy-volume-header { padding: 18px 20px 0; }
.xy-volume-eyebrow { color: #bac6d0; font-size: 11px; }
.xy-volume-panel .xy-volume-header h2 {
  margin: 4px 0 5px;
  color: inherit;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
}
.xy-volume-panel .xy-volume-header p {
  margin: 0;
  color: #b8c4ce;
  font-size: 11px;
  line-height: 1.7;
}
.xy-volume-level {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 66px;
  padding: 12px 21px 0;
}
.xy-volume-status { color: #c4d0d9; font-size: 12px; }
.xy-volume-value {
  flex: none;
  min-width: 65px;
  color: #fff;
  font-size: 40px;
  font-weight: 300;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  text-align: right;
}
.xy-volume-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 5px 21px 18px 14px;
}
.xy-volume-panel .xy-volume-mute {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  padding: 7px;
  color: #f4f6f8;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 0;
  box-shadow: none;
}
.xy-volume-mute .icon { width: 25px; height: 25px; stroke-width: 1.4; }
.xy-volume-panel .xy-volume-mute:hover { background: #ffffff17; border-color: #ffffff30; }
.xy-volume-panel .xy-volume-range {
  --xy-volume-fill: 0%;
  --xy-volume-color: #64b7eb;
  appearance: none;
  -webkit-appearance: none;
  flex: 1 1 auto;
  width: 0;
  min-width: 0;
  height: 34px;
  margin: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
}
.xy-volume-range::-webkit-slider-runnable-track {
  height: 3px;
  background: linear-gradient(to right, var(--xy-volume-color) 0 var(--xy-volume-fill), #a4adb5 var(--xy-volume-fill) 100%);
  border: 0;
  border-radius: 0;
}
.xy-volume-range::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 6px;
  height: 23px;
  margin-top: -10px;
  background: var(--xy-volume-color);
  border: 0;
  border-radius: 2px;
  box-shadow: none;
}
.xy-volume-range::-moz-range-track { height: 3px; background: #a4adb5; border: 0; border-radius: 0; }
.xy-volume-range::-moz-range-progress { height: 3px; background: var(--xy-volume-color); border-radius: 0; }
.xy-volume-range::-moz-range-thumb { width: 6px; height: 23px; background: var(--xy-volume-color); border: 0; border-radius: 2px; }
.xy-volume-panel[data-silent="true"] .xy-volume-range { --xy-volume-color: #b1bac3; }
.xy-volume-range:hover::-webkit-slider-thumb,
.xy-volume-range:active::-webkit-slider-thumb { background: #fff; }
.xy-volume-range:hover::-moz-range-thumb,
.xy-volume-range:active::-moz-range-thumb { background: #fff; }
.xy-volume-panel button:focus-visible,
.xy-volume-panel .xy-volume-range:focus-visible { outline: 1px solid #fff; outline-offset: 2px; }
.xy-volume-footer { border-top: 1px solid #ffffff15; }
.xy-volume-panel .xy-volume-settings {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 43px;
  margin: 0;
  padding: 11px 20px;
  color: #9bd4f7;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font: inherit;
  text-align: left;
}
.xy-volume-settings .icon { width: 16px; height: 16px; }
.xy-volume-panel .xy-volume-settings:hover { color: #d0edff; background: #ffffff0d; }
.xy-volume-panel .xy-volume-settings:focus-visible { outline-offset: -3px; }
