body.asmon-page-template,
body.asmon-tpl-page {
	--asmon-bg: #0e0b08;
	--asmon-bg-elevated: #16120d;
	--asmon-text: #7a6a52;
	--asmon-text-bright: #e8dec8;
	--asmon-accent: #c9a84c;
	--asmon-line: #1a1208;
	--asmon-content: min(42rem, 100%);
	--asmon-wide: min(72rem, 100%);
	--asmon-hero-gutter: clamp(1rem, 4vw, 4rem);
	--asmon-chrome-top: clamp(0.5rem, 1.5vw, 0.75rem);
	--asmon-chrome-gutter: var(--asmon-hero-gutter);
	--asmon-chrome-right: var(--asmon-hero-gutter);
	--asmon-chrome-burger-top: 45px;
	--asmon-chrome-burger-size: 44px;
	--asmon-chrome-burger-gap: calc(var(--asmon-chrome-right) + var(--asmon-chrome-burger-size) + 0.5rem);
	--asmon-chrome-band: clamp(3rem, 10vw, 4rem);
	--asmon-hero-inner-max: 52rem;
	--asmon-font-body: "Crimson Pro", Georgia, "Times New Roman", serif;
	--asmon-font-display: "Cinzel", Georgia, serif;
	--asmon-placeholder: rgba(232, 220, 196, 0.52);
	color: var(--asmon-text);
	background-color: var(--asmon-bg);
	font-family: var(--asmon-font-body);
}

body.asmon-page-template main,
body.asmon-tpl-page main,
body.asmon-page-template .site-main,
body.asmon-page-template #main,
body.asmon-page-template .asmon-layout,
body.asmon-tpl-page .asmon-layout,
body.asmon-page-template .asmon-hero,
body.asmon-tpl-page .asmon-hero {
	background: transparent;
	color: var(--asmon-text);
}

body.asmon-page-template :where(
	.entry-content,
	.wp-block-post-content,
	.asmon-layout,
	.asmon-prose,
	.asmon-immersif,
	.tpl-section-band,
	.asmon-contact-grid
) :where(h1, h2, h3, h4, h5, h6, strong, b, dt) {
	color: var(--asmon-text-bright) !important;
}

body.asmon-page-template :where(
	.entry-content,
	.wp-block-post-content,
	.asmon-prose,
	.asmon-layout,
	.asmon-immersif
) :where(p:not(.quote-band__text), li, dd, td, th, label, figcaption, .wp-block-paragraph) {
	color: var(--asmon-text) !important;
}

body.asmon-page-template .asmon-immersif :where(.section__label, .chapter__num, .portal__tag, .portal__arrow, .quote-band__attr, .hero__eyebrow) {
	color: var(--asmon-accent) !important;
}

body.asmon-page-template :where(.entry-content, .asmon-prose) a:not(.btn):not(.asmon-card):not(.portal):not([class*="asmon-tier-card__"]) {
	color: var(--asmon-accent);
	text-decoration: underline;
	text-underline-offset: 0.18em;
	text-decoration-color: rgba(201, 168, 76, 0.45);
	transition: color 0.25s ease, text-decoration-color 0.25s ease, text-shadow 0.25s ease;
}

body.asmon-page-template :where(.entry-content, .asmon-prose) a:not(.btn):not(.asmon-card):not(.portal):not([class*="asmon-tier-card__"]):hover {
	color: var(--asmon-text-bright);
	text-decoration-color: var(--asmon-accent);
	text-shadow: 0 0 14px rgba(201, 168, 76, 0.25);
}

body.asmon-page-template .asmon-immersif a.portal,
body.asmon-page-template .asmon-immersif a.portal:visited,
body.asmon-page-template .asmon-immersif a.portal:hover {
	color: var(--asmon-text) !important;
	text-decoration: none !important;
}

body.asmon-page-template--accueil-immersif .entry-content .asmon-immersif :is(
	.section__title,
	.chapter__title,
	.portal__title,
	.meta__card h3
) {
	text-transform: none !important;
	font-weight: 400 !important;
	letter-spacing: 0 !important;
	color: var(--asmon-text-bright) !important;
}

body.asmon-page-template--accueil-immersif .entry-content .asmon-immersif .portal__content p {
	color: var(--asmon-text) !important;
}

body.asmon-page-template--accueil-immersif .entry-content .asmon-immersif .portal__tag,
body.asmon-page-template--accueil-immersif .entry-content .asmon-immersif .portal__arrow {
	color: var(--asmon-accent) !important;
}

body.asmon-tpl-page :where(h1, h2, h3, h4, h5, h6, strong, b) {
	color: var(--asmon-text-bright);
}

body.asmon-tpl-page :where(p, li, figcaption) {
	color: var(--asmon-text);
}

body.asmon-page-template .ct-container,
body.asmon-page-template .ct-container-narrow,
body.asmon-page-template .ct-container-full,
body.asmon-page-template .entry-content,
body.asmon-page-template article {
	max-width: none;
	padding-left: 0;
	padding-right: 0;
	background: transparent;
}

.asmon-scroll-progress-rail {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 10000;
	height: 3px;
	pointer-events: none;
	background: rgba(201, 168, 76, 0.1);
	box-shadow: 0 0 20px rgba(201, 168, 76, 0.06);
}

.asmon-scroll-progress {
	--asmon-scroll-ratio: 0;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	transform: scaleX(var(--asmon-scroll-ratio));
	transform-origin: 0 50%;
	background: linear-gradient(
		90deg,
		rgba(201, 168, 76, 0.9) 0%,
		var(--asmon-accent) 38%,
		rgba(255, 232, 170, 1) 72%,
		rgba(232, 210, 140, 0.98) 100%
	);
	box-shadow: 0 0 14px rgba(201, 168, 76, 0.45);
	will-change: transform;
}

.asmon-scroll-progress::after {
	content: "";
	position: absolute;
	inset: -3px 0;
	background: linear-gradient(
		90deg,
		transparent 0%,
		rgba(255, 232, 170, 0.35) 50%,
		transparent 100%
	);
	box-shadow:
		0 0 14px rgba(255, 220, 150, 0.55),
		0 0 28px rgba(201, 168, 76, 0.4);
	opacity: 0.55;
	animation: asmon-scroll-progress-glow 3.2s ease-in-out infinite;
	pointer-events: none;
}

@keyframes asmon-scroll-progress-glow {
	0%,
	100% {
		opacity: 0.4;
	}

	50% {
		opacity: 1;
	}
}

@media (max-width: 899px) {
	.asmon-scroll-progress-rail {
		top: auto;
		bottom: 0;
	}
}

.asmon-hero {
	position: relative;
	padding: 0;
	border-bottom: 1px solid var(--asmon-line);
	overflow: hidden;
}

.asmon-hero--interlude {
	min-height: min(70vh, 640px);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.asmon-hero--interlude .asmon-hero__inner {
	max-width: 36rem;
	align-items: center;
	text-align: center;
}

.asmon-hero--interlude .asmon-hero__title-row {
	justify-content: center;
}

.asmon-hero--interlude .asmon-hero__scroll {
	display: none;
}

.asmon-hero--interlude .asmon-hero__lead {
	max-width: none;
	font-size: clamp(1.35rem, 4vw, 2rem);
	line-height: 1.45;
	color: var(--asmon-text-bright);
}

.asmon-page-template--chronologie .asmon-prose > h2 {
	position: relative;
	margin-left: 0.35rem;
	padding-left: 1rem;
	border-left: 2px solid var(--asmon-accent);
}

.asmon-hero__media {
	position: absolute;
	inset: 0;
	overflow: hidden;
	background-size: cover;
	background-position: center;
}

.asmon-hero__media .asmon-hero__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	filter: sepia(0.35) brightness(0.38);
}

.asmon-hero__media--fallback {
	filter: sepia(0.35) brightness(0.38);
	will-change: transform;
	animation: asmon-ken-burns 28s ease-in-out infinite alternate;
}

.asmon-hero__media:has(.asmon-hero__img) {
	will-change: transform;
	animation: asmon-ken-burns 28s ease-in-out infinite alternate;
}

.asmon-hero__media:has(.asmon-hero__img) .asmon-hero__img {
	will-change: transform;
	animation: inherit;
}

@keyframes asmon-ken-burns {
	from { transform: scale(1.05); }
	to { transform: scale(1.12); }
}

.asmon-hero__veil {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		var(--asmon-bg) 0%,
		rgba(14, 11, 8, 0.88) 38%,
		rgba(14, 11, 8, 0.35) 100%
	);
}

.asmon-hero__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	gap: 0.5rem;
	width: 100%;
	max-width: var(--asmon-hero-inner-max);
	margin: 0 auto;
	padding: clamp(1.25rem, 4vh, 2rem) var(--asmon-hero-gutter) clamp(1rem, 2.5vh, 1.5rem);
	box-sizing: border-box;
}

.asmon-hero--has-image .asmon-hero__inner {
	padding-top: clamp(2rem, 7vh, 3.5rem);
	padding-bottom: clamp(1.25rem, 4vh, 2rem);
}

.asmon-hero--compact .asmon-hero__inner {
	padding-top: clamp(1rem, 3vh, 1.5rem);
	padding-bottom: clamp(0.75rem, 2vh, 1.25rem);
}

.asmon-hero__title-row {
	display: flex;
	align-items: flex-start;
	width: 100%;
}

.asmon-hero__scroll {
	display: flex;
	flex-shrink: 0;
	flex-direction: column;
	align-items: flex-start;
	margin-top: 0.8rem;
	margin-right: 1rem;
}

.asmon-hero__scroll:has(.asmon-trace-mark) {
	align-items: center;
	justify-content: center;
	width: 1.85rem;
	min-height: 1.85rem;
	margin-top: 0.55rem;
}

/* Marqueur easter egg partagé — point lumineux errant */
.asmon-trace-mark {
	position: relative;
	display: block;
	width: 1.85rem;
	height: 1.85rem;
	flex-shrink: 0;
}

.asmon-trace-mark__halo {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 170%;
	height: 170%;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	pointer-events: none;
	background: radial-gradient(
		circle at center,
		rgba(255, 240, 210, 0.62) 0%,
		rgba(201, 168, 76, 0.28) 38%,
		transparent 72%
	);
	filter: blur(7px);
	opacity: 0.78;
	animation: asmon-trace-mark-halo 3.6s ease-in-out infinite;
}

.asmon-trace-mark__core {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	pointer-events: none;
	background: radial-gradient(circle at 32% 28%, #fff8e8 0%, #e8c878 52%, #c9a84c 100%);
	box-shadow:
		0 0 10px rgba(255, 236, 200, 1),
		0 0 22px rgba(201, 168, 76, 0.72),
		0 0 38px rgba(201, 168, 76, 0.32);
	animation: asmon-trace-mark-drift 3.6s ease-in-out infinite;
}

.asmon-trace-mark--die .asmon-trace-mark__core {
	width: var(--asmon-die-size, 15px);
	height: var(--asmon-die-size, 15px);
	border-radius: 0;
	background: none;
	box-shadow: none;
}

.asmon-trace-mark--die .asmon-trace-mark__glyph {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	pointer-events: none;
	user-select: none;
	-webkit-user-drag: none;
	filter:
		drop-shadow(0 0 4px rgba(255, 244, 220, 0.95))
		drop-shadow(0 0 10px rgba(201, 168, 76, 0.72));
}

body.asmon-character-front .asmon-cg__stepHunt .asmon-trace-mark--die .asmon-trace-mark__core {
	width: var(--asmon-die-size, 0.72rem);
	height: var(--asmon-die-size, 0.72rem);
	border-radius: 0;
	background: none;
	box-shadow: none;
}

@keyframes asmon-trace-mark-drift {
	0%,
	100% {
		transform: translate(-50%, -50%);
	}
	25% {
		transform: translate(-46%, -56%);
	}
	50% {
		transform: translate(-54%, -48%);
	}
	75% {
		transform: translate(-48%, -52%);
	}
}

@keyframes asmon-trace-mark-halo {
	0%,
	100% {
		opacity: 0.58;
		transform: translate(-50%, -50%) scale(0.9);
	}
	50% {
		opacity: 0.96;
		transform: translate(-50%, -50%) scale(1.16);
	}
}

.asmon-hero__scroll-line {
	display: block;
	width: 1px;
	height: 2.5rem;
	background: linear-gradient(to bottom, var(--asmon-accent), transparent);
	animation: asmon-hero-scroll-pulse 2.2s ease-in-out infinite;
}

@keyframes asmon-hero-scroll-pulse {
	0%,
	100% {
		opacity: 0.35;
		transform: scaleY(0.7);
	}

	50% {
		opacity: 1;
		transform: scaleY(1);
	}
}

.asmon-hero__title-group {
	flex: 1;
	min-width: 0;
}

.asmon-hero__title-row:not(:has(.asmon-hero__scroll)) .asmon-hero__title-group {
	padding-left: calc(1rem + 1px);
}

.asmon-hero--interlude .asmon-hero__title-group {
	padding-left: 0;
}

.asmon-hero__label {
	margin: 0 0 0.75rem;
	font-family: var(--asmon-font-display);
	font-size: 0.625rem;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--asmon-accent);
}

