/* The World Tour quiz (/guides/elf-world-tour/quiz/; generator site/tools/guides.mjs, tourQuiz). The class screen
   covers the whole page (no header, footer or web address showing) and reads from the back of a classroom. */
.tq-setup fieldset{border:1px solid var(--line);border-radius:14px;padding:14px 16px;margin:0 0 16px;background:var(--card)}
.tq-setup legend{font-family:var(--display);font-weight:700;font-size:1.15rem;padding:0 6px}
.tq-places{list-style:none;margin:8px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:6px 14px}
.tq-places label{display:flex;gap:8px;align-items:center;min-height:40px;cursor:pointer}
.tq-places input{width:22px;height:22px;accent-color:var(--night)}
.tq-quick{margin:0}
.tq-link{background:none;border:0;padding:6px 0;margin-right:14px;color:var(--ink);text-decoration:underline;font:inherit;cursor:pointer}
.tq-hint{color:var(--muted);font-size:.95rem}
.tq-screen{position:fixed;inset:0;z-index:1000;background:var(--night);color:var(--night-ink);display:flex;flex-direction:column;padding:16px clamp(16px,4vw,48px) 24px;overflow:auto}
.tq-screen[hidden]{display:none}
.tq-bar{display:flex;gap:10px;align-items:center}
.tq-count{flex:1;font-family:var(--display);font-size:clamp(1rem,2.2vw,1.5rem);color:var(--night-muted)}
.tq-x{background:transparent;color:var(--night-ink);border:1px solid var(--night-line);border-radius:999px;padding:8px 16px;font:inherit;cursor:pointer}
.tq-card{flex:1 0 auto;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:clamp(10px,2vh,22px);max-width:1100px;margin:0 auto;width:100%}
.tq-who{font-family:var(--display);font-weight:700;color:var(--lamp);font-size:clamp(1.2rem,3vw,2.2rem);margin:0}
.tq-q{font-family:var(--display);font-weight:700;font-size:clamp(1.8rem,5.2vw,4.2rem);line-height:1.12;margin:0}
.tq-a{font-family:var(--display);font-weight:800;color:var(--lamp-hot);font-size:clamp(2rem,6vw,4.8rem);line-height:1.1;margin:0}
.tq-more,.tq-cheer{font-size:clamp(1.1rem,2.6vw,2rem);margin:0;max-width:40ch}
.tq-cheer{color:var(--night-muted)}
.tq-reveal{display:flex;flex-direction:column;align-items:center;gap:clamp(8px,2vh,18px);width:100%}
.tq-ans{display:flex;flex-direction:column;gap:clamp(6px,1.4vh,14px);align-items:center}
.tq-pic{width:min(520px,80vw);height:auto;border-radius:12px;box-shadow:var(--shadow-night)}
.tq-shown .tq-q{font-size:clamp(1.3rem,3vw,2.6rem)}
.tq-shown .tq-who{font-size:clamp(1rem,2.2vw,1.7rem)}
@media (min-width:760px) and (min-aspect-ratio:4/3){
  .tq-reveal{flex-direction:row;justify-content:center;gap:clamp(20px,4vw,56px)}
  .tq-reveal .tq-pic{width:auto;max-width:42vw;max-height:46vh}
  .tq-ans{align-items:flex-start;text-align:left;flex:0 1 44%}
  .tq-ans .tq-more{font-size:clamp(1rem,1.9vw,1.6rem);line-height:1.3}
  .tq-ans .tq-cheer{font-size:clamp(.95rem,1.6vw,1.3rem)}
  .tq-ans .tq-a{font-size:clamp(1.8rem,4.6vw,4rem)}
}
.tq-go{display:flex;justify-content:center;padding-top:10px}
.tq-screen .tq-shown + .tq-go .tq-big{font-size:clamp(1.1rem,2vw,1.5rem);padding:.55em 1.6em}
.tq-screen .tq-big{font-size:clamp(1.2rem,2.6vw,1.9rem);padding:.7em 1.8em;background:var(--lamp);color:var(--lamp-ink)}
@media (prefers-reduced-motion:no-preference){.tq-a,.tq-pic{animation:tq-in .35s var(--ease-pop) both}}
@keyframes tq-in{from{opacity:0;transform:scale(.92)}to{opacity:1;transform:none}}
