:root {
  --ink: #23132e;
  --muted: #654f6c;
  --line: #e9deee;
  --pink: #aa0a55;
  --pink-fill: #ea2480;
  --pink-soft: #ffe9f4;
  --blue: #1673d4;
  --blue-dark: #144d9b;
  --blue-soft: #e8f4ff;
  --gradient: linear-gradient(115deg, #d50c72 3%, #8846ce 59%, #1477d7 100%);
  --sea: #e6e6fa;
}
body { background: #fffafd; font-size: 16px; }
.shell { width: min(1580px, 100% - 64px); }
.masthead { border-color: #eddfef; background: #fffafdF5; }
.navigation { min-height: 62px; }
.brand { font-size: 16px; font-weight: 900; letter-spacing: .12em; }
.brand-mark { width: 31px; height: 31px; border-radius: 10px; font-size: 15px; box-shadow: 0 3px 9px #a23ca934; }
.brand small { color: #634e70; font-size: 11px; }
.menu { font-size: 14px; gap: 28px; }
.intro { padding: 31px 0 21px; display: flex; align-items: end; justify-content: space-between; gap: 25px; }
.intro h1 { font-size: clamp(38px,4.6vw,72px); letter-spacing: -.058em; line-height: 1.1; }
.intro p { margin: 0 2px 3px 0; max-width: 29em; font-size: 15px; line-height: 1.65; }
.stage { margin-bottom: 49px; }
.map-card { position: relative; border-color: #e0cfe9; border-radius: 22px; box-shadow: 0 14px 40px #54256c16; }
.map-toolbar { min-height: 63px; padding: 9px 13px; gap: 9px 13px; background: #fffafd; }
.type-control { gap: 5px; background: #f2eaf6; padding: 4px; border-radius: 13px; }
.filter { border: 1px solid transparent; background: transparent; border-radius: 10px; }
.filter[aria-pressed=true] { background: white; border-color: #eee3f0; box-shadow: 0 1px 3px #43285612; color: var(--ink); }
.filter[data-filter=harbor][aria-pressed=true] { background: #fff6fa; border-color: #ecbad5; color: var(--pink); }
.filter[data-filter=open][aria-pressed=true] { background: #f5faff; border-color: #b5d4f5; color: var(--blue-dark); }
.filter,.button,select,.pair-tab { min-height: 39px; font-size: 14px; }
.count { padding-left: 3px; font-size: 11px; }
select { appearance: none; background: white; padding-right: 29px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23624d73' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 8px center; background-size: 15px; }
#location { width: 185px; }
.map-wrap { background: var(--sea); }
#world-map { height: min(73svh, 900px); min-height: 580px; background: radial-gradient(ellipse at 78% 64%, #dceafa 0, transparent 49%), radial-gradient(ellipse at 8% 30%, #f3e0f5 0, transparent 54%), #e6e6fa; }
.world-label { color: #645378; text-shadow: 0 1px 4px #fff, 0 0 8px #fff; }
.plot-raster { filter: saturate(.52) hue-rotate(17deg) contrast(.96) brightness(1.025); }
.map-footer { padding: 9px 15px; border-top: 1px solid #eee4f0; background: #fffafd; color: #63526b; }
.map-footer, .map-footer a { font-size: 13px; }
.map-footer a { margin-left: auto; white-space: nowrap; }
#street-status { color: #79598e; }
.cluster-icon > span { width: 40px; height: 40px; border: 2px solid #fff; box-shadow: 0 4px 12px #67348536; }
.cluster-icon b { width: 26px; height: 26px; background: #fff; color: #482951; font-size: 13px; }
.pin-icon > span { width: 21px; height: 21px; border: 2px solid white; box-shadow: 0 3px 11px #572c8045; }
.pin-icon > span::after { content: ""; display: block; width: 5px; height: 5px; margin: 6px auto; border-radius: 50%; background: white; }
.pin-icon:hover > span,.pin-icon:focus-visible > span { width: 23px; height: 23px; }
.leaflet-popup-content { min-width: 220px; }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { box-shadow: 0 8px 28px #57306c2b; }
.leaflet-bar { border: none!important; border-radius: 11px; box-shadow: 0 4px 12px #6734852b; overflow: hidden; }
.leaflet-control-zoom a { color: #62377c; width: 37px!important; height: 37px!important; line-height: 37px!important; }
.leaflet-control-attribution { background: #fffafdEc!important; }
.follow-up { margin-top: 11px; border: 1px solid #ecdced; border-left: 3px solid var(--pink-fill); border-radius: 12px; background: white; padding: 12px 16px; }
.follow-up[data-type=open] { border-left-color: var(--blue); }
.point-tag { font-size: 12px; }
.follow-up p,.view-card p,.pair-card p:not(.point-tag) { font-size: 15px; }
.follow-up h3 { line-height: 1.4; }
.point-sources a, .point-note { font-size: 13px; }
.primary { background: #78359b; border-color: #78359b; }
.primary:hover { background: #602480; }
.views { grid-template-columns: repeat(2,1fr); gap: 13px; }
.view-card { padding: 20px 22px; }
.view-card h3 { color: var(--pink); }
.view-card.open h3 { color: var(--blue-dark); }
.context-note,.pair-foot p { font-size: 14px; }
.text-button,.text-link,.source-link,summary { font-size: 14px; }
.pair-cards { gap: 13px; }
.pair-card { padding: 17px 18px; }
.list-name { font-size: 14px; }
.list-tag { font-size: 12px; }
footer { background: #fffafd; }
@media(max-width:1080px) {
  .shell { width: calc(100% - 42px); }
  .intro p { max-width: 25em; font-size: 14px; }
  #world-map { min-height: 515px; }
}
@media(max-width:760px) {
  .shell { width: calc(100% - 24px); }
  .navigation { min-height: 53px; }
  .menu { font-size: 12px; gap: 13px; }
  .brand { font-size: 14px; }
  .intro { display: block; padding: 22px 0 15px; }
  .intro h1 { font-size: clamp(37px,8.5vw,57px); }
  .intro p { margin: 7px 0 0; max-width: 40em; }
  .stage { margin-bottom: 33px; }
  #world-map { height: 64svh; min-height: 462px; }
}
@media(max-width:490px) {
  .shell { width: calc(100% - 20px); }
  .brand small { display: inline; font-size: 9px; }
  .brand-mark { width: 25px; height: 25px; font-size: 12px; }
  .menu { gap: 9px; }
  .menu a { padding-block: 11px; }
  .intro h1 { font-size: clamp(32px,8.8vw,45px); }
  .map-card { border-radius: 14px; }
  .map-toolbar { padding: 7px; gap: 7px; }
  .type-control { padding: 2px; }
  .filter,.button,select,.pair-tab { min-height: 36px; padding-inline: 7px; font-size: 12px; }
  select { padding-right: 22px; background-position: right 4px center; }
  #location { width: 130px; max-width: min(40vw, 130px); }
  #world-map { height: 58svh; min-height: 405px; }
  .map-footer { gap: 4px 8px; padding: 7px 8px; }
  .map-footer, .map-footer a { font-size: 12px; }
  .views { grid-template-columns: 1fr; }
  .view-card { padding: 14px; }
  .pair-cards { gap: 7px; }
  .pair-card { padding: 10px; }
  .pair-card p:not(.point-tag) { font-size: 13px; }
}
