.leaflet-popup.photo-map-photo-popup { font-family:var(--default-font); filter:drop-shadow(0 3px 7px rgba(0, 0, 0, .4)); }
.leaflet-popup.photo-map-photo-popup .leaflet-popup-content-wrapper,
.leaflet-popup.photo-map-photo-popup .leaflet-popup-tip { box-shadow:none; }
/* Квадрат указателя проходит под карточкой: срез на её границе создавал шов. */
.leaflet-popup.photo-map-photo-popup .leaflet-popup-tip-container { overflow:visible; z-index:-1; }
.leaflet-popup.photo-map-photo-popup .leaflet-popup-content-wrapper { padding:0; border-radius:10px; overflow:hidden; }
.leaflet-popup.photo-map-photo-popup .leaflet-popup-content { margin:0; max-width:200px; font-size:13px; line-height:1.4; }
.leaflet-popup.photo-map-photo-popup .leaflet-popup-scrolled { border:0; overscroll-behavior:contain; }
.leaflet-popup.photo-map-photo-popup .photo-map-cards { display:flex; flex-direction:column; }
.leaflet-popup.photo-map-photo-popup .map-photo-card { width:100%; vertical-align:top; }
.leaflet-popup.photo-map-photo-popup .map-photo-card > .prw { display:block; width:100%; padding:0; }
.leaflet-popup.photo-map-photo-popup .map-photo-card > .prw .f { display:block; width:100%; height:auto; box-shadow:none; }
.leaflet-popup.photo-map-photo-popup .map-photo-card-caption { padding:3px 8px 8px; background:#fff; overflow-wrap:anywhere; }
.leaflet-popup.photo-map-photo-popup .map-photo-card-caption .prw-state-end { display:none; }
.leaflet-popup.photo-map-photo-popup .map-photo-card-caption .nw {
	display:inline-block;
	width:max-content;
	max-width:100%;
	background-color:inherit;
	vertical-align:baseline;
	white-space:normal;
	word-break:break-all;
	overflow-wrap:anywhere;
}
.leaflet-popup.photo-map-photo-popup .map-photo-card-caption .sm { font-size:11px; line-height:1.4; }
.leaflet-popup.photo-map-photo-popup .map-photo-card-caption .sm > b:first-child { font-weight:normal; }
.leaflet-popup.photo-map-photo-popup .map-photo-card .temp,
.leaflet-popup.photo-map-photo-popup .map-photo-card .konk { height:16.8px; margin-top:-16.8px; background-size:auto 16.8px; }
.leaflet-popup.photo-map-photo-popup .map-photo-card .konk { left:2.4px; }
.leaflet-popup.photo-map-photo-popup a.leaflet-popup-close-button { top:4px; right:4px; width:20px; height:20px; padding:0; border-radius:5px; background:rgba(25, 25, 25, .8); color:#fff; font:16px/20px Arial,sans-serif; text-align:center; }
.leaflet-popup.photo-map-photo-popup a.leaflet-popup-close-button:hover,
.leaflet-popup.photo-map-photo-popup a.leaflet-popup-close-button:focus-visible { background:#333; color:#fff; }
.leaflet-popup.photo-map-photo-popup .leaflet-popup-content a { color:var(--theme-link-color); }
.leaflet-popup.photo-map-photo-popup .leaflet-popup-content a:visited { color:var(--theme-link-visited-color); }