.asmon-hero__title {
	margin: 0 0 1rem;
	font-family: var(--asmon-font-display);
	font-size: clamp(2rem, 6vw, 3.25rem);
	font-weight: 400;
	line-height: 1.15;
	color: var(--asmon-text-bright);
}

.asmon-hero__lead {
	max-width: 36rem;
	width: 100%;
	margin: 0;
	font-size: clamp(1.05rem, 2.8vw, 1.2rem);
	font-style: italic;
	color: var(--asmon-text);
}

.asmon-hero__meta {
	margin-top: 1.25rem;
	font-size: 0.875rem;
	letter-spacing: 0.06em;
	color: var(--asmon-text);
}

body.asmon-page-template:not(.asmon-page-template--accueil-immersif) .asmon-hero__inner,
body.asmon-page-template:not(.asmon-page-template--accueil-immersif) .univers-hero__inner {
	align-items: center;
	text-align: center;
}

body.asmon-page-template:not(.asmon-page-template--accueil-immersif) .asmon-hero__label,
body.asmon-page-template:not(.asmon-page-template--accueil-immersif) .univers-kicker,
body.asmon-page-template:not(.asmon-page-template--accueil-immersif) .univers-hero__kicker {
	width: 100%;
	text-align: center;
}

body.asmon-page-template:not(.asmon-page-template--accueil-immersif) .asmon-hero__title-row {
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

body.asmon-page-template:not(.asmon-page-template--accueil-immersif) .asmon-hero__title-row:not(:has(.asmon-hero__scroll)) .asmon-hero__title-group,
body.asmon-page-template:not(.asmon-page-template--accueil-immersif) .asmon-hero__title-group {
	padding-left: 0;
	width: 100%;
}

body.asmon-page-template:not(.asmon-page-template--accueil-immersif) .asmon-hero__scroll {
	margin: 0 0 0.5rem;
	align-items: center;
}

body.asmon-page-template:not(.asmon-page-template--accueil-immersif) .asmon-hero__lead,
body.asmon-page-template:not(.asmon-page-template--accueil-immersif) .asmon-hero__meta,
body.asmon-page-template:not(.asmon-page-template--accueil-immersif) .univers-hero__lead {
	margin-left: auto;
	margin-right: auto;
}

body.asmon-page-template--univers .univers-hero .asmon-hero__title-row {
	flex-direction: row;
	align-items: flex-start;
	justify-content: center;
}

body.asmon-page-template--univers .univers-hero .asmon-hero__scroll,
body.asmon-page-template--univers .univers-hero .asmon-hero__scroll--hunt {
	flex-shrink: 0;
	margin: 0.8rem 1rem 0 0;
	align-items: flex-start;
}

body.asmon-page-template--univers .univers-hero .asmon-hero__title-group {
	width: auto;
	flex: 0 1 auto;
	max-width: 100%;
	text-align: left;
}

body.asmon-page-template--univers .univers-hero .asmon-hero__title,
body.asmon-page-template--univers .univers-hero .univers-hero__lead {
	margin-left: 0;
	margin-right: 0;
	text-align: left;
}

.asmon-hero--motion::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 90% 70% at 50% -10%, rgba(201, 168, 76, 0.12), transparent 65%);
	animation: asmon-hero-glow 9s ease-in-out infinite alternate;
	pointer-events: none;
}

.asmon-hero--motion {
	--asmon-hero-fade-dur: 2.1s;
	--asmon-hero-fade-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

.asmon-hero--motion .asmon-hero__inner > *,
.asmon-hero--motion .univers-hero__inner > * {
	opacity: 0;
	transform: none;
	filter: blur(8px);
	animation: asmon-hero-fade-in var(--asmon-hero-fade-dur) var(--asmon-hero-fade-ease) forwards;
}

.asmon-hero--motion .asmon-hero__label,
.asmon-hero--motion .univers-hero__kicker { animation-delay: 0.2s; }
.asmon-hero--motion .asmon-hero__title-row,
.asmon-hero--motion .asmon-hero__title,
.asmon-hero--motion .univers-hero__title { animation-delay: 0.55s; }
.asmon-hero--motion .asmon-hero__lead,
.asmon-hero--motion .univers-hero__lead { animation-delay: 0.95s; }
.asmon-hero--motion .asmon-hero__meta { animation-delay: 1.25s; }
.asmon-hero--motion .asmon-hero__scroll { animation-delay: 1.25s; }

@keyframes asmon-hero-glow {
	from { opacity: 0.55; }
	to { opacity: 1; }
}

@keyframes asmon-hero-fade-in {
	to {
		opacity: 1;
		filter: blur(0);
	}
}

.asmon-layout {
	max-width: var(--asmon-wide);
	margin: 0 auto;
	padding: clamp(2rem, 6vh, 3.5rem) clamp(1.25rem, 5vw, 2rem);
}

.asmon-layout--grid-aside {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
}

.asmon-layout--article {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
}

.asmon-layout--split {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
}

@media (min-width: 900px) {
	.asmon-layout--grid-aside {
		grid-template-columns: 14rem 1fr;
		align-items: start;
	}

	.asmon-layout--article {
		grid-template-columns: minmax(0, var(--asmon-content)) minmax(11rem, 16rem);
		justify-content: center;
		column-gap: clamp(2rem, 4vw, 3.5rem);
		align-items: start;
	}

	.asmon-layout--split {
		grid-template-columns: 1fr 1fr;
		align-items: start;
	}
}

.asmon-layout--narrow {
	max-width: calc(var(--asmon-content) + 2.5rem);
}

.asmon-rail {
	width: 100%;
	position: static;
	transform: none;
}

.asmon-prose {
	max-width: var(--asmon-content);
	line-height: 1.7;
}

.asmon-layout--wide .asmon-prose,
.asmon-prose--wide {
	max-width: none;
}

.asmon-prose > :first-child {
	margin-top: 0;
}

.asmon-prose h2 {
	margin: 2.5rem 0 1rem;
	font-family: var(--asmon-font-display);
	font-size: 1.35rem;
	font-weight: 400;
	color: var(--asmon-text-bright);
}

.asmon-prose--doc .asmon-prose-section,
.asmon-prose--legal .asmon-prose-section {
	margin-top: 2.75rem;
	border-bottom: 1px solid rgba(201, 168, 76, 0.12);
}

.asmon-prose--doc > .asmon-prose-section:first-child,
.asmon-prose--legal > .asmon-prose-section:first-child {
	margin-top: 0;
}

.asmon-prose--doc .asmon-prose-section__summary,
.asmon-prose--legal .asmon-prose-section__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin: 0;
	padding: 0 0 0.5rem;
	list-style: none;
	cursor: pointer;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
}

.asmon-prose--doc .asmon-prose-section__summary::-webkit-details-marker,
.asmon-prose--legal .asmon-prose-section__summary::-webkit-details-marker {
	display: none;
}

.asmon-prose--doc .asmon-prose-section__summary::marker,
.asmon-prose--legal .asmon-prose-section__summary::marker {
	content: '';
}

.asmon-prose--doc .asmon-prose-section__summary:focus,
.asmon-prose--legal .asmon-prose-section__summary:focus {
	outline: none;
}

.asmon-prose--doc .asmon-prose-section__summary:focus-visible,
.asmon-prose--legal .asmon-prose-section__summary:focus-visible {
	outline: 2px solid rgba(201, 168, 76, 0.45);
	outline-offset: 4px;
	border-radius: 2px;
}

.asmon-prose--doc .asmon-prose-section__summary h2,
.asmon-prose--legal .asmon-prose-section__summary h2 {
	flex: 1;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: none;
	font-size: 1.2rem;
	scroll-margin-top: clamp(4.5rem, 14vh, 6rem);
}

.asmon-prose--doc .asmon-prose-section__chevron,
.asmon-prose--legal .asmon-prose-section__chevron {
	flex-shrink: 0;
	width: 0.55rem;
	height: 0.55rem;
	margin-top: -0.1em;
	border-right: 2px solid rgba(201, 168, 76, 0.75);
	border-bottom: 2px solid rgba(201, 168, 76, 0.75);
	transform: rotate(45deg);
	transition: transform 0.22s ease, margin-top 0.22s ease;
}

.asmon-prose--doc .asmon-prose-section[open] .asmon-prose-section__chevron,
.asmon-prose--legal .asmon-prose-section[open] .asmon-prose-section__chevron {
	margin-top: 0.2em;
	transform: rotate(-135deg);
}

.asmon-prose--doc .asmon-prose-section__body,
.asmon-prose--legal .asmon-prose-section__body {
	padding-top: 0.35rem;
}

.asmon-prose--doc .asmon-prose-section:not([open]) .asmon-prose-section__body,
.asmon-prose--legal .asmon-prose-section:not([open]) .asmon-prose-section__body {
	display: none;
}

.asmon-prose--doc > p.asmon-accordion-break:empty,
.asmon-prose--legal > p.asmon-accordion-break:empty {
	display: none;
	margin: 0;
	padding: 0;
}

.asmon-prose h3 {
	margin: 1.75rem 0 0.65rem;
	font-family: var(--asmon-font-display);
	font-size: 1.05rem;
	color: var(--asmon-text-bright);
}

.asmon-prose p {
	margin: 0 0 1rem;
}

.asmon-prose ul,
.asmon-prose ol {
	margin: 0 0 1rem;
	padding-left: 1.25rem;
}

.asmon-prose blockquote,
.asmon-prose .wp-block-quote,
.asmon-prose .wp-block-pullquote {
	margin: 1.5rem 0;
}

.asmon-prose blockquote,
.asmon-prose .wp-block-quote blockquote {
	padding-left: 1.25rem;
	border-left: 2px solid var(--asmon-accent);
	font-style: italic;
	color: var(--asmon-text-bright);
}

.asmon-prose .wp-block-quote,
.asmon-prose .wp-block-pullquote {
	opacity: 1;
	transform: none;
}

.asmon-prose img {
	max-width: 100%;
	height: auto;
}

.asmon-prose .wp-block-image img,
.asmon-prose figure img {
	border: 1px solid var(--asmon-line);
	filter: sepia(0.28) brightness(0.62);
}

.asmon-prose figcaption,
.figure figcaption {
	color: var(--asmon-text);
	font-style: italic;
}

.asmon-toc {
	padding: 1.25rem;
	border: 1px solid var(--asmon-line);
	background: transparent;
}

@media (min-width: 900px) {
	.asmon-toc {
		position: sticky;
		top: 4rem;
	}
}

.asmon-toc__title {
	margin: 0 0 0.75rem;
	font-family: var(--asmon-font-display);
	font-size: 0.625rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--asmon-accent);
}

.asmon-toc ol {
	margin: 0;
	padding-left: 1.1rem;
	font-size: 0.95rem;
}

.asmon-toc a {
	color: var(--asmon-text);
	text-decoration: none;
}

.asmon-toc a:hover {
	color: var(--asmon-text-bright);
}

.asmon-callout {
	margin: 1.5rem 0;
	padding: 1.25rem 1.5rem;
	border: 1px solid var(--asmon-line);
	background: var(--asmon-bg-elevated);
}

