:root {
  --bg: #09111d;
  --bg-soft: rgba(18, 29, 47, 0.88);
  --card: rgba(15, 23, 38, 0.88);
  --line: rgba(133, 163, 215, 0.18);
  --text: #eef5ff;
  --muted: #9fb4d2;
  --accent: #57d5ff;
  --accent-2: #b76cff;
  --good: #81ffcc;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  background:
    radial-gradient(circle at 15% 15%, rgba(87, 213, 255, 0.12), transparent 34%),
    radial-gradient(circle at 85% 20%, rgba(183, 108, 255, 0.13), transparent 26%),
    linear-gradient(180deg, #08111b 0%, #0d1522 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body { overflow: hidden; }

.app-shell {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
}

.panel {
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: 18px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-right: 1px solid var(--line);
  backdrop-filter: blur(12px);
  background: rgba(6, 12, 20, 0.76);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
  margin-bottom: 18px;
}

.eyebrow {
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-size: 0.75rem;
}

h1, h2 {
  margin: 0;
  font-weight: 700;
}

h1 { font-size: 1.85rem; }
h2 { font-size: 1rem; margin-bottom: 14px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.live-pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(129, 255, 204, 0.08);
  color: var(--good);
  border: 1px solid rgba(129, 255, 204, 0.2);
  font-size: 0.8rem;
}

.field-group + .field-group {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

select,
input[type="file"],
audio,
button {
  width: 100%;
}

select,
input[type="file"],
button {
  border-radius: 12px;
  border: 1px solid rgba(133, 163, 215, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 11px 12px;
  font: inherit;
}

input[type="file"] { padding: 8px; }
audio { margin-top: 10px; }

button {
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
button:hover {
  transform: translateY(-1px);
  border-color: rgba(87, 213, 255, 0.45);
}
button.primary {
  background: linear-gradient(135deg, rgba(87, 213, 255, 0.16), rgba(183, 108, 255, 0.18));
}

.inline-row {
  display: flex;
  gap: 10px;
}
.inline-row > * { flex: 1; }

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.metric-block {
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);
}
.metric-label {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 6px;
}
.metric-block strong {
  font-size: 1.35rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: right;
}

.bands {
  display: grid;
  gap: 10px;
}
.band-row {
  display: grid;
  grid-template-columns: 68px 1fr 46px;
  align-items: center;
  gap: 10px;
}
.band-label,
.band-value {
  font-size: 0.82rem;
  color: var(--muted);
}
.band-track {
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.band-fill {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(87, 213, 255, 0.78), rgba(183, 108, 255, 0.78));
  box-shadow: 0 0 18px rgba(87, 213, 255, 0.35);
}

.mapping-list {
  padding-left: 18px;
  margin: 0;
  color: var(--muted);
}
.mapping-list li + li { margin-top: 8px; }
.mapping-list strong { color: var(--text); }

.stage-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
}

.stage-tools {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 38;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
}

.stage-brand-link,
.stage-share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(173, 170, 163, 0.34);
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.02) 0, rgba(255,255,255,.02) 1px, rgba(0,0,0,.02) 1px, rgba(0,0,0,.02) 3px),
    linear-gradient(145deg, rgba(39,42,45,.86), rgba(14,16,18,.92));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 12px 28px rgba(0,0,0,.24);
}

.stage-brand-link {
  gap: 9px;
  padding: 0 14px 0 10px;
  color: #ece9e1;
  text-decoration: none;
  min-width: 0;
}

.stage-brand-logo {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.6));
}

.stage-brand-text {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.stage-share-button {
  width: 40px;
  padding: 0;
  color: #f6f2ea;
}

.stage-share-button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

#stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  touch-action: none;
  cursor: grab;
}
#stage.dragging {
  cursor: grabbing;
}
#stage canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}
.stage-overlay {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 68px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
}
.overlay-card {
  min-width: 160px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(6, 12, 20, 0.46);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.overlay-card span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 4px;
}
.overlay-card strong { font-size: 1rem; }

