:root {
  color-scheme: dark;
  --green: #24ff96;
  --cyan: #18dcff;
  --pink: #ff45d8;
  --panel: rgba(5, 10, 9, 0.72);
  --line: rgba(67, 255, 173, 0.22);
  --text: #f5fff9;
  --muted: #9fb4aa;

  /* Player-UI theme variables (default: dark) */
  --app-panel: rgba(5, 7, 7, 0.78);
  --app-panel-solid: rgba(8, 10, 10, 0.96);
  --app-stroke: rgba(255, 255, 255, 0.12);
  --app-text: #ffffff;
  --app-muted-text: rgba(255, 255, 255, 0.68);
  --app-dim-text: rgba(255, 255, 255, 0.42);
  --app-input-bg: rgba(255, 255, 255, 0.08);
  --app-input-border: rgba(255, 255, 255, 0.16);
  --app-input-text: #ffffff;
  --app-input-color-scheme: dark;
  --app-card-bg: rgba(255, 255, 255, 0.055);
  --app-card-border: rgba(255, 255, 255, 0.1);
  --app-card-hover-bg: rgba(255, 255, 255, 0.16);
  --app-card-hover-border: rgba(255, 255, 255, 0.72);
  --app-btn-bg: rgba(255, 255, 255, 0.08);
  --app-btn-border: rgba(255, 255, 255, 0.14);
  --app-btn-hover-bg: rgba(255, 255, 255, 0.16);
  --app-tab-active-bg: rgba(255, 255, 255, 0.2);
  --app-tab-active-border: rgba(255, 255, 255, 0.42);
  --app-section-bg: rgba(255, 255, 255, 0.045);
  --app-section-border: rgba(255, 255, 255, 0.13);
  --app-menu-bg: rgba(15, 17, 19, 0.98);
  --app-backdrop: rgba(0, 0, 0, 0.34);
  --app-transport-bg: rgba(0, 0, 0, 0.28);
  --app-transport-shadow: rgba(0, 0, 0, 0.28);
  --app-icon-bg: rgba(0, 0, 0, 0.12);
  --app-icon-hover-bg: rgba(255, 255, 255, 0.16);
  --app-quick-bg: rgba(0, 0, 0, 0.18);
  --app-select-option-bg: #151818;
  --app-stage-gradient:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.18) 45%, rgba(0, 0, 0, 0.76) 100%),
    radial-gradient(circle at 50% 70%, rgba(255, 255, 255, 0.08), transparent 34%);
  --app-bg: #050606;
  --app-scrollbar-thumb: rgba(138, 184, 255, 0.48);
  --app-spectrum-bg:
    radial-gradient(circle at 50% 56%, rgba(0, 108, 255, 0.14), transparent 40%),
    linear-gradient(135deg, #101622, #05080e);
  --app-spectrum-studio-bg:
    radial-gradient(circle at 16% 0%, rgba(0, 108, 255, 0.18), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(204, 255, 0, 0.1), transparent 27%),
    rgba(4, 7, 12, 0.992);
}

