/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

:root {
  --bg: #0f1117;
  --bg2: #191d26;
  --bg3: #232838;
  --border: #2e3447;
  --text: #e8eaf0;
  --text2: #8891a8;
  --accent: #4f7eff;
  --accent-hover: #3d6bec;
  --danger: #e05c5c;
  --success: #4caf7d;
  --warn: #e5a14a;
  --plate-bg: #fffde7;
  --plate-border: #f9a825;
  --plate-text: #1a1a1a;
  --radius: 12px;
  --radius-sm: 8px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  font-size: 15px;
  line-height: 1.5;
}

/* ── Header ─────────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 17, 23, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}
.logo-text em { font-style: italic; font-weight: 400; font-family: Georgia, 'Times New Roman', serif; }

.logo-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.15s;
}
.logo-btn:hover { opacity: 0.75; }

.search-bar {
  display: flex;
  gap: 8px;
  flex: 1;
  min-width: 0;
  flex-wrap: wrap;
}

.search-bar input,
.search-bar select {
  flex: 1;
  min-width: 120px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s;
}
.search-bar input:focus,
.search-bar select:focus { border-color: var(--accent); }
.search-bar input::placeholder { color: var(--text2); }
.search-bar select { cursor: pointer; }

.header-actions { display: flex; gap: 8px; align-items: center; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s, transform 0.1s, opacity 0.15s;
  white-space: nowrap;
  text-decoration: none;
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--accent-hover); }

.btn-ghost {
  background: transparent;
  color: var(--text2);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--bg3); color: var(--text); }

.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { opacity: 0.85; }

.btn-sm { padding: 5px 10px; font-size: 13px; }
.btn-icon {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  position: relative;
  color: var(--text2);
}
.btn-icon:hover { background: var(--bg3); color: var(--text); }

.notif-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--danger);
  color: #fff;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ── Layout ──────────────────────────────────────────────────── */
.layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
}

/* ── Single-post permalink layout ───────────────────────────── */
.layout--single {
  grid-template-columns: 1fr;
  max-width: 680px;
}

/* ── Responsive: tablet + mobile shared ──────────────────────── */
@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
    padding: 20px 16px;
    gap: 20px;
  }
  .sidebar { order: 2; position: static; top: auto; }
  .main    { order: 1; }
}

/* ── Responsive: mobile (≤640px) ────────────────────────────── */
@media (max-width: 640px) {

  /* Header: 2-row layout */
  .header-inner {
    padding: 10px 16px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .logo          { order: 1; flex: 1; }
  .header-actions { order: 2; }
  .search-bar    {
    order: 3;
    width: 100%;
    flex: none;
    gap: 6px;
  }
  .search-bar input,
  .search-bar select { min-width: 0; font-size: 13px; padding: 7px 10px; }
  .search-bar .btn   { padding: 7px 12px; font-size: 13px; }

  /* Layout */
  .layout { padding: 12px 12px 80px; gap: 12px; }

  /* Feed header */
  #feedTitle { font-size: 16px; }

  /* Post cards */
  .post-card { padding: 14px 14px 12px; }
  .post-header { margin-bottom: 10px; }
  .post-content { margin-bottom: 10px; }
  .post-meta { gap: 8px; }
  .plate-badge { font-size: 14px; padding: 3px 10px; }

  /* Bigger touch targets on reaction buttons */
  .react-btn { padding: 8px 16px; }

  /* Sidebar: collapsible accordion — remove card look so it doesn't
     appear as a blank post at the bottom of the feed */
  .sidebar {
    padding: 0;
    overflow: hidden;
    background: transparent;
    border: none;
    border-radius: 0;
    border-top: 1px solid var(--border);
  }
  .sidebar-toggle {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    padding: 16px 20px;
    cursor: pointer;
    text-align: left;
    letter-spacing: 0;
    gap: 8px;
  }
  .sidebar-toggle:hover { background: var(--bg3); }
  .sidebar-toggle-chevron {
    display: inline-block;
    font-size: 12px;
    color: var(--text2);
    transition: transform 0.2s;
    flex-shrink: 0;
  }
  .sidebar--open .sidebar-toggle-chevron { transform: rotate(180deg); }
  .sidebar-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    padding: 0 20px;
  }
  .sidebar--open .sidebar-body {
    max-height: 600px;
    padding: 0 20px 20px;
  }

  /* Modal: bottom sheet */
  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }
  .modal {
    max-width: 100%;
    border-radius: 20px 20px 0 0;
    max-height: 92vh;
    width: 100%;
  }
  .modal-header { padding: 16px 20px 0; margin-bottom: 16px; }
  .form-group   { padding: 0 20px; margin-bottom: 14px; }
  .modal-footer { padding: 14px 20px 20px; }

  /* Toast: bottom-center, near-full width */
  .toast-container {
    bottom: 12px;
    left: 12px;
    right: 12px;
    max-width: none;
  }

  /* Pagination */
  .pagination { gap: 10px; margin-top: 20px; }
  .pagination .btn { padding: 7px 12px; font-size: 13px; }
}

