/* 가본 도시 지도. 크루캘의 색과 카드 모양을 그대로 쓰고, 여기서만 쓰는 것만 적는다. */

.map-body .app-header h1 {
  letter-spacing: -0.01em;
}

.back-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 6px 2px;
}

.map-card .seg {
  margin-bottom: 14px;
  overflow-x: auto;
  scrollbar-width: none;
}
.map-card .seg::-webkit-scrollbar { display: none; }
.map-card .seg-btn { white-space: nowrap; }

.map-headline {
  margin: 2px 0 2px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.map-sub {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--muted);
}
.map-sub:empty { margin-bottom: 4px; }

.map-frame {
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
}

#mapCanvas {
  display: block;
  max-width: 100%;
}

.empty-note {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--surface-alt);
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.empty-note p { margin: 0 0 6px; }
.empty-note p:last-child { margin-bottom: 0; }
.empty-note b { color: var(--text); }
.empty-note a { color: var(--accent); }

.place-head {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
}

.place-list {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
}

.place-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 2px;
  border-bottom: 1px solid var(--line);
}
.place-row:last-child { border-bottom: none; }

.place-flag { font-size: 22px; line-height: 1; }

.place-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.place-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.place-meta {
  font-size: 12px;
  color: var(--faint);
}

.place-count {
  font-size: 14px;
  font-weight: 700;
  color: var(--cat-flight);
  white-space: nowrap;
}
