/* ==========================================================================
   PZ Adventskalender – Frontend
   Farben kommen als CSS-Variablen aus den Einstellungen (:root) bzw. aus Elementor.
   ========================================================================== */

:root {
	--adk-bg: #0f2340;
	--adk-door-1: #b3202a;
	--adk-door-2: #1d5c3a;
	--adk-door-3: #c8962e;
	--adk-door-4: #1f3f73;
	--adk-number: #ffffff;
	--adk-accent: #e8b54a;
	--adk-accent-text: #1b1b1b;
}

/* --------------------------------------------------------------------------
   Container
   -------------------------------------------------------------------------- */
.adk {
	--adk-gap: 14px;
	--adk-radius: 12px;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	container-type: inline-size;
	container-name: adk;
	border-radius: 20px;
	color: #fff;
	background-color: var(--adk-bg);
	background-image: var(--adk-bg-image, radial-gradient(120% 70% at 50% 0%, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 60%));
	background-size: cover;
	background-position: center;
	-webkit-font-smoothing: antialiased;
}

/* Sternenhimmel */
.adk::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	opacity: .55;
	background-image:
		radial-gradient(1.5px 1.5px at 12% 18%, #fff 50%, transparent 51%),
		radial-gradient(1px 1px at 28% 72%, #fff 50%, transparent 51%),
		radial-gradient(1.5px 1.5px at 46% 34%, #fff 50%, transparent 51%),
		radial-gradient(1px 1px at 64% 12%, #fff 50%, transparent 51%),
		radial-gradient(1.5px 1.5px at 78% 58%, #fff 50%, transparent 51%),
		radial-gradient(1px 1px at 90% 26%, #fff 50%, transparent 51%),
		radial-gradient(1px 1px at 6% 88%, #fff 50%, transparent 51%),
		radial-gradient(1.5px 1.5px at 54% 92%, #fff 50%, transparent 51%);
	background-size: 320px 320px;
	animation: adk-twinkle 6s ease-in-out infinite alternate;
}

.adk__snow {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 3;
	pointer-events: none;
}

.adk__inner {
	position: relative;
	z-index: 1;
	max-width: 1200px;
	margin: 0 auto;
	padding: clamp(16px, 4cqi, 48px);
}

.adk__header {
	text-align: center;
	margin: 0 0 clamp(12px, 2.5cqi, 24px);
}

.adk .adk__title {
	margin: 0 0 .35em;
	padding: 0;
	color: #fff;
	font-size: clamp(1.5rem, 4.6cqi, 2.8rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -.01em;
	text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}

.adk .adk__subtitle {
	margin: 0;
	color: rgba(255, 255, 255, .86);
	font-size: clamp(.95rem, 2cqi, 1.2rem);
	line-height: 1.45;
}

.adk__status {
	min-height: 1.5em;
	margin: 0 0 clamp(14px, 3cqi, 28px);
	text-align: center;
	font-size: .95rem;
	line-height: 1.4;
	color: rgba(255, 255, 255, .9);
}

.adk__status:empty {
	visibility: hidden;
}

.adk__status span {
	display: inline-block;
	padding: .45em 1em;
	border-radius: 1.2em;
	background: rgba(255, 255, 255, .12);
	border: 1px solid rgba(255, 255, 255, .18);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.adk__status .adk__test {
	background: #fff3cd;
	color: #664d03;
	border-color: #ffe69c;
	margin-top: .4em;
}

.adk__noscript {
	text-align: center;
	padding: 1em;
}

/* --------------------------------------------------------------------------
   Raster
   -------------------------------------------------------------------------- */
.adk .adk__grid {
	--adk-cols-auto: 3;
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: var(--adk-gap);
	grid-template-columns: repeat(var(--adk-cols, var(--adk-cols-auto)), minmax(0, 1fr));
	grid-auto-rows: 1fr;
	grid-auto-flow: dense;
}

.adk--mosaic .adk__grid {
	grid-template-columns: repeat(var(--adk-cols-auto), minmax(0, 1fr));
}

@container adk (min-width: 560px) {
	.adk .adk__grid { --adk-cols-auto: 4; }
	.adk--mosaic .adk-door--d24 { grid-column: span 2; grid-row: span 2; }
	.adk--mosaic .adk-door--d6 { grid-column: span 2; }
}

@container adk (min-width: 860px) {
	.adk .adk__grid { --adk-cols-auto: 6; }
	.adk--mosaic .adk-door--d18 { grid-column: span 2; }
	.adk--mosaic .adk-door--d12 { grid-row: span 2; }
}

/* --------------------------------------------------------------------------
   Türchen
   -------------------------------------------------------------------------- */
.adk .adk-door {
	--door-color: var(--adk-door-1);
	position: relative;
	margin: 0;
	padding: 0;
	aspect-ratio: 1 / 1;
	min-width: 0;
	perspective: 1000px;
	container-type: inline-size;
	animation: adk-pop .6s cubic-bezier(.2, .9, .3, 1.25) both;
	animation-delay: calc(var(--i, 0) * 35ms);
}

.adk .adk-door::marker { content: none; }

.adk--mosaic .adk-door--d24,
.adk--mosaic .adk-door--d6,
.adk--mosaic .adk-door--d18,
.adk--mosaic .adk-door--d12 {
	aspect-ratio: auto;
}

.adk .adk-door--v2 { --door-color: var(--adk-door-2); }
.adk .adk-door--v3 { --door-color: var(--adk-door-3); }
.adk .adk-door--v4 { --door-color: var(--adk-door-4); }

/* Theme-/Elementor-Button-Stile neutralisieren */
.adk .adk-door__btn,
.adk .adk-door__btn:hover,
.adk .adk-door__btn:focus,
.adk .adk-door__btn:active {
	-webkit-appearance: none;
	appearance: none;
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: var(--adk-radius);
	background: transparent;
	box-shadow: none;
	color: inherit;
	font: inherit;
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: none;
	cursor: pointer;
	transform-style: preserve-3d;
	-webkit-tap-highlight-color: transparent;
}

.adk .adk-door__btn:focus-visible {
	outline: 3px solid var(--adk-accent);
	outline-offset: 3px;
}

/* Rückwand mit Geschenk */
.adk-door__inside {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border-radius: var(--adk-radius);
	background-color: rgba(0, 0, 0, .38);
	background-size: cover;
	background-position: center;
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .08), inset 0 6px 24px rgba(0, 0, 0, .65);
	color: var(--adk-accent);
}

.adk-door__inside.has-image .adk-door__gift { opacity: 0; }

.adk-door__gift {
	width: 42%;
	max-width: 72px;
	opacity: .9;
	transform: scale(.6);
	transition: transform .6s .35s cubic-bezier(.2, .9, .3, 1.4), opacity .3s;
	filter: drop-shadow(0 0 12px color-mix(in srgb, var(--adk-accent) 60%, transparent));
}

.adk-door__gift svg { width: 100%; height: auto; display: block; }

.adk-door.is-open .adk-door__gift { transform: scale(1); }

/* Türflügel */
.adk-door__leaf {
	position: absolute;
	inset: 0;
	transform-origin: 0 50%;
	transform-style: preserve-3d;
	transition: transform .9s cubic-bezier(.55, -0.1, .25, 1.15);
	will-change: transform;
}

.adk-door__face,
.adk-door__back {
	position: absolute;
	inset: 0;
	border-radius: var(--adk-radius);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.adk-door__face {
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, .18) 100%),
		radial-gradient(rgba(255, 255, 255, .13) 1px, transparent 1.6px) 0 0 / 14px 14px,
		var(--door-color);
	box-shadow: 0 6px 16px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .25);
	outline: 2px dashed rgba(255, 255, 255, .28);
	outline-offset: -7px;
	transition: filter .3s, box-shadow .3s;
}

/* Türknauf */
.adk-door__face::after {
	content: "";
	position: absolute;
	right: 9%;
	top: 50%;
	width: max(6px, 5cqi);
	height: max(6px, 5cqi);
	border-radius: 50%;
	transform: translateY(-50%);
	background: radial-gradient(circle at 35% 35%, #fff6d8, var(--adk-accent) 55%, #8a6418);
	box-shadow: 0 1px 2px rgba(0, 0, 0, .4);
}

.adk-door__back {
	transform: rotateY(180deg);
	background:
		linear-gradient(90deg, rgba(0, 0, 0, .25), rgba(0, 0, 0, .05)),
		var(--door-color);
	filter: brightness(.7);
}

.adk-door__number {
	position: relative;
	z-index: 1;
	color: var(--adk-number);
	font-size: clamp(1.1rem, 34cqi, 6rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.02em;
	text-shadow: 0 2px 0 rgba(0, 0, 0, .22), 0 6px 20px rgba(0, 0, 0, .25);
	font-variant-numeric: lining-nums;
}

.adk-door__deco {
	position: absolute;
	top: 8%;
	left: 9%;
	width: max(12px, 14cqi);
	color: var(--adk-accent);
	opacity: .85;
}

.adk-door__deco svg { width: 100%; height: auto; display: block; }

.adk-door__badge {
	position: absolute;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity .25s, transform .25s;
}

.adk-door__badge--lock {
	right: 7%;
	bottom: 7%;
	width: max(20px, 18cqi);
	height: max(20px, 18cqi);
	border-radius: 50%;
	background: rgba(0, 0, 0, .35);
	color: #fff;
	transform: scale(.7);
}

.adk-door__badge--lock svg { width: 58%; height: auto; }

.adk-door__badge--today {
	top: 8%;
	right: 6%;
	padding: .35em .7em;
	border-radius: 999px;
	background: var(--adk-accent);
	color: var(--adk-accent-text);
	font-size: clamp(.6rem, 9cqi, .9rem);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .04em;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
}

/* --- Zustände --- */

/* Gesperrt */
.adk-door[data-state="locked"] .adk-door__btn { cursor: default; }
.adk-door[data-state="locked"] .adk-door__btn:hover .adk-door__badge--lock,
.adk-door[data-state="locked"] .adk-door__btn:focus-visible .adk-door__badge--lock,
.adk-door.is-shake .adk-door__badge--lock {
	opacity: 1;
	transform: scale(1);
}

.adk-door.is-shake .adk-door__leaf { animation: adk-shake .5s ease; }

/* Heute */
.adk-door[data-state="today"] { z-index: 2; }

.adk-door[data-state="today"]:not(.is-open) .adk-door__badge--today { opacity: 1; }

.adk-door[data-state="today"]:not(.is-open) .adk-door__face {
	animation: adk-glow 2.2s ease-in-out infinite;
}

.adk-door[data-state="today"]:not(.is-open) .adk-door__leaf {
	animation: adk-wiggle 5s ease-in-out 1.5s infinite;
}

.adk-door[data-state="today"]:not(.is-open) .adk-door__btn:hover .adk-door__leaf,
.adk-door[data-state="today"]:not(.is-open) .adk-door__btn:focus-visible .adk-door__leaf {
	animation: none;
	transform: rotateY(-22deg);
}

/* Vergangen */
.adk-door[data-state="past"]:not(.is-open) .adk-door__face {
	filter: saturate(.45) brightness(.72);
}

.adk-door[data-state="past"] .adk-door__btn { cursor: default; }
.adk[data-past-view="1"] .adk-door[data-state="past"].is-open .adk-door__btn { cursor: pointer; }

/* Geöffnet */
.adk-door.is-open { z-index: 3; }

.adk-door.is-open .adk-door__leaf {
	transform: rotateY(-108deg);
}

.adk-door.is-open .adk-door__face { box-shadow: none; }

/* Partikel beim Öffnen */
.adk-burst {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 5;
	pointer-events: none;
}

.adk-burst i {
	position: absolute;
	left: 0;
	top: 0;
	width: var(--s, 8px);
	height: var(--s, 8px);
	border-radius: 50%;
	background: var(--c, var(--adk-accent));
	box-shadow: 0 0 8px var(--c, var(--adk-accent));
	animation: adk-fly .9s cubic-bezier(.1, .8, .3, 1) forwards;
}

.adk-burst i:nth-child(3n) { border-radius: 1px; }

/* --------------------------------------------------------------------------
   Lightbox
   -------------------------------------------------------------------------- */
.adk-lightbox {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	color: #1d2433;
}

.adk-lightbox[hidden] { display: none; }

.adk-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(6, 14, 28, .72);
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
	animation: adk-fade .3s ease both;
}

.adk-lightbox__dialog {
	position: relative;
	width: 100%;
	max-width: 640px;
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
	overflow: auto;
	overscroll-behavior: contain;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
	animation: adk-zoom .5s cubic-bezier(.2, .9, .3, 1.2) both;
}

.adk-lightbox.is-closing .adk-lightbox__backdrop { animation: adk-fade .25s ease reverse both; }
.adk-lightbox.is-closing .adk-lightbox__dialog { animation: adk-zoom-out .25s ease both; }

.adk-lightbox .adk-lightbox__close,
.adk-lightbox .adk-lightbox__close:hover,
.adk-lightbox .adk-lightbox__close:focus {
	-webkit-appearance: none;
	appearance: none;
	position: sticky;
	top: 12px;
	float: right;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	min-height: 0;
	margin: 12px 12px -52px 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .92);
	color: #1d2433;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
	cursor: pointer;
	font: inherit;
	line-height: 1;
}

.adk-lightbox .adk-lightbox__close:hover { transform: rotate(90deg); transition: transform .25s; }
.adk-lightbox .adk-lightbox__close:focus-visible { outline: 3px solid var(--adk-accent); outline-offset: 2px; }

.adk-lightbox__body { min-height: 200px; }

@media (max-width: 560px) {
	.adk-lightbox {
		align-items: flex-end;
		padding: 0;
	}
	.adk-lightbox__dialog {
		max-height: 94vh;
		max-height: 94dvh;
		border-radius: 20px 20px 0 0;
		animation-name: adk-sheet;
	}
	.adk-lightbox.is-closing .adk-lightbox__dialog { animation: adk-sheet .25s ease reverse both; }
}

/* --------------------------------------------------------------------------
   Inhalt (Lightbox + Teilnahmeseite)
   -------------------------------------------------------------------------- */
.adk-content__media {
	position: relative;
	margin: 0;
	background: var(--adk-bg);
}

.adk-content__media img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 340px;
	object-fit: cover;
}

.adk-content__hero {
	position: relative;
	padding: 34px 24px 26px;
	color: #fff;
	text-align: center;
	background:
		radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1.6px) 0 0 / 14px 14px,
		linear-gradient(135deg, var(--adk-door-1), var(--adk-door-4));
}

.adk-content__hero .adk-door__gift {
	display: block;
	width: 64px;
	margin: 0 auto;
	color: var(--adk-accent);
	transform: none;
	animation: adk-bounce 1.4s ease-in-out infinite;
}

.adk-content__inner { padding: 24px clamp(18px, 5vw, 36px) 30px; }

.adk-content__eyebrow {
	display: inline-block;
	margin: 0 0 10px;
	padding: .3em .8em;
	border-radius: 999px;
	background: color-mix(in srgb, var(--adk-accent) 22%, #fff);
	color: #5b4310;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
}

.adk-content .adk-content__title {
	margin: 0 0 12px;
	padding: 0;
	color: inherit;
	font-size: clamp(1.35rem, 4vw, 1.75rem);
	font-weight: 800;
	line-height: 1.2;
}

.adk-content__text {
	margin: 0 0 20px;
	font-size: 1rem;
	line-height: 1.6;
}

.adk-content__text > *:last-child { margin-bottom: 0; }

.adk-content__notice {
	margin: 0 0 16px;
	padding: 12px 14px;
	border-radius: 10px;
	background: #f1f4f9;
	color: #3b4659;
}

.adk-content__actions { margin-top: 8px; }

/* Buttons */
.adk-button,
a.adk-button,
.adk-form .adk-button {
	-webkit-appearance: none;
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	min-height: 50px;
	padding: .8em 1.6em;
	border: 0;
	border-radius: 999px;
	background: var(--adk-accent);
	color: var(--adk-accent-text);
	box-shadow: 0 6px 18px color-mix(in srgb, var(--adk-accent) 45%, transparent);
	font: inherit;
	font-size: 1.02rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	text-transform: none;
	cursor: pointer;
	transition: transform .2s, box-shadow .2s, filter .2s;
}

.adk-button:hover,
a.adk-button:hover,
.adk-form .adk-button:hover,
.adk-button:focus,
.adk-form .adk-button:focus {
	background: var(--adk-accent);
	color: var(--adk-accent-text);
	filter: brightness(1.06);
	transform: translateY(-1px);
	text-decoration: none;
}

.adk-button:focus-visible { outline: 3px solid #1d2433; outline-offset: 3px; }
.adk-button[disabled] { opacity: .65; cursor: wait; transform: none; }

/* Formular */
.adk-form { margin: 0; }

.adk-form__row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0 14px;
}

@media (min-width: 480px) {
	.adk-form__row { grid-template-columns: 1fr 1fr; }
	.adk-form__row--zip { grid-template-columns: 120px 1fr; }
}

.adk-field { margin: 0 0 14px; min-width: 0; }

.adk-form .adk-field > label {
	display: block;
	margin: 0 0 5px;
	color: #2c3547;
	font-size: .9rem;
	font-weight: 600;
	line-height: 1.3;
}

.adk-req { color: #b3202a; }

.adk-form input[type="text"],
.adk-form input[type="email"],
.adk-form input[type="tel"] {
	-webkit-appearance: none;
	appearance: none;
	box-sizing: border-box;
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	min-height: 48px;
	margin: 0;
	padding: 11px 14px;
	border: 1.5px solid #cfd6e2;
	border-radius: 10px;
	background: #fff;
	color: #1d2433;
	box-shadow: none;
	font: inherit;
	font-size: 16px; /* verhindert Zoom auf iOS */
	line-height: 1.3;
	transition: border-color .2s, box-shadow .2s;
}

.adk-form input:focus {
	outline: none;
	border-color: var(--adk-door-4);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--adk-door-4) 22%, transparent);
}

.adk-field.has-error input { border-color: #c62828; }

.adk-field__error {
	display: block;
	color: #c62828;
	font-size: .82rem;
	line-height: 1.3;
}

.adk-field__error:not(:empty) { margin-top: 4px; }

.adk-check {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: .9rem;
	line-height: 1.45;
	color: #3b4659;
	cursor: pointer;
}

.adk-check input {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin: 1px 0 0;
	accent-color: var(--adk-door-4);
}

.adk-check a { color: inherit; text-decoration: underline; }

.adk-form__hint {
	margin: 0 0 14px;
	color: #6b7588;
	font-size: .8rem;
}

.adk-form__message:not(:empty) {
	margin: 0 0 14px;
	padding: 12px 14px;
	border-radius: 10px;
	font-size: .95rem;
	line-height: 1.45;
}

.adk-form__message.is-error { background: #fdecec; color: #8e1c1c; }

.adk-success {
	padding: 22px;
	border-radius: 14px;
	background: #e9f7ef;
	color: #135a32;
	text-align: center;
	font-size: 1.05rem;
	line-height: 1.5;
	animation: adk-zoom .5s cubic-bezier(.2, .9, .3, 1.2) both;
}

.adk-success__icon {
	display: block;
	margin: 0 auto 8px;
	font-size: 2.2rem;
	line-height: 1;
}

.adk-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* --------------------------------------------------------------------------
   Teilnahmeseite
   -------------------------------------------------------------------------- */
.adk-participation {
	max-width: 760px;
	margin: 0 auto;
	color: #1d2433;
}

.adk-participation .adk-content {
	overflow: hidden;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 10px 40px rgba(15, 35, 64, .14);
}

.adk-loading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 200px;
	margin: 0;
	color: #6b7588;
}

.adk-spinner {
	width: 22px;
	height: 22px;
	border: 3px solid rgba(0, 0, 0, .12);
	border-top-color: var(--adk-door-1);
	border-radius: 50%;
	animation: adk-spin .8s linear infinite;
}

.adk-message-box {
	padding: 32px 24px;
	border-radius: 20px;
	background: #f4f6fa;
	text-align: center;
	line-height: 1.5;
}

/* Hinweis-Toast */
.adk-toast {
	position: fixed;
	left: 50%;
	bottom: max(20px, env(safe-area-inset-bottom));
	z-index: 999998;
	max-width: calc(100vw - 32px);
	padding: 12px 20px;
	border-radius: 14px;
	background: rgba(17, 24, 39, .94);
	color: #fff;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
	font-size: .95rem;
	line-height: 1.35;
	text-align: center;
	transform: translate(-50%, 20px);
	opacity: 0;
	transition: opacity .3s, transform .3s;
	pointer-events: none;
}

.adk-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

html.adk-no-scroll, html.adk-no-scroll body { overflow: hidden; }

/* --------------------------------------------------------------------------
   Animationen
   -------------------------------------------------------------------------- */
@keyframes adk-pop {
	from { opacity: 0; transform: translateY(14px) scale(.85); }
	to { opacity: 1; transform: none; }
}

@keyframes adk-glow {
	0%, 100% { box-shadow: 0 6px 16px rgba(0, 0, 0, .35), 0 0 0 0 color-mix(in srgb, var(--adk-accent) 70%, transparent); }
	50% { box-shadow: 0 6px 16px rgba(0, 0, 0, .35), 0 0 22px 6px color-mix(in srgb, var(--adk-accent) 55%, transparent); }
}

@keyframes adk-wiggle {
	0%, 82%, 100% { transform: rotateY(0); }
	86% { transform: rotateY(-14deg); }
	90% { transform: rotateY(-4deg); }
	94% { transform: rotateY(-10deg); }
}

@keyframes adk-shake {
	0%, 100% { transform: translateX(0); }
	20% { transform: translateX(-6px) rotate(-1deg); }
	40% { transform: translateX(5px) rotate(1deg); }
	60% { transform: translateX(-4px); }
	80% { transform: translateX(3px); }
}

@keyframes adk-fly {
	0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
	100% { transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(.2); opacity: 0; }
}

@keyframes adk-twinkle {
	from { opacity: .35; }
	to { opacity: .7; }
}

@keyframes adk-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes adk-zoom {
	from { opacity: 0; transform: translateY(24px) scale(.9); }
	to { opacity: 1; transform: none; }
}

@keyframes adk-zoom-out {
	to { opacity: 0; transform: translateY(16px) scale(.94); }
}

@keyframes adk-sheet {
	from { transform: translateY(100%); }
	to { transform: none; }
}

@keyframes adk-bounce {
	0%, 100% { transform: translateY(0) rotate(-4deg); }
	50% { transform: translateY(-8px) rotate(4deg); }
}

@keyframes adk-spin {
	to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
	.adk *,
	.adk::before,
	.adk-lightbox *,
	.adk-content * {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}
