/* Quiz of the Day v1.5.0 – loaded after Additional CSS. Same file is shipped as additional-css-v1.5.0.css. */
/* 1. Navy header, clearly separated from the H1/date strip */
#masthead .site-main-header-wrap .site-header-row-container-inner,#mobile-header .site-main-header-wrap .site-header-row-container-inner,#masthead .site-header-row-container-inner{background:#13234a!important;border-bottom:3px solid #f59e0b}
#masthead .site-title,#masthead .site-title a,#mobile-header .site-title{color:#fff!important;font-weight:600!important;letter-spacing:-.005em}
#masthead .main-navigation .primary-menu-container>ul>li.menu-item>a{color:#dfe6f5!important;font-weight:500}
#masthead .main-navigation .primary-menu-container>ul>li.menu-item>a:hover,#masthead .main-navigation .primary-menu-container>ul>li.menu-item>a:focus-visible{color:#fff!important;text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:2px}
#masthead .main-navigation .primary-menu-container>ul>li.current-menu-item>a{color:#fff!important;font-weight:600;text-decoration:underline;text-decoration-color:#f59e0b;text-underline-offset:6px;text-decoration-thickness:2px}
#masthead .menu-toggle-open,#masthead .menu-toggle-open .menu-toggle-icon,#mobile-header .menu-toggle-open{color:#fff!important}
#masthead .menu-toggle-open:focus-visible{outline:2px solid #fff;outline-offset:2px}
/* 3. Lighter title/date so the questions lead */
body .dq .dq-ctl .dq-hday{font-weight:600!important;color:#1d2433}
body .dq .dq-hnum{font-weight:600!important}
body .dq .dq-by{margin:-4px 0 6px!important;font-size:14px;color:#5d6778;text-align:left}
body .dq .dq-by em{font-style:italic}
/* 2. ⏱ icon button with tooltip */
body .dq .dq-tbtn{position:relative;display:inline-grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid #dfe5ef;border-radius:999px;background:#fff;font-size:18px;line-height:1;cursor:pointer;color:#1d2433}
body .dq .dq-tbtn:hover{border-color:#2F57D6;background:#F3F6FF}
body .dq .dq-tbtn:focus-visible{outline:2px solid #2F57D6;outline-offset:2px}
body .dq .dq-tbtn[aria-pressed="true"]{background:#13234a;border-color:#13234a;color:#fff}
body .dq .dq-tbtn::after{content:attr(data-tip);position:absolute;right:0;top:calc(100% + 6px);background:#13234a;color:#fff;font-size:12px;font-weight:600;padding:3px 8px;border-radius:6px;white-space:nowrap;opacity:0;pointer-events:none;transform:translateY(-2px);transition:opacity .12s,transform .12s;z-index:5}
body .dq .dq-tbtn:hover::after,body .dq .dq-tbtn:focus-visible::after{opacity:1;transform:none}
body .dq .dq-tbtn:disabled{opacity:.6;cursor:default}
body .dq .dq-tbox{padding-top:0}
/* line under Submit */
body .dq .dq-sendq{margin:8px 0 0;text-align:center;font-size:14px}
body .dq .dq-sendq a{color:#2F57D6}
/* 5. Archive */
.dq-arch-top{text-align:center;margin:0 0 10px!important}
.dq-archive li{flex-wrap:wrap}
.dq-archive .dq-arch-st{font-size:12.5px;color:#5d6778;margin-left:auto}
/* 6. Minimal results popup */
.dq-m-box .dq-m-title{font-size:20px!important;font-weight:650;margin:0 0 4px!important;text-align:center}
.dq-m-line{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 14px;margin:6px 0 8px!important;font-size:14.5px;font-weight:600;color:#1d2433;font-variant-numeric:tabular-nums}
.dq-m-cd{color:#5d6778;font-weight:500}
.dq-m-fb{display:flex;align-items:center;justify-content:center;gap:10px;margin:2px 0 10px}
.dq-m-q{margin:8px 0 4px!important;font-size:13.5px;color:#5d6778;font-weight:600}
.dq-m-chips{display:flex;flex-wrap:wrap;gap:6px;justify-content:center}
.dq-chip{font:inherit;font-size:14px;min-height:36px;min-width:44px;padding:4px 12px;border:1px solid #dfe5ef;border-radius:999px;background:#fff;color:#1d2433;cursor:pointer}
.dq-m-fb .dq-chip{font-size:20px;min-width:52px}
.dq-chip:hover:not(:disabled){border-color:#2F57D6;background:#F3F6FF}
.dq-chip.on{background:#13234a;border-color:#13234a;color:#fff}
.dq-chip:disabled:not(.on){opacity:.45;cursor:default}
.dq-m-acts{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.dq-m-acts.sm .btn{min-height:36px;padding:6px 12px;font-size:14px}
.dq-m-foot{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin-top:6px}
.dq-m-rand{display:inline-block;align-self:center;font-size:13.5px;font-weight:600;color:#2F57D6;text-decoration:underline;text-underline-offset:2px;padding:4px 8px;min-height:36px;line-height:28px}
.dq-m-rand:hover,.dq-m-rand:focus-visible{color:#13234a}
/* v1.6.3 More quizzes in-card panel (replaces old details/summary "more") */
.dq-m-box.dq-m-v163{position:relative}
.dq-m-box.dq-m-v163 .dq-m-main{display:block}
.dq-m-box.dq-m-v163.dq-m-more-open .dq-m-main{display:none}
.dq-m-box.dq-m-v163 .dq-m-more{display:none;text-align:left;margin:0;padding:0;border:0;background:transparent}
.dq-m-box.dq-m-v163.dq-m-more-open .dq-m-more{display:block}
.dq-m-more-x{font:inherit;font-size:14px;font-weight:600;color:#2F57D6;background:transparent;border:0;padding:4px 0;min-height:36px;cursor:pointer;margin:0 0 4px}
.dq-m-more-x:hover,.dq-m-more-x:focus-visible{color:#13234a;text-decoration:underline}
.dq-m-more-h{margin:0 0 8px!important;font-size:17px!important;text-align:center}
.dq-m-more-list{list-style:none;margin:0;padding:0;max-height:min(52vh,420px);overflow-y:auto;overscroll-behavior:contain;border:1px solid #e4e8f0;border-radius:12px}
.dq-m-more-list li{border-bottom:1px solid #eef1f6}
.dq-m-more-list li:last-child{border-bottom:0}
.dq-m-more-list a,.dq-next-more-item{display:block;padding:12px 14px;min-height:44px;box-sizing:border-box;color:#1d2433!important;text-decoration:none!important;font-size:14.5px;font-weight:600;line-height:1.3}
.dq-m-more-list a:hover,.dq-m-more-list a:focus-visible{background:#eef2ff!important;color:#13234a!important}
.dq-m-v163 .dq-m-acts .dq-next-yesterday{font-weight:700}
.dq-thumb{display:block;margin:0 auto;pointer-events:none}
.dq-m-enjoy{display:flex;justify-content:center;gap:10px}
@media (max-width:480px){.dq-m-box{padding:16px 14px!important}.dq-m-box .dq-ring{width:104px;height:104px}}
body .dq .dq-ctl .dq-hday{order:0;flex:1 1 70%!important;min-width:60%!important}
body .dq .dq-ctl .dq-tbox{order:1}
.dq-chip.on,.dq-chip.on:disabled{opacity:1!important;background:#13234a!important;border-color:#13234a!important;color:#fff!important}
.sl-hero a.dq-random,a.dq-random{color:#fff!important;text-decoration:none}
/* v1.5.1: plain line + Submit question button under Submit */
body .dq .dq-sendq{color:#3b4454}
body .dq .dq-sendbtn{text-align:center;margin:8px 0 0!important}
body .dq .dq-sendbtn .btn{min-height:40px;padding:8px 18px;text-decoration:none}
/* v1.5.1: larger popup anchored near the top, slides down */
.dq-m{align-items:flex-start!important;justify-content:center!important;padding:20px 0 0!important}
.dq-m-box{width:90vw!important;max-width:480px!important;max-height:calc(100dvh - 40px)!important;margin:0 auto!important;padding:24px 20px 18px!important;border-radius:20px!important;animation:dqslide .28s ease-out}
@keyframes dqslide{from{transform:translateY(-40px);opacity:0}to{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){.dq-m-box{animation:none}}
@media (min-width:600px){.dq-m{padding-top:24px!important}.dq-m-box{width:480px!important;padding:28px 28px 22px!important}.dq-m-box .dq-ring{width:150px;height:150px}}
.dq-m-box .dq-ring{width:132px;height:132px;margin:0 auto}
.dq-m-box .dq-m-title{font-size:22px!important}
/* v1.5.2: all-in-one compact popup */
.dq-m-box.dq-m-v152{width:94vw!important;max-width:500px!important;max-height:calc(100dvh - 32px)!important;overflow-y:auto!important;padding:18px 16px 14px!important;font-size:14px}
@media (min-width:600px){.dq-m-box.dq-m-v152{width:500px!important;padding:22px 24px 18px!important}}
.dq-m-v152 .dq-m-title{font-size:19px!important;margin:0 0 6px!important}
.dq-m-v152 .dq-ring{width:112px!important;height:112px!important}
.dq-m-v152 .dq-m-line{gap:4px 18px;margin:6px 0!important;font-size:14px}
.dq-m-v152 .dq-m-cdw{color:#5d6778;font-weight:500}
.dq-m-v152 .dq-m-cmp{margin:6px 0 4px!important;padding:10px 12px!important;text-align:left;border-radius:14px}
.dq-m-v152 .dq-m-h{font-size:14px!important;margin:0 0 2px!important}
.dq-m-v152 .dq-m-pct,.dq-m-v152 .dq-m-first{font-size:13px!important;margin:0 0 6px!important}
.dq-m-v152 .dq-chart{height:96px!important}
.dq-m-v152 .dq-m-fb{flex-direction:column;gap:6px;margin:8px 0!important}
.dq-m-v152 .dq-chip{font-size:13px;min-height:32px;padding:3px 10px}
.dq-m-v152 .dq-m-enjoy .dq-chip{font-size:19px;min-width:52px;min-height:36px}
.dq-m-v152 .dq-m-acts{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:6px}
.dq-m-v152 .dq-m-acts .btn{min-height:40px;padding:6px 8px;font-size:14px}
@media (min-width:600px){.dq-m-v152 .dq-m-acts{grid-template-columns:repeat(4,1fr)}}
/* v1.5.3: full labels, one per row on phones, 2x2 on wider screens */
.dq-m-v152 .dq-m-acts{grid-template-columns:1fr!important}
.dq-m-v152 .dq-m-acts .btn{width:100%;min-height:38px;font-size:13.5px;white-space:normal;line-height:1.2}
@media (min-width:600px){.dq-m-v152 .dq-m-acts{grid-template-columns:1fr 1fr!important}}
/* v1.5.3b: chip labels + Thanks, chart = one 11-column grid, bar heights true to the counts */
.dq-m-v152 .dq-m-q{margin:6px 0 2px!important;font-size:12.5px;font-weight:600;color:#5d6778;text-align:center}
.dq-m-thx{align-self:center;font-size:12px;font-weight:600;color:#11643c;margin-left:4px}
.dq-m-box .dq-chart{display:grid!important;grid-template-columns:repeat(11,minmax(0,1fr))!important;gap:4px!important;align-items:stretch!important;height:120px!important;padding:0!important}
.dq-m-box .dq-bar{display:flex!important;flex-direction:column!important;align-items:stretch!important;height:100%!important;min-width:0!important;width:auto!important}
.dq-m-box .dq-bar-n{display:block;text-align:center;font-size:11px;line-height:14px;height:14px;min-height:14px;flex:none}
.dq-m-box .dq-bar-t{position:relative;flex:1 1 auto;min-height:0;display:block}
.dq-m-box .dq-bar-t i{position:absolute;left:12%;right:12%;bottom:0;width:auto!important;display:block;background:#C9D4EC;border-radius:4px 4px 0 0}
.dq-m-box .dq-bar.me .dq-bar-t i{background:#2F57D6}
.dq-m-box .dq-bar b{display:block;text-align:center;flex:none;margin-top:4px;font-size:12px;line-height:14px}
.dq-m-box .dq-bar-t{margin-top:16px}
.dq-m-box .dq-bar-t .dq-bar-n{position:absolute;left:0;right:0;height:14px;color:#5d6778}
.dq-m-box .dq-bar.me .dq-bar-n{color:#2F57D6;font-weight:700}
/* v1.5.4 */
.dq-m-cmp[hidden]{display:none!important}
.dq-m-box .dq-m-axis{margin:4px 0 0!important;font-size:11.5px;color:#5d6778;text-align:center}
.dq-m-v152 .dq-m-title{padding:0 48px!important;line-height:1.25}
.dq-m-v152 .dq-bar-n{font-size:10px;letter-spacing:-0.02em}
/* v1.5.5: readable hover/focus/active on every plugin button and chip, beating theme (Kadence) button hover colours */
html body .dq-m .dq-m-box .dq-chip,html body .dq-m .dq-m-box .dq-chip:hover,html body .dq-m .dq-m-box .dq-chip:focus,html body .dq-m .dq-m-box .dq-chip:focus-visible,html body .dq-m .dq-m-box .dq-chip:active{color:#1d2433!important;background:#fff!important;border:1px solid #c5cfe0!important;box-shadow:none!important;text-shadow:none!important;opacity:1}
html body .dq-m .dq-m-box .dq-chip:hover:not(:disabled),html body .dq-m .dq-m-box .dq-chip:focus-visible:not(:disabled){background:#eef2ff!important;border-color:#2F57D6!important;color:#13234a!important}
html body .dq-m .dq-m-box .dq-chip:active:not(:disabled){background:#dfe6ff!important;color:#13234a!important}
html body .dq-m .dq-m-box .dq-chip:focus-visible{outline:2px solid #2F57D6!important;outline-offset:2px!important}
html body .dq-m .dq-m-box .dq-chip.on,html body .dq-m .dq-m-box .dq-chip.on:hover,html body .dq-m .dq-m-box .dq-chip.on:focus,html body .dq-m .dq-m-box .dq-chip.on:active{background:#13234a!important;border-color:#13234a!important;color:#fff!important;opacity:1!important}
html body .dq-m .dq-m-box .dq-chip:disabled:not(.on){opacity:1!important;color:#5d6778!important;background:#f4f6fa!important;border-color:#dde2ea!important}
/* buttons: primary (filled) and ghost */
html body .dq .btn:not(.ghost),html body .dq-m .btn:not(.ghost),html body .dq-arch-top .btn,html body .dq-qf .btn:not(.ghost){background:#2F57D6!important;color:#fff!important;border-color:#2F57D6!important;text-shadow:none!important}
html body .dq .btn:not(.ghost):hover,html body .dq .btn:not(.ghost):focus-visible,html body .dq-m .btn:not(.ghost):hover,html body .dq-m .btn:not(.ghost):focus-visible,html body .dq-arch-top .btn:hover,html body .dq-arch-top .btn:focus-visible,html body .dq-qf .btn:not(.ghost):hover,html body .dq-qf .btn:not(.ghost):focus-visible{background:#1f3fa8!important;color:#fff!important;border-color:#1f3fa8!important}
html body .dq .btn:not(.ghost):active,html body .dq-m .btn:not(.ghost):active,html body .dq-arch-top .btn:active,html body .dq-qf .btn:not(.ghost):active{background:#13234a!important;color:#fff!important}
html body .dq .btn.ghost,html body .dq-m .btn.ghost,html body .dq-qf .btn.ghost{background:#fff!important;color:#1f3fa8!important;border:1px solid #c5cfe0!important;box-shadow:none!important}
html body .dq .btn.ghost:hover,html body .dq .btn.ghost:focus-visible,html body .dq-m .btn.ghost:hover,html body .dq-m .btn.ghost:focus-visible,html body .dq-qf .btn.ghost:hover,html body .dq-qf .btn.ghost:focus-visible{background:#eef2ff!important;color:#13234a!important;border-color:#2F57D6!important}
html body .dq .btn.ghost:active,html body .dq-m .btn.ghost:active,html body .dq-qf .btn.ghost:active{background:#dfe6ff!important;color:#13234a!important}
html body .dq .btn:focus-visible,html body .dq-m .btn:focus-visible,html body .dq-arch-top .btn:focus-visible{outline:2px solid #2F57D6!important;outline-offset:2px!important}
/* × close */
html body .dq-m .dq-m-box .dq-m-x,html body .dq-m .dq-m-box .dq-m-x:hover,html body .dq-m .dq-m-box .dq-m-x:focus,html body .dq-m .dq-m-box .dq-m-x:active{color:#1d2433!important}
html body .dq-m .dq-m-box .dq-m-x:hover,html body .dq-m .dq-m-box .dq-m-x:focus-visible{background:#dfe6ff!important}
html body .dq-m .dq-m-box .dq-m-share,html body .dq-m .dq-m-box .dq-m-share:hover,html body .dq-m .dq-m-box .dq-m-share:focus,html body .dq-m .dq-m-box .dq-m-share:active{color:#1d2433!important;background:#F1F4F9!important;border:0!important;box-shadow:none!important}
html body .dq-m .dq-m-box .dq-m-share:hover,html body .dq-m .dq-m-box .dq-m-share:focus-visible{background:#dfe6ff!important;color:#13234a!important}
html body .dq-m .dq-m-box .dq-m-share:focus-visible{outline:2px solid #2F57D6!important;outline-offset:2px!important}
/* timer icon */
html body .dq .dq-tbtn:hover,html body .dq .dq-tbtn:focus{color:#1d2433!important;background:#eef2ff!important}
html body .dq .dq-tbtn[aria-pressed="true"],html body .dq .dq-tbtn[aria-pressed="true"]:hover{color:#fff!important;background:#13234a!important}
/* answer options keep dark text on hover */
html body .dq .dq-opt:hover:not(:disabled),html body .dq .dq-opt:focus-visible{color:#1d2433!important}
/* quickfire options */
html body .dq-qf .qf-opt:hover:not(:disabled),html body .dq-qf .qf-opt:focus-visible{color:#1d2433!important;background:#eef2ff!important}

/* v1.6.4: plain-text previous-quiz CTA with a CSS arrow (no unicode glyphs — Clarity was mangling them) */
.dq .btn.dq-next-yday::before,.dq-arch-prev::before{content:"";display:inline-block;width:0;height:0;border-style:solid;border-width:5px 7px 5px 0;border-color:transparent currentColor transparent transparent;margin-right:.45rem;vertical-align:middle}
.dq-arch-nav{display:flex;flex-wrap:wrap;gap:.6rem 1rem;align-items:center;margin:0 0 .8rem;font-size:14.5px}
.dq-arch-nav a{color:#2F57D6;font-weight:600;text-decoration:none;min-height:36px;display:inline-flex;align-items:center}
.dq-arch-nav a:hover,.dq-arch-nav a:focus-visible{color:#13234a;text-decoration:underline}

/* v1.6.8 hover contrast: dark text on a light tint, never white-on-white */
html body .dq .dq-opt:hover:not(:disabled):not(.right):not(.wrong),
html body .dq .dq-opt:focus-visible:not(:disabled):not(.right):not(.wrong),
html body .dq .dq-opt:hover:not(:disabled):not(.right):not(.wrong) span,
html body .dq .dq-opt:hover:not(:disabled):not(.right):not(.wrong) .dq-otx,
html body .dq .dq-opt:focus-visible:not(:disabled):not(.right):not(.wrong) span,
html body .dq .dq-opt:focus-visible:not(:disabled):not(.right):not(.wrong) .dq-otx,
html body .dq-qf .qf-opt:hover:not(:disabled),
html body .dq-qf .qf-opt:focus-visible,
html body .dq .seg button:hover:not(.on),
html body .dq .seg button:focus-visible:not(.on),
html body .dq16-chip:hover:not(:disabled):not(.on),
html body .dq16-chip:focus-visible:not(:disabled):not(.on),
html body .dq-m .dq-chip:hover:not(:disabled):not(.on),
html body .dq-m .dq-chip:focus-visible:not(:disabled):not(.on){
  color:#1d2433!important;
  background:#eef2ff!important;
  border-color:#2F57D6!important;
  text-shadow:none!important;
}
html body .dq .dq-opt:hover:not(:disabled):not(.right):not(.wrong) kbd,
html body .dq .dq-opt:focus-visible:not(:disabled):not(.right):not(.wrong) kbd{
  color:#1d2433!important;
  background:#e8eef8!important;
}

/* v1.6.8 difficulty / topic pills stay a single horizontal row at every width */
html body .dq .dq-ctl{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .75rem;width:100%}
html body .dq .dq-ctl .dq-headline,
html body .dq .dq-ctl .dq-hday{flex:1 1 100%!important;min-width:0!important;max-width:100%!important}
html body .dq .dq-ctl .seg{
  display:flex!important;flex-flow:row nowrap!important;flex:1 1 100%;width:100%;max-width:100%;align-items:center;gap:4px;overflow:auto
}
html body .dq .dq-ctl .seg button,
html body .dq .seg button{
  white-space:nowrap!important;flex:1 0 auto!important;width:auto!important;min-width:auto!important;writing-mode:horizontal-tb!important;word-break:normal!important;display:inline-flex!important;align-items:center;justify-content:center
}
html body .dq .dq16-flt,html body .dq16-flt{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;width:100%}
html body .dq .dq16-chips,html body .dq16-chips{display:flex!important;flex-flow:row wrap;align-items:center;gap:.35rem;width:auto;max-width:100%}
html body .dq .dq16-chip,html body .dq16-chip{white-space:nowrap!important;flex:0 0 auto!important;width:auto!important}

/* suggest link is not a button; sits below Submit with a divider */
.dq-suggest-div{border-top:1px solid #e4e8f0;margin:14px 0 0}
.dq-suggest{margin:10px 0 0;text-align:center;font-size:14px}
.dq-suggest a{color:#2F57D6;text-decoration:underline;text-underline-offset:3px;font-weight:500;background:none;border:0;padding:0}
.dq-more-row,.dq-readq-row{margin:.45rem 0 0;text-align:left}
.dq-m-rounds{margin:.35rem 0 0;text-align:center;font-size:14px;color:#1d2433;font-weight:600}

/* one-at-a-time play */
.dq-step{margin:.4rem 0 1rem}
.dq-step-n{font-weight:700;color:#13234a;margin:0 0 .5rem;font-size:14px}
.dq-step-fb{margin:.8rem 0 0}
.dq-opt-fade{opacity:.45}
.dq-step-next{margin-top:.7rem}
.dq-step-timer{margin-left:auto;font:600 13px system-ui;border:1px solid #c5cfe0;background:#fff;color:#1d2433;border-radius:999px;padding:6px 10px;cursor:pointer;white-space:nowrap}
.dq-step-timer[aria-pressed="true"]{background:#13234a;color:#fff;border-color:#13234a}
.dq-step-clock{font-size:13px;color:#5d6778;margin:.4rem 0 0}
.dq-step-end{text-align:center;padding:1.5rem 0 1rem;position:relative}
.dq-step-end-l{font-weight:650;color:#13234a}
.dq-step-ring-fg{transition:stroke-dasharray 1s ease}
.dq-confetti{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.dq-confetti i{position:absolute;top:-8px;width:8px;height:8px;border-radius:2px;animation:dqconf 1.1s ease-in forwards}
@keyframes dqconf{to{transform:translateY(140px) rotate(180deg);opacity:0}}
@media (prefers-reduced-motion:reduce){
  .dq-confetti,.dq-confetti i{display:none!important;animation:none!important}
  .dq-step-ring-fg{transition:none}
}
.dq-app:has(.dq-list)>.dq-loading,.dq-app:has(.dq-step)>.dq-loading{display:none}

/* v1.6.9: when the page content has its own H1, hide the Kadence (or similar) title hero */
body.dq-hide-theme-title .entry-hero,
body.dq-hide-theme-title .entry-hero .entry-title,
body.dq-hide-theme-title .entry-header > .entry-title,
body.dq-hide-theme-title .kadence-entry-header .entry-title,
body.dq-hide-theme-title .wp-block-post-title,
body.dq-hide-theme-title header.entry-header h1.entry-title { display: none !important; }

/* v1.6.16 end-batch */
.dq-mark.ok,.dq-mark.no{font-weight:700;font-size:1.05em;margin-left:.4rem}
.dq-taken{font-weight:600;color:#334;font-size:.95em}
.dq-play-qf,.btn.dq-play-qf{margin-top:.6rem}
.dq-after{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:.9rem}
.dq-foot-mini{margin-top:1.25rem;font-size:.85rem;color:#556;display:flex;flex-wrap:wrap;gap:.4rem 1rem}
.dq-foot-mini .dq-suggest,.dq-foot-mini .dq-links{margin:0;font-size:inherit}
.dq-league-compact{margin:.75rem 0 0;padding:0;background:none;border:0;box-shadow:none}
.dq-league-compact h3,.dq-league-compact .dq-lg-top,.dq-league-compact .hint{display:none}
.dq-lg-line{margin:0;font-size:.95rem}
.dq-lg-add{background:none;border:0;padding:0;color:#13234a;font:inherit;font-weight:700;text-decoration:underline;cursor:pointer}
.dq-prog{height:4px;background:#e6eaf2;border-radius:99px;overflow:hidden;margin:0 0 .8rem}
.dq-prog>i{display:block;height:100%;background:#13234a;border-radius:99px}
.qf-start-row{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;margin-top:.8rem}
.qf-death-n{font-size:.92rem;color:#445;margin:.4rem 0 0}
.qf-calmer{margin:.9rem 0 0;font-size:.95rem}
.qf-tl{font-weight:800;font-size:1.35rem}
.qf-band-g{color:#157a3a}
.qf-band-y{color:#b58100}
.qf-band-r{color:#c01212}
.qf-bar-thin{height:4px;background:#e6eaf2;border-radius:99px;overflow:hidden}
.qf-bar-thin i{display:block;height:100%;background:#13234a;width:100%}
.qf-missed{margin-top:1.1rem;text-align:left}
.qf-miss-q{font-weight:650;margin:.7rem 0 .15rem}
.qf-miss-a{margin:0 0 .4rem}
button.qf-death.on{background:#13234a;color:#fff}
.dq-arch-list{list-style:none;padding:0;margin:0;display:grid;gap:.6rem}
.dq-arch-card{margin:0}
.dq-arch-link{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.85rem 1rem;border:1px solid #e2e6ef;border-radius:12px;text-decoration:none!important;color:inherit;background:#fff}
.dq-arch-link:hover,.dq-arch-link:focus-visible{border-color:#13234a;box-shadow:0 0 0 2px rgba(19,35,74,.15)}
.dq-arch-date{font-weight:700;text-decoration:none}
.dq-arch-played{color:#157a3a;font-weight:800}
.dq-arch-more{list-style:none;text-align:center;padding:.4rem 0}
body.dq-archive-open .dq-arch-top{display:none}


/* Item 17: whole card is the hit area */
.sl-card, .wp-block-column.sl-card, .sl-cards > .wp-block-column, .dq-arch-card, .dq-more-grid li, .dq-more-g li, .dq-tap-card, .dq-quiz-card, .dq-pack, .dq-m-card { position: relative; cursor: pointer; }
.sl-card a[href]::after, .wp-block-column.sl-card a[href]::after, .sl-cards > .wp-block-column a[href]::after,
.dq-tap-card a[href]::after, .dq-quiz-card a[href]::after, .dq-arch-card a[href]::after, .dq-more-grid li a[href]::after, .dq-more-g li a[href]::after, .dq-pack a[href]::after, .dq-m-card a[href]::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
}

/* Pub + kids heroes */
.dq-hero { margin: 0 auto 1.25rem; max-width: 40rem; }
.dq-hero-card { background: #fff; border: 1px solid #d9e0ef; border-radius: 16px; padding: 1.15rem 1.15rem 1.3rem; box-shadow: 0 8px 24px rgba(17,36,84,.06); }
.dq-hero-l { font-weight: 700; margin: .85rem 0 .4rem; font-size: .95rem; }
.dq-hero-l:first-child { margin-top: 0; }
.dq-hero-acts { display: flex; flex-wrap: wrap; gap: .6rem .75rem; align-items: center; margin-top: 1.15rem; }
.dq-hero-start { font-size: 1.15rem; padding: .7rem 1.4rem; }
.dq-pub-hero .dq-hero-acts { flex-direction: column; align-items: flex-start; gap: .85rem; }
.dq-pub-hero .dq-hero-start { margin: 0; }
.dq-pub-hero a.btn.ghost.dq-hero-qa,
.dq-pub-hero .dq-hero-qa {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff !important; color: #13234a !important;
  border: 1px solid #13234a !important; border-radius: 10px;
  text-decoration: none !important; font: inherit; font-weight: 600;
  min-height: 40px; padding: .55rem 1.15rem !important; cursor: pointer;
  box-shadow: none !important;
}
.dq-pub-hero a.btn.ghost.dq-hero-qa:hover,
.dq-pub-hero .dq-hero-qa:hover {
  background: #e8eef8 !important; color: #13234a !important; border-color: #13234a !important;
}
.dq-hero-rules { background: none; border: 0; color: #1e3a8a; cursor: pointer; text-decoration: underline; font: inherit; padding: 0; font-size: .92rem; }
.dq-hero-ov { position: fixed; inset: 0; background: rgba(15,23,42,.45); z-index: 10050; display: flex; align-items: flex-end; justify-content: center; }
.dq-hero-ov[hidden] { display: none !important; }
.dq-hero-rules-pn { background: #fff; width: min(40rem, 100%); max-height: min(88vh, 40rem); overflow: auto; border-radius: 16px 16px 0 0; padding: 0 1.1rem 1.25rem; }
.dq-hero-rules-b { font-size: .98rem; }
@media (min-width: 720px) {
  .dq-hero-ov { align-items: center; }
  .dq-hero-rules-pn { border-radius: 16px; }
}
@media (max-width: 640px) {
  .dq-hero-more-rounds { display: flex; }
}

/* Kids pictures + results */
.dq-pic-lg img, .dq-step .dq-pic img { display: block; width: min(100%, 28rem); height: auto; max-height: 16rem; margin: .4rem auto .7rem; object-fit: contain; border-radius: 12px; background: #f4f7fb; }
.dq-pic-sm { float: left; margin: 0 .75rem .4rem 0; }
.dq-pic-sm img { width: 64px; height: 64px; object-fit: contain; border-radius: 8px; background: #f4f7fb; display: block; }
.dq-kids-review .dq-item { overflow: hidden; }
.dq-kids-res { text-align: center; margin: .5rem 0 1rem; }
.dq-kids-stars { font-size: 1.8rem; letter-spacing: .15em; color: #d97706; margin: .2rem 0 .8rem; }
.dq-kids-res-acts { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.dq-step-ans { font-weight: 600; margin: .35rem 0; }
.dq-kids-hero .dq16-chips { flex-wrap: wrap; }

/* Suggest form */
.dq-suggest { max-width: 36rem; }
.dq-suggest label { display: block; font-weight: 600; margin: .85rem 0 .3rem; }
.dq-suggest .dq-hint { font-weight: 500; color: #445; font-size: .9rem; }
.dq-suggest input, .dq-suggest textarea { width: 100%; padding: .55rem .7rem; border: 1px solid #c9d2e3; border-radius: 8px; font: inherit; }
.dq-suggest textarea { min-height: 6rem; }
.dq-suggest .dq-suggest-ok { color: #166534; font-weight: 600; }
.dq-suggest .dq-suggest-err { color: #991b1b; font-weight: 600; }


/* v1.6.18: compact quiz H1, contrast, foot nav, picture-step, QA fold */
html body.single .entry-content > h1.wp-block-heading:first-child,
html body.single .entry-content h1.wp-block-heading,
html body .entry-content h1.sl-h1,
html body h1.sl-h1,
html body .entry-content h1.dq-h1,
html body.page .entry-content > h1:first-of-type {
  font-size: 23px !important;
  line-height: 1.2 !important;
  margin: 0 0 .55rem !important;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: #13234a;
}
@media (min-width: 768px) {
  html body.single .entry-content > h1.wp-block-heading:first-child,
  html body.single .entry-content h1.wp-block-heading,
  html body .entry-content h1.sl-h1,
  html body h1.sl-h1,
  html body .entry-content h1.dq-h1,
  html body.page .entry-content > h1:first-of-type {
    font-size: 29px !important;
    line-height: 1.2 !important;
  }
}

/* Contrast for small filter chips only (Options panel, hero chips, results chips):
   selected = navy + white; hover (unselected) = light navy tint + navy text.
   Answer option cards are NOT included — they use the live light-blue style below. */
html body .dq16-chip,
html body .dq16-pn .dq16-chip,
html body .dq .seg button,
html body .dq-m .dq-chip {
  color: #13234a;
  background: #fff;
}
html body .dq16-chip:hover:not(:disabled):not(.on):not([aria-checked="true"]):not(.right):not(.wrong),
html body .dq16-chip:focus-visible:not(:disabled):not(.on):not([aria-checked="true"]):not(.right):not(.wrong),
html body .dq .seg button:hover:not(.on):not(:disabled),
html body .dq .seg button:focus-visible:not(.on):not(:disabled),
html body .dq-m .dq-chip:hover:not(.on):not(:disabled),
html body .dq-m .dq-chip:focus-visible:not(.on):not(:disabled),
html body .dq16-optbtn:hover:not(.on),
html body .dq16-optbtn:focus-visible:not(.on),
html body .dq16-pn-x:hover,
html body .dq16-pn-x:focus-visible,
html body .btn.ghost:hover,
html body .btn.ghost:focus-visible,
html body button.dq-more:hover,
html body button.dq-more:focus-visible {
  background: #e8eef8 !important;
  color: #13234a !important;
  border-color: #9aa8c7 !important;
  text-shadow: none !important;
}
html body .dq16-chip.on,
html body .dq16-chip[aria-checked="true"],
html body .dq .seg button.on,
html body .dq-m .dq-chip.on,
html body .dq16-optbtn.on {
  background: #13234a !important;
  color: #fff !important;
  border-color: #13234a !important;
  text-shadow: none !important;
}
html body .dq16-chip.on:hover,
html body .dq16-chip.on:focus-visible,
html body .dq16-chip[aria-checked="true"]:hover,
html body .dq16-chip[aria-checked="true"]:focus-visible,
html body .dq .seg button.on:hover,
html body .dq .seg button.on:focus-visible,
html body .dq-m .dq-chip.on:hover,
html body .dq16-optbtn.on:hover,
html body .dq16-optbtn.on:focus-visible {
  background: #1a2f63 !important;
  color: #fff !important;
  border-color: #1a2f63 !important;
}

/* v1.6.21: answer option cards match live quizoftheday.uk —
   light blue tint, blue border, blue radio, dark text. Never navy+white. */
html body .dq button.dq-opt:not(.right):not(.wrong),
html body .dq button.dq-opt:not(.right):not(.wrong) .dq-otx,
html body .dq button.dq-opt:not(.right):not(.wrong) span,
html body .dq button.dq-opt:not(.right):not(.wrong) kbd {
  color: #1f2633 !important;
  -webkit-text-fill-color: currentColor;
  text-shadow: none !important;
}
html body .dq button.dq-opt:not(:disabled):not(.right):not(.wrong):not(.sel):not([aria-checked="true"]) {
  background: #fff !important;
  border-color: #dfe5ef !important;
  color: #1f2633 !important;
}
html body .dq .dq-rad {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #9aa4b5;
  background: #fff;
  box-sizing: border-box;
  transition: all .15s;
}
html body .dq button.dq-opt:hover:not(:disabled):not(.right):not(.wrong),
html body .dq button.dq-opt:focus-visible:not(:disabled):not(.right):not(.wrong),
html body .dq button.dq-opt:active:not(:disabled):not(.right):not(.wrong) {
  background: #F3F6FF !important;
  border-color: #2F57D6 !important;
  color: #1f2633 !important;
}
html body .dq button.dq-opt:hover:not(:disabled):not(.right):not(.wrong) .dq-otx,
html body .dq button.dq-opt:hover:not(:disabled):not(.right):not(.wrong) span,
html body .dq button.dq-opt:hover:not(:disabled):not(.right):not(.wrong) kbd,
html body .dq button.dq-opt:focus-visible:not(:disabled):not(.right):not(.wrong) .dq-otx,
html body .dq button.dq-opt:focus-visible:not(:disabled):not(.right):not(.wrong) span,
html body .dq button.dq-opt:focus-visible:not(:disabled):not(.right):not(.wrong) kbd {
  color: #1f2633 !important;
  background: transparent !important;
  text-shadow: none !important;
  -webkit-text-fill-color: currentColor;
}
html body .dq button.dq-opt:hover:not(:disabled):not(.right):not(.wrong) .dq-rad,
html body .dq button.dq-opt:focus-visible:not(:disabled):not(.right):not(.wrong) .dq-rad {
  border-color: #2F57D6;
}
html body .dq button.dq-opt.sel:not(.right):not(.wrong),
html body .dq button.dq-opt[aria-checked="true"]:not(.right):not(.wrong),
html body .dq button.dq-opt.sel:not(.right):not(.wrong):hover,
html body .dq button.dq-opt[aria-checked="true"]:not(.right):not(.wrong):hover,
html body .dq button.dq-opt.sel:not(.right):not(.wrong):focus,
html body .dq button.dq-opt[aria-checked="true"]:not(.right):not(.wrong):focus,
html body .dq button.dq-opt.sel:not(.right):not(.wrong):focus-visible,
html body .dq button.dq-opt[aria-checked="true"]:not(.right):not(.wrong):focus-visible,
html body .dq button.dq-opt.sel:not(.right):not(.wrong):active,
html body .dq button.dq-opt[aria-checked="true"]:not(.right):not(.wrong):active {
  background: #EEF2FF !important;
  border-color: #2F57D6 !important;
  color: #1f2633 !important;
  text-shadow: none !important;
}
html body .dq button.dq-opt.sel:not(.right):not(.wrong) .dq-otx,
html body .dq button.dq-opt[aria-checked="true"]:not(.right):not(.wrong) .dq-otx,
html body .dq button.dq-opt.sel:not(.right):not(.wrong) span,
html body .dq button.dq-opt[aria-checked="true"]:not(.right):not(.wrong) span,
html body .dq button.dq-opt.sel:not(.right):not(.wrong) kbd,
html body .dq button.dq-opt[aria-checked="true"]:not(.right):not(.wrong) kbd,
html body .dq button.dq-opt.sel:not(.right):not(.wrong):hover .dq-otx,
html body .dq button.dq-opt[aria-checked="true"]:not(.right):not(.wrong):hover .dq-otx,
html body .dq button.dq-opt.sel:not(.right):not(.wrong):hover span,
html body .dq button.dq-opt[aria-checked="true"]:not(.right):not(.wrong):hover span,
html body .dq button.dq-opt.sel:not(.right):not(.wrong):hover kbd,
html body .dq button.dq-opt[aria-checked="true"]:not(.right):not(.wrong):hover kbd {
  color: #1f2633 !important;
  background: transparent !important;
  -webkit-text-fill-color: currentColor;
  text-shadow: none !important;
}
html body .dq button.dq-opt.sel .dq-rad,
html body .dq button.dq-opt[aria-checked="true"]:not(.right):not(.wrong) .dq-rad {
  border-color: #2F57D6;
  box-shadow: inset 0 0 0 4px #fff;
  background: #2F57D6;
}
html body .dq-qf .qf-opt:hover:not(:disabled):not(.right):not(.wrong),
html body .dq-qf .qf-opt:focus-visible:not(:disabled):not(.right):not(.wrong) {
  background: #F2F5FF !important;
  border-color: #3D6BFF !important;
  color: #141922 !important;
}

/* marked answers keep green/red, including hover — live colours */
html body .dq button.dq-opt.right,
html body .dq button.dq-opt.right:hover,
html body .dq button.dq-opt.right:focus,
html body .dq button.dq-opt.right:focus-visible { background: #E8F7EF !important; color: #0f5132 !important; border-color: #2F9E63 !important; }
html body .dq button.dq-opt.wrong,
html body .dq button.dq-opt.wrong:hover,
html body .dq button.dq-opt.wrong:focus,
html body .dq button.dq-opt.wrong:focus-visible { background: #FDECEA !important; color: #7a1a12 !important; border-color: #D9483B !important; }
html body .dq button.dq-opt.right span, html body .dq button.dq-opt.right .dq-otx, html body .dq button.dq-opt.right kbd,
html body .dq button.dq-opt.right:hover span, html body .dq button.dq-opt.right:hover .dq-otx, html body .dq button.dq-opt.right:hover kbd { color: #0f5132 !important; background: transparent !important; }
html body .dq button.dq-opt.wrong span, html body .dq button.dq-opt.wrong .dq-otx, html body .dq button.dq-opt.wrong kbd,
html body .dq button.dq-opt.wrong:hover span, html body .dq button.dq-opt.wrong:hover .dq-otx, html body .dq button.dq-opt.wrong:hover kbd { color: #7a1a12 !important; background: transparent !important; }
html body .dq button.dq-opt.right .dq-rad { border-color: #2F9E63; background: #2F9E63; box-shadow: inset 0 0 0 4px #fff; }
html body .dq button.dq-opt.wrong .dq-rad { border-color: #D9483B; background: #D9483B; box-shadow: inset 0 0 0 4px #fff; }

/* Primary buttons stay navy + white on hover */
html body .dq .btn:not(.ghost):not(.dq-play-qf):not(.dq-foot-link):hover,
html body .dq .btn:not(.ghost):not(.dq-play-qf):not(.dq-foot-link):focus-visible,
html body .dq-m .btn:not(.ghost):hover,
html body .dq16-pn-f .btn:not(.ghost):hover {
  background: #1a2f63 !important;
  color: #fff !important;
  border-color: #1a2f63 !important;
}

/* Lower nav: real outlined navy buttons (not text links), side by side, centred, clear space below Submit */
.dq-foot-nav {
  margin-top: 2.4rem;
  padding-top: 1.15rem;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .75rem 1rem;
  clear: both;
}
html body .dq-foot-nav a,
html body .dq-foot-nav button,
html body .dq-foot-nav .btn,
html body .dq-foot-nav .dq-play-qf,
html body .dq-foot-nav .dq-more,
html body .dq-foot-nav .dq-play-today,
html body .dq-foot-nav .dq-foot-btn,
html body .dq-foot-nav .dq-foot-link,
html body a.btn.dq-play-qf,
html body a.dq-play-qf,
html body button.dq-foot-link,
html body button.dq-foot-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: #fff !important;
  color: #13234a !important;
  border: 1.5px solid #13234a !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  text-decoration: none !important;
  font: inherit !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  cursor: pointer;
  padding: .55rem 1.2rem !important;
  min-height: 44px !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  -webkit-text-fill-color: currentColor;
}
html body .dq-foot-nav a:hover,
html body .dq-foot-nav a:focus-visible,
html body .dq-foot-nav button:hover,
html body .dq-foot-nav button:focus-visible,
html body .dq-foot-nav .btn:hover,
html body .dq-foot-nav .btn:focus-visible,
html body .dq-foot-nav .dq-play-qf:hover,
html body .dq-foot-nav .dq-more:hover,
html body a.dq-play-qf:hover,
html body button.dq-foot-btn:hover,
html body button.dq-foot-link:hover {
  background: #e8eef8 !important;
  color: #13234a !important;
  border-color: #13234a !important;
  text-decoration: none !important;
}

/* Hide leftover suggest / report if anything still injects them */
.dq-foot-mini, .dq-suggest-div, p.dq-suggest, .dq-links.dq-foot-mini, .dq-qf-under { display: none !important; }
/* Keep the real suggest form on /suggest-a-question/ */
form.dq-suggest, form.dq-suggest p.dq-suggest, .entry-content form.dq-suggest { display: block !important; }

/* Compact one-at-a-time picture quiz (flags + road signs): small image, fits the first screen */
.dq-step-compact { margin: .15rem 0 .4rem; }
.dq-step-compact .dq-q, .dq-step-compact .dq-step-q { font-size: 1.05rem; line-height: 1.3; margin: .25rem 0 .55rem; }
.dq-step-compact .dq-pic, .dq-step-compact .dq-pic-flag { margin: .15rem auto .45rem; text-align: center; }
.dq-step-compact .dq-pic img,
.dq-step-compact .dq-pic-flag img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 150px;
  max-height: 150px;
  margin: 0 auto;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
}
@media (max-width: 480px) {
  .dq-step-compact .dq-pic img,
  .dq-step-compact .dq-pic-flag img { max-width: 140px; max-height: 140px; }
}
@media (min-width: 768px) {
  .dq-step-compact .dq-pic img,
  .dq-step-compact .dq-pic-flag img { max-width: 180px; max-height: 180px; }
}
.dq-step-compact .dq-opts { gap: .4rem; }
.dq-step-compact .dq-opt { min-height: 44px; }
.dq-step-rescard { margin: .4rem auto 0; max-width: 40rem; }
.dq-missed-h { font-size: 1.05rem; margin: 1rem 0 .5rem; }
.dq-step-missed { list-style: none; padding: 0; margin: 0; }
.dq-step-missed .dq-item { overflow: hidden; margin: 0 0 .75rem; padding: .6rem 0; border-top: 1px solid #e8edf4; }
.dq-step-missed .dq-pic-sm { float: left; margin: 0 .75rem .3rem 0; }
.dq-step-ans { font-weight: 600; margin: .3rem 0; color: #13234a; }

/* SEO Q&A list: collapsed and pushed below the fold */
/* v1.6.38: was min(70vh, 28rem) — that left a huge gap under the answers heading */
details.dq16-qa-fold { margin-top: 0.75rem; padding-top: 0.25rem; }
details.dq16-qa-fold > summary {
  cursor: pointer;
  font-weight: 700;
  color: #13234a;
  font-size: 1.05rem;
  padding: .4rem 0;
}


/* v1.6.19: header logo is a navy serif Q on a white rounded app-icon square, site name beside it */
/* Site name slightly smaller, balanced with the 32–36px app-icon logo */
#masthead .site-title,
#masthead .site-title a,
#masthead .site-branding .site-title,
#masthead .site-branding .site-title a {
  font-size: 20px !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
}
#mobile-header .site-title,
#mobile-header .site-title a,
#mobile-header .site-branding .site-title,
#mobile-header .site-branding .site-title a {
  font-size: 17px !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
}
@media (max-width: 766px) {
  #masthead .site-title,
  #masthead .site-title a,
  #masthead .site-branding .site-title,
  #masthead .site-branding .site-title a,
  #mobile-header .site-title,
  #mobile-header .site-title a {
    font-size: 17px !important;
  }
}

#masthead .site-branding,
#mobile-header .site-branding {
  display: flex !important;
  align-items: center !important;
  gap: .6rem;
}
#masthead .custom-logo-link,
#mobile-header .custom-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  flex: 0 0 auto;
}
#masthead .custom-logo,
#mobile-header .custom-logo,
#masthead .site-branding img.custom-logo,
#mobile-header .site-branding img.custom-logo,
#masthead .site-branding .custom-logo,
#mobile-header .site-branding .custom-logo {
  width: 36px !important;
  height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0,0,0,.18);
}
@media (max-width: 766px) {
  #masthead .custom-logo,
  #mobile-header .custom-logo,
  #masthead .site-branding img.custom-logo,
  #mobile-header .site-branding img.custom-logo,
  #masthead .site-branding .custom-logo,
  #mobile-header .site-branding .custom-logo {
    width: 32px !important;
    height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    border-radius: 8px;
  }
}

/* v1.6.24: pub quiz hero tidy + one-at-a-time feedback */
.dq-pub-hero .dq-hero-card{display:flex;flex-direction:column;padding:1rem 1rem 1.1rem}
.dq-pub-hero .dq-hero-l{margin:1rem 0 .45rem!important;padding:0!important;font-size:.95rem;line-height:1.3}
.dq-pub-hero .dq-hero-l:first-child{margin-top:0!important}
.dq-pub-hero .dq16-chips{display:flex!important;flex-wrap:wrap;gap:.45rem!important;margin:0!important;padding:0!important}
.dq-pub-hero .dq16-chips .dq16-chl{display:none}
.dq-pub-hero .dq16-chip{margin:0!important;min-height:38px;padding:.4rem .9rem!important;line-height:1.2;font-size:.92rem}
.dq-pub-hero .dq-hero-more-rounds{margin-top:.45rem!important}
.dq-pub-hero .dq-hero-acts{align-items:stretch!important;gap:.6rem!important;margin-top:1.15rem!important}
.dq-pub-hero .dq-hero-start{width:100%;display:flex;justify-content:center;text-align:center;margin:0!important}
.dq-pub-hero a.btn.ghost.dq-hero-qa,.dq-pub-hero .dq-hero-qa{width:100%;display:flex!important;justify-content:center;text-align:center;margin:0!important;box-sizing:border-box}
.dq-pub-hero .dq-hero-rules{align-self:center;margin-top:.1rem}
.dq[data-setname="pub"] .dq-step{margin-top:.25rem}
@media (max-width:767px){
 .dq-pub-hero .dq-hero-card{min-height:calc(100svh - 150px);box-sizing:border-box}
 .dq-pub-hero .dq-hero-acts{margin-top:auto!important;padding-top:1.15rem}
}
.dq[data-setname="pub"] .dq-step-fb{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem .6rem;margin-top:.6rem}
.dq[data-setname="pub"] .dq-step-fb>p{margin:0!important}
.dq[data-setname="pub"] .dq-step-fb .dq-step-ans{font-weight:700;flex:1 1 70%}
.dq[data-setname="pub"] .dq-step-fb .dq-x{flex:1 1 100%;color:#475569;font-size:.95rem}
.dq[data-setname="pub"] .dq-step-next{flex:1 1 100%;width:100%;margin-top:.35rem!important;justify-content:center}
.dq[data-setname="pub"] .dq-step .dq-opt{margin-bottom:0}

/* v1.6.25: end-of-quiz buttons (flags, road signs, kids) */
.dq-end-acts{margin:1.25rem 0 .5rem;text-align:center}
.dq-end-main{display:flex;flex-wrap:wrap;justify-content:center;gap:.6rem}
.dq-end-main .btn{min-width:180px;justify-content:center}
.dq-end-acts .dq-end-nav{display:flex!important;flex-wrap:wrap;justify-content:center;gap:12px;margin:22px auto 8px!important;padding:0!important;border:0!important}
.dq-end-acts .dq-foot-btn{border:1.5px solid #14224a!important;color:#14224a!important;background:#fff!important;text-decoration:none}
.dq-end-acts .dq-foot-btn:hover{background:#eef2fb!important}
.dq-kids-res .dq-taken,.dq-step-rescard .dq-taken{font-size:1rem;font-weight:700;color:#1d2433;margin-left:.25rem}
/* v1.6.25: kids review: picture left, text right, answers full width (no float wrap) */
.dq-kids-review .dq-item{display:grid;grid-template-columns:64px 1fr;column-gap:.75rem;align-items:start;overflow:visible}
.dq-kids-review .dq-item>.dq-pic-sm{float:none;margin:0;grid-row:1 / span 2}
.dq-kids-review .dq-item>.dq-q{grid-column:2;margin-top:0}
.dq-kids-review .dq-item>.dq-step-ans{grid-column:2;margin:0 0 .4rem}
.dq-kids-review .dq-item>.dq-opts,.dq-kids-review .dq-item>.dq-x{grid-column:1 / -1}
.dq-kids-review .dq-item:not(:has(> .dq-pic-sm))>*{grid-column:1 / -1}
/* v1.6.25: "Have great questions?" block far down the page */
.dq-sendq-box{max-width:640px;margin:2.5rem auto 1.5rem;padding:1.25rem 1rem;text-align:center;border-top:1px solid #e5e9f2}
.dq-sendq-box .dq-sendq{margin:0 0 .75rem}
.dq-sendq-box .dq-sendbtn{margin:0}
/* v1.6.25: cat pages use the History control row */
.dq-cat-ctl .dq16-flt{margin-left:auto}
.dq-kids-review{padding-left:0!important;margin-left:0!important;list-style:none}
.dq16-optbtn .dq16-optn{display:none!important}

/* v1.6.27: daily result popup - centred, ring is the focus, everything else a touch smaller, even section spacing */
html body .dq-m.dq-m-daily{display:flex!important;align-items:center!important;justify-content:center!important;padding:12px!important;box-sizing:border-box!important;overflow:hidden!important}
html body .dq-m.dq-m-daily .dq-m-box{margin:auto!important;width:min(420px,100%)!important;max-width:420px!important;max-height:calc(100dvh - 24px)!important;overflow-y:auto!important;overscroll-behavior:contain;box-sizing:border-box!important;padding:18px 16px 16px!important;border-radius:18px!important;align-self:center!important;transform:none!important;position:relative;text-align:center}
html body .dq-m.dq-m-daily .dq-m-title{font-size:16px!important;font-weight:650!important;line-height:1.3!important;margin:2px 34px 12px!important}
html body .dq-m.dq-m-daily .dq-m-score{display:flex!important;flex-direction:column!important;align-items:center!important;gap:6px!important;margin:0 0 6px!important}
html body .dq-m.dq-m-daily .dq-ring{width:118px!important;height:118px!important;margin:0 auto!important}
html body .dq-m.dq-m-daily .dq-ring span{position:absolute!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;font-size:19px!important;color:#566070}
html body .dq-m.dq-m-daily .dq-ring strong{font-size:42px!important;line-height:1!important;font-weight:800}
html body .dq-m.dq-m-daily .dq-m-score p.dq-taken{font-size:13.5px!important;font-weight:700;margin:0!important}
html body .dq-m.dq-m-daily .dq-m-line{display:flex!important;justify-content:center!important;flex-wrap:wrap;margin:0 0 14px!important;font-size:12.5px!important;gap:2px 10px!important}
html body .dq-m.dq-m-daily .dq-m-fb{display:block!important;margin:0 0 14px!important;padding:12px 0 0!important;border-top:1px solid #eef1f6}
html body .dq-m.dq-m-daily .dq-m-q{margin:0 0 7px!important;font-size:12.5px!important;font-weight:600;color:#5d6778;text-align:center}
html body .dq-m.dq-m-daily .dq-m-chips{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:6px 5px!important;margin:0 auto!important;max-width:360px}
html body .dq-m.dq-m-daily .dq-m-chips+.dq-m-q{margin-top:12px!important}
html body .dq-m.dq-m-daily .dq-m-chips .dq-chip{font-size:12px!important;min-width:0!important;min-height:30px!important;height:30px;padding:0 9px!important;white-space:nowrap;line-height:28px!important;margin:0!important}
html body .dq-m.dq-m-daily .dq-m-thx{flex-basis:100%;font-size:12px;margin-top:2px}
html body .dq-m.dq-m-daily .dq-m-acts{display:grid!important;grid-template-columns:1fr!important;gap:7px!important;margin:0!important}
html body .dq-m.dq-m-daily .dq-m-acts .btn{min-height:38px!important;height:38px;padding:0 14px!important;font-size:14px!important;width:100%;box-sizing:border-box}
@media (max-height:700px){html body .dq-m.dq-m-daily .dq-ring{width:100px!important;height:100px!important}html body .dq-m.dq-m-daily .dq-ring strong{font-size:36px!important}html body .dq-m.dq-m-daily .dq-m-acts .btn{min-height:34px!important;height:34px}}
/* v1.6.27: daily quiz footer - Submit centred, "N of 10 answered" centred directly below it */
html body .dq[data-mode="daily"] .dq-foot .dq-subrow{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:8px!important;text-align:center!important}
html body .dq[data-mode="daily"] .dq-foot .dq-subrow .dq-submit{margin:0 auto!important}
html body .dq[data-mode="daily"] .dq-foot .dq-subrow .dq-count{margin:0!important;text-align:center!important;display:block}

/* v1.6.28: daily quiz question-title ✓/✗ badge - plain coloured glyph, no pill behind it */
html body .dq[data-mode="daily"] .dq-mark.ok,
html body .dq[data-mode="daily"] .dq-mark.no{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;font-size:1.05em;font-weight:800;line-height:1;vertical-align:baseline;margin-left:.4rem}
html body .dq[data-mode="daily"] .dq-mark.ok{color:#2F9E63!important}
html body .dq[data-mode="daily"] .dq-mark.no{color:#D9483B!important}
/* v1.6.28: daily result popup - bigger score ring (140px, from 118), score scaled to match */
html body .dq-m.dq-m-daily .dq-ring{width:140px!important;height:140px!important}
html body .dq-m.dq-m-daily .dq-ring span{font-size:22px!important}
html body .dq-m.dq-m-daily .dq-ring strong{font-size:50px!important}
@media (max-height:700px){html body .dq-m.dq-m-daily .dq-ring{width:118px!important;height:118px!important}html body .dq-m.dq-m-daily .dq-ring strong{font-size:42px!important}html body .dq-m.dq-m-daily .dq-ring span{font-size:19px!important}}
/* v1.6.29: homepage daily quiz after Submit - answer labels, slim result area, stats toggle */
html body .dq .dq-foot .dq-card-slim{padding:8px 0 4px!important;margin:0!important;text-align:center;border:0!important;box-shadow:none!important;background:transparent!important}
html body .dq .dq-foot .dq-card-slim .dq-score{margin:0!important}
html body .dq .dq-foot .dq-card-slim .dq-status:empty{display:none}
html body .dq .dq-foot .dq-grid{display:none!important}
html body .dq .dq-stats-wrap{text-align:center;margin:12px 0 4px}
html body .dq .dq-stats-wrap .dq-stats-tg{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 18px;font-size:14px;font-weight:600;border-radius:999px;background:#fff;border:1.5px solid #2F57D6;color:#2F57D6;box-shadow:none}
html body .dq .dq-stats-wrap .dq-stats[hidden]{display:none!important}
html body .dq .dq-stats-wrap .dq-stats{text-align:left;margin-top:14px}
html.dq-daily-done body .sl-below{display:none!important}
/* v1.6.29: every quiz page gets a heading - show the quiz headline when the page has no visible H1 of its own (e.g. archive dates); pages with a visible H1 title above the quiz keep it hidden (no duplicate) */
html body:not(.home):not(:has(h1:not(.dq-sr-only):not(.screen-reader-text):not(.sr-only))) .dq .dq-ctl .dq-headline{display:block!important;visibility:visible!important;margin:0 0 4px!important}
/* v1.6.30: daily answers view - options keep the radio look (no tick/cross glyphs, no Answer pills); explanation starts with a plain bold "Ans:" */
html body .dq[data-mode="daily"] .dq-item .dq-x::before{content:"Ans: ";font-weight:700;background:none;border:0;padding:0}
/* v1.6.32: Show results + Show stats - small outlined buttons on one centred row under the score */
html body .dq .dq-stats-wrap .dq-stats-row{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px}
html body .dq .dq-stats-wrap .dq-showres-sm{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 18px;margin:0!important;font-size:14px;font-weight:600;border-radius:999px;background:#fff!important;border:1.5px solid #2F57D6!important;color:#2F57D6!important;box-shadow:none!important;width:auto!important}
html body .dq .dq-stats-wrap .dq-stats-tg{margin:0!important}
html body .dq .dq-stats-wrap .dq-stats-row .dq-stats-tg,html body .dq .dq-stats-wrap .dq-stats-row .dq-showres-sm{display:inline-flex!important;align-items:center;justify-content:center;min-height:36px!important;padding:0 18px!important;font-size:14px!important;font-weight:600!important;border-radius:999px!important;background:#fff!important;border:1.5px solid #c9d3e6!important;color:#2F57D6!important;box-shadow:none!important;width:auto!important}
html body .dq .dq-stats-wrap .dq-stats-row .dq-stats-tg:hover,html body .dq .dq-stats-wrap .dq-stats-row .dq-showres-sm:hover{border-color:#2F57D6!important}
/* v1.6.31: pub quiz (one question at a time) - quiz-only section, compact mobile setup, A-D, numbering, progress %, back, plain verdict, clean answers view */
html body .dq[data-setname="pub"]{min-height:calc(100svh - 150px);margin-bottom:48px!important;box-sizing:border-box}
/* v1.6.38: flags + UK road signs — quiz-only first viewport (same rule as pub); offset tuned so following headings stay below the fold */
html body .dq[data-setname="flags"],
html body .dq[data-setname="uk-road-signs"]{min-height:calc(100svh - 150px);margin-bottom:48px!important;box-sizing:border-box}
@media (max-width:480px) and (max-height:760px){
  /* keep Next on-screen at 360x740 after answering, without letting the next heading peek */
  html body .dq[data-setname="flags"] .dq-step-compact .dq-pic img,
  html body .dq[data-setname="flags"] .dq-step-compact .dq-pic-flag img,
  html body .dq[data-setname="uk-road-signs"] .dq-step-compact .dq-pic img,
  html body .dq[data-setname="uk-road-signs"] .dq-step-compact .dq-pic-flag img{max-width:100px!important;max-height:100px!important}
  html body .dq[data-setname="flags"] .dq-step-compact .dq-opt,
  html body .dq[data-setname="uk-road-signs"] .dq-step-compact .dq-opt{min-height:40px}
}
@media (max-width:767px){
 html body .dq[data-setname="pub"] .dq-pub-hero .dq-hero-card{min-height:0!important}
 html body .dq[data-setname="pub"] .dq-pub-hero .dq-hero-acts{margin-top:1.15rem!important;padding-top:0!important}
}
html body .dq[data-setname="pub"] .dq-ctl .dq-step-back{margin-right:auto!important;order:-1;background:none!important;border:0!important;box-shadow:none!important;padding:6px 2px!important;min-height:0!important;font-size:14px;font-weight:600;color:#2F57D6!important;cursor:pointer;text-decoration:none}
html body .dq[data-setname="pub"] .dq-ctl .dq-step-back:hover{text-decoration:underline}
html body .dq[data-setname="pub"] .dq-step-count{margin:0 0 6px!important;font-size:13px;font-weight:600;color:#5b6577;text-align:left}
html body .dq[data-setname="pub"] .dq-step-q .dq-qn,html body .dq[data-setname="pub"] .dq-step-review .dq-qn{font-weight:800}
html body .dq[data-setname="pub"] button.dq-opt kbd{display:inline-flex!important;align-items:center;justify-content:flex-start;flex:0 0 auto;min-width:1.5em;margin:0 6px 0 0;padding:0;border:0;background:none!important;box-shadow:none;font:inherit;font-weight:700;color:#5b6577!important}
html body .dq[data-setname="pub"] button.dq-opt kbd::after{content:"."}
html body .dq[data-setname="pub"] button.dq-opt.right kbd{color:#0f5132!important}
html body .dq[data-setname="pub"] button.dq-opt.wrong kbd{color:#7a1a12!important}
html body .dq[data-setname="pub"] .dq-step-fb .dq-verdict{margin:0!important;padding:0!important;background:none!important;border:0!important;font-weight:800;font-size:1rem;line-height:1.3}
html body .dq[data-setname="pub"] .dq-step-fb .dq-verdict.ok{color:#2F9E63}
html body .dq[data-setname="pub"] .dq-step-fb .dq-verdict.no{color:#D9483B}
html body .dq[data-setname="pub"] .dq-step-review .dq-q{display:block;line-height:1.35}
html body .dq[data-setname="pub"] .dq-step-review .dq-mark.ok,html body .dq[data-setname="pub"] .dq-step-review .dq-mark.no{display:inline!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;margin-left:.35rem;font-size:1.05em;font-weight:800;line-height:1;vertical-align:baseline;white-space:nowrap}
html body .dq[data-setname="pub"] .dq-step-review .dq-mark.ok{color:#2F9E63!important}
html body .dq[data-setname="pub"] .dq-step-review .dq-mark.no{color:#D9483B!important}
html body .dq[data-setname="pub"] .dq-step-review .dq-mark::after,html body .dq[data-setname="pub"] .dq-step-review .dq-mark::before{content:none!important}
html body .dq[data-setname="pub"] .dq-step-review .dq-x::before{content:"Ans: ";font-weight:700}
html body .dq[data-setname="pub"] .dq-step-review ~ .dq-end-acts{margin-top:20px}
html body .dq[data-setname="pub"] button.dq-opt{gap:8px!important}
html body .dq[data-setname="pub"] button.dq-opt kbd{min-width:0!important;margin:0!important}
html body .dq[data-setname="pub"] .dq-ctl .dq-step-back{align-self:center}
html body .dq[data-setname="pub"] .dq-step-fb{justify-content:center;text-align:center}
html body .dq[data-setname="pub"] .dq-step-fb .dq-verdict{flex:1 1 100%;text-align:center}
html body .dq[data-setname="pub"] .dq-step-fb .dq-step-ans{flex:1 1 100%!important;text-align:center}
html body .dq[data-setname="pub"] .dq-step-review .dq-pic{float:none!important;display:block!important;margin:0 0 8px!important;width:auto!important;max-width:100%}
html body .dq[data-setname="pub"] .dq-step-review .dq-item::after{content:"";display:table;clear:both}
/* v1.6.33: pub quiz - small secondary "Home >" link at the top */
html body .dq-crumb{display:block;margin:0 0 6px!important;font-size:13px;line-height:1.4;color:#5b6577}
html body .dq-crumb a{color:#2F57D6!important;text-decoration:none;font-weight:600}
html body .dq-crumb a:hover{text-decoration:underline}
html body .dq-crumb .dq-crumb-sep{color:#8a93a3;margin-left:2px}
/* v1.6.34: pub quiz - Next button auto width, centred */
html body .dq[data-setname="pub"] .dq-step-fb .dq-step-next{flex:0 0 auto!important;width:auto!important;min-width:160px!important;max-width:100%;padding:12px 40px!important;margin:.35rem auto 0!important;display:inline-flex!important;justify-content:center}
/* v1.6.34: Quickfire page - quiz section fills the screen, setup card like the pub quiz, result like the pub quiz */
html body .dq-qf[data-src]{min-height:calc(100svh - 150px);margin:0 auto 48px!important;max-width:760px;box-sizing:border-box}
html body .dq-qf .qf-hero{margin:0}
html body .dq-qf .qf-setup{display:flex;flex-direction:column;padding:1rem 1rem 1.1rem}
html body .dq-qf .qf-setup .dq-hero-l{margin:0 0 .45rem!important;padding:0!important;font-size:.95rem;line-height:1.3}
html body .dq-qf .qf-setup .dq16-chips{display:flex!important;flex-wrap:wrap;gap:.45rem!important;margin:0!important;padding:0!important}
html body .dq-qf .qf-setup .dq16-chip{margin:0!important;min-height:38px;padding:.4rem .9rem!important;line-height:1.2;font-size:.92rem}
html body .dq-qf .qf-setup .qf-howto{margin:1.1rem 0 .25rem!important;font-size:1rem;line-height:1.45;color:#1f2633}
html body .dq-qf .qf-setup .qf-howto-s{margin:0!important;font-size:.85rem;line-height:1.4;color:#5b6577}
html body .dq-qf .qf-setup .dq-hero-acts{display:flex;margin-top:1.1rem!important}
html body .dq-qf .qf-setup .dq-hero-start{width:100%;display:flex;justify-content:center;text-align:center;margin:0!important;font-size:1.15rem;padding:.7rem 1.4rem!important}
html body .dq-qf .qf-res{border:0;padding:0;background:none}
html body .dq-qf .qf-res-head{padding:.5rem 0 1rem}
html body .dq-qf .qf-res-head .qf-kicker{margin:0 0 .5rem!important;font-weight:800;color:#566070}
html body .dq-qf .qf-res-sub{margin:.25rem 0 0!important;font-size:.92rem;color:#5b6577}
html body .dq-qf .qf-review{margin:0!important;padding:0!important}
html body .dq[data-setname="quickfire"] .dq-step-review .dq-q{display:block;line-height:1.35}
html body .dq[data-setname="quickfire"] .dq-step-review .dq-qn{font-weight:800}
html body .dq[data-setname="quickfire"] .dq-step-review .dq-mark.ok,html body .dq[data-setname="quickfire"] .dq-step-review .dq-mark.no{display:inline!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;margin-left:.35rem;font-size:1.05em;font-weight:800;line-height:1;vertical-align:baseline;white-space:nowrap}
html body .dq[data-setname="quickfire"] .dq-step-review .dq-mark.ok{color:#2F9E63!important}
html body .dq[data-setname="quickfire"] .dq-step-review .dq-mark.no{color:#D9483B!important}
html body .dq[data-setname="quickfire"] .dq-step-review .dq-mark::after,html body .dq[data-setname="quickfire"] .dq-step-review .dq-mark::before{content:none!important}
html body .dq[data-setname="quickfire"] .dq-step-review .dq-x::before{content:"Ans: ";font-weight:700}
html body .dq[data-setname="quickfire"] button.dq-opt{gap:8px!important}
html body .dq[data-setname="quickfire"] button.dq-opt kbd{display:inline-flex!important;align-items:center;flex:0 0 auto;min-width:0!important;margin:0!important;padding:0;border:0;background:none!important;box-shadow:none;font:inherit;font-weight:700;color:#5b6577!important}
html body .dq[data-setname="quickfire"] button.dq-opt kbd::after{content:"."}
html body .dq[data-setname="quickfire"] button.dq-opt.right kbd{color:#0f5132!important}
html body .dq[data-setname="quickfire"] button.dq-opt.wrong kbd{color:#7a1a12!important}
html body .dq[data-setname="quickfire"] .dq-end-acts{margin-top:20px}
/* v1.6.34: Quickfire play - question number (no running score) and A-D letters like the pub quiz */
html body .dq-qf .qf-top .qf-qnum{font-weight:700;font-size:1rem;color:#5b6577;align-self:center}
html body .dq-qf .qf-opt.qf-opt-abcd{display:flex!important;align-items:center;justify-content:flex-start;gap:8px;text-align:left}
html body .dq-qf .qf-opt .qf-key{display:inline-flex!important;flex:0 0 auto;margin:0;padding:0;border:0;background:none!important;box-shadow:none;font:inherit;font-weight:700;color:#5b6577!important}
html body .dq-qf .qf-opt .qf-key::after{content:"."}
html body .dq-qf .qf-opt .qf-otx{flex:1 1 auto;min-width:0}
/* v1.6.34: Quickfire options - one vertical column, 4 full-width rows, pub quiz option style */
html body .dq-qf .qf-grid{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
html body .dq-qf .qf-opt.qf-opt-abcd{width:100%!important;min-height:50px!important;padding:10px 14px!important;border:1px solid #dfe5ef!important;border-radius:12px!important;background:#fff!important;color:#1f2633!important;font-size:16.5px!important;font-weight:500!important;line-height:1.35;box-shadow:none!important;text-align:left!important;justify-content:flex-start!important;gap:8px!important;outline-offset:2px}
html body .dq-qf .qf-opt.qf-opt-abcd .qf-key{font-weight:700!important;color:#1f2633!important}
html body .dq-qf .qf-opt.qf-opt-abcd:hover:not(:disabled),html body .dq-qf .qf-opt.qf-opt-abcd:focus-visible{border-color:#2F57D6!important;background:#F2F5FF!important;color:#1f2633!important}
@media (min-width:768px){html body .dq-qf .qf-opt.qf-opt-abcd{font-size:17px!important}}
/* v1.6.34: Quickfire result review options - one vertical column at all sizes (pub option style) */
html body .dq.qf-res[data-setname="quickfire"] .qf-review .dq-opts{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
html body .dq.qf-res[data-setname="quickfire"] .qf-review .dq-opt{width:100%!important}
/* v1.6.35: Quiz of the Week - no Easy/Medium/Hard or category chips (hidden from first paint), same quiz look as the homepage */
html body .dq[data-mode="week"] .dq-qmeta,html body .dq[data-mode="week"] .pill,html body .dq[data-mode="week"] .dq16-chips{display:none!important}
html body .dq[data-mode="week"] .dq-foot .dq-subrow{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:8px!important;text-align:center!important}
html body .dq[data-mode="week"] .dq-foot .dq-subrow .dq-submit{margin:0 auto!important}
html body .dq[data-mode="week"] .dq-foot .dq-subrow .dq-count{margin:0!important;text-align:center!important;display:block}
html body .dq[data-mode="week"] .dq-mark.ok,
html body .dq[data-mode="week"] .dq-mark.no{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;font-size:1.05em;font-weight:800;line-height:1;vertical-align:baseline;margin-left:.4rem}
html body .dq[data-mode="week"] .dq-mark.ok{color:#2F9E63!important}
html body .dq[data-mode="week"] .dq-mark.no{color:#D9483B!important}
html body .dq[data-mode="week"] .dq-item .dq-x::before{content:"Ans: ";font-weight:700;background:none;border:0;padding:0}
html body .dq[data-mode="week"] .dq-app>.dq-foot-nav{display:flex!important;justify-content:center!important;flex-wrap:wrap;gap:10px;margin-top:36px!important}
html body .dq[data-mode="week"] .dq-tip{display:none!important}
html body .dq-week-sub{margin:4px 0 14px!important;font-size:15px;line-height:1.45;color:#5b6577}
html body h1.dq-week-h1{margin-bottom:0!important}
/* v1.6.35: pub quiz - progress text "3 of 12 · 25%" clearly visible above the question on phone and PC */
html body .dq[data-setname="pub"] .dq-step .dq-step-count{display:block!important;visibility:visible!important;margin:8px 0 6px!important;font-size:14px!important;font-weight:700!important;color:#3b4556!important;line-height:1.3}
html body .dq[data-setname="pub"] .dq-step .dq-step-q .dq-qn{display:inline!important}
/* v1.6.35: pub end of answers - Play again + Back centred */
html body .dq[data-setname="pub"] .dq-pub-end{display:flex!important;justify-content:center!important;margin:24px 0 8px!important}
html body .dq[data-setname="pub"] .dq-pub-end .dq-end-main{display:flex!important;flex-wrap:wrap;justify-content:center!important;align-items:center;gap:10px!important;width:100%}
/* v1.6.35: primary buttons in Quickfire and pub - auto width, centred (like the pub Next button) */
html body .dq-qf .qf-setup .dq-hero-acts,html body .dq[data-setname="pub"] .dq-pub-hero .dq-hero-acts{display:flex!important;flex-direction:column!important;align-items:center!important}
html body .dq-qf .qf-go,html body .dq[data-setname="pub"] .dq-hero-start,html body .dq[data-setname="pub"] .dq-pub-end .btn,html body .dq-qf .qf-res .dq-end-acts .dq-again{flex:0 0 auto!important;width:auto!important;min-width:160px!important;max-width:100%;padding:12px 40px!important;margin-left:auto!important;margin-right:auto!important;display:inline-flex!important;justify-content:center;align-items:center;box-sizing:border-box}
html body .dq[data-setname="pub"] .dq-pub-end .btn{margin:0!important}
/* v1.6.35: pub setup - "Read all N questions" narrow and centred like Next */
html body .dq[data-setname="pub"] .dq-pub-hero a.btn.ghost.dq-hero-qa,html body .dq[data-setname="pub"] .dq-pub-hero .dq-hero-qa{flex:0 0 auto!important;width:auto!important;min-width:160px!important;max-width:100%;padding:10px 28px!important;margin:0 auto!important;display:inline-flex!important;justify-content:center;align-self:center!important;box-sizing:border-box}
/* v1.6.35: archive quiz (past date) - no "Quiz #" pill or difficulty chips from first paint, same quiz look as the homepage */
html body .dq[data-mode="date"] .dq-hnum,html body .dq[data-mode="date"] .dq-qmeta,html body .dq[data-mode="date"] .pill{display:none!important}
html body .dq[data-mode="date"] .dq-foot .dq-subrow{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:8px!important;text-align:center!important}
html body .dq[data-mode="date"] .dq-foot .dq-subrow .dq-submit{margin:0 auto!important}
html body .dq[data-mode="date"] .dq-foot .dq-subrow .dq-count{margin:0!important;text-align:center!important;display:block}
html body .dq[data-mode="date"] .dq-mark.ok,
html body .dq[data-mode="date"] .dq-mark.no{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;font-size:1.05em;font-weight:800;line-height:1;vertical-align:baseline;margin-left:.4rem}
html body .dq[data-mode="date"] .dq-mark.ok{color:#2F9E63!important}
html body .dq[data-mode="date"] .dq-mark.no{color:#D9483B!important}
html body .dq[data-mode="date"] .dq-item .dq-x::before{content:"Ans: ";font-weight:700;background:none;border:0;padding:0}
html body .dq[data-mode="date"] .dq-tip{display:none!important}
/* v1.6.35: kids quiz - plays and reviews like the pub quiz (numbers, A-D, plain verdict, plain tick/cross, Ans:) */
.dq[data-setname="kids"] .dq-step-fb{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem .6rem;margin-top:.6rem}
.dq[data-setname="kids"] .dq-step-fb>p{margin:0!important}
.dq[data-setname="kids"] .dq-step-fb .dq-step-ans{font-weight:700;flex:1 1 70%}
.dq[data-setname="kids"] .dq-step-fb .dq-x{flex:1 1 100%;color:#475569;font-size:.95rem}
html body .dq[data-setname="kids"] .dq-step-count{margin:0 0 6px!important;font-size:13px;font-weight:600;color:#5b6577;text-align:left}
html body .dq[data-setname="kids"] .dq-step-q .dq-qn,html body .dq[data-setname="kids"] .dq-step-review .dq-qn{font-weight:800}
html body .dq[data-setname="kids"] button.dq-opt kbd{display:inline-flex!important;align-items:center;justify-content:flex-start;flex:0 0 auto;min-width:1.5em;margin:0 6px 0 0;padding:0;border:0;background:none!important;box-shadow:none;font:inherit;font-weight:700;color:#5b6577!important}
html body .dq[data-setname="kids"] button.dq-opt kbd::after{content:"."}
html body .dq[data-setname="kids"] button.dq-opt.right kbd{color:#0f5132!important}
html body .dq[data-setname="kids"] button.dq-opt.wrong kbd{color:#7a1a12!important}
html body .dq[data-setname="kids"] .dq-step-fb .dq-verdict{margin:0!important;padding:0!important;background:none!important;border:0!important;font-weight:800;font-size:1rem;line-height:1.3}
html body .dq[data-setname="kids"] .dq-step-fb .dq-verdict.ok{color:#2F9E63}
html body .dq[data-setname="kids"] .dq-step-fb .dq-verdict.no{color:#D9483B}
html body .dq[data-setname="kids"] .dq-step-review .dq-q{display:block;line-height:1.35}
html body .dq[data-setname="kids"] .dq-step-review .dq-mark.ok,html body .dq[data-setname="kids"] .dq-step-review .dq-mark.no{display:inline!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;margin-left:.35rem;font-size:1.05em;font-weight:800;line-height:1;vertical-align:baseline;white-space:nowrap}
html body .dq[data-setname="kids"] .dq-step-review .dq-mark.ok{color:#2F9E63!important}
html body .dq[data-setname="kids"] .dq-step-review .dq-mark.no{color:#D9483B!important}
html body .dq[data-setname="kids"] .dq-step-review .dq-mark::after,html body .dq[data-setname="kids"] .dq-step-review .dq-mark::before{content:none!important}
html body .dq[data-setname="kids"] .dq-step-review .dq-x::before{content:"Ans: ";font-weight:700}
html body .dq[data-setname="kids"] .dq-step-review ~ .dq-end-acts{margin-top:20px}
html body .dq[data-setname="kids"] button.dq-opt{gap:8px!important}
html body .dq[data-setname="kids"] button.dq-opt kbd{min-width:0!important;margin:0!important}
html body .dq[data-setname="kids"] .dq-step-fb{justify-content:center;text-align:center}
html body .dq[data-setname="kids"] .dq-step-fb .dq-verdict{flex:1 1 100%;text-align:center}
html body .dq[data-setname="kids"] .dq-step-fb .dq-step-ans{flex:1 1 100%!important;text-align:center}
html body .dq[data-setname="kids"] .dq-step-review .dq-pic{float:none!important;display:block!important;margin:0 0 8px!important;width:auto!important;max-width:100%}
html body .dq[data-setname="kids"] .dq-step-review .dq-item::after{content:"";display:table;clear:both}
html body .dq[data-setname="kids"] .dq-step .dq-step-count{display:block!important;visibility:visible!important;margin:8px 0 6px!important;font-size:14px!important;font-weight:700!important;color:#3b4556!important;line-height:1.3}
html body .dq[data-setname="kids"] .dq-step .dq-step-q .dq-qn{display:inline!important}
html body .dq[data-setname="kids"] .dq-step .dq-step-count{display:block!important;margin:4px 0 6px!important;font-size:14px!important;font-weight:700!important;color:#3b4556!important;line-height:1.3}
html body .dq[data-setname="kids"] .dq-step-fb .dq-step-next{flex:0 0 auto!important;width:auto!important;min-width:160px!important;padding:12px 40px!important;margin:.35rem auto 0!important;display:inline-flex!important;justify-content:center}
/* v1.6.35: kids hero - only the quiz, centred; Start narrow and centred */
html body .dq[data-setname="kids"]{max-width:640px;margin-left:auto!important;margin-right:auto!important}
html body .dq[data-setname="kids"] .dq-kids-hero .dq-hero-card{margin:0 auto!important;max-width:560px}
html body .dq[data-setname="kids"] .dq-kids-hero .dq-hero-acts{display:flex!important;justify-content:center!important;margin-top:14px!important}
html body .dq[data-setname="kids"] .dq-kids-hero .dq-hero-start{flex:0 0 auto!important;width:auto!important;min-width:160px!important;padding:12px 40px!important;margin:0 auto!important;display:inline-flex!important;justify-content:center}
html body .dq[data-setname="kids"] .dq-loading{display:none!important}
html body .dq-kids-howto{max-width:560px;margin:14px auto 28px!important;text-align:center;font-size:15px;line-height:1.5;color:#5b6577}
/* v1.6.35: kids pictures - sized so the question and all four answers fit a 360x800 phone without scrolling */
html body .dq[data-setname="kids"] .dq-step .dq-pic{float:none!important;margin:6px auto 10px!important;text-align:center;width:auto!important;max-width:100%}
html body .dq[data-setname="kids"] .dq-step .dq-pic img{display:block;margin:0 auto;width:auto!important;max-width:100%;height:clamp(120px,22vh,200px)!important;max-height:200px;object-fit:contain;border-radius:12px;aspect-ratio:auto}
html body .dq[data-setname="kids"] .dq-step .dq-pic-flag img{height:clamp(96px,16vh,150px)!important;object-fit:contain;border-radius:4px;box-shadow:0 0 0 1px #e3e8f0}
html body .dq[data-setname="kids"] .dq-step-review .dq-pic img{width:84px!important;height:60px!important;object-fit:contain;border-radius:8px}
html body .dq[data-setname="kids"] .dq-step-review .dq-pic-flag img{object-fit:contain;box-shadow:0 0 0 1px #e3e8f0;border-radius:3px}
/* v1.6.35: kids result - ring and two centred buttons */
html body .dq[data-setname="kids"] .dq-kids-res{text-align:center;padding:8px 0 4px}
html body .dq[data-setname="kids"] .dq-kids-res .dq-ring{position:relative;width:140px!important;height:140px!important;margin:0 auto!important}
html body .dq[data-setname="kids"] .dq-kids-res .dq-ring svg{width:100%;height:100%}
html body .dq[data-setname="kids"] .dq-kids-res .dq-ring span{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:22px;color:#5b6577}
html body .dq[data-setname="kids"] .dq-kids-res .dq-ring strong{font-size:50px;line-height:1;font-weight:800;color:#1f2633}
html body .dq[data-setname="kids"] .dq-kids-res .dq-step-end-l{margin:6px 0 0!important;font-weight:700}
html body .dq[data-setname="kids"] .dq-kids-taken{margin:2px 0 0!important;font-size:13px;color:#5b6577}
html body .dq[data-setname="kids"] .dq-kids-acts{display:flex!important;justify-content:center!important;margin:16px 0 22px!important}
html body .dq[data-setname="kids"] .dq-kids-acts .dq-end-main{display:flex!important;flex-wrap:wrap;justify-content:center!important;gap:10px!important;width:100%}
html body .dq[data-setname="kids"] .dq-kids-acts .btn{flex:0 0 auto!important;width:auto!important;min-width:160px!important;padding:12px 28px!important;margin:0!important;display:inline-flex!important;justify-content:center}
/* v1.6.36: topic / category list quizzes (.dq-std) - homepage standard: no difficulty pills or tip, plain tick/cross by the title, "Ans:", Submit centred and narrow,
   Play again + More quizzes centred and outlined well below the questions, result popup centred with the score ring + Check my answers only */
html body .dq.dq-std .dq-qmeta,html body .dq.dq-std .pill,html body .dq.dq-std .dq-tip,html body .dq.dq-std .dq-hnum{display:none!important}
html body .dq.dq-std .dq-foot .dq-subrow{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:8px!important;text-align:center!important}
html body .dq.dq-std .dq-foot .dq-subrow .dq-submit{margin:0 auto!important;width:auto!important;min-width:160px;padding:12px 40px!important;flex:0 0 auto!important}
html body .dq.dq-std .dq-foot .dq-subrow .dq-count{margin:0!important;text-align:center!important;display:block}
html body .dq.dq-std .dq-mark.ok,
html body .dq.dq-std .dq-mark.no{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;width:auto!important;height:auto!important;font-size:1.05em;font-weight:800;line-height:1;vertical-align:baseline;margin-left:.4rem}
html body .dq.dq-std .dq-mark.ok{color:#2F9E63!important}
html body .dq.dq-std .dq-mark.no{color:#D9483B!important}
html body .dq.dq-std .dq-item .dq-x::before{content:"Ans: ";font-weight:700;background:none;border:0;padding:0}
html body .dq.dq-std .dq-opts{display:flex!important;flex-direction:column!important;grid-template-columns:none!important}
html body .dq.dq-std .dq-opts .dq-opt{width:100%!important}
html body .dq.dq-std .dq-app>.dq-foot-nav{display:flex!important;justify-content:center!important;flex-wrap:wrap;gap:10px;margin-top:36px!important}
html body .dq.dq-std .dq-app>.dq-foot-nav .btn{width:auto!important;min-width:140px}
html body .dq.dq-std .dq-card-slim{text-align:center}
/* v1.6.36: small "1-N questions" label above the H1 on quiz pages */
html body .dq-qcount{margin:0 0 4px!important;font-size:13px;line-height:1.4;font-weight:700;letter-spacing:.02em;color:#5b6577;text-transform:none}
html body .dq-crumb+.dq-qcount{margin-top:2px!important}

/* ===== v1.6.38: flags + road signs + Options first-paint + Options active contrast ===== */

/* A–D letters: Additional CSS hides kbd globally; un-hide on flags and road signs like pub/kids */
html body .dq[data-setname="flags"] button.dq-opt kbd,
html body .dq[data-setname="uk-road-signs"] button.dq-opt kbd{
  display:inline-flex!important;align-items:center;justify-content:flex-start;flex:0 0 auto;
  min-width:1.5em;margin:0 6px 0 0;padding:0;border:0;background:none!important;box-shadow:none;
  font:inherit;font-weight:700;color:#5b6577!important;-webkit-text-fill-color:currentColor
}
html body .dq[data-setname="flags"] button.dq-opt kbd::after,
html body .dq[data-setname="uk-road-signs"] button.dq-opt kbd::after{content:"."}

/* Tight feedback so Next sits immediately under the answer card (fits 360x800) */
html body .dq[data-setname="flags"] .dq-step-fb,
html body .dq[data-setname="uk-road-signs"] .dq-step-fb,
.dq-step-compact .dq-step-fb{
  display:flex;flex-wrap:wrap;align-items:flex-start;gap:.2rem .55rem;margin:.3rem 0 0!important
}
html body .dq[data-setname="flags"] .dq-step-fb>p,
html body .dq[data-setname="uk-road-signs"] .dq-step-fb>p,
.dq-step-compact .dq-step-fb>p{margin:0!important}
html body .dq[data-setname="flags"] .dq-step-fb .dq-verdict,
html body .dq[data-setname="uk-road-signs"] .dq-step-fb .dq-verdict,
.dq-step-compact .dq-step-fb .dq-verdict{
  margin:0!important;padding:0!important;background:none!important;border:0!important;
  font-weight:800;font-size:1rem;line-height:1.3
}
html body .dq[data-setname="flags"] .dq-step-fb .dq-verdict.ok,
html body .dq[data-setname="uk-road-signs"] .dq-step-fb .dq-verdict.ok,
.dq-step-compact .dq-step-fb .dq-verdict.ok{color:#2F9E63}
html body .dq[data-setname="flags"] .dq-step-fb .dq-verdict.no,
html body .dq[data-setname="uk-road-signs"] .dq-step-fb .dq-verdict.no,
.dq-step-compact .dq-step-fb .dq-verdict.no{color:#D9483B}
html body .dq[data-setname="flags"] .dq-step-fb .dq-step-ans,
html body .dq[data-setname="uk-road-signs"] .dq-step-fb .dq-step-ans,
.dq-step-compact .dq-step-fb .dq-step-ans{font-weight:700;flex:1 1 70%;font-size:.95rem;line-height:1.3}
html body .dq[data-setname="flags"] .dq-step-fb .dq-x,
html body .dq[data-setname="uk-road-signs"] .dq-step-fb .dq-x,
.dq-step-compact .dq-step-fb .dq-x{
  flex:1 1 100%;color:#475569;font-size:.88rem;line-height:1.3;margin:0!important
}
html body .dq[data-setname="flags"] .dq-step-next,
html body .dq[data-setname="uk-road-signs"] .dq-step-next,
.dq-step-compact .dq-step-next{
  flex:1 1 100%;width:100%;margin-top:.25rem!important;justify-content:center
}
.dq-step-compact .dq-step-count{margin:0 0 .2rem!important;font-weight:700;color:#334155;font-size:.95rem}
.dq-step-compact .dq-prog{margin:0 0 .35rem}

/* Road signs full Q&A list: small sign images on phone, tablet and PC */
.dq16-qa[data-setname="uk-road-signs"] .dq-pic,
.dq16-qa[data-setname="uk-road-signs"] figure.dq-pic{margin:0 0 .4rem;max-width:100px}
.dq16-qa[data-setname="uk-road-signs"] .dq-pic img,
.dq16-qa[data-setname="uk-road-signs"] img{
  display:block;width:auto!important;height:auto!important;
  max-width:100px!important;max-height:100px!important;
  object-fit:contain;background:#fff
}
@media (max-width:480px){
  .dq16-qa[data-setname="uk-road-signs"] .dq-pic,
  .dq16-qa[data-setname="uk-road-signs"] figure.dq-pic{max-width:80px}
  .dq16-qa[data-setname="uk-road-signs"] .dq-pic img,
  .dq16-qa[data-setname="uk-road-signs"] img{max-width:80px!important;max-height:80px!important}
}

/* From first paint: hide All/Easy/Medium/Hard chips and the timer icon on Options pages.
   The Options button itself stays visible. Must beat Additional CSS display:flex on .dq-tbox. */
.dq[data-mode="topic"] .dq-ctl .seg,
.dq[data-mode="cat"] .dq-ctl .seg,
.dq[data-mode="topic"] .dq-ctl > .seg,
.dq[data-mode="cat"] .dq-ctl > .seg,
.dq.dq-std .dq-ctl .seg,
.dq[data-mode="topic"] .dq-ctl .dq-tbox,
.dq[data-mode="cat"] .dq-ctl .dq-tbox,
.dq.dq-std .dq-ctl .dq-tbox,
.dq16-flt .dq16-pri,
.dq[data-mode="topic"] .dq16-pri,
.dq[data-mode="cat"] .dq16-pri{display:none!important}
/* never hide the Options button, even if it sits in a primary chip row */
.dq[data-mode="topic"] .dq16-optbtn,
.dq[data-mode="cat"] .dq16-optbtn,
.dq16-flt .dq16-optbtn,
.dq .dq16-optbtn{display:inline-flex!important}

/* Options button .on: navy fill with white text + white icon, beating Additional CSS
   (html body .dq16-optbtn.on { background:#fff; color:#14224a }) */
html body .dq button.dq16-optbtn.on,
html body .dq .dq16-ctl button.dq16-optbtn.on,
html body .dq16-flt button.dq16-optbtn.on{
  background:#13234a!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
  border-color:#13234a!important
}
html body .dq button.dq16-optbtn.on:hover,
html body .dq button.dq16-optbtn.on:focus,
html body .dq button.dq16-optbtn.on:focus-visible,
html body .dq .dq16-ctl button.dq16-optbtn.on:hover,
html body .dq .dq16-ctl button.dq16-optbtn.on:focus-visible,
html body .dq16-flt button.dq16-optbtn.on:hover,
html body .dq16-flt button.dq16-optbtn.on:focus-visible{
  background:#13234a!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
  border-color:#13234a!important
}
html body .dq button.dq16-optbtn.on .dq16-optl,
html body .dq .dq16-ctl button.dq16-optbtn.on .dq16-optl,
html body .dq16-flt button.dq16-optbtn.on .dq16-optl{
  color:#fff!important;-webkit-text-fill-color:#fff!important
}
html body .dq button.dq16-optbtn.on svg,
html body .dq button.dq16-optbtn.on svg path,
html body .dq button.dq16-optbtn.on svg circle,
html body .dq .dq16-ctl button.dq16-optbtn.on svg,
html body .dq .dq16-ctl button.dq16-optbtn.on svg path,
html body .dq .dq16-ctl button.dq16-optbtn.on svg circle,
html body .dq16-flt button.dq16-optbtn.on svg,
html body .dq16-flt button.dq16-optbtn.on svg path,
html body .dq16-flt button.dq16-optbtn.on svg circle{
  color:#fff!important;stroke:#fff!important
}
