.amatoki-acl__concealed {
	display: none !important;
}

.amatoki-acl__fade {
	-webkit-mask-image: var(--amatoki-acl-fade-gradient);
	mask-image: var(--amatoki-acl-fade-gradient);
}

.amatoki-acl__notice {
	--amatoki-acl-accent: #386b84;
	--amatoki-acl-background: #f3f6f8;
	--amatoki-acl-text: #25313c;
	--amatoki-acl-border: #d7e0e5;
	--amatoki-acl-radius: 8px;
	--amatoki-acl-padding: 24px;
	--amatoki-acl-title-size: 20px;
	--amatoki-acl-body-size: 16px;
	--amatoki-acl-alignment: left;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	margin: 2rem 0;
	padding: var(--amatoki-acl-padding);
	border: 1px solid var(--amatoki-acl-border);
	border-radius: var(--amatoki-acl-radius);
	background: var(--amatoki-acl-background);
	color: var(--amatoki-acl-text);
	text-align: var(--amatoki-acl-alignment);
	line-height: 1.6;
	overflow-wrap: anywhere;
}

.amatoki-acl__notice *,
.amatoki-acl__notice *::before,
.amatoki-acl__notice *::after {
	box-sizing: border-box;
}

.amatoki-acl__notice[hidden] {
	display: none !important;
}

@supports (mask-image: linear-gradient(to bottom, #000, transparent)) {
	.amatoki-acl__notice--fade-adjacent {
		margin-top: 0.75rem;
	}
}

@supports (-webkit-mask-image: linear-gradient(to bottom, #000, transparent)) {
	.amatoki-acl__notice--fade-adjacent {
		margin-top: 0.75rem;
	}
}

.amatoki-acl__notice-inner {
	min-width: 0;
}

.amatoki-acl__notice-inner > :first-child {
	margin-top: 0;
}

.amatoki-acl__notice-inner > :last-child {
	margin-bottom: 0;
}

.amatoki-acl__notice .amatoki-acl__notice-title,
.amatoki-acl__notice .amatoki-acl__notice-body {
	max-width: 100%;
	overflow-wrap: anywhere;
}

.amatoki-acl__notice .amatoki-acl__recheck {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	max-width: 100%;
	min-height: 44px;
	margin: 0;
	padding: 10px 16px;
	border: 1px solid var(--amatoki-acl-accent);
	border-radius: 6px;
	color: #fff;
	background-color: var(--amatoki-acl-accent);
	font-family: inherit;
	font-size: 1em;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
	white-space: normal;
	overflow-wrap: anywhere;
	cursor: pointer;
	transition: filter 120ms ease;
}

.amatoki-acl__notice .amatoki-acl__recheck:hover {
	filter: brightness(0.9);
}

.amatoki-acl__notice .amatoki-acl__recheck:focus-visible {
	outline: 2px solid var(--amatoki-acl-text);
	outline-offset: 3px;
}

.amatoki-acl__notice .amatoki-acl__recheck:disabled {
	opacity: 0.7;
	cursor: wait;
}

.amatoki-acl__notice .amatoki-acl__recheck-status {
	max-width: 100%;
	min-height: 1.45em;
	margin: 12px 0 0;
	font-size: 0.875em;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

.amatoki-acl__notice .amatoki-acl__recheck-status:empty {
	opacity: 0;
}

.amatoki-acl__notice .amatoki-acl__recheck-status--checking {
	color: var(--amatoki-acl-text);
	opacity: 0.8;
}

.amatoki-acl__notice .amatoki-acl__recheck-status--blocked {
	color: #835400;
	font-weight: 600;
}

.amatoki-acl__notice .amatoki-acl__recheck-status--success {
	color: #176b45;
	font-weight: 600;
}

.amatoki-acl__notice .amatoki-acl__recheck-status--error {
	color: #a12622;
	font-weight: 600;
}

.amatoki-acl__notice .amatoki-acl__notice-title {
	margin: 0 0 14px;
	font-size: var(--amatoki-acl-title-size);
	font-weight: 700;
	line-height: 1.4;
}

.amatoki-acl__notice .amatoki-acl__notice-body {
	margin: 0 0 20px;
	font-size: var(--amatoki-acl-body-size);
	line-height: 1.6;
	white-space: pre-line;
}

.amatoki-acl__notice-icon {
	display: none;
	flex: 0 0 auto;
	color: var(--amatoki-acl-accent);
}

.amatoki-acl__notice-icon svg {
	display: block;
	max-width: 100%;
}

.amatoki-acl__notice--card {
	border-left: 4px solid var(--amatoki-acl-accent);
}

.amatoki-acl__notice--info {
	display: flex;
	align-items: flex-start;
	gap: 0.85em;
}

.amatoki-acl__notice--info .amatoki-acl__notice-icon {
	display: block;
	margin-top: 0.1em;
}

.amatoki-acl__notice--info .amatoki-acl__notice-inner {
	flex: 1 1 auto;
}

.amatoki-acl__notice--divider {
	border-right: 0;
	border-bottom: 1px solid var(--amatoki-acl-border);
	border-left: 0;
	border-radius: 0;
}

.amatoki-acl__notice--label .amatoki-acl__notice-title {
	display: inline-block;
	max-width: 100%;
	margin-bottom: 0.7em;
	padding: 0.2em 0.65em;
	border: 1px solid var(--amatoki-acl-accent);
	border-radius: calc(var(--amatoki-acl-radius) / 2);
	font-size: var(--amatoki-acl-title-size);
	font-weight: 700;
}

.amatoki-acl__test-mode {
	display: block;
	margin-top: 0.75em;
	font-size: 0.8em;
	opacity: 0.75;
}

.amatoki-acl__test-mode[hidden] {
	display: none !important;
}

@media (max-width: 480px) {
	.amatoki-acl__notice {
		max-width: 100%;
		padding: min(var(--amatoki-acl-padding), 20px);
	}

	.amatoki-acl__notice--info {
		gap: 0.65em;
	}
}
