:root {
  --mw-bg: #080912;
  --mw-panel: #111420;
  --mw-panel-2: #171b2b;
  --mw-text: #f7f7fb;
  --mw-muted: #a6adbb;
  --mw-accent: #ffcc33;
  --mw-accent-2: #7c5cff;
  --mw-border: rgba(255, 255, 255, 0.1);
}

html,
body {
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at top left, rgba(124, 92, 255, 0.22), transparent 28rem),
    radial-gradient(circle at top right, rgba(255, 204, 51, 0.18), transparent 22rem),
    var(--mw-bg);
  color: var(--mw-text);
}

a {
  color: var(--mw-accent);
}

.app-navbar {
  background: rgba(8, 9, 18, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--mw-border);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  margin-right: 0.45rem;
  border-radius: 0.7rem;
  background: linear-gradient(135deg, var(--mw-accent), #ff8a00);
  color: #121212;
  font-size: 0.82rem;
  letter-spacing: -0.04em;
}

.nav-user-pill,
.dashboard-role-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mw-border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--mw-text);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
}

.nav-user-pill {
  min-height: 2rem;
  padding: 0.25rem 0.75rem;
}

.dashboard-role-pill {
  padding: 0.65rem 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mw-accent);
}

.hero-section {
  border-bottom: 1px solid var(--mw-border);
}

.eyebrow {
  color: var(--mw-accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 800;
}

.status-card,
.feature-card,
.page-panel,
.auth-card,
.dashboard-stat-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.035));
  border: 1px solid var(--mw-border);
  border-radius: 1.25rem;
}

.status-card,
.page-panel,
.auth-card,
.dashboard-stat-card {
  padding: 1.5rem;
}

.feature-card {
  padding: 1.35rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.65rem;
}

.feature-card p,
.dashboard-stat-card small {
  color: var(--mw-muted);
  margin-bottom: 0;
}

.status-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--mw-border);
}

.status-list li:first-child {
  border-top: 0;
}

.status-list span,
.text-secondary,
.form-text {
  color: var(--mw-muted) !important;
}

.btn-primary {
  --bs-btn-bg: var(--mw-accent);
  --bs-btn-border-color: var(--mw-accent);
  --bs-btn-color: #111;
  --bs-btn-hover-bg: #ffd966;
  --bs-btn-hover-border-color: #ffd966;
  --bs-btn-hover-color: #111;
  font-weight: 800;
}

.form-label {
  color: var(--mw-text);
  font-weight: 700;
}

.form-control {
  background: rgba(0, 0, 0, 0.26);
  border-color: var(--mw-border);
  color: var(--mw-text);
}

.form-control:focus {
  background: rgba(0, 0, 0, 0.35);
  border-color: var(--mw-accent);
  color: var(--mw-text);
  box-shadow: 0 0 0 0.25rem rgba(255, 204, 51, 0.18);
}

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

.placeholder-grid > div {
  min-height: 8rem;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.035);
  color: var(--mw-muted);
  font-weight: 700;
}

.dashboard-stat-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dashboard-stat-card span {
  color: var(--mw-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  font-weight: 800;
}

.dashboard-stat-card strong {
  font-size: 1.65rem;
  line-height: 1.1;
}

.error-box {
  max-height: 26rem;
  overflow: auto;
  padding: 1rem;
  border-radius: 0.75rem;
  background: #07080d;
  color: #ffb4b4;
}

.app-footer {
  border-top: 1px solid var(--mw-border);
  background: rgba(8, 9, 18, 0.45);
}

@media (max-width: 768px) {
  .placeholder-grid {
    grid-template-columns: 1fr;
  }
}

/* MVP3 Sample Library */
.app-input,
.app-input:focus {
  background: rgba(255, 255, 255, 0.055);
  border-color: var(--mw-border);
  color: var(--mw-text);
}

.app-input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.app-input option {
  color: #111;
}

.sample-card,
.editor-sample-item,
.admin-tile {
  display: block;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--mw-border);
  border-radius: 1rem;
  padding: 1rem;
  color: var(--mw-text);
  text-decoration: none;
}

.sample-card audio,
.admin-audio-preview {
  max-width: 100%;
}

.sample-browser-list {
  display: grid;
  gap: 0.85rem;
  max-height: 68vh;
  overflow: auto;
  padding-right: 0.25rem;
}

.editor-sample-item {
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.editor-sample-item:hover,
.admin-tile:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 204, 51, 0.55);
}

.sample-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.sample-tags span {
  display: inline-flex;
  border: 1px solid var(--mw-border);
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  color: var(--mw-muted);
  font-size: 0.78rem;
}

