/* Every Puzzle Project: shared stylesheet for everypuzzleproject.org and the
   publication status pages. Palette and type match blitz.xwordapp.com so the
   sites read as one family. Load it from https://everypuzzleproject.org/site.css
   and put the .epp-header bar at the top of the page (see README.md). */
:root {
  --bg: #faf8f3; --surface: #ffffff; --ink: #1d1b17; --muted: #6b665c; --line: #d9d3c6;
  --accent: #2f5d9e; --accent-soft: #dfe8f5; --word: #f3e6b0; --cur: #f0c84a;
  --bad: #c0392b; --good: #2e7d4f; --warm: #d9822b; --block: #1d1b17;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #17161a; --surface: #1f1e23; --ink: #ece8df; --muted: #a29d92; --line: #3a3832;
    --accent: #8fb3ea; --accent-soft: #2a3447; --word: #4a4126; --cur: #8a6d1c;
    --bad: #ef7a6c; --good: #6fcf97; --warm: #e8a35c; --block: #000;
  }
}
:root[data-theme="dark"] {
  --bg: #17161a; --surface: #1f1e23; --ink: #ece8df; --muted: #a29d92; --line: #3a3832;
  --accent: #8fb3ea; --accent-soft: #2a3447; --word: #4a4126; --cur: #8a6d1c;
  --bad: #ef7a6c; --good: #6fcf97; --warm: #e8a35c; --block: #000;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 var(--sans); }
a { color: var(--accent); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 20px 16px 48px; }
.muted { color: var(--muted); }
h1 { font: 600 28px/1.2 var(--serif); margin: 0 0 4px; }
h2 { font: 600 20px var(--serif); margin: 28px 0 8px; }

/* The shared header bar: "Every Puzzle Project · <page name>", with a link home. */
.epp-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.epp-header .wrap { padding-top: 12px; padding-bottom: 12px; display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; }
.epp-header a { color: var(--ink); text-decoration: none; font: 600 15px var(--serif); letter-spacing: .02em; }
.epp-header a:hover { text-decoration: underline; }
.epp-header .epp-page { color: var(--muted); font: 15px var(--sans); }
.epp-header .epp-page::before { content: "·"; margin-right: 16px; }
.epp-header nav { margin-left: auto; display: flex; gap: 16px; }
.epp-header nav a { font: 500 15px var(--sans); color: var(--accent); }
