.map-page{height:100dvh;min-height:600px;display:flex;flex-direction:column}.map-main{flex:1;display:flex;flex-direction:column;min-height:0}.map-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-top:24px;padding-bottom:22px}.map-heading .eyebrow{margin-bottom:8px;font-size:12px}.map-heading h1{font-size:32px;letter-spacing:-1.2px;font-weight:800}.map-intro{color:var(--muted);font-size:15px;margin-top:8px}.view-switch{display:inline-flex;gap:4px;padding:4px;background:#f5ebe8;border-radius:10px;flex-shrink:0}.view-switch a{padding:9px 23px;border-radius:7px;font-size:14px;font-weight:600}.view-switch a[aria-current=page]{background:var(--ink);color:white}.view-switch a:hover{background:var(--peach);color:var(--ink)}.map-filter-section{background:var(--filter);padding:16px 0;border-top:1px solid #faeae2;border-bottom:1px solid var(--line)}.map-filter-section .field{height:50px}.map-filter-section .find-button{font-size:16px}.map-filter-section .field select{font-size:15px}#custom-dates{grid-column:1/-1;display:flex;gap:20px;font-size:14px;color:var(--muted)}#custom-dates label{display:flex;align-items:center;gap:10px}#custom-dates input{border:1px solid var(--line);background:white;border-radius:6px;padding:8px;font:inherit;color:var(--ink)}#filter-error{grid-column:1/-1;color:#b21938;font-size:14px}.map-stage{position:relative;flex:1;min-height:360px;isolation:isolate}#event-map{position:absolute;inset:0;background:#e8e8df;z-index:0}.leaflet-container{font-family:var(--font);font-size:13px}.leaflet-tile-pane{filter:saturate(.6)}.event-pin{color:var(--muted);filter:drop-shadow(0 2px 3px #35082f35)}.event-pin.is-selected{color:var(--coral)}.leaflet-marker-icon:focus-visible{outline:3px solid var(--ink);outline-offset:5px}.event-cluster{display:flex;align-items:center;justify-content:center;border:5px solid #e2d4e2;border-radius:50%;background:var(--muted);color:#fff;font-weight:800;font-size:16px;box-shadow:0 2px 10px #35082f25}.leaflet-control-zoom{border:1px solid #eee!important;box-shadow:0 2px 8px #35082f12!important;border-radius:9px!important;overflow:hidden}.leaflet-control-zoom a{color:var(--ink)!important;width:38px!important;height:38px!important;line-height:38px!important}.leaflet-control-attribution{font-size:10px!important;background:#fffcf8ed!important}.leaflet-control-attribution a{color:#593c57}.map-summary{position:absolute;top:22px;left:50px;display:flex;flex-direction:column;gap:3px;background:var(--paper);padding:15px 20px;border-radius:11px;box-shadow:0 3px 18px #35082f17;pointer-events:none}.map-summary strong{font-size:16px}.map-summary span{font-size:13px;color:var(--muted)}.map-summary small{font-size:10px;color:var(--muted)}.reset-view{position:absolute;right:64px;top:22px;background:var(--paper);color:var(--ink);border:1px solid var(--line);padding:11px 15px;border-radius:8px;font-size:13px;min-height:44px}.leaflet-top.leaflet-right{top:14px;right:10px}.map-hint{position:absolute;bottom:24px;left:50%;transform:translateX(-50%);background:#fffcf8ee;padding:9px 17px;border-radius:20px;font-size:12px;color:var(--muted);pointer-events:none;white-space:nowrap}.map-event-card{position:absolute;left:50px;bottom:28px;width:330px;max-height:calc(100% - 125px);overflow:auto;background:var(--paper);border-radius:13px;box-shadow:0 8px 32px #35082f26;z-index:5}.card-close{position:absolute;right:9px;top:9px;background:white;border-radius:50%;width:36px;height:36px;display:grid;place-items:center;box-shadow:0 1px 8px #35082f20}.selected-image{width:100%;height:105px;object-fit:cover}.card-copy{padding:16px 19px 10px}.card-topline{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px;color:var(--link);font-weight:600;margin-bottom:9px}#selected-type{background:var(--peach);color:var(--ink);border-radius:6px;padding:3px 9px;font-size:11px}.card-copy h2{font-size:21px;letter-spacing:-.5px;margin-bottom:9px}.card-copy p{font-size:13px;color:var(--muted);line-height:1.6}.card-copy .organizer-link{font-size:13px;min-height:42px;white-space:normal;justify-self:start}.map-empty{position:absolute;left:50%;top:48%;transform:translate(-50%,-50%);background:var(--paper);padding:24px;border-radius:12px;box-shadow:0 4px 20px #35082f15;max-width:360px;width:calc(100% - 40px);text-align:center}.map-empty p{font-size:14px;color:var(--muted);margin:9px 0 14px}.map-empty button{padding:10px;border-radius:7px;background:var(--ink);color:white}.tile-warning{position:absolute;bottom:50px;left:50%;transform:translateX(-50%);background:var(--paper);padding:12px;font-size:12px;max-width:420px;z-index:6;border:1px solid var(--line);border-radius:8px}.mobile-filter-bar{display:none}.map-stage:has(.map-event-card:not([hidden])) .map-hint{display:none}.list-switch{display:flex;gap:10px;align-items:center;margin-top:16px}.list-switch a{font-size:14px;padding:7px 18px;border:1px solid var(--line);border-radius:7px}.list-switch a[aria-current]{background:var(--ink);color:white}
@media(max-width:700px){.map-page{min-height:650px}.map-page .header-inner{padding-top:8px}.map-page .brand-name{font-size:24px}.map-page .brand-hat{width:49px;height:38px}.map-page nav{margin-top:5px;padding-bottom:6px}.map-page .submit-button{min-height:38px;font-size:12px;padding:8px 14px}.map-page .nav-events{font-size:13px}.map-heading{padding-top:15px;padding-bottom:13px;gap:10px;align-items:flex-start}.map-heading .eyebrow,.map-intro{display:none}.map-heading h1{font-size:21px;letter-spacing:-.7px;max-width:220px;line-height:1.18}.view-switch{padding:3px;gap:0}.view-switch a{padding:8px 10px;font-size:12px}.mobile-filter-bar{display:flex;justify-content:space-between;align-items:center;padding-bottom:12px;font-size:13px;color:var(--muted)}.mobile-filter-bar button{background:var(--peach);color:var(--ink);padding:9px 14px;border-radius:7px;min-height:40px;font-weight:600;font-size:12px}.map-filter-section{display:none;max-height:45dvh;overflow:auto;padding:12px 0}.map-filter-section.is-open{display:block}.map-filter-section .field{height:44px}.map-filter-section .field select{font-size:13px}.map-stage{min-height:320px}.map-summary{top:14px;left:14px;padding:11px 13px;max-width:245px}.map-summary strong{font-size:13px}.map-summary span{font-size:11px}.map-summary small{font-size:9px}.reset-view{right:12px;top:103px;padding:9px;font-size:11px;min-height:38px}.leaflet-top.leaflet-right{top:6px;right:2px}.leaflet-control-zoom a{width:32px!important;height:32px!important;line-height:32px!important}.map-hint{font-size:10px;bottom:24px;padding:8px 12px}.map-event-card{left:10px;right:10px;bottom:28px;width:auto;max-height:52%;border-radius:13px;display:grid;grid-template-columns:80px 1fr;overflow:auto;padding:12px;gap:12px}.selected-image{height:90px;width:80px;border-radius:7px;align-self:center}.card-copy{padding:0 20px 0 0}.card-copy h2{font-size:17px;margin-bottom:5px}.card-copy p{font-size:11px}.card-copy .organizer-link{font-size:12px;min-height:38px}.card-topline{font-size:10px;margin-bottom:6px;flex-wrap:wrap;gap:4px}#selected-type{font-size:9px}.card-close{width:30px;height:30px;right:5px;top:5px;box-shadow:none}.card-close img{width:17px;height:17px}.tile-warning{width:85%;bottom:30px}#custom-dates{flex-direction:column;gap:8px}.leaflet-control-attribution{max-width:100%;font-size:9px!important}}
/* Keep the focus ring inside the scrollable card, including deep-link autofocus. */
#map-stage[hidden],#map-consent[hidden],#map-consent-revoke[hidden]{display:none}
.map-page:has(#map-consent:not([hidden])){height:auto;min-height:100dvh}
.map-page:has(#map-consent:not([hidden])) .map-main{flex:1 0 auto;min-height:auto}
.map-consent{max-width:760px;padding-block:32px;line-height:1.6;flex-shrink:0}
.map-consent h2{font-size:24px;margin-bottom:16px}
.map-consent p{margin-bottom:16px}
.map-consent a,.map-consent-settings button{text-decoration:underline;text-underline-offset:3px}
.map-consent .button{padding:12px 24px;margin:0 16px 12px 0}
.map-consent-settings{padding-block:8px;flex-shrink:0;font-size:13px}
.map-consent-settings button{background:transparent;color:var(--muted);padding:8px 0;min-height:40px}
.map-consent-settings p:empty{display:none}
.map-event-card .card-close{padding:0;color:var(--ink)}
.map-event-card .card-close:focus-visible{outline:3px solid var(--ink);outline-offset:-3px}
@media(max-width:700px){
 .map-event-card .card-close{width:44px;height:44px;top:8px;right:8px}
 .map-event-card .card-topline{padding-right:44px;min-height:40px}
}
@media(max-width:700px){.map-filter-section{flex-shrink:0}}

.card-copy{min-width:0;overflow-wrap:anywhere}
.map-event-card:has(.selected-flyer[hidden]) .card-copy{padding-top:50px}
@media(max-width:700px){
 .map-event-card{grid-template-columns:80px minmax(0,1fr)}
 .map-event-card:has(.selected-flyer[hidden]){grid-template-columns:minmax(0,1fr)}
 .map-event-card:has(.selected-flyer[hidden]) .card-copy{padding-top:0}
}

#selected-description{margin-top:8px;font-size:13px}#selected-description summary{cursor:pointer;color:var(--ink);padding:8px 0;min-height:40px}#selected-description summary:focus-visible{outline:2px solid var(--ink);outline-offset:2px}#selected-description-text{white-space:pre-line;padding-bottom:8px}#selected-address{margin:4px 0}#selected-time{margin-top:4px}
