/* All motion is decorative; text keeps its measured print/export position. */
.motion-enhanced .line,.motion-enhanced .gold{animation:none!important;transform:none!important;opacity:1}
.motion-enhanced .light,.motion-enhanced .particles{display:none!important}
.motion-enhanced .eyebrow,.motion-enhanced .citation,.motion-enhanced .poster-signature{opacity:1}
.art-atmosphere{position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden}
.art-glow{position:absolute;inset:0;background:radial-gradient(ellipse at calc(72% + var(--px,0)*8%) calc(38% + var(--py,0)*8%),#ffe7a13d,transparent 62%);opacity:0;transition:opacity .8s ease}
.motion-running.motion-hover .art-glow{opacity:.15}
.art-spark{position:absolute;left:var(--spark-x);top:var(--spark-y);width:2px;height:2px;border-radius:50%;background:var(--accent,#d9be85);opacity:0;box-shadow:0 0 6px #ffe9b34d}
.motion-running .art-spark{animation:art-spark-breathe var(--spark-duration) var(--spark-delay) ease-in-out infinite}
@keyframes art-spark-breathe{0%,100%{opacity:0;transform:translateY(3px)}45%{opacity:.32}70%{opacity:.1;transform:translateY(-6px)}}
.collection-heading{position:relative;padding-right:36px}
.art-replay{position:absolute;right:0;top:6px;width:30px;height:30px;display:grid;place-items:center;padding:0;border-radius:50%;font:22px/1 Georgia;color:#eacb8c;transform:none!important;transition:background .2s,border-color .2s}
.art-replay:hover{border-color:#eacb8c88;background:#eacb8c12}.art-replay:disabled{opacity:.35;cursor:default}
.art-grid .art-choice{transition:border-color .25s,background .25s,box-shadow .25s}
.art-grid .art-choice:hover{box-shadow:inset 0 0 0 1px #eacb8c44}
.no-motion .art-atmosphere{display:none}
@media(prefers-reduced-motion:reduce){.art-atmosphere{display:none!important}.motion-enhanced .eyebrow,.motion-enhanced .line,.motion-enhanced .citation,.motion-enhanced .poster-signature,.motion-enhanced .artwork{opacity:1!important;clip-path:none!important;animation:none!important;transform:none!important}}
@media print{.art-atmosphere,.art-replay{display:none!important}.motion-enhanced .eyebrow,.motion-enhanced .line,.motion-enhanced .citation,.motion-enhanced .poster-signature,.motion-enhanced .artwork{opacity:1!important;clip-path:none!important;animation:none!important;transform:none!important}}

/* Message-specific particles stay over the image, clear of the quote. */
.message-particles{position:absolute;inset:0 0 0 53%;overflow:hidden;pointer-events:none;opacity:0;transition:opacity .7s}
.motion-running .message-particles{opacity:1}
.message-particle{position:absolute;left:var(--fx-x);top:0;width:var(--fx-size);height:var(--fx-size);opacity:0;animation:message-fall var(--fx-duration) var(--fx-delay) linear infinite;animation-play-state:paused;will-change:transform,opacity}
.motion-running .message-particle{animation-play-state:running}
.particle-shape{display:block;width:100%;height:100%;background:linear-gradient(135deg,#f2c6ca,#bc7181);border-radius:80% 15% 70% 25%;box-shadow:inset 1px 1px 2px #ffffff50;animation:message-turn 5s var(--fx-delay) ease-in-out infinite alternate;animation-play-state:paused}
.motion-running .particle-shape{animation-play-state:running}
[data-effect=leaves] .particle-shape{width:65%;height:125%;background:linear-gradient(120deg,#c5bd78,#647e53);border-radius:90% 0 90% 0}
[data-effect=leaves] .particle-shape::after{content:'';position:absolute;left:40%;top:10%;height:85%;width:1px;background:#efe9bc66;transform:rotate(26deg)}
[data-effect=ivory] .particle-shape{background:linear-gradient(130deg,#fff7df,#dccca5);border-radius:85% 25% 75% 15%}
[data-effect=gold-petals] .particle-shape{background:linear-gradient(130deg,#ffe5a9,#b98c40);border-radius:85% 20% 75% 30%}
[data-effect=rain] .message-particle{width:1px;height:18px;animation-name:message-rain}
[data-effect=rain] .particle-shape{background:linear-gradient(transparent,#d4e7f1);border-radius:100%;box-shadow:none;animation:none;transform:rotate(-14deg)}
[data-effect=water] .particle-shape{width:50%;height:90%;background:radial-gradient(ellipse at 35% 25%,#f4ffff,#99ced677);border-radius:65% 65% 70% 70%;box-shadow:0 0 4px #e4ffff22}
[data-effect=water] .message-particle{animation-duration:calc(var(--fx-duration)*.65)}
[data-effect=light] .message-particle{top:auto;bottom:0;animation-name:message-rise;width:3px;height:3px}
[data-effect=light] .particle-shape{border-radius:50%;background:#f4dba4;box-shadow:0 0 7px #f4dba466;animation:none}
@keyframes message-fall{0%{transform:translate3d(-12px,-28px,0) rotate(-15deg);opacity:0}12%{opacity:var(--fx-peak)}50%{transform:translate3d(var(--fx-drift),calc(var(--effect-height)*.5),0) rotate(var(--fx-turn));opacity:var(--fx-peak)}88%{opacity:var(--fx-peak)}100%{transform:translate3d(8px,calc(var(--effect-height) + 28px),0) rotate(calc(var(--fx-turn)*2));opacity:0}}
@keyframes message-turn{from{transform:rotate(-20deg) scaleX(.65)}to{transform:rotate(30deg) scaleX(1)}}
@keyframes message-rain{0%{transform:translate3d(-15px,-30px,0);opacity:0}12%,85%{opacity:.22}100%{transform:translate3d(var(--fx-drift),calc(var(--effect-height) + 30px),0);opacity:0}}
@keyframes message-rise{0%{transform:translate3d(0,20px,0);opacity:0}20%,70%{opacity:var(--fx-peak)}100%{transform:translate3d(var(--fx-drift),calc(var(--effect-height)*-1),0);opacity:0}}
@media(prefers-reduced-motion:reduce){.message-particles{display:none!important}.message-particle,.particle-shape{animation:none!important}}
@media print{.message-particles{display:none!important}}