@media (max-width: 980px) {
  html, body {
    height: auto;
    min-height: 100%;
  }
  body { overflow: auto; }
  .app-shell {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 100dvh;
    overflow: visible;
  }
  .panel {
    height: auto;
    overflow: visible;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .stage-wrap {
    height: 70dvh;
    min-height: 520px;
  }
}

.range-control + .range-control {
  margin-top: 16px;
}

.config-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.config-column {
  min-width: 0;
}

.config-column h3 {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.compact-field-group {
  margin-top: 0;
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.color-field {
  display: grid;
  gap: 8px;
  padding: 10px;
  margin-bottom: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.color-field span {
  color: var(--muted);
  font-size: 0.78rem;
}

input[type="color"] {
  width: 100%;
  height: 40px;
  border: 1px solid rgba(133, 163, 215, 0.2);
  border-radius: 10px;
  padding: 3px;
  background: transparent;
  cursor: pointer;
}

.range-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.range-head label {
  margin: 0;
}

.range-head output {
  color: #f1c273;
  font-variant-numeric: tabular-nums;
  font-size: 0.84rem;
}

input[type="range"] {
  width: 100%;
  accent-color: #dba957;
}

.control-help {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.stage-overlay {
  justify-content: flex-start;
}

.stage-overlay .overlay-card:last-child {
  margin-left: auto;
}

.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.switch-row label {
  margin: 0 0 3px;
}

.switch-row .control-help {
  margin: 0;
}

input[type="checkbox"] {
  width: 44px;
  height: 22px;
  flex: 0 0 auto;
  accent-color: #dba957;
}

/* Synthwave display treatment: subtle scanlines and vignette over the WebGL stage. */
#stage::before,
#stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

#stage::before {
  background:
    radial-gradient(circle at 50% 46%, transparent 35%, rgba(1, 4, 12, 0.2) 72%, rgba(1, 3, 10, 0.58) 100%);
}

#stage::after {
  opacity: 0.14;
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.025) 0,
    rgba(255, 255, 255, 0.025) 1px,
    transparent 1px,
    transparent 4px
  );
  mix-blend-mode: screen;
}

#stage canvas {
  position: relative;
  z-index: 1;
}

.stage-overlay,
.interaction-hint {
  z-index: 5;
}

/* AudioM8 v8.4: full-screen stage with slide-out brushed-metal settings drawer. */
:root {
  --audio-orange: #e8751a;
  --audio-orange-hot: #ff9a2e;
  --metal-light: #d7d4ce;
  --metal-mid: #8d8b87;
  --metal-dark: #26282b;
  --drawer-width: 430px;
}

.app-shell {
  display: block;
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
}

.panel {
  position: fixed;
  z-index: 30;
  inset: 0 auto 0 0;
  width: min(var(--drawer-width), calc(100vw - 54px));
  height: 100dvh;
  padding: 18px;
  transform: translateX(calc(-100% - 18px));
  transition: transform 320ms cubic-bezier(.22,.8,.22,1), box-shadow 320ms ease;
  border-right: 1px solid rgba(255, 154, 46, 0.5);
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.015) 0, rgba(255,255,255,.015) 1px, rgba(0,0,0,.025) 1px, rgba(0,0,0,.025) 3px),
    linear-gradient(145deg, rgba(61,65,69,.97), rgba(18,20,23,.985) 42%, rgba(37,40,43,.98));
  box-shadow: none;
  backdrop-filter: blur(18px);
}

.settings-open .panel {
  transform: translateX(0);
  box-shadow: 20px 0 70px rgba(0, 0, 0, .5), 2px 0 18px rgba(232,117,26,.13);
}

.stage-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.settings-scrim {
  position: fixed;
  z-index: 25;
  inset: 0;
  background: rgba(0,0,0,.32);
  opacity: 0;
  visibility: hidden;
  transition: opacity 260ms ease, visibility 260ms ease;
}

.settings-open .settings-scrim {
  opacity: 1;
  visibility: visible;
}

.settings-toggle {
  position: fixed;
  z-index: 40;
  top: 16px;
  left: 16px;
  width: auto;
  min-width: 48px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid #6d6b67;
  border-radius: 7px;
  color: #ece9e1;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0, rgba(255,255,255,.05) 1px, rgba(0,0,0,.045) 1px, rgba(0,0,0,.045) 3px),
    linear-gradient(#4c4d4d, #1f2123 54%, #343638);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 5px 22px rgba(0,0,0,.42), 0 0 0 1px rgba(0,0,0,.5);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .7rem;
}

.settings-toggle::after {
  content: '';
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 3px;
  height: 2px;
  border-radius: 99px;
  background: var(--audio-orange);
  box-shadow: 0 0 8px rgba(255,140,35,.8);
}

.settings-toggle svg {
  width: 20px;
  height: 20px;
  fill: var(--metal-light);
  filter: drop-shadow(0 1px 0 #000);
}

.settings-open .settings-toggle {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-10px);
}

.panel-brand {
  position: relative;
  padding: 20px 15px 14px;
  margin: -2px -2px 18px;
  border: 1px solid rgba(190,186,177,.42);
  border-radius: 10px;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.065) 0, rgba(255,255,255,.065) 1px, rgba(0,0,0,.04) 1px, rgba(0,0,0,.04) 3px),
    linear-gradient(145deg, #6e6f70, #25272a 47%, #4c4d4d);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), inset 0 -1px 0 rgba(0,0,0,.7), 0 8px 28px rgba(0,0,0,.3);
  text-align: center;
}

