.accelerate-age-notice:not([open]) {
	display: none;
}

html.accelerate-age-notice-open {
	overflow: hidden;
	scrollbar-gutter: stable;
}

.accelerate-age-notice {
	position: fixed;
	inset: 0;
	width: calc(100% - 24px);
	max-width: 520px;
	max-height: calc(100% - 24px);
	margin: auto;
	padding: 0;
	overflow: auto;
	overscroll-behavior: contain;
	border: 1px solid #e4d6e7;
	border-radius: 22px;
	background: #fffaf7;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .38);
	color: #291b25;
	font-family: system-ui, "Microsoft JhengHei", sans-serif;
	text-align: center;
}

.accelerate-age-notice::backdrop {
	background: rgba(19, 12, 20, .86);
}

.accelerate-age-notice--fallback[open] {
	display: grid;
	place-items: center;
	z-index: 2147483000;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	padding: 12px;
	border: 0;
	border-radius: 0;
	background: rgba(19, 12, 20, .86);
	box-shadow: none;
}

.accelerate-age-notice--fallback .accelerate-age-notice__panel {
	width: 100%;
	max-width: 520px;
	max-height: 100%;
	overflow: auto;
	border: 1px solid #e4d6e7;
	border-radius: 22px;
	background: #fffaf7;
}

.accelerate-age-notice__panel {
	padding: 28px 18px;
	padding: clamp(28px, 5vw, 46px) clamp(18px, 5vw, 46px);
}

.accelerate-age-notice .accelerate-age-notice__title,
.accelerate-age-notice .accelerate-age-notice__message,
.accelerate-age-notice .accelerate-age-notice__warning {
	margin: 0;
	padding: 0;
	color: inherit;
	font: 700 22px/1.55 system-ui, "Microsoft JhengHei", sans-serif;
	font-size: clamp(22px, 4vw, 30px);
	white-space: pre-line;
	overflow-wrap: anywhere;
}

.accelerate-age-notice .accelerate-age-notice__warning {
	margin-top: 12px;
	font-size: 15px;
	font-weight: 500;
}

.accelerate-age-notice .accelerate-age-notice__confirm {
	width: auto;
	max-width: 100%;
	min-height: 48px;
	margin: 24px 0 0;
	padding: 11px 24px;
	border: 0;
	border-radius: 999px;
	background: #8969a9;
	box-shadow: none;
	color: #fff;
	font: 700 16px/1.35 system-ui, "Microsoft JhengHei", sans-serif;
	text-transform: none;
	overflow-wrap: anywhere;
	cursor: pointer;
}

.accelerate-age-notice .accelerate-age-notice__confirm:hover {
	background: #755596;
}

.accelerate-age-notice__confirm:focus {
	outline: 3px solid #291b25;
	outline-offset: 3px;
}

.accelerate-age-notice__static {
	margin: 0;
	padding: 12px;
	background: #fffaf7;
	color: #291b25;
	text-align: center;
	font-weight: 700;
}
