.lists-nav {
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
}

.nav-link-active {
  color: var(--text);
  background: var(--bg-warm);
}

.lists-page {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 110px 20px 32px;
}

.lists-hero {
  padding: 20px 0 28px;
}

.lists-eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 11px;
  font-weight: 800;
  color: var(--text-soft);
}

.lists-hero h1 {
  margin-top: 8px;
  font-family: "Fraunces", serif;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.02;
  letter-spacing: -1.1px;
}

.lists-hero p {
  margin-top: 10px;
  color: var(--text-mid);
  font-size: 16px;
}

.lists-section {
  margin-top: 18px;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}

.lists-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.lists-section-header h2 {
  font-size: 18px;
  font-weight: 800;
}

.lists-count,
.lists-pill {
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-warm);
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 800;
  color: var(--text-mid);
}

.lists-message,
.lists-placeholder {
  margin-top: 14px;
  border-radius: 14px;
  border: 1px dashed var(--border);
  background: var(--bg);
  padding: 14px 16px;
  font-size: 14px;
  color: var(--text-mid);
}

.lists-inline-link {
  border: none;
  background: transparent;
  font-size: inherit;
  font-weight: 800;
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lists-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.owned-list-card {
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.owned-list-card:hover {
  transform: translateY(-1px);
  border-color: #d8d1c4;
  box-shadow: var(--shadow);
}

.owned-list-main {
  display: block;
  text-decoration: none;
  color: inherit;
}

.owned-list-main:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

.owned-list-card h3 {
  font-size: 17px;
  line-height: 1.25;
}

.owned-list-meta {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-mid);
}

.owned-list-progress-track {
  margin-top: 10px;
  height: 7px;
  border-radius: 999px;
  background: var(--border-light);
  overflow: hidden;
}

.owned-list-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #f27a39);
}

.owned-list-footer {
  font-size: 12px;
  color: var(--text-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

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

.owned-list-cta {
  text-decoration: none;
  color: var(--text-mid);
  font-weight: 800;
}

.owned-list-delete {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 10px;
  background: var(--bg);
  color: var(--text-mid);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.owned-list-delete:hover:not(:disabled) {
  border-color: #e1c5bd;
  color: #b04f3d;
}

.owned-list-delete:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 800px) {
  .lists-page {
    padding-top: 86px;
  }

  .lists-hero h1 {
    letter-spacing: -0.8px;
  }

  .lists-section {
    padding: 16px;
  }
}
