/* Sentinel New Year splash — living scene engine (shared, all directions).
   Built to the Thanksgiving v4 standard: layered parallax band plates,
   DOM living layer, logo flash front-and-center (keyed logo asset),
   greeting letter-built center-bottom. Palette: #060806 / emerald /
   white ONLY. Direction N4 carries ONE labeled exception (champagne
   gold, scoped to .ny-glow--gold / .ny-burst--gold inside that build
   only). New layers vs the Christmas engine: DOM fireworks (.ny-burst)
   and the year-turn numerals (.ny-year, N3).
   Timing family (v4): flash 4.5s, greeting 7.25s + 45ms stagger,
   fade 9.8s / hard release 10.6s / watchdog 12s (JS timers). */
.ny-splash{position:fixed;inset:0;z-index:2000;background:#060806;overflow:hidden;
  font-family:Archivo,'Segoe UI',Arial,sans-serif;opacity:1;transition:opacity .8s ease;
  -webkit-tap-highlight-color:transparent}
.ny-splash.ny-exit{opacity:0;pointer-events:none}
.ny-stage{position:absolute;inset:0;overflow:hidden;background:#060806}
.ny-field{position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(120% 90% at 50% 30%,rgba(0,230,118,.10) 0%,rgba(0,230,118,.03) 42%,transparent 70%),
             radial-gradient(90% 70% at 50% 110%,rgba(190,255,220,.05) 0%,transparent 60%);
  animation:nyBreathe 9s ease-in-out infinite alternate}
@keyframes nyBreathe{from{opacity:.75}to{opacity:1}}
.ny-card{position:absolute;inset:0;overflow:hidden;container-type:size;
  box-shadow:inset 0 0 18vmax rgba(0,0,0,.55);animation:nyCardGlow 6s ease-in-out infinite alternate}
@keyframes nyCardGlow{from{box-shadow:inset 0 0 18vmax rgba(0,0,0,.55),inset 0 0 4vmax rgba(0,230,118,.05)}
  to{box-shadow:inset 0 0 16vmax rgba(0,0,0,.5),inset 0 0 5vmax rgba(0,230,118,.10)}}
.ny-band{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none;will-change:transform}
.ny-band--bg{animation:nyPushBg 12s cubic-bezier(.25,.6,.3,1) both}
.ny-band--mid{animation:nyPushMid 12s cubic-bezier(.25,.6,.3,1) both}
.ny-band--fg{animation:nyPushFg 12s cubic-bezier(.25,.6,.3,1) both}
@keyframes nyPushBg{from{transform:scale(1.05)}to{transform:scale(1.13)}}
@keyframes nyPushMid{from{transform:scale(1.02) translateY(0)}to{transform:scale(1.09) translateY(-.6%)}}
@keyframes nyPushFg{from{transform:scale(1.0) translateY(0)}to{transform:scale(1.05) translateY(-1.2%)}}
.ny-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}
.ny-exposure{position:absolute;inset:0;background:#000;opacity:.55;pointer-events:none;animation:nyExposure 1.6s ease-out both}
@keyframes nyExposure{from{opacity:.55}to{opacity:0}}
.ny-sheen{position:absolute;inset:0;pointer-events:none;mix-blend-mode:screen;opacity:0;
  background:linear-gradient(100deg,transparent 40%,rgba(220,255,235,.10) 50%,transparent 60%);
  background-size:280% 100%;background-position:130% 0;animation:nySheen 7.5s ease-in-out 1.2s infinite}
@keyframes nySheen{0%{background-position:130% 0;opacity:0}12%{opacity:1}32%{background-position:-40% 0;opacity:0}100%{background-position:-40% 0;opacity:0}}
.ny-moonh{position:absolute;transform:translate(-50%,-50%);border-radius:50%;pointer-events:none;mix-blend-mode:screen;
  background:radial-gradient(circle,rgba(240,255,246,.22) 0%,rgba(200,240,215,.07) 45%,transparent 68%);
  animation:nyMoonPulse 7s ease-in-out infinite alternate}
@keyframes nyMoonPulse{from{opacity:.7;transform:translate(-50%,-50%) scale(1)}to{opacity:1;transform:translate(-50%,-50%) scale(1.05)}}
.ny-glow{position:absolute;transform:translate(-50%,-50%);border-radius:50%;pointer-events:none;mix-blend-mode:screen;
  background:radial-gradient(circle,rgba(0,230,118,.34) 0%,rgba(0,230,118,.10) 45%,transparent 68%)}
.ny-glow--soft{background:radial-gradient(circle,rgba(0,230,118,.16) 0%,rgba(0,230,118,.05) 45%,transparent 68%)}
.ny-glow--white{background:radial-gradient(circle,rgba(245,255,249,.30) 0%,rgba(220,250,232,.08) 45%,transparent 68%)}
/* C3 labeled exception only: hearth-fire amber */
.ny-glow--warm{background:radial-gradient(circle,rgba(255,178,84,.42) 0%,rgba(255,140,40,.14) 45%,transparent 68%)}
/* N4 labeled exception only: champagne gold */
.ny-glow--gold{background:radial-gradient(circle,rgba(255,216,130,.40) 0%,rgba(240,180,80,.13) 45%,transparent 68%)}
.ny-flicker{animation:nyFlicker 1.6s ease-in-out infinite alternate}
@keyframes nyFlicker{from{opacity:.72}to{opacity:1}}
.ny-mist{position:absolute;left:-20%;width:140%;height:26%;pointer-events:none;mix-blend-mode:screen;opacity:.5;
  background:radial-gradient(60% 100% at 50% 50%,rgba(215,245,226,.13) 0%,transparent 70%)}
.ny-mist--a{bottom:16%;animation:nyMistA 26s ease-in-out infinite alternate}
.ny-mist--b{bottom:30%;animation:nyMistB 38s ease-in-out infinite alternate}
@keyframes nyMistA{from{transform:translateX(-4%)}to{transform:translateX(4%)}}
@keyframes nyMistB{from{transform:translateX(3%)}to{transform:translateX(-3%)}}
.ny-smoke{position:absolute;width:9%;aspect-ratio:1;transform:translate(-50%,-50%);pointer-events:none;mix-blend-mode:screen}
.ny-smoke i{position:absolute;inset:0;border-radius:50%;display:block;
  background:radial-gradient(circle,rgba(235,248,240,.20) 0%,transparent 65%);animation:nySmokeRise 7s linear infinite}
.ny-smoke i:nth-child(2){animation-delay:2.3s}.ny-smoke i:nth-child(3){animation-delay:4.6s}
@keyframes nySmokeRise{0%{transform:translate(0,0) scale(.5);opacity:0}18%{opacity:.8}
  100%{transform:translate(38%,-190%) scale(1.7);opacity:0}}
.ny-aurora{position:absolute;left:-10%;top:-6%;width:120%;height:52%;pointer-events:none;mix-blend-mode:screen;opacity:.5;
  background:linear-gradient(100deg,transparent 5%,rgba(0,230,118,.14) 30%,rgba(120,255,190,.20) 50%,rgba(0,230,118,.12) 70%,transparent 95%);
  filter:blur(6px);animation:nyAurora 11s ease-in-out infinite alternate}
@keyframes nyAurora{from{transform:translateX(-2%) skewX(-4deg);opacity:.35}to{transform:translateX(2%) skewX(3deg);opacity:.6}}
.ny-star{position:absolute;border-radius:50%;background:#f4fff8;pointer-events:none;animation:nyTwinkle 3s ease-in-out infinite alternate}
@keyframes nyTwinkle{from{opacity:.25}to{opacity:.95}}
.ny-snow,.ny-winsnow,.ny-embers{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.ny-flake{position:absolute;top:-4%;border-radius:50%;background:#fff;display:block;will-change:transform}
.ny-flake i{display:block;width:100%;height:100%;border-radius:50%;background:inherit;animation:nySway 2.8s ease-in-out infinite alternate}
.ny-flake--far{opacity:.45}.ny-flake--mid{opacity:.75}.ny-flake--near{opacity:.95;filter:blur(.6px)}
@keyframes nyFall{from{transform:translate3d(0,-6%,0)}to{transform:translate3d(2.2%,108vh,0)}}
@keyframes nySway{from{transform:translateX(-9px)}to{transform:translateX(9px)}}
.ny-ember{position:absolute;border-radius:50%;display:block;pointer-events:none;mix-blend-mode:screen;
  background:radial-gradient(circle,rgba(255,196,100,.95) 0%,rgba(255,140,40,.35) 55%,transparent 75%);
  animation:nyEmberRise 4.4s linear infinite}
@keyframes nyEmberRise{0%{transform:translate(0,0) scale(1);opacity:0}12%{opacity:.95}
  100%{transform:translate(14px,-17vh) scale(.35);opacity:0}}
/* Fireworks: DOM bursts on a 5.2s cycle, staggered by --dl. Each burst
   fires in the first ~30% of its cycle (core flash, ring, 14 sparks on
   seeded radial paths), then the sky is dark until the next cycle. */
.ny-bursts{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.ny-burst{position:absolute;width:6px;height:6px;transform:translate(-50%,-50%);pointer-events:none;mix-blend-mode:screen}
.ny-burst i{position:absolute;left:50%;top:50%;width:4px;height:4px;margin:-2px;border-radius:50%;
  background:#d8ffe9;box-shadow:0 0 9px 2px rgba(0,230,118,.55),0 0 3px rgba(220,255,235,.9);
  animation:nySpark 5.2s linear infinite;animation-delay:var(--dl,0s)}
.ny-burst--white i{background:#ffffff;box-shadow:0 0 9px 2px rgba(255,255,255,.5),0 0 3px rgba(255,255,255,.9)}
.ny-burst--gold i{background:#ffe6ad;box-shadow:0 0 9px 2px rgba(255,205,100,.55),0 0 3px rgba(255,240,200,.9)}
.ny-burst__core{position:absolute;left:50%;top:50%;width:5px;height:5px;margin:-2.5px;border-radius:50%;
  background:#eafff3;animation:nyBurstCore 5.2s linear infinite;animation-delay:var(--dl,0s)}
.ny-burst--gold .ny-burst__core{background:#ffedb8}
/* ring is sized at full burst diameter (--rd) and only ever scales UP
   TO 1 — scaling a bordered element past 1 balloons the border into a
   thick grey band (defect caught in the first N1 capture). */
.ny-burst::after{content:"";position:absolute;left:50%;top:50%;width:var(--rd,200px);height:var(--rd,200px);
  margin:calc(var(--rd,200px)/-2);border-radius:50%;
  border:1.5px solid rgba(190,255,215,.7);animation:nyBurstRing 5.2s linear infinite;animation-delay:var(--dl,0s)}
.ny-burst--white::after{border-color:rgba(255,255,255,.7)}
.ny-burst--gold::after{border-color:rgba(255,220,150,.75)}
@keyframes nySpark{0%{transform:rotate(var(--a)) translateX(0) scale(1);opacity:0}
  5%{opacity:1}34%{transform:rotate(var(--a)) translateX(var(--d)) scale(.45);opacity:0}
  100%{transform:rotate(var(--a)) translateX(var(--d)) scale(.45);opacity:0}}
@keyframes nyBurstCore{0%{opacity:0;transform:scale(.4)}3%{opacity:1;transform:scale(1.7)}
  12%{opacity:0;transform:scale(.6)}100%{opacity:0;transform:scale(.6)}}
@keyframes nyBurstRing{0%{opacity:.8;transform:scale(.05)}26%{opacity:0;transform:scale(1)}
  100%{opacity:0;transform:scale(1)}}
/* Year-turn numerals (N3): old year rests dim in the sky; at the turn
   (class at 6.6s) it glitch-slices out and the new year punches in with
   the greeting's emerald gradient, holds, and fades inside 3s. */
.ny-year{position:absolute;left:0;right:0;top:11.5%;z-index:4;height:0;text-align:center;pointer-events:none;
  font-family:Georgia,'Times New Roman',serif;font-weight:700;letter-spacing:.12em;text-indent:.12em}
.ny-year span{position:absolute;left:0;right:0;top:0;font-size:11cqw;line-height:1}
.ny-year__old{color:rgba(234,255,243,.30);text-shadow:0 2px 22px rgba(0,0,0,.75);transform:scale(.8)}
.ny-year__new{opacity:0;background:linear-gradient(180deg,#f2fff7 0%,#a9f6cb 55%,#00e676 105%);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:#eafff3}
.ny-year.is-turn .ny-year__old{animation:nyYearOld 3.2s linear both}
.ny-year.is-turn .ny-year__new{animation:nyYearNew 3.2s linear both;
  filter:drop-shadow(0 0 20px rgba(0,230,118,.45)) drop-shadow(0 2px 26px rgba(0,0,0,.6))}
@keyframes nyYearOld{0%{opacity:1;transform:scale(.8)}15%{opacity:.9;transform:scale(.8) translateX(-5px);clip-path:inset(12% 0 64% 0)}
  23%{opacity:.7;transform:scale(.8) translateX(4px);clip-path:inset(58% 0 18% 0)}34%,100%{opacity:0;transform:scale(.8);clip-path:none}}
@keyframes nyYearNew{0%,28%{opacity:0;transform:scale(1.3)}40%{opacity:1;transform:scale(1)}
  84%{opacity:1}100%{opacity:0;transform:scale(1.02)}}
/* Reduced-motion poster keeps the new year in the sky (static). */
.ny-year-static{position:absolute;left:0;right:0;top:11.5%;z-index:4;text-align:center;pointer-events:none;
  font-family:Georgia,'Times New Roman',serif;font-weight:700;letter-spacing:.12em;text-indent:.12em;
  font-size:11cqw;line-height:1;background:linear-gradient(180deg,#f2fff7 0%,#a9f6cb 55%,#00e676 105%);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:#eafff3}
.ny-brand{position:absolute;top:3.4%;left:0;right:0;z-index:6;text-align:center;pointer-events:none;
  font-size:2.05cqw;letter-spacing:.34em;text-indent:.34em;font-weight:600;color:rgba(240,255,246,.92);
  text-shadow:0 1px 14px rgba(0,0,0,.8);animation:nyBrandIn 1.4s ease .3s both}
@keyframes nyBrandIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
.ny-dim{position:absolute;inset:0;background:#000;opacity:0;pointer-events:none;z-index:5}
.ny-flash-on .ny-dim{animation:nyDim 2.2s linear both}
@keyframes nyDim{0%{opacity:0}18%{opacity:.38}70%{opacity:.38}100%{opacity:0}}
.ny-flash{position:absolute;inset:0;z-index:8;display:flex;align-items:center;justify-content:center;pointer-events:none;opacity:0}
.ny-flash__bloom{position:absolute;left:50%;top:48.3%;width:66%;aspect-ratio:1;transform:translate(-50%,-50%);border-radius:50%;
  background:radial-gradient(circle,rgba(190,255,215,.5) 0%,rgba(0,230,118,.16) 45%,transparent 68%);mix-blend-mode:screen;opacity:0}
.ny-ring{position:absolute;left:50%;top:48.3%;width:12%;aspect-ratio:1;border:2px solid rgba(210,255,228,.85);border-radius:50%;
  transform:translate(-50%,-50%) scale(.25);opacity:0;mix-blend-mode:screen;pointer-events:none}
.ny-flash__box{position:relative;height:70%;aspect-ratio:390/475;margin-top:-3%;transform:scale(1.17)}
.ny-flash__img{position:absolute;inset:0;width:100%;height:100%;display:block}
.ny-flash__img--a,.ny-flash__img--b{opacity:0}
.ny-flash__box::after{content:"";position:absolute;inset:0;pointer-events:none;opacity:0;
  background:linear-gradient(105deg,transparent 42%,rgba(225,255,238,.5) 50%,transparent 58%);
  background-size:280% 100%;background-position:130% 0}
.ny-flash.is-flash{animation:nyLogoEnv 2.05s linear both}
.ny-flash.is-flash .ny-flash__bloom{animation:nyBloom 2.05s linear both}
.ny-flash.is-flash .ny-ring--a{animation:nyRing .9s cubic-bezier(.2,.6,.3,1) both}
.ny-flash.is-flash .ny-ring--b{animation:nyRing .9s cubic-bezier(.2,.6,.3,1) .14s both}
.ny-flash.is-flash .ny-flash__box{animation:nyLogoPunch 2.05s linear both}
.ny-flash.is-flash .ny-flash__box::after{animation:nyShimmer .95s ease .45s both}
.ny-flash.is-flash .ny-flash__img--base{animation:nyFlashBase 2.05s linear both}
.ny-flash.is-flash .ny-flash__img--a{animation:nyFlashSliceA 2.05s linear both}
.ny-flash.is-flash .ny-flash__img--b{animation:nyFlashSliceB 2.05s linear both}
@keyframes nyLogoEnv{0%{opacity:0}10%{opacity:1}78%{opacity:1}100%{opacity:0}}
@keyframes nyBloom{0%{opacity:0;transform:translate(-50%,-50%) scale(.7)}22%{opacity:.95;transform:translate(-50%,-50%) scale(1)}100%{opacity:0;transform:translate(-50%,-50%) scale(1.12)}}
@keyframes nyRing{0%{opacity:.9;transform:translate(-50%,-50%) scale(.25)}100%{opacity:0;transform:translate(-50%,-50%) scale(2.6)}}
@keyframes nyLogoPunch{0%{transform:scale(1.32);filter:brightness(2.1)}16%{transform:scale(1.15);filter:brightness(1.35)}30%{transform:scale(1.17);filter:brightness(1.1)}100%{transform:scale(1.17);filter:brightness(1)}}
@keyframes nyShimmer{0%{background-position:130% 0;opacity:0}25%{opacity:1}100%{background-position:-40% 0;opacity:0}}
@keyframes nyFlashBase{0%{opacity:0}8%{opacity:1}80%{opacity:1}100%{opacity:0}}
@keyframes nyFlashSliceA{0%,12%{opacity:0}16%{opacity:.85;transform:translate(-7px,0);clip-path:inset(16% 0 62% 0)}24%{opacity:.6;transform:translate(4px,0);clip-path:inset(16% 0 62% 0)}32%,100%{opacity:0}}
@keyframes nyFlashSliceB{0%,20%{opacity:0}24%{opacity:.85;transform:translate(6px,0);clip-path:inset(58% 0 19% 0)}32%{opacity:.55;transform:translate(-3px,0);clip-path:inset(58% 0 19% 0)}40%,100%{opacity:0}}
.ny-greet{position:absolute;left:0;right:0;bottom:5.2%;z-index:10;margin:0;text-align:center;pointer-events:none;
  font-family:Georgia,'Times New Roman',serif;font-size:5.4cqw;font-weight:700;letter-spacing:.16em;text-indent:.16em;
  color:#eafff3;visibility:hidden;text-shadow:0 2px 18px rgba(0,0,0,.85)}
.ny-greet::before{content:"";position:absolute;left:12%;right:12%;top:-38%;bottom:-38%;z-index:-1;
  background:radial-gradient(60% 100% at 50% 50%,rgba(0,0,0,.5) 0%,transparent 72%)}
.ny-greet.is-on{visibility:visible;animation:nyGreetGlow 3.4s ease-in-out 8.8s infinite alternate}
@keyframes nyGreetGlow{from{text-shadow:0 2px 18px rgba(0,0,0,.85),0 0 12px rgba(0,230,118,.25)}to{text-shadow:0 2px 18px rgba(0,0,0,.85),0 0 26px rgba(0,230,118,.5)}}
.ny-greet__ch{display:inline-block;opacity:0;background:linear-gradient(180deg,#f2fff7 0%,#a9f6cb 55%,#00e676 105%);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:#eafff3}
.ny-greet.is-on .ny-greet__ch{animation:nyGreetIn .38s cubic-bezier(.22,.61,.21,1) both}
@keyframes nyGreetIn{from{opacity:0;transform:translateY(14px) scale(.92)}to{opacity:1;transform:none}}
.ny-greet__sp{display:inline-block;width:.3em}
.ny-skip{position:absolute;right:14px;bottom:10px;z-index:11;margin:0;font-size:11px;letter-spacing:.16em;
  text-transform:uppercase;color:#d7e0d8;opacity:.55;pointer-events:none}
/* --- N4B midnight layers (added for the enhanced Champagne Watch) --- */
/* Searchlight beams sweeping the far sky: thin screen-blended cones
   rotating around their skyline base points. On-palette (white/emerald). */
.ny-beams{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.ny-beam{position:absolute;width:48%;height:44px;transform-origin:0 50%;pointer-events:none;mix-blend-mode:screen;opacity:.3;
  background:linear-gradient(90deg,rgba(220,255,235,.10) 0%,rgba(0,230,118,.035) 55%,transparent 85%);
  clip-path:polygon(0 38%,100% 0,100% 100%,0 62%);
  animation:nyBeamSweep 9s ease-in-out infinite alternate}
.ny-beam--flip{transform-origin:100% 50%;
  background:linear-gradient(270deg,rgba(220,255,235,.10) 0%,rgba(0,230,118,.035) 55%,transparent 85%);
  animation-name:nyBeamSweepFlip}
@keyframes nyBeamSweep{from{transform:translateY(-50%) rotate(calc(var(--tilt) - 8deg))}
  to{transform:translateY(-50%) rotate(calc(var(--tilt) + 8deg))}}
@keyframes nyBeamSweepFlip{from{transform:translateY(-50%) rotate(calc(var(--tilt) + 8deg))}
  to{transform:translateY(-50%) rotate(calc(var(--tilt) - 8deg))}}
/* Distant party windows: tiny emerald/white twinkles in the far city. */
.ny-winlights{position:absolute;inset:0;pointer-events:none}
.ny-win{position:absolute;width:2.5px;height:2.5px;border-radius:1px;background:rgba(0,230,118,.75);
  box-shadow:0 0 4px rgba(0,230,118,.5);animation:nyWinTwinkle 3.4s ease-in-out infinite alternate}
.ny-win--white{background:rgba(245,255,249,.85);box-shadow:0 0 4px rgba(255,255,255,.45)}
@keyframes nyWinTwinkle{from{opacity:.25}to{opacity:.95}}
/* Confetti motes: sparse, tiny, emerald/white only, drifting in the
   far-city air band. Deliberately NOT gold — gold stays in the toast
   anchor and the firework accents per the owner's exception scope. */
.ny-confetti{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.ny-mote{position:absolute;width:3px;height:5px;border-radius:1px;background:rgba(0,230,118,.5);
  pointer-events:none;animation:nyMote linear infinite}
.ny-mote--white{background:rgba(240,255,246,.55)}
@keyframes nyMote{0%{transform:translate(0,0) rotate(0deg);opacity:0}12%{opacity:.8}
  55%{transform:translate(10px,5.5vh) rotate(200deg)}88%{opacity:.7}
  100%{transform:translate(-4px,11vh) rotate(390deg);opacity:0}}
/* Finale volley: ONE-SHOT bursts on absolute delays (--dl = splash
   seconds), choreographed around the 6.6s midnight. Same construction
   as .ny-burst (ring at full diameter, scales up to 1 only — the
   ballooned-border defect cannot recur), sparks get a slight droop
   at the end of their flight. */
.ny-fburst{position:absolute;width:6px;height:6px;transform:translate(-50%,-50%);pointer-events:none;mix-blend-mode:screen}
.ny-fburst i{position:absolute;left:50%;top:50%;width:5px;height:5px;margin:-2.5px;border-radius:50%;
  background:#d8ffe9;box-shadow:0 0 11px 2px rgba(0,230,118,.6),0 0 4px rgba(220,255,235,.95);
  animation:nyFSpark 1.8s linear both;animation-delay:var(--dl,0s)}
.ny-fburst--white i{background:#ffffff;box-shadow:0 0 11px 2px rgba(255,255,255,.55),0 0 4px rgba(255,255,255,.95)}
.ny-fburst--gold i{background:#ffe6ad;box-shadow:0 0 11px 2px rgba(255,205,100,.6),0 0 4px rgba(255,240,200,.95)}
.ny-fburst__core{position:absolute;left:50%;top:50%;width:6px;height:6px;margin:-3px;border-radius:50%;
  background:#eafff3;animation:nyFCore 1.8s linear both;animation-delay:var(--dl,0s)}
.ny-fburst--gold .ny-fburst__core{background:#ffedb8}
/* soft light halo behind the sparks — sells the burst as light */
.ny-fburst__halo{position:absolute;left:50%;top:50%;width:calc(var(--rd,200px)*1.15);height:calc(var(--rd,200px)*1.15);
  margin:calc(var(--rd,200px)*-.575);border-radius:50%;opacity:0;
  background:radial-gradient(circle,rgba(0,230,118,.20) 0%,rgba(0,230,118,.05) 55%,transparent 72%);
  animation:nyFHalo 1.8s linear both;animation-delay:var(--dl,0s)}
.ny-fburst--white .ny-fburst__halo{background:radial-gradient(circle,rgba(255,255,255,.20) 0%,rgba(255,255,255,.05) 55%,transparent 72%)}
.ny-fburst--gold .ny-fburst__halo{background:radial-gradient(circle,rgba(255,205,100,.22) 0%,rgba(255,205,100,.05) 55%,transparent 72%)}
@keyframes nyFHalo{0%{opacity:0;transform:scale(.55)}10%{opacity:.85;transform:scale(.8)}
  45%{opacity:.35;transform:scale(1)}100%{opacity:0;transform:scale(1.05)}}
.ny-fburst::after{content:"";position:absolute;left:50%;top:50%;width:var(--rd,200px);height:var(--rd,200px);
  margin:calc(var(--rd,200px)/-2);border-radius:50%;
  border:1.5px solid rgba(190,255,215,.45);animation:nyFRing 1.8s linear both;animation-delay:var(--dl,0s)}
.ny-fburst--white::after{border-color:rgba(255,255,255,.7)}
.ny-fburst--gold::after{border-color:rgba(255,220,150,.75)}
@keyframes nyFSpark{0%{transform:rotate(var(--a)) translateX(0) scale(1);opacity:0}
  6%{opacity:1}32%{transform:rotate(var(--a)) translateX(calc(var(--d)*.84)) scale(.8);opacity:1}
  78%{transform:rotate(var(--a)) translateX(var(--d)) translateY(14px) scale(.4);opacity:0}
  100%{transform:rotate(var(--a)) translateX(var(--d)) translateY(14px) scale(.4);opacity:0}}
@keyframes nyFCore{0%{opacity:0;transform:scale(.4)}5%{opacity:1;transform:scale(1.8)}
  16%{opacity:0;transform:scale(.6)}100%{opacity:0;transform:scale(.6)}}
@keyframes nyFRing{0%{opacity:.6;transform:scale(.05)}34%{opacity:0;transform:scale(1)}
  100%{opacity:0;transform:scale(1)}}
/* City pulse: the emerald wash over the skyline swells in two beats
   with the volley, then settles — the "reflection" of the finale. */
.ny-citypulse{position:absolute;left:-10%;right:-10%;top:34%;height:34%;pointer-events:none;
  mix-blend-mode:screen;opacity:0;
  background:radial-gradient(60% 100% at 50% 60%,rgba(0,230,118,.30) 0%,rgba(0,230,118,.08) 55%,transparent 75%);
  animation:nyCityPulse 3.6s ease-in-out 6.55s both}
@keyframes nyCityPulse{0%{opacity:0}16%{opacity:.85}30%{opacity:.3}46%{opacity:1}
  64%{opacity:.35}100%{opacity:0}}
/* Clock-strike pulse: a far tower light flashes at midnight and two
   rings roll out over the skyline (rings at full diameter, scale to 1). */
.ny-strike{position:absolute;width:6px;height:6px;transform:translate(-50%,-50%);
  pointer-events:none;mix-blend-mode:screen;z-index:2}
.ny-strike__core{position:absolute;left:50%;top:50%;width:10px;height:10px;margin:-5px;border-radius:50%;
  background:#f2fff7;box-shadow:0 0 22px 8px rgba(190,255,215,.65);opacity:0;
  animation:nyStrikeCore 1.1s ease-out 6.6s both}
.ny-strike__ring{position:absolute;left:50%;top:50%;width:340px;height:340px;margin:-170px;border-radius:50%;
  border:1.5px solid rgba(210,255,228,.55);opacity:0;
  animation:nyStrikeRing 2.3s cubic-bezier(.2,.6,.3,1) 6.6s both}
.ny-strike__ring--b{width:240px;height:240px;margin:-120px;animation-delay:6.88s}
@keyframes nyStrikeCore{0%{opacity:0;transform:scale(.4)}18%{opacity:1;transform:scale(1.5)}
  100%{opacity:0;transform:scale(.7)}}
@keyframes nyStrikeRing{0%{opacity:.75;transform:scale(.04)}100%{opacity:0;transform:scale(1)}}
/* The toast beat (gold — inside the N4 exception anchor ONLY): the
   bottle/glasses glow flares warm at midnight and settles to a warm
   hold; the cork pops a small sparkle fan; bubbles shimmer up the
   two glasses. The watchman never moves — celebration kept on duty. */
.ny-toast{position:absolute;inset:0;pointer-events:none;z-index:3}
.ny-toast__flare{position:absolute;transform:translate(-50%,-50%);border-radius:50%;
  mix-blend-mode:screen;opacity:.3;aspect-ratio:1;
  background:radial-gradient(circle,rgba(255,216,130,.5) 0%,rgba(240,180,80,.16) 45%,transparent 68%);
  animation:nyToastFlare 3.3s ease-in-out 6.58s both}
@keyframes nyToastFlare{0%{opacity:.3;transform:translate(-50%,-50%) scale(1)}
  14%{opacity:1;transform:translate(-50%,-50%) scale(1.3)}
  55%{opacity:.9;transform:translate(-50%,-50%) scale(1.18)}
  100%{opacity:.6;transform:translate(-50%,-50%) scale(1.05)}}
.ny-cork{position:absolute;width:6px;height:6px;transform:translate(-50%,-50%);
  pointer-events:none;mix-blend-mode:screen}
.ny-cork i{position:absolute;left:50%;top:50%;width:3.5px;height:3.5px;margin:-1.75px;border-radius:50%;
  background:#ffe9b8;box-shadow:0 0 7px 2px rgba(255,205,100,.6);opacity:0;
  animation:nyCorkSpark .95s ease-out 6.62s both}
.ny-cork__core{position:absolute;left:50%;top:50%;width:7px;height:7px;margin:-3.5px;border-radius:50%;
  background:#fff3d0;opacity:0;animation:nyCorkCore .55s ease-out 6.6s both}
@keyframes nyCorkSpark{0%{transform:rotate(var(--a)) translateX(0) scale(1);opacity:0}
  12%{opacity:1}100%{transform:rotate(var(--a)) translateX(var(--d)) translateY(6px) scale(.3);opacity:0}}
@keyframes nyCorkCore{0%{opacity:0;transform:scale(.4)}25%{opacity:1;transform:scale(1.6)}
  100%{opacity:0;transform:scale(.8)}}
.ny-bubbles{position:absolute;inset:0;pointer-events:none}
.ny-bubble{position:absolute;width:3px;height:3px;border-radius:50%;opacity:0;mix-blend-mode:screen;
  background:radial-gradient(circle,rgba(255,244,214,.95) 0%,rgba(255,214,130,.35) 70%,transparent 80%);
  animation:nyBubble 1.3s ease-in both}
@keyframes nyBubble{0%{transform:translateY(0) scale(.6);opacity:0}18%{opacity:.95}
  82%{opacity:.8}100%{transform:translateY(-5.5vh) scale(1.05);opacity:0}}

/* Reduced motion: static poster + static greeting, NO flash, NO particles */
.ny-splash.ny-reduced .ny-band,.ny-splash.ny-reduced .ny-snow,.ny-splash.ny-reduced .ny-winsnow,
.ny-splash.ny-reduced .ny-embers,.ny-splash.ny-reduced .ny-flash,.ny-splash.ny-reduced .ny-mist,
.ny-splash.ny-reduced .ny-smoke,.ny-splash.ny-reduced .ny-aurora,.ny-splash.ny-reduced .ny-star,
.ny-splash.ny-reduced .ny-bursts,.ny-splash.ny-reduced .ny-year,.ny-splash.ny-reduced .ny-beams,
.ny-splash.ny-reduced .ny-winlights,.ny-splash.ny-reduced .ny-confetti,.ny-splash.ny-reduced .ny-toast,
.ny-splash.ny-reduced .ny-strike,.ny-splash.ny-reduced .ny-citypulse{display:none!important}
.ny-splash.ny-reduced .ny-greet{visibility:visible}
.ny-splash.ny-reduced .ny-greet__ch{opacity:1;animation:none}
.ny-splash.ny-reduced *{animation-duration:.01s!important;animation-iteration-count:1!important}
@media (prefers-reduced-motion:reduce){
  .ny-band,.ny-flake,.ny-ember,.ny-mist,.ny-smoke i,.ny-aurora,.ny-star,.ny-burst i,
  .ny-burst__core,.ny-burst::after,.ny-year span,.ny-beam,.ny-win,.ny-mote,.ny-fburst i,
  .ny-fburst__core,.ny-fburst__halo,.ny-fburst::after,.ny-citypulse,.ny-strike__core,.ny-strike__ring,
  .ny-toast__flare,.ny-cork i,.ny-cork__core,.ny-bubble{animation:none!important}
}