:root[data-theme="light"] {
  color-scheme: light;
  --app-panel: rgba(245, 247, 248, 0.88);
  --app-panel-solid: rgba(250, 252, 252, 0.97);
  --app-stroke: rgba(0, 0, 0, 0.1);
  --app-text: #1a1d1e;
  --app-muted-text: rgba(0, 0, 0, 0.55);
  --app-dim-text: rgba(0, 0, 0, 0.36);
  --app-input-bg: rgba(255, 255, 255, 0.85);
  --app-input-border: rgba(0, 0, 0, 0.16);
  --app-input-text: #1a1d1e;
  --app-input-color-scheme: light;
  --app-card-bg: rgba(255, 255, 255, 0.7);
  --app-card-border: rgba(0, 0, 0, 0.08);
  --app-card-hover-bg: rgba(0, 0, 0, 0.04);
  --app-card-hover-border: rgba(0, 0, 0, 0.3);
  --app-btn-bg: rgba(0, 0, 0, 0.04);
  --app-btn-border: rgba(0, 0, 0, 0.12);
  --app-btn-hover-bg: rgba(0, 0, 0, 0.08);
  --app-tab-active-bg: rgba(0, 0, 0, 0.06);
  --app-tab-active-border: rgba(0, 0, 0, 0.25);
  --app-section-bg: rgba(0, 0, 0, 0.025);
  --app-section-border: rgba(0, 0, 0, 0.08);
  --app-menu-bg: rgba(255, 255, 255, 0.98);
  --app-backdrop: rgba(0, 0, 0, 0.12);
  --app-transport-bg: rgba(0, 0, 0, 0.06);
  --app-transport-shadow: rgba(0, 0, 0, 0.08);
  --app-icon-bg: rgba(0, 0, 0, 0.06);
  --app-icon-hover-bg: rgba(0, 0, 0, 0.1);
  --app-quick-bg: rgba(0, 0, 0, 0.05);
  --app-select-option-bg: #f5f5f5;
  --app-stage-gradient:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.06) 45%, rgba(0, 0, 0, 0.18) 100%),
    radial-gradient(circle at 50% 70%, rgba(0, 0, 0, 0.03), transparent 34%);
  --app-bg: #f4f5f5;
  --app-scrollbar-thumb: rgba(0, 0, 0, 0.2);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
}

.spectrum-widget-controls {
  display: none;
}

html.widget-mode,
html.widget-mode body {
  background: transparent !important;
}

html.widget-mode body {
  -webkit-app-region: drag;
  user-select: none;
}

html.widget-mode body > *:not(#particleLayer):not(#visualizer):not(#centerDisc):not(#spectrumWidgetControls):not(.spectrum-widget-resize-handle):not(.dynamic-orb-widget-surface) {
  display: none !important;
}

html.widget-mode #particleLayer {
  z-index: 1;
}

html.widget-mode #visualizer {
  z-index: 2;
}

html.widget-mode .dynamic-orb-widget-surface {
  position: fixed;
  z-index: 2;
  pointer-events: none;
  background: transparent;
}

html.widget-mode .dynamic-orb-widget-surface[hidden] {
  display: none !important;
}

html.widget-mode #centerDisc {
  z-index: 3;
}

html.widget-mode .spectrum-widget-controls {
  position: fixed;
  left: 50%;
  bottom: 10px;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 188px;
  height: 58px;
  padding: 7px 12px;
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(21, 25, 34, 0.88), rgba(4, 6, 10, 0.9));
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.44), inset 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px) saturate(1.25);
  transition: opacity 140ms ease, transform 140ms ease, visibility 0s linear 140ms;
  -webkit-app-region: no-drag;
}

html.widget-mode body.widget-pointer-inside .spectrum-widget-controls {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.spectrum-widget-button {
  --widget-button-mask: none;
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
  cursor: pointer;
  transition: none;
  -webkit-app-region: no-drag;
}

.spectrum-widget-button::before {
  content: "";
  position: absolute;
  inset: 11px;
  background: currentColor;
  -webkit-mask: var(--widget-button-mask) center / contain no-repeat;
  mask: var(--widget-button-mask) center / contain no-repeat;
}

.spectrum-widget-button:active {
  transform: scale(0.96);
}

.spectrum-widget-play {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
  color: #071017;
  border-color: rgba(255, 255, 255, 0.5);
  background: linear-gradient(135deg, var(--green), var(--cyan));
  box-shadow: 0 0 22px color-mix(in srgb, var(--green) 42%, transparent);
}

.spectrum-widget-play::before {
  inset: 12px;
}

html.widget-mode .spectrum-widget-button:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.055);
}

html.widget-mode .spectrum-widget-button.spectrum-widget-play:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: linear-gradient(135deg, var(--green), var(--cyan));
  box-shadow: 0 0 22px color-mix(in srgb, var(--green) 42%, transparent);
}

.spectrum-widget-resize-handle {
  display: none;
}

html.widget-mode .spectrum-widget-resize-handle {
  position: fixed;
  z-index: 12;
  display: block;
  width: 24px;
  height: 24px;
  -webkit-app-region: no-drag;
  touch-action: none;
}

html.widget-mode .resize-nw {
  top: 0;
  left: 0;
  cursor: nwse-resize;
}