/* ── Sidebar ─────────────────────────────────────────────────── */
.sidebar {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  position: sticky;
  top: 72px;
}

.sidebar-toggle { display: none; } /* shown only on mobile via media query */

.sidebar-section { margin-bottom: 24px; }
.sidebar-section:last-child { margin-bottom: 0; }
.sidebar-section h3 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text2);
  margin-bottom: 12px;
  font-weight: 600;
}

.toggle-row {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
}
.toggle-row input[type=checkbox] { width: 16px; height: 16px; cursor: pointer; accent-color: var(--accent); }

.plate-input-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.plate-input-row input {
  flex: 1;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  color: var(--text);
  font-size: 14px;
  font-family: 'Courier New', monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  outline: none;
}
.plate-input-row input:focus { border-color: var(--accent); }

.watch-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.watch-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg3);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  font-size: 13px;
}

.watch-item-plate {
  font-family: 'Courier New', monospace;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.watch-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text2);
  font-size: 16px;
  padding: 0 2px;
  line-height: 1;
}
.watch-remove:hover { color: var(--danger); }

/* ── Main Feed ───────────────────────────────────────────────── */
.main { min-width: 0; }

.feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

#feedTitle {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.feed { display: flex; flex-direction: column; gap: 16px; }

.loading {
  text-align: center;
  padding: 48px;
  color: var(--text2);
  font-size: 14px;
}

.empty-state {
  text-align: center;
  padding: 64px 32px;
  color: var(--text2);
}
.empty-state h3 { font-size: 20px; margin-bottom: 8px; color: var(--text); }
.empty-state p { font-size: 14px; }

/* ── Post Card ───────────────────────────────────────────────── */
.post-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color 0.15s;
  animation: fadeIn 0.2s ease;
}
.post-card:hover { border-color: #3e4d6a; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.post-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 12px;
}

.post-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* License plate badge */
.plate-badge {
  display: inline-flex;
  align-items: center;
  background: var(--plate-bg);
  border: 2px solid var(--plate-border);
  border-radius: 6px;
  padding: 4px 12px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--plate-text);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: transform 0.1s;
  user-select: all;
}
.plate-badge:hover { transform: scale(1.03); }

.area-tag {
  font-size: 12px;
  color: var(--text2);
  background: var(--bg3);
  border-radius: 999px;
  padding: 3px 10px;
  border: 1px solid var(--border);
}

.post-time { font-size: 12px; color: var(--text2); }

.post-actions-top { display: flex; gap: 8px; align-items: center; }

.share-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  padding: 4px 6px;
  border-radius: 6px;
  color: var(--text2);
  line-height: 1;
  transition: background 0.15s, color 0.15s;
}
.share-btn:hover { background: var(--bg3); color: var(--text); }

.report-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  padding: 4px 6px;
  border-radius: 6px;
  color: var(--text2);
  opacity: 0.4;
  line-height: 1;
  transition: background 0.15s, color 0.15s, opacity 0.15s;
}
.report-btn:hover { background: var(--bg3); color: #e05c5c; opacity: 1; }

.delete-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text2);
  font-size: 13px;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.delete-btn:hover { background: rgba(224, 92, 92, 0.15); color: var(--danger); }

.delete-timer {
  font-size: 11px;
  color: var(--warn);
  font-variant-numeric: tabular-nums;
}

.post-content {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 14px;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Media grid */
.post-media {
  display: grid;
  gap: 6px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 14px;
}
.post-media.count-1 { grid-template-columns: 1fr; }
.post-media.count-2 { grid-template-columns: 1fr 1fr; }
.post-media.count-3 { grid-template-columns: 1fr 1fr 1fr; }
.post-media.count-4 { grid-template-columns: 1fr 1fr; }
.post-media.count-many { grid-template-columns: 1fr 1fr 1fr; }

.post-media img, .post-media video {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.15s;
  background: var(--bg3);
}
.post-media img:hover { opacity: 0.9; }

/* Reactions */
.post-footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.react-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text2);
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
}
.react-btn:hover { background: var(--bg); color: var(--text); }
.react-btn:active { transform: scale(0.95); }

