.global-controls {
  position: fixed;
  z-index: 80;
  top: clamp(82px, 10vh, 98px);
  right: clamp(12px, 3vw, 34px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  pointer-events: auto;
}

.global-control-button {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(211, 179, 123, .28);
  border-radius: 50%;
  background: rgba(5, 5, 5, .54);
  color: #eadcc5;
  cursor: pointer;
  font: 650 11px/1 "Barlow", "Inter", system-ui, sans-serif;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .2);
  transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}

.global-control-button:hover,
.global-control-button:focus-visible,
.global-control-button[aria-pressed="true"] {
  border-color: rgba(229, 194, 127, .76);
  background: rgba(20, 17, 13, .86);
  color: #fff6e6;
  outline: none;
  transform: translateY(-1px);
}

.global-control-button[aria-pressed="true"] {
  box-shadow:
    0 14px 34px rgba(0, 0, 0, .28),
    0 0 22px rgba(211, 179, 123, .12);
}

.global-sound-glyph {
  position: relative;
  width: 17px;
  height: 15px;
}

.global-sound-glyph::before {
  position: absolute;
  left: 0;
  top: 4px;
  width: 6px;
  height: 7px;
  border: 1px solid currentColor;
  border-right: 0;
  content: "";
}

.global-sound-glyph::after {
  position: absolute;
  right: 0;
  top: 2px;
  width: 8px;
  height: 10px;
  border: 1px solid currentColor;
  border-left: 0;
  border-radius: 0 999px 999px 0;
  content: "";
}

.global-control-button[aria-pressed="false"] .global-sound-glyph::after {
  top: 7px;
  right: 1px;
  width: 12px;
  height: 1px;
  border: 0;
  border-top: 1px solid currentColor;
  border-radius: 0;
  transform: rotate(-38deg);
}

.global-controls .sr-only,
.global-controls .global-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 760px) {
  .global-controls {
    top: 74px;
    right: 12px;
  }

  .global-control-button {
    width: 38px;
    height: 38px;
  }
}
