/* Quiz (/wissen/quiz/): round picker, one question with four answers, the result. Built on glossar.css; the gate
   address uses the chevron faces of planeten.css and the symbol classes of glyphen.css. */
.qz .wrap { display: grid; gap: 16px; padding-bottom: 24px; }
.qz-noscript { color: var(--text); }

/* round picker: three big buttons */
.qz-start { display: grid; gap: 14px; }
.qz-start-h { font-size: clamp(22px, 2.6vw, 28px); text-transform: uppercase; }
.qz-rounds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 12px; }
.qz-round { display: grid; gap: 6px; width: 100%; height: 100%; text-align: left; cursor: pointer; padding: 18px; border-radius: var(--r);
  color: var(--text); border: 1px solid var(--line-strong); background: linear-gradient(160deg, var(--hull), rgba(10, 16, 32, 0.4));
  font: inherit; transition: border-color .2s, transform .2s; }
.qz-round:hover { border-color: rgba(86, 200, 255, 0.55); transform: translateY(-1px); }
.qz-round-h { font: 600 20px/1.2 var(--f-display); text-transform: uppercase; letter-spacing: .02em; }
.qz-round-t { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.qz-sources { color: var(--muted); font-size: 14px; max-width: 70ch; }

/* one question */
.qz-play, .qz-result { gap: 14px; padding: 20px; max-width: 760px; }
.qz-bar { display: flex; flex-wrap: wrap; gap: 4px 16px; font: 600 11.5px/1.5 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.qz-bar #qz-round-name { color: var(--chevron); }
.qz-play .qz-q, .qz-result .qz-result-h { font-size: clamp(20px, 2.4vw, 24px); }
.qz-q:focus, .qz-result-h:focus, .qz-start-h:focus { outline: none; }
.qz-q:focus-visible, .qz-result-h:focus-visible, .qz-start-h:focus-visible { outline: 2px solid var(--horizon); outline-offset: 4px; }
.qz-term { font: 600 clamp(20px, 3vw, 26px)/1.3 var(--f-display); color: var(--horizon); overflow-wrap: anywhere; }
.qz-chevrons { grid-auto-columns: minmax(0, 56px); gap: 6px; }

.qz-opts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 640px) { .qz-opts { grid-template-columns: 1fr 1fr; } }
.qz-opt { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; width: 100%; height: 100%;
  min-height: 52px; padding: 12px 16px; text-align: left; cursor: pointer; border-radius: 12px; font: 600 15.5px/1.35 var(--f-body);
  color: var(--text); border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.03); transition: border-color .2s, background .2s; }
.qz-opt-t { overflow-wrap: anywhere; min-width: 0; }
.qz-opt:hover:not(:disabled) { border-color: rgba(86, 200, 255, 0.6); background: rgba(86, 200, 255, 0.06); }
.qz-opt:disabled { cursor: default; color: var(--muted); }
.qz-opt.is-right { color: var(--text); border-color: var(--ok); box-shadow: inset 0 0 0 1px var(--ok); background: rgba(61, 220, 151, 0.14); }
.qz-opt.is-wrong { color: var(--text); border-color: var(--off); box-shadow: inset 0 0 0 1px var(--off); background: rgba(255, 90, 110, 0.12); }
.qz-tag { font: 600 10.5px/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; }
.is-right > .qz-tag { color: var(--ok); }
.is-wrong > .qz-tag { color: var(--off); }

.qz-after { display: grid; gap: 10px; }
.qz-feedback { font-weight: 600; }
.qz-feedback.is-right { color: var(--ok); }
.qz-feedback.is-wrong { color: #ff8796; }
.qz-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.qz-actions .btn { font-family: var(--f-body); }

/* result */
.qz-total { font: 600 clamp(28px, 4vw, 40px)/1.1 var(--f-display); color: var(--chevron); }
.qz-share { color: var(--text); overflow-wrap: anywhere; }
.qz-share .g-k { display: block; margin-bottom: 4px; }
.qz-copied, .qz-status { color: var(--muted); font-size: 14px; }
/* the live regions stay in the accessibility tree while empty (quiz.js says why), they only take no room */
.qz-feedback:empty, .qz-copied:empty, .qz-status:empty { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); }

@media (max-width: 400px) {
  .qz-play, .qz-result { padding: 16px 14px; }
  .qz-chevrons { gap: 4px; }
  .qz-actions .btn { flex: 1 1 100%; justify-content: center; }
}