.asmon-callout__title {
	margin: 0 0 0.5rem;
	font-family: var(--asmon-font-display);
	font-size: 0.75rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--asmon-accent);
}

.asmon-callout p {
	margin: 0;
	color: var(--asmon-text);
}

.asmon-fiche-meta {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem;
	margin-bottom: 2rem;
}

@media (min-width: 560px) {
	.asmon-fiche-meta {
		grid-template-columns: repeat(2, 1fr);
	}
}

.asmon-fiche-meta__item {
	padding: 0.85rem 1rem;
	border: 1px solid var(--asmon-line);
	background: var(--asmon-bg-elevated);
}

.asmon-fiche-meta__label {
	display: block;
	margin-bottom: 0.25rem;
	font-family: var(--asmon-font-display);
	font-size: 0.625rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--asmon-accent);
}

.asmon-fiche-meta__value {
	color: var(--asmon-text-bright);
}

.asmon-cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
}

.asmon-card {
	display: block;
	padding: 1.35rem 0;
	border-bottom: 1px solid var(--asmon-line);
	color: inherit;
	text-decoration: none;
	transition:
		border-color 0.3s ease,
		transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
		color 0.2s ease;
	transform: perspective(800px) rotateX(calc(var(--card-y, 0) * -3deg)) rotateY(calc(var(--card-x, 0) * 4deg));
}

.asmon-card:hover {
	transform: perspective(800px) rotateX(calc(var(--card-y, 0) * -3deg)) rotateY(calc(var(--card-x, 0) * 4deg)) translateY(-3px);
}

.asmon-card:hover .asmon-card__title {
	color: var(--asmon-text-bright);
}

.asmon-card__tag {
	font-family: var(--asmon-font-display);
	font-size: 0.5625rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--asmon-accent);
}

.asmon-card__title {
	margin: 0.35rem 0;
	font-family: var(--asmon-font-display);
	font-size: 1.15rem;
	color: var(--asmon-text-bright);
	transition: color 0.2s ease;
}

.asmon-card__excerpt {
	margin: 0;
	font-size: 1rem;
}

.asmon-card__date {
	display: block;
	margin-top: 0.45rem;
	font-size: 0.8125rem;
}

.asmon-timeline {
	position: relative;
	margin: 0;
	padding: 0 0 0 1.5rem;
	list-style: none;
	border-left: 1px solid var(--asmon-line);
}

.asmon-timeline__item {
	position: relative;
	margin-bottom: 2rem;
	padding-left: 0.5rem;
}

.asmon-timeline__item::before {
	content: "";
	position: absolute;
	left: -1.62rem;
	top: 0.45rem;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--asmon-accent);
	box-shadow: 0 0 0 4px var(--asmon-bg);
}

.asmon-timeline__date {
	margin: 0 0 0.35rem;
	font-family: var(--asmon-font-display);
	font-size: 0.6875rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--asmon-accent);
}

.asmon-timeline__title {
	margin: 0 0 0.5rem;
	font-family: var(--asmon-font-display);
	font-size: 1.1rem;
	color: var(--asmon-text-bright);
}

.asmon-magazine .wp-block-columns,
.asmon-magazine .asmon-magazine-row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	margin: 2rem 0;
	align-items: center;
}

@media (min-width: 768px) {
	.asmon-magazine .wp-block-columns,
	.asmon-magazine .asmon-magazine-row {
		grid-template-columns: 1fr 1fr;
	}

	.asmon-magazine .asmon-magazine-row--flip .asmon-magazine-row__media {
		order: 2;
	}
}

.asmon-magazine-row__media img,
.asmon-magazine .wp-block-image img,
.asmon-magazine-row img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border: 1px solid var(--asmon-line);
	filter: sepia(0.3) brightness(0.58);
	transition: filter 0.5s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.asmon-magazine-row.is-visible img {
	filter: sepia(0.22) brightness(0.68);
}

.asmon-contact-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	margin-bottom: 2.5rem;
}

@media (min-width: 560px) {
	.asmon-contact-grid {
		grid-template-columns: 1fr 1fr;
	}
}

.asmon-contact-grid__item {
	padding: 1.15rem;
	border: 1px solid var(--asmon-line);
	background: var(--asmon-bg-elevated);
}

.asmon-contact-grid__item h3 {
	margin: 0 0 0.45rem;
	font-family: var(--asmon-font-display);
	font-size: 0.8rem;
	color: var(--asmon-text-bright);
}

.asmon-contact-grid__item p {
	margin: 0;
	font-size: 0.95rem;
}

.asmon-rail__heading {
	margin: 0 0 0.75rem;
	font-family: var(--asmon-font-display);
	font-size: 0.625rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--asmon-accent);
}

html.asmon-js {
	overflow-x: clip;
}

body.asmon-immersive {
	overflow-x: clip;
}

body:is(.asmon-page-template, .asmon-tpl-page, .asmon-shop, .asmon-immersive) .reveal,
body:is(.asmon-page-template, .asmon-tpl-page, .asmon-shop, .asmon-immersive) .asmon-callout {
	opacity: 0;
	transform: translateY(1.75rem);
	transition:
		opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

body:is(.asmon-page-template, .asmon-tpl-page, .asmon-shop, .asmon-immersive) .reveal.is-visible,
body:is(.asmon-page-template, .asmon-tpl-page, .asmon-shop, .asmon-immersive) .asmon-callout.is-visible {
	opacity: 1;
	transform: translateY(var(--reveal-shift, 0));
}

body:is(.asmon-page-template, .asmon-tpl-page, .asmon-shop, .asmon-immersive) .reveal[data-reveal-from="above"]:not(.is-visible),
body:is(.asmon-page-template, .asmon-tpl-page, .asmon-shop, .asmon-immersive) .reveal.is-exiting[data-reveal-exit="above"] {
	transform: translateY(-1.35rem);
}

body:is(.asmon-page-template, .asmon-tpl-page, .asmon-shop, .asmon-immersive) .reveal[data-reveal-from="below"]:not(.is-visible),
body:is(.asmon-page-template, .asmon-tpl-page, .asmon-shop, .asmon-immersive) .reveal.is-exiting[data-reveal-exit="below"] {
	transform: translateY(1.75rem);
}

body.asmon-scroll-up .reveal:not(.is-visible) {
	transform: translateY(-1.35rem);
}

body.asmon-scroll-down .reveal:not(.is-visible) {
	transform: translateY(1.75rem);
}

body:is(.asmon-page-template, .asmon-tpl-page, .asmon-shop, .asmon-immersive) .reveal--d1 { transition-delay: 0.08s; }
body:is(.asmon-page-template, .asmon-tpl-page, .asmon-shop, .asmon-immersive) .reveal--d2 { transition-delay: 0.16s; }
body:is(.asmon-page-template, .asmon-tpl-page, .asmon-shop, .asmon-immersive) .reveal--d3 { transition-delay: 0.24s; }

body:is(.asmon-page-template, .asmon-tpl-page, .asmon-shop, .asmon-immersive) .reveal:not(.is-visible) {
	transition-delay: calc(0.06s * var(--reveal-i, 0));
}

.asmon-grain {
	position: fixed;
	inset: 0;
	z-index: 9998;
	pointer-events: none;
	opacity: 0.04;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	background-size: 200px 200px;
	mix-blend-mode: soft-light;
	animation: asmon-grain-pulse 10s ease-in-out infinite alternate;
}

@keyframes asmon-grain-pulse {
	0% { opacity: 0.03; }
	100% { opacity: 0.05; }
}

.asmon-embers {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	z-index: 0;
}

.asmon-embers span {
	position: absolute;
	bottom: -5%;
	left: var(--e-left, 50%);
	width: var(--e-size, 3px);
	height: var(--e-size, 3px);
	border-radius: 50%;
	background: rgba(201, 168, 76, 0.9);
	box-shadow: 0 0 10px rgba(201, 168, 76, 0.65);
	opacity: 0;
	animation: asmon-ember-rise var(--e-duration, 8s) ease-in-out infinite;
	animation-delay: var(--e-delay, 0s);
}

@keyframes asmon-ember-rise {
	0% {
		opacity: 0;
		transform: translateY(0) scale(0.6);
	}
	8% { opacity: 0.85; }
	25% { opacity: 1; }
	100% {
		opacity: 0;
		transform: translateY(-115vh) scale(0.35);
	}
}

body.asmon-page-template--page .asmon-hero__scroll-hint,
body.asmon-page-template--page-toc .asmon-hero__scroll-hint {
	display: none !important;
}

.asmon-hero__scroll-hint {
	position: absolute;
	bottom: 1.5rem;
	left: 50%;
	z-index: 2;
	width: 1px;
	height: 2.25rem;
	background: linear-gradient(to bottom, var(--asmon-accent), transparent);
	box-shadow: 0 0 10px rgba(201, 168, 76, 0.35);
	opacity: 0.8;
	transform: translateX(-50%);
	transition: opacity 0.4s ease;
	animation: asmon-hint-bob 2.2s ease-in-out infinite;
}

.asmon-hero__scroll-hint.is-hidden {
	opacity: 0;
	pointer-events: none;
}

@keyframes asmon-hint-bob {
	0%, 100% { transform: translateX(-50%) translateY(0); }
	50% { transform: translateX(-50%) translateY(7px); }
}

.asmon-embers--soft span {
	background: rgba(201, 168, 76, 0.7);
	box-shadow: 0 0 8px rgba(201, 168, 76, 0.45);
}

.asmon-ambient,
.asmon-ambient-veil {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	overflow: hidden;
}

.asmon-ambient {
	background:
		radial-gradient(ellipse 70% 55% at 12% 18%, rgba(201, 168, 76, 0.1), transparent 72%),
		radial-gradient(ellipse 65% 50% at 88% 72%, rgba(90, 62, 32, 0.11), transparent 74%),
		radial-gradient(ellipse 50% 45% at 50% 100%, rgba(30, 24, 16, 0.4), transparent 68%);
	animation: asmon-ambient-drift 56s ease-in-out infinite alternate;
}

.asmon-ambient-veil {
	background:
		radial-gradient(circle at 28% 58%, rgba(201, 168, 76, 0.05), transparent 45%),
		radial-gradient(circle at 72% 38%, rgba(120, 85, 45, 0.06), transparent 42%);
	animation: asmon-ambient-veil 80s ease-in-out infinite alternate-reverse;
}

@keyframes asmon-ambient-drift {
	0% { opacity: 0.75; }
	100% { opacity: 1; }
}

@keyframes asmon-ambient-veil {
	0% { opacity: 0.6; }
	100% { opacity: 0.95; }
}

body.asmon-page-template,
body.asmon-tpl-page.asmon-immersive {
	background-color: var(--asmon-bg);
	background-image: linear-gradient(
		165deg,
		#0c0906 0%,
		#100d09 35%,
		#0e0b08 65%,
		#12100c 100%
	);
	background-size: 220% 220%;
	/* Fond figé à mi-course : l’ancienne animation de background-position (120 s) était
	   imperceptible mais repeignait toute la page à chaque image. */
	background-position: 50% 50%;
}

body.asmon-immersive {
	position: relative;
	isolation: isolate;
}

body.asmon-immersive > :not(.asmon-grain):not(.asmon-ambient):not(.asmon-ambient-veil):not(.asmon-overlay):not(.asmon-sidebar):not(.asmon-burger):not(.asmon-lightbox-root):not(.asmon-dialog):not(.asmon-shop-tab-root):not(.asmon-shop-toast):not(.asmon-relay-dialog) {
	position: relative;
	z-index: 1;
}

body.asmon-menu-open .asmon-overlay {
	z-index: 10050;
}

body.asmon-menu-open .asmon-sidebar {
	z-index: 10051;
}

body.asmon-menu-open .asmon-burger {
	z-index: 10052;
}

body.asmon-menu-open .asmon-grain {
	z-index: 10040;
}

.asmon-hero__inner {
	transition: transform 0.35s ease-out;
	will-change: transform;
}

.asmon-hero {
	--asmon-parallax-hero: 0px;
}

.asmon-hero .asmon-hero__inner {
	transform: translateY(var(--asmon-parallax-hero));
}

.asmon-layout {
	transition: opacity 0.4s ease;
}

body.asmon-scroll-down:not(.asmon-at-top) .asmon-layout {
	opacity: 0.98;
}

body.asmon-scroll-up .asmon-layout {
	opacity: 1;
}

.figure,
.asmon-prose figure,
.asmon-prose .wp-block-image,
.asmon-magazine-row > div:first-child,
.asmon-magazine-row__media {
	position: relative;
}

.figure::before,
.asmon-prose figure::before,
.asmon-prose .wp-block-image::before,
.asmon-magazine-row > div:first-child::before,
.asmon-magazine-row__media::before {
	content: "";
	position: absolute;
	inset: -6px;
	pointer-events: none;
	z-index: 1;
	opacity: 0;
	border-radius: 1px;
	background: radial-gradient(ellipse at center, rgba(201, 168, 76, 0.14), transparent 68%);
	transition: opacity 0.55s ease;
}

.figure:hover::before,
.asmon-prose figure:hover::before,
.asmon-prose .wp-block-image:hover::before,
.asmon-magazine-row.is-visible:hover > div:first-child::before,
.asmon-magazine-row.is-visible:hover .asmon-magazine-row__media::before {
	opacity: 1;
}

.asmon-prose img,
.figure img,
.asmon-magazine-row img {
	transition: filter 0.55s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.55s ease;
}

.figure:hover img,
.asmon-prose img:hover,
.asmon-prose figure:hover img,
.asmon-magazine-row.is-visible:hover img {
	filter: sepia(0.18) brightness(0.74) !important;
	transform: scale(1.01);
	box-shadow: 0 0 22px rgba(201, 168, 76, 0.16);
}

.asmon-card,
.btn,
.tpl-pager a,
.asmon-toc a,
.asmon-contact-grid__item {
	transition:
		color 0.25s ease,
		border-color 0.25s ease,
		transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.28s ease,
		background 0.25s ease;
}

.asmon-card:active,
.asmon-card.is-pressed {
	transform: perspective(800px) translateY(-1px) scale(0.995);
}

.btn:active {
	transform: translateY(0) scale(0.98);
}

.btn:hover,
.btn:focus-visible {
	box-shadow: 0 0 18px rgba(201, 168, 76, 0.18);
}

.asmon-contact-grid__item:hover {
	border-color: rgba(201, 168, 76, 0.35);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
	transform: translateY(-2px);
}

.tpl-pager a:hover {
	text-shadow: 0 0 10px rgba(201, 168, 76, 0.2);
}

.asmon-toc a:hover {
	padding-left: 0.35rem;
}

.asmon-callout:hover {
	border-color: rgba(201, 168, 76, 0.25);
}

.asmon-toc a.is-active {
	color: var(--asmon-text-bright);
	border-left-color: var(--asmon-accent);
	padding-left: 0.65rem;
	margin-left: -0.65rem;
	border-left: 2px solid var(--asmon-accent);
}

.asmon-callout {
	transition: box-shadow 0.5s ease;
}

.figure {
	transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

body.asmon-immersive .asmon-hero--motion::before {
	animation-duration: 7s;
}

.asmon-page-template--carnet .asmon-journal {
	max-width: var(--asmon-content);
	margin: 0 auto;
}

.asmon-journal-entry {
	position: relative;
	margin: 0 0 clamp(3rem, 8vh, 4.5rem);
	padding: 0 0 0 1.35rem;
	border-left: 1px solid var(--asmon-line);
}

.asmon-journal-entry::before {
	content: "";
	position: absolute;
	left: -4px;
	top: 0.35rem;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--asmon-accent);
	box-shadow: 0 0 10px rgba(201, 168, 76, 0.45);
	opacity: 0;
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.asmon-journal-entry.is-visible::before {
	opacity: 1;
}

.asmon-journal-entry__date {
	margin: 0 0 0.5rem;
	font-family: var(--asmon-font-display);
	font-size: 0.65rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--asmon-accent);
}

.asmon-journal-entry__title {
	margin: 0 0 0.85rem;
	font-family: var(--asmon-font-display);
	font-size: 1.2rem;
	font-weight: 400;
	color: var(--asmon-text-bright);
}

.asmon-journal-entry .figure {
	margin: 1.25rem 0;
}

body.asmon-page-template,
body.asmon-tpl-page {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

body.asmon-page-template #main-container,
body.asmon-page-template .site,
body.asmon-page-template main {
	flex: 1 0 auto;
}

body.asmon-page-template footer.ct-footer,
body.asmon-page-template [data-id="footer"],
body.asmon-page-template .ct-footer,
body.asmon-tpl-page .tpl-pager,
body.asmon-tpl-page .tpl-index-footer,
body.asmon-tpl-page footer {
	position: relative !important;
	bottom: auto !important;
	inset: auto !important;
	flex-shrink: 0;
	z-index: auto;
}

body.asmon-page-template #main-container {
	background-color: var(--asmon-bg);
}

body.asmon-page-template footer.ct-footer,
body.asmon-page-template [data-id="footer"],
body.asmon-page-template .ct-footer,
body.asmon-page-template #footer {
	background-color: var(--asmon-bg) !important;
	background: var(--asmon-bg) !important;
	color: var(--asmon-text) !important;
	border-top: 1px solid var(--asmon-line) !important;
	--theme-text-color: var(--asmon-text);
	--theme-link-initial-color: var(--asmon-accent);
	--theme-link-hover-color: var(--asmon-text-bright);
	text-align: center;
	font-size: 0.8125rem;
	letter-spacing: 0.08em;
	padding-bottom: 1rem;
}

