/* Space Adventure account site. One file, no toolchain. Dark by default —
   it is a space game. */
:root {
  --bg: #0b0e14; --panel: #141a26; --edge: #232c3d;
  --text: #d7dce6; --dim: #8a93a6; --accent: #6ea8ff; --danger: #ff6e6e;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 15px/1.5 system-ui, sans-serif;
  display: flex; flex-direction: column; align-items: center; min-height: 100vh;
}
main { width: min(560px, 92vw); padding: 2rem 0 4rem; }
h1 { font-size: 1.6rem; letter-spacing: 0.04em; }
h1 a { color: var(--text); text-decoration: none; }
h2 { font-size: 1.05rem; color: var(--dim); margin-top: 2rem; }
.panel {
  background: var(--panel); border: 1px solid var(--edge);
  border-radius: 8px; padding: 1.2rem 1.4rem; margin: 1rem 0;
}
label { display: block; margin: 0.8rem 0 0.25rem; color: var(--dim); font-size: 0.85rem; }
input {
  width: 100%; padding: 0.55rem 0.7rem; border-radius: 6px;
  border: 1px solid var(--edge); background: var(--bg); color: var(--text);
}
button {
  margin-top: 1rem; padding: 0.55rem 1.2rem; border-radius: 6px; border: none;
  background: var(--accent); color: #0b0e14; font-weight: 600; cursor: pointer;
}
button.danger { background: var(--danger); }
button.quiet { background: transparent; color: var(--dim); border: 1px solid var(--edge); }
.error { color: var(--danger); min-height: 1.2em; margin-top: 0.6rem; }
.ok { color: #7fd18a; }
.stat { font-size: 2rem; font-weight: 700; }
.dim { color: var(--dim); }
code.big {
  display: block; font-size: 2rem; letter-spacing: 0.35em; text-align: center;
  padding: 0.6rem; background: var(--bg); border-radius: 6px; margin-top: 0.6rem;
}
table { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
td, th { text-align: left; padding: 0.3rem 0.5rem 0.3rem 0; border-bottom: 1px solid var(--edge); }
nav { margin-bottom: 1rem; }
nav a { color: var(--accent); margin-right: 1rem; text-decoration: none; }