.license-box {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--mw-border);
  border-radius: 0.8rem;
  padding: 0.65rem;
  color: var(--mw-muted);
}

.timeline-placeholder {
  display: grid;
  gap: 0.7rem;
}

.timeline-lane {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 3.4rem;
  padding: 0.8rem 1rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 0.9rem;
  color: var(--mw-muted);
}

.timeline-lane span {
  color: var(--mw-text);
  font-weight: 700;
}

.admin-tile.disabled {
  opacity: 0.58;
  pointer-events: none;
}

.admin-tile strong {
  display: block;
  margin-bottom: 0.3rem;
}

.admin-tile span {
  display: block;
  color: var(--mw-muted);
}

.app-table {
  --bs-table-bg: transparent;
  --bs-table-border-color: var(--mw-border);
}

.dashboard-number {
  display: block;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
  margin-top: 0.35rem;
}
/* /MVP3 Sample Library */

/* MVP4 AudioEngine */
.audio-engine-panel {
  position: relative;
  overflow: hidden;
}

.audio-engine-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at top right, rgba(255, 204, 51, 0.12), transparent 22rem);
}

.audio-engine-panel > * {
  position: relative;
}

.audio-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 1.85rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 204, 51, 0.35);
  background: rgba(255, 204, 51, 0.1);
  color: var(--mw-accent);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.form-range::-webkit-slider-thumb {
  background: var(--mw-accent);
}

.form-range::-moz-range-thumb {
  background: var(--mw-accent);
  border-color: var(--mw-accent);
}

.audio-api-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.audio-api-grid > div {
  min-height: 6.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.18);
}

.audio-api-grid strong {
  color: var(--mw-text);
}

.audio-api-grid span {
  color: var(--mw-muted);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .audio-api-grid {
    grid-template-columns: 1fr;
  }
}

/* MVP5_TIMELINE_EDITOR_START */
.editor-page-shell {
  max-width: 100%;
}

.editor-workspace {
  max-width: 1800px;
}

.editor-sidebar-panel {
  max-height: calc(100vh - 220px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.editor-sidebar-panel .sample-browser-list {
  overflow: auto;
  padding-right: 0.25rem;
}

.editor-sample-item {
  cursor: grab;
  transition: border-color 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
}

.editor-sample-item:active,
.editor-sample-item.is-dragging {
  cursor: grabbing;
  opacity: 0.68;
  transform: scale(0.985);
}

.drag-hint {
  color: rgba(255, 255, 255, 0.45);
}

.timeline-editor-panel {
  min-height: 720px;
}

.timeline-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.75rem;
  align-items: end;
}

.toolbar-field {
  min-width: 110px;
  margin: 0;
}

.toolbar-field span {
  display: block;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.76rem;
  margin-bottom: 0.25rem;
}

.toolbar-field input,
.toolbar-field select {
  min-height: 38px;
}

.timeline-statusbar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
}

.timeline-layout {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.timeline-scroller {
  overflow: auto;
  min-height: 455px;
  max-height: 58vh;
}

.timeline-ruler-wrap {
  display: flex;
  min-width: max-content;
  position: sticky;
  top: 0;
  z-index: 6;
  background: rgba(11, 15, 26, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.timeline-label-spacer {
  position: sticky;
  left: 0;
  z-index: 7;
  width: 92px;
  flex: 0 0 92px;
  display: flex;
  align-items: center;
  padding-left: 1rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.8rem;
  background: rgba(11, 15, 26, 0.98);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.mw-timeline-ruler {
  position: relative;
  height: 42px;
  flex: 0 0 auto;
}

.mw-ruler-mark {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.mw-ruler-mark-bar {
  background: rgba(255, 255, 255, 0.22);
}

.mw-ruler-mark span {
  position: absolute;
  top: 0.45rem;
  left: 0.4rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.7);
}

.mw-timeline-lanes {
  min-width: max-content;
}

.mw-timeline-lane {
  display: flex;
  min-width: max-content;
  min-height: 82px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mw-timeline-lane:last-child {
  border-bottom: 0;
}

.mw-lane-label {
  position: sticky;
  left: 0;
  z-index: 5;
  width: 92px;
  flex: 0 0 92px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.75rem 0.85rem;
  background: rgba(11, 15, 26, 0.96);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.mw-lane-label strong {
  font-size: 0.9rem;
}

.mw-lane-label span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
}

.mw-lane-grid {
  position: relative;
  flex: 0 0 auto;
  min-height: 82px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.13) 1px, transparent 1px),
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.012));
  background-size: var(--mw-bar-width) 100%, var(--mw-px-per-beat) 100%, 100% 100%;
  transition: background-color 0.14s ease;
}

.mw-lane-grid.is-dragover {
  background-color: rgba(13, 202, 240, 0.08);
  outline: 1px solid rgba(13, 202, 240, 0.35);
  outline-offset: -1px;
}

.mw-timeline-clip {
  position: absolute;
  top: 12px;
  height: 58px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.27);
  padding: 0.55rem 2rem 0.5rem 0.65rem;
  overflow: hidden;
  color: #fff;
  cursor: grab;
  user-select: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  transition: transform 0.12s ease, box-shadow 0.12s ease, outline 0.12s ease;
}

