/* Story quiz: list, one quiz, result. Uses the site's colours (base.css). */
.vh{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.kq{padding-bottom:72px}
.kq-head{padding-bottom:8px}
.kq-wait{color:var(--soft);padding:24px 0}

/* the list */
.kq-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:18px;margin-top:22px}
.kq-card{display:flex;flex-direction:column;gap:8px;background:var(--card);border:var(--bw) solid var(--line);border-radius:var(--r);padding:26px 26px 22px;color:var(--ink)}
.kq-card:hover{border-color:var(--acct)}
.kq-card-t{font-family:var(--fd);font-weight:var(--fw);font-size:28px;line-height:1.2}
.kq-card-t .l-hi{font-family:var(--fh);font-size:24px;line-height:1.4}
.kq-card-m{font-size:15px;color:var(--soft)}
.kq-card-go{margin-top:6px;font-weight:600;color:var(--acct)}
.kq-none{display:none;grid-column:1/-1}
html[data-lang=en] .kq-hi-only{display:none}
html[data-lang=en] .kq-no-en .kq-none{display:block}

/* the quiz */
.kq-back{display:inline-block;margin:28px 0 6px;color:var(--acct);font-weight:600}
.kq-back:hover{text-decoration:underline}
.kq-intro,.kq-play,.kq-res{max-width:820px}
.kq-intro{padding:18px 0 8px}
.kq-h1{font-size:clamp(36px,5vw,58px);line-height:1.1;margin-top:10px}
.kq-h1 .l-hi{font-family:var(--fh);line-height:1.3}
.kq-intro .lead{margin-top:14px;font-size:19px;color:var(--soft);max-width:620px}
.kq-chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px;font-size:15px;color:var(--soft)}
.kq-chips span{padding:5px 14px;border:var(--bw) solid var(--line);border-radius:999px;background:var(--card)}
.kq-go{display:flex;flex-wrap:wrap;gap:14px 20px;align-items:center;margin-top:24px}
.kq-note{font-size:15px;color:var(--soft)}

.kq-play{padding-top:12px}
.kq-top{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;color:var(--soft);font-size:16px}
.kq-count{font-weight:600;color:var(--ink)}
.kq-prog{height:8px;background:var(--bg2);border-radius:999px;overflow:hidden;margin-top:12px}
.kq-prog i{display:block;height:100%;background:var(--acc);transition:width .25s}
.kq-q{font-size:clamp(28px,3.6vw,40px);line-height:1.25;margin:26px 0 18px}
.kq-q .l-hi{font-family:var(--fh);font-size:clamp(24px,3vw,31px);line-height:1.6}
.kq-q:focus{outline:none}
.kq-opts{display:grid;gap:12px}
.kq-opt{display:flex;align-items:center;gap:16px;width:100%;text-align:left;min-height:60px;padding:12px 18px;background:var(--card);color:var(--ink);border:1.5px solid var(--line);border-radius:12px;font:inherit;font-size:19px;cursor:pointer}
.kq-opt:hover:not(:disabled){border-color:var(--acct)}
.kq-let{flex:none;display:flex;align-items:center;justify-content:center;width:34px;height:34px;border:1.5px solid #B79F72;border-radius:50%;font-weight:600;font-size:16px}
.kq-txt{flex:1;min-width:0}
.kq-tag{flex:none;font-size:15px;font-weight:600}
.kq-opt:disabled{cursor:default;color:var(--ink)}
.kq-opt.dim{opacity:.62}
.kq-opt.ok{background:#E4EFD9;border:2px solid #2F6B3A;color:#1F4D2A;font-weight:600}
.kq-opt.ok .kq-let{background:#2F6B3A;border-color:#2F6B3A;color:#fff}
.kq-opt.no{background:#F7E0DB;border:2px solid #A12B1F;color:#7C1F15;font-weight:600}
.kq-opt.no .kq-let{background:#A12B1F;border-color:#A12B1F;color:#fff}
.kq-fb{margin-top:18px;padding:14px 18px;border:var(--bw) solid var(--line);border-radius:12px;background:var(--card);font-size:18px;line-height:1.65}
.kq-fb.good b{color:#1F4D2A}
.kq-fb.bad b{color:#7C1F15}
.kq-why{color:var(--soft)}
.kq-nav{display:flex;justify-content:flex-end;margin-top:18px}

/* the result */
.kq-score{display:flex;flex-wrap:wrap;gap:20px 32px;align-items:center;background:var(--card);border:var(--bw) solid var(--line);border-radius:16px;padding:32px;margin-top:10px}
.kq-big{font-family:var(--fb);font-weight:600;font-size:96px;line-height:1;color:var(--acct)}
.kq-big small{font-size:46px;color:var(--soft)}
.kq-sc-t{flex:1 1 260px;min-width:0}
.kq-msg{font-size:clamp(26px,3vw,34px);line-height:1.25;margin-top:6px}
.kq-msg .l-hi{font-family:var(--fh);line-height:1.5}
.kq-msg:focus{outline:none}
.kq-sub{margin-top:6px;color:var(--soft)}
.kq-acts{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}
.kq-again-h{font-size:30px;margin:34px 0 8px}
.kq-again-h .l-hi{font-family:var(--fh);font-size:26px}
.kq-wrong{border-top:var(--bw) solid var(--line)}
.kq-w{padding:20px 0;border-bottom:var(--bw) solid var(--line);display:grid;gap:6px}
.kq-w-q{font-size:19px;font-weight:600;line-height:1.5}
.kq-w-no{color:#7C1F15}
.kq-w-ok{color:#1F4D2A;font-weight:600}
.kq-w-why{color:var(--soft)}

@media (max-width:600px){
  .kq-opt{font-size:18px;padding:12px 14px;gap:12px}
  .kq-tag{display:none}
  .kq-score{padding:24px 20px}
  .kq-big{font-size:72px}
  .kq-big small{font-size:36px}
  .kq-acts .btn{flex:1 1 100%}
  .kq-nav .btn{width:100%}
}
