.sigpop-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(0, 0, 0, 0.7);
	box-sizing: border-box;
}

.sigpop-overlay[hidden] {
	display: none;
}

.sigpop-box {
	position: relative;
	max-width: 100%;
	max-height: 100%;
	line-height: 0;
}

.sigpop-img {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - 40px);
	width: auto;
	height: auto;
	margin: 0 auto;
}

.sigpop-close {
	position: absolute;
	top: -14px;
	right: -14px;
	z-index: 2;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: #000;
	font-size: 22px;
	line-height: 32px;
	text-align: center;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

@media (max-width: 500px) {
	.sigpop-overlay {
		padding: 16px;
	}

	.sigpop-close {
		top: -12px;
		right: -8px;
	}
}