.react-btn.active-up {
  background: rgba(79, 126, 255, 0.15);
  border-color: var(--accent);
  color: var(--accent);
}
.react-btn.active-down {
  background: rgba(224, 92, 92, 0.15);
  border-color: var(--danger);
  color: var(--danger);
}

.react-count { font-weight: 600; font-size: 13px; }
.react-btn svg, .share-btn svg, .report-btn svg, .btn-icon svg { flex-shrink: 0; display: block; }

.score-tag {
  margin-left: auto;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
}
.score-positive { background: rgba(76, 175, 125, 0.15); color: var(--success); }
.score-negative { background: rgba(224, 92, 92, 0.15); color: var(--danger); }
.score-neutral { background: var(--bg3); color: var(--text2); }

/* Reply toggle button */
.reply-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text2);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.reply-toggle-btn:hover { background: var(--bg); color: var(--text); }
.reply-toggle-btn.active {
  background: rgba(79, 126, 255, 0.1);
  border-color: var(--accent);
  color: var(--accent);
}
.reply-count { font-weight: 600; font-size: 13px; }

/* ── Replies section ─────────────────────────────────────────── */
.replies-section {
  margin-top: 14px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.replies-loading,
.replies-empty {
  font-size: 13px;
  color: var(--text2);
  padding: 8px 0;
}

.reply-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.reply-item:last-child { border-bottom: none; }

.reply-body {
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
  margin-bottom: 4px;
}

.reply-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reply-time {
  font-size: 12px;
  color: var(--text2);
}

.reply-delete-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 12px;
  color: var(--text2);
  padding: 0;
  transition: color 0.15s;
}
.reply-delete-btn:hover { color: var(--danger); }

.reply-form {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  margin-top: 12px;
}

.reply-input {
  flex: 1;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  outline: none;
  transition: border-color 0.15s;
}
.reply-input:focus { border-color: var(--accent); }
.reply-input::placeholder { color: var(--text2); }

/* ── Pagination ──────────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}
#pageInfo { font-size: 13px; color: var(--text2); }

/* ── Modal ───────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
  animation: fadeIn 0.15s ease;
}

.modal {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 0;
  margin-bottom: 20px;
}
.modal-header h2 { font-size: 18px; font-weight: 700; }

.modal-close {
  background: none;
  border: none;
  color: var(--text2);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}
.modal-close:hover { color: var(--text); }

.form-group {
  padding: 0 24px;
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  margin-bottom: 6px;
}
.required { color: var(--danger); }

.form-group select {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  color: var(--text);
  font-size: 14px;
  outline: none;
  cursor: pointer;
  transition: border-color 0.15s;
}
.form-group select:focus { border-color: var(--accent); }

.form-group input[type=text],
.form-group textarea {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s;
  resize: vertical;
  font-family: inherit;
}
.form-group input[type=text]:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group input[type=text]::placeholder,
.form-group textarea::placeholder { color: var(--text2); }

#formPlate {
  font-family: 'Courier New', monospace;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.plate-preview {
  margin-top: 8px;
  display: inline-flex;
}
.plate-preview .plate-badge { font-size: 18px; }

.file-drop {
  position: relative;
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  text-align: center;
  color: var(--text2);
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.file-drop:hover, .file-drop.drag-over {
  border-color: var(--accent);
  background: rgba(79, 126, 255, 0.05);
}
.file-drop input[type=file] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.file-previews {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.file-preview-thumb {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.file-preview-thumb img,
.file-preview-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.file-preview-thumb.file-preview-converting {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg3);
  border: 1px dashed var(--border);
  color: var(--text2);
  font-size: 11px;
  text-align: center;
  padding: 4px;
}

.file-preview-remove {
  position: absolute;
  top: 2px;
  right: 2px;
  background: rgba(0,0,0,0.7);
  border: none;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  cursor: pointer;
  color: #fff;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}

/* ── Lightbox ────────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.lightbox img, .lightbox video {
  max-width: 95vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}
.lightbox-close {
  position: fixed;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  z-index: 301;
}
.lightbox-prev, .lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 36px;
  line-height: 1;
  padding: 0.25em 0.5em;
  cursor: pointer;
  z-index: 301;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
.lightbox-counter {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  z-index: 301;
}

/* ── Toasts ──────────────────────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 360px;
}

.toast {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 13px;
  cursor: pointer;
  animation: slideIn 0.2s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.toast:hover { border-color: var(--accent); }

.toast-plate {
  font-family: 'Courier New', monospace;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.toast-body { color: var(--text2); margin-top: 2px; }

@keyframes slideIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.site-footer a { color: var(--text-muted); text-decoration: underline; }
.site-footer a:hover { color: var(--text); }

/* ── Scrollbar ───────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #4a5475; }
