:root {
  --bg: #f6f7f9;
  --card: #ffffff;
  --border: #e3e6ec;
  --text: #1c2030;
  --muted: #6b7280;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-text: #ffffff;
  --success: #16a34a;
  --success-hover: #15803d;
  --danger: #b91c1c;
  --green-bg: #ecfdf5;
  --green-border: #86efac;
  --fb: #1877f2;
  --fb-hover: #145dc4;
  --tag-pending-bg: #fef3c7;
  --tag-pending-text: #92400e;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  --hover: #f1f5f9;
  --input-bg: #ffffff;
}

[data-theme="dark"] {
  --bg: #0f1420;
  --card: #1a2030;
  --border: #2c3446;
  --text: #e7ebf3;
  --muted: #9aa3b5;
  --hover: #283042;
  --input-bg: #11161f;
  --green-bg: #11291f;
  --green-border: #1f5138;
  --tag-pending-bg: #3a2e12;
  --tag-pending-text: #f0c674;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.45;
  font-size: 16px;
}

/* ---------- Top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.9rem;
  background: var(--card);
  border-bottom: 1px solid var(--border);
}
.brand {
  justify-self: start;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.topnav {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  justify-content: center;
}
.brand-logo {
  height: 1.2em;
  width: auto;
  vertical-align: middle;
}
.brand-logo-dark { display: none; }
[data-theme="dark"] .brand-logo-light { display: none; }
[data-theme="dark"] .brand-logo-dark { display: inline-block; }
.nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav a, .topnav a {
  color: var(--text);
  text-decoration: none;
  padding: 0.3rem 0.5rem;
  border-radius: 6px;
}
.nav a:hover, .topnav a:hover { background: var(--hover); }
.topnav a.active {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
  font-weight: 600;
}

/* language switch */
.lang-switch { display: inline-flex; gap: 0.15rem; }
.lang {
  min-height: 34px;
  min-width: 34px;
  padding: 0.2rem 0.4rem;
  font-size: 1.15rem;
  line-height: 1;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  cursor: pointer;
}
.lang:hover { background: var(--hover); }

/* dark/light theme toggle — sized to match the flag button beside it */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  min-width: 34px;
  padding: 0.2rem 0.4rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  color: var(--muted);
  cursor: pointer;
}
.theme-toggle:hover { background: var(--hover); }
.theme-toggle svg { display: block; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

/* ---------- Layout ---------- */
.container {
  max-width: 760px;
  margin: 1rem auto 4rem;
  padding: 0 0.85rem;
}
h1 { margin: 0 0 0.4rem; font-size: 1.35rem; line-height: 1.2; }
h2 { margin: 0 0 0.65rem; font-size: 1.05rem; }
p { margin: 0.5rem 0; }
.muted { color: var(--muted); font-size: 0.88rem; }
.error { color: var(--danger); font-size: 0.88rem; }
.errors { color: var(--danger); padding-left: 1.2rem; margin: 0.3rem 0; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.85rem;
  box-shadow: var(--shadow);
}
.card.narrow { max-width: 420px; margin-left: auto; margin-right: auto; }

.header-card {
  padding: 0;
  overflow: hidden;
  max-height: 300px;
}
.header-banner {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  display: block;
}

.poll-section {
  margin-top: 2rem;
}

.header-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.header-title { flex: 1 1 auto; min-width: 0; }
.back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  min-width: 40px;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  color: var(--text);
  text-decoration: none;
  font-size: 1.2rem;
  flex: 0 0 auto;
}
.back-button:hover { background: var(--hover); }

