/* DandunaQuiz 3.6.2 — front-end styles.
   Everything is scoped under .dq so the theme is never touched.
   Colours, font, corner rounding and width arrive as CSS variables from PHP. */

.dq{
  --dq-accent:#0E3D46;
  --dq-accent-soft:#E7EEEE;
  --dq-accent-line:#B9CBCB;
  --dq-accent-ink:#FFFFFF;
  --dq-btn:#E0A32E;
  --dq-btn-ink:#12211F;
  --dq-ink:#1D2C33;
  --dq-soft:#66757B;
  --dq-card:#FFFFFF;
  --dq-line:#E3E7E7;
  --dq-radius:20px;
  --dq-maxw:760px;
  --dq-font:Georgia,"Iowan Old Style","Times New Roman",serif;
  --dq-title-font:var(--dq-font);
  --dq-cta-bg:var(--dq-accent);
  --dq-cta-ink:#FFFFFF;
  --dq-cta-title:#FFFFFF;
  --dq-cta-title-size:22px;
  --dq-cta-title-font:var(--dq-title-font);
  --dq-cta-text-size:15px;
  --dq-cta-radius:24px;
  --dq-cta-margin-top:26px;
  --dq-cta-margin-right:0px;
  --dq-cta-margin-bottom:0px;
  --dq-cta-margin-left:0px;
  --dq-cta-pad-top:26px;
  --dq-cta-pad-right:26px;
  --dq-cta-pad-bottom:26px;
  --dq-cta-pad-left:26px;
  --dq-cta-kicker-transform:none;
  --dq-card-pad-top:30px;
  --dq-card-pad-right:30px;
  --dq-card-pad-bottom:26px;
  --dq-card-pad-left:30px;
  --dq-margin-top:44px;
  --dq-margin-right:auto;
  --dq-margin-bottom:44px;
  --dq-margin-left:auto;
  --dq-intro-kicker-transform:uppercase;
  --dq-title-size:1.32rem;
  --dq-title-weight:700;
  --dq-title-style:normal;
  --dq-title-transform:none;
  --dq-title-line:1.25;
  --dq-title-space:0px;
  --dq-badge-bg:#12211F;
  --dq-badge-ink:#FFFFFF;
  --dq-badge-size:12px;
  --dq-badge-weight:700;
  --dq-badge-radius:99px;
  --dq-badge-font:var(--dq-title-font);
  --dq-badge-transform:none;
  --dq-base-size:17px;
  --dq-q-size:clamp(1.16rem,2.2vw,1.42rem);
  --dq-opt-size:15.5px;
  --dq-cta-align:left;
  --dq-cta-border:0;
  --dq-cta-btn-bg:var(--dq-btn);
  --dq-cta-btn-ink:var(--dq-btn-ink);
  --dq-cta-btn-radius:99px;
  --dq-cta-btn-size:16px;
  --dq-kicker:var(--dq-accent);
  --dq-kicker-size:13px;
  --dq-shake-every:5s;
  --dq-swap-speed:340ms;
  box-sizing:border-box;
  max-width:var(--dq-maxw);
  margin:var(--dq-margin-top,44px) var(--dq-margin-right,auto) var(--dq-margin-bottom,44px) var(--dq-margin-left,auto);
  color:var(--dq-ink);
  font-family:var(--dq-font);
  font-size:var(--dq-base-size,17px);
  line-height:1.65;
  text-align:left;
}
/* The wrapper's outer spacing, as longhands on a doubled class. A theme rule such
   as ".entry-content > * { margin-bottom: 1.5em }" sits in the same cascade and used
   to win on the live page — which is why Margin and Margin (Mobile) looked dead. */
.dq.dq{
  margin-top:var(--dq-margin-top,44px);
  margin-right:var(--dq-margin-right,auto);
  margin-bottom:var(--dq-margin-bottom,44px);
  margin-left:var(--dq-margin-left,auto);
}
.dq *,.dq *::before,.dq *::after{box-sizing:border-box}
.dq [hidden]{display:none !important}
.dq a{text-decoration:none}

/* head */
.dq-head{text-align:center;margin-bottom:22px}
.dq-head h2{
  font-family:var(--dq-font);
  font-size:clamp(1.45rem,2.6vw,1.95rem);
  line-height:1.2;margin:6px 0 10px;color:var(--dq-ink);font-weight:700;
}
.dq-head p{color:var(--dq-soft);max-width:34em;margin:0 auto;font-size:16px}
.dq-kicker{
  font-size:12.5px;letter-spacing:.14em;text-transform:uppercase;
  font-weight:700;color:var(--dq-accent);margin-bottom:8px;
}
/* the invitation line above the quiz box — text, size and colour from Style */
/* Two selectors + !important on size and colour: theme rules like
   ".entry-content p{font-size:17px}" were beating this line on the live page. */
.dq .dq-intro-kicker,
.dq.dq .dq-inner > .dq-intro-kicker{
  font-family:var(--dq-font);
  color:var(--dq-kicker) !important;font-size:var(--dq-kicker-size) !important;
  letter-spacing:.16em;text-transform:var(--dq-intro-kicker-transform,uppercase);font-weight:700;
  text-align:center;margin:var(--dq-kicker-mt,0px) var(--dq-kicker-mr,0px) var(--dq-kicker-mb,10px) var(--dq-kicker-ml,0px);line-height:1.4;
  padding:var(--dq-kicker-pt,0px) var(--dq-kicker-pr,0px) var(--dq-kicker-pb,0px) var(--dq-kicker-pl,0px);
}

/* The tag above the invitation line — text, colours, size, weight, rounding and
   letter style all come from Style (--dq-badge-*). */
