:root {
  --bg: #000000;
  --panel: #0a0a0a;
  --border: #222222;
  --text: #ffffff;
  --text-muted: #888888;
}

* { box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "SF Mono", Menlo, Consolas, monospace;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  padding: 1rem;
}

.screen { display: none; width: 100%; max-width: 500px; }
.screen.active { display: flex; flex-direction: column; gap: 1rem; }

h1 {
  font-size: 1.4rem;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0 0 0.5rem 0;
  text-align: center;
}

.sub { color: var(--text-muted); font-size: 0.85rem; text-align: center; margin: 0 0 1rem 0; }

input {
  width: 100%;
  padding: 1rem;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}

input:focus { outline: none; border-color: #555; }

button {
  width: 100%;
  padding: 1rem;
  background: #ffffff;
  color: #000000;
  border: none;
  font-weight: bold;
  font-family: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  text-transform: uppercase;
}

button:hover { background: #cccccc; }

.btn-secondary {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  margin-top: 1rem;
}

.btn-secondary:hover { background: var(--panel); color: var(--text); }

pre {
  background: var(--panel);
  padding: 1rem;
  border: 1px solid var(--border);
  overflow-x: auto;
  font-size: 0.85rem;
  color: #aaaaaa;
  white-space: pre-wrap;
  word-break: break-all;
  margin: 0;
}

.card { display: flex; flex-direction: column; gap: 0.5rem; }
.card h2 { font-size: 1rem; font-weight: normal; margin: 0; }
.card p { margin: 0 0 0.5rem 0; font-size: 0.85rem; color: var(--text-muted); line-height: 1.4; }

.user-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

#auth-msg { color: #ff5555; font-size: 0.85rem; text-align: center; min-height: 1.5em; margin: 0; }