/* ---------- Buttons ---------- */
button, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-family: inherit;
  min-height: 40px;
  line-height: 1.2;
}
button:hover, .button:hover { background: var(--hover); }
button.primary, .primary {
  background: var(--primary);
  color: var(--primary-text);
  border-color: var(--primary);
}
button.primary:hover, .primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
button.success, .success {
  background: var(--success);
  color: white;
  border-color: var(--success);
  font-weight: 600;
}
button.success:hover, .success:hover { background: var(--success-hover); border-color: var(--success-hover); }
button.danger, .danger { border-color: var(--danger); color: var(--danger); background: var(--card); }
button.danger:hover { background: #fef2f2; }
button:disabled, button[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
button.block, .block { display: flex; width: 100%; padding: 0.8rem 1rem; font-size: 1.02rem; }
.button.disabled { opacity: 0.5; pointer-events: none; }

input[type="text"], input[type="password"], input[type="number"], input[type="email"] {
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  width: 100%;
  background: var(--input-bg);
}
label { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 0.25rem; }

/* ---------- Messages ---------- */
.messages { list-style: none; padding: 0; margin: 0 0 0.75rem; }
.narrow-page .messages { max-width: 420px; margin-left: auto; margin-right: auto; }
.messages .message, .message {
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
  background: #ecfeff;
  border: 1px solid #a5f3fc;
}
.messages .message.error, .message.error { background: #fef2f2; border-color: #fecaca; color: var(--danger); }
.messages .message.success, .message.success { background: #ecfdf5; border-color: #bbf7d0; color: #065f46; }
.messages .message.info, .message.info { background: #eff6ff; border-color: #bfdbfe; color: #1e3a8a; }

/* ---------- Settings / user menu (uses <details>) ---------- */
.settings-menu { position: relative; }
.settings-menu summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  min-height: 40px;
}
.settings-menu summary::-webkit-details-marker { display: none; }
.settings-menu summary:hover { background: var(--hover); }
.settings-menu .settings-menu-content {
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(15,23,42,0.12);
  min-width: 180px;
  padding: 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  z-index: 4;
}
.settings-menu .settings-menu-content > a,
.settings-menu .settings-menu-content > form > .menu-item {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--text);
  padding: 0.55rem 0.75rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.95rem;
  cursor: pointer;
  min-height: auto;
}
.settings-menu .settings-menu-content > a:hover,
.settings-menu .settings-menu-content > form > .menu-item:hover { background: var(--hover); }
.user-menu .user-menu-caret { color: var(--muted); font-size: 0.75rem; line-height: 1; }

/* ---------- Avatars ---------- */
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--border);
  flex: 0 0 auto;
}
.avatar-sm { width: 26px; height: 26px; }
.avatar-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #9aa3b2;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ---------- Login extras ---------- */
.fb-button {
  background: var(--fb);
  color: #fff;
  border-color: var(--fb);
  font-weight: 600;
}
.fb-button:hover { background: var(--fb-hover); border-color: var(--fb-hover); }
.or-divider {
  text-align: center;
  border-top: 1px solid var(--border);
  margin: 1.1rem 0 0.9rem;
  position: relative;
}
.or-divider span {
  position: relative;
  top: -0.7rem;
  background: var(--card);
  padding: 0 0.6rem;
  color: var(--muted);
  font-size: 0.8rem;
}

/* ---------- Poll list cards ---------- */
.poll-card { padding: 0.8rem 1rem; }
.poll-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}
.poll-card-title {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  flex: 1 1 auto;
  min-width: 0;
}
.poll-card-desc { margin: 0 0 0.6rem; color: var(--muted); font-size: 0.92rem; }

