/* Quick views contain only the event, place and one sharing action. */
.map-home-page .popup-body{display:block;text-decoration:none;color:var(--navy);padding:0}
.map-home-page .popup-body h3{font-size:16px;line-height:1.35;margin:8px 0}
.map-home-page .popup-place{margin:0;color:var(--muted);font-size:12px;line-height:1.45}
.map-home-page .popup-meta{gap:5px;flex-wrap:wrap;font-size:10px}
.map-home-page .quick-share{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;margin:0;border:0;border-radius:5px;background:transparent;color:var(--muted);cursor:pointer}
.map-home-page .quick-share svg{width:20px;height:20px;display:block}
.map-home-page .quick-share:hover{background:#f0f2f6;color:var(--navy)}
.map-home-page .quick-share:focus-visible{outline:2px solid var(--navy);outline-offset:-2px}
.map-home-page .quick-share::after{content:attr(data-tooltip);position:absolute;right:0;bottom:calc(100% + 4px);padding:4px 7px;border-radius:4px;background:var(--navy);color:#fff;font:500 11px/1.4 Manrope,Arial,sans-serif;white-space:nowrap;pointer-events:none;display:none;z-index:2}
.map-home-page .quick-share:focus-visible::after{display:block}
@media(hover:hover){.map-home-page .quick-share:hover::after{display:block}}
.map-home-page .alert-popup{position:relative;padding-right:48px}
.map-home-page .alert-popup>.quick-share{position:absolute;right:0;bottom:0}
.map-home-page .cluster-panel-list li{position:relative}
.map-home-page .cluster-panel-list :is(.cluster-panel-title,.cluster-panel-place){padding-right:48px}
.map-home-page .cluster-panel-list li>.quick-share{position:absolute;right:0;top:50%;transform:translateY(-50%)}
.map-home-page #list-view .card-bottom{position:relative;padding-right:48px}
.map-home-page #list-view .card-bottom>.quick-share{position:absolute;right:0;bottom:0}
@media(min-width:901px){
 .map-home-page #list-view .card-bottom{padding-right:0}
 .map-home-page #list-view .card-bottom>a{padding-right:48px}
 .map-home-page #list-view .card-bottom>.quick-share{position:relative;grid-column:3;grid-row:3;justify-self:end;align-self:start}
}
.quick-copy-toast{position:fixed!important;bottom:24px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100vw - 32px);z-index:1300;margin:0;pointer-events:none}
.quick-copy-toast[hidden]{display:none}

/* Keep 44px sharing targets below the status row, including focus/active states. */
.map-home-page .quick-share{box-sizing:border-box;max-width:44px;max-height:44px;transform:none}
.map-home-page .quick-share::after{right:calc(100% + 4px);bottom:auto;top:50%;transform:translateY(-50%)}
.map-home-page .alert-popup{padding-right:0;min-height:112px}
.map-home-page .popup-body h3,.map-home-page .popup-place{padding-right:52px}
.map-home-page .popup-meta{align-items:center}
.map-home-page .popup-meta .category{order:0;flex:1}
.map-home-page .popup-meta .message-kind{order:1}
.map-home-page .popup-meta .status{order:2;flex:none}
.map-home-page .cluster-panel-list li>.quick-share{top:auto;bottom:12px;transform:none}
.map-home-page .cluster-panel-entry{min-height:112px}
@media(max-width:767px){
 .map-home-page #list-view .alert-list{grid-template-columns:minmax(0,1fr);gap:10px}
 .map-home-page #list-view .alert-card{position:relative;display:flex;padding:12px 14px;min-height:0}
 .map-home-page #list-view .card-top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px;margin-bottom:7px;align-items:center;font-size:10px}
 .map-home-page #list-view .card-top .message-kind{grid-column:1;grid-row:2;justify-self:start;font-size:10px}
 .map-home-page #list-view .card-top .status{grid-column:2;grid-row:1;justify-self:end;font-size:10px}
 .map-home-page #list-view .card-top .category{grid-column:1;grid-row:1;justify-self:start;text-align:left;min-width:0;margin-left:0;overflow-wrap:anywhere;font-size:10px}
 .map-home-page #list-view .alert-card h3{font-size:17px;line-height:1.3;margin:0 0 5px}
 .map-home-page #list-view .alert-card h3 a::after{content:"";position:absolute;inset:0;z-index:1}
 .map-home-page #list-view .place{font-size:12px;line-height:1.4;margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
 .map-home-page #list-view .card-description,.map-home-page #list-view .card-bottom>a{display:none}
 .map-home-page #list-view .card-bottom{display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:6px;padding:0;margin:4px 0 0;border:0;min-height:44px}
 .map-home-page #list-view .card-bottom>span{font-size:10px;line-height:1.4;align-self:center}
 .map-home-page #list-view .card-bottom>.quick-share{position:relative;right:auto;bottom:auto;align-self:center;margin-left:auto;z-index:2}
}

/* Compact single-event preview; sharing remains on the permanent detail page. */
.map-home-page .alert-popup{padding:0;min-height:0}
.map-home-page .popup-body{min-width:0;overflow:auto;overscroll-behavior:contain}
.map-home-page .popup-body h3{font-size:14px;line-height:1.35;margin:6px 0;padding:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.map-home-page .popup-place{font-size:11px;padding:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0 0 5px}
.map-home-page .popup-meta{display:flex;align-items:center;gap:5px;flex-wrap:nowrap}
.map-home-page .popup-category{display:flex;align-items:center;gap:4px;flex:1;min-width:0;font-size:9px;font-weight:700;text-transform:uppercase;color:var(--muted)}
.map-home-page .popup-category>span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.map-home-page .popup-category-icon{display:flex;width:17px;height:17px;flex:none}
.map-home-page .popup-category-icon svg{width:17px;height:17px;display:block}
.map-home-page .popup-meta .message-kind{flex:none;text-transform:uppercase;font-size:9px;padding:2px 4px}
.map-home-page .popup-body>.status{font-size:9px;padding:2px 5px;line-height:1.4}
.map-home-page .popup-link{display:block;margin-top:5px;min-height:36px;box-sizing:border-box;padding:8px 0 0;font-size:12px;font-weight:700}
.map-home-page .cluster-panel-list :is(.cluster-panel-title,.cluster-panel-place){padding-right:0}
.map-home-page .cluster-panel-list .cluster-panel-entry{min-height:0}

.map-home-page .alert-popup .popup-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}
.map-home-page .alert-popup .popup-actions .popup-link{flex:1;min-width:0}
.map-home-page .alert-popup .popup-actions .quick-share{flex:none}
