/* Trivia question pages (/trivia-questions/ and its funny, hard, kids and adults lists): hubs.css layout, a quiz-show card for the
   random question, long numbered question lists with the answer behind a reveal, and the trivia player below. */
.hb[data-hub=trivia]{--hb-tint:#eeedfb;--hb-tint2:#fff3dc;--hb-accent:#3b2f9e;--hb-deep:#1d1a4a;--hb-soft:#dcd8f8;--tpl-soft:#f3f1fc;--tpl-accent:#3b2f9e;--tq-gold:#f3c560}
.tq .hb-hero{grid-template-columns:minmax(0,1fr) minmax(0,.95fr)}
.tq .hb-hero h1{font-size:clamp(40px,4.6vw,64px)}
.tq .hb-crumbs{flex-wrap:wrap;row-gap:6px}.tq .hb-crumbs>*{white-space:nowrap}
.tq-acts{display:flex;flex-wrap:wrap;align-items:center;gap:14px 22px;margin-bottom:16px}
.tq-acts .button{min-height:54px;padding:14px 26px;font-size:16px}
.tq-link{display:inline-flex;align-items:center;min-height:44px;font-weight:700;font-size:15px;border-bottom:1px solid currentColor;line-height:1.3}
.tq-plain{font-size:14.5px;color:#4a4560;max-width:520px}.tq-plain a{border-bottom:1px solid currentColor;font-weight:700}
/* The random card: a little quiz-show podium */
.tq-draw{position:relative;border-radius:28px;padding:24px 24px 20px;color:#fff;min-width:0;isolation:isolate;box-shadow:0 30px 60px -28px rgba(29,26,74,.6);
 background:radial-gradient(circle at 12% 0%,rgba(243,197,96,.28),transparent 42%),radial-gradient(circle at 100% 100%,rgba(255,95,135,.22),transparent 45%),linear-gradient(160deg,#2a2668,#16143a 75%)}
.tq-draw::before{content:'';position:absolute;inset:0;border-radius:inherit;z-index:-1;opacity:.35;background-image:radial-gradient(circle,rgba(255,255,255,.85) 0 1.4px,transparent 2px);background-size:46px 46px;background-position:8px 10px;pointer-events:none}
.tq-card{background:#fffaf0;color:#221d3d;border-radius:20px;padding:22px 20px 16px;box-shadow:0 6px 0 #c9b98f,0 18px 30px -12px rgba(0,0,0,.45)}
.tq-card-q{font-family:var(--display);font-weight:800;font-size:clamp(20px,2vw,25px);line-height:1.22;letter-spacing:-.02em;margin:0 0 14px;text-wrap:balance}
.tq-card-o{list-style:none;margin:0 0 12px;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:8px}
.tq-card-o li{display:flex;align-items:center;gap:10px;min-height:46px;padding:8px 12px;border-radius:12px;background:#fff;border:1.5px solid #e4dccb;font-weight:700;font-size:15.5px;line-height:1.3;overflow-wrap:anywhere}
.tq-card-o b{flex:0 0 auto;display:inline-grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#ece8ff;color:#3b2f9e;font-size:13px}
.tq-card-a summary{display:inline-flex;align-items:center;min-height:44px;padding:0 4px;font-weight:800;font-size:15px;cursor:pointer;color:#3b2f9e;text-decoration:underline;text-underline-offset:3px}
.tq-card-a p{margin:4px 0 6px;padding:12px 14px;border-radius:12px;background:#fff1cf;font-size:15px;line-height:1.5}
.tq-card-a p b{display:block;font-size:16.5px;margin-bottom:2px}
.tq-card-from{margin:6px 0 0;font-size:13px;color:#5c5672}
.tq-draw-acts{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 18px;margin-top:18px}
.tq-next{display:inline-flex;align-items:center;min-height:48px;padding:12px 22px;border-radius:99px;background:var(--tq-gold);color:#221d3d;font-weight:800;font-size:15px;box-shadow:0 4px 0 #b88b2e;transition:transform .15s}
.tq-next:hover{transform:translateY(-2px)}.tq-next:active{transform:translateY(2px);box-shadow:0 2px 0 #b88b2e}
.tq-draw-play{display:inline-flex;align-items:center;min-height:44px;font-weight:800;font-size:15px;color:#fff;border-bottom:1.5px solid currentColor;line-height:1.3}
.tq-draw a:focus-visible,.tq-draw summary:focus-visible{outline:3px solid #fff;outline-offset:4px}.tq-card summary:focus-visible{outline-color:#3b2f9e}
.tq-card.is-new{animation:tq-deal .42s cubic-bezier(.2,.8,.2,1)}
@keyframes tq-deal{from{opacity:.2;transform:translateY(10px) rotate(-1deg)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.tq-card.is-new{animation:none}.tq-next{transition:none}}
/* Jump to a category */
.tq-jump{padding-top:28px!important;padding-bottom:0!important}
.tq-jump ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px 10px}
.tq-jump a{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 16px 8px 12px;border-radius:99px;border:1px solid var(--line);background:#fff;font-weight:700;font-size:14.5px;transition:background .15s,border-color .15s}
.tq-jump a:hover{background:var(--hb-tint);border-color:var(--hb-soft)}
.tq-jump svg{width:20px;height:20px;color:var(--hb-accent);flex:0 0 auto}
/* The lists */
.tq-lists{padding-top:24px!important}
.tq-set-title{font-size:clamp(30px,3.2vw,44px);margin:40px 0 0;padding-top:12px}
.tq-set:first-child .tq-set-title{margin-top:8px}
.tq-part{padding:40px 0 30px;border-top:1px solid var(--line)}.tq-part:first-child,.tq-set-title+.tq-part{border-top:0}
.tq-part-head{display:flex;gap:16px;align-items:flex-start;max-width:780px;margin-bottom:20px}
.tq-part-icon{flex:0 0 auto;display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:var(--hb-tint);color:var(--hb-accent)}
.tq-part-icon svg{width:28px;height:28px}
.tq-part-head h2,.tq-part-head h3{font-size:clamp(26px,2.6vw,36px);line-height:1.08;margin:2px 0 8px;letter-spacing:-.025em}
.tq-part-head p{font-size:16.5px;color:#4a4560;line-height:1.55;margin:0}
.tq h2 small,.tq h3 small{font-family:var(--body);font-size:15px;font-weight:700;letter-spacing:0;color:var(--hb-accent);background:var(--hb-tint);border-radius:99px;padding:3px 10px;vertical-align:.3em;margin-left:4px}
.tq-part-head--thumb{max-width:none;display:grid;grid-template-columns:minmax(0,240px) minmax(0,1fr);gap:20px 30px;align-items:center}
.tq-part-head--thumb>div{max-width:680px}
.tq-thumb{display:block;border-radius:18px;overflow:hidden;aspect-ratio:3/2;background:var(--hb-soft);box-shadow:0 18px 30px -22px rgba(32,27,56,.6)}
.tq-thumb img{width:100%;height:100%;object-fit:cover}
.tq-more{display:inline-flex;align-items:center;min-height:44px;margin-top:6px;font-weight:800;font-size:15px;color:var(--hb-accent);border-bottom:1.5px solid currentColor;line-height:1.3}
/* Play, print and host */
.tq-play{padding-bottom:40px!important}
.tq-switch{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 20px}
.tq-switch-btn{min-height:48px;padding:10px 20px;border-radius:99px;border:1.5px solid var(--ink);background:#fff;font-weight:800;font-size:15px;color:var(--ink)}
.tq-switch-btn[aria-pressed=true]{background:var(--ink);color:#fff}
.tq-switch-btn[aria-pressed=true]::before{content:'✓ ';}
.tq-switch-btn:focus-visible{outline:3px solid var(--hb-accent);outline-offset:3px}
.tq-player+.tq-player{margin-top:28px}
.tq-player-title{font-size:22px;margin:0 0 12px}
.tq-switch:not([hidden])~.tq-player .tq-player-title{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.tq-print .paper-choice{margin:0 0 18px}
.tq-print .tpl-print+.tq-full{margin-top:14px}
.tq-full+.tpl-print{margin-top:36px}
.tq-full{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:20px 32px;align-items:center;border:1px solid var(--line);border-radius:26px;padding:clamp(18px,3vw,30px);background:#fff}
.tq-full h3{font-size:22px;margin:0 0 8px}.tq-full p{margin:0 0 12px;font-size:15.5px;color:#3b3650}
.tq-full .um{margin:0}
.tq-how-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px 56px;align-items:start;margin-bottom:32px}
.tq-how-art{margin:0}.tq-how-art img{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:24px;box-shadow:0 30px 60px -30px rgba(32,27,56,.5);background:var(--hb-soft)}
.tq-how-art figcaption{font-size:13.5px;color:#5c5770;margin-top:10px}
.tq-how h2{margin-bottom:12px}.tq-how-top>div>p{font-size:16.5px;color:#3b3650;line-height:1.6}
/* More lists */
.tq-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:22px}
.tq-tile{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:22px;overflow:hidden;background:#fff;transition:transform .2s,box-shadow .2s}
.tq-tile:hover{transform:translateY(-3px);box-shadow:0 22px 40px -26px rgba(32,27,56,.5)}
.tq-tile>a{display:block;aspect-ratio:3/2;background:var(--hb-soft)}.tq-tile>a img{width:100%;height:100%;object-fit:cover}
.tq-tile>div{padding:16px 18px 18px;display:flex;flex-direction:column;flex:1}
.tq-tile h3{font-size:19px;margin-bottom:8px}.tq-tile h3 a:hover{color:var(--hb-accent)}
.tq-tile p{font-size:14.5px;color:#3b3650;line-height:1.5;margin-bottom:12px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.tq-tile-meta{margin-top:auto;font-size:13.5px;font-weight:800;color:#17633f}
.tq-plus h2{max-width:720px}
@media (prefers-reduced-motion:reduce){.tq-tile{transition:none}.tq-tile:hover{transform:none}}
@media (max-width:1100px){.tq-full{grid-template-columns:minmax(0,1fr)}}
@media (max-width:900px){
 .tq .hb-hero{grid-template-columns:minmax(0,1fr);gap:28px}
 .tq-how-top{grid-template-columns:minmax(0,1fr)}
 .tq-part-head--thumb{grid-template-columns:minmax(0,1fr)}.tq-part-head--thumb .tq-thumb{max-width:400px}
}
@media (max-width:600px){
 .tq .hb-hero h1{font-size:38px}
 .tq-draw{padding:16px 12px 14px;border-radius:22px}
 .tq-card{padding:18px 14px 12px}
 .tq-card-o{grid-template-columns:minmax(0,1fr)}
 .tq-acts .button{width:100%}
 .tq-part-head{gap:12px}.tq-part-icon{width:44px;height:44px;border-radius:13px}.tq-part-icon svg{width:24px;height:24px}
 .tq-thumb{display:none}
 .tq-jump a{font-size:14px;padding:8px 14px 8px 10px}
 .tq-tiles{grid-template-columns:minmax(0,1fr);gap:14px}
 .tq-tile{flex-direction:row;border-radius:18px}.tq-tile>a{flex:0 0 108px;aspect-ratio:auto}.tq-tile>div{padding:12px 14px}
 .tq-tile h3{font-size:17px;margin-bottom:4px}.tq-tile p{font-size:14px;margin-bottom:8px;-webkit-line-clamp:3}
 .tq-full{border-radius:20px}
}
