/* Hypatian Daily Quizzes */
.qz-hero { padding: 70px 0 40px; background: radial-gradient(ellipse at 50% 0%, #17213f 0%, var(--ink-1) 70%); }
.qz-feature { max-width: 820px; margin: 0 auto; text-align: center; }
.qz-feature h2 { font-family: var(--heading-font); font-size: 54px; font-weight: 500; color: var(--parchment); margin: 4px 0 6px; }
.qz-sub { color: var(--gold-soft); font-size: 17px; margin: 0; }
.qz-intro { color: #bdb6a4; font-size: 18px; max-width: 700px; margin: 18px auto 26px; }
.qz-btn { background: var(--gold); color: var(--ink-1); border: 0; border-radius: 2px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; font-size: 13px; padding: 13px 28px; cursor: pointer; transition: .2s; }
.qz-btn:hover:not(:disabled) { background: var(--gold-soft); }
.qz-btn:disabled { opacity: .45; cursor: default; }
.qz-link { background: none; border: 0; color: #b8b1a0; cursor: pointer; font-size: 15px; padding: 8px 4px; text-decoration: underline; text-underline-offset: 3px; }
.qz-link:hover:not(:disabled) { color: var(--gold-soft); }
.qz-link:disabled { opacity: .4; cursor: default; }

.qz-archive { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.qz-card { position: relative; text-align: left; background: var(--ink-2); border: 1px solid rgba(201,162,74,.16); border-radius: 4px; padding: 20px 20px 46px; cursor: pointer; color: var(--default-color); transition: .15s; }
.qz-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.qz-card h3 { font-family: var(--heading-font); font-size: 28px; color: var(--parchment); margin: 4px 0 6px; }
.qz-card p { color: #a9a293; margin: 0; font-size: 15px; }
.qz-no { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.qz-meta { position: absolute; left: 20px; bottom: 16px; font-size: 13px; color: #8a8373; }
.qz-badge { position: absolute; right: 16px; bottom: 14px; font-size: 12px; font-weight: 700; color: var(--gold-soft); border: 1px solid rgba(201,162,74,.35); border-radius: 20px; padding: 2px 10px; }
.qz-count { text-align: center; color: #8f8878; margin-top: 18px; }

.qz-stage { max-width: 820px; margin: 0 auto; }
.qz-q { background: linear-gradient(180deg, #121a31, #0c1224); border: 1px solid rgba(201,162,74,.3); border-radius: 6px; padding: 26px 30px 30px; }
.qz-bar { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.qz-prog { width: 240px; max-width: 60vw; height: 4px; background: rgba(232,225,207,.12); border-radius: 2px; margin: 10px 0 6px; overflow: hidden; }
.qz-prog span { display: block; height: 100%; background: var(--gold); }
.qz-step { font-size: 13px; color: #8f8878; }
.qz-title { font-family: var(--heading-font); font-size: 40px; color: var(--parchment); margin: 10px 0 12px; }
.qz-text { font-size: 19px; line-height: 1.6; color: #e1dac8; }
.qz-fig { max-width: 560px; margin: 6px auto 18px; }
.qz-fig svg, .qz-fig img { width: 100%; height: auto; display: block; border-radius: 4px; }
.qz-pair { display: flex; gap: 18px; justify-content: center; }
.qz-pair figure { flex: 1 1 0; max-width: 260px; margin: 0; text-align: center; }
.qz-pair figcaption { font-family: var(--heading-font); font-size: 22px; color: var(--gold-soft); margin-top: 8px; }
.qz-form textarea { width: 100%; background: #0a0f1e; color: var(--parchment); border: 1px solid rgba(232,225,207,.25); border-radius: 3px; padding: 14px 16px; font-size: 18px; resize: vertical; font-family: var(--default-font); }
.qz-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,74,.18); }
.qz-form textarea:disabled { opacity: .7; }
.qz-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 14px; }
.qz-row.center { justify-content: center; margin-top: 24px; }
.qz-hint { color: #f0c27a; margin: 12px 0 0; min-height: 1px; }
.qz-result { margin-top: 24px; border-left: 3px solid var(--gold); background: rgba(201,162,74,.06); padding: 18px 22px 22px; border-radius: 0 4px 4px 0; }
.qz-result.bad { border-left-color: #d9788a; background: rgba(217,120,138,.06); }
.qz-result.half { border-left-color: #f0c27a; }
.qz-result.skip { border-left-color: rgba(232,225,207,.4); background: rgba(232,225,207,.04); }
.qz-verdict { font-family: var(--heading-font); font-size: 30px; color: var(--gold-soft); }
.qz-result.bad .qz-verdict { color: #e58f9d; }
.qz-result.half .qz-verdict { color: #f0c27a; }
.qz-result.skip .qz-verdict { color: var(--parchment); }
.qz-read { color: #9a9383; font-size: 15px; margin: 2px 0 12px; }
.qz-official { color: var(--parchment); font-size: 18px; }
.qz-result p { color: #cfc8b6; }
.qz-result .qz-btn { margin-top: 8px; }
.qz-sum { text-align: center; padding: 16px 0 6px; }
.qz-score { font-family: var(--heading-font); font-size: 84px; color: var(--gold-soft); line-height: 1; }
.qz-score small { font-size: 36px; color: #a9a293; }
.qz-sum p { color: #cfc8b6; font-size: 18px; margin-top: 10px; }
.qz-recap { list-style: none; padding: 0; margin: 20px 0 0; }
.qz-recap li { padding: 10px 0 10px 30px; border-top: 1px solid rgba(232,225,207,.08); position: relative; color: #cfc8b6; }
.qz-recap li i { position: absolute; left: 0; top: 12px; }
.qz-recap li.ok i { color: var(--gold); }
.qz-recap li.half i { color: #f0c27a; }
.qz-recap li.bad i { color: #e58f9d; }
.qz-recap li.skip i { color: #8f8878; }
.qz-recap li span { display: block; font-size: 14px; color: #8f8878; }
@media (max-width: 640px) { .qz-feature h2 { font-size: 38px; } .qz-q { padding: 18px 16px 22px; } .qz-title { font-size: 32px; } .qz-text { font-size: 17px; } }

/* two-choice radio answers */
.qz-choices { border: 0; padding: 0; margin: 6px 0 0; display: flex; gap: 14px; flex-wrap: wrap; }
.qz-choice { flex: 1 1 200px; display: flex; align-items: center; gap: 12px; cursor: pointer; background: #0a0f1e; border: 1px solid rgba(232,225,207,.25); border-radius: 4px; padding: 16px 18px; font-size: 19px; color: var(--parchment); transition: .15s; }
.qz-choice:hover { border-color: var(--gold); }
.qz-choice input { width: 20px; height: 20px; accent-color: var(--gold); cursor: pointer; flex: none; }
.qz-choice:has(input:checked) { border-color: var(--gold); background: rgba(201,162,74,.10); }
.qz-choice:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(201,162,74,.35); }
.qz-choice:has(input:disabled) { cursor: default; }
.qz-choices .qz-choice.right { border: 2px solid var(--gold); background: rgba(201,162,74,.16); }
.qz-choices .qz-choice.wrong { border: 2px solid #d9788a; background: rgba(217,120,138,.10); }

/* longer choice lists */
.qz-choices.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.qz-choices.grid .qz-choice { padding: 12px 14px; font-size: 17px; }
.qz-choices.chips { gap: 8px; }
.qz-choices.chips .qz-choice { flex: 0 0 auto; padding: 8px 12px; font-size: 15px; gap: 8px; }
.qz-choices.chips .qz-choice input { width: 16px; height: 16px; }
.qz-clues { margin: 4px 0 18px; padding-left: 22px; }
.qz-clues li { font-size: 18px; line-height: 1.55; color: #e1dac8; margin: 4px 0; }
.qz-text.small-list { columns: 2; }
