/* ── 지도 위 도구 복원 (지도·스카이뷰·내 위치·레이어·공유·범례) ── */
.hn-mapctl{position:absolute;z-index:400;right:64px;bottom:64px;display:flex;gap:8px;align-items:stretch}
.hn-maptype{display:flex;background:#fff;border-radius:6px;box-shadow:0 2px 8px #18315426;overflow:hidden}
.hn-maptype button{min-height:40px;padding:0 13px;font-size:12.5px;font-weight:700;color:#5b6b85}
.hn-maptype button+button{border-left:1px solid #e6ebf2}
.hn-maptype button.is-on{background:#0b2451;color:#fff}
.hn-mapbtn{display:flex;align-items:center;gap:6px;min-height:40px;padding:0 12px;background:#fff;border-radius:6px;box-shadow:0 2px 8px #18315426;font-size:12.5px;font-weight:700;color:#354863}
.hn-mapbtn svg{width:18px;height:18px;flex:none}
.hn-mapbtn:hover{background:#f4f7ff;color:#1460ff}
.hn-mapbtn.is-on{background:#1460ff;color:#fff}
.hn-mapbtn.is-busy{opacity:.6;pointer-events:none}
.hn-layers{position:absolute;right:0;bottom:50px;width:250px;padding:12px;background:#fff;border-radius:10px;box-shadow:0 8px 28px #18315440;display:grid;gap:4px}
.hn-layers strong{font-size:13px;color:#172e50;padding:0 4px 6px}
.hn-layers button{display:grid;text-align:left;padding:9px 10px;border-radius:7px;border:1px solid transparent;font-size:13px;font-weight:700;color:#243149}
.hn-layers button small{font-weight:500;font-size:11px;color:#7a8aa3;margin-top:2px}
.hn-layers button:hover{background:#f4f7ff}
.hn-layers button.is-on{background:#eaf1ff;border-color:#bcd3ff;color:#1460ff}
.hn-legend{position:absolute;z-index:399;left:392px;bottom:12px;display:flex;gap:12px;align-items:center;padding:6px 12px;background:#ffffffe8;border-radius:100px;box-shadow:0 2px 8px #18315420;font-size:11.5px;color:#4d6386;pointer-events:none}
.hn-legend span{display:inline-flex;align-items:center;gap:5px}
.hn-legend i{width:9px;height:9px;border-radius:50%;display:inline-block}
.hn-legend i.dim{background:#c3cbd8}
.hn-legend .n{border-left:1px solid #dfe5ee;padding-left:10px}
.hn-legend .n b{color:#0b2451}
.hn-me{width:22px;height:22px;border-radius:50%;background:#1460ff33;display:grid;place-items:center;animation:hnPulse 2s ease-out infinite}
.hn-me i{width:12px;height:12px;border-radius:50%;background:#1460ff;border:3px solid #fff;box-shadow:0 1px 5px #0b245180;display:block;box-sizing:content-box;margin:-3px}
@keyframes hnPulse{0%{box-shadow:0 0 0 0 #1460ff55}100%{box-shadow:0 0 0 18px #1460ff00}}
.hn-marker.is-site.is-hot>button{background:#f04452;border-color:#f04452;color:#fff}
.hn-marker.is-site.is-hot small,.hn-marker.is-site.is-hot b{color:#ffe3e6}
.hn-marker.is-site.is-hot>button:after{border-top-color:#f04452}
.hn-marker.is-site.is-move>button{border-color:#0e9f6e}
.hn-marker.is-site.is-move b{color:#0e9f6e}
.hn-marker.is-site.is-move>button:after{border-top-color:#0e9f6e}
.hn-marker.is-site.is-dim>button{opacity:.42}
@media(max-width:1100px){.hn-legend{left:12px}}
@media(max-width:760px){
	.hn-mapctl{right:10px;bottom:calc(150px + env(safe-area-inset-bottom));flex-direction:column;align-items:flex-end;gap:6px}
	.hn-maptype button{min-height:36px;padding:0 10px;font-size:12px}
	.hn-mapbtn{min-height:36px;padding:0 10px;font-size:12px}
	.hn-mapbtn span{display:none}
	.hn-mapbtn{width:36px;justify-content:center;padding:0}
	.hn-layers{right:44px;bottom:0}
	.hn-legend{display:none}
}

/* 모바일: 아래에서 올라오는 시트가 하단 메뉴를 덮지 않게 — 메뉴는 늘 보이고 눌러서 지도로 돌아올 수 있다(--hn-nav-h 는 platform.js 가 잰다) */
@media(max-width:760px){
	.hn-expanded,.hn-list{bottom:var(--hn-nav-h,58px);padding-bottom:0}
	.hn-expanded[data-snap=half]{height:calc(68dvh - var(--hn-nav-h,58px))}
	.hn-expanded[data-snap=full]{height:calc(100dvh - 10px - env(safe-area-inset-top) - var(--hn-nav-h,58px))}
	.hn-list[data-snap=half]{height:calc(60dvh - var(--hn-nav-h,58px))}
	.hn-list[data-snap=full]{height:calc(100dvh - 12px - env(safe-area-inset-top) - var(--hn-nav-h,58px))}
	.hn-bottom-nav{position:relative;z-index:520}
	.hn-app.has-content .hn-mobile-dock,.hn-app:has(.hn-list:not([hidden])) .hn-mobile-dock{display:block}
	.hn-app.has-content .hn-list-fab,.hn-app:has(.hn-list:not([hidden])) .hn-list-fab{display:none}
}
.hn-marker.is-site.is-trade>button{border-color:#e0574f}
.hn-marker.is-site.is-trade b{color:#e0574f}
.hn-marker.is-site.is-trade>button:after{border-top-color:#e0574f}
.hn-marker.is-site.is-jeonse>button{border-color:#7c3aed}
.hn-marker.is-site.is-jeonse b{color:#7c3aed}
.hn-marker.is-site.is-jeonse>button:after{border-top-color:#7c3aed}
.hn-marker.is-site.is-unsold>button{border-color:#f59e0b}
.hn-marker.is-site.is-unsold b{color:#b45309}
.hn-marker.is-site.is-unsold>button:after{border-top-color:#f59e0b}
.hn-legend .src{margin-left:auto;color:#8a94a6;font-size:11px}
/* MAPFIX1117 번지 없는 주소 — 「대략 위치」 핀(점선 테두리) */
.hn-marker.is-site.is-approx>button{border-style:dashed}
.hn-marker.is-site.is-approx small{color:#b45309}
.hn-marker.is-site.is-approx.is-on small,.hn-marker.is-site.is-approx>button:hover small{color:#ffe9c7}