body.asmon-page-template footer.ct-footer .ct-container,
body.asmon-page-template .ct-footer .ct-container {
	justify-content: center;
	text-align: center;
}

body.asmon-page-template footer.ct-footer [data-row],
body.asmon-page-template .ct-footer [data-row] {
	justify-content: center;
}

body.asmon-page-template footer.ct-footer p,
body.asmon-page-template .ct-footer p,
body.asmon-page-template footer .copyright,
body.asmon-page-template .ct-footer-copyright {
	margin-top: 0;
	margin-bottom: 0;
}

body.asmon-page-template footer.ct-footer [data-row],
body.asmon-page-template .ct-footer [data-row],
body.asmon-page-template footer.ct-footer .ct-container,
body.asmon-page-template .ct-footer .ct-container,
body.asmon-page-template footer.ct-footer .ct-widget,
body.asmon-page-template .ct-footer .ct-widget {
	background: transparent !important;
	background-color: transparent !important;
}

body.asmon-page-template footer.ct-footer :is(h1, h2, h3, h4, h5, h6, .widget-title, .ct-widget-title),
body.asmon-page-template .ct-footer :is(h1, h2, h3, h4, h5, h6, .widget-title, .ct-widget-title) {
	color: var(--asmon-text-bright) !important;
}

body.asmon-page-template footer.ct-footer :is(p, li, span, div, td, th, label, .ct-meta),
body.asmon-page-template .ct-footer :is(p, li, span, div, td, th, label, .ct-meta) {
	color: var(--asmon-text) !important;
}

body.asmon-page-template footer.ct-footer a,
body.asmon-page-template .ct-footer a {
	color: var(--asmon-accent) !important;
}

body.asmon-page-template footer.ct-footer a:hover,
body.asmon-page-template footer.ct-footer a:focus-visible,
body.asmon-page-template .ct-footer a:hover,
body.asmon-page-template .ct-footer a:focus-visible {
	color: var(--asmon-text-bright) !important;
}

body.asmon-page-template footer.ct-footer [data-row*="bottom"],
body.asmon-page-template .ct-footer [data-row*="bottom"],
body.asmon-page-template footer .copyright,
body.asmon-page-template .ct-footer-copyright {
	background-color: transparent !important;
	border-top: none;
	text-align: center;
	font-size: 0.8125rem;
	letter-spacing: 0.08em;
}

/* Pages à fond custom : footer aligné sur le body */
body.asmon-page-template--accueil-immersif footer.ct-footer,
body.asmon-page-template--accueil-immersif .ct-footer,
body.asmon-page-template--univers footer.ct-footer,
body.asmon-page-template--univers .ct-footer {
	background-color: transparent !important;
	background: transparent !important;
}

body.asmon-menu-open footer.ct-footer,
body.asmon-menu-open [data-id="footer"],
body.asmon-menu-open .ct-footer,
body.asmon-menu-open .tpl-pager,
body.asmon-menu-open .tpl-index-footer {
	z-index: 0 !important;
}

.asmon-page-template--chronologie .asmon-prose section.is-visible > h2 {
	animation: asmon-chrono-pulse 0.9s ease;
}

@keyframes asmon-chrono-pulse {
	0% { border-left-color: transparent; }
	40% { border-left-color: var(--asmon-accent); }
	100% { border-left-color: var(--asmon-accent); }
}

@media (max-width: 639px) {
	.asmon-hero__inner,
	.univers-hero__inner {
		align-items: center;
		text-align: center;
	}

	.asmon-hero__title-row {
		flex-direction: column;
		align-items: center;
	}

	.asmon-hero__scroll {
		margin-right: 0;
		align-items: center;
	}

	.univers-kicker,
	.univers-hero__kicker {
		text-align: center;
	}

	body.asmon-page-template--univers .univers-hero .asmon-hero__title-row {
		flex-direction: row;
		align-items: flex-start;
		justify-content: center;
	}

	body.asmon-page-template--univers .univers-hero .asmon-hero__scroll,
	body.asmon-page-template--univers .univers-hero .asmon-hero__scroll--hunt {
		margin: 0.8rem 1rem 0 0;
		align-items: flex-start;
	}
}

.asmon-grain,
.asmon-ambient,
.asmon-ambient-veil {
	contain: strict;
}

