:root {
  --bg: #14121a;
  --panel: #1e1b27;
  --accent: #e0a86a;
  --text: #f3eee7;
  --muted: #9a93a6;
  --ok: #6ac28a;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
.wrap { max-width: 720px; margin: 0 auto; padding: 24px 20px 64px; }
h1 { font-size: 1.9rem; margin: 0 0 8px; }
h2 { font-size: 1.3rem; margin: 24px 0 8px; }
.muted { color: var(--muted); }
.panel { background: var(--panel); border-radius: 14px; padding: 18px 20px; margin: 14px 0; }
.code { font-size: 3rem; letter-spacing: 0.3rem; font-weight: 700; color: var(--accent); }
button {
  background: var(--accent); color: #1a1410; border: 0; border-radius: 10px;
  padding: 12px 18px; font-size: 1rem; font-weight: 600; cursor: pointer;
}
button:disabled { opacity: 0.4; cursor: not-allowed; }
button.secondary { background: #2c2738; color: var(--text); }
input, textarea {
  width: 100%; background: #100e16; color: var(--text); border: 1px solid #322c40;
  border-radius: 10px; padding: 12px; font-size: 1rem; font-family: inherit;
}
textarea { min-height: 90px; resize: vertical; }
.players { list-style: none; padding: 0; margin: 8px 0; }
.players li { padding: 6px 0; border-bottom: 1px solid #2a2535; display: flex; justify-content: space-between; }
.ok { color: var(--ok); }
.story { font-size: 1.15rem; white-space: pre-wrap; }
.card { background: #221d2d; border-left: 3px solid var(--accent); border-radius: 8px; padding: 14px 16px; margin: 10px 0; }
.card .archetype { font-weight: 700; color: var(--accent); }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
a { color: var(--accent); }
.hint { font-size: 0.9rem; }
.big { font-size: 1.1rem; }
.qr { background: #fff; padding: 8px; border-radius: 10px; display: inline-block; }
