/* The BRAX palette from DESIGN.md (the same values as src/index.css). The sign-in button keeps Discord's own
   color, as "Sign in with ..." buttons do, so people recognize where they're signing in. */
:root {
  --bg: #fafafa;
  --card: #ffffff;
  --text: #09090b;
  --muted: #5c5c66;
  --line: #e4e4e7;
  --error: #b91c1c;
  --accent: #fc6c24;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a1a1e;
    --card: #202024;
    --text: #fafafa;
    --muted: #a1a1aa;
    --line: #34343b;
    --error: #f87171;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 16px;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.4 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.card {
  width: 100%;
  max-width: 360px;
  padding: 32px 28px 28px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 12px;
  background: var(--card);
  text-align: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
.logo {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
  margin: 0 auto 20px;
}
h1 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
}
.sub {
  margin: 0 0 24px;
  color: var(--muted);
}
.error {
  margin: 0 0 16px;
  color: var(--error);
}
.discord {
  display: block;
  padding: 10px 16px;
  border-radius: 8px;
  background: #5865f2;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.discord:hover {
  background: #4752c4;
}
.discord:focus-visible,
.dev a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.dev-title {
  margin: 28px 0 8px;
  color: var(--muted);
  font-size: 12px;
}
.dev {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.dev a {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.dev a:hover {
  border-color: var(--muted);
}
