/* ==============================
   CHUNITHM DB - Design System
   Light / Dark Theme Support
   ============================== */

/* ==============================
   Theme Variables
   ============================== */

:root {
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --transition: 0.2s ease;
  --font-main: 'Inter', 'Noto Sans JP', -apple-system, sans-serif;
  --diff-basic: #2ed573;
  --diff-advanced: #ffa502;
  --diff-expert: #ff4757;
  --diff-master: #a855f7;
  --diff-ultima: #1e1e1e;
  --footer-height: 80px;
}

/* Dark Theme (default) */
[data-theme="dark"] {
  --bg-primary: #0a0a14;
  --bg-secondary: #12121f;
  --bg-card: #181828;
  --bg-card-hover: #1e1e32;
  --bg-input: #1a1a2e;
  --bg-modal: #14142a;

  --text-primary: #e8e8f0;
  --text-secondary: #9898b4;
  --text-muted: #606080;

  --accent-primary: #6c5ce7;
  --accent-secondary: #00cec9;
  --accent-gradient: linear-gradient(135deg, #6c5ce7 0%, #00cec9 100%);
  --accent-glow: 0 0 20px rgba(108, 92, 231, 0.3);

  --border-color: rgba(108, 92, 231, 0.2);
  --border-subtle: rgba(255, 255, 255, 0.06);

  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);

  --header-bg: rgba(10, 10, 20, 0.85);
  --footer-bg: #12121f;
  --scrollbar-thumb: rgba(108, 92, 231, 0.3);
  --scrollbar-hover: rgba(108, 92, 231, 0.5);

  --bg-glow: rgba(108, 92, 231, 0.06);

  --diff-bas-bg: rgba(46, 213, 115, 0.12);
  --diff-adv-bg: rgba(255, 165, 2, 0.12);
  --diff-exp-bg: rgba(255, 71, 87, 0.12);
  --diff-mas-bg: rgba(168, 85, 247, 0.12);
  --diff-ult-bg: rgba(255, 255, 255, 0.06);
  --diff-ult-color: #e2e2e2;
  --diff-ult-border: rgba(255,255,255,0.1);

  --badge-genre-bg: rgba(108, 92, 231, 0.15);
  --badge-genre-color: #a78bfa;
  --badge-version-bg: rgba(0, 206, 201, 0.12);
  --badge-version-color: #00cec9;
  --badge-new-bg: rgba(255, 71, 87, 0.15);
  --badge-new-color: #ff6b81;
  --badge-bpm-bg: rgba(255, 255, 255, 0.06);
}

/* Light Theme */
[data-theme="light"] {
  --bg-primary: #f0f2f5;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f5f3ff;
  --bg-input: #f0f0f5;
  --bg-modal: #ffffff;

  --text-primary: #1a1a2e;
  --text-secondary: #555577;
  --text-muted: #8888aa;

  --accent-primary: #6c5ce7;
  --accent-secondary: #00a8a3;
  --accent-gradient: linear-gradient(135deg, #6c5ce7 0%, #00cec9 100%);
  --accent-glow: 0 0 20px rgba(108, 92, 231, 0.15);

  --border-color: rgba(108, 92, 231, 0.18);
  --border-subtle: rgba(0, 0, 0, 0.08);

  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.15);

  --header-bg: rgba(255, 255, 255, 0.88);
  --footer-bg: #ffffff;
  --scrollbar-thumb: rgba(108, 92, 231, 0.25);
  --scrollbar-hover: rgba(108, 92, 231, 0.4);

  --bg-glow: rgba(108, 92, 231, 0.03);

  --diff-bas-bg: rgba(46, 213, 115, 0.1);
  --diff-adv-bg: rgba(255, 165, 2, 0.1);
  --diff-exp-bg: rgba(255, 71, 87, 0.1);
  --diff-mas-bg: rgba(168, 85, 247, 0.1);
  --diff-ult-bg: rgba(0, 0, 0, 0.04);
  --diff-ult-color: #333;
  --diff-ult-border: rgba(0,0,0,0.12);

  --badge-genre-bg: rgba(108, 92, 231, 0.1);
  --badge-genre-color: #6c5ce7;
  --badge-version-bg: rgba(0, 206, 201, 0.1);
  --badge-version-color: #00897b;
  --badge-new-bg: rgba(255, 71, 87, 0.1);
  --badge-new-color: #d32f2f;
  --badge-bpm-bg: rgba(0, 0, 0, 0.04);
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: var(--footer-height);
  transition: background 0.3s ease, color 0.3s ease;
}

body::before {
  content: '';
  position: fixed;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, var(--bg-glow) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ==============================
   Header
   ============================== */

#header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.3s ease;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: var(--accent-glow);
  color: white;
}

