/*
 * 지도 화면(/map · /map/zone). 지도 한 장의 모양은 game-map.css 에 있다.
 */

.map-trail {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    color: var(--color-muted);
    font-size: 0.8125rem;
}

.page > .map-trail + * {
    margin-top: var(--space-xs);
}

.map-item-head {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

/* 지도 아래 자리 목록 — 넓으면 두 줄씩 */
.map-places {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 18.75rem), 1fr));
    gap: var(--space-xs) var(--space-md);
    padding: 0;
    list-style: none;
}

.map-place {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
    padding: 0.5rem var(--space-sm);
    border-radius: var(--radius);
}

.map-place.is-active {
    background: var(--color-accent-soft);
}

.map-place__body {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.125rem var(--space-sm);
    min-width: 0;
}

.map-place__kind,
.map-place__detail,
.map-place__count {
    font-size: 0.8125rem;
}

.map-place__name {
    font-weight: 600;
    overflow-wrap: break-word;
}

/* 지역 목록 — 대륙마다 제목과 알약 */
.map-sub {
    font-size: 0.875rem;
    font-weight: 600;
}