html.widget-mode .resize-ne {
  top: 0;
  right: 0;
  cursor: nesw-resize;
}

html.widget-mode .resize-sw {
  bottom: 0;
  left: 0;
  cursor: nesw-resize;
}

html.widget-mode .resize-se {
  right: 0;
  bottom: 0;
  cursor: nwse-resize;
}

.widget-previous-core {
  --widget-button-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%23fff' d='M18 17h12v66H18zM79 18 35 45c-4 2-4 8 0 10l44 27c4 2 8 0 8-5V23c0-5-4-7-8-5Z'/%3E%3C/svg%3E");
}

.widget-next-core {
  --widget-button-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%23fff' d='M70 17h12v66H70zM21 18l44 27c4 2 4 8 0 10L21 82c-4 2-8 0-8-5V23c0-5 4-7 8-5Z'/%3E%3C/svg%3E");
}

.widget-play-core {
  --widget-button-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%23fff' d='m29 17 52 29c4 2 4 6 0 8L29 83c-4 2-8 0-8-5V22c0-5 4-7 8-5Z'/%3E%3C/svg%3E");
}

.widget-pause-core {
  --widget-button-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Crect fill='%23fff' x='25' y='17' width='18' height='66' rx='9'/%3E%3Crect fill='%23fff' x='57' y='17' width='18' height='66' rx='9'/%3E%3C/svg%3E");
}

@media (max-width: 320px), (max-height: 340px) {
  html.widget-mode .spectrum-widget-controls {
    bottom: 6px;
    min-width: 164px;
    height: 50px;
    gap: 7px;
    padding: 5px 9px;
  }

  .spectrum-widget-button {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .spectrum-widget-play {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }
}

body {
  margin: 0;
  overflow: hidden;
  background: #020504;
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
}

button,
input {
  font: inherit;
}

.settings-note {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

#particleLayer,
#visualizer {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: transparent;
  pointer-events: none;
}

.fullscreen-text-layer {
  position: fixed;
  left: 50vw;
  top: 50vh;
  z-index: 20;
  display: none;
  max-width: 96vw;
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(var(--fullscreen-text-rotation, 0deg));
  transform-origin: center;
  color: #fff;
  font-family: "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif;
  font-weight: 850;
  line-height: 0.96;
  letter-spacing: 0;
  text-align: center;
  white-space: pre;
  opacity: 0;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-stroke: var(--fullscreen-text-stroke, 0.7px rgba(0, 0, 0, 0.36));
  paint-order: stroke fill;
  backface-visibility: hidden;
  font-synthesis: none;
  contain: layout style paint;
}

.fullscreen-text-layer.is-visible {
  display: block;
}

.background-image {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 50% 58%, rgba(34, 255, 128, 0.17), transparent 34%),
    linear-gradient(135deg, #030806 0%, #07100d 54%, #09040a 100%);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  opacity: 1;
  transition: opacity 160ms ease;
}

.background-image.has-image {
  background-size: cover;
  background-position: center;
}

.background-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, var(--bg-dim, 0.58));
}

.image-library-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.image-library-toolbar p {
  margin: 0;
  color: rgba(222, 231, 247, 0.68);
  font-size: 12px;
}

.image-library-add {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 8px;
  border: 1px solid rgba(74, 158, 255, 0.52);
  border-radius: 999px;
  background: rgba(26, 94, 196, 0.2);
  color: #f6f9ff;
  cursor: pointer;
  white-space: nowrap;
}

.image-library-add input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.image-library-add span {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  background: #0875ef;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}

.image-library-add strong {
  font-size: 12px;
}

.image-library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 12px;
}

.image-library-card-wrap {
  position: relative;
  min-width: 0;
}

.image-library-card {
  display: grid;
  width: 100%;
  gap: 7px;
  padding: 8px;
  overflow: hidden;
  border: 1px solid rgba(135, 154, 188, 0.24);
  border-radius: 14px;
  background: rgba(6, 12, 23, 0.62);
  color: #f4f7fc;
  text-align: left;
  cursor: pointer;
}

.image-library-card:hover,
.image-library-card.active {
  border-color: #45a0ff;
  box-shadow: 0 0 0 1px rgba(69, 160, 255, 0.38), 0 9px 24px rgba(0, 77, 183, 0.2);
}