.logo-text h1 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.logo-text h1 .accent {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-text .subtitle {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Theme Toggle */
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(108, 92, 231, 0.1);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.theme-toggle:hover {
  background: rgba(108, 92, 231, 0.2);
  color: var(--accent-primary);
}

[data-theme="dark"] .icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="light"] .icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: block; }

.header-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-secondary);
  background: rgba(108, 92, 231, 0.06);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--diff-basic);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ==============================
   Search Section
   ============================== */

#searchSection {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 20px 0;
  position: relative;
  z-index: 10;
}

.search-container {
  display: flex;
  gap: 12px;
  align-items: center;
}

.search-bar {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 16px;
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  pointer-events: none;
}

#searchInput {
  width: 100%;
  padding: 14px 48px 14px 48px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  font-size: 15px;
  font-family: var(--font-main);
  transition: var(--transition);
  outline: none;
}

#searchInput::placeholder { color: var(--text-muted); }
#searchInput:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
}

.clear-btn {
  position: absolute;
  right: 14px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 16px;
  padding: 4px;
  transition: var(--transition);
}
.clear-btn:hover { color: var(--text-primary); }

.filter-toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 20px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  font-size: 14px;
  font-family: var(--font-main);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.filter-toggle-btn:hover {
  border-color: var(--accent-primary);
  color: var(--text-primary);
}

/* ==============================
   Filter Panel
   ============================== */

.filter-panel {
  margin-top: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  animation: slideDown 0.25s ease;
}

.filter-panel.hidden { display: none; }

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

.filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.filter-group label {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 6px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-group select,
.filter-group input {
  width: 100%;
  padding: 10px 12px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 13px;
  font-family: var(--font-main);
  outline: none;
  transition: var(--transition);
}

.filter-group select:focus,
.filter-group input:focus {
  border-color: var(--accent-primary);
}

.range-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
}
.range-inputs span { color: var(--text-muted); }
.range-inputs input { width: 80px; }

.filter-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  justify-content: flex-end;
}

.btn-primary {
  padding: 10px 24px;
  background: var(--accent-gradient);
  border: none;
  border-radius: var(--radius-sm);
  color: white;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-main);
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }

.btn-secondary {
  padding: 10px 24px;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-main);
}
.btn-secondary:hover { border-color: var(--text-muted); color: var(--text-primary); }

/* ==============================
   Results Info
   ============================== */

.results-info {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 20px 8px;
  font-size: 13px;
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
}

.total-count {
  margin-left: 8px;
  color: var(--text-muted);
}

/* ==============================
   Song Grid
   ============================== */

.song-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 8px 20px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  position: relative;
  z-index: 1;
}

/* Loading */
.loading {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0;
  gap: 16px;
  color: var(--text-muted);
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border-color);
  border-top-color: var(--accent-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ==============================
   Song Card
   ============================== */

.song-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.song-card:hover {
  border-color: var(--border-color);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.song-card-inner {
  display: flex;
  padding: 16px;
  gap: 14px;
}

.song-jacket {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  object-fit: cover;
  background: var(--bg-input);
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.song-jacket.loaded {
  opacity: 1;
}

.song-jacket-placeholder {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
  opacity: 0.6;
  color: white;
}

.song-info {
  flex: 1;
  min-width: 0;
}

.song-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.song-artist {
  font-size: 12px;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 8px;
}

.song-meta-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.song-badge {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 500;
}

.badge-genre { background: var(--badge-genre-bg); color: var(--badge-genre-color); }
.badge-version { background: var(--badge-version-bg); color: var(--badge-version-color); }
.badge-new { background: var(--badge-new-bg); color: var(--badge-new-color); }
.badge-bpm { background: var(--badge-bpm-bg); color: var(--text-muted); }

/* Difficulty Levels */
.diff-row {
  display: flex;
  gap: 4px;
}

.diff-chip {
  flex: 1;
  text-align: center;
  padding: 4px 2px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
}

.diff-chip .diff-label {
  font-size: 8px;
  font-weight: 400;
  opacity: 0.7;
  display: block;
  letter-spacing: 0.5px;
}

.diff-bas { background: var(--diff-bas-bg); color: var(--diff-basic); }
.diff-adv { background: var(--diff-adv-bg); color: var(--diff-advanced); }
.diff-exp { background: var(--diff-exp-bg); color: var(--diff-expert); }
.diff-mas { background: var(--diff-mas-bg); color: var(--diff-master); }
.diff-ult { background: var(--diff-ult-bg); color: var(--diff-ult-color); border: 1px solid var(--diff-ult-border); }

.diff-chip.empty { opacity: 0.2; }

/* ==============================
   Pagination
   ============================== */

.pagination {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px 40px;
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.pagination button {
  padding: 8px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 13px;
  font-family: var(--font-main);
  cursor: pointer;
  transition: var(--transition);
}

.pagination button:hover { border-color: var(--accent-primary); color: var(--text-primary); }
.pagination button.active {
  background: var(--accent-gradient);
  color: white;
  border-color: transparent;
}
.pagination button:disabled { opacity: 0.3; cursor: default; }

/* ==============================
   Modal
   ============================== */

.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; }
.modal.hidden { display: none; }

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  background: var(--bg-modal);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  max-width: 640px;
  width: 92%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.25s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(108, 92, 231, 0.1);
  border: none;
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover { background: rgba(108, 92, 231, 0.2); color: var(--text-primary); }

/* Modal Detail */
.detail-header {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
}

.detail-jacket {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
}

.detail-jacket-placeholder {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-md);
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  flex-shrink: 0;
  opacity: 0.6;
  color: white;
}

.detail-info h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.3;
}

.detail-info .detail-artist {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-meta-item {
  font-size: 12px;
  padding: 4px 10px;
  background: rgba(108, 92, 231, 0.06);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
}

.detail-meta-item strong {
  color: var(--text-primary);
  margin-left: 4px;
}

/* Difficulty Table */
.diff-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 20px;
}

.diff-table th {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  padding: 8px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.diff-table td {
  padding: 10px 12px;
  font-size: 13px;
  border-bottom: 1px solid var(--border-subtle);
}

.diff-table tr:last-child td { border-bottom: none; }

.diff-table .diff-name {
  font-weight: 600;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
}

.diff-table .const-val {
  font-weight: 700;
  font-size: 16px;
}

.notes-detail {
  margin-top: 20px;
}

.notes-detail h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-secondary);
}