@media (max-width: 767px), (hover: none) and (pointer: coarse) {
	.asmon-prose {
		font-size: 1.05rem;
		line-height: 1.65;
	}

	.asmon-prose p,
	.asmon-prose li {
		max-width: none;
	}

	.asmon-hero__title {
		font-size: clamp(1.65rem, 7vw, 2.35rem);
		line-height: 1.15;
	}

	.asmon-hero__lead {
		font-size: 1rem;
		line-height: 1.55;
	}

	/* Opacité fixe : animer un calque plein écran en soft-light force à recomposer
	   tout l’écran en mode fusion à chaque image. */
	.asmon-grain {
		opacity: 0.032;
		animation: none;
	}

	.asmon-hero__media,
	.asmon-hero__media--fallback,
	.asmon-hero__media:has(.asmon-hero__img) {
		animation: none;
		will-change: auto;
	}

	.asmon-hero__media .asmon-hero__img,
	.asmon-hero__media--fallback {
		filter: none;
	}

	.asmon-hero--motion .asmon-hero__inner > * {
		opacity: 1;
		filter: none;
		animation: none;
	}

	body:is(.asmon-page-template, .asmon-tpl-page, .asmon-shop, .asmon-immersive) .reveal:not(.is-visible) {
		filter: blur(4px);
	}

	/* none plutôt que blur(0) : pas de filtre résiduel une fois le bloc révélé. */
	body:is(.asmon-page-template, .asmon-tpl-page, .asmon-shop, .asmon-immersive) .reveal.is-visible {
		filter: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.asmon-hero--motion .asmon-hero__inner > *,
	body:is(.asmon-page-template, .asmon-tpl-page, .asmon-shop, .asmon-immersive) .reveal {
		opacity: 1;
		transform: none;
		filter: none;
		animation: none;
		transition: none;
	}

	.asmon-hero--motion::before,
	.asmon-hero__media,
	.asmon-hero__media .asmon-hero__img,
	.asmon-grain,
	.asmon-ambient,
	.asmon-ambient-veil,
	body.asmon-page-template,
	body.asmon-tpl-page.asmon-immersive,
	.asmon-embers span,
	.asmon-hero__scroll-hint,
	.asmon-hero__scroll-line,
	.asmon-trace-mark__core,
	.asmon-trace-mark__halo,
	.asmon-trace-mark--die .asmon-trace-mark__glyph {
		animation: none;
	}

	.asmon-card {
		transform: none;
	}

	.asmon-scroll-progress {
		transform: scaleX(var(--asmon-scroll-ratio));
	}

	.asmon-scroll-progress::after {
		animation: none;
		opacity: 0.65;
	}
}

/* Spinner partagé : la feuille commune asmon-spinner.css (dépendance de cette feuille). */

/* Modale d’alerte — même chrome que la popup « zone MJ » des ressources */
.asmon-dialog {
	--asmon-hl-border: 3px;
	--asmon-hl-breathe: 2.8s;
	position: fixed;
	inset: 0;
	z-index: 10300 !important;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(0.5rem, 2vw, 1.25rem);
	box-sizing: border-box;
	pointer-events: none;
	visibility: hidden;
}

.asmon-dialog.is-open {
	pointer-events: auto;
	visibility: visible;
}

.asmon-dialog.is-hiding {
	pointer-events: none;
}

body.asmon-dialog-open {
	overflow: hidden;
}

.asmon-dialog__backdrop {
	position: absolute;
	inset: 0;
	padding: 0;
	border: 0;
	background: rgba(0, 0, 0, 0);
	cursor: pointer;
	transition: background 0.58s cubic-bezier(0.22, 1, 0.36, 1);
}

.asmon-dialog.is-active .asmon-dialog__backdrop {
	background: rgba(0, 0, 0, 0.92);
}

.asmon-dialog.is-hiding .asmon-dialog__backdrop {
	background: rgba(0, 0, 0, 0);
	transition: background 0.34s ease;
}

.asmon-dialog__window {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: min(92vw, 34rem);
	max-height: none;
	overflow: visible;
	pointer-events: none;
}

.asmon-dialog__frame {
	--asmon-hl-scale: 0.92;
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	border-radius: 3px;
	overflow: visible;
	transform: translateY(14px) scale(var(--asmon-hl-scale));
	transform-origin: center center;
	transition: transform 0.58s cubic-bezier(0.22, 1, 0.36, 1);
	pointer-events: auto;
	background: linear-gradient(165deg, rgba(18, 15, 11, 0.98) 0%, rgba(8, 6, 4, 0.99) 100%);
}

.asmon-dialog.is-active .asmon-dialog__frame {
	transform: translateY(0) scale(1);
	animation: asmon-dialog-frame-glow var(--asmon-hl-breathe) ease-in-out infinite;
}

.asmon-dialog.is-hiding .asmon-dialog__frame {
	opacity: 0;
	transform: translateY(6px) scale(0.97);
	animation: none;
	filter: none;
	transition: opacity 0.34s ease, transform 0.34s ease;
}

.asmon-dialog__frame::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	box-shadow:
		inset 0 0 0 var(--asmon-hl-border) rgba(201, 168, 76, 0.45),
		0 0 16px 2px rgba(201, 168, 76, 0.12);
	animation: asmon-dialog-border-breathe var(--asmon-hl-breathe) ease-in-out infinite;
}

.asmon-dialog.is-hiding .asmon-dialog__frame::before {
	animation: none;
	opacity: 0;
	transition: opacity 0.28s ease;
}

@keyframes asmon-dialog-frame-glow {
	0%,
	100% {
		filter: drop-shadow(0 0 20px rgba(201, 168, 76, 0.32))
			drop-shadow(0 0 40px rgba(201, 168, 76, 0.16));
	}

	50% {
		filter: drop-shadow(0 0 28px rgba(201, 168, 76, 0.5))
			drop-shadow(0 0 56px rgba(201, 168, 76, 0.26));
	}
}

@keyframes asmon-dialog-border-breathe {
	0%,
	100% {
		box-shadow:
			inset 0 0 0 var(--asmon-hl-border) rgba(201, 168, 76, 0.36),
			0 0 12px 2px rgba(201, 168, 76, 0.1);
	}

	50% {
		box-shadow:
			inset 0 0 0 var(--asmon-hl-border) rgba(201, 168, 76, 0.58),
			0 0 20px 3px rgba(201, 168, 76, 0.2);
	}
}

.asmon-dialog__close {
	position: absolute;
	top: clamp(0.55rem, 2vw, 0.85rem);
	right: clamp(0.55rem, 2vw, 0.85rem);
	z-index: 5;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.35rem;
	height: 2.35rem;
	padding: 0;
	border: 1px solid rgba(201, 168, 76, 0.35);
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.55);
	color: rgba(255, 255, 255, 0.92);
	cursor: pointer;
	opacity: 0;
	transform: scale(0.92);
	transition:
		opacity 0.35s ease 0.1s,
		transform 0.35s ease 0.1s,
		border-color 0.25s ease,
		background 0.25s ease;
}

.asmon-dialog__close span {
	display: block;
	font-size: 1.35rem;
	line-height: 1;
	transform: translateY(-0.06em);
}

.asmon-dialog.is-active .asmon-dialog__close {
	opacity: 1;
	transform: scale(1);
}

.asmon-dialog.is-hiding .asmon-dialog__close {
	opacity: 0;
	transition: opacity 0.28s ease;
}

.asmon-dialog__close:hover,
.asmon-dialog__close:focus-visible {
	border-color: rgba(201, 168, 76, 0.75);
	background: rgba(20, 20, 20, 0.85);
	outline: none;
}

.asmon-dialog__stage {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: clamp(1.35rem, 3.5vw, 2rem) clamp(1.25rem, 3vw, 1.75rem) clamp(1.5rem, 3.5vw, 2.1rem);
	text-align: center;
}

