/* /setup — streamer connect shell.
   Vanilla CSS, no framework (workspace UI rule). Palette borrowed from the
   companion's cozy dark so this doesn't read as a bolted-on admin page. */

:root {
  --coal: #0f0e16;
  --coal-2: #17162170;
  --paper: #eef7ff;
  --muted: #a7b0c4;
  --plum: #a85ad0;
  --line: #ffffff14;
  --twitch: #a970ff;
  --kick: #53fc18;
  --ok: #7ee08a;
  --err: #ff8a9b;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  min-height: 100vh;
  background:
    radial-gradient(1100px 500px at 12% -10%, #2a1d3d 0%, transparent 60%),
    radial-gradient(900px 420px at 95% 0%, #1d2f3d 0%, transparent 55%),
    var(--coal);
  color: var(--paper);
  font-family: "Inter", "Segoe UI Variable", system-ui, sans-serif;
  line-height: 1.5;
  padding: 40px 20px 72px;
}

.shell { max-width: 660px; margin: 0 auto; display: grid; gap: 22px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 700;
  color: var(--plum);
}
.hero h1 { font-size: clamp(28px, 5vw, 40px); line-height: 1.15; margin: 6px 0 10px; }
.lede { color: var(--muted); max-width: 52ch; }

.card {
  background: var(--coal-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  backdrop-filter: blur(6px);
}
.card h2 { font-size: 17px; margin-bottom: 12px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  color: #14101c;
  cursor: pointer;
  transition: transform 120ms ease, filter 120ms ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.07); }
.btn--twitch { background: var(--twitch); }
.btn--kick { background: var(--kick); }
.btn--go { background: var(--paper); margin-top: 12px; }
.btn--go:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
/* A provider that isn't enabled server-side: visibly inert, not a dead link. */
.btn--off {
  background: transparent;
  border: 1px dashed var(--line);
  color: var(--muted);
  cursor: not-allowed;
}

.field { display: grid; gap: 6px; margin-top: 14px; max-width: 340px; }
.field span { font-size: 13px; color: var(--muted); }
.field input {
  padding: 10px 12px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #0c0b12;
  color: var(--paper);
  font: inherit;
}
.field input:focus-visible { outline: 2px solid var(--plum); outline-offset: 1px; }

.who { margin-bottom: 4px; }
.chip {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: lowercase;
  color: #14101c;
}
.chip--twitch { background: var(--twitch); }
.chip--kick { background: var(--kick); }

.channel-list { list-style: none; display: grid; gap: 8px; }
.channel {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #ffffff08;
}
.channel .slug { font-weight: 650; }
.status {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.status--active { color: var(--ok); }
.status--pending { color: #ffd06a; }
.status--disabled { color: var(--err); }

.steps ol { margin-left: 18px; display: grid; gap: 7px; }
.note {
  margin-top: 14px;
  padding: 11px 13px;
  border-left: 2px solid var(--plum);
  background: #ffffff08;
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  color: var(--muted);
}
.note code { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 13px; color: var(--paper); }

.msg { margin-top: 10px; font-size: 14px; min-height: 1.2em; }
.msg--ok { color: var(--ok); }
.msg--err { color: var(--err); }
.ok { color: var(--ok); }
.muted { color: var(--muted); font-size: 14px; }
.muted a { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