/* whole-card / whole-detail green highlight when enough players confirmed */
.poll-card.highlighted,
.poll-detail.highlighted {
  background: var(--green-bg);
  border: 1px solid var(--green-border);
  border-radius: 12px;
}
.poll-detail.highlighted { padding: 0.6rem 0.75rem; }
.highlighted .option { background: rgba(255, 255, 255, 0.55); }
.enough-message {
  margin: 0 0 0.7rem;
  font-weight: 700;
  color: #065f46;
  font-size: 0.98rem;
}
.count-badge {
  display: inline-block;
  background: #eef2f7;
  color: var(--text);
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.count-badge.ok { background: var(--green-bg); color: #065f46; border: 1px solid var(--green-border); }
.count-badge.full { background: #fef2f2; color: var(--danger); border: 1px solid #fecaca; }

/* Admin-only lock/unlock toggle, sits just left of the count badge */
.lock-form { margin: 0; display: inline-flex; }
.lock-toggle {
  min-height: 0;
  min-width: 0;
  padding: 0.2rem 0.45rem;
  font-size: 1rem;
  line-height: 1;
  border-radius: 8px;
  background: var(--card);
}
.lock-toggle:hover { background: var(--hover); }
.lock-toggle.locked { border-color: var(--danger); background: #fef2f2; }
.tag {
  display: inline-block;
  font-size: 0.68rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tag-pending { background: var(--tag-pending-bg); color: var(--tag-pending-text); }

/* ---------- Poll options ---------- */
.option {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  margin-bottom: 0.85rem;
  box-shadow: var(--shadow);
}
/* user's current choice — coloured fill (no hard outline; the colour is enough) */
.option-yes.selected { background: #d5f3df; border-color: var(--green-border); }
.option-no.selected { background: #fde2e2; border-color: #fca5a5; }
.option-vote button.selected { font-weight: 700; }
.option-yes .option-vote button.selected::before,
.option-no .option-vote button.selected::before { content: "✓ "; }
.option.full.option-yes { opacity: 0.97; }
.option-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.option-vote {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: wrap;
}
.option-vote button { min-width: 5.5rem; }
.extras-field {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.extras-field input[type="number"] { width: 2.8rem; padding: 0.4rem 0.4rem; text-align: center; }
.option-count {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.lock-note { margin: 0.5rem 0 0; }
.ok-note { margin: 0.4rem 0 0; color: #065f46; font-weight: 600; }

/* avatars + arrow grouped on the right of each option row */
.option-people {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  flex: 0 0 auto;
}
.avatar-stack { display: inline-flex; align-items: center; }
.avatar-stack .avatar {
  position: relative;
  border: 2px solid var(--card);
}
.avatar-stack .avatar:not(:first-child) { margin-left: -10px; }
/* latest (leftmost / first in DOM) sits on top */
.avatar-stack .avatar:nth-child(1) { z-index: 3; }
.avatar-stack .avatar:nth-child(2) { z-index: 2; }
.avatar-stack .avatar:nth-child(3) { z-index: 1; }
.avatar-xs { width: 26px; height: 26px; font-size: 0.7rem; }

/* arrow disclosure */
.people-toggle { flex: 0 0 auto; }
.people-toggle > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
}
.people-toggle > summary::-webkit-details-marker { display: none; }
.people-toggle > summary:hover { background: var(--hover); }
.people-toggle .arrow {
  font-size: 1.2rem;
  color: var(--muted);
  transition: transform 0.15s ease;
  line-height: 1;
}
.people-toggle[open] .arrow { transform: rotate(90deg); }

.people-panel { display: none; }
.option:has(.people-toggle[open]) .people-panel {
  display: block;
  margin-top: 0.6rem;
  border-top: 1px solid var(--border);
  padding-top: 0.5rem;
}

/* ---------- Participants ---------- */
.participants { list-style: none; padding: 0; margin: 0; }
.participants li.participant {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.participants li.participant:last-child { border-bottom: none; }
.participant-name { font-weight: 500; }
.participants li.muted { padding: 0.4rem 0; }

/* admin-only: YES voter flagged as a no-show after the poll is locked */
.participant.no-show {
  background: #fef2f2;
  border-radius: 8px;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.no-show-form { margin: 0 0 0 auto; display: inline-flex; }
.no-show-toggle {
  min-height: 0;
  padding: 0.25rem 0.6rem;
  font-size: 0.78rem;
  border-radius: 999px;
  color: var(--muted);
  white-space: nowrap;
}
.no-show-toggle.active {
  border-color: var(--danger);
  color: var(--danger);
  background: #fde2e2;
  font-weight: 600;
}

/* ---------- Statistics ---------- */
.stats-card-head {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.stats-card-head h2 { margin: 0; }
.help-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  cursor: help;
  flex: 0 0 auto;
}
.help-icon:hover { background: var(--hover); }
.help-tip {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: max-content;
  max-width: 220px;
  padding: 0.4rem 0.6rem;
  background: var(--text);
  color: #fff;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.3;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.18);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.12s ease;
  z-index: 6;
}
.help-icon:hover .help-tip,
.help-icon:focus .help-tip,
.help-icon:focus-within .help-tip {
  opacity: 1;
  visibility: visible;
}
.stats-top { counter-reset: none; padding: 0; margin: 0; }
.stats-top li.participant { gap: 0.65rem; padding-left: 0.55rem; padding-right: 0.55rem; }
.stats-rank {
  flex: 0 0 auto;
  width: 1.4rem;
  text-align: center;
  font-weight: 700;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.stats-top .count-badge { margin-left: auto; }

/* Top players grouped by place: the place number shown once on the left,
   then every player sharing that place listed beside it. */
.stats-places { list-style: none; padding: 0; margin: 0; }
.stats-place {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.4rem 0.55rem;
  border-bottom: 1px solid var(--border);
}
.stats-place:last-child { border-bottom: none; }
.stats-place .stats-rank { padding-top: 0.4rem; }
.place-members { flex: 1 1 auto; }
.place-members .participant:last-child { border-bottom: none; }
.place-members .count-badge { margin-left: auto; }

/* Medal colours for the podium places (ties share a place). */
.rank-gold   { background: #fffbeb; border-radius: 8px; }
.rank-silver { background: #f8fafc; border-radius: 8px; }
.rank-bronze { background: #fdf6f0; border-radius: 8px; }
.rank-gold   .stats-rank { color: #b8860b; }
.rank-silver .stats-rank { color: #8a8f98; }
.rank-bronze .stats-rank { color: #b06a35; }
.rank-gold   .count-badge { background: #fde68a; color: #7c5e00; border: 1px solid #f6d365; }
.rank-silver .count-badge { background: #e5e7eb; color: #4b5563; border: 1px solid #d1d5db; }
.rank-bronze .count-badge { background: #f3d9c4; color: #8a4b22; border: 1px solid #e6bfa0; }
.count-badge.shame { background: #fef2f2; color: var(--danger); border: 1px solid #fecaca; }

/* Wall of shame — neutral grey card to set it apart from the green top players */
.shame-card { background: #f3f4f6; border-color: #e1e4ea; }

.extras-detail { margin-left: 0.25rem; }
.extras-detail > summary {
  list-style: none;
  cursor: pointer;
  display: inline-block;
  font-size: 0.82rem;
  color: var(--tag-pending-text);
  background: var(--tag-pending-bg);
  padding: 0.05rem 0.5rem;
  border-radius: 999px;
}
.extras-detail > summary::-webkit-details-marker { display: none; }
.extras-note {
  margin-top: 0.3rem;
  font-size: 0.82rem;
  color: var(--muted);
  padding-left: 0.5rem;
}

/* ---------- Pagination ---------- */
.pagination {
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.pagination.centered { justify-content: center; }

@media (max-width: 520px) {
  body { font-size: 15px; }
  .container { margin-top: 0.5rem; padding: 0 0.6rem; }
  .option-vote button { min-width: 4.5rem; }
  .nav .user-menu summary span:not(.user-menu-caret) { display: none; }
}

/* ---------- Dark mode spot-fixes ---------- */
/* These rules carry hardcoded light pastels with dark text that don't read on
   a dark card; each gets a dark-tinted background keeping its accent colour. */
[data-theme="dark"] {
  /* tooltip uses var(--text) as its fill — that flips to light in dark mode */
  --tooltip-bg: #2c3446;
}
[data-theme="dark"] .messages .message,
[data-theme="dark"] .message { background: #0e2a33; border-color: #155e6b; }
[data-theme="dark"] .messages .message.error,
[data-theme="dark"] .message.error { background: #3a1515; border-color: #7f1d1d; color: #fca5a5; }
[data-theme="dark"] .messages .message.success,
[data-theme="dark"] .message.success { background: #11291f; border-color: #1f5138; color: #86efac; }
[data-theme="dark"] .messages .message.info,
[data-theme="dark"] .message.info { background: #16223a; border-color: #1e3a5f; color: #bfdbfe; }

[data-theme="dark"] button.danger:hover { background: #2a1414; }

[data-theme="dark"] .count-badge { background: #283042; color: var(--text); }
[data-theme="dark"] .count-badge.full,
[data-theme="dark"] .count-badge.shame { background: #3a1515; color: #fca5a5; border-color: #7f1d1d; }

[data-theme="dark"] .option-yes.selected { background: #14331e; }
[data-theme="dark"] .option-no.selected { background: #3a1c1c; border-color: #7f1d1d; }
[data-theme="dark"] .highlighted .option { background: rgba(255, 255, 255, 0.06); }
[data-theme="dark"] .enough-message { color: #86efac; }

[data-theme="dark"] .help-tip { background: var(--tooltip-bg); }

[data-theme="dark"] .participant.no-show { background: #2a1414; }
[data-theme="dark"] .no-show-toggle.active { background: #3a1c1c; color: #fca5a5; border-color: #7f1d1d; }

[data-theme="dark"] .lock-toggle.locked { background: #2a1414; }

[data-theme="dark"] .shame-card { background: #181d28; border-color: #2c3446; }
[data-theme="dark"] .rank-gold   { background: #2a2410; }
[data-theme="dark"] .rank-silver { background: #222630; }
[data-theme="dark"] .rank-bronze { background: #2a1f17; }
[data-theme="dark"] .rank-gold   .count-badge { background: #4a3c10; color: #fde68a; border-color: #6b5512; }
[data-theme="dark"] .rank-silver .count-badge { background: #2f3340; color: #d1d5db; border-color: #3f4453; }
[data-theme="dark"] .rank-bronze .count-badge { background: #3a2517; color: #f3d9c4; border-color: #543620; }

/* ---------- Long-form prose (privacy policy, etc.) ---------- */
.prose { line-height: 1.6; }
.prose h1 { margin: 0 0 0.25rem; font-size: 1.5rem; }
.prose h2 { margin: 1.5rem 0 0.5rem; font-size: 1.1rem; }
.prose p, .prose li { color: var(--text); }
.prose ul { padding-left: 1.25rem; }
.prose li { margin: 0.3rem 0; }
.prose a { color: var(--primary); }
.prose code {
  background: var(--hover);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.05rem 0.3rem;
  font-size: 0.88em;
}

/* ---------- Site footer ---------- */
.site-footer {
  text-align: center;
  padding: 1.5rem 0.6rem 2rem;
  font-size: 0.85rem;
}
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }
.site-footer a + a { margin-left: 1rem; position: relative; }
.site-footer a + a::before {
  content: "·";
  position: absolute;
  left: -0.6rem;
  color: var(--muted);
}
