.q-progress-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.q-cat {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.q-ticket {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: #f4e6d2;
  border: 1px dashed var(--accent);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
}
.q-bar-track {
  width: 100%;
  height: 8px;
  background: #efe3d2;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 24px;
}
.q-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 999px;
  transition: width 0.2s ease;
}
.q-card-title {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.2;
  margin: 0 0 12px;
  color: var(--ink);
}
.q-card-desc {
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 24px;
  max-width: 60ch;
}
.q-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.q-opt {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 14px 20px;
  background: var(--bg);
  color: var(--ink);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.12s ease, background-color 0.12s ease, transform 0.08s ease;
}
.q-opt:hover {
  border-color: var(--accent);
  background: #fff3e4;
}
.q-opt:active { transform: scale(0.99); }
.q-opt-sub {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}
.q-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}
.q-back-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 4px;
}
.q-back-btn:hover { color: var(--ink); }
.q-back-btn:disabled { opacity: 0.35; cursor: default; }

/* Result Card */
.q-result-stamp {
  border: 2px dashed var(--accent);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 28px 24px;
  text-align: center;
  margin-bottom: 24px;
}
.q-result-eyebrow {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}
.q-result-age {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 8px;
}
.q-result-era {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 16px;
}
.q-result-clue {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  text-align: left;
  margin: 0 auto 20px;
  max-width: 520px;
}
.q-result-clue-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 4px;
}
.q-result-clue-val {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.q-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}
.q-decade-bar {
  display: grid;
  grid-template-columns: 52px 1fr 42px;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.q-decade-bar-track {
  height: 10px;
  background: #e9dcc9;
  border-radius: 999px;
  overflow: hidden;
}
.q-decade-bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
}
.q-decade-bar-pct {
  text-align: right;
  color: var(--muted);
  font-weight: 600;
}
.q-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}
.q-actions-sub {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.q-copy-msg {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin: 12px 0 0;
  min-height: 22px;
}

@media (max-width: 640px) {
  .q-card-title { font-size: 22px; }
  .q-result-age { font-size: 38px; }
  .q-actions { grid-template-columns: 1fr; }
  .q-opt { flex-direction: column; align-items: flex-start; gap: 4px; }
}
