.notice-popup-backdrop[hidden] {
	display: none;
}

.notice-popup-backdrop {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(0, 0, 0, 0.6);
}

.notice-popup-dialog {
	position: relative;
	box-sizing: border-box;
	width: min(100%, 640px);
	max-height: min(85vh, 800px);
	overflow: auto;
	padding: 32px;
	border-radius: 6px;
	background: #fff;
	color: #222;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.notice-popup-dialog h2 {
	margin: 0 40px 16px 0;
}

.notice-popup-close {
	position: absolute;
	top: 10px;
	right: 12px;
	width: 40px;
	height: 40px;
	border: 0;
	background: transparent;
	color: #222;
	font: inherit;
	font-size: 32px;
	line-height: 1;
	cursor: pointer;
}

@media (max-width: 600px) {
	.notice-popup-backdrop {
		padding: 16px;
	}

	.notice-popup-dialog {
		padding: 28px 22px;
	}
}
