.list-view {
  position: fixed; inset: calc(var(--topbar-h) + var(--filterbar-h)) 0 var(--nav-h) 0;
  overflow-y: auto; padding: 32px clamp(16px, 4vw, 56px) 80px;
  background-color: var(--paper);
  background-image: radial-gradient(circle at 1.5px 1.5px, var(--dot) 1.5px, transparent 1.8px);
  background-size: 26px 26px;
}
.list-view[hidden] { display: none; }
.list-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.list-title {
  margin: 0; display: flex; align-items: center; gap: 12px;
  font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: clamp(36px, 6vw, 64px); line-height: 1;
}
.list-cat { background: var(--c); color: #0e0e10; padding: 0 12px; border: 2px solid #0e0e10; box-shadow: 4px 4px 0 #0e0e10; transform: rotate(-1deg); display: inline-block; }
.list-count { font-family: var(--f-mono); font-style: normal; font-size: 14px; background: var(--ink); color: var(--paper); padding: 3px 8px; }
.list-sorts { display: flex; gap: 6px; flex-wrap: wrap; }
.list-sort {
  font-family: var(--f-mono); font-size: 12px; font-weight: 600;
  padding: 6px 10px; border: 1.5px solid var(--line); border-radius: var(--r-pill); background: var(--card);
}
.list-sort.is-active { background: var(--ink); color: var(--paper); }

.list-grid {
  display: grid; gap: 36px 28px;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
}
.list-card.card {
  position: relative; width: auto; height: auto; min-height: 236px;
  transform: none; transition: box-shadow 0.15s, transform 0.2s var(--ease-spring);
}
.list-card.card:hover { transform: translateY(-3px) rotate(-0.4deg); }
.list-card .card-actions { opacity: 1; transform: none; pointer-events: auto; }
@media (hover: hover) { .list-card .card-actions { opacity: 0; } .list-card:hover .card-actions, .list-card:focus-within .card-actions { opacity: 1; } }

.list-empty { text-align: center; padding: 80px 20px; border: 2px dashed var(--ink-3); border-radius: var(--r-lg); }
.list-empty-big { font-family: var(--f-marker); font-size: 28px; margin: 0 0 20px; }
.list-empty-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ----- polish: empty state voice, press + touch ----- */
.list-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 64px 20px; background: color-mix(in srgb, var(--card) 70%, transparent); }
.list-empty-pi {
  width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 8px;
  font-family: var(--f-marker); font-size: 30px; color: #0e0e10;
  background: var(--pi-yellow); border: 1.5px solid #0e0e10; box-shadow: var(--shadow-postit); transform: rotate(-7deg);
}
.list-empty-big { margin: 0; font-family: var(--f-display); font-style: italic; font-size: clamp(30px, 5vw, 40px); line-height: 1.05; overflow-wrap: anywhere; }
.list-empty-sub { margin: 0 0 14px; font-size: 14px; color: var(--ink-2); max-width: 40ch; }
.list-sort { transition: transform 0.15s var(--ease-spring), background 0.15s; }
.list-sort:not(.is-active):hover { background: var(--paper-2); transform: translateY(-1px) rotate(-1deg); }
.list-sort:active { transform: translate(1px, 1px); }
.list-title { flex-wrap: wrap; }
@media (pointer: coarse) {
  .list-sort { min-height: 40px; padding: 8px 14px; }
}
