/**
 * Pages built from the question bank (CR req_ccl2PbjWAiFO): the category
 * pages (/trivia/questions/{slug}), the ready-made game pages
 * (/trivia-games/{slug}), the occasion pages and the lists on the
 * /trivia/questions index. Linked with @pushOnce('styles') by those views
 * only. Solid surfaces, no gradients; built on the app tokens in
 * trivia-app.css (--bg-secondary, --border-color, --text-secondary).
 */

/* ---- Primary action card ---- */
.t1qp-action { margin-top: 1.5rem; padding: 1.25rem; border-radius: 18px; background: var(--bg-secondary, #1a1a35); border: 1px solid var(--border-color, #2a2a4a); }
.t1qp-action h2 { margin: 0 0 .35rem; font-family: 'Poppins', sans-serif; font-size: 1.15rem; font-weight: 800; }
.t1qp-action-meta { margin: 0 0 1rem; color: var(--text-secondary, #b0b0cc); font-size: .95rem; }
.t1qp-action-note { margin: .9rem 0 0; color: var(--text-secondary, #b0b0cc); font-size: .9rem; line-height: 1.5; }
.t1qp-action-note a { color: #a5b4fc; }

/* ---- Sample questions; the answer opens on tap (a <details>, so it works and is
       in the HTML with no JavaScript) ---- */
.t1qp-qa { list-style: decimal; padding-left: 1.4rem; margin: .5rem 0 0; }
.t1qp-qa li { margin-bottom: .9rem; }
.t1qp-q { margin: 0; font-weight: 600; }
.t1qp-answer { margin: .25rem 0 0; }
.t1qp-answer summary { cursor: pointer; color: #a5b4fc; font-size: .9rem; }
.t1qp-a { margin: .25rem 0 0; opacity: .85; }

/* ---- Rounds of a ready-made game ---- */
.t1qp-rounds { list-style: none; padding: 0; margin: .5rem 0 0; display: grid; gap: .6rem; }
.t1qp-rounds li { padding: .75rem .95rem; border-radius: 12px; border: 1px solid var(--border-color, #2a2a4a); background: rgba(255,255,255,.03); }
.t1qp-round-n { display: block; font-size: .8rem; color: var(--text-secondary, #b0b0cc); }
.t1qp-round-title { font-weight: 700; }
.t1qp-round-meta { display: block; font-size: .9rem; color: var(--text-secondary, #b0b0cc); }

/* ---- Link lists (other categories, games, occasions) ---- */
.t1qp-links { list-style: none; padding: 0; margin: .5rem 0 0; display: grid; grid-template-columns: 1fr; gap: .5rem; }
.t1qp-links a { display: block; padding: .6rem .85rem; border-radius: 10px; border: 1px solid var(--border-color, #2a2a4a); color: inherit; text-decoration: none; }
.t1qp-links a:hover { border-color: rgba(255,255,255,.35); }
.t1qp-links span { display: block; font-size: .85rem; color: var(--text-secondary, #b0b0cc); }
@media (min-width: 640px) {
    .t1qp-links { grid-template-columns: 1fr 1fr; }
}
