/* core/modules/display/map-embed/style.css */
/* module-map-embed — 지도 가족(§6-12) 유일 모듈
   출처: TCGGrail generatepress_child/core/template/modules/naver-map.php (module_naver_map())
        + assets/css/modules.css L2410·L2413.
   개명: 원본 클래스 밑동 `module-naver-map*` → §9-3(밑동=모듈명)·§9-4(공급자 이름 금지 — 'naver' 는
        지도 공급자명)를 함께 적용해 `module-map-embed*` 로 바꿨다.
   이관 범위: variant=link·single·multi 세 갈래만 담았다 — variant=interactive(실시간 유가 지도)는
        module.jsonc coverage_gap 사유로 전면 제외했다. 원본 인터랙티브 갈래의 시각 대부분(버튼바·
        note 문단)은 PHP 인라인 style 로 찍혀 있어 애초에 modules.css 소스에도 없었다(제외 사유는
        module.jsonc 의 coverage_gap.excluded_php_inline_styles 참조). */

.module-map-embed__canvas {
  width: 100%;
  height: 340px; /* 근거: 원본 modules.css L2410 */
  border-radius: 12px;
  overflow: hidden;
  background: #eef2ff; /* 근거: 원본 naver-map.php L78 인라인 style(캔버스 로딩 전 배경) */
}
@media (max-width: 600px) {
  .module-map-embed__canvas { height: 260px; } /* 근거: 원본 modules.css L2413 */
}

.module-map-embed__link {
  display: inline-block;
  margin-top: 8px;
  color: #2563eb; /* 근거: 원본 naver-map.php L203 인라인 style */
  font-weight: 600;
  text-decoration: none;
}

/* ── 라이브 결손 규칙 동기화 (sync-live) ── */
/* 라이브 원문 순서 · 우리에 없던 선택자만 */

@media (max-width: 600px) {

}
/* ── 동기화 블록 끝 (sync-live) ── */


/* ── 짝 맞추기 — 마크업이 찍는데 규칙이 없던 이름 (2026-09-10 창D) ────────── */
/* 🔴 짝 맞추기(2026-09-10 창D) — 뿌리 — 원본에 뿌리 선언 없음.
   마크업이 이 이름을 찍는데 규칙이 없어 «자리»만 만든다. 생김새는 «창작하지 않는다»
   (선례 = display/pdf-embed/style.css .module-pdf-embed__title). */
.module-map-embed {
}
/* 🔴 짝 맞추기(2026-09-10 창D) — 지도 라이브러리가 붙이는 자리 — 원본에 선언 없음.
   마크업이 이 이름을 찍는데 규칙이 없어 «자리»만 만든다. 생김새는 «창작하지 않는다»
   (선례 = display/pdf-embed/style.css .module-pdf-embed__title). */
.module-map-embed__infowindow {
}
/* ── 말풍선 카드(2026-11-13) — 모든 갈래(single·multi·radius·explorer)가 같이 쓰는 꼴 하나 ─────────────────────────────
   표지를 누르면 지도 SDK 가 말풍선 틀을 «지도 칸 안»에 붙이고 그 안에 이 카드(.module-map-embed__infowindow)를 넣는다 — 틀은 script.js 가 투명·꼬리 없음으로 열어(newInfoWindow)
   테두리·둥근 모서리·그림자·꼬리는 이 카드가 혼자 그린다(SDK 기본 테두리·꼬리와 이중으로 겹치지 않음).
   차례 = 이름(굵게) → 부가 줄(옅은 색) → 링크(--map-pin-color 파랑). 폭 = 최대 260px · 좁은 화면은 화면 폭 − 64px 이내(휴대폰 360px 에서 넘치지 않음).
   뿌리 클래스를 세 번 겹친다 — 사이트 묶음에 남은 같은 이름 규칙보다 늘 앞서게(multi·explorer 갈래와 같은 까닭). radius 갈래는 카드 틀만 같이 쓰고 안쪽 글꼴은 자기 규칙(위 118~120줄)을 그대로 쓴다. */
