.map-ledger {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: map-entry;
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.map-ledger li { counter-increment: map-entry; }

.map-ledger__entry {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) minmax(7rem, auto);
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease;
}

.map-ledger__entry::before {
  content: counter(map-entry, decimal-leading-zero);
  color: var(--signal);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.map-ledger__entry:hover,
.map-ledger__entry:focus-visible {
  border-color: var(--line-strong);
  background: var(--accent-wash);
  color: var(--accent);
}

.map-ledger__entry:focus-visible {
  outline: 3px solid rgba(229, 106, 66, 0.45);
  outline-offset: 3px;
}

.map-ledger__title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.2;
}

.map-ledger__meta {
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.6;
}

.empty-map-list {
  position: relative;
  min-height: 12rem;
  margin-top: 1rem;
  padding: 2rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-m);
  background: var(--surface);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  text-align: center;
}

.empty-map-list p { position: relative; max-width: 20rem; }

.empty-map-list__contour {
  position: absolute;
  width: 13rem;
  height: 9rem;
  border: 1px solid rgba(57, 122, 235, 0.24);
  border-radius: 46% 54% 62% 38% / 56% 35% 65% 44%;
  transform: rotate(-8deg);
}

.empty-map-list__contour::before,
.empty-map-list__contour::after {
  content: "";
  position: absolute;
  inset: 0.8rem;
  border: 1px solid rgba(57, 122, 235, 0.16);
  border-radius: 56% 44% 38% 62% / 42% 58% 42% 58%;
}

.empty-map-list__contour::after { inset: 1.7rem; }


@media (max-width: 760px) {
  .map-ledger__entry { grid-template-columns: 2rem minmax(0, 1fr); }
  .map-ledger__meta { grid-column: 2; }
}