.notes-bar {
  display: flex;
  height: 24px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.notes-bar > div {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  min-width: 2%;
  color: white;
}

.notes-tap { background: #6c5ce7; }
.notes-hold { background: #00cec9; }
.notes-slide { background: #ffa502; }
.notes-air { background: #ff4757; }
.notes-flick { background: #a29bfe; }

.notes-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 11px;
  color: var(--text-secondary);
}

.notes-legend span::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  margin-right: 4px;
  vertical-align: middle;
}

.legend-tap::before { background: #6c5ce7; }
.legend-hold::before { background: #00cec9; }
.legend-slide::before { background: #ffa502; }
.legend-air::before { background: #ff4757; }
.legend-flick::before { background: #a29bfe; }

/* ==============================
   Fixed Footer
   ============================== */

#footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--footer-bg);
  border-top: 1px solid var(--border-subtle);
  padding: 10px 20px;
  text-align: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background 0.3s ease;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-update {
  font-size: 13px;
  color: var(--text-primary);
}

.footer-label {
  color: var(--accent-secondary);
  font-weight: 600;
}

#footerUpdateTime {
  font-weight: 500;
}

.footer-note {
  font-size: 11px;
  color: var(--text-muted);
}

.footer-sources {
  font-size: 10px;
  color: var(--text-muted);
}

.footer-sep {
  color: var(--border-subtle);
}

/* ==============================
   Responsive
   ============================== */

@media (max-width: 768px) {
  :root {
    --footer-height: 64px;
  }

  .header-inner { padding: 10px 16px; }
  .logo-text h1 { font-size: 17px; }
  .header-status { font-size: 10px; padding: 5px 10px; }
  #lastUpdateText { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  #searchSection { padding: 14px 16px 0; }
  .search-container { flex-direction: column; }
  .filter-toggle-btn { width: 100%; justify-content: center; }
  #searchInput { padding: 12px 40px; font-size: 14px; }

  .filter-grid { grid-template-columns: 1fr 1fr; }
  .range-inputs input { width: 60px; }

  .results-info { padding: 12px 16px 6px; }
  .song-grid {
    padding: 6px 16px 30px;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .song-jacket, .song-jacket-placeholder { width: 60px; height: 60px; }
  .song-title { font-size: 13px; }
  .song-card-inner { padding: 12px; gap: 10px; }

  .modal-content { padding: 20px; max-height: 90vh; width: 96%; }
  .detail-header { flex-direction: column; align-items: center; text-align: center; }
  .detail-jacket, .detail-jacket-placeholder { width: 100px; height: 100px; }
  .detail-meta { justify-content: center; }

  .diff-table { font-size: 12px; }
  .diff-table th, .diff-table td { padding: 6px 8px; }

  #footer { padding: 8px 16px; }
  .footer-inner { gap: 8px; }
  .footer-sources { display: none; }
}

@media (max-width: 480px) {
  .filter-grid { grid-template-columns: 1fr; }
  .diff-row { flex-wrap: wrap; }
  .diff-chip { min-width: 44px; }
}

@media (min-width: 1200px) {
  .song-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

/* No results */
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.no-results .emoji { font-size: 48px; margin-bottom: 16px; }
.no-results p { font-size: 15px; }
