/* Standalone info pages: Impressum, Datenschutz, Sicherheit, Über, Nutzungsregeln.
   Same colours and fonts as style.css, but no game styles, no scripts and no external requests (strict CSP: style-src 'self'). */
:root {
  --bg: #0b0820;
  --bg2: #17123a;
  --panel: rgba(30, 24, 70, .72);
  --panel-solid: #1d1745;
  --line: rgba(150, 130, 255, .22);
  --text: #f4f0ff;
  --muted: #b3acd9;
  --accent: #ff5470;
  --accent2: #ffd166;
  --ok: #06d6a0;
  --link: #c9bbff;
  --radius: 16px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --display: "Segoe UI Black", "Arial Black", Impact, var(--font);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-wrap: break-word; hyphens: manual;
  padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right);
}
/* static backdrop, same colours as the game (no animation) */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vmax 60vmax at 0% 0%, rgba(108, 61, 245, .30), transparent 65%),
    radial-gradient(60vmax 60vmax at 100% 100%, rgba(224, 64, 122, .22), transparent 65%);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* automatic hyphenation only where the column is narrow; never in headings, questions and the big answer */
@media (max-width: 520px) { body { hyphens: auto; } }
h1, h2, h3, summary, .lead, .big, .logo, .foot nav { hyphens: manual; }

a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: #fff; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent2); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--accent2); color: #1a0f4a; padding: 10px 14px; border-radius: 10px; font-weight: 700; z-index: 10; text-decoration: none; }
.skip:focus { top: 12px; }

/* top bar */
.top { max-width: 800px; margin: 0 auto; padding: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: nowrap; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); min-height: 44px; }
.logo:hover { color: var(--text); }
.logo .bomb { font-size: 28px; line-height: 1; filter: drop-shadow(0 0 10px rgba(255, 84, 112, .6)); }
.logo .bomb img { display: block; width: 1em; height: 1em; }
.logo .word { font-family: var(--display); font-size: 22px; letter-spacing: 3px; font-weight: 900; }
.logo .word span { color: var(--accent); }
.back {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 15px;
  color: var(--text); background: var(--panel); border: 1px solid var(--line);
}
.back:hover { background: var(--bg2); color: #fff; }
/* phones: bomb and pill on one line (the game itself hides the word mark below 480px as well); the logo keeps its aria-label */
@media (max-width: 420px) { .logo .word { display: none; } }

/* column */
.wrap { max-width: 800px; margin: 0 auto; padding: 8px 16px 40px; display: flex; flex-direction: column; gap: 18px; }
h1 { margin: 8px 0 0; font-size: clamp(25px, 7vw, 42px); line-height: 1.15; font-weight: 800; letter-spacing: .2px; }
.lead { margin: 0; font-size: 19px; color: var(--muted); }
h2 { margin: 0 0 8px; font-size: clamp(20px, 5vw, 24px); line-height: 1.25; scroll-margin-top: 16px; }
h3 { margin: 18px 0 4px; font-size: 18px; }
p { margin: 0 0 12px; }
p:last-child, ul:last-child, ol:last-child, dl:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 12px; padding-left: 22px; }
li { margin: 4px 0; }
strong { color: #fff; }
.small { font-size: 15px; color: var(--muted); }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; }
.card h2::before { content: ""; display: inline-block; width: 6px; height: .95em; margin-right: 10px; border-radius: 3px; vertical-align: -.1em; background: linear-gradient(180deg, var(--accent), #6c3df5); }

/* the one big answer */
.answer { border-color: rgba(6, 214, 160, .55); background: linear-gradient(135deg, rgba(6, 214, 160, .14), var(--panel)); }
.answer .big { margin: 0 0 8px; font-size: clamp(24px, 6.5vw, 34px); line-height: 1.2; font-weight: 800; color: #fff; }
.answer .big span { color: var(--ok); }

/* checklist with marks that do not depend on colour alone */
ul.marks { list-style: none; padding-left: 0; }
ul.marks li { position: relative; padding-left: 30px; }
ul.marks li::before { content: "✔"; position: absolute; left: 0; top: 0; color: var(--ok); font-weight: 800; }
ul.marks.no li::before { content: "✖"; color: var(--accent); }

.note { margin: 12px 0 0; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 209, 102, .08); border-left: 4px solid var(--accent2); }

/* table of contents */
.toc { padding: 16px 18px; }
.toc h2 { font-size: 18px; margin-bottom: 6px; }
.toc h2::before { display: none; }
.toc ol { margin: 0; padding-left: 24px; columns: 2 260px; column-gap: 28px; }
.toc a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
@media (max-width: 640px) { .toc ol { columns: 1; } }

/* data overview (definition list: stacks on phones, no table to scroll) */
dl.facts { margin: 0; display: grid; grid-template-columns: 1fr; gap: 0; }
dl.facts dt { font-weight: 700; color: #fff; padding-top: 12px; margin-top: 12px; border-top: 1px solid var(--line); }
dl.facts dt:first-child { padding-top: 0; margin-top: 0; border-top: 0; }
dl.facts dd { margin: 2px 0 0; color: var(--text); }
@media (min-width: 640px) {
  dl.facts { grid-template-columns: 210px 1fr; column-gap: 20px; }
  dl.facts dt { margin-top: 0; padding: 12px 0; }
  dl.facts dd { margin: 0; padding: 12px 0; border-top: 1px solid var(--line); }
  dl.facts dt:first-child, dl.facts dt:first-child + dd { padding-top: 0; border-top: 0; }
}

/* FAQ without scripts */
details { border: 1px solid var(--line); border-radius: 12px; background: rgba(30, 24, 70, .5); margin: 0 0 10px; }
details[open] { background: var(--panel); }
summary { cursor: pointer; list-style: none; position: relative; padding: 14px 44px 14px 16px; min-height: 48px; font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 24px; line-height: 1; color: var(--accent2); }
details[open] > summary::after { content: "–"; }
details > div { padding: 0 16px 14px; }

.mail { font-weight: 700; word-break: break-all; }
.btnlink { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border-radius: 999px; font-weight: 800; text-decoration: none; color: #fff; background: linear-gradient(180deg, #ff6a85, #ff3d63); box-shadow: 0 6px 20px rgba(255, 84, 112, .3); }
.btnlink:hover { color: #fff; filter: brightness(1.08); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

/* footer */
.foot { max-width: 800px; margin: 0 auto; padding: 8px 16px calc(32px + env(safe-area-inset-bottom)); text-align: center; color: var(--muted); font-size: 15px; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 6px; margin-bottom: 8px; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--link); }
.foot nav a[aria-current="page"] { color: #fff; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--accent); }
.foot p { margin: 0; }

/* list of games (two columns when there is room) */
ul.games { list-style: none; padding-left: 0; columns: 2 230px; column-gap: 24px; }
ul.games li { break-inside: avoid; padding-left: 0; }
