.lists-page {
  padding: 40px 0 60px;
}

.lists-page__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.lists-page__head h1 { margin: 0; }

.lists-table-card {
  padding: 0;
  overflow-x: auto;
}

.lists-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.lists-table th,
.lists-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.lists-table th {
  color: var(--text-faint);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.lists-table tbody tr:hover { background: var(--panel-alt); }
.lists-table tbody tr:last-child td { border-bottom: none; }

.lists-table th a {
  color: inherit;
  text-decoration: none;
}
.lists-table th a:hover { color: var(--yellow); }

/* --- Overview filters --- */
.overview-filters {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--border);
}
.overview-filters .field {
  margin-bottom: 0;
  min-width: 160px;
}
.overview-filters select,
.overview-filters input[type="text"] {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 9px 10px;
  border-radius: var(--radius);
  font-size: 0.85rem;
}

.lists-table__percent {
  display: inline-block;
  margin-top: 4px;
  color: var(--text-faint);
  font-size: 0.72rem;
}

.hash-cell {
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --- List detail --- */
.list-detail-head {
  margin-bottom: 20px;
}

.list-detail-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin: 16px 0;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.list-detail-meta dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-faint);
  margin-bottom: 4px;
}
.list-detail-meta dd {
  margin: 0;
  font-size: 0.92rem;
}

.list-detail-progress {
  height: 10px;
  margin-top: 8px;
}
.progress__fill {
  transition: width 400ms ease;
}

.lists-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px;
}

/* --- Comments --- */
.list-comments {
  margin-top: 20px;
}
.list-comments h2 {
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.comment-form {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.comment-form textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 10px 12px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  resize: vertical;
}

.comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.comment {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.comment:last-child {
  border-bottom: none;
}
.comment__meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}
.comment__body {
  margin: 0 0 8px;
  font-size: 0.92rem;
}
