.dayz-spoiler {
	position: relative;
	margin: 1.5em 0;
	overflow: hidden;
	border-radius: 8px;
	background: #111;
}

.dayz-spoiler__content {
	min-height: 180px;
	filter: blur(18px);
	transform: scale(1.025);
	opacity: .72;
	pointer-events: none;
	user-select: none;
	transition: filter .25s ease, transform .25s ease, opacity .25s ease;
}

.dayz-spoiler__content > :first-child {
	margin-top: 0;
}

.dayz-spoiler__content > :last-child {
	margin-bottom: 0;
}

.dayz-spoiler__button {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: .45em;
	width: 100%;
	min-height: 180px;
	padding: 2em;
	border: 0;
	color: #fff;
	background: rgba( 0, 0, 0, .42 );
	cursor: pointer;
	text-align: center;
}

.dayz-spoiler__button:hover,
.dayz-spoiler__button:focus-visible {
	background: rgba( 0, 0, 0, .55 );
}

.dayz-spoiler__button:focus-visible {
	outline: 3px solid #fff;
	outline-offset: -5px;
}

.dayz-spoiler__button[hidden] {
	display: none;
}

.dayz-spoiler__label {
	font-size: clamp( 1.15rem, 3vw, 1.5rem );
}

.dayz-spoiler__button-text {
	display: inline-block;
	padding: .5em 1em;
	border: 1px solid rgba( 255, 255, 255, .75 );
	border-radius: 999px;
	font-size: .9rem;
}

.dayz-spoiler.is-revealed {
	overflow: visible;
	background: transparent;
}

.dayz-spoiler.is-revealed .dayz-spoiler__content {
	filter: none;
	transform: none;
	opacity: 1;
	pointer-events: auto;
	user-select: auto;
}

.dayz-spoiler-editor {
	padding: 16px;
	border: 2px dashed #777;
	border-radius: 8px;
}

.dayz-spoiler-editor__notice {
	display: flex;
	flex-direction: column;
	gap: 3px;
	margin-bottom: 16px;
	padding: 10px 12px;
	border-left: 4px solid #b32d2e;
	background: #f0f0f1;
	color: #1e1e1e;
}

@media ( prefers-reduced-motion: reduce ) {
	.dayz-spoiler__content {
		transition: none;
	}
}
