:root {
  --bg: #08090b;
  --panel: #12151a;
  --chip: #1a1e25;
  --btn: #1c222b;
  --btn-hover: #252c37;
  --line: #2c333d;
  --text: #f3f0e8;
  --muted: #8b949e;
  --kicker: #9eb6c8;
  --accent: #c5d9e8;
  --good: #7dcea0;
  --bad: #e08b7a;
  --radius: 18px;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); }
body {
  font-family: Outfit, "Segoe UI", sans-serif;
  letter-spacing: 0.01em;
}

#app { max-width: 1180px; margin: 0 auto; padding: 28px 28px 48px; }

.top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 28px;
}
.kicker {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
h1 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.subtitle { margin: 0; max-width: 36rem; color: var(--muted); font-size: 0.98rem; line-height: 1.45; }

.stats { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  background: var(--chip);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  min-width: 88px;
}
.chip span { display: block; font-size: 10px; letter-spacing: 0.14em; color: var(--muted); }
.chip b { display: block; margin-top: 4px; font-size: 1.05rem; font-weight: 500; }

.bench {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(340px, 1.05fr);
  gap: 22px;
  align-items: stretch;
}
@media (max-width: 860px) {
  .bench { grid-template-columns: 1fr; }
  .photo-col { order: -1; }
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
}

.q-kicker {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--kicker);
}
.q-title {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.85rem;
  font-weight: 500;
  margin: 0 0 8px;
}
.q-help { margin: 0 0 18px; color: var(--muted); font-size: 0.95rem; }

.choices { display: flex; flex-direction: column; gap: 10px; }
.choice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  text-align: left;
  font: inherit;
  color: var(--text);
  background: var(--btn);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  cursor: pointer;
}
.choice:hover:not(:disabled) { background: var(--btn-hover); }
.choice .letter {
  flex: 0 0 28px;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-size: 0.85rem;
  color: var(--accent);
}
.choice .label { padding-top: 3px; line-height: 1.35; }
.choice.selected { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.choice.good { border-color: var(--good); }
.choice.bad { border-color: var(--bad); }
.choice:disabled { cursor: default; }

.nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}
.nav button, .ghost, .primary {
  font: inherit;
  cursor: pointer;
  border-radius: 999px;
  padding: 10px 16px;
}
.ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
}
.primary {
  background: var(--btn);
  color: var(--text);
  border: 1px solid var(--line);
}
.primary:disabled { opacity: 0.35; cursor: default; }
.primary.go { border-color: var(--accent); color: var(--accent); }

.photo-wrap {
  border-radius: 16px;
  overflow: hidden;
  background: #0e1116;
  aspect-ratio: 4 / 3;
}
.photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.identity { margin-top: 16px; }
.identity h2 {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.identity .name { font-family: Fraunces, Georgia, serif; font-size: 1.4rem; margin: 0 0 4px; }
.identity .sci { margin: 0 0 10px; color: var(--muted); font-style: italic; }
.identity p { margin: 0 0 8px; color: #d5d0c6; font-size: 0.95rem; line-height: 1.45; }
.identity .attrib { margin-top: 12px; font-size: 0.78rem; color: var(--muted); }
.identity .attrib a { color: var(--accent); }
.placeholder { color: var(--muted); font-size: 0.95rem; }

.home-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.home-note { margin-top: 18px; color: var(--muted); font-size: 0.9rem; }

footer {
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}
footer a { color: var(--accent); }

.identity strong { color: var(--accent); font-weight: 500; }
.verdict-line { color: var(--good); margin-bottom: 8px !important; }
.photo-col { display: flex; flex-direction: column; }
.photo-wrap { flex: 0 0 auto; }
