body {
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url("Soundsystem.png") center / auto min(92vh, 1150px) no-repeat;
  opacity: .9;
  filter: saturate(.9) brightness(.88) contrast(1.04);
  pointer-events: none;
  transition: opacity .25s ease;
}

body.background-hidden::before { opacity: 0; }

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at center, transparent 0, #0a0d0c52 92%);
  pointer-events: none;
}

.brand {
  width: 132px;
  height: 64px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.brand:focus-visible { outline: 2px solid var(--acid); outline-offset: 3px; }
.brand[aria-pressed="true"] { opacity: .65; }

.brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  border: 0;
  clip-path: none;
}

/* Durchlässige Geräteflächen lassen das Soundsystem sichtbar bleiben. */
.machine { background: #151c1b78; backdrop-filter: blur(1.5px); }
.topbar { background: #10161468; }
.siren-panel { background: #18201e5c; }
.fx-panel { background: #1b242150; }
.fx-block { background: #11171561; }
.fx-panel { grid-template-columns: 74px repeat(3, 1fr); }
.ladder-block { order: 1; }
.delay-block { order: 2; }
.reverb-block { order: 3; }
.delay-block .mini-controls { grid-template-columns: repeat(3, 1fr); }
.tap-row .smooth-control { min-width: 64px; }
.tap-row .smooth-control .label { align-self: center; margin-bottom: 5px; }
.tap-row .smooth-control .knob { --size: 48px; }
.tap-row .smooth-control output { margin-top: 5px; }
.filter-subhead { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); }
#trigger { touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
#panic.active { color: #fff; background: #d52f2f; border-color: #ff6262; box-shadow: 0 0 16px #d52f2f80; }
footer { background: #10161459; }
.segmented button,
.mini-toggle,
.toggle,
.cut-button,
#panic,
.tap-row select { background: #11171596; backdrop-filter: blur(2px); }
.topbar canvas { background: #0b100e8c; }

@media (max-width: 600px) {
  body::before { background-size: auto 88vh; opacity: .78; }
  .brand { width: 98px; height: 54px; }
}

@media (max-width: 800px) {
  .fx-panel { grid-template-columns: 45px 1fr; }
  .fx-panel .fx-block { grid-column: 2; }
}
