/* Information pages (home, how to play, privacy). The game screens use base.css only. */
.site { max-width: 880px; margin: 0 auto; padding: 24px 16px 48px; display: flex; flex-direction: column; gap: 28px; }
.site main { display: flex; flex-direction: column; gap: 28px; }
.site nav { display: flex; gap: 14px 32px; align-items: center; justify-content: center; flex-wrap: wrap; }
.site nav a:not(.btn) { color: var(--fg); text-decoration: none; font-weight: 700; }
.site nav .links { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; justify-content: center; }
.site .brand { font-size: 1.3rem; font-weight: 900; display: inline-flex; align-items: center; }
.site .brand img { height: 78px; width: auto; display: block; }
.site .hero { text-align: center; padding: 28px 0 8px; }
.site .hero h1 { font-size: clamp(2rem, 7vw, 3.4rem); }
.site .hero p { font-size: 1.15rem; color: var(--muted); max-width: 34em; margin: .4em auto 1em; }
.site .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.site .btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.site .btn.secondary { background: var(--card); color: var(--fg); box-shadow: none; }
.site h2 { font-size: 1.5rem; }
.site .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 14px; }
.site .step { display: flex; gap: 12px; align-items: flex-start; }
.site .step b.n { flex: none; width: 2em; height: 2em; border-radius: 50%; background: var(--accent); color: var(--accent-fg); display: grid; place-items: center; }
.site ul { padding-left: 1.2em; margin: .4em 0; }
.site li { margin: .3em 0; }
.site details { background: var(--card); border-radius: 14px; padding: 12px 16px; }
.site summary { cursor: pointer; font-weight: 700; }
.site footer { color: var(--muted); font-size: .9rem; display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; }
.site footer a { color: var(--muted); }
.site footer .soc { display: inline-flex; gap: 8px; vertical-align: middle; white-space: nowrap; }
.site footer a.fb, .site footer a.ig { display: inline-flex; line-height: 0; padding: 5px; margin: -5px; border-radius: 10px; }
.site footer a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.site .hero-shots { display: flex; justify-content: center; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin: 28px 0; }
.site .hero-shots figure { margin: 0; text-align: center; }
.site .hero-shots img { display: block; height: auto; border-radius: 16px; box-shadow: 0 16px 40px rgba(0,0,0,.35); }
.site .hero-shots figure:first-child img { width: min(560px, 90vw); }
.site .hero-shots figure:nth-child(2) img { width: min(190px, 45vw); }
.site .hero-shots figure.wide { flex-basis: 100%; margin-top: 8px; }
.site .hero-shots figure.wide img { width: min(560px, 90vw); margin: 0 auto; }
.site .hero-shots figcaption { font-size: .9rem; margin-top: 8px; }
.site footer a.fb svg, .site footer a.ig svg { width: 26px; height: 26px; }
.site a { color: var(--accent); }
.site a.btn { color: var(--accent-fg); }
.site a.btn.secondary { color: var(--fg); }
.site .related { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.site a.card { text-decoration: none; color: var(--fg); }
.site a.card:hover { outline: 2px solid var(--accent); }
.site .sheet { overflow-x: auto; background: #fff; padding: 14px; border-radius: 10px; }
.site .sheet-logo { display: block; height: 60px; width: auto; margin: 0 auto 10px; }
.site table.score { width: 100%; border-collapse: collapse; background: #fff; color: #111; }
.site table.score th, .site table.score td { border: 1px solid #333; padding: 6px 8px; text-align: left; }
.site table.score td { height: 2.4em; }
.site table.score th { background: #eee; }
.site table.cmp { width: 100%; border-collapse: collapse; margin: 6px 0; }
.site table.cmp th, .site table.cmp td { border: 1px solid rgba(255,255,255,.22); padding: 8px 10px; text-align: left; vertical-align: top; }
.site table.cmp th { background: rgba(255,255,255,.1); }
/* Screenshots with numbered boxes (How to play). The boxes sit where the real buttons are, in percent of the picture. */
.site .shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 22px 18px; margin-top: 14px; align-items: start; }
.site .shot { margin: 0; max-width: 300px; }
.site .shot.tv { grid-column: 1 / -1; max-width: 560px; }
.site .shotimg { position: relative; }
.site .shotimg img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.site .mk { position: absolute; border: 3px solid #ffd23f; border-radius: 10px; box-shadow: 0 0 0 2px rgba(0,0,0,.55), 0 0 12px rgba(255,210,63,.6); pointer-events: none; }
.site .mk i, .site .legend b { font-style: normal; font-weight: 800; background: #ffd23f; color: #14112b; border-radius: 50%; display: grid; place-items: center; width: 1.6em; height: 1.6em; font-size: .85rem; flex: none; }
.site .mk i { position: absolute; left: -.8em; top: -.8em; box-shadow: 0 0 0 2px rgba(0,0,0,.55); }
.site .shot figcaption { font-weight: 700; margin-top: 10px; }
.site .legend { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; font-size: .95rem; color: var(--muted); }
.site .legend li { display: flex; gap: 8px; align-items: flex-start; margin: 0; }
/* Advert spots: invisible and take no room unless ads are switched on (see client/ads.json). Room is reserved so the page does not jump. */
.site .ad-slot { display: none; }
html.ads-on .site .ad-slot { display: block; min-height: 280px; text-align: center; margin: 24px 0; }
html.ads-on .site .ad-slot::before { content: 'Advertisement'; display: block; font-size: .7rem; color: var(--muted); margin-bottom: 4px; }
@media print {
  .site .ad-slot { display: none !important; }
  #kj-scene { display: none; }
  html.has-scene { background: #fff; }
  body { background: #fff !important; color: #000; }
  .site { --fg: #000; --muted: #333; --card: transparent; --accent: #000; --accent-fg: #fff; }
  .site a { color: #000; }
  .site a.btn, .site a.btn.secondary { color: #000; background: none; border: 1px solid #000; box-shadow: none; }
  .site .step b.n { background: none; color: #000; border: 1px solid #000; }
  .site:has(.printme) nav, .site:has(.printme) footer, .site:has(.printme) .hero .cta, .site .noprint, .site:has(.printme) section:not(.printme), .site:has(.printme) details { display: none !important; }
  .site .printme { display: block !important; background: none; padding: 0; }
  .site .printme h2 { color: #000; }
  .site:has(.printme) .hero { display: block; padding: 0; }
  .site:has(.printme) .hero p { display: none; }
  .site:has(.printme) .hero h1 { color: #000; font-size: 1.6rem; }
}
[hidden] { display: none !important; }

.skip { position: absolute; left: -9999px; top: 0; background: #ffd23f; color: #14112b; padding: 8px 14px; border-radius: 0 0 8px 0; font-weight: 800; z-index: 100; }
.skip:focus { left: 0; }

/* Topic pages: this week's set of real questions with their answers */
.site .qlist { margin: 12px 0; padding-left: 1.4em; display: grid; gap: 18px; }
.site .qlist > li { padding-left: 4px; }
.site .qlist .qtext { margin: 0 0 6px; }
.site .qlist .choices { margin: 4px 0 8px; padding-left: 1.6em; display: grid; gap: 2px; }
.site .qlist .qans { margin: 0 0 4px; color: var(--accent); } /* not .ans: that class is the game answer buttons */
.site .qlist .qans b { color: var(--fg); }
.site .qlist .muted { margin: 0; }
@media print { .site .qlist > li { break-inside: avoid; } }
