/* Seasonal decoration inside the cookie card and the reader reminder (see holiday-cards.js). */
.holiday-card-deco{position:absolute;inset:0;z-index:2;overflow:hidden;border-radius:inherit;pointer-events:none!important;user-select:none}
.holiday-card-deco *{pointer-events:none!important}
.holiday-card-bouquet{position:absolute;max-width:none;height:auto;filter:drop-shadow(0 2px 2px #0002)}
.holiday-card-lights{position:absolute;top:5px;height:14px}
.holiday-card-lights svg{position:absolute;inset:0;width:100%;height:14px;overflow:visible}
.holiday-card-lights path{fill:none;stroke:#b17a3d;stroke-width:1}
.holiday-card-bulb{position:absolute;top:2px;width:5px;height:8px;border-radius:45%;background:#fff6a0;box-shadow:0 0 3px 1px #ffe98a,0 0 8px 3px #ffd22a99;animation:holiday-card-glow 2.5s ease-in-out infinite alternate}
@keyframes holiday-card-glow{from{opacity:.65}to{opacity:1}}
/* Cookie card: bouquet in the top-right corner, mirrored so its cut side rests against the card edge
   and the lantern hangs inward, in the free space beside the title. */
.holiday-card-deco-right .holiday-card-bouquet{width:140px;right:-28px;top:-71px;transform:scaleX(-1)}
.holiday-card-deco-right .holiday-card-lights{left:16px;right:106px}
/* Reader reminder: bouquet in the top-left corner (the close button is on the right), lantern above
   the picture; the lights stop before the close button. */
.holiday-card-deco-left .holiday-card-bouquet{width:96px;left:-19px;top:-58px}
.holiday-card-deco-left .holiday-card-lights{left:79px;right:44px}
/* On phones the cookie card title spans the whole width: no room for the bouquet, lights only. */
@media (max-width:640px){.holiday-card-deco-right .holiday-card-bouquet{display:none}.holiday-card-deco-right .holiday-card-lights{right:16px}}
@media (prefers-reduced-motion:reduce){.holiday-card-bulb{animation:none}}
@media print{.holiday-card-deco{display:none}}

/* Decorations fade in once their pictures are loaded instead of popping in (owner, 12 Nov 2026). */
@keyframes ayiti-deco-in{from{opacity:0}to{opacity:1}}
#ayiti-holiday,.holiday-article-snow{animation:ayiti-deco-in .6s ease-out both}
#ayiti-holiday img,.holiday-added-header-corners img,.holiday-card-deco img{opacity:0;transition:opacity .5s ease-out}
#ayiti-holiday img.holiday-in,.holiday-added-header-corners img.holiday-in,.holiday-card-deco img.holiday-in{opacity:1}
@media(prefers-reduced-motion:reduce){#ayiti-holiday,.holiday-article-snow{animation:none}#ayiti-holiday img,.holiday-added-header-corners img,.holiday-card-deco img{transition:none}}
