@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap');

:root {
  --bg: #f5f4f0;
  --bg-secondary: #eeecea;
  --bg-card: #ffffff;
  --bg-input: #ffffff;
  --border: #dddbd6;
  --border-focus: #1a1a1a;
  --text: #1a1a1a;
  --text-muted: #7a7875;
  --text-subtle: #a8a49e;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-light: #eff6ff;
  --danger: #dc2626;
  --success: #16a34a;
  --warning: #d97706;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.10);
  --radius: 8px;
  --radius-lg: 12px;
  --font: 'DM Sans', sans-serif;
  --font-mono: 'DM Mono', monospace;
  --transition: 0.15s ease;
}

[data-theme="dark"] {
  --bg: #111110;
  --bg-secondary: #1a1917;
  --bg-card: #1f1e1c;
  --bg-input: #262522;
  --border: #2e2c29;
  --border-focus: #e5e3de;
  --text: #e5e3de;
  --text-muted: #8a8680;
  --text-subtle: #5a5752;
  --accent: #3b82f6;
  --accent-hover: #60a5fa;
  --accent-light: #1e3a5f22;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow: 0 2px 8px rgba(0,0,0,0.35);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.4);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 15px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  transition: background var(--transition), color var(--transition);
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

/* ── Header ── */
#header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
  letter-spacing: -0.02em;
  text-decoration: none;
  flex-shrink: 0;
}
.logo span { color: var(--accent); }

.header-search {
  flex: 1;
  max-width: 480px;
  position: relative;
}
.header-search input {
  width: 100%;
  height: 36px;
  padding: 0 12px 0 36px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-family: var(--font);
  font-size: 0.875rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}
.header-search input:focus {
  border-color: var(--border-focus);
  background: var(--bg-input);
}
.header-search .search-icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}
.nav-btn:hover { background: var(--bg-secondary); color: var(--text); }
.nav-btn.active { background: var(--bg-secondary); color: var(--text); }

.nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 10px;
  padding: 1px 6px;
  min-width: 20px;
}

.theme-toggle {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition);
  flex-shrink: 0;
}
.theme-toggle:hover { background: var(--bg-secondary); color: var(--text); }

/* ── Pages ── */
.page { display: none; }
.page.active { display: block; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Home / Search Page ── */
#page-home {
  padding: 80px 24px 40px;
}
.home-hero {
  text-align: center;
  margin-bottom: 40px;
}
.home-hero h1 {
  font-size: 2.8rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 8px;
}
.home-hero h1 span { color: var(--accent); }
.home-hero p {
  color: var(--text-muted);
  font-size: 1rem;
}

.search-box {
  max-width: 620px;
  margin: 0 auto;
}

.search-input-wrap {
  display: flex;
  gap: 8px;
  align-items: center;
}

.search-input-wrap input {
  flex: 1;
  height: 48px;
  padding: 0 18px;
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text);
  outline: none;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition);
}
.search-input-wrap input:focus { border-color: var(--border-focus); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 18px;
  height: 48px;
  border-radius: var(--radius-lg);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform 0.1s;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: var(--bg-secondary); }
.btn-sm { height: 34px; padding: 0 14px; font-size: 0.8rem; border-radius: var(--radius); }
.btn-danger { background: var(--danger); color: #fff; }

.search-tabs {
  display: flex;
  gap: 2px;
  margin-top: 14px;
  padding-left: 2px;
}
.search-tab {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  border: none;
  background: transparent;
  font-family: var(--font);
  transition: background var(--transition), color var(--transition);
}
.search-tab.active {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
}
.search-tab:hover:not(.active) { color: var(--text); }

/* ── Results ── */
#results-section { margin-top: 32px; }
#results-section.hidden { display: none; }

.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.results-count {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.result-list { display: flex; flex-direction: column; gap: 0; }

.result-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 12px;
}
.result-item:last-child { border-bottom: none; }

.result-favicon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  border-radius: 4px;
}

.result-body { flex: 1; min-width: 0; }
.result-domain {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.result-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 4px;
  line-height: 1.3;
}
.result-title a { color: inherit; }
.result-title a:hover { text-decoration: underline; }
.result-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Image results grid */
.image-grid {
  display: grid;
  grid-auto-flow: dense; /* fill gaps with smaller items */
  grid-template-columns: repeat(auto-fill, minmax(120px, auto));
  gap: 12px;
}
.image-wrap img {
  max-width: 100%;      /* never exceed container width */
  max-height: 160px;    /* never exceed max height */
  width: auto;          /* keep natural width if smaller */
  height: auto;         /* keep natural height */
  display: block;
  object-fit: contain;
}

.image-wrap img {
  width: 100%;
  height: auto;            /* keeps natural aspect ratio */
  display: block;
  object-fit: contain;
}
.image-card:hover { box-shadow: var(--shadow); transform: translateY(-1px); }

.image-card-info {
  padding: 8px 10px;
}
.image-card-alt {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}
.image-card-domain {
  font-size: 0.72rem;
  color: var(--text-subtle);
  font-family: var(--font-mono);
}
.image-card-alt--filename {
  color: var(--text-subtle);
  font-style: italic;
}
.lightbox-filename {
  opacity: 0.6;
  font-style: italic;
}

.pagination {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
}
.page-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  transition: background var(--transition), border-color var(--transition);
}
.page-btn:hover { background: var(--bg-secondary); }
.page-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ── Add site page ── */
#page-add {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 24px;
}
#page-add h2 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
#page-add .page-desc {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 0.9rem;
}

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
}
.form-group input[type="text"],
.form-group input[type="url"] {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition);
}
.form-group input:focus { border-color: var(--border-focus); }
.form-hint { font-size: 0.78rem; color: var(--text-subtle); margin-top: 5px; }