.metal-wordmark {
  color: #d9d6cf;
  font-size: 2.35rem;
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: 1;
  text-shadow: 0 1px 0 #fff, 0 3px 0 #111, 0 5px 8px rgba(0,0,0,.62);
  background: linear-gradient(180deg, #f4f1e9 0%, #8e8c87 48%, #e1ded7 70%, #676662 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-plate {
  display: inline-block;
  margin-top: 15px;
  padding: 7px 22px;
  border: 3px double #777873;
  border-radius: 8px;
  color: #d7d4cc;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0, rgba(255,255,255,.035) 1px, rgba(0,0,0,.05) 1px, rgba(0,0,0,.05) 3px),
    linear-gradient(#4b4d4e, #17191b);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.18), 0 3px 8px rgba(0,0,0,.65);
  font: 500 1rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .18em;
  text-shadow: 0 1px 0 #000;
}

.brand-orange-line {
  height: 4px;
  margin: 18px 2px 11px;
  border-radius: 999px;
  border: 1px solid #63300c;
  background: linear-gradient(180deg, #fff2a2 0%, var(--audio-orange-hot) 42%, #db5d00 58%, #ffae36 100%);
  box-shadow: 0 0 10px rgba(255,122,15,.72), inset 0 1px 0 rgba(255,255,255,.75);
}

.brand-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #c6c2ba;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .18em;
}

.settings-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 6px;
  color: #ddd9d0;
  font-size: 1.35rem;
  line-height: 1;
  background: linear-gradient(#4f5050,#222426);
  border-color: #73716c;
}

.card {
  border-radius: 9px;
  border: 1px solid rgba(173,170,163,.22);
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.012) 0, rgba(255,255,255,.012) 1px, rgba(0,0,0,.02) 1px, rgba(0,0,0,.02) 3px),
    linear-gradient(145deg, rgba(39,42,45,.96), rgba(14,16,18,.97));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045), 0 12px 28px rgba(0,0,0,.22);
}

.card h2 {
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(232,117,26,.38);
  color: #d8d5ce;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .76rem;
}

label, .metric-label, .band-label, .band-value, .control-help, .section-head p, .mapping-list {
  color: #aaa8a2;
}

select, input[type="file"], button {
  border-radius: 6px;
  border-color: rgba(166,163,156,.32);
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.02) 0, rgba(255,255,255,.02) 1px, transparent 1px, transparent 3px),
    linear-gradient(#3c3f42,#1d1f21);
}

button.primary {
  color: #fff4e8;
  border-color: rgba(232,117,26,.72);
  background: linear-gradient(180deg, #984611, #5c2609);
  box-shadow: inset 0 1px 0 rgba(255,190,120,.28), 0 0 12px rgba(232,117,26,.12);
}

input[type="range"], input[type="checkbox"] {
  accent-color: var(--audio-orange);
}

.range-head output {
  color: #ff9a39;
}

.band-fill {
  background: linear-gradient(90deg, #8e3f0d, var(--audio-orange-hot));
  box-shadow: 0 0 14px rgba(232,117,26,.4);
}

.live-pill {
  border-radius: 5px;
  color: #ffb15e;
  border-color: rgba(232,117,26,.42);
  background: rgba(80,35,8,.48);
  letter-spacing: .06em;
}

.stage-overlay {
  transition: opacity 220ms ease, transform 220ms ease;
}

.app-shell:not(.settings-open) .stage-overlay {
  opacity: 0;
  transform: translateY(-10px);
  visibility: hidden;
}

@media (max-width: 980px) {
  html, body { height: 100%; overflow: hidden; }
  .app-shell { display: block; height: 100dvh; min-height: 0; overflow: hidden; }
  .panel { height: 100dvh; overflow-y: auto; border-bottom: 0; }
  .stage-wrap { height: 100%; min-height: 0; }
  .config-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  :root { --drawer-width: 390px; }
  .settings-toggle span { display: none; }
  .settings-toggle { padding-inline: 11px; }
  .stage-tools {
    top: 12px;
    right: 12px;
    gap: 8px;
  }
  .stage-brand-link {
    padding-inline: 10px;
  }
  .stage-brand-text {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }
  .panel { width: calc(100vw - 42px); }
  .metal-wordmark { font-size: 2rem; }
  .color-grid { grid-template-columns: 1fr; }
}

/* AudioM8 v8.5: overlay clearance and stage playlist transport. */
.settings-open .stage-overlay {
  left: calc(var(--drawer-width) + 28px);
}

.settings-open .stage-tools {
  left: calc(var(--drawer-width) + 18px);
  right: 18px;
}

.stage-overlay {
  flex-wrap: wrap;
}

.stage-transport {
  position: absolute;
  z-index: 18;
  left: 50%;
  top: 50%;
  display: grid;
  grid-template-columns: auto auto auto auto;
  align-items: center;
  gap: 10px;
  transform: translate(-50%, -50%);
  transition:
    left 420ms cubic-bezier(.22,.8,.22,1),
    right 420ms cubic-bezier(.22,.8,.22,1),
    top 420ms cubic-bezier(.22,.8,.22,1),
    bottom 420ms cubic-bezier(.22,.8,.22,1),
    transform 420ms cubic-bezier(.22,.8,.22,1),
    padding 320ms ease,
    background 320ms ease,
    border-color 320ms ease;
  pointer-events: auto;
}

.stage-transport:not(.is-docked) {
  grid-template-columns: 104px;
  width: 104px;
  height: 104px;
}

.stage-transport:not(.is-docked) .transport-previous,
.stage-transport:not(.is-docked) .transport-next,
.stage-transport:not(.is-docked) .transport-meta {
  display: none;
}

.stage-transport.is-docked {
  grid-template-columns: 44px 50px 44px 240px;
  width: 408px;
}

.stage-transport.is-docked {
  left: auto;
  right: 18px;
  top: auto;
  bottom: 18px;
  padding: 8px;
  transform: none;
  border: 1px solid rgba(232,117,26,.42);
  border-radius: 12px;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.02) 0, rgba(255,255,255,.02) 1px, transparent 1px, transparent 3px),
    linear-gradient(145deg, rgba(51,54,57,.92), rgba(17,19,21,.95));
  box-shadow: 0 12px 38px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.07);
  backdrop-filter: blur(14px);
}

