.stereo-switch {
  position: absolute;
  left: 58.3%;
  top: 39.7%;
  width: 12.4%;
  height: 15.8%;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 38% 38% 27% 27%;
  padding: 0;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
}
.stereo-switch:focus-visible {
  outline: 3px dashed #fff8eb;
  box-shadow: 0 0 0 5px #732156;
}
.stereo-switch:hover { background: #fff6e810; }
.stereo-bay { display: contents; }
.stereo-bay[hidden], .stereo-bay [hidden], .stereo-bio-stop[hidden] { display: none; }

.stereo-bay .mix-picker {
  position: fixed;
  z-index: 4;
  left: var(--picker-x, 8px);
  top: var(--picker-y, 8px);
  width: min(284px, calc(100vw - 16px));
}
.stereo-bay .mix-case {
  display: flex;
  flex-direction: column;
  max-height: calc(var(--picker-limit, calc(100dvh - 16px)) - 14px);
}
.stereo-bay .mix-head, .stereo-bay .mix-record { flex: none; }
.stereo-bay .mix-head { min-height: 49px; padding-block: 6px 2px; }
.stereo-bay .mix-head h2 { font-size: 37px; }
.stereo-bay .mix-head::before { left: 13%; }
.stereo-bay .mix-head::after { right: 16%; bottom: 14px; }
.stereo-bay .mix-tracks {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.compact-list .mix-record { display: none; }
.compact-list .mix-head { min-height: 37px; padding-block: 4px; }
.compact-list .mix-head h2 { font-size: 28px; }

.audio-transport {
  flex: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 5px;
  align-items: center;
  padding: 7px;
  border-top: 1px solid #a65f83;
  background: linear-gradient(110deg, #e8b6d6, #ffdef0 35%, #dda9cb);
  box-shadow: inset 0 1px #fff1fa;
}
.audio-current {
  min-width: 0;
  padding: 5px 7px;
  overflow-wrap: anywhere;
  border: 1px solid #997e85;
  border-radius: 4px;
  color: #413348;
  background: linear-gradient(120deg, #d7c4d7, #f2e6ee);
  box-shadow: inset 1px 1px 2px #79466a35, 0 1px #fff0fa;
  font: bold 13px/1.18 "Trebuchet MS", Verdana, sans-serif;
}
.audio-transport button {
  min-width: 44px;
  min-height: 32px;
  padding: 4px 8px;
  border: 1px solid #985f80;
  border-radius: 9px;
  color: #592a4d;
  background: linear-gradient(#fff6fc, #f3cbe3 48%, #e5acd0 53%, #eabdda);
  box-shadow: inset 0 1px #fff8ff, 0 1px #b87da3;
  font: bold 13px/1.15 "Trebuchet MS", Verdana, sans-serif;
  cursor: pointer;
  touch-action: manipulation;
}
.audio-transport button:active {
  background: #e9b6d3;
  box-shadow: inset 0 1px 2px #9c628780;
}
.audio-volume {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 3px;
  color: #592a4d;
  font: bold 13px/1.25 "Trebuchet MS", Verdana, sans-serif;
}
.audio-volume input {
  flex: 1;
  min-width: 0;
  height: 25px;
  margin: 0;
  accent-color: #9a386e;
  cursor: pointer;
}
.audio-volume input:focus-visible {
  outline: 2px solid #542c78;
  outline-offset: 1px;
  border-radius: 5px;
}
.audio-error {
  flex: none;
  grid-column: 1 / -1;
  margin: 0;
  padding: 6px 9px;
  color: #7c1c46;
  background: #fff0e0;
  font: bold 13px/1.25 "Trebuchet MS", Verdana, sans-serif;
}
.stereo-bio-stop {
  padding: 4px;
  border: 0;
  color: #80265a;
  background: transparent;
  text-decoration: underline;
  font: bold .84rem "Trebuchet MS", sans-serif;
  cursor: pointer;
}
@media (pointer: coarse) {
  .audio-transport button { min-height: 44px; }
  .audio-volume input { height: 32px; }
}