.alert {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  margin-top: 16px;
  display: none;
}
.alert.show { display: block; }
.alert-success { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.alert-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
[data-theme="dark"] .alert-success { background: #052e16; color: #4ade80; border-color: #166534; }
[data-theme="dark"] .alert-error { background: #450a0a; color: #f87171; border-color: #7f1d1d; }

/* ── Stats page ── */
#page-stats { padding: 36px 0; }
#page-stats h2 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}
.stat-value {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
  font-family: var(--font-mono);
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.section-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--text);
}

.crawler-status {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-dot.running {
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(22,163,74,0.2);
  animation: pulse 1.5s infinite;
}
.status-dot.stopped { background: var(--text-subtle); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(22,163,74,0.2); }
  50% { box-shadow: 0 0 0 6px rgba(22,163,74,0.1); }
}

.crawler-info { flex: 1; }
.crawler-info strong { font-size: 0.9rem; }
.crawler-url {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 400px;
  margin-top: 2px;
}

.recent-list { display: flex; flex-direction: column; gap: 8px; }
.recent-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.recent-item-info { flex: 1; min-width: 0; }
.recent-item-title {
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recent-item-url {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recent-item-time {
  font-size: 0.72rem;
  color: var(--text-subtle);
  flex-shrink: 0;
}

/* ── Sites page ── */
#page-sites { padding: 36px 0; }
#page-sites h2 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.sites-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  font-family: var(--font);
  transition: all var(--transition);
}
.filter-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.filter-btn:hover:not(.active) { background: var(--bg-secondary); color: var(--text); }

.sites-table-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
thead th {
  text-align: left;
  padding: 10px 14px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
tbody tr:hover { background: var(--bg-secondary); }
tbody td {
  padding: 10px 14px;
  color: var(--text);
  vertical-align: middle;
}
tbody td.text-mono {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 500;
}
.status-badge.ok { background: #f0fdf4; color: #15803d; }
.status-badge.fail { background: #fef2f2; color: #b91c1c; }
.status-badge.pending { background: #fefce8; color: #a16207; }
.status-badge.crawling { background: #eff6ff; color: #1d4ed8; }
[data-theme="dark"] .status-badge.ok { background: #052e16; color: #4ade80; }
[data-theme="dark"] .status-badge.fail { background: #450a0a; color: #f87171; }
[data-theme="dark"] .status-badge.pending { background: #422006; color: #fbbf24; }
[data-theme="dark"] .status-badge.crawling { background: #1e3a5f; color: #93c5fd; }

/* ── Empty / Loading states ── */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.empty-state svg { opacity: 0.3; margin-bottom: 12px; }
.empty-state p { font-size: 0.9rem; }

.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

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

/* ── Image lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  background: rgba(255,255,255,0.1);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
}
.lightbox-info {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius);
  text-align: center;
  font-size: 0.85rem;
  max-width: 500px;
}

/* ── Misc ── */
.flex-gap { display: flex; gap: 8px; align-items: center; }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 0.85rem; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }

@media (max-width: 640px) {
  .header-search { display: none; }
  .home-hero h1 { font-size: 2rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .image-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}

/* ── Search filter button ── */
.filter-toggle-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border: 1.5px solid var(--border);
  background: var(--bg-input);
  border-radius: var(--radius-lg);
  cursor: pointer;
  color: var(--text-muted);
  transition: border-color var(--transition), color var(--transition);
}
.filter-toggle-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-badge {
  position: absolute;
  top: -5px; right: -5px;
  background: var(--accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

/* ── Filter panel ── */
.filter-panel {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-top: 10px;
  animation: fadeSlideDown 0.15s ease;
}
.filter-panel.open { display: block; }
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}
.filter-field { display: flex; flex-direction: column; gap: 5px; }
.filter-label { font-size: 0.75rem; font-weight: 500; color: var(--text-muted); }
.filter-input {
  height: 34px;
  padding: 0 10px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.85rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
}
.filter-input:focus { border-color: var(--border-focus); }
.filter-field-check { justify-content: center; }
.filter-check-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  color: var(--text);
  cursor: pointer;
  user-select: none;
  margin-top: 20px;
}
.filter-actions { display: flex; gap: 8px; }

/* ── Domain filter ⊕ button ── */
.result-domain {
  display: flex !important;
  align-items: center;
  gap: 4px;
}
.filter-domain-btn {
  flex-shrink: 0;
  font-size: 0.7rem;
  padding: 1px 4px;
  border: none;
  background: transparent;
  color: var(--text-subtle);
  cursor: pointer;
  border-radius: 3px;
  line-height: 1;
  transition: color var(--transition);
}
.filter-domain-btn:hover { color: var(--accent); }

/* ── Secondary nav bar ── */
#secondary-nav {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 56px;
  z-index: 99;
}
.secondary-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.secondary-nav-inner::-webkit-scrollbar { display: none; }
.sec-nav-btn {
  padding: 8px 14px;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.sec-nav-btn:hover { color: var(--text); }
.sec-nav-btn.active { color: var(--accent); border-bottom-color: var(--accent); }

/* ── TOS page ── */
.tos-section { margin-bottom: 28px; }
.tos-section h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.tos-section p  { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 8px; }
.tos-section ul { padding-left: 20px; }
.tos-section ul li { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 4px; }

/* ── Footer ── */
#site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-card);
  margin-top: 60px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-link {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 0.8rem;
  font-family: var(--font);
  cursor: pointer;
  padding: 0;
}
.footer-link:hover { text-decoration: underline; }