.dq .dq-pill,
.dq.dq .dq-inner > .dq-pill{
  display:block;width:max-content;max-width:100%;
  font-family:var(--dq-badge-font,var(--dq-title-font));
  font-size:var(--dq-badge-size,12px) !important;
  font-weight:var(--dq-badge-weight,700);
  font-style:var(--dq-badge-style,normal);
  text-transform:var(--dq-badge-transform,none);
  letter-spacing:.06em;line-height:1.3;
  background:var(--dq-badge-bg,#12211F);
  color:var(--dq-badge-ink,#FFFFFF) !important;
  border-radius:var(--dq-badge-radius,99px);
  padding:6px 13px;margin:var(--dq-badge-mt,0px) var(--dq-badge-mr,auto) var(--dq-badge-mb,10px) var(--dq-badge-ml,auto);
}

/* buttons */
.dq-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  font-family:var(--dq-font);font-size:16px;font-weight:700;line-height:1.2;
  padding:14px 24px;border-radius:99px;border:1px solid transparent;
  text-decoration:none;cursor:pointer;
  transition:transform .15s ease,box-shadow .2s ease,background .2s ease,color .2s ease;
}
.dq-btn:active{transform:translateY(1px)}
.dq-btn-primary{background:var(--dq-accent);color:var(--dq-accent-ink);box-shadow:0 14px 28px -18px rgba(0,0,0,.5)}
.dq-btn-primary:hover{filter:brightness(.94);color:var(--dq-accent-ink)}
.dq-btn-ghost{background:transparent;color:var(--dq-ink);border-color:var(--dq-line)}
.dq-btn-ghost:hover{border-color:var(--dq-accent);color:var(--dq-accent)}
.dq-btn-amber{background:var(--dq-btn);color:var(--dq-btn-ink)}
.dq-btn-amber:hover{filter:brightness(.95);color:var(--dq-btn-ink)}

/* The Start button on the opening screen. Every value here comes from
   Settings → 5. The quiz box → The Start button: text, colours, border, type,
   corners, padding and margin. The doubled class keeps it ahead of a theme's
   own button rules. */
.dq .dq-intro .dq-start,
.dq.dq .dq-intro .dq-start{
  /* No !important on these two: the same colours are written on the button itself
     (see dq_start_button_style), and an inline value is what beats a theme rule with
     an id. The :hover rule below keeps its !important, so hovering still changes them. */
  background:var(--dq-start-bg,var(--dq-accent));
  color:var(--dq-start-ink,var(--dq-accent-ink));
  border:var(--dq-start-border-w,1px) solid var(--dq-start-border,transparent) !important;
  border-radius:var(--dq-start-radius,99px) !important;
  font-family:var(--dq-font);
  font-size:var(--dq-start-size,16px) !important;
  font-weight:var(--dq-start-weight,700) !important;
  font-style:var(--dq-start-style,normal) !important;
  text-transform:var(--dq-start-transform,none) !important;
  line-height:var(--dq-start-line,1.2) !important;
  letter-spacing:var(--dq-start-space,0) !important;
  padding:var(--dq-start-pad-top,14px) var(--dq-start-pad-right,24px) var(--dq-start-pad-bottom,14px) var(--dq-start-pad-left,24px) !important;
  margin:var(--dq-start-margin-top,2px) var(--dq-start-margin-right,0px) var(--dq-start-margin-bottom,0px) var(--dq-start-margin-left,0px) !important;
  box-shadow:none;
}
.dq .dq-intro .dq-start:hover,
.dq.dq .dq-intro .dq-start:hover{
  background:var(--dq-start-hover-bg,var(--dq-start-bg,var(--dq-accent))) !important;
  color:var(--dq-start-hover-ink,var(--dq-start-ink,var(--dq-accent-ink))) !important;
  filter:brightness(.94);
}
.dq-tri{
  display:inline-block;width:0;height:0;
  border-left:11px solid currentColor;border-top:7px solid transparent;border-bottom:7px solid transparent;
  margin-left:2px;
}

/* card */
.dq-card{
  background:var(--dq-card);border:1px solid var(--dq-line);border-radius:calc(var(--dq-radius) + 4px);
  padding:var(--dq-card-pad-top,30px) var(--dq-card-pad-right,30px) var(--dq-card-pad-bottom,26px) var(--dq-card-pad-left,30px);position:relative;overflow:hidden;
}
.dq-has-shadow .dq-card{box-shadow:0 22px 44px -30px rgba(14,61,70,.55)}

/* gentle attention nudge every few seconds (interval from Style) */
.dq-attn .dq-card{animation:dq-nudge var(--dq-shake-every) cubic-bezier(.36,.07,.19,.97) infinite}
.dq-attn:hover .dq-card,.dq-attn:focus-within .dq-card{animation-play-state:paused}
@keyframes dq-nudge{
  0%,86%,100%{transform:translateX(0) rotate(0)}
  88%{transform:translateX(-3px) rotate(-.25deg)}
  90%{transform:translateX(3px) rotate(.25deg)}
  92%{transform:translateX(-2px) rotate(-.18deg)}
  94%{transform:translateX(2px) rotate(.18deg)}
  96%{transform:translateX(-1px)}
  98%{transform:translateX(1px)}
}
.dq-intro{text-align:center;padding:6px 0 4px}
.dq-intro h3,.dq-intro .dq-quiz-title{
  font-family:var(--dq-title-font);
  font-size:var(--dq-title-size,1.32rem);
  font-weight:var(--dq-title-weight,700);
  font-style:var(--dq-title-style,normal);
  text-transform:var(--dq-title-transform,none);
  color:var(--dq-title-color,var(--dq-ink));
  line-height:var(--dq-title-line,1.25);
  letter-spacing:var(--dq-title-space,0);
  margin:0 0 8px;
}
/* The subtitle under the title. Its font, size, weight and style are picked for the
   subtitle alone in Style, and every empty one follows the body text. The selector
   is the class only: the old ".dq-intro p" also caught the reader-numbers line, so
   that line used to move with the body size while the quiz looked frozen. */
.dq-intro .dq-quiz-intro{
  color:var(--dq-soft);
  font-family:var(--dq-sub-font,var(--dq-font));
  font-size:var(--dq-sub-size,15px);
  font-weight:var(--dq-sub-weight,var(--dq-font-weight,400));
  font-style:var(--dq-sub-style,var(--dq-font-style,normal));
  max-width:32em;margin:0 auto 22px;
}
.dq-intro .dq-btn{margin-top:2px}
/* Reader numbers on the opening screen — wording, starting numbers and the
   on/off switch live in Settings → Reader numbers. */
.dq .dq-stats,
.dq.dq .dq-inner .dq-stats{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:2px 12px;
  box-sizing:border-box;
  width:min(100%,var(--dq-stats-width,34em));
  max-width:var(--dq-stats-width,34em);
  margin:0 auto 18px;
  padding:var(--dq-stats-padding,var(--dq-stats-pad,0));
  background:var(--dq-stats-bg,transparent);
  border:var(--dq-stats-border,0) solid var(--dq-stats-line,transparent);
  border-radius:var(--dq-stats-radius,0);
  font-family:var(--dq-stats-font,var(--dq-font));
  font-size:var(--dq-stats-size,13px);
  font-style:var(--dq-stats-style,normal);
  line-height:1.6;color:var(--dq-stats-ink,var(--dq-soft));
}
.dq .dq-stat{display:inline-flex;align-items:center;gap:5px}
/* The count grows with the line instead of sitting on a fixed 14px, and !important
   keeps a theme's own "b" rule from pinning it back. */
.dq .dq-stat b{font-weight:800;font-size:1.05em !important;color:var(--dq-stats-strong,var(--dq-ink))}
/* The icon takes a size, a colour and thicker lines of its own; the words after it
   take a weight of their own, while the number in front keeps its bold. */
.dq.dq .dq-stat-ico{
  display:inline-flex;align-items:center;flex:0 0 auto;
  opacity:var(--dq-stat-ico-op,.85) !important;
  color:var(--dq-stat-ico-ink,currentColor) !important;
}
.dq .dq-stat-ico:empty{display:none}
.dq.dq .dq-stat-ico svg{
  width:var(--dq-stat-ico-size,14px) !important;height:var(--dq-stat-ico-size,14px) !important;
  display:block;stroke-width:var(--dq-stat-ico-stroke,1.8) !important;
}
.dq.dq .dq-stat-label{font-weight:var(--dq-stats-label-weight,inherit) !important}
.dq .dq-stat + .dq-stat::before{content:"·";color:var(--dq-line);margin-right:5px}
@media (max-width:640px){
  .dq .dq-stats{gap:1px 8px;margin-bottom:16px}
  .dq .dq-stat + .dq-stat::before{content:"";margin:0}
}
.dq-badge{
  display:inline-grid;place-items:center;width:64px;height:64px;border-radius:50%;
  background:var(--dq-accent-soft);
  border:1px solid var(--dq-accent-line);font-size:24px;font-weight:700;
  color:var(--dq-accent);margin-bottom:14px;
}

/* progress */
.dq-meta{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  margin-bottom:10px;font-size:13px;font-weight:700;color:var(--dq-soft);letter-spacing:.03em;
}
.dq-bar{height:7px;border-radius:99px;background:var(--dq-accent-soft);overflow:hidden;margin-bottom:26px}
.dq-bar > i{
  display:block;height:100%;width:0;border-radius:99px;
  background:var(--dq-accent);transition:width .35s ease;
}

/* question */
.dq-text{
  font-size:var(--dq-q-size,clamp(1.16rem,2.2vw,1.42rem));
  line-height:1.35;margin:0 0 20px;color:var(--dq-ink);font-weight:700;
}
.dq-options{display:grid;gap:11px;margin:0 0 6px}
.dq-opt{
  display:flex;gap:13px;align-items:flex-start;text-align:left;width:100%;
  font-family:var(--dq-font);font-size:var(--dq-opt-size,15.5px);line-height:1.5;color:var(--dq-ink);
  background:transparent;border:1.5px solid var(--dq-line);border-radius:var(--dq-radius);
  padding:14px 16px;cursor:pointer;transition:border-color .15s,background .15s,transform .12s;
}
.dq-opt:hover:not([disabled]){border-color:var(--dq-accent);background:var(--dq-hover-bg,var(--dq-accent-soft))}
.dq-opt .dq-letter{
  flex:0 0 26px;height:26px;border-radius:50%;background:var(--dq-card);border:1.5px solid var(--dq-line);
  display:grid;place-items:center;font-size:13px;font-weight:700;color:var(--dq-soft);margin-top:1px;
}
.dq-opt[disabled]{cursor:default}
.dq-opt.dq-correct{--dq-opt-bg:#F1F8F4;border-color:#2E7D5B;background:var(--dq-opt-bg)}
.dq-opt.dq-correct .dq-letter{background:#2E7D5B;border-color:#2E7D5B;color:#fff}
.dq-opt.dq-wrong{--dq-opt-bg:#FCF1F0;border-color:#B5483C;background:var(--dq-opt-bg)}
.dq-opt.dq-wrong .dq-letter{background:#B5483C;border-color:#B5483C;color:#fff}
.dq-opt.dq-dim{opacity:.6}
/* The answer the reader picked: the colours from Settings when they are set, and
   the built-in green / red otherwise. The letter badge keeps its colour either way. */
.dq-opt.dq-picked{background:var(--dq-pick-bg,var(--dq-opt-bg,transparent));color:var(--dq-pick-ink,var(--dq-ink))}

/* feedback */
.dq-feedback{
  display:none;margin-top:18px;border-radius:var(--dq-radius);padding:15px 17px;font-size:15px;
  border:1px solid var(--dq-line);background:var(--dq-accent-soft);color:var(--dq-soft);
}
.dq-feedback.dq-show{display:block;animation:dq-fade .25s ease both}
.dq-feedback .dq-fb-title{font-weight:800;margin-bottom:4px}
.dq-feedback.dq-ok{background:#F1F8F4;border-color:#CDE7D9}
.dq-feedback.dq-ok .dq-fb-title{color:#2E7D5B}
.dq-feedback.dq-no{background:#FCF1F0;border-color:#EBCFCB}
.dq-feedback.dq-no .dq-fb-title{color:#B5483C}

@keyframes dq-fade{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}

/* question-to-question transition (effect and speed chosen in Style) */
.dq-in{animation-duration:var(--dq-swap-speed,340ms);animation-timing-function:cubic-bezier(.22,.9,.3,1);animation-fill-mode:both}
.dq-in-fade{animation-name:dq-in-fade}
.dq-in-slide{animation-name:dq-in-slide}
.dq-in-slide-down{animation-name:dq-in-down}
.dq-in-slide-left{animation-name:dq-in-left}
.dq-in-slide-right{animation-name:dq-in-right}
.dq-in-zoom{animation-name:dq-in-zoom}
.dq-in-pop{animation-name:dq-in-pop}
.dq-in-blur{animation-name:dq-in-blur}
.dq-in-flip{animation-name:dq-in-flip}
.dq-in-swing{animation-name:dq-in-swing}
.dq-in-drop{animation-name:dq-in-drop}
@keyframes dq-in-fade{from{opacity:0}to{opacity:1}}
@keyframes dq-in-slide{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@keyframes dq-in-down{from{opacity:0;transform:translateY(-16px)}to{opacity:1;transform:none}}
@keyframes dq-in-left{from{opacity:0;transform:translateX(30px)}to{opacity:1;transform:none}}
@keyframes dq-in-right{from{opacity:0;transform:translateX(-30px)}to{opacity:1;transform:none}}
@keyframes dq-in-zoom{from{opacity:0;transform:scale(.97)}to{opacity:1;transform:none}}
@keyframes dq-in-pop{0%{opacity:0;transform:scale(.9)}60%{opacity:1;transform:scale(1.02)}100%{transform:scale(1)}}
@keyframes dq-in-blur{from{opacity:0;filter:blur(6px)}to{opacity:1;filter:blur(0)}}
@keyframes dq-in-flip{from{opacity:0;transform:perspective(700px) rotateX(-24deg)}to{opacity:1;transform:none}}
@keyframes dq-in-swing{0%{opacity:0;transform:rotate(-2.5deg) translateY(6px)}60%{transform:rotate(1deg)}100%{opacity:1;transform:none}}
@keyframes dq-in-drop{0%{opacity:0;transform:translateY(-24px)}70%{opacity:1;transform:translateY(3px)}100%{transform:none}}

.dq-foot{display:flex;justify-content:flex-end;margin-top:20px}

/* result */
.dq-result.dq-show{display:block;animation:dq-fade .3s ease both}
.dq-score-row{display:flex;gap:26px;align-items:center;flex-wrap:wrap;margin-bottom:8px}
.dq-ring{
  --p:0;
  flex:0 0 auto;width:118px;height:118px;border-radius:50%;
  background:conic-gradient(var(--dq-accent) calc(var(--p)*1%), var(--dq-accent-soft) 0);
  display:grid;place-items:center;position:relative;
}
.dq-ring::after{content:"";position:absolute;inset:11px;border-radius:50%;background:var(--dq-card)}
.dq-ring b{position:relative;z-index:1;font-size:29px;color:var(--dq-accent)}
.dq-ring b small{font-size:13px;color:var(--dq-soft);font-weight:400}
.dq-verdict h3{font-size:1.4rem;margin:0 0 6px;color:var(--dq-ink)}
.dq-verdict p{margin:0;color:var(--dq-soft);font-size:15.5px}

.dq-review{margin:24px 0 4px;border-top:1px solid var(--dq-line);padding-top:18px}
.dq-review h4{
  margin:0 0 12px;font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--dq-soft);
}
.dq-rv{
  display:flex;gap:11px;align-items:flex-start;font-size:14.5px;padding:9px 0;
  border-bottom:1px dashed var(--dq-line);color:var(--dq-soft);
}
.dq-rv:last-child{border-bottom:none}
.dq-rv .dq-mark{
  flex:0 0 20px;height:20px;border-radius:50%;display:grid;place-items:center;
  font-size:12px;font-weight:800;color:#fff;margin-top:2px;
}
.dq-rv.dq-ok .dq-mark{background:#2E7D5B}
.dq-rv.dq-no .dq-mark{background:#B5483C}
.dq-rv b{color:var(--dq-ink);font-weight:700}

/* CTA box — every value comes from the Style screen (--dq-cta-*). */
.dq-cta{
  margin:var(--dq-cta-margin-top,26px) var(--dq-cta-margin-right,0) var(--dq-cta-margin-bottom,0) var(--dq-cta-margin-left,0);
  border-radius:var(--dq-cta-radius);
  padding:var(--dq-cta-pad-top,26px) var(--dq-cta-pad-right,26px) var(--dq-cta-pad-bottom,26px) var(--dq-cta-pad-left,26px);
  background:var(--dq-cta-bg);color:var(--dq-cta-ink);
  border:var(--dq-cta-border);text-align:var(--dq-cta-align);
  position:relative;overflow:hidden;
}
/* The label above the headline has its own colour: changing the headline colour
   no longer repaints it. With no colour set it follows the box text, faded. */
.dq-cta .dq-kicker{color:var(--dq-cta-kicker,var(--dq-cta-ink));opacity:var(--dq-cta-kicker-op,.72);text-transform:var(--dq-cta-kicker-transform,none)}
.dq-cta h3,.dq-cta .dq-cta-title{
  color:var(--dq-cta-title);font-family:var(--dq-cta-title-font);
  font-size:var(--dq-cta-title-size);
  font-weight:var(--dq-cta-title-weight,700);
  font-style:var(--dq-cta-title-style,normal);
  line-height:var(--dq-cta-title-line,1.3);
  letter-spacing:var(--dq-cta-title-space,0);
  padding:var(--dq-cta-title-pad-top,0) 0 var(--dq-cta-title-pad-bottom,0);
  margin:0 0 10px;
}
.dq-cta p,.dq-cta .dq-cta-sub{
  color:var(--dq-cta-ink);opacity:.92;font-size:var(--dq-cta-text-size);
  line-height:1.55;max-width:36em;margin:0 0 18px;position:relative;z-index:1;
}
/* The image (or the shortcode / HTML block) chosen in the quiz editor, when it is
   set to sit below the headline instead of — or above — the subheadline. */
.dq-cta .dq-cta-media{position:relative;z-index:1;margin:0 0 16px}
.dq-cta-center .dq-cta-media{text-align:center}
.dq-cta .dq-cta-media img,.dq-cta .dq-cta-media video{
  display:block;max-width:100%;height:auto;margin:0 auto;
  border-radius:calc(var(--dq-cta-radius) * .5);
}
.dq-cta .dq-cta-media iframe{display:block;width:100%;aspect-ratio:16/9;height:auto;border:0;margin:0 auto}
/* The CTA button. !important on the colours: a theme rule on every link in the
   article (".entry-content a{background:…}") otherwise painted over the colour
   picked in Settings, which is why the CTA button looked frozen. */
.dq-cta .dq-btn,.dq-cta .dq-cta-btn{
  position:relative;z-index:1;background:var(--dq-cta-btn-bg,var(--dq-btn)) !important;color:var(--dq-cta-btn-ink,var(--dq-btn-ink)) !important;
  border-radius:var(--dq-cta-btn-radius);font-size:var(--dq-cta-btn-size);
  padding:var(--dq-cta-btn-pad-top,14px) var(--dq-cta-btn-pad-right,26px) var(--dq-cta-btn-pad-bottom,14px) var(--dq-cta-btn-pad-left,26px);
  box-shadow:none;
}
.dq-cta .dq-btn:hover,.dq-cta .dq-cta-btn:hover{filter:brightness(.95);color:var(--dq-cta-btn-ink)}
/* Themes often colour every link — including a visited one — with a rule of their
   own, which used to paint the button text blue on the live site. These keep the
   colour chosen in Settings. */
.dq .dq-cta .dq-cta-btn,
.dq .dq-cta .dq-cta-btn:link,
.dq .dq-cta .dq-cta-btn:visited,
.dq .dq-cta .dq-cta-btn:hover,
.dq .dq-cta .dq-cta-btn:focus,
.dq .dq-cta .dq-cta-btn:active{
  color:var(--dq-cta-btn-ink)!important;
  -webkit-text-fill-color:var(--dq-cta-btn-ink);
  text-decoration:none;
}
.dq-cta h3,.dq-cta p{max-width:36em}
.dq-cta-center h3,.dq-cta-center p{margin-left:auto;margin-right:auto}
.dq-cta-center .dq-kicker{text-align:center}
.dq-result-foot{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}

/* CTA button movement — chosen in Settings → 7. Motion and sound. The class sits on
   the quiz wrapper, so every quiz on the page follows the same choice, and the
   movement stops while the visitor points at the button. */
.dq-cta-motion-sway .dq-cta .dq-cta-btn{animation:dq-cta-sway 3.2s ease-in-out infinite}
@keyframes dq-cta-sway{
  0%,100%{transform:translateX(-3px)}
  50%{transform:translateX(3px)}
}
.dq-cta-motion-nudge .dq-cta .dq-cta-btn{animation:dq-cta-nudge var(--dq-shake-every) cubic-bezier(.36,.07,.19,.97) infinite}
@keyframes dq-cta-nudge{
  0%,78%,100%{transform:translateX(0)}
  82%{transform:translateX(-4px)}
  86%{transform:translateX(4px)}
  90%{transform:translateX(-3px)}
  94%{transform:translateX(3px)}
  97%{transform:translateX(-1px)}
}
.dq-cta-motion-rock .dq-cta .dq-cta-btn{animation:dq-cta-rock 2.8s ease-in-out infinite}
@keyframes dq-cta-rock{
  0%,100%{transform:rotate(-1.4deg) translateX(-2px)}
  50%{transform:rotate(1.4deg) translateX(2px)}
}
.dq-cta-motion-beat .dq-cta .dq-cta-btn{animation:dq-cta-beat 2.6s ease-in-out infinite}
@keyframes dq-cta-beat{
  0%,100%{transform:scale(1) translateX(0)}
  25%{transform:scale(1.025) translateX(-2px)}
  50%{transform:scale(1) translateX(0)}
  75%{transform:scale(1.025) translateX(2px)}
}
.dq-cta-motion-sway .dq-cta .dq-cta-btn:hover,.dq-cta-motion-sway .dq-cta .dq-cta-btn:focus,
.dq-cta-motion-nudge .dq-cta .dq-cta-btn:hover,.dq-cta-motion-nudge .dq-cta .dq-cta-btn:focus,
.dq-cta-motion-rock .dq-cta .dq-cta-btn:hover,.dq-cta-motion-rock .dq-cta .dq-cta-btn:focus,
.dq-cta-motion-beat .dq-cta .dq-cta-btn:hover,.dq-cta-motion-beat .dq-cta .dq-cta-btn:focus{animation-play-state:paused}

/* Perfect-score celebration — the layer and its pieces are built in quiz.js and
   removed again after a few seconds. Nothing here is loaded from a file. */
.dq-confetti{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;overflow:hidden;z-index:2147483000}
.dq-confetti i{
  position:absolute;top:-8vh;left:50%;display:block;
  width:var(--dq-csize,9px);height:calc(var(--dq-csize,9px) * 1.7);
  background:var(--dq-ccolor,#E0A32E);border-radius:2px;opacity:0;
  animation:dq-confetti-fall var(--dq-cdur,3.4s) linear var(--dq-cdelay,0s) forwards;
}
.dq-confetti-stars i{
  height:var(--dq-csize,9px);border-radius:0;
  clip-path:polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
}
.dq-confetti-sparkle i{
  height:var(--dq-csize,6px);border-radius:50%;
  box-shadow:0 0 8px 1px var(--dq-ccolor,#E0A32E);
  animation-name:dq-confetti-glow;
}
@keyframes dq-confetti-fall{
  0%{opacity:0;transform:translate3d(0,-10px,0) rotate(0)}
  8%{opacity:1}
  85%{opacity:1}
  100%{opacity:0;transform:translate3d(var(--dq-cdrift,0px),106vh,0) rotate(var(--dq-crot,540deg))}
}
@keyframes dq-confetti-glow{
  0%{opacity:0;transform:translate3d(0,-10px,0) scale(.5)}
  10%{opacity:1}
  80%{opacity:.9}
  100%{opacity:0;transform:translate3d(var(--dq-cdrift,0px),96vh,0) scale(1.1)}
}
.dq-confetti-burst i{top:38%;animation-name:dq-confetti-burst}
@keyframes dq-confetti-burst{
  0%{opacity:0;transform:translate(-50%,-50%) scale(.5) rotate(0)}
  12%{opacity:1}
  70%{opacity:1}
  100%{opacity:0;transform:translate(calc(-50% + var(--dq-cdx,0px)),calc(-50% + var(--dq-cdy,0px) + 60vh)) rotate(var(--dq-crot,540deg))}
}

/* ---------------------------------------------------------------------
   Template: Minimal — flat, quiet, follows the theme
   ------------------------------------------------------------------- */
.dq-tpl-minimal > .dq-inner .dq-card{border-radius:calc(var(--dq-radius) / 2);border-width:1px;padding:var(--dq-card-pad-top,30px) var(--dq-card-pad-right,26px) var(--dq-card-pad-bottom,26px) var(--dq-card-pad-left,26px)}
.dq-has-shadow.dq-tpl-minimal > .dq-inner .dq-card{box-shadow:none}
.dq-tpl-minimal > .dq-inner .dq-head h2{font-size:clamp(1.3rem,2.3vw,1.6rem)}
.dq-tpl-minimal > .dq-inner .dq-kicker{color:var(--dq-soft);letter-spacing:.18em}
.dq-tpl-minimal > .dq-inner .dq-bar{height:4px;border-radius:2px}
.dq-tpl-minimal > .dq-inner .dq-bar > i{border-radius:2px}
.dq-tpl-minimal > .dq-inner .dq-opt{border-radius:calc(var(--dq-radius) / 2);border-width:1px;padding:13px 15px}
.dq-tpl-minimal > .dq-inner .dq-opt:hover:not([disabled]){background:var(--dq-hover-bg,transparent);border-color:var(--dq-accent)}
.dq-tpl-minimal > .dq-inner .dq-btn{border-radius:6px;padding:12px 20px;box-shadow:none;font-size:15px}
.dq-tpl-minimal > .dq-inner .dq-badge{width:46px;height:46px;font-size:18px;border-radius:8px;background:transparent}
.dq-tpl-minimal > .dq-inner .dq-review h4{letter-spacing:.16em}
.dq-tpl-minimal > .dq-inner .dq-ring{width:104px;height:104px}

/* compact (inside the all-quizzes page) */
.dq-compact.dq{margin:0;max-width:none}
.dq-compact .dq-head{display:none}
.dq-compact .dq-intro-kicker,
.dq-compact .dq-pill{display:none}
.dq-compact .dq-intro{padding-top:0}

/* ---------------------------------------------------------------------
   All-quizzes page
   ------------------------------------------------------------------- */
.dq-archive{max-width:820px}
.dq-archive-head{text-align:center;margin-bottom:26px}
.dq-archive-head h2{
  font-size:clamp(1.6rem,3vw,2.1rem);margin:0 0 8px;color:var(--dq-ink);
}
.dq-archive-head p{color:var(--dq-soft);margin:0}
.dq-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.dq-list-item{
  border:1px solid var(--dq-line);border-radius:var(--dq-radius);
  background:var(--dq-card);overflow:hidden;
}
.dq-has-shadow .dq-list-item{box-shadow:0 14px 30px -26px rgba(14,61,70,.6)}
.dq-item{
  display:flex;align-items:center;gap:16px;width:100%;text-align:left;
  font-family:var(--dq-font);font-size:17px;color:var(--dq-ink);
  background:transparent;border:0;cursor:pointer;padding:16px 18px 6px;
  transition:background .15s ease;
}
/* The line under the title: the question count and the article the quiz belongs
   to, by name and with a link. It sits outside the button so the link works. */
.dq-item-meta{
  margin:0;padding:0 18px 14px 72px;font-size:13.5px;line-height:1.5;color:var(--dq-soft);
}
.dq-item-meta a{color:var(--dq-accent);text-decoration:underline;text-underline-offset:2px}
.dq-item-meta a:hover{text-decoration:none}
.dq-item:hover{background:var(--dq-accent-soft)}
.dq-item-num{
  flex:0 0 38px;height:38px;border-radius:10px;display:grid;place-items:center;
  background:var(--dq-accent-soft);color:var(--dq-accent);
  font-size:13px;font-weight:800;letter-spacing:.04em;
}
.dq-item.is-open .dq-item-num{background:var(--dq-accent);color:var(--dq-accent-ink)}
.dq-item-body{flex:1 1 auto;display:flex;flex-direction:column;gap:2px;min-width:0}
.dq-item-body strong{font-weight:700;line-height:1.35}
.dq-item-body em{font-style:normal;font-size:13.5px;color:var(--dq-soft)}
.dq-chev{
  flex:0 0 10px;width:10px;height:10px;border-right:2px solid var(--dq-soft);border-bottom:2px solid var(--dq-soft);
  transform:rotate(45deg);transition:transform .2s ease;margin-right:6px;
}
.dq-item.is-open .dq-chev{transform:rotate(-135deg)}
.dq-panel{padding:0;border-top:1px solid var(--dq-line)}
.dq-panel .dq{margin:0;padding:24px 18px 26px;max-width:none}

@media(max-width:620px){
  .dq-score-row{gap:18px}
  .dq-ring{width:96px;height:96px}
  .dq-ring b{font-size:24px}
  .dq-btn{font-size:15px;padding:13px 20px}
  .dq-list-item{border-radius:12px}
  .dq-item{padding:12px 14px 4px;gap:12px}
  .dq-item-meta{padding:0 14px 12px 64px}
}

/* ---------------------------------------------------------------------
   Sizes and answer states chosen in Settings — kept ahead of the theme.
   Themes set their own size on every heading and paragraph inside an article
   (.entry-content h3, .entry-content p …), which beat these rules on the live
   page while the preview — with no theme CSS around it — looked right. The
   doubled class, and !important where a theme is likely to style buttons and
   links, keeps the values chosen in Settings.
   ------------------------------------------------------------------- */
.dq.dq{font-size:var(--dq-base-size,17px) !important}
.dq.dq .dq-intro h3,.dq.dq .dq-intro .dq-quiz-title{font-size:var(--dq-title-size,1.32rem) !important}
.dq.dq .dq-text{font-size:var(--dq-q-size,clamp(1.16rem,2.2vw,1.42rem)) !important}
.dq.dq .dq-opt{
  font-size:var(--dq-opt-size,15.5px) !important;
  font-weight:var(--dq-opt-weight,400);
  font-style:var(--dq-opt-style,normal);
}
/* Body text size: the intro, the answer note, the verdict and the review list all
   grow and shrink with it, so the setting has a visible effect.
   !important is what lets the field work on the live page: a theme rule such as
   "#content p{font-size:16px}" holds an id, which beats any number of classes, so
   these lines stayed frozen and Body text size only ever showed in the preview. */
.dq.dq .dq-head p{font-size:calc(var(--dq-base-size,17px) * .88) !important}
.dq.dq .dq-intro .dq-quiz-intro{
  font-family:var(--dq-sub-font,var(--dq-font)) !important;
  font-size:var(--dq-sub-size,calc(var(--dq-base-size,17px) * .88)) !important;
  font-weight:var(--dq-sub-weight,var(--dq-font-weight,400)) !important;
  font-style:var(--dq-sub-style,var(--dq-font-style,normal)) !important;
  color:var(--dq-sub-ink,var(--dq-soft)) !important;
  text-transform:var(--dq-sub-transform,none) !important;
  line-height:var(--dq-sub-line,normal) !important;
  letter-spacing:var(--dq-sub-space,normal) !important;
}
/* The reader-numbers line keeps its own size, whatever the subtitle and the body do. */
.dq.dq .dq-stats{font-size:var(--dq-stats-size,13px) !important}
/* The CTA button's colours reach past a theme's link rules — "#content a" holds an
   id, which beats "plain class" selectors however many rules already set it. */
.dq.dq .dq-cta .dq-btn,
.dq.dq .dq-cta .dq-cta-btn{
  background:var(--dq-cta-btn-bg,var(--dq-btn)) !important;
  color:var(--dq-cta-btn-ink,var(--dq-btn-ink)) !important;
}
.dq.dq .dq-feedback,
.dq.dq .dq-feedback .dq-fb-title,
.dq.dq .dq-feedback .dq-fb-body{font-size:calc(var(--dq-base-size,17px) * .88) !important}
.dq.dq .dq-verdict p{font-size:calc(var(--dq-base-size,17px) * .91) !important}
.dq.dq .dq-rv{font-size:calc(var(--dq-base-size,17px) * .85) !important}

/* Answer colours: hover, and the answer the reader picked. */
.dq.dq .dq-opt:hover:not([disabled]){
  border-color:var(--dq-accent) !important;
  background:var(--dq-hover-bg,var(--dq-accent-soft)) !important;
  color:var(--dq-hover-ink,var(--dq-ink)) !important;
}
.dq.dq .dq-opt.dq-picked{
  background:var(--dq-pick-bg,var(--dq-opt-bg,transparent)) !important;
  color:var(--dq-pick-ink,var(--dq-ink)) !important;
}

/* The Next question button: its hover colours. Everything else about it is written
   on the button itself in Settings → G, so a theme's button rule cannot hide it. */
.dq.dq .dq-next:hover:not([disabled]){
  background:var(--dq-next-hover-bg,var(--dq-accent)) !important;
  color:var(--dq-next-hover-ink,var(--dq-accent-ink)) !important;
}

/* "Show the Next question button before the answer": visible, but waiting. */
.dq-next[disabled]{opacity:.45;cursor:not-allowed}

/* Body font weight and style, chosen under Body Font and sizes inside the quiz. */
.dq.dq .dq-inner{font-weight:var(--dq-font-weight,400);font-style:var(--dq-font-style,normal)}

/* ---------------------------------------------------------------------
   The quiz teaser box — [quiz-teaser], anywhere in the article and as many
   times as wanted. A small card: the article's featured picture on the left
   of the quiz title, and a Take the quiz button under them that jumps down to
   the quiz. It carries the quiz's own colour variables in its style attribute,
   and the doubled class plus !important keep a theme's own link, picture and
   heading rules off it.
   ------------------------------------------------------------------- */
.dq-teaser,
.dq.dq-teaser{
  display:flex !important;flex-direction:column;align-items:flex-start;
  box-sizing:border-box;width:100%;max-width:100%;
  margin:26px 0 !important;padding:16px 18px !important;
  background:#F4F8F8;background:var(--dq-teaser-bg,#F4F8F8);
  border:1px solid #D6E3E4;border-color:var(--dq-teaser-line,#D6E3E4);
  border-left:4px solid #0E3D46;border-left-color:var(--dq-accent,#0E3D46);
  border-radius:14px;
  box-shadow:none;
  background-clip:padding-box;
  text-decoration:none !important;color:#1D2C33 !important;color:var(--dq-ink,#1D2C33) !important;
  font-family:var(--dq-font,inherit);
  transition:background .2s ease,border-color .2s ease;
}
.dq-teaser:hover,.dq-teaser:focus{
  background:#fff !important;
  border-color:var(--dq-accent-line,#C9DADC) !important;
}
.dq-teaser-top{display:flex !important;align-items:center;gap:14px;width:100%;text-decoration:none}
.dq-teaser-media{flex:0 0 auto;display:block !important;line-height:0}
/* The small icon that replaces the featured picture inside the box. Its size comes
   from Settings → Headline size's neighbour, or from icon="…" on one shortcode. */
.dq-teaser .dq-teaser-iconwrap,
.dq.dq-teaser .dq-teaser-iconwrap{
  display:flex !important;align-items:center;justify-content:center;
  margin:0 !important;padding:0 !important;border:0 !important;background:none !important;
  border-radius:0 !important;box-shadow:none !important;line-height:0;
}
.dq-teaser .dq-teaser-icon,
.dq.dq-teaser .dq-teaser-icon{
  display:block !important;flex:0 0 auto;
  width:var(--dq-teaser-icon-size,34px) !important;height:var(--dq-teaser-icon-size,34px) !important;
  max-width:none !important;max-height:none !important;min-width:0 !important;min-height:0 !important;
  margin:0 !important;padding:0 !important;border:0 !important;box-shadow:none !important;
  background:none !important;float:none !important;
  color:#0E3D46 !important;color:var(--dq-accent,#0E3D46) !important;
}
.dq-teaser .dq-teaser-img,
.dq.dq-teaser .dq-teaser-img{
  display:block !important;width:84px !important;height:84px !important;max-width:none !important;
  object-fit:cover;border-radius:10px !important;
  margin:0 !important;padding:0 !important;border:0 !important;box-shadow:none !important;
  float:none !important;
}
.dq-teaser-title,
.dq.dq-teaser .dq-teaser-title{
  display:block;flex:1 1 auto;min-width:0;
  font-family:var(--dq-title-font,var(--dq-font,inherit));
  font-size:var(--dq-teaser-title-size,19px);font-weight:700;line-height:1.3;
  color:#1D2C33 !important;color:var(--dq-title-color,var(--dq-ink,#1D2C33)) !important;
  text-align:left;text-decoration:none !important;
  margin:0 !important;padding:0 !important;border:0 !important;
  text-transform:none;
}
.dq-teaser-btn,
.dq.dq-teaser .dq-teaser-btn{
  display:inline-flex !important;align-items:center;gap:8px;margin-top:14px !important;
  padding:11px 20px !important;border-radius:99px !important;border:0 !important;
  /* The teaser button has its own two colours in Settings. When they are empty the
     button keeps the CTA button colour it has always used, so no box changes look. */
  background:#0E3D46;background:var(--dq-teaser-btn-bg,var(--dq-btn,var(--dq-accent,#0E3D46))) !important;
  color:#fff !important;color:var(--dq-teaser-btn-ink,var(--dq-btn-ink,var(--dq-accent-ink,#fff))) !important;
  font-family:var(--dq-font,inherit);font-size:15px;font-weight:700;line-height:1.2;
  letter-spacing:0;text-decoration:none !important;
  box-shadow:0 12px 24px -18px rgba(0,0,0,.6);
}
.dq-teaser:hover .dq-teaser-btn{filter:brightness(.94)}
.dq-teaser-arrow{
  display:inline-block;width:8px;height:8px;
  border-right:2px solid currentColor;border-bottom:2px solid currentColor;
  transform:rotate(45deg);margin-top:-3px;
}
/* The landing spot the teaser button jumps to: no height, clear of a sticky header. */
.dq-anchor{display:block;height:0;scroll-margin-top:90px}

@media(max-width:640px){
  .dq-teaser,.dq.dq-teaser{padding:14px 14px !important;margin:22px 0 !important}
  .dq-teaser .dq-teaser-img,.dq.dq-teaser .dq-teaser-img{width:64px !important;height:64px !important}
  .dq-teaser .dq-teaser-icon,.dq.dq-teaser .dq-teaser-icon{width:max(20px,calc(var(--dq-teaser-icon-size,34px) * .85)) !important;height:max(20px,calc(var(--dq-teaser-icon-size,34px) * .85)) !important}
  .dq-teaser-title,.dq.dq-teaser .dq-teaser-title{font-size:max(13px,calc(var(--dq-teaser-title-size,19px) * .85))}
  .dq-teaser-btn,.dq.dq-teaser .dq-teaser-btn{font-size:14px;padding:10px 18px !important}
}

@media(prefers-reduced-motion:reduce){
  .dq *{transition:none !important;animation:none !important}
  .dq-confetti{display:none !important}
}
