
  .k-pm-map.svelte-xhnfuv {
    position: absolute;
    inset: 0;
  }
  /* CTA card — mirrors the canonical mock's .map-cta */
  .k-pm-cta.svelte-xhnfuv {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    padding: 22px 28px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(20, 24, 28, 0.1);
    text-align: center;
    z-index: 2;
  }
  .k-pm-cta-ic.svelte-xhnfuv {
    width: 32px;
    height: 32px;
    margin: 0 auto 10px;
    display: grid;
    place-items: center;
    color: #14181c;
  }
  .k-pm-cta-btn.svelte-xhnfuv {
    background: #5b6bff;
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 10px 18px;
    font: 500 14px/1.2 inherit;
    cursor: pointer;
  }
  .k-pm-cta-btn.svelte-xhnfuv:hover {
    filter: brightness(0.95);
  }
  .k-pm-cta-btn.svelte-xhnfuv:disabled {
    opacity: 0.7;
    cursor: default;
  }
  .k-pm-cta-hint.svelte-xhnfuv {
    margin-top: 8px;
    font-size: 12px;
    color: #6b7280;
  }

  /* ── D12 reload prompt — dark pill, periwinkle accent (mock-matched) ── */
  .k-pm-reload.svelte-xhnfuv {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 40px;
    padding: 0 17px 0 14px;
    background: #1d2630;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 999px;
    box-shadow: 0 6px 20px rgba(20, 24, 28, 0.3);
    color: #fff;
    font: 500 14px/1 inherit;
    cursor: pointer;
    transition: background 0.15s, box-shadow 0.15s, transform 0.15s;
  }
  .k-pm-reload.svelte-xhnfuv:hover {
    background: #28323d;
    box-shadow: 0 9px 26px rgba(20, 24, 28, 0.38);
    transform: translateX(-50%) translateY(-1px);
  }
  .k-pm-reload.svelte-xhnfuv:focus-visible {
    outline: 2px solid #9aa6ff;
    outline-offset: 2px;
  }
  .k-pm-reload-ic.svelte-xhnfuv {
    color: #9aa6ff;
    display: inline-flex;
  }
  .k-pm-reload-ic.svelte-xhnfuv svg:where(.svelte-xhnfuv) {
    width: 17px;
    height: 17px;
  }
  .k-pm-reload-n.svelte-xhnfuv {
    color: #9aa6ff;
    font-weight: 700;
  }
  /* visually-hidden aria-live region for the prompt's appearance announcement */
  .k-pm-sr-live.svelte-xhnfuv {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }

  /* ── Custom pin (data-slug carries card⇄pin sync) ── */
  .k-pm-pin {
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    color: #5b6bff;
    line-height: 0;
    transition: transform 0.12s ease, color 0.12s ease, filter 0.12s ease;
  }
  .k-pm-pin-hover {
    transform: scale(1.18);
    filter: drop-shadow(0 2px 4px rgba(20, 24, 28, 0.35));
  }
  .k-pm-pin-active {
    color: #14181c;
    transform: scale(1.25);
  }

  /* ── D9 overlay + card (canonical .map-overlay/.map-card geometry) ── */
  .k-pm-ov.svelte-xhnfuv {
    position: absolute;
    inset: 0;
    background: rgba(15, 20, 23, 0.42);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    z-index: 10;
  }
  .k-pm-mapcard.svelte-xhnfuv {
    position: relative;
    width: 100%;
    max-width: 320px;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(15, 20, 23, 0.18);
  }
  .k-pm-mapcard-close.svelte-xhnfuv {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.92);
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 2px rgba(15, 20, 23, 0.18);
    color: #14181c;
    cursor: pointer;
    z-index: 2;
  }
  .k-pm-mapcard-close.svelte-xhnfuv svg:where(.svelte-xhnfuv) {
    width: 14px;
    height: 14px;
  }
  /* No-image placeholder mirrors the list card (.k-pm-card-media /
     .k-pm-ph-initials in public.css): dark→base→light diagonal gradient seeded
     by --c (set from the matched list card), oversized initials cropped into the
     bottom-right in translucent white. --c default matches the public.css base. */
  .k-pm-mapcard-media.svelte-xhnfuv {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    --c: #6a8aaf;
    background: linear-gradient(
      135deg,
      color-mix(in srgb, var(--c) 82%, #000) 0%,
      var(--c) 55%,
      color-mix(in srgb, var(--c) 88%, #fff) 100%
    );
  }
  .k-pm-mapcard-media.svelte-xhnfuv img:where(.svelte-xhnfuv) {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .k-pm-mapcard-ph.svelte-xhnfuv {
    position: absolute;
    right: 6%;
    bottom: -14%;
    font: 700 130px/0.9 system-ui, sans-serif;
    letter-spacing: -0.05em;
    color: rgba(255, 255, 255, 0.2);
    user-select: none;
  }
  .k-pm-mapcard-body.svelte-xhnfuv {
    padding: 14px 16px 16px;
    font: 14px/1.4 system-ui, sans-serif;
  }
  .k-pm-mapcard-loc.svelte-xhnfuv {
    color: #6b7280;
    font-size: 12px;
    margin-bottom: 4px;
  }
  .k-pm-mapcard-name.svelte-xhnfuv {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #14181c;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 6px;
  }
  .k-pm-mapcard-name.svelte-xhnfuv:hover,
  .k-pm-mapcard.svelte-xhnfuv:hover .k-pm-mapcard-name:where(.svelte-xhnfuv) {
    text-decoration: underline;
  }
  .k-pm-mapcard-meta.svelte-xhnfuv {
    font-size: 13px;
    margin-bottom: 8px;
  }
  .k-pm-mapcard-rating.svelte-xhnfuv {
    color: #14181c;
  }
  .k-pm-mapcard-rating.svelte-xhnfuv span:where(.svelte-xhnfuv),
  .k-pm-mapcard-dim.svelte-xhnfuv {
    color: #6b7280;
  }
  .k-pm-mapcard-fee.svelte-xhnfuv {
    font-size: 15px;
    font-weight: 600;
    color: #14181c;
    margin-bottom: 0;
  }
  /* Whole-card click target (canonical: the entire popup card is a link).
     Mirrors the LHS list card's .k-pm-card-link overlay. Sits under the close
     button (z-index 2) so the close affordance still wins in its corner. */
  .k-pm-mapcard-link.svelte-xhnfuv {
    position: absolute;
    inset: 0;
    z-index: 1;
  }
  /* Canonical bottom-right "open" affordance, replacing the View school button.
     Decorative — the card-wide .k-pm-mapcard-link handles navigation. */
  .k-pm-mapcard-go.svelte-xhnfuv {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    display: inline-flex;
    color: #6b7280;
  }