.image-library-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 9px;
  background: #02050a center / cover no-repeat;
}

.image-library-name {
  overflow: hidden;
  font-size: 12px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.image-library-card small {
  color: rgba(211, 222, 241, 0.54);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.image-library-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 2;
  display: grid;
  width: 25px;
  height: 25px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  background: rgba(5, 7, 12, 0.82);
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

#passthroughAudio {
  position: fixed;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.center-disc {
  position: fixed;
  left: 50%;
  top: 52%;
  width: min(36vw, 390px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid rgba(52, 255, 152, 0.88);
  box-shadow:
    0 0 22px rgba(39, 255, 142, 0.86),
    inset 0 0 30px rgba(25, 255, 139, 0.32),
    0 0 92px rgba(28, 255, 134, 0.24);
  display: grid;
  place-items: center;
  pointer-events: none;
  transition: transform 70ms linear, box-shadow 70ms linear;
}

.second-center-disc {
  left: 68%;
  top: 52%;
  display: none;
}

.center-image {
  width: 84%;
  height: 84%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 42% 28%, rgba(255, 255, 255, 0.24), transparent 0 10%, transparent 18%),
    radial-gradient(circle at 50% 52%, rgba(34, 255, 128, 0.48), transparent 0 12%, transparent 30%),
    linear-gradient(135deg, #11221d, #050605);
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.66);
}

.center-image span {
  font-size: clamp(34px, 6vw, 78px);
  line-height: 1;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.76);
}

.fullscreen-meter {
  position: fixed;
  inset: 0;
  z-index: 3;
  display: none;
  pointer-events: none;
}

.fullscreen-meter div {
  --meter-color: var(--green);
  position: absolute;
  left: var(--meter-x);
  top: var(--meter-y);
  width: calc(76px * var(--hud-scale, 1));
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.82) 0 47%, transparent 48%),
    conic-gradient(var(--meter-color) var(--value, 0%), rgba(255, 255, 255, 0.12) 0);
  box-shadow:
    0 0 calc(18px * var(--hud-scale, 1)) color-mix(in srgb, var(--meter-color) 48%, transparent),
    inset 0 0 calc(12px * var(--hud-scale, 1)) rgba(255, 255, 255, 0.08);
  opacity: var(--hud-opacity, 0.78);
}

.fullscreen-meter div:nth-child(1) {
  --meter-x: var(--hud-level-x, 86vw);
  --meter-y: var(--hud-level-y, 84vh);
  --meter-color: var(--green);
}

.fullscreen-meter div:nth-child(2) {
  --meter-x: var(--hud-bass-x, 92vw);
  --meter-y: var(--hud-bass-y, 84vh);
  --meter-color: var(--cyan);
}

.fullscreen-meter div:nth-child(3) {
  --meter-x: var(--hud-beat-x, 80vw);
  --meter-y: var(--hud-beat-y, 84vh);
  --meter-color: var(--pink);
}

