main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 24px 80px;
}

.list-header {
  margin-bottom: 24px;
  border-bottom: 1px solid #d8dae0;
  padding-bottom: 16px;
}

.list-header h1 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #0d1117;
  line-height: 1.1;
}

.list-header p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-top: 6px;
}

/* Filter bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 14px 16px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #d8dae0;
}

.filter-bar select {
  padding: 7px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 13px;
  color: var(--text-primary);
  background: #fff;
  min-width: 130px;
}

.filter-bar button {
  padding: 7px 18px;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  background: var(--accent-blue);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s;
}

.filter-bar button:hover {
  background: var(--accent-blue-dim);
}

/* Date range */
.date-range-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.date-range-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.date-range-sep {
  font-size: 13px;
  color: var(--text-muted);
}

.date-input {
  padding: 6px 8px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 13px;
  color: var(--text-primary);
  background: #fff;
  width: 130px;
}

/* Score range slider */
.score-range-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
}

.score-range-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.score-range-value {
  font-size: 12px;
  font-weight: 700;
  color: #0d1117;
  min-width: 52px;
  text-align: center;
  white-space: nowrap;
}

.range-slider {
  position: relative;
  width: 160px;
  height: 28px;
  flex-shrink: 0;
}

.range-slider input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 28px;
  background: transparent;
  pointer-events: none;
  margin: 0;
}

.range-slider input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  background: transparent;
  border-radius: 3px;
}

.range-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-blue);
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  cursor: pointer;
  pointer-events: auto;
  margin-top: -6px;
}

.range-slider input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-blue);
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  cursor: pointer;
  pointer-events: auto;
}

.range-slider-track {
  position: absolute;
  top: 11px;
  left: 0;
  right: 0;
  height: 6px;
  background: #e2e4e9;
  border-radius: 3px;
  pointer-events: none;
}

.range-slider-fill {
  position: absolute;
  top: 11px;
  height: 6px;
  background: var(--accent-blue);
  border-radius: 3px;
  pointer-events: none;
}

.result-count {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

/* Game row */
.game-row {
  display: flex;
  align-items: center;
  padding: 14px 8px 14px 0;
  gap: 14px;
  border-bottom: 1px solid #d8dae0;
  text-decoration: none;
  color: inherit;
  transition: background 0.12s;
}

.game-row:last-child { border-bottom: none; }
.game-row:hover { background: rgba(0, 0, 0, 0.06); }

.game-rank {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-muted);
  width: 32px;
  text-align: center;
  flex-shrink: 0;
}

.game-thumb {
  width: 48px;
  height: 64px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.game-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.game-info .game-title {
  font-size: 16px;
  font-weight: 600;
  color: #1a1f2e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.game-info .game-platforms {
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-info .game-detail {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Score circle */
.score-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  flex-shrink: 0;
}

.score-green { background: #3da66a; }
.score-lime { background: #7ab33e; }
.score-amber { background: #d4911e; }
.score-orange { background: #d46a2a; }
.score-red { background: #c94444; }
.score-none { background: #c4c7ce; }

.status-badge {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
}

.status-unreleased { background: #e0e7ff; color: #4338ca; }
.status-early_access { background: #fef3c7; color: #92400e; }

.img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #dfe1e6 0%, #e8eaef 50%, #dfe1e6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 10px;
}

.list-empty {
  color: var(--text-muted);
  font-size: 15px;
  padding: 40px 0;
  text-align: center;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #ecedf0;
}

.pagination a,
.pagination span {
  font-size: 14px;
  font-weight: 600;
}

.pagination a {
  color: var(--accent-blue);
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  transition: background 0.12s;
}

.pagination a:hover {
  background: #f0f1f4;
}

.pagination .page-info {
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .filter-bar { flex-direction: column; align-items: stretch; }
  .filter-bar select { min-width: 100%; }
}
