/* Global Supply — close control (desktop pin card + mobile modal) */
.global .map .pin .supply-popover__close,
.supply-modal .supply-popover__close{
	display:none;
	box-sizing:border-box;
	position:absolute;
	top:8px;
	right:8px;
	z-index:3;
	width:32px;
	height:32px;
	margin:0;
	padding:0;
	border:1px solid rgba(16,24,32,.12);
	border-radius:50%;
	background:#fff;
	color:#101820;
	font-size:22px;
	line-height:1;
	cursor:pointer;
	align-items:center;
	justify-content:center;
	box-shadow:0 4px 14px rgba(12,35,60,.12);
}
.global .map .pin .supply-popover__close span,
.supply-modal .supply-popover__close span{
	display:block;
	transform:translateY(-1px);
}
.global .map .pin .supply-popover__close:hover,
.supply-modal .supply-popover__close:hover{
	background:#f3f6f9;
}

/* Mobile modal shell (ported to body so transform ancestors cannot trap fixed) */
.supply-modal{
	position:fixed;
	inset:0;
	z-index:100060;
	display:none;
	align-items:center;
	justify-content:center;
	padding:16px;
}
.supply-modal.is-open,
.supply-modal:not([hidden]){
	display:flex;
}
.supply-modal[hidden]{
	display:none!important;
}
.supply-modal__backdrop{
	position:absolute;
	inset:0;
	background:rgba(8,16,28,.48);
	-webkit-backdrop-filter:blur(2px);
	backdrop-filter:blur(2px);
}
.supply-modal__dialog{
	position:relative;
	z-index:1;
	box-sizing:border-box;
	width:min(389px,calc(100vw - 28px));
	max-width:calc(100vw - 28px);
	height:auto;
	min-height:182px;
	max-height:min(182px,calc(100vh - 48px));
	padding:0;
	margin:0;
	background:#fff;
	color:#182330;
	overflow:hidden;
	box-shadow:0 18px 48px rgba(12,35,60,.28);
	animation:supplyModalIn .2s ease-out both;
}
.supply-modal__body{
	display:grid;
	grid-template-columns:38% 62%;
	height:182px;
	max-height:182px;
}
.supply-modal__body > img{
	box-sizing:border-box;
	width:calc(100% - 12px);
	height:150px;
	margin:13px 0 0 8px;
	padding:0;
	object-fit:cover;
	display:block;
}
.supply-modal__body .supply-popover__copy{
	box-sizing:border-box;
	padding:20px 36px 6px 0;
	display:flex;
	flex-direction:column;
	align-items:flex-start;
	justify-content:flex-start;
	gap:0;
	min-width:0;
	overflow:hidden;
}
.supply-modal__body .supply-popover__copy strong{
	font-size:18px;
	line-height:1.25;
	font-weight:700;
	color:#2c68e4;
	margin:0;
	padding:0;
}
.supply-modal__body .supply-popover__copy small{
	font-size:11px;
	line-height:1.3;
	color:#111;
	font-weight:400;
	text-transform:none;
	margin:7px 0 0;
	padding:0;
	white-space:normal;
}
.supply-modal__body .supply-popover__copy > span{
	font-size:12px;
	line-height:17px;
	font-weight:400;
	color:#687482;
	font-family:'Source Han Sans CN',Arial,Helvetica,sans-serif;
	margin:2px 0 0;
	padding:0;
}
.supply-modal .supply-popover__close{
	display:flex;
}
html.supply-popover-open,
html.supply-popover-open body{
	overflow:hidden;
}
@keyframes supplyModalIn{
	from{opacity:0;transform:translateY(10px) scale(.98)}
	to{opacity:1;transform:none}
}

@media (max-width:720px){
	/* Keep pin-local cards closed; mobile uses .supply-modal instead. */
	.global .map .pin .supply-popover,
	.global .map .pin:hover .supply-popover,
	.global .map .pin:focus .supply-popover,
	.global .map .pin:focus-within .supply-popover,
	.global .map .pin.is-open .supply-popover{
		opacity:0!important;
		visibility:hidden!important;
		pointer-events:none!important;
		transform:none!important;
	}
	.global .map .pin .supply-popover__close{
		display:none!important;
	}
}

@media (min-width:721px){
	.supply-modal{display:none!important}
	.global .map .pin .supply-popover__close{display:none!important}
}

@media (prefers-reduced-motion:reduce){
	.supply-modal__dialog{animation:none}
}
