/* Art Knowledge Quiz. Keep button colors local, including nested text labels. */
.jcg-aq { padding:24px; margin:0 0 32px; border:1px solid var(--jcg-line,#dfe5f1); border-radius:20px; background:#f8f9fd; color:#1c2030; }
.jcg-aq [hidden] { display:none !important; }
body.jc-games-route .jcg .jcg-aq button { color:var(--aq-button-ink,#1c2030) !important; -webkit-text-fill-color:currentColor; font-family:inherit; cursor:pointer; }
body.jc-games-route .jcg .jcg-aq button :is(strong,small,span) { color:inherit !important; -webkit-text-fill-color:currentColor; }
.jcg-aq button:disabled { cursor:default; }
.jcg-aq .jcg-btn { --aq-button-ink:#2b1a00; background:#e8a54b; }
.jcg-aq .jcg-btn:is(:hover,:focus,:active) { background:#f0b65c; }
.jcg-aq .jcg-tool:is(:hover,:focus,:active) { background:#fffaf0; }
.jcg-aq button:focus-visible, .jcg-aq a:focus-visible, .jcg-aq summary:focus-visible { outline:3px solid #12347e; outline-offset:3px; }
.jcg-aq-levels { display:flex; flex-wrap:wrap; gap:10px; border:0; margin:0; padding:0; min-width:0; }
.jcg-aq-levels legend { padding:0; margin:0 0 8px; font-weight:700; font-size:14px; }
.jcg-aq-levels button { flex:1; min-width:130px; padding:14px 16px; border:2px solid #dfe5f1; border-radius:12px; background:#fff; text-align:left; font-size:16px; }
.jcg-aq-levels small { display:block; margin-top:3px; font-size:12px; }
.jcg-aq-levels button:is(:hover,:focus,:active) { background:#fffaf0; border-color:#e8a54b; }
.jcg-aq-levels button[aria-pressed="true"] { --aq-button-ink:#12347e; background:#eaf0ff; border-color:#12347e; }
.jcg-aq-settings-note { color:#5b6478; font-size:12px; margin:8px 0 20px; }
.jcg-aq-bar { display:flex; flex-wrap:wrap; gap:10px; justify-content:space-between; font-size:14px; font-variant-numeric:tabular-nums; }
.jcg-aq-bar > :first-child { font-weight:700; }
.jcg-aq-progress { appearance:none; display:block; width:100%; height:6px; border:0; border-radius:9px; overflow:hidden; background:#e5e9f2; accent-color:#e8a54b; margin:16px 0 26px; }
.jcg-aq-progress::-webkit-progress-bar { background:#e5e9f2; }
.jcg-aq-progress::-webkit-progress-value { background:#e8a54b; }
.jcg-aq-ready { max-width:660px; margin:12px auto; text-align:center; line-height:1.7; }
.jcg-aq-illustration { width:150px; height:150px; object-fit:contain; border-radius:20px; }
.jcg-aq-ready h2 { margin:14px 0; font-size:30px; }
.jcg-aq-tags { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; list-style:none; margin:22px 0; padding:0; }
.jcg-aq-tags li { padding:5px 12px; border-radius:999px; border:1px solid #dfe5f1; background:#fff; font-size:13px; }
.jcg-aq-question { font-size:clamp(22px,3vw,30px); line-height:1.35; margin:10px 0 24px; max-width:850px; }
.jcg-aq-choices { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.jcg-aq-choices button { display:flex; gap:12px; align-items:center; text-align:left; min-height:78px; padding:14px 18px; border:2px solid #dfe5f1; border-radius:13px; background:#fff; font-size:16px; line-height:1.45; font-weight:600; overflow-wrap:anywhere; }
.jcg-aq-letter { display:grid; place-items:center; flex:0 0 32px; width:32px; height:32px; border-radius:8px; background:#eef2fb; font-size:14px; font-weight:800; }
.jcg-aq-choices button:not(:disabled):is(:hover,:focus,:active) { background:#fffaf0; border-color:#e8a54b; }
.jcg-aq-choices button:disabled { opacity:.7; }
.jcg-aq-choices button.is-correct { --aq-button-ink:#205e37; border-color:#338952; background:#e5f5e9; opacity:1; }
.jcg-aq-choices button.is-wrong { --aq-button-ink:#842c36; border-color:#bd6772; background:#fff1f1; opacity:1; }
.jcg-aq-feedback { margin-top:22px; padding:18px 20px; border-radius:12px; background:#fff; border:1px solid #dfe5f1; line-height:1.65; }
.jcg-aq-verdict { font-weight:700; margin:0 0 8px; }
.jcg-aq-feedback > a { display:block; font-size:13px; margin:0 0 18px; }
.jcg-aq-actions { display:flex; gap:10px; margin-top:22px; }
.jcg-aq-results { text-align:center; }
.jcg-aq-results h2 { margin:8px 0; }
.jcg-aq-total { font-size:48px; font-weight:800; color:#12347e; margin:4px 0 12px; }
.jcg-aq-breakdown { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; margin:24px 0; }
.jcg-aq-breakdown > div { display:flex; flex-direction:column; justify-content:space-between; gap:8px; padding:14px 10px; border:1px solid #dfe5f1; border-radius:12px; background:#fff; }
.jcg-aq-breakdown strong { font-size:13px; }
.jcg-aq-breakdown span { font-size:22px; font-weight:700; }
.jcg-aq-breakdown meter { width:100%; }
.jcg-aq-results > h3 { margin-top:32px; }
.jcg-aq-review { text-align:left; }
.jcg-aq-review details { padding:14px 0; border-bottom:1px solid #dfe5f1; line-height:1.65; }
.jcg-aq-review summary { cursor:pointer; font-weight:700; }
.jcg-aq-review p { margin:10px 0; }
.jcg-aq-review a { font-size:13px; }
.jcg-aq-review-answer { font-weight:700; color:#205e37; }
@media(max-width:600px) { .jcg-aq { padding:16px; } .jcg-aq-levels { gap:7px; } .jcg-aq-levels button { min-width:80px; padding:10px 8px; font-size:14px; } .jcg-aq-levels small { font-size:11px; } .jcg-aq-choices { grid-template-columns:1fr; gap:9px; } .jcg-aq-choices button { min-height:66px; padding:12px; font-size:15px; } .jcg-aq-breakdown { grid-template-columns:repeat(2,minmax(0,1fr)); } .jcg-aq-breakdown > div:last-child { grid-column:1/-1; } .jcg-aq-ready h2 { font-size:25px; } .jcg-aq-total { font-size:40px; } }
