:root {
  --green: #2e8b62;
  --green-dark: #23704e;
  --brand: #3cb878;
  --ink: #4a4a4a;
  --muted: #6b6b6b;
  --line: #e4e4e4;
  --bg: #eef5f1;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 16px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--bg) 0%, #ffffff 60%);
}
.card {
  width: 100%;
  max-width: 560px;
  background: #ffffff;
  border-radius: 24px;
  border-top: 6px solid var(--brand);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  padding: 32px 28px;
  text-align: center;
}
.brand {
  display: block;
  margin: 0 auto 12px;
  width: 117px;
  height: 30px;
}
h1 { margin: 0 0 12px; font-size: 2rem; line-height: 1.2; }
.subtitle { margin: 0 0 12px; font-size: 1.2rem; }
.detail { margin: 0 0 28px; color: var(--muted); line-height: 1.5; }
.action {
  width: 100%;
  padding: 18px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(46, 139, 98, 0.3);
}
.action:hover { background: var(--green-dark); }
.action:disabled { opacity: 0.6; cursor: wait; }
.action[data-live="true"] { background: #b3412f; box-shadow: none; }
.status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 18px 0 24px;
  color: var(--muted);
}
.dot { width: 12px; height: 12px; border-radius: 50%; background: #a8a8a8; }
.status[data-state="live"] .dot { background: var(--brand); }
.status[data-state="connecting"] .dot { background: #e0a526; }
.status[data-state="error"] .dot { background: #b3412f; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0 0 20px; }
.footer { margin: 0 0 8px; color: var(--muted); }
.credit { margin: 0; font-size: 0.85rem; color: #9a9a9a; }
