.jof-notice[hidden] { display: none; }
.jof-notice {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}
.jof-notice__overlay {
	position: absolute;
	inset: 0;
	background: rgba(28, 27, 27, 0.6);
}
.jof-notice__dialog {
	position: relative;
	width: 100%;
	max-width: 520px;
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	padding: 32px 28px 28px;
	background: #fff;
	border-top: 5px solid var(--ast-global-color-0, #E11B14);
	border-radius: 8px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
	text-align: center;
	animation: jof-notice-in 0.2s ease-out;
}
.jof-notice__title {
	margin: 0 0 12px;
	font-size: 24px;
	line-height: 1.3;
	color: var(--ast-global-color-3, #1C1B1B);
}
.jof-notice__body {
	font-size: 16px;
	line-height: 1.6;
	color: var(--ast-global-color-3, #1C1B1B);
}
.jof-notice__body > :last-child { margin-bottom: 0; }
.jof-notice__btn {
	display: inline-block;
	margin-top: 24px;
	padding: 12px 28px;
	border: 0;
	border-radius: 4px;
	background: var(--ast-global-color-0, #E11B14);
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	cursor: pointer;
}
.jof-notice__btn:hover,
.jof-notice__btn:focus-visible { background: var(--ast-global-color-1, #C00802); color: #fff; }
.jof-notice__x {
	position: absolute;
	top: 8px;
	right: 10px;
	padding: 4px 8px;
	border: 0;
	background: none;
	color: #777;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}
.jof-notice__x:hover { color: #000; background: none; }
body.jof-notice-open { overflow: hidden; }

@keyframes jof-notice-in {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.jof-notice__dialog { animation: none; }
}
