/* DailyGameClub v2.2: the quizzes' styles (public/games/quiz.mjs), loaded on the quiz pages only, after games.css and
   games-skin.css. Same rules as games.css: page theme tokens, classes prefixed g-qz-, light by default with the dark
   theme coming from the page's tokens, nothing inline. */
/* =========================================================================================
   Quizzes (v2.2): one question card, four big answers, progress, feedback, the end summary.
   Right and wrong always carry a symbol (✓ ✗) and words, never colour alone.
   ========================================================================================= */
.g-qz { max-width: 600px; gap: 14px; }
.g-qz-play { width: 100%; display: grid; gap: 12px; }
.g-qz-bar { display: grid; gap: 8px; width: 100%; }
.g-qz-dots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; width: 100%; }
.g-qz-dot { display: grid; place-items: center; height: 28px; border-radius: 8px; background: var(--surface-2); color: var(--muted); font: 750 12px/1 var(--font); font-variant-numeric: tabular-nums; box-shadow: inset 0 0 0 1.5px var(--line); }
.g-qz-dot.is-now { background: var(--cat-soft, var(--surface-2)); color: var(--cat-ink, var(--text)); box-shadow: inset 0 0 0 2px var(--cat-ink, var(--text)); }
.g-qz-dot.is-right { background: var(--pos-soft, var(--ok-bg)); color: var(--pos, var(--ok)); box-shadow: inset 0 0 0 1.5px var(--pos, var(--ok)); font-size: 14px; }
.g-qz-dot.is-wrong { background: var(--neg-soft, #FDE6E8); color: var(--neg, var(--danger)); box-shadow: inset 0 0 0 1.5px var(--neg, var(--danger)); font-size: 14px; }
.g-qz-dot.is-done { color: var(--text); }
.g-qz-head { display: flex; align-items: center; gap: 10px; font: 650 14px/1.2 var(--font); color: var(--muted); }
.g-qz-count { color: var(--text); font-weight: 750; }
.g-qz-level { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--text); font-size: 12px; font-weight: 750; letter-spacing: .02em; }
.g-qz-level::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pos, var(--ok)); }
.g-qz-level.g-qz-l2::before { background: var(--sun-deep, #D18E00); }
.g-qz-level.g-qz-l3::before { background: var(--neg, var(--danger)); }
.g-qz-clock { margin-left: auto; font-variant-numeric: tabular-nums; }

.g-qz-card { display: grid; gap: 12px; width: 100%; padding: 14px; border-radius: var(--r-md, 14px); background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line-strong, var(--line)), 0 var(--edge-2, 5px) 0 var(--edge, var(--line)); }
.g-qz-pic { justify-self: center; display: grid; place-items: center; width: min(100%, 240px); aspect-ratio: 4 / 3; border-radius: 10px; background: var(--surface-2); overflow: hidden; }
.g-qz-pic img { display: block; width: 100%; height: 100%; object-fit: contain; }
.g-qz-flag img { box-shadow: 0 0 0 1px var(--line); border-radius: 4px; }
.g-qz-shape { width: min(100%, 210px); aspect-ratio: 1; padding: 10px; background: var(--cat-soft, var(--surface-2)); }
.g-qz-shape svg { display: block; width: 100%; height: 100%; }
.g-qz-shape path { fill: var(--cat-ink, var(--text)); }
.g-qz-q { font: 750 18px/1.35 var(--font); color: var(--text); text-wrap: pretty; }
.g-qz-q:focus { outline: none; }
.g-qz-opts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.g-qz-short .g-qz-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-qz-opt {
  position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr) 22px; align-items: center; gap: 10px;
  min-height: 56px; padding: 8px 10px; border: 0; border-radius: var(--r-sm, 10px);
  background: var(--surface); color: var(--text); font: 650 16px/1.25 var(--font); text-align: left;
  box-shadow: inset 0 0 0 1.5px var(--line-strong, var(--line)), 0 var(--edge-1, 3px) 0 var(--edge, var(--line));
  cursor: pointer; touch-action: manipulation; transition: transform var(--dur-fast, .12s) ease;
}
.g-qz-short .g-qz-opt { grid-template-columns: 26px minmax(0, 1fr) 18px; gap: 7px; padding: 8px; font-size: 15px; }
.g-qz-opt:hover:not(:disabled) { background: var(--cat-soft, var(--surface-2)); }
.g-qz-opt:active:not(:disabled) { transform: translateY(2px); box-shadow: inset 0 0 0 1.5px var(--line-strong, var(--line)), 0 1px 0 var(--edge, var(--line)); }
.g-qz-opt:disabled { cursor: default; }
.g-qz-key { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--surface-2); color: var(--muted); font: 800 14px/1 var(--font); }
.g-qz-short .g-qz-key { width: 26px; height: 26px; font-size: 13px; }
.g-qz-txt { overflow-wrap: anywhere; }
.g-qz-mark { font: 800 18px/1 var(--font); text-align: center; }
.g-qz-opt.is-picked { box-shadow: inset 0 0 0 2.5px var(--text), 0 var(--edge-1, 3px) 0 var(--edge, var(--line)); }
.g-qz-opt.is-right { background: var(--pos-soft, var(--ok-bg)); box-shadow: inset 0 0 0 2.5px var(--pos, var(--ok)), 0 var(--edge-1, 3px) 0 var(--pos, var(--ok)); }
.g-qz-opt.is-right .g-qz-key { background: var(--pos, var(--ok)); color: #fff; }
.g-qz-opt.is-right .g-qz-mark { color: var(--pos, var(--ok)); }
.g-qz-opt.is-wrong { background: var(--neg-soft, #FDE6E8); box-shadow: inset 0 0 0 2.5px var(--neg, var(--danger)), 0 var(--edge-1, 3px) 0 var(--neg, var(--danger)); }
.g-qz-opt.is-wrong .g-qz-key { background: var(--neg, var(--danger)); color: #fff; }
.g-qz-opt.is-wrong .g-qz-mark { color: var(--neg, var(--danger)); }
.g-qz-opt.is-wrong .g-qz-txt { text-decoration: line-through; text-decoration-thickness: 2px; }
.g-qz-opt.is-dim { opacity: .55; }
.g-qz-fb { min-height: 66px; display: grid; align-content: start; gap: 4px; }
.g-qz-verdict { font: 750 16px/1.35 var(--font); }
.g-qz-verdict.is-hint { color: var(--muted); font-weight: 600; font-size: 14px; }
.g-qz-verdict.is-right { color: var(--pos, var(--ok)); }
.g-qz-verdict.is-wrong { color: var(--neg, var(--danger)); }
.g-qz-vmark { font-weight: 800; font-size: 18px; }
.g-qz-explain { color: var(--text); font: 500 15px/1.45 var(--font); }
.g-qz-actions { display: flex; justify-content: center; }
.g-qz-next { min-width: 200px; min-height: 50px; font-size: 16px; }
.g-qz-next.is-off { visibility: hidden; }

.g-qz-intro { display: grid; justify-items: center; gap: 14px; width: 100%; padding: 22px 16px 18px; border-radius: var(--r-md, 14px); background: var(--surface); text-align: center; box-shadow: inset 0 0 0 1.5px var(--line-strong, var(--line)), 0 var(--edge-2, 5px) 0 var(--edge, var(--line)); }
.g-qz-kicker { font: 800 13px/1.2 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--cat-ink, var(--muted)); }
.g-qz-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(10, 20px); gap: 4px; }
.g-qz-strip { align-items: end; }
.g-qz-strip li { height: 10px; border-radius: 5px; background: var(--pos, var(--ok)); }
.g-qz-strip .g-qz-l2 { height: 16px; background: var(--sun-deep, #D18E00); }
.g-qz-strip .g-qz-l3 { height: 22px; background: var(--neg, var(--danger)); }
.g-qz-lede { max-width: 420px; font: 500 16px/1.45 var(--font); color: var(--text); }
.g-qz-start { min-width: 220px; min-height: 54px; font-size: 18px; }
.g-qz-note { font-size: 13px; color: var(--muted); max-width: 420px; }
.g-qz-err { width: 100%; display: grid; justify-items: center; gap: 8px; padding: 12px; border-radius: var(--r-sm, 10px); background: var(--neg-soft, #FDE6E8); color: var(--text); text-align: center; }

.g-qz-score { display: grid; justify-items: center; gap: 2px; width: 100%; padding: 16px; border-radius: var(--r-md, 14px); background: var(--cat-soft, var(--surface-2)); text-align: center; }
.g-qz-score-k { font: 800 12px/1.2 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--cat-ink, var(--muted)); }
.g-qz-score-v { color: var(--text); }
.g-qz-big { font: 800 56px/1 var(--font-display, var(--font)); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.g-qz-of { font: 800 24px/1 var(--font-display, var(--font)); color: var(--muted); }
.g-qz-score-t { font: 600 15px/1.4 var(--font); color: var(--text); max-width: 420px; }
.g-qz-summary { width: 100%; display: grid; gap: 8px; }
.g-qz-sum-h { font: 800 16px/1.3 var(--font); }
.g-qz-sum { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.g-qz-si { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; padding: 10px 12px; border-radius: var(--r-sm, 10px); background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); }
.g-qz-si.is-right { box-shadow: inset 4px 0 0 var(--pos, var(--ok)), inset 0 0 0 1.5px var(--line); }
.g-qz-si.is-wrong { box-shadow: inset 4px 0 0 var(--neg, var(--danger)), inset 0 0 0 1.5px var(--line); }
.g-qz-sm { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--surface-2); font: 800 15px/1 var(--font); }
.g-qz-si.is-right .g-qz-sm { background: var(--pos, var(--ok)); color: #fff; }
.g-qz-si.is-wrong .g-qz-sm { background: var(--neg, var(--danger)); color: #fff; }
.g-qz-sb { display: grid; gap: 4px; min-width: 0; }
.g-qz-sq { font: 650 15px/1.35 var(--font); }
.g-qz-sa { font-size: 14px; color: var(--text); }
.g-qz-your { color: var(--muted); }
.g-qz-sx { font-size: 14px; line-height: 1.45; color: var(--muted); }
.g-qz-thumb { display: block; }
.g-qz-thumb-flag { width: 48px; height: 36px; object-fit: contain; border-radius: 3px; box-shadow: 0 0 0 1px var(--line); }
.g-qz-thumb-shape { width: 44px; height: 44px; }
.g-qz-thumb-shape path { fill: var(--cat-ink, var(--text)); }

@media (max-width: 374px) {
  .g-qz-card { padding: 12px 10px; }
  .g-qz-q { font-size: 17px; }
  .g-qz-opt { font-size: 15px; gap: 8px; }
  .g-qz-short .g-qz-opt { font-size: 14px; }
  .g-qz-dots { gap: 3px; }
  .g-qz-strip { grid-template-columns: repeat(10, 16px); }
}
@media (min-width: 520px) {
  .g-qz-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-qz-pic { width: min(100%, 280px); }
  .g-qz-shape { width: min(100%, 240px); }
  .g-qz-card { padding: 18px; gap: 14px; }
  .g-qz-q { font-size: 20px; }
}
@media (min-width: 1024px) {
  .g-qz { max-width: 700px; }
  .g-qz-dot { height: 32px; font-size: 13px; }
  .g-qz-pic { width: min(100%, 320px); }
  .g-qz-shape { width: min(100%, 270px); }
  .g-qz-q { font-size: 23px; }
  .g-qz-opt { min-height: 64px; font-size: 18px; }
  .g-qz-short .g-qz-opt { font-size: 17px; }
  .g-qz-explain { font-size: 16px; }
}
.g-qz-loading { width: 100%; padding: 24px 12px; text-align: center; color: var(--muted); font: 600 15px/1.4 var(--font); }
