/* Page « Quiz d'anglais » (gen-seo.ts, classes .nd-page .qz-page) : par-dessus inspiration.css, la carte
   du quiz (public/quiz.js). Mêmes couleurs jour / nuit que la page Nihondex (variables --gold, --card…). */
.qz-hero { min-height: min(68vh, 600px); }
.qz-hero h1 { font-size: clamp(44px, 6.4vw, 78px); }
.qz-section { margin-top: clamp(-70px, -6vw, -40px); position: relative; z-index: 1; scroll-margin-top: 24px; }
.qz-card { position: relative; max-width: 680px; min-height: 380px; margin: 0 auto; padding: 22px clamp(18px, 4vw, 34px) 30px; border-radius: 22px; color: var(--ink);
  background: linear-gradient(180deg, var(--card), var(--card-2)); border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold) 12%, transparent), 0 30px 80px -30px rgb(var(--shadow) / .6), 0 0 60px rgb(233 196 106 / .08); }
.qz-card noscript ol { padding-left: 1.2em; line-height: 1.6; }
.qz-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.qz-pips { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; flex: 1; max-width: 260px; }
.qz-pips li { flex: 1; height: 8px; margin: 0; border-radius: 2px; background: color-mix(in srgb, var(--gold) 18%, transparent); transition: background .3s ease; }
.qz-pips li.is-done { background: var(--gold); }
.qz-pips li.is-now { background: color-mix(in srgb, var(--gold) 50%, transparent); }
.qz-gold { display: inline-flex; align-items: center; gap: 6px; font: 500 15px/1 'Pixelify Sans', monospace; color: var(--gold); font-variant-numeric: tabular-nums; }
.qz-q { animation: qz-in .35s ease both; }
.qz-kind { display: inline-block; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); font: 500 11px/1.2 'Pixelify Sans', monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.qz-prompt { margin: 14px 0 18px; font: 600 clamp(22px, 2.6vw, 30px)/1.25 'Cormorant Garamond', Georgia, serif; text-wrap: balance; }
.qz-prompt strong { color: var(--gold); }
.qz-listen { display: inline-flex; align-items: center; gap: 8px; margin: -4px 0 18px; padding: 10px 18px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent); background: color-mix(in srgb, var(--gold) 10%, transparent); color: var(--ink); font: 600 15px/1 'DM Sans', system-ui, sans-serif; cursor: pointer; }
.qz-listen:hover { background: color-mix(in srgb, var(--gold) 20%, transparent); }
.qz-options { display: grid; gap: 10px; }
.qz-option { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 14px 18px; border-radius: 12px; text-align: left;
  border: 1px solid var(--line); background: rgb(var(--veil) / .35); color: var(--ink); font: 16px/1.4 'DM Sans', system-ui, sans-serif; cursor: pointer;
  transition: border-color .2s ease, background .2s ease, translate .2s ease; }
.qz-option:not(:disabled):hover { border-color: color-mix(in srgb, var(--gold) 60%, transparent); background: color-mix(in srgb, var(--gold) 8%, transparent); translate: 0 -2px; }
.qz-option:disabled { cursor: default; color: var(--ink); }
.qz-option.is-right { border-color: #4fb37e; background: rgb(79 179 126 / .14); }
.qz-option.is-wrong { border-color: #d0624f; background: rgb(208 98 79 / .14); }
.qz-option.is-off { opacity: .5; }
.qz-option.is-right svg { color: #3d9d6a; } .qz-option.is-wrong svg { color: #d0624f; }
.qz-why { margin-top: 18px; padding: 16px 18px; border-radius: 12px; border-left: 3px solid #4fb37e; background: rgb(79 179 126 / .08); animation: qz-in .3s ease both; }
.qz-why.is-wrong { border-left-color: #d0624f; background: rgb(208 98 79 / .08); }
.qz-why > strong { font-size: 15px; }
.qz-why p { margin: 6px 0 14px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.qz-why p strong { color: var(--ink); }
.qz-next { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 0; border-radius: 10px; background: linear-gradient(135deg, #f3dda3, #c9a45c); color: #243b2d; font: 700 15px/1 'DM Sans', system-ui, sans-serif; cursor: pointer; }
.qz-end { text-align: center; padding: 6px 0 0; animation: qz-in .35s ease both; }
.qz-score { margin: 0; font: 600 72px/1 'Cormorant Garamond', Georgia, serif; color: var(--gold); }
.qz-score small { font-size: 32px; color: var(--muted); }
.qz-verdict { margin: 10px auto 0; max-width: 460px; font-size: 18px; font-weight: 600; line-height: 1.5; text-wrap: balance; }
.qz-more { margin: 10px auto 22px; max-width: 460px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.qz-note { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.qz-replay { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; border: 0; background: none; color: var(--muted); font: 14px 'DM Sans', system-ui, sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.qz-card-link { display: inline-block; margin-top: 12px; font-weight: 600; color: var(--gold); text-decoration: none; }
.qz-card-link:hover { text-decoration: underline; }
@keyframes qz-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .qz-q, .qz-why, .qz-end { animation: none; } .qz-option { transition: none; } }
