.ehk-map-dialog { width: calc(100vw - 36px); max-width: 1700px; height: calc(100dvh - 36px); max-height: none; margin: auto; padding: 0; border: 0; border-radius: 18px; color: #29262b; box-shadow: 0 15px 60px #0004; }
.ehk-map-dialog::backdrop { background: #17131c99; }
.ehk-map-dialog[open] { display: flex; flex-direction: column; }
.ehk-map-is-open { overflow: hidden; }
.ehk-map-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px 8px; gap: 16px; }
.ehk-map-head h2 { margin: 0; font-size: 24px; }
.ehk-map-head [data-map-close] { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; font-size: 27px; line-height: 1; padding: 5px 12px; }
.ehk-map-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 20px; }
.ehk-map-tools label { margin: 0 0 0 auto; }
.ehk-map-tools select { width: auto; max-width: 220px; }
.ehk-map-summary { margin: 0; min-height: 28px; padding: 0 20px 6px; }
.ehk-map-error { margin: 0; padding: 8px 20px; background: #fff2df; }
.ehk-map-split { display: grid; grid-template-columns: minmax(320px, 39%) minmax(0, 1fr); flex: 1; min-height: 0; }
.ehk-map-cards { position: relative; overflow-y: auto; overscroll-behavior: contain; padding: 16px; background: #faf8fa; }
.ehk-map-cards [data-map-card] { border: 2px solid transparent; border-radius: 12px; margin-bottom: 18px; }
.ehk-map-cards [data-map-card].is-selected { border-color: #ae5278; }
.ehk-map-cards .ehk-card { display: block; margin-bottom: 0; }
.ehk-map-cards .ehk-card-img { width: 100%; min-width: 0; height: 185px; }
.ehk-map-cards .ehk-card-body { padding: 14px; }
.ehk-map-cards .ehk-card-foot { flex-wrap: wrap; gap: 8px; }
.ehk-map-cards .ehk-card-body h2 { font-size: 20px; }
.ehk-map-frame { position: relative; min-height: 0; }
#ehk-venue-map { width: 100%; height: 100%; background: #e7e6e1; }
.ehk-map-area { position: absolute; z-index: 500; top: 12px; left: 50%; transform: translateX(-50%); box-shadow: 0 3px 15px #0003; white-space: nowrap; }
#ehk-venue-map .leaflet-tile-pane { filter: grayscale(.6) saturate(.85) brightness(1.07) contrast(.93); }
.ehk-map-marker { width: 44px; height: 44px; }
.ehk-map-pin { position: absolute; left: 22px; top: 39px; display: block; width: 28px; height: 35px; transform: translate(-50%, -100%); transform-origin: 50% 100%; transition: transform .15s ease; font-family: Inter, system-ui, sans-serif; }
.ehk-map-symbol { display: block; width: 28px; height: 35px; filter: drop-shadow(0 2px 2px #0004); }
.ehk-map-pin::after { content: ""; position: absolute; inset: -8px -10px; }
.ehk-map-label { display: none; position: absolute; z-index: 1; left: 50%; top: 100%; margin-top: 1px; transform: translateX(-50%); box-sizing: border-box; width: max-content; max-width: 104px; padding: 1px 8px; background: #ffffffee; color: #5a2340; border-radius: 12px; box-shadow: 0 1px 4px #0003; font: 600 10px/1.6 Inter, system-ui, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.ehk-map-pin.has-name .ehk-map-label { display: block; }
.ehk-map-pin [data-pin-price], .ehk-map-pin [data-pin-count]:empty { display: none; }
.ehk-map-marker:hover, .ehk-map-marker:focus { z-index: 900 !important; }
.ehk-map-marker:hover .ehk-map-pin:not(.is-group), .ehk-map-marker:focus .ehk-map-pin:not(.is-group) { transform: translate(-50%, -100%) scale(1.1); }
.ehk-map-marker:hover .ehk-map-label, .ehk-map-marker:focus .ehk-map-label, .ehk-map-pin.is-selected .ehk-map-label { display: block; max-width: min(360px, calc(100vw - 48px)); white-space: normal; overflow-wrap: anywhere; padding: 3px 11px; font-size: 12px; line-height: 1.5; box-shadow: 0 4px 14px #0004; transform: translateX(calc(-50% + var(--label-shift, 0px))); }
.ehk-map-marker:hover [data-pin-price], .ehk-map-marker:focus [data-pin-price] { display: inline; color: #a54870; font-weight: 700; }
.ehk-map-pin.is-selected:not(.is-group) { transform: translate(-50%, -100%) scale(1.18); }
.ehk-map-pin.is-selected .ehk-map-label { background: #a54870; color: #fff; }
.ehk-map-pin.is-selected [data-pin-price] { color: #fff; }
.ehk-map-pin.is-group { display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: var(--group-size); height: var(--group-size); transform: translate(-50%, -50%); border: 3px solid #a54870; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px #a5487030, 0 2px 8px #0003; color: #a54870; font-size: 14px; font-weight: 800; }
.ehk-map-pin.is-group .ehk-map-symbol, .ehk-map-pin.is-group .ehk-map-label { display: none; }
.ehk-map-marker:focus-visible .ehk-map-pin { outline: 3px solid #25222b; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .ehk-map-pin { transition: none; } }
.ehk-map-empty { padding: 20px 0; }
.ehk-home-map-link { display: block; text-align: center; margin: 12px auto 0; }
@media (max-width: 767px) {
    .ehk-map-dialog { width: 100vw; height: 100dvh; border-radius: 0; }
    .ehk-map-head, .ehk-map-tools { padding: 8px 12px; }
    .ehk-map-head h2 { font-size: 20px; }
    .ehk-map-tools .btn { padding: 7px 9px; font-size: 12px; }
    .ehk-map-tools label { font-size: 12px; margin-left: 0; }
    .ehk-map-tools select { max-width: 200px; font-size: 12px; height: 36px; padding: 5px 10px; line-height: 1.4; }
    .ehk-map-split { grid-template-columns: 1fr; grid-template-rows: minmax(150px, 43%) minmax(0, 1fr); }
    .ehk-map-frame { grid-row: 1; }
    .ehk-map-cards { grid-row: 2; padding: 10px; }
    .ehk-map-summary { font-size: 13px; padding-left: 12px; }
}
