:root {
  --bg: #101418;
  --panel: #1a2028;
  --border: #2a323c;
  --text: #e8ecf1;
  --muted: #8b97a6;
  --accent: #e3350d; /* pokeball red */
  --accent-2: #3b5ba7; /* galar blue — fills only (too dark for text on the dark panel) */
  --accent-2-text: #7ea2e6; /* lighter galar blue for TEXT/icons: ~6:1 on --panel (AA) */
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

header {
  padding: 24px 32px 12px;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#site-title { cursor: pointer; }

.home-btn {
  margin-bottom: 10px;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
}
.home-btn:hover,
.home-btn:focus-visible {
  border-color: var(--accent-2-text);
  color: var(--accent-2-text);
  outline: none;
}

h1 {
  margin: 0;
  font-size: 1.6rem;
}

.subtitle {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* --- Landing page: pick a game -------------------------------------------- */
#landing {
  padding: 8px 0 48px;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 760px;
  margin: 0 auto;
}

.game-card {
  position: relative;      /* the colour-band background is set inline */
  overflow: hidden;        /* clip the bands to the rounded corners */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-height: 96px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel); /* fallback when a game has no strip_colors */
  color: var(--text);
  font: inherit;
  text-align: left;
}

/* Dark scrim over the colour bands so the text/sprites stay readable. */
.game-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(16, 20, 24, 0.72);
  transition: background 120ms ease;
}
.game-card > * {
  position: relative;      /* lift content above the scrim */
  z-index: 1;
}

.game-card.available {
  cursor: pointer;
  border-color: #2f6d4f;
  transition: transform 120ms ease, border-color 120ms ease;
}
.game-card.available:hover,
.game-card.available:focus-visible {
  border-color: var(--accent);
  transform: translateY(-2px);
  outline: none;
}
.game-card.available:hover::before,
.game-card.available:focus-visible::before {
  background: rgba(16, 20, 24, 0.55); /* lighten the scrim so the art shows more */
}

.game-card.soon {
  opacity: 0.5;
  cursor: not-allowed;
}