.mw-timeline-clip:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32);
}

.mw-timeline-clip.is-dragging {
  opacity: 0.6;
}

.mw-timeline-clip.is-selected {
  outline: 2px solid rgba(255, 255, 255, 0.88);
  outline-offset: 2px;
}

.mw-clip-title {
  font-size: 0.82rem;
  line-height: 1.1;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mw-clip-meta {
  margin-top: 0.25rem;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mw-clip-delete {
  position: absolute;
  right: 0.35rem;
  top: 0.35rem;
  width: 1.35rem;
  height: 1.35rem;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mw-clip-delete:hover {
  background: rgba(0, 0, 0, 0.52);
}

.clip-cyan { background: linear-gradient(135deg, #057c97, #0dcaf0); }
.clip-violet { background: linear-gradient(135deg, #5b2aa8, #9c6dff); }
.clip-lime { background: linear-gradient(135deg, #2d7a34, #8bd450); }
.clip-orange { background: linear-gradient(135deg, #ad5a05, #ffb347); }
.clip-pink { background: linear-gradient(135deg, #a82068, #ff66b3); }
.clip-blue { background: linear-gradient(135deg, #174ea6, #6ea8fe); }

.timeline-help-box,
.clip-inspector {
  min-height: 94px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  padding: 1rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.mw-inspector-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.mw-inspector-grid div {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.55rem 0.65rem;
  background: rgba(0, 0, 0, 0.18);
}

.mw-inspector-grid span {
  display: block;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.2rem;
}

.mw-inspector-grid strong {
  display: block;
  font-size: 0.82rem;
}

@media (max-width: 991.98px) {
  .editor-sidebar-panel {
    max-height: none;
  }

  .timeline-toolbar {
    align-items: stretch;
  }

  .toolbar-field {
    flex: 1 1 140px;
  }

  .timeline-scroller {
    max-height: 65vh;
  }
}
/* MVP5_TIMELINE_EDITOR_END */

/* MVP6_TRANSPORT_SCHEDULING_START */
.transport-panel {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(25, 135, 84, 0.28);
  background:
    radial-gradient(circle at top left, rgba(25, 135, 84, 0.16), transparent 34%),
    rgba(255, 255, 255, 0.045);
  border-radius: 18px;
  padding: 0.9rem;
}

.transport-main-controls,
.transport-loop-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.transport-position-box {
  min-width: 220px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}

.transport-progress {
  width: 100%;
  height: 7px;
  margin-top: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  overflow: hidden;
}

.transport-progress > div {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(25, 135, 84, 0.7), rgba(13, 202, 240, 0.82));
  transition: width 0.08s linear;
}

.transport-check {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 38px;
  margin: 0;
  padding: 0.35rem 0.65rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.82);
}

.transport-loop-field {
  min-width: 88px;
}

.transport-loop-field input {
  max-width: 96px;
}

.transport-status {
  flex: 1 1 240px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.84rem;
}

.mw-transport-playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  z-index: 4;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 1px rgba(13, 202, 240, 0.45), 0 0 18px rgba(13, 202, 240, 0.55);
}

.mw-transport-playhead::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(13, 202, 240, 0.95);
  box-shadow: 0 0 18px rgba(13, 202, 240, 0.8);
}

.timeline-editor-panel.is-transport-playing .timeline-statusbar {
  border-color: rgba(25, 135, 84, 0.42);
}

@media (max-width: 991.98px) {
  .transport-panel {
    align-items: stretch;
  }

  .transport-main-controls,
  .transport-loop-controls {
    width: 100%;
  }

  .transport-position-box {
    flex: 1 1 100%;
  }
}
/* MVP6_TRANSPORT_SCHEDULING_END */

/* === MVP 6.5 Bulk Sample Upload === */
.bulk-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.bulk-upload-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.04);
}

.bulk-upload-card .form-label {
  font-weight: 700;
}

@media (max-width: 768px) {
  .bulk-upload-grid {
    grid-template-columns: 1fr;
  }
}

/* MVP7_CLIP_EDITING_START */
.mw-timeline-clip.is-muted {
  opacity: 0.45;
  filter: grayscale(0.6);
}

.mw-timeline-clip.is-muted::after {
  content: "MUTED";
  position: absolute;
  inset: auto 10px 8px auto;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.86);
}

.mw-clip-resize-handle {
  position: absolute;
  top: 7px;
  right: 3px;
  bottom: 7px;
  width: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.34);
  cursor: ew-resize;
  touch-action: none;
}

.mw-clip-resize-handle:hover {
  background: rgba(255, 255, 255, 0.55);
}

body.is-resizing-clip,
body.is-resizing-clip * {
  cursor: ew-resize !important;
  user-select: none !important;
}

.mw-clip-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.25rem;
  padding-right: 1.25rem;
}

.mw-clip-mini-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.22);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.62rem;
  line-height: 1;
  padding: 0.22rem 0.42rem;
  white-space: nowrap;
}

.clip-inspector-controls {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 0.75rem;
}

.clip-inspector-control-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.clip-inspector-control-grid .form-label {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0;
}

.clip-toggle-btn input {
  vertical-align: middle;
}

.mw-clip-context-menu {
  position: fixed;
  z-index: 2000;
  min-width: 180px;
  padding: 0.4rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 13, 22, 0.98);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(12px);
}

.mw-clip-context-menu[hidden] {
  display: none;
}

.mw-clip-context-menu button {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 0.6rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  text-align: left;
  padding: 0.5rem 0.65rem;
  font-size: 0.9rem;
}

.mw-clip-context-menu button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.mw-clip-context-menu button.danger {
  color: #ffb3b3;
}

@media (max-width: 767.98px) {
  .clip-inspector-control-grid {
    grid-template-columns: 1fr;
  }
}
/* MVP7_CLIP_EDITING_END */

/* MVP8_TRACK_MIXER_START */
.track-mixer-panel {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.1rem;
  background: rgba(6, 10, 20, 0.46);
  padding: 1rem;
}

.mixer-track-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 0.85rem;
}

.mixer-track {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.045);
  padding: 0.85rem;
  transition: border-color 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}

.mixer-track.is-muted {
  opacity: 0.68;
  border-color: rgba(255, 193, 7, 0.34);
}

.mixer-track.is-solo {
  border-color: rgba(13, 202, 240, 0.55);
  background: rgba(13, 202, 240, 0.08);
}

.mixer-track-head {
  display: flex;
  gap: 0.6rem;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 0.75rem;
}

.mixer-track-name-label {
  display: grid;
  gap: 0.25rem;
  flex: 1 1 auto;
  min-width: 0;
}

.mixer-track-name-label span,
.mixer-control-row span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.76rem;
}

.mixer-track-name {
  min-width: 0;
  padding: 0.35rem 0.5rem;
}

.mixer-track-buttons {
  display: flex;
  gap: 0.35rem;
  flex: 0 0 auto;
}

.mixer-control-row {
  display: grid;
  gap: 0.2rem;
  margin-bottom: 0.58rem;
}

.mixer-control-row span {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mixer-control-row strong {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
}

.mixer-meter-wrap {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.mixer-meter {
  position: relative;
  flex: 1 1 auto;
  height: 0.55rem;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.mixer-meter-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(60, 255, 184, 0.74), rgba(255, 214, 64, 0.9), rgba(255, 81, 81, 0.9));
  transition: width 0.08s linear;
}

.mixer-meter-label {
  min-width: 4.2rem;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.7rem;
  text-align: right;
}

.mw-lane-label.is-track-muted {
  opacity: 0.62;
}

.mw-lane-label.is-track-solo {
  box-shadow: inset 3px 0 0 rgba(13, 202, 240, 0.8);
}

@media (max-width: 1399.98px) {
  .mixer-track-grid {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }
}

@media (max-width: 991.98px) {
  .mixer-track-grid {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }
}

@media (max-width: 575.98px) {
  .mixer-track-grid {
    grid-template-columns: 1fr;
  }

  .mixer-track-head {
    flex-direction: column;
    align-items: stretch;
  }

  .mixer-track-buttons .btn {
    flex: 1 1 0;
  }
}
/* MVP8_TRACK_MIXER_END */

/* MVP 9: Lokales Speichern/Laden */
.project-state-panel {
  border-color: rgba(75, 209, 255, 0.22);
  background:
    radial-gradient(circle at top left, rgba(75, 209, 255, 0.08), transparent 30%),
    rgba(10, 15, 26, 0.94);
}

.project-autosave-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(236, 244, 255, 0.84);
  font-size: 0.88rem;
  user-select: none;
}

.project-autosave-toggle input {
  accent-color: #4bd1ff;
}

.project-state-status {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: rgba(236, 244, 255, 0.72);
}

.project-state-status[data-kind="ok"] {
  color: #7dffbf;
}

.project-state-status[data-kind="warn"] {
  color: #ffd166;
}

.project-state-status[data-kind="danger"] {
  color: #ff8a8a;
}

.project-state-status[data-kind="muted"] {
  color: rgba(236, 244, 255, 0.62);
}


/* MVP 11: Browser Recording */
.recording-panel {
  border-color: rgba(255, 70, 70, 0.24);
}

.recording-panel.is-recording {
  box-shadow: 0 0 0 1px rgba(255, 70, 70, 0.22), 0 0 28px rgba(255, 30, 30, 0.08);
}

.recording-meta-line {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.8rem;
}

.recording-timer {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.94);
  text-align: center;
  padding: 0.55rem 0.8rem;
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.recording-status,
.project-state-status {
  font-size: 0.86rem;
  font-weight: 700;
}

.recording-status[data-kind="ok"] { color: #4dffb0; }
.recording-status[data-kind="warn"] { color: #ffd666; }
.recording-status[data-kind="danger"] { color: #ff6b6b; }
.recording-status[data-kind="muted"] { color: rgba(255, 255, 255, 0.62); }

.recording-auto-start {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  user-select: none;
}

.recording-auto-start input {
  accent-color: #ff4d4d;
}

/* === MVP 12: Export-/Lizenz-Manifest === */
.license-manifest-panel {
  border-color: rgba(255, 209, 102, 0.28);
  background:
    radial-gradient(circle at top left, rgba(255, 209, 102, 0.08), transparent 32%),
    rgba(10, 15, 26, 0.94);
}

.license-manifest-summary {
  font-size: 0.92rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(236, 244, 255, 0.72);
}

.license-manifest-summary[data-kind="ok"] { color: #7dffbf; }
.license-manifest-summary[data-kind="warn"] { color: #ffd166; }
.license-manifest-summary[data-kind="danger"] { color: #ff8a8a; }
.license-manifest-summary[data-kind="muted"] { color: rgba(236, 244, 255, 0.66); }

.license-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.license-status-grid > div,
.license-contribution-box {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.04);
}

.license-status-grid strong,
.license-status-grid span {
  display: block;
}

.license-status-grid span {
  color: rgba(236, 244, 255, 0.72);
  margin-top: 0.25rem;
}

@media (max-width: 768px) {
  .license-status-grid {
    grid-template-columns: 1fr;
  }
}

/* MVP 13 · Sample Decks */
.deck-manager-panel {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1rem;
}

.deck-status {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: .75rem;
  padding: .55rem .7rem;
  background: rgba(255,255,255,.04);
  color: var(--bs-secondary-color, #adb5bd);
  font-size: .85rem;
}

.deck-status.is-ok { border-color: rgba(25,135,84,.55); color: #75d69c; }
.deck-status.is-error { border-color: rgba(255,193,7,.55); color: #ffd36a; }
.deck-status.is-info { border-color: rgba(13,202,240,.35); color: #8fe8f5; }

.deck-editor-slots,
.deck-slot-list {
  display: grid;
  gap: .65rem;
}

.deck-editor-slot,
.deck-slot-row {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: .9rem;
  padding: .75rem;
  background: rgba(255,255,255,.035);
}

.deck-editor-slot.is-filled,
.deck-slot-row.is-filled {
  background: linear-gradient(135deg, rgba(13,110,253,.16), rgba(32,201,151,.08));
  border-color: rgba(13,110,253,.35);
}

.deck-editor-slot-index,
.deck-slot-number {
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  border-radius: .65rem;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-weight: 700;
}

.deck-editor-slot-body {
  min-width: 0;
}

.deck-slot-mini-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}

.deck-slot-mini {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: .45rem;
  display: inline-grid;
  place-items: center;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.65);
  font-size: .75rem;
  font-weight: 700;
}

.deck-slot-mini.is-filled {
  background: rgba(13,110,253,.85);
  color: #fff;
}

.deck-card {
  box-shadow: 0 1rem 2.5rem rgba(0,0,0,.15);
}

/* MVP 14 · Sample Builder */
.sample-builder-page .app-panel,
.sample-builder-page .hero-card {
  background: rgba(17, 23, 34, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.sample-builder-page .app-panel {
  padding: 1.25rem;
}

.sample-builder-waveform {
  width: 100%;
  min-height: 220px;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #10151f;
  cursor: crosshair;
  touch-action: none;
}

.sample-builder-info {
  min-height: 72px;
  padding: 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sample-builder-page .form-control,
.sample-builder-page .form-select {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f8f9fa;
}

.sample-builder-page .form-control:focus,
.sample-builder-page .form-select:focus {
  background-color: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* MVP15_SOLO_GIG_START */
.solo-gig-page-shell .editor-sidebar-panel {
  min-height: auto;
}

.solo-gig-control-panel {
  border-color: rgba(25, 135, 84, 0.36);
  box-shadow: 0 0 0 1px rgba(25, 135, 84, 0.06), 0 18px 60px rgba(0, 0, 0, 0.22);
}

.solo-gig-big-timer {
  font-variant-numeric: tabular-nums;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 0 30px rgba(25, 135, 84, 0.28);
}

.solo-gig-switch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1rem;
}

.solo-gig-check {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.solo-gig-check input {
  accent-color: #35d07f;
}

.solo-gig-status {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.85rem;
  padding: 0.75rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.76);
  min-height: 3.2rem;
}

.solo-gig-status[data-kind="ok"] {
  border-color: rgba(25, 135, 84, 0.45);
  background: rgba(25, 135, 84, 0.12);
  color: #bdf7d5;
}

.solo-gig-status[data-kind="info"] {
  border-color: rgba(13, 202, 240, 0.42);
  background: rgba(13, 202, 240, 0.1);
  color: #bfeef8;
}

.solo-gig-status[data-kind="warn"] {
  border-color: rgba(255, 193, 7, 0.42);
  background: rgba(255, 193, 7, 0.1);
  color: #ffe29d;
}

.solo-gig-status[data-kind="danger"] {
  border-color: rgba(220, 53, 69, 0.45);
  background: rgba(220, 53, 69, 0.12);
  color: #ffc4ca;
}

@media (max-width: 991.98px) {
  .solo-gig-switch-grid {
    grid-template-columns: 1fr;
  }
}
/* MVP15_SOLO_GIG_END */


/* MVP 16 · Socket.IO Rooms */
.compact-hero {
  padding: 3.5rem 0 2.5rem;
}
.debug-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  color: #d6f5ff;
  font-size: 0.85rem;
  min-height: 140px;
  max-height: 260px;
  overflow: auto;
  padding: 1rem;
}
.presence-list {
  list-style: none;
  padding-left: 0;
}
.presence-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.45rem 0;
}
.event-log {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  max-height: 360px;
  min-height: 160px;
  overflow: auto;
  padding: 0.75rem;
}
.event-log-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.85rem;
  padding: 0.4rem 0;
}

/* MVP 18 · 1vs1 Time Battle */
.battle-timer-box {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.18);
  text-align: center;
}
.battle-phase {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  color: rgba(255,255,255,.65);
}
.battle-main-timer {
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  line-height: 1;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.battle-meta-list dd { margin-bottom: .55rem; }
.battle-player-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255,255,255,.04);
  border-radius: 1rem;
  padding: 1rem;
  min-height: 112px;
}
.battle-player-card.is-ready { border-color: rgba(25, 135, 84, 0.8); }
.battle-player-card.is-me { box-shadow: 0 0 0 .2rem rgba(13, 110, 253, .18); }
.battle-mini-transport {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.battle-live-grid {
  display: grid;
  gap: .55rem;
}
.battle-live-track {
  display: grid;
  grid-template-columns: 86px 1fr;
  align-items: center;
  gap: .75rem;
  font-size: .85rem;
  color: rgba(255,255,255,.72);
}
.battle-live-track-lane {
  position: relative;
  height: 34px;
  border-radius: .7rem;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.07), rgba(255,255,255,.07) 1px, rgba(0,0,0,.12) 1px, rgba(0,0,0,.12) 48px);
  overflow: hidden;
}
.battle-live-clip {
  position: absolute;
  top: 6px;
  height: 22px;
  min-width: 72px;
  max-width: 140px;
  padding: .1rem .5rem;
  border-radius: 999px;
  background: rgba(13, 110, 253, .75);
  color: #fff;
  font-size: .72rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.battle-live-clip.is-drop { background: rgba(220, 53, 69, .85); }
.battle-replay-log {
  max-height: 520px;
  overflow: auto;
  display: grid;
  gap: .5rem;
  padding-right: .25rem;
}
.battle-replay-item {
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: .75rem;
  padding: .55rem .7rem;
  background: rgba(255,255,255,.04);
}
.battle-replay-item strong,
.battle-replay-item span { display: block; }
.battle-replay-item span { color: rgba(255,255,255,.62); font-size: .78rem; }

/* MVP 19 · Zuschauer & Voting */
.battle-voting-panel .btn[disabled] { opacity: .55; }
.battle-vote-meter {
  height: .55rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
}
.battle-vote-meter > div {
  height: 100%;
  min-width: 2%;
  transition: width .2s ease;
  background: rgba(13, 110, 253, .85);
}
#battlePlayerB .battle-vote-meter > div { background: rgba(220, 53, 69, .85); }
.battle-chat-log {
  min-height: 220px;
  max-height: 360px;
  overflow: auto;
  display: grid;
  gap: .45rem;
  padding-right: .25rem;
}
.battle-chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .5rem;
}
.battle-chat-item {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: .75rem;
  padding: .5rem .65rem;
  background: rgba(255,255,255,.04);
}
.battle-chat-item strong,
.battle-chat-item span { display: block; }
.battle-chat-item strong { font-size: .78rem; color: rgba(255,255,255,.72); }
.battle-chat-item span { font-size: .9rem; color: rgba(255,255,255,.9); overflow-wrap: anywhere; }
.battle-chat-item.role-spectator { border-color: rgba(13, 202, 240, .35); }
.battle-chat-item.role-A { border-color: rgba(13, 110, 253, .4); }
.battle-chat-item.role-B { border-color: rgba(220, 53, 69, .4); }

/* MVP 20 · B2B-Modus */
.b2b-page .panel-card { position: relative; }
.b2b-participants { display: grid; gap: .55rem; }
.b2b-participant { display: flex; align-items: center; gap: .6rem; padding: .55rem .65rem; border: 1px solid rgba(255,255,255,.1); border-radius: .8rem; background: rgba(255,255,255,.04); }
.b2b-participant small { display: block; color: rgba(255,255,255,.55); }
.b2b-color-dot { width: .85rem; height: .85rem; border-radius: 999px; flex: 0 0 auto; }
.b2b-stage { overflow: hidden; min-height: 430px; }
.b2b-remote-cursors { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.b2b-remote-cursor { position: absolute; transform: translate(8px, 8px); padding: .12rem .35rem; border-radius: .45rem; background: rgba(13,110,253,.92); color: #fff; font-size: .72rem; white-space: nowrap; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.b2b-bpm-input { width: 5.5rem; }
.b2b-timeline { display: grid; gap: .55rem; overflow-x: auto; padding-bottom: .25rem; }
.b2b-track { display: grid; grid-template-columns: 92px minmax(640px, 1fr); gap: .55rem; align-items: stretch; }
.b2b-track-label { display: flex; align-items: center; justify-content: center; border-radius: .65rem; background: rgba(255,255,255,.07); color: rgba(255,255,255,.8); font-size: .82rem; }
.b2b-track-lane { position: relative; min-height: 48px; border-radius: .65rem; background: repeating-linear-gradient(90deg, rgba(255,255,255,.05), rgba(255,255,255,.05) 1px, transparent 1px, transparent 36px), rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08); }
.b2b-clip { position: absolute; top: 6px; bottom: 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; border: 1px solid rgba(13,202,240,.65); background: rgba(13,202,240,.18); color: #fff; border-radius: .55rem; padding: 0 .55rem; font-size: .8rem; }
.b2b-mixer { display: grid; grid-template-columns: repeat(5, minmax(130px, 1fr)); gap: .75rem; }
.b2b-mixer-strip { display: grid; gap: .45rem; padding: .7rem; border-radius: .85rem; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); }
.b2b-sample-seed, .b2b-sample-pool { display: flex; flex-wrap: wrap; gap: .45rem; max-height: 250px; overflow: auto; }
.b2b-pool-sample small { display: block; font-size: .68rem; opacity: .7; }
.b2b-event-log, .b2b-chat-log { min-height: 180px; max-height: 340px; overflow: auto; display: grid; gap: .45rem; }
.b2b-event, .b2b-chat-item { border: 1px solid rgba(255,255,255,.1); border-radius: .75rem; padding: .5rem .65rem; background: rgba(255,255,255,.04); }
.b2b-event strong, .b2b-event span, .b2b-chat-item strong, .b2b-chat-item span { display: block; }
.b2b-event span, .b2b-chat-item strong { color: rgba(255,255,255,.58); font-size: .75rem; }
.b2b-chat-form { display: grid; grid-template-columns: 1fr auto; gap: .5rem; }
@media (max-width: 992px) { .b2b-mixer { grid-template-columns: 1fr; } .b2b-track { grid-template-columns: 74px minmax(560px, 1fr); } }

/* MVP 22 Admin Dashboard */
.admin-subnav {
  padding: 0.75rem;
}
.stat-card {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1rem;
  min-height: 120px;
}
.stat-card span,
.stat-card small {
  display: block;
  color: rgba(255, 255, 255, 0.62);
}
.stat-card strong {
  display: block;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.1;
  margin: 0.35rem 0;
}
.admin-list {
  display: grid;
  gap: 0.75rem;
}
.admin-list-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.admin-list-row:last-child {
  border-bottom: 0;
}
.admin-list-row small {
  display: block;
  color: rgba(255, 255, 255, 0.58);
}
.admin-storage-input {
  width: 95px;
}
.admin-refresh-btn {
  max-width: max-content;
}

/* MVP 23 · Premium-/Pack-System */
.pack-card,
.app-card,
.empty-state {
  background: rgba(17, 24, 39, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.22);
}
.pack-card-body { padding: 1.15rem; }
.pack-cover {
  min-height: 150px;
  background: radial-gradient(circle at top left, rgba(99, 102, 241, .38), rgba(15, 23, 42, .92));
  display: flex;
  align-items: center;
  justify-content: center;
}
.pack-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pack-cover-placeholder { font-weight: 900; font-size: 2.2rem; letter-spacing: .18em; color: rgba(255,255,255,.75); }
.pack-cover-lg { min-height: 240px; border-radius: 18px; overflow: hidden; }
.pack-description { min-height: 3.2em; }
.pack-meta { display: flex; flex-wrap: wrap; gap: .35rem; }
.pack-detail-hero {
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  gap: 2rem;
  align-items: center;
}
.metric-card {
  background: rgba(15, 23, 42, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  padding: 1rem;
}
.metric-card span { display: block; color: rgba(226,232,240,.7); font-size: .85rem; }
.metric-card strong { display: block; font-size: 1.35rem; color: #fff; }
@media (max-width: 768px) {
  .pack-detail-hero { grid-template-columns: 1fr; }
}

/* MVP 24 · Public Profile & Track Sharing */
.profile-hero {
  background: radial-gradient(circle at top left, rgba(168, 85, 247, 0.22), transparent 45%), rgba(2, 6, 23, 0.4);
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}
.profile-hero-card { backdrop-filter: blur(18px); }
.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(59,130,246,.65), rgba(236,72,153,.65));
  color: #fff;
  border: 1px solid rgba(255,255,255,.24);
}
.profile-hero-card .ms-auto span { display: block; color: rgba(226,232,240,.7); font-size: .78rem; }
.track-card-link { color: inherit; text-decoration: none; display: block; }
.public-track-card { transition: transform .15s ease, border-color .15s ease; }
.public-track-card:hover { transform: translateY(-2px); border-color: rgba(99,102,241,.55); }
.public-track-player { background: rgba(15, 23, 42, 0.65); }
.manifest-preview {
  max-height: 280px;
  overflow: auto;
  font-size: .74rem;
  color: rgba(226,232,240,.82);
  background: rgba(2,6,23,.55);
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 12px;
  padding: .75rem;
}
.embed-body {
  margin: 0;
  background: transparent;
  color: #e5e7eb;
}
.embed-card {
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(15,23,42,.96), rgba(30,41,59,.94));
  border: 1px solid rgba(148,163,184,.24);
  border-radius: 14px;
  padding: 1rem;
}

/* MVP 25 · Erweiterte Audio-Effekte */
.effects-panel {
  border: 1px solid rgba(129, 140, 248, 0.24);
  background:
    radial-gradient(circle at top left, rgba(129, 140, 248, 0.14), transparent 36%),
    rgba(10, 14, 25, 0.88);
}

.fx-status {
  color: #94a3b8;
  font-size: 0.9rem;
}

.fx-status[data-kind="ok"] { color: #86efac; }
.fx-status[data-kind="warn"] { color: #fde68a; }
.fx-status[data-kind="danger"] { color: #fca5a5; }

.fx-inline-toggle {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  color: #cbd5e1;
  font-size: 0.92rem;
  user-select: none;
}

.fx-inline-toggle input {
  width: 1rem;
  height: 1rem;
}

.fx-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.85rem;
}

.fx-card {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 1rem;
  padding: 0.95rem;
  background: rgba(15, 23, 42, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.fx-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.fx-card h3 {
  margin: 0;
  font-size: 0.98rem;
  color: #e5e7eb;
}

.fx-card label {
  display: block;
  color: #cbd5e1;
  font-size: 0.83rem;
  margin-bottom: 0.55rem;
}

.fx-card .form-control,
.fx-card .form-select {
  margin-top: 0.22rem;
}

.fx-help {
  color: #94a3b8;
  font-size: 0.78rem;
  line-height: 1.35;
}

.fx-automation-box {
  border: 1px dashed rgba(129, 140, 248, 0.30);
  border-radius: 1rem;
  padding: 0.9rem;
  background: rgba(30, 41, 59, 0.38);
}
