/* Roman Serius look: deep blue, gold and red (the RR monogram palette).
   Used by the navy pages on romanserius.com (/games/ and friends).
   The daily games keep their own copy in daily-games/shared/style.css;
   change both if you change a colour. */
:root {
  --bg: #0d1730;
  --panel: #15234a;
  --panel-2: #1d2e5c;
  --ink: #f3ead3;
  --muted: #a9b2cc;
  --gold: #e3b448;
  --red: #c8423b;
  --radius: 10px;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); }
a { color: var(--gold); }

/* ---- Site bar: the same on every Roman Serius page ---- */
.topbar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--panel-2);
}
.topbar .brand {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--gold);
  text-decoration: none;
  white-space: nowrap;
}
.topbar .brand span { color: var(--red); }
.site-nav { display: flex; gap: 16px; margin-right: auto; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: 0.92rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a[aria-current="page"] { border-bottom: 2px solid var(--red); padding-bottom: 2px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

@media (max-width: 420px) {
  .topbar { gap: 8px; padding: 10px 12px; }
  .site-nav { gap: 11px; }
  .site-nav a { font-size: 0.84rem; }
}
