/* --- base.css: shared design tokens and reset for all pages --- */

:root {
  --bg: #110e0a;
  --bg-alt: #1a1610;
  --panel: #1e1a12;
  --accent: #ffb347;
  --accent-soft: rgba(255, 179, 71, 0.1);
  --text: #f0ece4;
  --muted: #9a9486;
  --border: #2a2520;
  --danger: #ff5c7a;
  --radius: 8px;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  min-height: 100%;
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
}

a { color: var(--muted); text-decoration: none; }
a:hover { color: var(--text); }

/* --- Shared page header (used by library, timeline, pubtools, seo, home) --- */
.page-header {
  padding: 0.8rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: rgba(17, 14, 10, 0.95);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.page-header-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.page-header-brand img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}
.page-header-brand h1 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.page-header-brand p {
  margin: 0.1rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}
