
.oml-christmas-banner {
 position: relative; isolation: isolate; overflow: hidden;
 padding: 18px clamp(24px, 16vw, 250px) 21px; margin: 0; text-align: center;
 background:
  radial-gradient(ellipse at 50% 115%, #c62e42 0%, #96142f 38%, #650e27 69%, #3b0a21 100%);
 border-bottom: 3px solid #ffd270; color: #fff6e2;
}
.oml-christmas-greeting {
 position: relative; z-index: 1; display: grid; justify-items: center; gap: 3px; margin: 0;
}
.oml-christmas-greeting strong {
 font: italic 400 clamp(36px, 4.6vw, 68px)/1.05 Georgia, "Times New Roman", serif;
 color: #fff4d3; text-shadow: 0 2px 4px #42091b, 0 0 20px #ffc45d65;
}
.oml-christmas-greeting small {
 font-size: clamp(10px, 1.2vw, 13px); font-weight: 600; letter-spacing: .14em;
 line-height: 1.4; color: #fff4d4;
}
.oml-christmas-ornaments {
 position: absolute; inset: 0; pointer-events: none;
 background:
  radial-gradient(circle at 5% 65%, #ffe6a4 1px, transparent 4px),
  radial-gradient(circle at 10% 22%, #ffe6a4 1px, transparent 3px),
  radial-gradient(circle at 17% 76%, #ffe6a4 1px, transparent 4px),
  radial-gradient(circle at 20% 42%, #ffe6a4 1px, transparent 3px),
  radial-gradient(circle at 80% 70%, #ffe6a4 1px, transparent 3px),
  radial-gradient(circle at 87% 17%, #ffe6a4 1px, transparent 4px),
  radial-gradient(circle at 92% 83%, #ffe6a4 1px, transparent 3px),
  radial-gradient(circle at 97% 33%, #ffe6a4 1px, transparent 3px);
}
.oml-christmas-ornaments i {
 --ball: #ffd67a; --shadow: #91601c; --size: 34px; --drop: 19px;
 position: absolute; top: 0; left: var(--position); width: var(--size);
 height: calc(var(--drop) + var(--size)); transform: translateX(-50%);
 background: linear-gradient(#e3b777, #ffe4a0) top center / 1px var(--drop) no-repeat;
}
.oml-christmas-ornaments i::before {
 content: ''; position: absolute; bottom: calc(var(--size) - 1px); left: 36%; width: 28%; height: 5px;
 border-radius: 2px 2px 0 0; background: linear-gradient(90deg, #97713a, #ffe2a1, #97713a);
}
.oml-christmas-ornaments i::after {
 content: ''; position: absolute; bottom: 0; left: 0; width: var(--size); aspect-ratio: 1; border-radius: 50%;
 background:
  radial-gradient(circle at 33% 26%, #fff4c9 1px, transparent 22%),
  repeating-linear-gradient(155deg, transparent 0 7px, #ffeac255 8px 9px, transparent 10px 14px),
  radial-gradient(circle at 31% 24%, var(--ball), var(--shadow) 79%);
 box-shadow: 0 6px 13px #380816a0, inset 0 0 0 1px #ffe4ab66;
}
.oml-christmas-ornaments i:nth-of-type(1) { --position: 8%; --ball: #b6dc93; --shadow: #104936; --drop: 29px; --size: 43px; }
.oml-christmas-ornaments i:nth-of-type(2) { --position: 13%; }
.oml-christmas-ornaments i:nth-of-type(3) { --position: 86%; --drop: 28px; --size: 43px; }
.oml-christmas-ornaments i:nth-of-type(4) { --position: 93%; --ball: #b6dc93; --shadow: #104936; --drop: 15px; --size: 33px; }
.oml-christmas-ornaments span {
 position: absolute; top: 47%; color: #ffdf94; font: 23px/1 Georgia, serif;
 text-shadow: 0 0 11px #ffba7a;
}
.oml-christmas-ornaments span:nth-of-type(1) { left: 18%; }
.oml-christmas-ornaments span:nth-of-type(2) { right: 19%; }

.oml-christmas-garland {
 position: absolute; inset: 0 0 auto; z-index: 2; height: 65px; pointer-events: none;
 background: linear-gradient(#10261be6, #142b1e42 56%, transparent);
}
.oml-christmas-needles {
 position: absolute; inset: 0 0 auto; height: 42px;
 background:
  radial-gradient(ellipse at 50% -90%, #183427 50%, transparent 72%),
  repeating-conic-gradient(from 117deg at 50% -7px, #749264 0deg 2deg, #254d38 2deg 5deg, #113626 6deg 9deg, transparent 9deg 13deg) 0 0 / 54px 37px repeat-x,
  repeating-conic-gradient(from 170deg at 50% -6px, #416e47 0deg 2deg, #1e472d 3deg 7deg, transparent 9deg 15deg) 18px 0 / 58px 40px repeat-x;
 mask-image: linear-gradient(#000 24%, #000c 61%, transparent);
}
.oml-christmas-lights {
 position: absolute; inset: 0; display: grid; grid-template-columns: repeat(18, minmax(0, 1fr));
 padding-inline: clamp(9px, 3vw, 48px);
}
.oml-christmas-lights i {
 --bulb: #ffd270; position: relative; top: 25px; justify-self: center;
 width: 8px; height: 12px; border-radius: 40% 40% 55% 55%;
 background: var(--bulb); box-shadow: 0 0 10px 2px var(--bulb), 0 0 22px var(--bulb);
}
.oml-christmas-lights i::before {
 content: ''; position: absolute; inset: -4px 1px auto; height: 4px; border-radius: 2px 2px 0 0;
 background: #80735a;
}
.oml-christmas-lights i:nth-child(3n + 2) { --bulb: #ff7768; top: 15px; }
.oml-christmas-lights i:nth-child(3n + 3) { --bulb: #b4eba1; top: 19px; }

/* The sparks are decorative. Animate one sequence, then hold a still display. */
.oml-christmas-fireworks { position: absolute; inset: 0; pointer-events: none; }
.oml-christmas-fireworks-sky {
 z-index: 1;
 background: radial-gradient(ellipse at 85% 23%, #16193491 0%, #201a3936 25%, transparent 51%);
}
.oml-christmas-burst {
 --spark: #ffbf4b; --hot: #fff7d3; --halo: #f58229;
 --size: clamp(92px, 11.2vw, 176px); --delay: 0s; --ray: 3px;
 position: absolute; top: var(--y); left: var(--x); width: var(--size); aspect-ratio: 1;
 color: var(--spark); opacity: .97; transform: translate(-50%, -50%);
 background: radial-gradient(circle, #fff 0 2px, var(--hot) 3px, var(--spark) 4px, transparent 12%);
}
.oml-christmas-burst i {
 --trail: 74%; position: absolute; top: 50%; left: calc(50% - var(--ray) / 2);
 width: var(--ray); height: 50%; transform: rotate(var(--angle)); transform-origin: center top;
}
.oml-christmas-burst i:nth-child(3n + 2) { --trail: 53%; }
.oml-christmas-burst i:nth-child(4n) { --trail: 87%; }
.oml-christmas-burst i:nth-child(5n + 1) { --trail: 66%; }
.oml-christmas-burst i::before {
 content: ''; position: absolute; inset: 8% 0 auto; height: calc(var(--trail) - 8%);
 border-radius: 50%; transform: skewX(-2deg);
 background: linear-gradient(transparent 1%, var(--halo) 34%, currentColor 60%, var(--hot));
 box-shadow: 0 0 6px -1px currentColor;
}
.oml-christmas-burst i::after {
 content: ''; position: absolute; top: calc(var(--trail) + 6%); left: 50%;
 width: calc(var(--ray) + 1px); aspect-ratio: 1; border-radius: 50%; transform: translateX(-50%);
 background: #fff9f0;
 box-shadow: 0 0 7px 1px currentColor, 1px 7px 0 -1px currentColor;
}
.oml-christmas-burst i:nth-child(1) { --angle: 0deg; }
.oml-christmas-burst i:nth-child(2) { --angle: 15deg; }
.oml-christmas-burst i:nth-child(3) { --angle: 30deg; }
.oml-christmas-burst i:nth-child(4) { --angle: 45deg; }
.oml-christmas-burst i:nth-child(5) { --angle: 60deg; }
.oml-christmas-burst i:nth-child(6) { --angle: 75deg; }
.oml-christmas-burst i:nth-child(7) { --angle: 90deg; }
.oml-christmas-burst i:nth-child(8) { --angle: 105deg; }
.oml-christmas-burst i:nth-child(9) { --angle: 120deg; }
.oml-christmas-burst i:nth-child(10) { --angle: 135deg; }
.oml-christmas-burst i:nth-child(11) { --angle: 150deg; }
.oml-christmas-burst i:nth-child(12) { --angle: 165deg; }
.oml-christmas-burst i:nth-child(13) { --angle: 180deg; }
.oml-christmas-burst i:nth-child(14) { --angle: 195deg; }
.oml-christmas-burst i:nth-child(15) { --angle: 210deg; }
.oml-christmas-burst i:nth-child(16) { --angle: 225deg; }
.oml-christmas-burst i:nth-child(17) { --angle: 240deg; }
.oml-christmas-burst i:nth-child(18) { --angle: 255deg; }
.oml-christmas-burst i:nth-child(19) { --angle: 270deg; }
.oml-christmas-burst i:nth-child(20) { --angle: 285deg; }
.oml-christmas-burst i:nth-child(21) { --angle: 300deg; }
.oml-christmas-burst i:nth-child(22) { --angle: 315deg; }
.oml-christmas-burst i:nth-child(23) { --angle: 330deg; }
.oml-christmas-burst i:nth-child(24) { --angle: 345deg; }
.oml-christmas-burst--left { --x: 23%; --y: 48%; }
.oml-christmas-burst--right {
 --x: 77%; --y: 52%; --size: clamp(88px, 9.5vw, 152px); --delay: .62s;
 --spark: #80f8bc; --hot: #e9fff2; --halo: #36de8e;
}
.oml-christmas-burst--sky-gold {
 --x: 86%; --y: 168px; --size: clamp(138px, 20vw, 288px); --delay: .28s; --ray: 4px;
}
.oml-christmas-burst--sky-rose {
 --x: 69%; --y: 120px; --size: clamp(84px, 11.8vw, 169px); --delay: 1s;
 --spark: #ff8ebd; --hot: #fff3fc; --halo: #ff489a;
}
.oml-christmas-fireworks-sky .oml-christmas-burst {
 filter: drop-shadow(0 1px 3px #331028) drop-shadow(0 0 13px var(--halo));
}
@media (prefers-reduced-motion: no-preference) {
 .oml-christmas-burst { animation: oml-christmas-burst 2.8s var(--delay) cubic-bezier(.16,.68,.26,1) both; }
 @keyframes oml-christmas-burst {
  0% { transform: translate(-50%, -50%) scale(.16); opacity: .38; }
  14% { transform: translate(-50%, -50%) scale(.54); opacity: .78; }
  40% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  68% { transform: translate(-50%, -50%) scale(1.12); opacity: .64; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: .97; }
 }
}

@media (max-width: 700px) {
 .oml-christmas-banner { padding: 16px 32px 17px; }
 .oml-christmas-fireworks-sky { background: radial-gradient(ellipse at 95% 26%, #16193474, transparent 48%); }
 .oml-christmas-burst { --ray: 2px; }
 .oml-christmas-burst--left { --x: 8%; --y: 68%; --size: 67px; }
 .oml-christmas-burst--right { --x: 92%; --y: 71%; --size: 64px; }
 .oml-christmas-burst--sky-gold { --x: 88%; --y: 106px; --size: clamp(96px, 30vw, 134px); }
 .oml-christmas-burst--sky-rose { display: none; }
 .oml-christmas-burst i::before { box-shadow: none; }
 .oml-christmas-burst i::after { box-shadow: 0 0 6px 1px currentColor; }
 .oml-christmas-ornaments i:nth-of-type(1) { --position: 5%; --size: 19px; --drop: 23px; }
 .oml-christmas-ornaments i:nth-of-type(4) { --position: 95%; --size: 19px; --drop: 10px; }
 .oml-christmas-ornaments i:nth-of-type(2), .oml-christmas-ornaments i:nth-of-type(3),
 .oml-christmas-ornaments span { display: none; }
 .oml-christmas-ornaments { background: none; }
 .oml-christmas-lights { grid-template-columns: repeat(8, minmax(0, 1fr)); }
 .oml-christmas-lights i { width: 6px; height: 9px; top: 16px; }
 .oml-christmas-lights i:nth-child(3n + 2) { top: 9px; }
 .oml-christmas-lights i:nth-child(3n + 3) { top: 12px; }
 .oml-christmas-lights i:nth-child(n + 9) { display: none; }
 .oml-christmas-garland { height: 42px; }
 .oml-christmas-needles { height: 28px; background-size: auto, 37px 28px, 39px 29px; }
}
@media (min-width: 701px) and (max-width: 980px) {
 .oml-christmas-burst--sky-rose { --x: 72%; }
}