.asmon-dialog__title {
	margin: 0;
	padding: 0 2.1rem;
	font-family: "Cinzel", Georgia, serif;
	font-size: clamp(1.15rem, 2.5vw, 1.45rem);
	font-weight: 400;
	line-height: 1.3;
	color: var(--asmon-text-bright, #e8dec8);
}

.asmon-dialog__title[hidden],
.asmon-dialog__text[hidden],
.asmon-dialog__btn[hidden] {
	display: none;
}

.asmon-dialog__text {
	margin: 0;
	font-size: clamp(0.92rem, 1.8vw, 1.02rem);
	line-height: 1.55;
	color: var(--asmon-text, #9a8b72);
}

.asmon-dialog__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.65rem;
	margin-top: 0.25rem;
}

.asmon-dialog__btn {
	display: inline-block;
	min-width: 6.5rem;
	padding: 0.7rem 1.5rem;
	font-family: var(--asmon-font-display, "Cinzel", Georgia, serif);
	font-size: 0.6875rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--asmon-accent, #c9a84c);
	background: transparent;
	border: 1px solid rgba(201, 168, 76, 0.35);
	border-radius: 2px;
	cursor: pointer;
	transition:
		border-color 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

.asmon-dialog__btn:hover,
.asmon-dialog__btn:focus-visible {
	color: var(--asmon-text-bright, #e8dec8);
	border-color: var(--asmon-accent, #c9a84c);
	box-shadow: 0 0 18px rgba(201, 168, 76, 0.18);
	transform: translateY(-2px);
	background-color: transparent;
}

@media (prefers-reduced-motion: reduce) {
	.asmon-dialog__frame,
	.asmon-dialog__backdrop,
	.asmon-dialog__close,
	.asmon-dialog__frame::before {
		animation: none !important;
		transition: none !important;
	}

	.asmon-dialog.is-active .asmon-dialog__frame {
		animation: none;
		filter: none;
	}

	.asmon-dialog__btn:hover,
	.asmon-dialog__btn:focus-visible {
		transform: none;
	}
}

/* Placeholders publics : italique, légèrement grisés (même langage que le code promo) */
body.asmon-page-template input::placeholder,
body.asmon-tpl-page input::placeholder,
body.asmon-immersive input::placeholder,
body.asmon-shop input::placeholder,
body.asmon-page-template textarea::placeholder,
body.asmon-tpl-page textarea::placeholder,
body.asmon-immersive textarea::placeholder,
body.asmon-shop textarea::placeholder {
	color: var(--asmon-placeholder, rgba(232, 220, 196, 0.52)) !important;
	-webkit-text-fill-color: var(--asmon-placeholder, rgba(232, 220, 196, 0.52)) !important;
	font-style: italic;
	opacity: 1;
}

/* Toast partagé — boutique (panier) et page de don */
.asmon-shop-toast {
	--asmon-hl-border: 1px;
	position: fixed;
	right: clamp(1rem, 2.5vw, 1.75rem);
	bottom: clamp(1rem, 3vw, 1.75rem);
	z-index: 10250;
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	width: min(21rem, calc(100vw - 2rem));
	padding: 1rem 0.85rem 1.1rem 1.15rem;
	overflow: hidden;
	border-radius: 3px;
	background: linear-gradient(165deg, rgba(18, 15, 11, 0.98) 0%, rgba(8, 6, 4, 0.99) 100%);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 22px rgba(201, 168, 76, 0.14);
	color: var(--asmon-text-bright, #e8dec8);
	opacity: 0;
	transform: translate3d(0, 0.9rem, 0) scale(0.97);
	transform-origin: bottom right;
	transition: opacity 0.34s ease, transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
	pointer-events: none;
}

.asmon-shop-toast::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	border-radius: inherit;
	pointer-events: none;
	box-shadow:
		inset 0 0 0 var(--asmon-hl-border) rgba(201, 168, 76, 0.45),
		0 0 16px 2px rgba(201, 168, 76, 0.12);
	animation: asmon-dialog-border-breathe 2.8s ease-in-out infinite;
}

.asmon-shop-toast.is-visible {
	opacity: 1;
	transform: translate3d(0, 0, 0) scale(1);
	pointer-events: auto;
}

.asmon-shop-toast.is-leaving {
	opacity: 0;
	transform: translate3d(0, 0.5rem, 0) scale(0.98);
	transition: opacity 0.3s ease, transform 0.34s ease;
}

.asmon-shop-toast__body {
	position: relative;
	z-index: 1;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.3rem;
	min-width: 0;
}

.asmon-shop-toast__kicker {
	margin: 0;
	font-family: var(--asmon-font-display, "Cinzel", Georgia, serif);
	font-size: 0.6875rem;
	letter-spacing: 0.16em;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--asmon-accent, #c9a84c);
}

.asmon-shop-toast__text {
	margin: 0;
	font-family: var(--asmon-font-body, "Crimson Pro", Georgia, serif);
	font-size: 1.02rem;
	line-height: 1.4;
	color: var(--asmon-text-bright, #e8dec8);
	overflow-wrap: anywhere;
}

body.asmon-shop .asmon-shop-toast__link,
.asmon-shop-toast__link {
	margin-top: 0.35rem;
	padding-bottom: 0.1rem;
	font-family: var(--asmon-font-display, "Cinzel", Georgia, serif);
	font-size: 0.6875rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--asmon-accent, #c9a84c) !important;
	text-decoration: none !important;
	border-bottom: 1px solid rgba(201, 168, 76, 0.45);
	transition: color 0.2s ease, border-color 0.2s ease, text-shadow 0.2s ease;
}

.asmon-shop-toast__link:hover,
.asmon-shop-toast__link:focus-visible {
	color: var(--asmon-text-bright, #e8dec8) !important;
	border-bottom-color: var(--asmon-accent, #c9a84c);
	text-shadow: 0 0 14px rgba(201, 168, 76, 0.35);
	outline: none;
}

.asmon-shop-toast__close {
	position: relative;
	z-index: 1;
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 1.85rem;
	height: 1.85rem;
	padding: 0;
	border: 1px solid rgba(201, 168, 76, 0.3);
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.45);
	color: rgba(232, 222, 200, 0.85);
	cursor: pointer;
	transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.asmon-shop-toast__close span {
	display: block;
	font-size: 1.1rem;
	line-height: 1;
	transform: translateY(-0.06em);
}

.asmon-shop-toast__close:hover,
.asmon-shop-toast__close:focus-visible {
	border-color: rgba(201, 168, 76, 0.75);
	color: var(--asmon-text-bright, #e8dec8);
	background: rgba(20, 20, 20, 0.85);
	outline: none;
}

.asmon-shop-toast__bar {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	height: 2px;
	background: linear-gradient(90deg, rgba(201, 168, 76, 0.15), var(--asmon-accent, #c9a84c));
	transform-origin: left center;
	animation: asmon-shop-toast-life var(--asmon-toast-life, 5200ms) linear forwards;
}

.asmon-shop-toast.is-held .asmon-shop-toast__bar {
	animation-play-state: paused;
}

@keyframes asmon-shop-toast-life {
	from {
		transform: scaleX(1);
	}

	to {
		transform: scaleX(0);
	}
}

@media (max-width: 599px) {
	.asmon-shop-toast {
		right: 1rem;
		left: 1rem;
		width: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.asmon-shop-toast,
	.asmon-shop-toast.is-leaving {
		transform: none;
		transition: opacity 0.2s ease;
	}

	.asmon-shop-toast::before,
	.asmon-shop-toast__bar {
		animation: none;
	}
}

.asmon-dialog--oracle .asmon-dialog__window {
	width: min(92vw, 38rem);
}

.asmon-dialog--oracle textarea.asmon-oracle__input {
	width: 100%;
	min-height: 10.5rem;
	box-sizing: border-box;
	padding: 0.85rem 1rem;
	border: 1px solid rgba(201, 168, 76, 0.55) !important;
	border-radius: 2px;
	background: #2a2218 !important;
	color: #f6eedb !important;
	-webkit-text-fill-color: #f6eedb;
	caret-color: #e2c46e;
	font-family: var(--asmon-font-body, "Crimson Pro", Georgia, serif);
	font-size: 1.08rem;
	line-height: 1.6;
	text-align: left;
	resize: vertical;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.asmon-dialog--oracle textarea.asmon-oracle__input::placeholder {
	color: rgba(246, 238, 219, 0.45);
	-webkit-text-fill-color: rgba(246, 238, 219, 0.45);
}

.asmon-dialog--oracle textarea.asmon-oracle__input::selection {
	background: rgba(201, 168, 76, 0.45);
	color: #fffaf0;
}

.asmon-dialog--oracle textarea.asmon-oracle__input:focus {
	border-color: var(--asmon-accent, #c9a84c) !important;
	background: #30271c !important;
	box-shadow: 0 0 18px rgba(201, 168, 76, 0.25);
	outline: none;
}

.asmon-oracle__form.is-done .asmon-oracle__intro,
.asmon-oracle__form.is-done .asmon-oracle__input,
.asmon-oracle__form.is-done .asmon-oracle__actions {
	display: none;
}

.asmon-oracle__actions .asmon-dialog__btn:disabled {
	opacity: 0.5;
	cursor: wait;
}

.asmon-oracle__reply {
	user-select: text;
}

.asmon-oracle__reply:empty {
	display: none;
}

.asmon-oracle__reply p {
	margin: 0;
	font-size: clamp(0.95rem, 1.8vw, 1.05rem);
	line-height: 1.6;
	color: var(--asmon-text-bright, #e8dec8);
}

.asmon-oracle__reply .asmon-oracle__gap {
	height: 0.7rem;
}

.asmon-oracle__reply--miss p,
.asmon-oracle__reply--wait p,
.asmon-oracle__reply--silent p {
	font-style: italic;
	color: var(--asmon-text, #9a8b72);
}

.asmon-oracle__reply .asmon-oracle__headline {
	margin-bottom: 0.35rem;
	font-family: var(--asmon-font-display, "Cinzel", Georgia, serif);
	font-size: clamp(1.05rem, 2.2vw, 1.25rem);
	color: var(--asmon-accent, #c9a84c);
	text-shadow: 0 0 18px rgba(201, 168, 76, 0.35);
}

.asmon-dialog--oracle.is-win .asmon-dialog__window::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: -1;
	width: 155%;
	height: 175%;
	border-radius: 50%;
	pointer-events: none;
	transform: translate(-50%, -50%);
	background: radial-gradient(
		ellipse at center,
		rgba(255, 252, 238, 0.98) 0%,
		rgba(255, 236, 195, 0.82) 14%,
		rgba(255, 220, 160, 0.55) 32%,
		rgba(201, 168, 76, 0.28) 52%,
		transparent 74%
	);
	filter: blur(20px);
	animation: asmon-404-fusion-explosion 3.2s linear forwards;
}

.asmon-murmur {
	position: fixed;
	top: 18vh;
	left: 50%;
	z-index: 10200;
	width: min(92vw, 420px);
	transform: translateX(-50%);
	pointer-events: none;
}

.asmon-murmur__veil,
.asmon-murmur__explosion,
.asmon-murmur__core {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 0;
	border-radius: 50%;
	opacity: 0;
	transform: translate(-50%, -50%);
	pointer-events: none;
	mix-blend-mode: screen;
	will-change: transform, opacity, filter;
}

.asmon-murmur__explosion {
	width: calc(155% + 420px);
	height: calc(195% + 260px);
	background: radial-gradient(
		ellipse at center,
		rgba(255, 252, 238, 0.98) 0%,
		rgba(255, 236, 195, 0.82) 14%,
		rgba(255, 220, 160, 0.55) 32%,
		rgba(201, 168, 76, 0.28) 52%,
		transparent 74%
	);
	filter: blur(20px);
	animation: asmon-404-fusion-explosion 3.2s linear forwards;
}

.asmon-murmur__veil {
	width: calc(115% + 520px);
	height: calc(140% + 300px);
	background: radial-gradient(
		ellipse at center,
		rgba(255, 228, 185, 0.5) 0%,
		rgba(201, 168, 76, 0.22) 35%,
		transparent 68%
	);
	filter: blur(36px);
	animation:
		asmon-404-fusion-burst-wide 3.2s linear forwards,
		asmon-murmur-fade 0.9s ease 3.2s forwards;
}

.asmon-murmur__core {
	width: calc(95% + 240px);
	height: calc(115% + 150px);
	background: radial-gradient(
		ellipse at center,
		rgba(255, 240, 210, 0.62) 0%,
		rgba(201, 168, 76, 0.26) 40%,
		transparent 75%
	);
	filter: blur(22px);
	animation:
		asmon-404-fusion-burst-core 3.2s linear forwards,
		asmon-murmur-fade 0.9s ease 3.2s forwards;
}

.asmon-murmur__wave {
	position: absolute;
	inset: 0;
	z-index: 0;
	border: 2px solid rgba(255, 238, 190, 1);
	border-radius: 4px;
	box-shadow:
		0 0 26px rgba(255, 220, 140, 0.95),
		inset 0 0 20px rgba(255, 220, 140, 0.6);
	opacity: 0;
	pointer-events: none;
	animation: asmon-murmur-wave 2.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.asmon-murmur__card {
	position: relative;
	z-index: 1;
	overflow: hidden;
	padding: 12px 18px;
	border: 1px solid rgba(220, 192, 106, 0.6);
	border-radius: 3px;
	background: linear-gradient(165deg, rgba(32, 26, 18, 0.98), rgba(14, 11, 8, 0.99));
	box-shadow:
		inset 0 1px 0 rgba(255, 248, 228, 0.12),
		0 14px 36px rgba(0, 0, 0, 0.48),
		0 0 24px rgba(220, 192, 106, 0.22);
	text-align: center;
	cursor: pointer;
	pointer-events: auto;
	animation:
		asmon-murmur-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) both,
		asmon-murmur-pulse 1.6s ease-in-out 0.6s 1;
}

.asmon-murmur__card::before {
	content: "";
	position: absolute;
	inset: 0;
	padding: 1px;
	pointer-events: none;
	-webkit-mask:
		linear-gradient(#fff 0 0) content-box,
		linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	background-image: linear-gradient(
		100deg,
		transparent 0%,
		rgba(255, 248, 228, 0.14) 32%,
		rgba(255, 252, 245, 0.62) 50%,
		rgba(255, 248, 228, 0.14) 68%,
		transparent 100%
	);
	background-size: 55% 100%;
	background-repeat: no-repeat;
	background-position: -55% 0;
	animation: asmon-murmur-flare 2.6s linear 0.5s infinite;
}

.asmon-murmur__text {
	position: relative;
	margin: 0;
	font-family: var(--asmon-font-display, "Cinzel", Georgia, serif);
	font-size: 0.78rem;
	letter-spacing: 0.14em;
	line-height: 1.55;
	text-transform: uppercase;
	color: var(--asmon-accent, #c9a84c);
	text-shadow: 0 0 18px rgba(220, 192, 106, 0.35);
	animation: asmon-murmur-text-flash 3.2s linear forwards;
}

.asmon-murmur.is-leaving .asmon-murmur__card {
	animation: asmon-murmur-out 0.6s ease forwards;
}

@keyframes asmon-murmur-in {
	0% {
		opacity: 0;
		transform: scale(0.86);
		filter: blur(6px) brightness(1.8);
		border-color: rgba(255, 244, 214, 1);
	}
	45% {
		opacity: 1;
		transform: scale(1.045);
		filter: blur(0) brightness(1.35);
		border-color: rgba(255, 240, 200, 1);
		box-shadow:
			inset 0 0 14px rgba(255, 236, 190, 0.32),
			0 14px 36px rgba(0, 0, 0, 0.48),
			0 0 60px rgba(232, 200, 112, 0.75);
	}
	100% {
		opacity: 1;
		transform: scale(1);
		filter: blur(0) brightness(1);
	}
}

@keyframes asmon-murmur-pulse {
	0%,
	100% {
		border-color: rgba(220, 192, 106, 0.6);
		box-shadow:
			inset 0 1px 0 rgba(255, 248, 228, 0.12),
			0 14px 36px rgba(0, 0, 0, 0.48),
			0 0 24px rgba(220, 192, 106, 0.22);
	}
	50% {
		border-color: rgba(255, 232, 170, 1);
		box-shadow:
			inset 0 0 12px rgba(255, 232, 170, 0.18),
			0 14px 36px rgba(0, 0, 0, 0.48),
			0 0 44px rgba(232, 200, 112, 0.6);
	}
}

@keyframes asmon-murmur-out {
	from {
		opacity: 1;
		transform: translateY(0);
	}
	to {
		opacity: 0;
		transform: translateY(-8px);
	}
}

@keyframes asmon-murmur-flare {
	0% {
		background-position: -55% 0;
	}
	38% {
		background-position: 155% 0;
	}
	76%,
	100% {
		background-position: -55% 0;
	}
}

@keyframes asmon-murmur-text-flash {
	0% {
		transform: scale(1);
	}
	14% {
		transform: scale(1.05);
		text-shadow:
			0 0 22px rgba(255, 245, 220, 0.95),
			0 0 44px rgba(255, 228, 180, 0.75),
			0 0 70px rgba(201, 168, 76, 0.55);
	}
	30% {
		transform: scale(1.03);
		text-shadow:
			0 0 20px rgba(255, 236, 200, 0.78),
			0 0 40px rgba(201, 168, 76, 0.48);
	}
	100% {
		transform: scale(1);
		text-shadow: 0 0 18px rgba(220, 192, 106, 0.35);
	}
}

@keyframes asmon-murmur-fade {
	to {
		opacity: 0;
	}
}

@keyframes asmon-murmur-wave {
	0% {
		opacity: 1;
		inset: 0;
		border-width: 3px;
	}
	60% {
		opacity: 0.6;
	}
	100% {
		opacity: 0;
		inset: -130px -280px;
		border-width: 1px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.asmon-dialog--oracle.is-win .asmon-dialog__window::before,
	.asmon-murmur__veil,
	.asmon-murmur__explosion,
	.asmon-murmur__core,
	.asmon-murmur__wave {
		display: none;
	}

	.asmon-murmur__card,
	.asmon-murmur__card::before,
	.asmon-murmur__text,
	.asmon-murmur.is-leaving .asmon-murmur__card {
		animation: none;
	}
}

/* Animations partagées des easter eggs — explosion (404, univers, don) et aura du logo (accueil, don) */
/* linear + frames rapprochées = régression fluide (sans paliers visibles) */
@keyframes asmon-404-fusion-explosion {
	0% {
		opacity: 0;
		transform: translate(-50%, -50%) scale(0.55);
		filter: blur(18px) brightness(1);
	}
	7% {
		opacity: 0.72;
		transform: translate(-50%, -50%) scale(1.02);
	}
	14% {
		opacity: 0.96;
		transform: translate(-50%, -50%) scale(1.48);
		filter: blur(24px) brightness(1.28);
	}
	18% {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1.72);
		filter: blur(26px) brightness(1.32);
	}
	22% {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1.62);
		filter: blur(25px) brightness(1.28);
	}
	28% {
		opacity: 0.94;
		transform: translate(-50%, -50%) scale(1.5);
	}
	34% {
		opacity: 0.86;
		transform: translate(-50%, -50%) scale(1.38);
		filter: blur(24px) brightness(1.2);
	}
	40% {
		opacity: 0.76;
		transform: translate(-50%, -50%) scale(1.28);
	}
	46% {
		opacity: 0.66;
		transform: translate(-50%, -50%) scale(1.2);
		filter: blur(23px) brightness(1.14);
	}
	52% {
		opacity: 0.56;
		transform: translate(-50%, -50%) scale(1.14);
	}
	58% {
		opacity: 0.46;
		transform: translate(-50%, -50%) scale(1.1);
		filter: blur(22px) brightness(1.1);
	}
	64% {
		opacity: 0.36;
		transform: translate(-50%, -50%) scale(1.07);
	}
	70% {
		opacity: 0.27;
		transform: translate(-50%, -50%) scale(1.04);
		filter: blur(21px) brightness(1.06);
	}
	76% {
		opacity: 0.18;
		transform: translate(-50%, -50%) scale(1.025);
	}
	82% {
		opacity: 0.11;
		transform: translate(-50%, -50%) scale(1.015);
		filter: blur(20px) brightness(1.03);
	}
	88% {
		opacity: 0.06;
		transform: translate(-50%, -50%) scale(1.01);
	}
	94% {
		opacity: 0.02;
		transform: translate(-50%, -50%) scale(1.005);
	}
	100% {
		opacity: 0;
		transform: translate(-50%, -50%) scale(1);
		filter: blur(18px) brightness(1);
	}
}

@keyframes asmon-404-fusion-burst-wide {
	0% {
		opacity: 0.32;
		transform: translate(-50%, -50%) scale(0.95);
		filter: blur(28px) brightness(1);
	}
	10% {
		opacity: 0.88;
		transform: translate(-50%, -50%) scale(1.38);
	}
	14% {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1.62);
		filter: blur(32px) brightness(1.38);
	}
	18% {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1.58);
	}
	24% {
		opacity: 0.97;
		transform: translate(-50%, -50%) scale(1.5);
		filter: blur(30px) brightness(1.3);
	}
	30% {
		opacity: 0.92;
		transform: translate(-50%, -50%) scale(1.42);
	}
	36% {
		opacity: 0.86;
		transform: translate(-50%, -50%) scale(1.34);
		filter: blur(30px) brightness(1.22);
	}
	42% {
		opacity: 0.79;
		transform: translate(-50%, -50%) scale(1.27);
	}
	48% {
		opacity: 0.72;
		transform: translate(-50%, -50%) scale(1.21);
		filter: blur(29px) brightness(1.16);
	}
	54% {
		opacity: 0.65;
		transform: translate(-50%, -50%) scale(1.16);
	}
	60% {
		opacity: 0.58;
		transform: translate(-50%, -50%) scale(1.12);
		filter: blur(29px) brightness(1.1);
	}
	66% {
		opacity: 0.51;
		transform: translate(-50%, -50%) scale(1.09);
	}
	72% {
		opacity: 0.44;
		transform: translate(-50%, -50%) scale(1.065);
		filter: blur(28px) brightness(1.06);
	}
	78% {
		opacity: 0.38;
		transform: translate(-50%, -50%) scale(1.05);
	}
	84% {
		opacity: 0.33;
		transform: translate(-50%, -50%) scale(1.04);
		filter: blur(28px) brightness(1.03);
	}
	90% {
		opacity: 0.3;
		transform: translate(-50%, -50%) scale(1.035);
	}
	96% {
		opacity: 0.285;
		transform: translate(-50%, -50%) scale(1.032);
	}
	100% {
		opacity: 0.28;
		transform: translate(-50%, -50%) scale(1.03);
		filter: blur(28px) brightness(1);
	}
}

@keyframes asmon-404-fusion-burst-core {
	0% {
		opacity: 0.18;
		transform: translate(-50%, -50%) scale(0.92);
		filter: blur(16px) brightness(1);
	}
	12% {
		opacity: 0.92;
		transform: translate(-50%, -50%) scale(1.38);
	}
	16% {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1.52);
		filter: blur(20px) brightness(1.35);
	}
	20% {
		opacity: 0.98;
		transform: translate(-50%, -50%) scale(1.46);
	}
	26% {
		opacity: 0.92;
		transform: translate(-50%, -50%) scale(1.38);
		filter: blur(19px) brightness(1.28);
	}
	32% {
		opacity: 0.85;
		transform: translate(-50%, -50%) scale(1.3);
	}
	38% {
		opacity: 0.77;
		transform: translate(-50%, -50%) scale(1.23);
		filter: blur(18px) brightness(1.22);
	}
	44% {
		opacity: 0.69;
		transform: translate(-50%, -50%) scale(1.17);
	}
	50% {
		opacity: 0.61;
		transform: translate(-50%, -50%) scale(1.12);
		filter: blur(17px) brightness(1.16);
	}
	56% {
		opacity: 0.53;
		transform: translate(-50%, -50%) scale(1.1);
	}
	62% {
		opacity: 0.45;
		transform: translate(-50%, -50%) scale(1.075);
		filter: blur(17px) brightness(1.1);
	}
	68% {
		opacity: 0.37;
		transform: translate(-50%, -50%) scale(1.06);
	}
	74% {
		opacity: 0.3;
		transform: translate(-50%, -50%) scale(1.05);
		filter: blur(16px) brightness(1.06);
	}
	80% {
		opacity: 0.24;
		transform: translate(-50%, -50%) scale(1.045);
	}
	86% {
		opacity: 0.18;
		transform: translate(-50%, -50%) scale(1.042);
		filter: blur(16px) brightness(1.03);
	}
	92% {
		opacity: 0.14;
		transform: translate(-50%, -50%) scale(1.04);
	}
	100% {
		opacity: 0.12;
		transform: translate(-50%, -50%) scale(1.04);
		filter: blur(16px) brightness(1);
	}
}

@keyframes asmon-404-fusion-pulse {
	0%,
	100% {
		opacity: 0.34;
		transform: translate(-50%, -50%) scale(1.04);
		filter: blur(28px) brightness(1.04);
	}
	22% {
		opacity: 0.48;
		transform: translate(-50%, -50%) scale(1.055);
	}
	50% {
		opacity: 0.88;
		transform: translate(-50%, -50%) scale(1.1);
		filter: blur(30px) brightness(1.08);
	}
	78% {
		opacity: 0.48;
		transform: translate(-50%, -50%) scale(1.055);
	}
}

@keyframes asmon-404-fusion-pulse-core {
	0%,
	100% {
		opacity: 0.16;
		transform: translate(-50%, -50%) scale(1.045);
		filter: blur(16px) brightness(1.04);
	}
	24% {
		opacity: 0.3;
		transform: translate(-50%, -50%) scale(1.065);
	}
	50% {
		opacity: 0.76;
		transform: translate(-50%, -50%) scale(1.12);
		filter: blur(18px) brightness(1.1);
	}
	76% {
		opacity: 0.3;
		transform: translate(-50%, -50%) scale(1.065);
	}
}

/* Cœur : jaillit des lettres — courbe calquée sur asmon-404-fusion-burst-core */
@keyframes asmon-logo-aura-core-burst {
	0% {
		opacity: 0;
		transform: translate(-50%, -50%) scale(0.52);
		filter: blur(4px) brightness(1);
	}
	6% {
		opacity: 0.18;
		transform: translate(-50%, -50%) scale(0.66);
	}
	10% {
		opacity: 0.42;
		transform: translate(-50%, -50%) scale(0.82);
		filter: blur(7px) brightness(1.12);
	}
	14% {
		opacity: 0.72;
		transform: translate(-50%, -50%) scale(0.98);
	}
	16% {
		opacity: 0.9;
		transform: translate(-50%, -50%) scale(1.1);
		filter: blur(10px) brightness(1.24);
	}
	18% {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1.22);
		filter: blur(12px) brightness(1.34);
	}
	20% {
		opacity: 0.99;
		transform: translate(-50%, -50%) scale(1.3);
	}
	24% {
		opacity: 0.94;
		transform: translate(-50%, -50%) scale(1.38);
		filter: blur(14px) brightness(1.28);
	}
	28% {
		opacity: 0.88;
		transform: translate(-50%, -50%) scale(1.44);
	}
	32% {
		opacity: 0.8;
		transform: translate(-50%, -50%) scale(1.5);
		filter: blur(15px) brightness(1.22);
	}
	36% {
		opacity: 0.72;
		transform: translate(-50%, -50%) scale(1.54);
	}
	40% {
		opacity: 0.64;
		transform: translate(-50%, -50%) scale(1.57);
		filter: blur(16px) brightness(1.16);
	}
	44% {
		opacity: 0.56;
		transform: translate(-50%, -50%) scale(1.59);
	}
	48% {
		opacity: 0.48;
		transform: translate(-50%, -50%) scale(1.6);
		filter: blur(17px) brightness(1.12);
	}
	52% {
		opacity: 0.42;
		transform: translate(-50%, -50%) scale(1.61);
	}
	56% {
		opacity: 0.37;
		transform: translate(-50%, -50%) scale(1.615);
		filter: blur(17px) brightness(1.08);
	}
	60% {
		opacity: 0.33;
		transform: translate(-50%, -50%) scale(1.618);
	}
	64% {
		opacity: 0.3;
		transform: translate(-50%, -50%) scale(1.62);
		filter: blur(18px) brightness(1.06);
	}
	68% {
		opacity: 0.28;
		transform: translate(-50%, -50%) scale(1.62);
	}
	72% {
		opacity: 0.27;
		transform: translate(-50%, -50%) scale(1.62);
		filter: blur(18px) brightness(1.04);
	}
	80% {
		opacity: 0.26;
		transform: translate(-50%, -50%) scale(1.62);
	}
	88% {
		opacity: 0.26;
		transform: translate(-50%, -50%) scale(1.62);
		filter: blur(18px) brightness(1.02);
	}
	100% {
		opacity: 0.26;
		transform: translate(-50%, -50%) scale(1.62);
		filter: blur(18px) brightness(1);
	}
}

/* Halo : suit le cœur — courbe calquée sur asmon-404-fusion-burst-wide */
@keyframes asmon-logo-aura-wide-burst {
	0% {
		opacity: 0;
		transform: translate(-50%, -50%) scale(0.55);
		filter: blur(10px) brightness(1);
	}
	6% {
		opacity: 0.14;
		transform: translate(-50%, -50%) scale(0.68);
	}
	10% {
		opacity: 0.38;
		transform: translate(-50%, -50%) scale(0.84);
		filter: blur(16px) brightness(1.1);
	}
	14% {
		opacity: 0.68;
		transform: translate(-50%, -50%) scale(1.02);
	}
	16% {
		opacity: 0.88;
		transform: translate(-50%, -50%) scale(1.14);
		filter: blur(24px) brightness(1.22);
	}
	18% {
		opacity: 0.98;
		transform: translate(-50%, -50%) scale(1.22);
	}
	20% {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1.28);
		filter: blur(32px) brightness(1.34);
	}
	22% {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1.26);
	}
	26% {
		opacity: 0.96;
		transform: translate(-50%, -50%) scale(1.28);
		filter: blur(36px) brightness(1.28);
	}
	30% {
		opacity: 0.9;
		transform: translate(-50%, -50%) scale(1.3);
	}
	34% {
		opacity: 0.84;
		transform: translate(-50%, -50%) scale(1.32);
		filter: blur(38px) brightness(1.22);
	}
	38% {
		opacity: 0.78;
		transform: translate(-50%, -50%) scale(1.34);
	}
	42% {
		opacity: 0.72;
		transform: translate(-50%, -50%) scale(1.35);
		filter: blur(40px) brightness(1.16);
	}
	46% {
		opacity: 0.66;
		transform: translate(-50%, -50%) scale(1.36);
	}
	50% {
		opacity: 0.62;
		transform: translate(-50%, -50%) scale(1.37);
		filter: blur(41px) brightness(1.12);
	}
	54% {
		opacity: 0.58;
		transform: translate(-50%, -50%) scale(1.375);
	}
	58% {
		opacity: 0.55;
		transform: translate(-50%, -50%) scale(1.38);
		filter: blur(42px) brightness(1.08);
	}
	62% {
		opacity: 0.52;
		transform: translate(-50%, -50%) scale(1.385);
	}
	66% {
		opacity: 0.51;
		transform: translate(-50%, -50%) scale(1.39);
		filter: blur(43px) brightness(1.05);
	}
	70% {
		opacity: 0.5;
		transform: translate(-50%, -50%) scale(1.395);
	}
	74% {
		opacity: 0.49;
		transform: translate(-50%, -50%) scale(1.4);
		filter: blur(44px) brightness(1.03);
	}
	78% {
		opacity: 0.485;
		transform: translate(-50%, -50%) scale(1.405);
	}
	82% {
		opacity: 0.482;
		transform: translate(-50%, -50%) scale(1.41);
		filter: blur(44px) brightness(1.02);
	}
	86% {
		opacity: 0.48;
		transform: translate(-50%, -50%) scale(1.415);
	}
	90% {
		opacity: 0.48;
		transform: translate(-50%, -50%) scale(1.418);
		filter: blur(44px) brightness(1.01);
	}
	94% {
		opacity: 0.48;
		transform: translate(-50%, -50%) scale(1.42);
	}
	100% {
		opacity: 0.48;
		transform: translate(-50%, -50%) scale(1.42);
		filter: blur(44px) brightness(1);
	}
}

@keyframes asmon-logo-aura-wide-breathe {
	0%,
	100% {
		opacity: 0.48;
		transform: translate(-50%, -50%) scale(1.42);
		filter: blur(44px);
	}
	25% {
		opacity: 0.51;
		transform: translate(-50%, -50%) scale(1.435);
		filter: blur(43px);
	}
	50% {
		opacity: 0.55;
		transform: translate(-50%, -50%) scale(1.46);
		filter: blur(42px);
	}
	75% {
		opacity: 0.5;
		transform: translate(-50%, -50%) scale(1.43);
		filter: blur(43px);
	}
}

@keyframes asmon-logo-aura-core-breathe {
	0%,
	100% {
		opacity: 0.26;
		transform: translate(-50%, -50%) scale(1.62);
		filter: blur(18px);
	}
	25% {
		opacity: 0.29;
		transform: translate(-50%, -50%) scale(1.64);
		filter: blur(17px);
	}
	50% {
		opacity: 0.33;
		transform: translate(-50%, -50%) scale(1.67);
		filter: blur(16px);
	}
	75% {
		opacity: 0.28;
		transform: translate(-50%, -50%) scale(1.63);
		filter: blur(17px);
	}
}

/* Logo : flash calqué sur asmon-404-fusion-text-flash */
@keyframes asmon-logo-shine-burst {
	0% {
		filter: brightness(0) invert(0.94) sepia(0.32) saturate(0.8) hue-rotate(358deg);
	}
	8% {
		filter: brightness(0) invert(0.96) sepia(0.34) saturate(0.86) hue-rotate(358deg)
			drop-shadow(0 0 10px rgba(255, 228, 190, 0.28));
	}
	14% {
		filter: brightness(0) invert(1) sepia(0.4) saturate(1) hue-rotate(358deg)
			drop-shadow(0 0 20px rgba(255, 235, 200, 0.52))
			drop-shadow(0 0 36px rgba(201, 168, 76, 0.28));
	}
	18% {
		filter: brightness(0) invert(1) sepia(0.5) saturate(1.2) hue-rotate(358deg)
			drop-shadow(0 0 30px rgba(255, 240, 210, 0.78))
			drop-shadow(0 0 52px rgba(255, 210, 140, 0.52))
			drop-shadow(0 0 80px rgba(201, 168, 76, 0.36));
	}
	22% {
		filter: brightness(0) invert(1) sepia(0.52) saturate(1.28) hue-rotate(358deg)
			drop-shadow(0 0 34px rgba(255, 242, 215, 0.88))
			drop-shadow(0 0 58px rgba(255, 210, 140, 0.58))
			drop-shadow(0 0 90px rgba(201, 168, 76, 0.4));
	}
	28% {
		filter: brightness(0) invert(1) sepia(0.5) saturate(1.22) hue-rotate(358deg)
			drop-shadow(0 0 30px rgba(255, 236, 200, 0.76))
			drop-shadow(0 0 54px rgba(201, 168, 76, 0.46));
	}
	34% {
		filter: brightness(0) invert(1) sepia(0.48) saturate(1.18) hue-rotate(358deg)
			drop-shadow(0 0 28px rgba(255, 232, 195, 0.68))
			drop-shadow(0 0 50px rgba(201, 168, 76, 0.42));
	}
	40% {
		filter: brightness(0) invert(1) sepia(0.46) saturate(1.14) hue-rotate(358deg)
			drop-shadow(0 0 26px rgba(255, 230, 192, 0.62))
			drop-shadow(0 0 48px rgba(201, 168, 76, 0.4));
	}
	46% {
		filter: brightness(0) invert(1) sepia(0.45) saturate(1.12) hue-rotate(358deg)
			drop-shadow(0 0 24px rgba(201, 168, 76, 0.58))
			drop-shadow(0 0 46px rgba(255, 228, 190, 0.4));
	}
	52% {
		filter: brightness(0) invert(1) sepia(0.44) saturate(1.1) hue-rotate(358deg)
			drop-shadow(0 0 23px rgba(201, 168, 76, 0.56))
			drop-shadow(0 0 45px rgba(255, 228, 190, 0.38));
	}
	58% {
		filter: brightness(0) invert(1) sepia(0.43) saturate(1.09) hue-rotate(358deg)
			drop-shadow(0 0 22px rgba(201, 168, 76, 0.55))
			drop-shadow(0 0 44px rgba(255, 228, 190, 0.37));
	}
	64% {
		filter: brightness(0) invert(1) sepia(0.42) saturate(1.085) hue-rotate(358deg)
			drop-shadow(0 0 22px rgba(201, 168, 76, 0.55))
			drop-shadow(0 0 44px rgba(255, 228, 190, 0.38));
	}
	72% {
		filter: brightness(0) invert(1) sepia(0.42) saturate(1.082) hue-rotate(358deg)
			drop-shadow(0 0 22px rgba(201, 168, 76, 0.55))
			drop-shadow(0 0 44px rgba(255, 228, 190, 0.38));
	}
	80% {
		filter: brightness(0) invert(1) sepia(0.42) saturate(1.08) hue-rotate(358deg)
			drop-shadow(0 0 22px rgba(201, 168, 76, 0.55))
			drop-shadow(0 0 44px rgba(255, 228, 190, 0.38));
	}
	88% {
		filter: brightness(0) invert(1) sepia(0.42) saturate(1.08) hue-rotate(358deg)
			drop-shadow(0 0 22px rgba(201, 168, 76, 0.55))
			drop-shadow(0 0 44px rgba(255, 228, 190, 0.38))
			drop-shadow(0 0 66px rgba(255, 200, 120, 0.19));
	}
	100% {
		filter: brightness(0) invert(1) sepia(0.42) saturate(1.08) hue-rotate(358deg)
			drop-shadow(0 0 22px rgba(201, 168, 76, 0.55))
			drop-shadow(0 0 44px rgba(255, 228, 190, 0.38))
			drop-shadow(0 0 68px rgba(255, 200, 120, 0.2));
	}
}

@keyframes asmon-logo-shine-breathe {
	0%,
	100% {
		filter: brightness(0) invert(1) sepia(0.42) saturate(1.08) hue-rotate(358deg)
			drop-shadow(0 0 22px rgba(201, 168, 76, 0.55))
			drop-shadow(0 0 44px rgba(255, 228, 190, 0.38))
			drop-shadow(0 0 68px rgba(255, 200, 120, 0.2));
	}
	25% {
		filter: brightness(0) invert(1) sepia(0.44) saturate(1.11) hue-rotate(358deg)
			drop-shadow(0 0 24px rgba(201, 168, 76, 0.58))
			drop-shadow(0 0 46px rgba(255, 228, 190, 0.41))
			drop-shadow(0 0 72px rgba(255, 200, 120, 0.23));
	}
	50% {
		filter: brightness(0) invert(1) sepia(0.46) saturate(1.14) hue-rotate(358deg)
			drop-shadow(0 0 27px rgba(255, 235, 200, 0.65))
			drop-shadow(0 0 50px rgba(201, 168, 76, 0.5))
			drop-shadow(0 0 78px rgba(255, 200, 120, 0.28));
	}
	75% {
		filter: brightness(0) invert(1) sepia(0.43) saturate(1.1) hue-rotate(358deg)
			drop-shadow(0 0 23px rgba(201, 168, 76, 0.56))
			drop-shadow(0 0 45px rgba(255, 228, 190, 0.39))
			drop-shadow(0 0 70px rgba(255, 200, 120, 0.22));
	}
}

/* Voile de chargement partagé — boutique et page de don */
.asmon-shop-cart-busy {
	position: absolute;
	inset: 0;
	z-index: 40;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(10, 8, 6, 0.86);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.asmon-shop-cart-busy.is-visible {
	opacity: 1;
	pointer-events: auto;
}

.asmon-shop-cart-busy .asmon-spinner {
	display: inline-block;
}

/* Braises et reflets des boutons dorés — boutique et page de don */
.asmon-shop-tab__embers {
	position: absolute;
	inset: 0;
	z-index: 1;
	overflow: visible;
	pointer-events: none;
}

.asmon-shop-tab__ember {
	position: absolute;
	left: 0.2rem;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--asmon-accent, #c9a84c);
	box-shadow:
		0 0 10px rgba(201, 168, 76, 0.7),
		0 0 22px rgba(201, 168, 76, 0.28);
	opacity: 0;
	animation: asmon-shop-tab-ember 1 forwards ease-out;
}

.asmon-shop-tab__ember.is-sm {
	width: 3px;
	height: 3px;
	box-shadow: 0 0 8px rgba(201, 168, 76, 0.5);
}

.asmon-shop-tab__ember.is-lg {
	width: 6px;
	height: 6px;
	box-shadow:
		0 0 14px rgba(201, 168, 76, 0.78),
		0 0 28px rgba(201, 168, 76, 0.32);
}

@keyframes asmon-shop-tab-ember {
	0% {
		opacity: 0;
		transform: translate3d(0, 0, 0) scale(0.4);
	}
	14% {
		opacity: 1;
	}
	100% {
		opacity: 0;
		transform: translate3d(var(--ex, -40px), var(--ey, -24px), 0) scale(1.05);
	}
}

@keyframes asmon-shop-cta-shine {
	0% {
		transform: translateX(-140%) skewX(-18deg);
	}

	12% {
		transform: translateX(240%) skewX(-18deg);
	}

	100% {
		transform: translateX(240%) skewX(-18deg);
	}
}

@keyframes asmon-shop-cta-glow {
	0%,
	100% {
		box-shadow:
			0 0 16px rgba(201, 168, 76, 0.4),
			0 0 28px rgba(201, 168, 76, 0.16),
			inset 0 1px 0 rgba(255, 248, 228, 0.48);
	}

	50% {
		box-shadow:
			0 0 22px rgba(201, 168, 76, 0.52),
			0 0 34px rgba(201, 168, 76, 0.22),
			inset 0 1px 0 rgba(255, 248, 228, 0.58);
	}
}

/* Même respiration, mais en opacité : pour un halo porté par un pseudo-élément (composité). */
@keyframes asmon-shop-glow-breathe {
	0%,
	100% { opacity: 0; }
	50% { opacity: 1; }
}
