/* Test « Quel philosophe vous ressemble ? » (quel-philosophe.html) */
.qz { max-width: 760px; }
.qz-subtitle { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 22px; color: var(--muted); margin: 0 0 18px; }
.qz-lead { line-height: 1.7; font-size: 17px; margin: 0 0 18px; }
.qz-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0 0 26px; list-style: none; font-size: 15px; color: var(--muted); font-style: italic; }
.qz-facts li::before { content: "·"; color: var(--accent); margin-right: 8px; font-style: normal; }
.qz-caveat { font-size: 15px; line-height: 1.65; color: var(--muted); border-left: 2px solid var(--rule); padding-left: 14px; margin: 26px 0 0; }

.qz-progress { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.qz-progress-text { font-size: 14px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.qz-track { flex: 1; height: 3px; background: var(--rule); border-radius: 2px; overflow: hidden; }
.qz-track span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .25s ease; }
.qz-question {
  font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 30px; line-height: 1.25;
  margin: 0 0 22px; outline: none; text-wrap: balance;
}
.qz-options { display: grid; gap: 10px; }
.qz-option {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  background: var(--surface); color: var(--ink); border: 1px solid var(--rule); border-radius: 4px;
  padding: 13px 16px; font-family: 'EB Garamond', serif; font-size: 17.5px; line-height: 1.4; cursor: pointer;
}
.qz-option:hover { border-color: rgba(var(--accent-rgb), 0.6); background: rgba(var(--accent-rgb), 0.06); }
.qz-option:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.qz-option.chosen { border-color: var(--accent); background: rgba(var(--accent-rgb), 0.10); }
.qz-mark { flex: none; width: 16px; height: 16px; margin: 0 1px; border-radius: 50%; border: 1.5px solid var(--muted); box-sizing: border-box; }
.qz-va2 .qz-mark, .qz-vb2 .qz-mark { width: 18px; height: 18px; margin: 0; background: var(--accent); border-color: var(--accent); }
.qz-va1 .qz-mark, .qz-vb1 .qz-mark { border-color: var(--accent); background: rgba(var(--accent-rgb), 0.35); }
.qz-v00 .qz-mark { width: 12px; height: 12px; margin: 0 3px; }
.qz-v00 { color: var(--muted); font-style: italic; }
.qz-nav { margin-top: 20px; min-height: 34px; }
.qz-nav .btn[hidden], .qz-share .btn[hidden] { display: none; }

.qz-section-title { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 30px; margin: 0 0 6px; outline: none; }
.qz-result-lead { color: var(--muted); font-size: 16px; line-height: 1.6; margin: 0 0 22px; }
.qz-cards { display: grid; gap: 16px; }
.qz-card { background: var(--surface); border: 1px solid var(--rule); border-left: 3px solid var(--who-color); border-radius: 4px; padding: 18px 20px; }
.qz-card-head { display: flex; align-items: center; gap: 14px; }
.qz-portrait { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; background: var(--rule); }
.qz-who { flex: 1; min-width: 0; }
.qz-rank { margin: 0; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--who-color); }
.qz-name { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 25px; margin: 0; line-height: 1.15; }
.qz-era { margin: 0; font-size: 14px; color: var(--muted); }
.qz-meter { text-align: right; flex: none; }
.qz-pct { display: block; font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; }
.qz-pct-label { font-size: 12.5px; color: var(--muted); }
.qz-summary { font-size: 16px; line-height: 1.6; margin: 12px 0 0; color: var(--muted); }
.qz-points { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.qz-points li { font-size: 16.5px; line-height: 1.55; }
.qz-tag { display: inline-block; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; border-radius: 3px; padding: 1px 7px; margin-right: 8px; vertical-align: 2px; }
.qz-agree .qz-tag { color: var(--success); border: 1px solid var(--success); }
.qz-disagree .qz-tag { color: var(--error); border: 1px solid var(--error); }
.qz-card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.qz-opposite-wrap { margin-top: 30px; }
.qz-debate { margin: 30px 0 0; padding: 20px; border: 1px dashed rgba(var(--accent-rgb), 0.5); border-radius: 4px; text-align: center; }
.qz-debate p { margin: 10px 0 0; font-style: italic; color: var(--muted); font-size: 15.5px; }
.qz-share { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.qz-share-msg { font-size: 15px; color: var(--muted); flex-basis: 100%; overflow-wrap: anywhere; }
.qz-all-box { margin-top: 26px; }
.qz-all-box summary { cursor: pointer; color: var(--accent); font-size: 16px; }
.qz-all { list-style: none; padding: 0; margin: 12px 0 0; columns: 2 220px; column-gap: 28px; }
.qz-all li { display: flex; align-items: center; gap: 8px; padding: 4px 0; break-inside: avoid; font-size: 15.5px; border-bottom: 1px solid var(--rule); }
.qz-all-name { flex: 1; }
.qz-all-pct { color: var(--muted); font-variant-numeric: tabular-nums; }
.qz-seal {
  width: 22px; height: 22px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid currentColor; color: var(--who-color);
  font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 9.5px;
}

@media (max-width: 640px) {
  .qz-question { font-size: 25px; }
  .qz-option { font-size: 16.5px; padding: 12px 13px; }
  .qz-card { padding: 16px 14px; }
  .qz-portrait { width: 52px; height: 52px; }
  .qz-name { font-size: 22px; }
  .qz-pct { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) { .qz-track span { transition: none; } }
