.map-page { padding-bottom: clamp(3rem, 6vw, 5rem); }
.map-intro { padding: clamp(2.2rem, 4.5vw, 3.6rem) 0 1.2rem; max-width: var(--measure); }
.map-intro h1 { font-family: var(--display); font-weight: var(--h-weight); letter-spacing: var(--h-track); line-height: var(--h-lh);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem); margin: 0 0 .5em; color: var(--ink); }
.map-dek { font-size: var(--fs-base); line-height: 1.55; color: var(--ink-body); margin: 0; }
.mf { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: .4rem 0 1rem; }
.mf[hidden] { display: none; }
.mf-label { margin: 0 .3rem 0 0; }
.mf-chip { font-family: var(--sans); font-size: var(--ui); letter-spacing: .09em; text-transform: uppercase; font-weight: 600; line-height: 1;
  padding: .6rem .9rem; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; border-radius: 999px; }
.mf-chip[aria-pressed="true"] { background: var(--ink); color: var(--paper-light); }
.mf-chip:hover { border-color: var(--accent-dark); }
.mf-chip:focus-visible, .ml-show:focus-visible, .map-ctl button:focus-visible, .mc-x:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.map-layout.has-map { display: grid; gap: 1.6rem; }
@media (min-width: 1100px) {
  .map-layout.has-map { grid-template-columns: minmax(0, 1fr) 23rem; gap: 2rem; align-items: start; }
  .map-layout.has-map .map-list { max-height: var(--list-h, none); overflow-y: auto; padding-right: .4rem; overscroll-behavior: contain; }
}
.map-stage[hidden] { display: none; }
.map-stage { scroll-margin-top: calc(var(--header-h) + 12px); }
.map-box { position: relative; aspect-ratio: 1000 / 480; max-height: 72vh; min-height: 300px; border: 1px solid var(--rule); background: var(--paper-light); overflow: hidden; }
.map-svg { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.map-svg.is-drag { cursor: grabbing; }
.map-svg:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
.map-sea { fill: var(--paper-light); }
.map-land path { fill: var(--paper-deep); stroke: #DFD7C7; stroke-width: .4;   
  vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.mp { cursor: pointer; outline: none; }
.mp-hit { fill: transparent; }
.mp-dot { fill: var(--accent); stroke: var(--paper-light); stroke-width: 2.5; transition: transform .15s ease; }
.mp-cluster .mp-dot { fill: var(--accent-alt); }
.mp-n { fill: var(--paper-light); font-family: var(--sans); font-size: 12px; font-weight: 700; pointer-events: none; }
.mp:hover .mp-dot { transform: scale(1.2); }
.mp.is-sel .mp-dot { fill: var(--ink); }
.mp:focus-visible .mp-hit { fill: none; stroke: var(--ink); stroke-width: 2; stroke-dasharray: 3 3; }
.map-ctl { position: absolute; right: 10px; top: 10px; display: flex; flex-direction: column; gap: 4px; }
.map-ctl button { width: 36px; height: 36px; display: grid; place-items: center; font: 600 1.15rem/1 var(--sans); color: var(--ink);
  background: var(--white); border: 1px solid var(--ink); border-radius: 0; cursor: pointer; padding: 0; }
.map-ctl button:hover { background: var(--paper); }
.map-help { margin: .6rem 0 0; text-transform: none; letter-spacing: 0; font-size: .8125rem; }
.map-card { position: absolute; z-index: 3; width: min(21rem, calc(100% - 16px)); max-height: calc(100% - 16px); overflow-y: auto;
  background: var(--white); border: 1px solid var(--ink); box-shadow: 0 6px 22px rgba(27, 27, 25, .14); padding: 1.1rem 1.2rem 1.2rem; }
.map-card[hidden] { display: none; }
.mc-x { position: absolute; right: 4px; top: 4px; width: 40px; height: 40px; border: 0; background: none; font: 400 1.6rem/1 var(--sans); color: var(--ink); cursor: pointer; }
.mc-group { margin: 0 0 .6rem; }
.mc-story + .mc-story { border-top: 1px solid var(--rule); margin-top: 1rem; padding-top: 1rem; }
.mc-k { margin: 0 2.2rem .45rem 0; display: block; }
.mc-h { font-family: var(--display); font-weight: var(--h-weight); letter-spacing: var(--h-track); line-height: 1.15; font-size: 1.35rem; margin: 0 0 .35rem; color: var(--ink); }
.mc-h:focus { outline: none; }
.mc-h:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.is-group .mc-h { font-size: 1.15rem; }
.mc-date { margin: 0 0 .55rem; font-size: .875rem; color: var(--grey); }
.mc-sum { margin: 0 0 .9rem; font-size: 1rem; line-height: 1.5; color: var(--ink-body); }
.mc-go { padding: .8rem 1.1rem; }
.map-list h2 { font-family: var(--display); font-weight: var(--h-weight); font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin: 0 0 .3rem; color: var(--ink); }
.ml-count { margin: 0 0 .8rem; font-size: .9375rem; color: var(--grey); }
.ml-list { list-style: none; margin: 0; padding: 0; }
.ml-item { border-top: 1px solid var(--rule); padding: 1rem .2rem 1.1rem .9rem; border-left: 3px solid transparent; }
.ml-item[hidden] { display: none; }
.ml-item.is-sel { border-left-color: var(--accent); background: var(--paper-light); }
.ml-meta { margin: 0 0 .35rem; text-transform: none; letter-spacing: .02em; font-size: .8125rem; }
.ml-h { font-family: var(--display); font-weight: var(--h-weight); letter-spacing: var(--h-track); font-size: 1.2rem; line-height: 1.2; margin: 0 0 .3rem; }
.ml-h a { color: var(--ink); text-decoration: none; }
.ml-h a:hover, .ml-h a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.ml-date { margin: 0 0 .4rem; font-size: .875rem; color: var(--grey); }
.ml-sum { margin: 0 0 .6rem; font-size: 1rem; line-height: 1.5; color: var(--ink-body); }
.ml-show { font-family: var(--sans); font-size: var(--ui); letter-spacing: .09em; text-transform: uppercase; font-weight: 600; background: none; border: 0;
  border-bottom: 1px solid currentColor; padding: .3rem 0; color: var(--accent-dark); cursor: pointer; }
.ml-show[hidden] { display: none; }
@media (max-width: 640px) {
  .map-box { aspect-ratio: 1 / .66; min-height: 0; margin: 0 calc(-1 * var(--margin)); border-left: 0; border-right: 0; }
  .map-card { position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: auto; max-height: 72vh; border: 0; border-top: 1px solid var(--ink);
    border-radius: 14px 14px 0 0; padding: 1.5rem var(--margin) calc(1.3rem + env(safe-area-inset-bottom)); box-shadow: 0 -8px 28px rgba(27, 27, 25, .18); z-index: 50; }
  .map-card::before { content: ""; position: absolute; left: 50%; top: 8px; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: var(--rule); }
  .mc-x { top: 10px; right: 8px; }
  .mc-go { width: 100%; }
  body.map-sheet-open .map-page { padding-bottom: 16rem; }
}
@media (prefers-reduced-motion: reduce) { .mp-dot { transition: none; } }