.transport-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0;
  border-radius: 50%;
  color: #eee9df;
  background: linear-gradient(#4e5052, #202224);
  border: 1px solid rgba(185,181,172,.44);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 4px 12px rgba(0,0,0,.35);
}

.transport-button svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.transport-play {
  width: 104px;
  height: 104px;
  min-width: 104px;
  color: #fff5e7;
  border: 2px solid rgba(255,164,63,.82);
  background:
    radial-gradient(circle at 36% 30%, rgba(255,190,105,.28), transparent 36%),
    linear-gradient(145deg, #b65313, #5d2408 72%);
  box-shadow:
    inset 0 1px 0 rgba(255,224,178,.42),
    0 0 0 7px rgba(232,117,26,.10),
    0 0 42px rgba(232,117,26,.32),
    0 18px 45px rgba(0,0,0,.45);
}

.stage-transport.is-docked .transport-play {
  width: 50px;
  height: 50px;
  min-width: 50px;
}

.transport-previous,
.transport-next,
.transport-meta {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(.8);
  transition: opacity 220ms ease 180ms, transform 220ms ease 180ms, visibility 220ms ease 180ms;
}

.stage-transport.is-docked .transport-previous,
.stage-transport.is-docked .transport-next,
.stage-transport.is-docked .transport-meta {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
}

.transport-meta {
  width: 240px;
  min-width: 240px;
  max-width: 240px;
  padding: 0 8px 0 3px;
}

.transport-meta span,
.transport-meta strong {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.transport-meta span {
  margin-bottom: 3px;
  color: #adaba5;
  font-size: .66rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.transport-meta strong {
  color: #f1ede5;
  font-size: .84rem;
}

.pause-icon { display: none; }
.stage-transport.is-playing .play-icon { display: none; }
.stage-transport.is-playing .pause-icon { display: block; }

.transport-button:disabled {
  opacity: .35;
  cursor: default;
  transform: none;
}

@media (max-width: 1180px) {
  .settings-open .stage-overlay {
    left: calc(var(--drawer-width) + 18px);
  }

  .settings-open .stage-overlay .overlay-card:nth-child(2),
  .settings-open .stage-overlay .overlay-card:nth-child(3) {
    display: none;
  }
}

@media (max-width: 980px) {
  .settings-open .stage-overlay {
    display: none;
  }

  .stage-transport.is-docked {
    right: 10px;
    bottom: 10px;
    grid-template-columns: 40px 46px 40px;
    width: 146px;
  }

  .transport-meta {
    display: none;
  }
}

@media (max-width: 560px) {
  .stage-transport:not(.is-docked) {
    left: 50%;
    top: 48%;
    grid-template-columns: 88px;
    width: 88px;
    height: 88px;
    padding: 0;
    justify-items: center;
    align-items: center;
  }

  .transport-play {
    width: 88px;
    height: 88px;
    min-width: 88px;
    margin: 0;
  }

  .transport-button {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  .stage-transport.is-docked .transport-play {
    width: 46px;
    height: 46px;
    min-width: 46px;
  }
}
