:root {
  --bg0: #16181c;
  --bg1: #1e2228;
  --ink: #f0f2f5;
  --muted: #9aa3b0;
  --accent: #50dc8c;
  --warn: #c8b45a;
  --left: #d0785a;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, #2a3340 0%, transparent 55%),
    linear-gradient(180deg, var(--bg1) 0%, var(--bg0) 100%);
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
}

.vst-ui {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.25rem 1rem 1.5rem;
  text-align: center;
}

.vst-qr {
  width: min(240px, 70vw);
  height: auto;
  aspect-ratio: 1;
  background: #fff8ef;
  border-radius: 8px;
  padding: 0.5rem;
}

.vst-url {
  margin: 0.25rem 0 0;
  max-width: 36rem;
  padding: 0 0.5rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--muted);
  word-break: break-all;
  user-select: all;
}

.vst-status {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--warn);
}

.vst-status.is-joined {
  color: var(--accent);
}

.vst-status.is-left {
  color: var(--left);
}

.vst-status.is-waiting {
  color: var(--warn);
}

.vst-status.is-unavailable {
  color: var(--left, #c45c5c);
}

/* Optional track chip if native shell injects #trackLabel */
.vst-track {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