.module-map-embed.module-map-embed.module-map-embed .module-map-embed__infowindow {
  position: relative; box-sizing: border-box; min-width: 140px; max-width: min(260px, calc(100vw - 64px)); margin-bottom: 16px;
  color: #0f172a; text-align: left; overflow-wrap: anywhere;
  background: #fff; border: 1px solid #cbd5e1; border-radius: 12px; box-shadow: 0 2px 8px rgba(15, 23, 42, .25);
}
.module-map-embed.module-map-embed.module-map-embed .module-map-embed__infowindow::after {
  content: ""; position: absolute; left: 50%; bottom: -7px; width: 12px; height: 12px; margin-left: -6px; box-sizing: border-box;
  background: #fff; border: solid #cbd5e1; border-width: 0 1px 1px 0; transform: rotate(45deg);
}
.module-map-embed.module-map-embed.module-map-embed:not([data-variant="radius"]) .module-map-embed__infowindow { padding: 10px 12px; font-size: 13px; line-height: 20px; }
.module-map-embed.module-map-embed.module-map-embed:not([data-variant="radius"]) .module-map-embed__infowindow strong { display: block; font-size: 14px; font-weight: 700; }
.module-map-embed.module-map-embed.module-map-embed:not([data-variant="radius"]) .module-map-embed__infowindow a { display: inline-block; color: var(--map-pin-color, #1557b0); font-weight: 600; text-decoration: none; }
.module-map-embed.module-map-embed.module-map-embed:not([data-variant="radius"]) .module-map-embed__infowindow strong + a,
.module-map-embed.module-map-embed.module-map-embed:not([data-variant="radius"]) .module-map-embed__infowindow-sub + a { margin-top: 4px; }
.module-map-embed.module-map-embed.module-map-embed:not([data-variant="radius"]) .module-map-embed__infowindow-sub { display: block; font-size: 12px; line-height: 18px; color: var(--map-muted-text, #64748b); }
/* 🔴 짝 맞추기(2026-09-10 창D) — 지도 라이브러리가 붙이는 자리 — 원본에 선언 없음.
   마크업이 이 이름을 찍는데 규칙이 없어 «자리»만 만든다. 생김새는 «창작하지 않는다»
   (선례 = display/pdf-embed/style.css .module-pdf-embed__title). */
.module-map-embed__pin {
}

/* ── variant=radius(2026-09-27 GN조) — 반경·유종 선택 지도 ─────────────────────────────────────
   값 근거 = 원본 naver-map.php 인라인 style(L55 $bstyle · L60~L81 · L120 · L123 · L138 · L146) + 색 SSOT
   F:/레퍼런스/시세/generatepress_child/core/lib/helpers.php:757~769 core_map_color(인라인 → 스타일시트 재배치 · 창작 0).
   🔴 모든 규칙을 [data-variant="radius"] 아래에 둔다 — 같은 이름(__pin·__infowindow·__canvas)을 쓰는 single·multi 갈래 모양 불변. */
.module-map-embed[data-variant="radius"] {
  --map-color-lowest: #dc2626;          /* core_map_color('min') — 최저가 빨강 */
  --map-color-here: #7c3aed;            /* core_map_color('here') — 이 주유소 보라 */
  --map-color-default: #475569;         /* core_map_color('default') */
  --map-color-gasoline: #2563eb;        /* core_map_color('gasoline') */
  --map-color-diesel: #16a34a;          /* core_map_color('diesel') */
  --map-color-lpg: #f59e0b;             /* core_map_color('lpg') */
  /* 고급휘발유 = 원본 표에 키가 없다 → 지휘자 결정 D2(09-27) = 디자인 토큰 기본색(core_map_color 'default' 슬레이트 · 이 주유소 보라·최저가 빨강·다른 유종색과 겹치지 않음) */
  --map-color-premium-gasoline: var(--map-color-default);
  --map-discount-selected: #059669;     /* L149 알뜰만 켜짐 초록 */
  --map-button-border: #cbd5e1;         /* L55 $bstyle border */
  --map-button-background: #fff;        /* L55 */
  --map-button-text: #0f172a;           /* L55 */
  --map-button-selected: #2563eb;       /* L70·L138 반경 선택 파랑 */
  --map-muted-text: #64748b;            /* L68·L74·L81 */
}
.module-map-embed[data-variant="radius"] .module-map-embed__bar {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 10px; /* L60 */
}
.module-map-embed[data-variant="radius"] .module-map-embed__fuels { display: inline-flex; gap: 4px; }                          /* L62 */
.module-map-embed[data-variant="radius"] .module-map-embed__radii { display: inline-flex; gap: 4px; align-items: center; }     /* L67 */
.module-map-embed[data-variant="radius"] .module-map-embed__radius-heading { font-size: 13px; color: var(--map-muted-text); } /* L68 */
.module-map-embed[data-variant="radius"] .module-map-embed__fuel,
.module-map-embed[data-variant="radius"] .module-map-embed__radius {
  padding: 6px 11px; border: 1px solid var(--map-button-border); background: var(--map-button-background);
  color: var(--map-button-text); border-radius: 8px; font-size: 14px; cursor: pointer; /* L55 $bstyle */
}
.module-map-embed[data-variant="radius"] .module-map-embed__fuel--gasoline { --map-fuel-color: var(--map-color-gasoline); }
.module-map-embed[data-variant="radius"] .module-map-embed__fuel--diesel { --map-fuel-color: var(--map-color-diesel); }
.module-map-embed[data-variant="radius"] .module-map-embed__fuel--premium-gasoline { --map-fuel-color: var(--map-color-premium-gasoline); }
.module-map-embed[data-variant="radius"] .module-map-embed__fuel--lpg { --map-fuel-color: var(--map-color-lpg); }
.module-map-embed[data-variant="radius"] .module-map-embed__fuel[aria-pressed="true"] {
  background: var(--map-fuel-color, var(--map-color-default)); border-color: var(--map-fuel-color, var(--map-color-default)); color: #fff; /* L64·L146 켜짐 */
}
.module-map-embed[data-variant="radius"] .module-map-embed__discount {
  padding: 6px 11px; border: 1px solid var(--map-button-border); background: var(--map-button-background);
  color: var(--map-button-text); border-radius: 8px; font-size: 14px; cursor: pointer; /* L73 $bstyle */
}
.module-map-embed[data-variant="radius"] .module-map-embed__discount[aria-pressed="true"] {
  background: var(--map-discount-selected); border-color: var(--map-discount-selected); color: #fff; /* L149 켜짐 #059669 */
}
.module-map-embed[data-variant="radius"] .module-map-embed__radius[aria-pressed="true"] {
  background: var(--map-button-selected); color: #fff; /* L70·L138 선택 */
}
.module-map-embed[data-variant="radius"] .module-map-embed__status { font-size: 13px; color: var(--map-muted-text); } /* L74 */
.module-map-embed[data-variant="radius"] .module-map-embed__note { font-size: 13px; color: var(--map-muted-text); margin-top: 8px; } /* L81 */
.module-map-embed[data-variant="radius"] .module-map-embed__pin {
  transform: translate(-50%, -100%); white-space: nowrap; background: var(--map-pin-color, var(--map-color-default)); color: #fff;
  font-size: 13px; font-weight: 600; padding: 2px 7px; border-radius: 9px; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); /* L120 · HBS 09-28 · 11px → 13px */
}
.module-map-embed[data-variant="radius"] .module-map-embed__pin--gasoline { --map-pin-color: var(--map-color-gasoline); }
.module-map-embed[data-variant="radius"] .module-map-embed__pin--diesel { --map-pin-color: var(--map-color-diesel); }
.module-map-embed[data-variant="radius"] .module-map-embed__pin--premium-gasoline { --map-pin-color: var(--map-color-premium-gasoline); }
.module-map-embed[data-variant="radius"] .module-map-embed__pin--lpg { --map-pin-color: var(--map-color-lpg); }
.module-map-embed[data-variant="radius"] .module-map-embed__pin--lowest { --map-pin-color: var(--map-color-lowest); }
.module-map-embed[data-variant="radius"] .module-map-embed__pin--here { --map-pin-color: var(--map-color-here); }
.module-map-embed[data-variant="radius"] .module-map-embed__pin--lowest::before { content: "\1F451  "; } /* L116 「👑 」 */
.module-map-embed[data-variant="radius"] .module-map-embed__pin--here::before { content: "\2605  "; }     /* L116 「★ 」 */
.module-map-embed[data-variant="radius"] .module-map-embed__infowindow { padding: 9px 12px; font-size: 13px; line-height: 1.55; } /* L123 */
.module-map-embed[data-variant="radius"] .module-map-embed__infowindow a { color: var(--map-button-selected); font-weight: 600; text-decoration: none; } /* L123 */
.module-map-embed[data-variant="radius"] .module-map-embed__infowindow-name--here::after { content: " \2605"; } /* L123 「 ★」 */
/* 자리 표시 — 지도 생성 전(화면 밖) 캔버스 크기를 그대로 채운다(레이아웃 흔들림 0 · 바탕은 캔버스 규칙 #eef2ff) · 생성 때 script.js 가 걷어 낸다 */
.module-map-embed[data-variant="radius"] .module-map-embed__placeholder {
  display: flex; align-items: center; justify-content: center; height: 100%; font-size: 13px; color: var(--map-muted-text);
}
.module-map-embed--failed[data-variant="radius"] .module-map-embed__bar { display: none; } /* 인증 실패 = 버튼 줄 숨김 · 캔버스엔 슬롯 안내 한 줄(script.js onRadiusAuthFailure) */
.module-map-embed[data-variant="radius"] .module-map-embed__canvas--failed { height: auto; padding: 16px; color: var(--map-muted-text); } /* L85 안내 문단 padding·색 */
/* ── 표지 ↔ 같은 절 표 행·막대 양방향 강조(2026-09-27 HM조 M2 · script.js lightEntity) ─────────────────
   표지와 짝(표 행 등 data-ent-key 요소)에 같은 이름 module-map-embed__entity-link-lit 이 붙는다(chart·scatter-plot 의 entity-link-lit 과 같은 방식).
   표지 = 호버와 같은 모양으로 키움 · 표 행 = 칸 바탕 연파랑 + 왼쪽 굵은 선(짝 행이 어느 것인지 한눈에). 짝 행은 지도 상자 밖이라 변수 대신 값을 적는다
   (값 = 위 --map-button-selected #2563eb 계열 · 연바탕 #eff6ff). 초점 윤곽은 브라우저 기본(:focus-visible)을 그대로 둔다. */
.module-map-embed[data-variant="radius"] .module-map-embed__pin[data-ent-key] { cursor: pointer; }
.module-map-embed[data-variant="radius"] .module-map-embed__pin.module-map-embed__entity-link-lit {
  transform: translate(-50%, -100%) scale(1.15); box-shadow: 0 0 0 2px #fff, 0 0 0 4px #2563eb;
}
/* 선택자 무게 (0,2,4) = 표 모듈의 줄무늬 `.module-table tbody tr:nth-child(even) td`(0,2,3)보다 무겁게 — 짝수 행에서도 강조가 보이게(시트 싣는 차례와 무관) */
table > tbody > tr.module-map-embed__entity-link-lit[data-ent-key] > th,
table > tbody > tr.module-map-embed__entity-link-lit[data-ent-key] > td { background: #eff6ff; }
table > tbody > tr.module-map-embed__entity-link-lit[data-ent-key] > :first-child { box-shadow: inset 3px 0 0 #2563eb; }

/* ── 번호 배지(2026-11-13) — 말풍선 안 번호 = 지도 번호 점(--pin--label)과 같은 «파랑 원 + 흰 굵은 숫자» · 같은 변수 --map-pin-color · 새 색값 0 ──
   이웃 한 줄 = 배지 + 이름 전체가 링크(손가락 크기 높이 ≥40px) · 말풍선 끝 문장 링크 = 목록으로 이동 · 여러 번호 한 줄 간격 4px */
.module-map-embed.module-map-embed.module-map-embed:not([data-variant="radius"]) .module-map-embed__infowindow .module-map-embed__number {
  display: inline-flex; align-items: center; justify-content: center; flex: none; box-sizing: border-box; min-width: 22px; height: 22px; padding: 0 4px;
  border: 2px solid #fff; border-radius: 11px; background: var(--map-pin-color, #1557b0); color: #fff;
  font-size: 13px; line-height: 18px; font-weight: 700; text-align: center; text-decoration: none; box-shadow: 0 1px 3px rgba(15, 23, 42, .45);
}
.module-map-embed.module-map-embed.module-map-embed:not([data-variant="radius"]) .module-map-embed__infowindow .module-map-embed__numbers { display: inline-flex; flex-wrap: wrap; gap: 4px; vertical-align: middle; }
.module-map-embed.module-map-embed.module-map-embed:not([data-variant="radius"]) .module-map-embed__infowindow .module-map-embed__infowindow-items { display: block; }
.module-map-embed.module-map-embed.module-map-embed:not([data-variant="radius"]) .module-map-embed__infowindow .module-map-embed__infowindow-item {
  display: flex; align-items: center; gap: 6px; box-sizing: border-box; min-height: 40px; font-size: 14px; font-weight: 700; line-height: 20px;
}
.module-map-embed.module-map-embed.module-map-embed:not([data-variant="radius"]) .module-map-embed__infowindow a.module-map-embed__infowindow-item { color: var(--map-pin-color, #1557b0); }
.module-map-embed.module-map-embed.module-map-embed:not([data-variant="radius"]) .module-map-embed__infowindow .module-map-embed__infowindow-item-name { min-width: 0; }
.module-map-embed.module-map-embed.module-map-embed:not([data-variant="radius"]) .module-map-embed__infowindow a.module-map-embed__infowindow-sub--link { display: block; box-sizing: border-box; min-height: 40px; padding: 8px 0; font-weight: 600; line-height: 24px; }
/* 목록 이동 뒤 1.5초 강조 — 표 행(지도 상자 밖) · 색 = --map-pin-color 와 흰색을 섞음(변수만) · 줄무늬 행보다 무겁게 */
table > tbody > tr.module-map-embed__row-lit.module-map-embed__row-lit > th,
table > tbody > tr.module-map-embed__row-lit.module-map-embed__row-lit > td { background: color-mix(in srgb, var(--map-pin-color, #1557b0) 16%, #fff); transition: background-color .3s; }
/* 닫기 × — 말풍선 상단 우측 · 누름 영역 40×40px · 색 = 말풍선 글자색 상속(새 색값 0) · 첫 줄이 × 밑으로 들어가지 않게 오른쪽 여백 */
.module-map-embed.module-map-embed.module-map-embed .module-map-embed__infowindow .module-map-embed__infowindow-close {
  position: absolute; top: 0; right: 0; z-index: 1; box-sizing: border-box; width: 40px; height: 40px; margin: 0; padding: 0; border: 0; border-radius: 0 12px 0 12px;
  background: transparent; color: inherit; font: inherit; font-size: 22px; line-height: 40px; text-align: center; cursor: pointer;
}
.module-map-embed.module-map-embed.module-map-embed .module-map-embed__infowindow .module-map-embed__infowindow-close + strong { padding-right: 28px; }
/* ── variant=multi 표지 모양(2026-11-12) — here·label 을 모듈 한 곳이 정한다 ───────────────────────────────
   표지 데이터: m.here===true → 이 곳(흰 알약 + ★ + 빨강 점) · m.label → 번호 점(점 안에 짧은 글자 · 이름 전체는 title·말풍선) · 그 밖 → 작은 파란 점(올리면 이름 알약).
   색 = CSS 변수(안 정하면 기본값): --map-pin-color(점 파랑 #1557b0) · --map-accent(이 곳 빨강 #e8481c).
   🔴 선택자 무게: 뿌리 클래스를 세 번 겹쳐 (0,5,0)부터 — 이전에 사이트 쪽에서 같은 표지를 칠하던 규칙((0,4,1)~(0,6,1))보다 늘 앞선다. 모양은 같아서 사이트 규칙이 남아 있어도 화면은 같다. */
.module-map-embed.module-map-embed.module-map-embed[data-variant="multi"] .module-map-embed__pin {
  width: 14px; height: 14px; padding: 0; overflow: hidden; border: 2px solid #fff; border-radius: 50%;
  background: var(--map-pin-color, #1557b0); box-shadow: 0 1px 3px rgba(15, 23, 42, .45);
  font-size: 0; line-height: 0; color: transparent; transform: translate(-50%, -50%); cursor: pointer; box-sizing: content-box;
}
.module-map-embed.module-map-embed.module-map-embed[data-variant="multi"] .module-map-embed__pin:hover {
  width: auto; height: auto; padding: 3px 9px; overflow: visible; border: 1.5px solid #cbd5e1; border-radius: 12px; background: #fff;
  color: #0f172a; font-size: 13px; line-height: 1.3; font-weight: 700; white-space: nowrap; transform: translate(-50%, -50%); z-index: 9;
}
/* 번호 점 — 지름 22px 파란 원 + 흰 굵은 숫자(늘 보임) · 글자가 길면(«3·4») 같은 높이의 알약으로 늘어난다 */
.module-map-embed.module-map-embed.module-map-embed[data-variant="multi"] .module-map-embed__pin.module-map-embed__pin--label,
.module-map-embed.module-map-embed.module-map-embed[data-variant="multi"] .module-map-embed__pin.module-map-embed__pin--label:hover {
  width: max-content; min-width: 22px; height: 22px; padding: 0 4px; overflow: hidden; border: 2px solid #fff; border-radius: 11px; box-sizing: border-box;
  background: var(--map-pin-color, #1557b0); color: #fff; font-size: 12px; line-height: 18px; font-weight: 700; text-align: center; white-space: nowrap;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .45); transform: translate(-50%, -50%); cursor: pointer;
}
.module-map-embed.module-map-embed.module-map-embed[data-variant="multi"] .module-map-embed__pin.module-map-embed__pin--label:hover { transform: translate(-50%, -50%) scale(1.15); z-index: 9; }
/* 이 곳 — 흰 알약(이름) + ★ + 아래 빨강 점 */
.module-map-embed.module-map-embed.module-map-embed[data-variant="multi"] .module-map-embed__pin.module-map-embed__pin--here,
.module-map-embed.module-map-embed.module-map-embed[data-variant="multi"] .module-map-embed__pin.module-map-embed__pin--here:hover {
  position: relative; width: auto; height: auto; padding: 4px 10px; overflow: visible; border: 1.5px solid #cbd5e1; border-radius: 14px;
  font-size: 13px; line-height: 1.3; font-weight: 700; color: #0f172a; white-space: nowrap; transform: translate(-50%, -100%); margin-top: -12px;
  background: #fff; box-shadow: 0 1px 4px rgba(15, 23, 42, .3); z-index: 5; box-sizing: content-box; cursor: pointer;
}
.module-map-embed.module-map-embed.module-map-embed[data-variant="multi"] .module-map-embed__pin.module-map-embed__pin--here::after {
  content: ""; position: absolute; left: 50%; top: 100%; width: 14px; height: 14px; margin: 0 0 0 -7px; transform: translateY(2px);
  border: 3px solid #fff; border-radius: 50%; background: var(--map-accent, #e8481c); box-shadow: 0 0 0 2px var(--map-accent, #e8481c); box-sizing: content-box;
}
.module-map-embed.module-map-embed.module-map-embed[data-variant="multi"] .module-map-embed__pin.module-map-embed__pin--here::before { content: "★ "; color: var(--map-accent, #e8481c); }

/* ── variant=explorer(2026-11-13) — 탐색형 지도: 수 거품(누르면 아래 단계) · 점(누르면 말풍선 → 그 곳의 쪽) · 길 · 상태줄 ─────────────────────
   🔴 모든 규칙을 [data-variant="explorer"] 아래에 둔다 — 같은 이름(__pin·__infowindow·__canvas·__status)을 쓰는 다른 갈래 모양 불변.
   색 = CSS 변수(안 정하면 기본값): --map-pin-color(거품·점 파랑 #1557b0 — multi 갈래와 같은 변수) · --map-muted-text. 빨강은 쓰지 않는다(이 갈래에는 «이 곳» 표지가 없다).
   선택자 무게: 뿌리 클래스를 세 번 겹친다(multi 갈래와 같은 까닭 — 사이트 묶음에 남은 같은 이름 규칙보다 늘 앞서게). */
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"] { --map-muted-text: #64748b; }
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"] .module-map-embed__canvas { height: 560px; max-height: 72vh; min-height: 320px; position: relative; }
@media (max-width: 600px) {
  /* 좁은 화면: 지도가 화면을 다 덮으면 쪽을 밀어 내릴 자리가 없다 → 화면 높이의 70%까지(위아래로 손가락 댈 자리를 남김) */
  .module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"] .module-map-embed__canvas { max-height: 70vh; }
}
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"] .module-map-embed__placeholder {
  display: flex; align-items: center; justify-content: center; height: 100%; font-size: 13px; color: var(--map-muted-text);
}
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"] .module-map-embed__canvas--failed { height: auto; min-height: 0; padding: 16px; font-size: 14px; color: var(--map-muted-text); }
/* 길(전국 › 시도 › 시군구) + 지금 지역의 쪽 링크 */
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"] .module-map-embed__trail { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 8px; min-height: 32px; }
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"] .module-map-embed__trail-step {
  appearance: none; display: inline-flex; align-items: center; margin: 0; padding: 5px 10px; border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; color: #0f172a;
  font: inherit; font-size: 14px; line-height: 20px; cursor: pointer; text-transform: none; letter-spacing: 0; box-shadow: none; min-height: 0; width: auto;
}
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"] .module-map-embed__trail-step[aria-current="true"] { border-color: var(--map-pin-color, #1557b0); color: var(--map-pin-color, #1557b0); font-weight: 700; }
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"] .module-map-embed__trail-step + .module-map-embed__trail-step { position: relative; margin-left: 14px; }
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"] .module-map-embed__trail-step + .module-map-embed__trail-step::before { content: "\203A"; position: absolute; left: -15px; top: 50%; transform: translateY(-50%); color: var(--map-muted-text); font-weight: 400; }
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"] .module-map-embed__area-link { margin-left: auto; padding: 5px 2px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--map-pin-color, #1557b0); text-decoration: none; }
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"] .module-map-embed__status { margin: 8px 0 0; font-size: 13px; line-height: 20px; color: var(--map-muted-text); }
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"] .module-map-embed__note { margin: 6px 0 0; font-size: 13px; line-height: 20px; color: var(--map-muted-text); }
/* 수 거품 — 이름(작게) + 수(굵게) · 크기 세 단(--s·--m·--l = 그 단계에서 가장 많은 곳 대비 · 호출자가 정함) */
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"] .module-map-embed__bubble {
  appearance: none; display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 0; padding: 4px 9px; min-width: 44px; min-height: 40px; width: auto; height: auto;
  border: 2px solid #fff; border-radius: 22px; background: var(--map-pin-color, #1557b0); color: #fff; box-shadow: 0 1px 4px rgba(15, 23, 42, .4); box-sizing: border-box;
  font: inherit; font-size: 12px; line-height: 15px; white-space: nowrap; text-transform: none; letter-spacing: 0; cursor: pointer; transform: translate(-50%, -50%);
}
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"] .module-map-embed__bubble:hover,
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"] .module-map-embed__bubble:focus-visible { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--map-pin-color, #1557b0); background: var(--map-pin-color, #1557b0); color: #fff; }
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"] .module-map-embed__bubble-name { font-size: 11px; line-height: 14px; font-weight: 500; opacity: .92; }
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"] .module-map-embed__bubble-count { font-size: 13px; line-height: 16px; font-weight: 700; }
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"] .module-map-embed__bubble--m { min-width: 52px; min-height: 46px; padding: 5px 11px; border-radius: 25px; }
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"] .module-map-embed__bubble--m .module-map-embed__bubble-count { font-size: 14px; }
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"] .module-map-embed__bubble--l { min-width: 60px; min-height: 52px; padding: 6px 13px; border-radius: 28px; }
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"] .module-map-embed__bubble--l .module-map-embed__bubble-name { font-size: 12px; }
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"] .module-map-embed__bubble--l .module-map-embed__bubble-count { font-size: 15px; line-height: 18px; }
/* 지금 펼쳐 보고 있는 단계 밖의 거품(이웃 시도·이웃 시군구) = 흰 바탕 — 펼친 지역의 파란 거품과 갈린다 */
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"] .module-map-embed__bubble.module-map-embed__bubble--outer,
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"] .module-map-embed__bubble.module-map-embed__bubble--outer:hover,
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"] .module-map-embed__bubble.module-map-embed__bubble--outer:focus-visible { background: #fff; color: var(--map-pin-color, #1557b0); border-color: var(--map-pin-color, #1557b0); }
@media (max-width: 600px) {
  .module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"] .module-map-embed__bubble { min-width: 38px; min-height: 34px; padding: 2px 6px; border-radius: 18px; }
  .module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"] .module-map-embed__bubble-name { font-size: 10px; line-height: 13px; }
  .module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"] .module-map-embed__bubble-count { font-size: 12px; line-height: 15px; }
  .module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"] .module-map-embed__bubble--m { min-width: 42px; min-height: 38px; padding: 3px 7px; }
  .module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"] .module-map-embed__bubble--m .module-map-embed__bubble-count { font-size: 13px; }
  .module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"] .module-map-embed__bubble--l { min-width: 48px; min-height: 42px; padding: 4px 9px; }
  .module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"] .module-map-embed__bubble--l .module-map-embed__bubble-name { font-size: 11px; }
  .module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"] .module-map-embed__bubble--l .module-map-embed__bubble-count { font-size: 14px; line-height: 17px; }
}
/* 다른 거품과 겹치는 거품 = 작은 점(수는 title·aria-label · 누르면 똑같이 확대) — 숫자끼리 겹쳐 읽기 어려운 일을 막는다(script.js declutter) */
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"] .module-map-embed__bubble.module-map-embed__bubble--compact {
  min-width: 0; min-height: 0; width: 16px; height: 16px; padding: 0; border-radius: 50%; opacity: .85;
}
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"] .module-map-embed__bubble--compact .module-map-embed__bubble-name,
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"] .module-map-embed__bubble--compact .module-map-embed__bubble-count { display: none; }
/* 점 — 한 곳 = 작은 파란 점 · 한 자리에 여러 곳 = 수를 적은 점 */
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"] .module-map-embed__pin {
  width: 12px; height: 12px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: var(--map-pin-color, #1557b0); box-shadow: 0 1px 3px rgba(15, 23, 42, .45);
  box-sizing: content-box; font-size: 0; line-height: 0; color: transparent; overflow: hidden; cursor: pointer; transform: translate(-50%, -50%);
}
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"] .module-map-embed__pin.module-map-embed__pin--group {
  width: max-content; min-width: 20px; height: 20px; padding: 0 4px; border-radius: 11px; box-sizing: border-box; color: #fff; font-size: 11px; line-height: 16px; font-weight: 700; text-align: center; white-space: nowrap;
}
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"] .module-map-embed__pin:hover,
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"] .module-map-embed__pin:focus-visible { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--map-pin-color, #1557b0); }
/* 말풍선 — 카드 꼴은 위 «말풍선 카드» 한 곳(2026-11-13 공통으로 올림) · 여기는 한 자리에 여러 곳일 때의 목록만 */
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"] .module-map-embed__infowindow { min-width: 180px; }
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"] .module-map-embed__infowindow-list { list-style: none; margin: 6px 0 0; padding: 0; max-height: 200px; overflow-y: auto; }
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"] .module-map-embed__infowindow-list li { margin: 0; padding: 5px 0; border-top: 1px solid #e2e8f0; }
/* ── explorer 앱 층(2026-11-14) — layers_json 이 있을 때만 뿌리에 data-app · 모든 규칙을 [data-app] 아래에 둔다(학원 explorer 모양 불변).
   빌린 꼴(탭·고르기·찾기 칸·칩·목록 행·쪽 넘김·배지)의 꾸밈은 그 모듈 CSS 를 함께 싣는다(README) · 여기는 자리·상태만 · 다른 모듈 클래스는 선택자에 0(요소·속성 선택자로) */
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"][data-app] [hidden] { display: none !important; }
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"][data-app] .module-map-embed__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 8px; }
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"][data-app] .module-map-embed__bar [role="tablist"] { flex: 1 0 100%; }
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"][data-app] .module-map-embed__bar select,
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"][data-app] .module-map-embed__bar input { min-height: 40px; box-sizing: border-box; max-width: 100%; }
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"][data-app] .module-map-embed__bar input { flex: 1 1 160px; min-width: 0; }
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"][data-app] .module-map-embed__locate { min-height: 40px; padding: 0 12px; border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; color: #0f172a; font: inherit; font-size: 14px; cursor: pointer; }
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"][data-app] .module-map-embed__locate[aria-pressed="true"] { border-color: var(--map-pin-color, #1557b0); background: var(--map-pin-color, #1557b0); color: #fff; }
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"][data-app] .module-map-embed__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"][data-app] .module-map-embed__sheet { min-width: 0; }
@media (min-width: 900px) {
  .module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"][data-app] .module-map-embed__body { grid-template-columns: minmax(0, 1fr) 360px; }
  .module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"][data-app] .module-map-embed__sheet { max-height: 560px; overflow-y: auto; }
}
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"][data-app] .module-map-embed__sheet [role="group"] { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 8px; }
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"][data-app] .module-map-embed__filter-label { margin-right: 4px; font-size: 13px; font-weight: 700; color: #0f172a; }
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"][data-app] .module-map-embed__sheet .module-map-embed__status { margin: 0 0 4px; font-weight: 600; color: #0f172a; }
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"][data-app] .module-map-embed__sheet ul { list-style: none; margin: 0; padding: 0; }
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"][data-app] .module-map-embed__sheet [role="option"] { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; padding: 10px 12px 2px; cursor: pointer; }
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"][data-app] .module-map-embed__sheet [role="option"] > span:first-child { flex: 1 0 100%; max-width: none; white-space: normal; font-weight: 700; color: #0f172a; }
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"][data-app] .module-map-embed__sheet li > .module-map-embed__actions { padding: 0 12px; }
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"][data-app] .module-map-embed__sheet [role="group"] button::after { content: none; }
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"][data-app] .module-map-embed__sheet [role="option"][aria-selected="true"],
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"][data-app] .module-map-embed__sheet .module-map-embed__entity-link-lit { background: #eff6ff; box-shadow: inset 3px 0 0 var(--map-pin-color, #1557b0); }
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"][data-app] .module-map-embed__pin.module-map-embed__entity-link-lit { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--map-pin-color, #1557b0); z-index: 9; }
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"][data-app] .module-map-embed__actions { display: flex; flex-wrap: wrap; gap: 0 14px; margin: 0 0 6px; }
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"][data-app] .module-map-embed__actions a { display: inline-flex; align-items: center; min-height: 40px; font-size: 13px; font-weight: 600; color: var(--map-pin-color, #1557b0); text-decoration: none; }
.module-map-embed.module-map-embed.module-map-embed[data-variant="explorer"][data-app] .module-map-embed__sheet [aria-current="page"] { border-color: var(--map-pin-color, #1557b0); background: var(--map-pin-color, #1557b0); color: #fff; }