.fullscreen-meter span {
  align-self: start;
  margin-top: calc(17px * var(--hud-scale, 1));
  color: rgba(245, 255, 249, 0.72);
  font-size: calc(10px * var(--hud-scale, 1));
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.fullscreen-meter strong {
  color: rgba(255, 255, 255, 0.92);
  font-size: calc(15px * var(--hud-scale, 1));
  line-height: 1;
}

.fullscreen-meter i {
  display: none;
}

.topbar,
.control-panel,
.start-overlay > div {
  position: fixed;
  z-index: 2;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.start-overlay {
  position: fixed;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  padding: 24px;
  pointer-events: none;
}

.start-overlay > div {
  width: min(460px, calc(100vw - 40px));
  border-radius: 8px;
  padding: 24px;
  display: grid;
  gap: 14px;
  pointer-events: auto;
}

.start-overlay h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: 0;
}

.start-overlay button {
  min-height: 48px;
  font-weight: 800;
}

body.audio-live .start-overlay {
  display: none;
}

.topbar {
  left: 24px;
  right: 24px;
  top: 20px;
  min-height: 68px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
}

h1,
p {
  margin: 0;
}

h1 {
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  font-size: 13px;
}

button,
.file-pick span {
  min-height: 38px;
  border: 1px solid rgba(47, 255, 160, 0.33);
  border-radius: 8px;
  background: rgba(12, 33, 25, 0.82);
  color: var(--text);
  cursor: pointer;
}

button:hover,
.file-pick:hover span {
  border-color: rgba(47, 255, 160, 0.8);
}

.topbar button {
  padding: 0 16px;
  font-weight: 750;
}

.control-panel {
  right: 24px;
  top: 108px;
  width: 330px;
  max-height: calc(100vh - 132px);
  overflow: auto;
  border-radius: 8px;
  display: grid;
  gap: 18px;
  padding: 18px;
}

.meters {
  display: grid;
  gap: 12px;
}

.meters label {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px;
  align-items: center;
}

.meters span,
.range span,
.control-line span,
.text-control span {
  color: var(--muted);
}

.meters strong {
  font-size: 12px;
}

.meters i {
  grid-column: 1 / -1;
  height: 8px;
  border-radius: 99px;
  background:
    linear-gradient(90deg, var(--green), var(--cyan), var(--pink)) 0 / var(--value, 0%) 100% no-repeat,
    rgba(255, 255, 255, 0.1);
}

.design-picker {
  display: grid;
  gap: 10px;
}

.preset-tools {
  display: grid;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(47, 255, 160, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

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

.designs button {
  min-width: 0;
  padding: 0 8px;
}

.designs button.active {
  background: rgba(36, 255, 150, 0.22);
  box-shadow: inset 0 0 18px rgba(36, 255, 150, 0.12);
}

.designs button[hidden] {
  display: none;
}

.design-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.design-actions button {
  min-width: 0;
  padding: 0 8px;
  font-weight: 700;
}

.design-actions .danger {
  border-color: rgba(255, 92, 92, 0.52);
  background: rgba(54, 13, 13, 0.84);
}

.design-actions .danger:hover {
  border-color: rgba(255, 120, 120, 0.9);
}

.design-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.full-button {
  width: 100%;
  min-width: 0;
  padding: 0 8px;
  font-weight: 700;
}

.range {
  display: grid;
  gap: 9px;
}

.range input,
.text-control input,
.control-line select {
  width: 100%;
  accent-color: var(--green);
}

.control-line,
.text-control {
  display: grid;
  gap: 9px;
}

.checkbox-line {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.checkbox-line input {
  width: 20px;
  height: 20px;
  accent-color: var(--green);
}

.control-line input[type="color"] {
  width: 100%;
  height: 38px;
  border: 1px solid rgba(47, 255, 160, 0.33);
  border-radius: 8px;
  background: rgba(12, 33, 25, 0.82);
  padding: 4px;
}

.control-line select,
.text-control input {
  min-height: 38px;
  border: 1px solid rgba(47, 255, 160, 0.33);
  border-radius: 8px;
  background: rgba(12, 33, 25, 0.82);
  color: var(--text);
  padding: 0 10px;
}

.control-line select[multiple] {
  min-height: 132px;
  padding: 8px;
}

.file-pick input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
}

.file-pick span {
  display: grid;
  place-items: center;
  width: 100%;
}

body.clean-mode .topbar,
body.clean-mode .control-panel {
  opacity: 0;
  pointer-events: none;
}

body.clean-mode .center-disc[data-hidden="true"] {
  display: none;
}

body.clean-mode.hud-enabled .fullscreen-meter {
  display: grid;
}

body.clean-mode {
  cursor: none;
}

@media (max-width: 900px) {
  .center-disc {
    width: min(58vw, 340px);
  }

  .control-panel {
    left: 16px;
    right: 16px;
    bottom: 16px;
    top: auto;
    width: auto;
    max-height: 42vh;
  }

  .topbar {
    left: 16px;
    right: 16px;
    top: 14px;
  }
}

/* Liquid Wave Ring: album art fills the whole circle so the waves hug it */
.center-disc.liquid-wave-disc {
  border-width: 0 !important;
  box-shadow: none !important;
}

.center-disc.liquid-wave-disc .center-image {
  width: 100%;
  height: 100%;
  box-shadow: none;
}