.game-gen {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.game-name {
  font-size: 1.15rem;
  font-weight: 700;
}
.game-region {
  font-size: 0.82rem;
  color: var(--accent-2-text);
}
.game-starters {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}
.game-starter {
  width: 44px;
  height: 44px;
  image-rendering: pixelated;
  object-fit: contain;
}
.game-soon {
  margin-top: 4px;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  border: 1px dashed var(--border);
  padding: 1px 6px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  .game-card.available { transition: none; }
  .game-card.available:hover { transform: none; }
}

main {
  padding: 20px 32px 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.control {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 160px;
}

.control label {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.control input,
.control select {
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.9rem;
}

.control input:focus,
.control select:focus {
  outline: 2px solid var(--accent-2-text);
}

.status {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0 0 4px;
}

.note {
  color: var(--muted);
  font-size: 0.78rem;
  margin: 0 0 14px;
  font-style: italic;
}

/* Keeps a wide table from overflowing the page on narrow screens: the table
   scrolls sideways inside this box while the page body never does. */
.table-wrap {
  overflow: auto;                 /* x: wide table scrolls sideways; y: enables the sticky header */
  -webkit-overflow-scrolling: touch;
  border-radius: 8px;
  /* only scrolls internally on long lists; short lists sit normally. dvh tracks
     the *dynamic* viewport so mobile browser chrome doesn't cause a double scroll
     (vh is the fallback for browsers without dvh). */
  max-height: calc(100vh - 90px);
  max-height: calc(100dvh - 90px);
}

table {
  width: 100%;
  /* separate (not collapse) so position:sticky works on the header th;
     border-spacing:0 keeps the collapsed look (only bottom borders are used) */
  border-collapse: separate;
  border-spacing: 0;
  background: var(--panel);
  /* No overflow/border-radius here: an overflow-clip ancestor would become the
     sticky header's scroll container and break it. The .table-wrap rounds and
     clips the corners instead. */
}

thead th {
  text-align: left;
  padding: 10px 12px;
  background: #161c24;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  user-select: none;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  position: sticky;   /* keep column headers visible while scrolling a long list */
  top: 0;
  z-index: 2;
}

thead th:hover {
  color: var(--text);
}

/* Visible keyboard focus for the now-operable sort headers and expandable rows */
thead th:focus-visible,
tbody tr[data-pokemon]:focus-visible {
  outline: 2px solid var(--accent-2-text);
  outline-offset: -2px;
}

thead th.sort-active {
  color: var(--accent-2-text);
}

thead th.sort-active::after {
  content: " \25B2";
}

thead th.sort-active.desc::after {
  content: " \25BC";
}

tbody td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}

/* Subtle zebra stripe (class-based by data index so injected stat rows don't
   flip the parity). Kept low-alpha so hover/expanded backgrounds still win. */
tbody tr.odd {
  background: rgba(255, 255, 255, 0.025);
}

tbody tr:hover {
  background: #202834;
}

td.pokemon-name {
  font-weight: 600;
  white-space: nowrap;
}

td.pokemon-name .name-text {
  text-transform: capitalize;
  vertical-align: middle;
}

.sprite {
  width: 48px;
  height: 48px;
  vertical-align: middle;
  margin-right: 6px;
  image-rendering: pixelated;
  object-fit: contain;
}

/* Smaller sprite for trainer teams, where entries sit inline in a wrap list */
.sprite-sm {
  width: 32px;
  height: 32px;
  vertical-align: middle;
  margin-right: 2px;
  image-rendering: pixelated;
  object-fit: contain;
  flex-shrink: 0;
}

/* Item icons are already small (~30px native); keep them crisp and unscaled */
.item-icon {
  width: 28px;
  height: 28px;
  vertical-align: middle;
  image-rendering: pixelated;
  object-fit: contain;
  flex-shrink: 0;
}

td.chance {
  font-variant-numeric: tabular-nums;
  color: var(--accent-2-text);
  font-weight: 600;
}

.version-badge {
  font-size: 0.72rem;
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--border);
  color: var(--muted);
}

.version-badge.sword { background: #2a3a5c; color: #9db4e8; }
.version-badge.shield { background: #3a2a5c; color: #c79de8; }
.version-badge.both,
.version-badge.all { background: #2a4a3a; color: #9de8b4; }
/* Gen 1 (Red / Blue / Yellow) */
.version-badge.red { background: #5c2a2a; color: #e89d9d; }
.version-badge.blue { background: #2a3a5c; color: #9db4e8; }
.version-badge.yellow { background: #5c522a; color: #e8dd9d; }
/* Gen 2 (Gold / Silver / Crystal) */
.version-badge.gold { background: #5c4a2a; color: #e8cf9d; }
.version-badge.silver { background: #3a3f45; color: #c2c8d0; }
.version-badge.crystal { background: #2a4d5c; color: #9dd8e8; }
/* Gen 3 (Ruby / Sapphire / Emerald) */
.version-badge.ruby { background: #5c2a2a; color: #e89d9d; }
.version-badge.sapphire { background: #2a3a5c; color: #9db4e8; }
.version-badge.emerald { background: #2a4a3a; color: #9de8b4; }
.version-badge.ruby-sapphire { background: #3a3050; color: #c3add8; }

.empty-row td {
  text-align: center;
  color: var(--muted);
  padding: 24px;
}

/* Availability gate badges in the Method column — a spawn you cannot get on a
   first pass through the area (needs the water bike, post-game, a raid den, or
   a special method). */
.gate-badge {
  display: inline-block;
  margin-left: 5px;
  padding: 1px 7px;
  border-radius: 4px;
  font-size: 0.66rem;
  font-weight: 700;
  white-space: nowrap;
  vertical-align: middle;
}

.new-badge {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: var(--accent);
  color: #fff;
  vertical-align: middle;
}

.only-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: #d9a521;
  color: #14181d;
  vertical-align: middle;
}

.check-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text);
  text-transform: none;
  letter-spacing: normal;
  cursor: pointer;
  padding-top: 6px;
}

.check-label input {
  width: auto;
}

.gate-bike-water { background: #2a3a5c; color: #9db4e8; }
.gate-post-game  { background: #4a2a5c; color: #d19de8; }
.gate-max-raid   { background: #5c3a2a; color: #e8b48c; }
.gate-special    { background: #2a4a3a; color: #9de8b4; }

/* Type badges — standard Pokémon type palette. Text is dark because every
   colour in this palette is mid-to-light and needs the contrast. */
.type-badge {
  display: inline-block;
  margin-left: 5px;
  padding: 1px 7px;
  border-radius: 4px;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: capitalize;
  letter-spacing: 0.02em;
  color: #14181d;
  vertical-align: middle;
}

.type-normal   { background: #a8a77a; }
.type-fire     { background: #ee8130; }
.type-water    { background: #6390f0; }
.type-electric { background: #f7d02c; }
.type-grass    { background: #7ac74c; }
.type-ice      { background: #96d9d6; }
.type-fighting { background: #c22e28; color: #fff; }
.type-poison   { background: #a33ea1; color: #fff; }
.type-ground   { background: #e2bf65; }
.type-flying   { background: #a98ff3; }
.type-psychic  { background: #f95587; }
.type-bug      { background: #a6b91a; }
.type-rock     { background: #b6a136; }
.type-ghost    { background: #735797; color: #fff; }
.type-dragon   { background: #6f35fc; color: #fff; }
.type-dark     { background: #705746; color: #fff; }
.type-steel    { background: #b7b7ce; }
.type-fairy    { background: #d685ad; }

.stat-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.stat-species-name {
  text-transform: capitalize;
  font-weight: 700;
  font-size: 0.95rem;
}

.stat-abilities {
  margin-bottom: 10px;
  font-size: 0.84rem;
}

.stat-abilities-label {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-right: 4px;
}

.ability-hidden {
  color: var(--muted);
  font-size: 0.76rem;
}

.stat-types .type-badge {
  margin-left: 0;
  margin-right: 5px;
  font-size: 0.72rem;
  padding: 2px 9px;
}

/* Rows are clickable to reveal the stat block */
tbody tr[data-pokemon] {
  cursor: pointer;
}

tbody tr[data-pokemon].expanded {
  background: #202834;
}

td.pokemon-name .name-text::after {
  content: " \25B8";
  color: var(--muted);
  font-weight: 400;
}

tr.expanded td.pokemon-name .name-text::after {
  content: " \25BE";
  color: var(--accent-2-text);
}

tr.stat-row > td {
  background: #161c24;
  padding: 14px 18px;
}

.stat-block {
  max-width: 520px;
}

.stat-table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
}

.stat-table thead th {
  background: transparent;
  border-bottom: 1px solid var(--border);
  padding: 4px 8px;
  font-size: 0.7rem;
  cursor: default;
}

.stat-table tbody th,
.stat-table tfoot th {
  text-align: left;
  padding: 4px 8px;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}

.stat-table td {
  padding: 4px 8px;
  border-bottom: none;
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}

.stat-table tfoot th,
.stat-table tfoot td {
  border-top: 1px solid var(--border);
}

.stat-base {
  font-weight: 700;
  width: 44px;
}

.stat-minmax {
  color: var(--muted);
  width: 52px;
  text-align: right;
}

.stat-bar-cell {
  width: 100%;
  min-width: 120px;
}

.stat-bar {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
}

.stat-note {
  margin: 8px 0 0;
  font-size: 0.72rem;
  color: var(--muted);
  font-style: italic;
}

.evo-block {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.evo-title {
  margin: 0 0 8px;
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.evo-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.evo-line {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.84rem;
}

.evo-arrow {
  color: var(--accent-2-text);
  font-weight: 700;
  width: 14px;
  flex-shrink: 0;
}

.evo-label {
  color: var(--muted);
  font-size: 0.72rem;
  width: 32px;
  flex-shrink: 0;
}

.evo-clickable {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 1px 4px;
  border-radius: 5px;
  cursor: pointer;
}

.evo-clickable:hover,
.evo-clickable:focus-visible {
  background: #263040;
  outline: none;
}

.evo-name {
  text-transform: capitalize;
  font-weight: 600;
}

.evo-clickable:hover .evo-name,
.evo-clickable:focus-visible .evo-name {
  color: var(--accent-2-text);
}

.evo-cond {
  color: var(--muted);
  font-size: 0.78rem;
}

.evo-note {
  margin: 8px 0 0;
  font-size: 0.7rem;
  color: var(--muted);
  font-style: italic;
}

.moves-block {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.moves-title {
  margin: 0 0 8px;
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.moves-count {
  display: inline-block;
  margin-left: 4px;
  padding: 0 6px;
  border-radius: 8px;
  background: var(--border);
  color: var(--text);
  font-size: 0.68rem;
  font-weight: 700;
}

/* second section header (TM/TR after level-up) inside the same block */
.moves-list + .moves-title {
  margin-top: 14px;
}

.moves-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 4px 10px;
}

.move-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
}

.tm-num {
  flex-shrink: 0;
  width: 42px;
  text-align: center;
  padding: 1px 0;
  border-radius: 4px;
  font-size: 0.66rem;
  font-weight: 700;
  color: #fff;
}

.tm-num.tm-tm { background: var(--accent-2); }   /* TMs — galar blue */
.tm-num.tm-tr { background: #8a5a2b; }           /* TRs — record bronze */
.tm-num.tm-hm { background: #2f6d7d; }           /* HMs (Gen 1-7) — teal */

.lv-num {
  flex-shrink: 0;
  width: 42px;
  text-align: center;
  padding: 1px 0;
  border-radius: 4px;
  font-size: 0.66rem;
  font-weight: 700;
  color: #fff;
  background: #2f7d4f;   /* level-up — green */
}

.move-name {
  flex: 1;
  text-transform: capitalize;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.move-item .type-badge {
  margin-left: 0;
  flex-shrink: 0;
}

.stat-empty {
  color: var(--muted);
  font-style: italic;
  font-size: 0.85rem;
}

#items-panel {
  margin-top: 24px;
  background: var(--panel);
  border-radius: 8px;
  padding: 16px 20px;
}

#items-panel h2 {
  margin: 0 0 10px;
  font-size: 1rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

#items-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#items-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}

#items-list li:last-child {
  border-bottom: none;
}

.item-type {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--border);
  color: var(--muted);
  flex-shrink: 0;
}

.item-type.hidden { background: #4a2a5c; color: #d19de8; }
.item-type.visible { background: #2a4a5c; color: #9dcfe8; }
.item-type.gift { background: #4a3a2a; color: #e8c19d; }

.item-respawns {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: #2a4a3a;
  color: #9de8b4;
}

.item-name {
  font-weight: 600;
}

.item-desc {
  color: var(--muted);
}

.item-requires {
  color: var(--accent-2-text);
  font-size: 0.82rem;
}

.empty-item {
  color: var(--muted);
  font-style: italic;
}

#trainers-panel {
  margin-top: 24px;
  background: var(--panel);
  border-radius: 8px;
  padding: 16px 20px;
}

#trainers-panel h2 {
  margin: 0 0 10px;
  font-size: 1rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

#trainers-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trainer-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
}

.trainer-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.trainer-name {
  font-weight: 600;
}

.trainer-role {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--border);
  color: var(--muted);
}

.trainer-role.gym-leader { background: #5c2a2a; color: #e89d9d; }
.trainer-role.rival { background: #2a3a5c; color: #9db4e8; }
.trainer-role.champion { background: #5c4a2a; color: #e8c19d; }
.trainer-role.boss { background: #4a2a5c; color: #d19de8; }

.trainer-team {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}

.trainer-team li {
  font-size: 0.88rem;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.pokemon-level {
  color: var(--muted);
  font-size: 0.8rem;
}

.pokemon-item {
  color: var(--accent-2-text);
  font-size: 0.78rem;
}

.trainer-reward {
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Floating hover/focus tooltip (ability + item effect descriptions).
   Appended to <body> so it escapes the table's overflow clipping. */
.tooltip {
  position: absolute;
  z-index: 1000;
  max-width: 260px;
  padding: 7px 10px;
  border-radius: 6px;
  background: #0b0e12;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.78rem;
  line-height: 1.4;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  white-space: pre-line; /* render the \n\n break between effect and unlock note */
}

/* Elements that reveal a tooltip get a subtle "there's more here" affordance. */
.ability[data-tip],
.item-name[data-tip] {
  border-bottom: 1px dotted var(--muted);
  cursor: help;
}
.ability[data-tip]:focus-visible,
.item-name[data-tip]:focus-visible {
  outline: 2px solid var(--accent-2-text);
  outline-offset: 2px;
}

/* Search autocomplete dropdown */
.control-search { position: relative; }
.suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 50;
  margin: 2px 0 0;
  padding: 4px;
  list-style: none;
  max-height: 260px;
  overflow-y: auto;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
.suggestion {
  padding: 6px 8px;
  border-radius: 4px;
  font-size: 0.9rem;
  text-transform: capitalize;
  cursor: pointer;
}
.suggestion:hover,
.suggestion.active {
  background: #263040;
  color: var(--accent-2-text);
}

/* ---- Mobile ------------------------------------------------------------- */
@media (max-width: 600px) {
  header { padding: 16px 14px 10px; }
  h1 { font-size: 1.3rem; }
  main { padding: 14px 12px 48px; }

  .game-grid { grid-template-columns: 1fr; }

  .controls { gap: 10px; }
  .control { min-width: 0; flex: 1 1 45%; }
  .control-check { flex-basis: 100%; flex-direction: row; flex-wrap: wrap; gap: 12px; }
  /* Touch targets: comfortable minimum for one-handed phone use */
  .control input, .control select { min-height: 44px; }
  .check-label { padding: 10px 0; }

  /* Let the page scroll as one column on a phone instead of a table region
     inside a page (avoids the double / two-axis scroll). */
  .table-wrap { max-height: none; }

  /* Table scrolls sideways; keep cells compact so most of it fits */
  thead th { padding: 8px 8px; font-size: 0.7rem; }
  tbody td { padding: 6px 8px; font-size: 0.82rem; }
  .sprite { width: 36px; height: 36px; }
  td.pokemon-name .name-text { font-size: 0.85rem; }
  .type-badge { font-size: 0.66rem; padding: 1px 5px; margin-left: 4px; }
  .gate-badge { font-size: 0.66rem; padding: 1px 5px; }
  .new-badge, .only-badge { font-size: 0.66rem; padding: 1px 5px; }

  /* Panels and expanded stat block */
  #items-panel, #trainers-panel { padding: 12px 14px; }
  .stat-block { max-width: 100%; }
  tr.stat-row > td { padding: 12px 12px; }
}

.site-footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 32px 40px;
  border-top: 1px solid var(--border);
}
.site-footer p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}
