.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;
}

.amatoki-acl__toc-warning {
	--amatoki-acl-safe-area-top: env(safe-area-inset-top, 0px);
	--amatoki-acl-safe-area-right: env(safe-area-inset-right, 0px);
	--amatoki-acl-safe-area-bottom: env(safe-area-inset-bottom, 0px);
	--amatoki-acl-safe-area-left: env(safe-area-inset-left, 0px);
	--amatoki-acl-popover-background: #fffdf5;
	--amatoki-acl-popover-text: #25313c;
	--amatoki-acl-popover-border: #d5c38f;
	--amatoki-acl-popover-icon: #896600;
	--amatoki-acl-popover-radius: 6px;
	--amatoki-acl-popover-width: 320px;
	--amatoki-acl-popover-height: auto;
	position: fixed;
	display: flex;
	align-items: stretch;
	gap: 0.55rem;
	box-sizing: border-box;
	width: var(--amatoki-acl-popover-width);
	height: var(--amatoki-acl-popover-height);
	max-width: calc(100vw - 16px);
	min-height: 0;
	padding: 0.65rem 0.8rem;
	border: 1px solid var(--amatoki-acl-popover-border);
	border-radius: var(--amatoki-acl-popover-radius);
	background: var(--amatoki-acl-popover-background);
	box-shadow: 0 3px 12px rgba(37, 49, 60, 0.16);
	color: var(--amatoki-acl-popover-text);
	font-size: 14px;
	line-height: 1.45;
	white-space: normal;
	word-break: normal;
	overflow-wrap: anywhere;
	pointer-events: none;
	overflow: hidden;
}

.amatoki-acl__toc-warning-icon {
	flex: 0 0 1.15em;
	margin-top: 0.08em;
	color: var(--amatoki-acl-popover-icon);
	font-size: 1.05em;
	font-weight: 700;
	line-height: 1.1;
	text-align: center;
}

.amatoki-acl__toc-warning-content {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 0;
	max-height: 100%;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	pointer-events: auto;
}

.amatoki-acl__toc-warning-content:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: -2px;
}

.amatoki-acl__toc-warning-ok {
	display: inline-flex;
	flex: 0 0 auto;
	align-self: flex-start;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	margin: 0;
	padding: 8px 12px;
	border: 1px solid var(--amatoki-acl-popover-icon);
	border-radius: 4px;
	background: var(--amatoki-acl-popover-icon);
	color: #fff;
	font: inherit;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	pointer-events: auto;
}

.amatoki-acl__toc-warning-ok:hover {
	filter: brightness(0.9);
}

.amatoki-acl__toc-warning-ok:focus-visible {
	outline: 2px solid #25313c;
	outline-offset: 2px;
}

.amatoki-acl__toc-warning-title,
.amatoki-acl__toc-warning-body {
	display: block;
	max-width: 100%;
	margin: 0;
	font-size: inherit;
	line-height: inherit;
}

.amatoki-acl__toc-warning-title {
	font-weight: 700;
}

.amatoki-acl__toc-warning-body {
	margin-top: 0.15rem;
	font-size: 0.92em;
	white-space: pre-line;
}

.amatoki-acl__toc-warning[data-shadow="none"] {
	box-shadow: none;
}

.amatoki-acl__toc-warning[data-shadow="weak"] {
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.14);
}

.amatoki-acl__toc-warning[data-shadow="standard"] {
	box-shadow: 0 3px 12px rgba(37, 49, 60, 0.16);
}

@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__recheck-reload {
	margin-inline-start: 0.35em;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.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;
	}
}
