/* Копия web/brand/anim/nux-splash.css (фирменный набор Nux) — экран запуска приложения родителя. Менять в web/brand, сюда — копией. */
/* Nux — анимация логотипа. Подключение: <link rel="stylesheet" href="nux-splash.css"> + разметка nux-splash.svg в HTML.
   Скорость: --k (1 — видео, 0.55 — заставка по умолчанию). Тема: цвета берутся из --nux-txt / --nux-grn / --nux-gold;
   тёмная — класс .nx-dark на svg, или [data-theme="dark"] у предка, или системная тёмная тема. Конец анимации ≈ 2.33 × --k с. */
.nux-splash{--k:0.55;--nux-txt:#0c1530;--nux-grn:#0b7f57;--nux-gold:#e8a93c;display:block;overflow:visible}
.nux-splash.nx-dark,[data-theme="dark"] .nux-splash{--nux-txt:#eef2fa;--nux-grn:#2fc48d}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .nux-splash:not(.nx-light){--nux-txt:#eef2fa;--nux-grn:#2fc48d}}
.nux-splash .nx-br{stroke:var(--nux-grn)}.nux-splash .nx-t{fill:var(--nux-txt)}
.nux-splash .nx-core,.nux-splash .nx-flash{fill:var(--nux-gold)}.nux-splash .nx-ring{stroke:var(--nux-gold);opacity:.45}.nux-splash .nx-flash{opacity:0}
.nux-splash .nx-m,.nux-splash .nx-f{animation:nx-grow both cubic-bezier(.25,.7,.25,1)}
.nux-splash .nx-core{transform-box:fill-box;transform-origin:center;animation:nx-pop both cubic-bezier(.3,1.6,.5,1);animation-delay:calc(0.1 * var(--k) * 1s);animation-duration:calc(0.45 * var(--k) * 1s)}
.nux-splash .nx-cw{transform-box:fill-box;transform-origin:center;animation:nx-pulse both ease-in-out;animation-delay:calc(1.3 * var(--k) * 1s);animation-duration:calc(0.6 * var(--k) * 1s)}
.nux-splash .nx-ring{animation:nx-ring both ease-out;animation-delay:calc(1.15 * var(--k) * 1s);animation-duration:calc(0.5 * var(--k) * 1s)}
.nux-splash .nx-flash{transform-box:fill-box;transform-origin:center;animation:nx-flash both ease-out;animation-delay:calc(1.3 * var(--k) * 1s);animation-duration:calc(0.9 * var(--k) * 1s)}
.nux-splash .nx-l{animation:nx-rise both cubic-bezier(.2,.7,.2,1)}
.nux-splash .nx-m0{animation-delay:calc(0.4 * var(--k) * 1s);animation-duration:calc(0.7 * var(--k) * 1s)}.nux-splash .nx-m1{animation-delay:calc(0.46 * var(--k) * 1s);animation-duration:calc(0.7 * var(--k) * 1s)}.nux-splash .nx-m2{animation-delay:calc(0.46 * var(--k) * 1s);animation-duration:calc(0.7 * var(--k) * 1s)}.nux-splash .nx-m3{animation-delay:calc(0.56 * var(--k) * 1s);animation-duration:calc(0.7 * var(--k) * 1s)}.nux-splash .nx-m4{animation-delay:calc(0.56 * var(--k) * 1s);animation-duration:calc(0.7 * var(--k) * 1s)}.nux-splash .nx-m5{animation-delay:calc(0.5 * var(--k) * 1s);animation-duration:calc(0.7 * var(--k) * 1s)}
.nux-splash .nx-f0{animation-delay:calc(0.88 * var(--k) * 1s);animation-duration:calc(0.42 * var(--k) * 1s)}.nux-splash .nx-f1{animation-delay:calc(0.98 * var(--k) * 1s);animation-duration:calc(0.42 * var(--k) * 1s)}.nux-splash .nx-f2{animation-delay:calc(0.98 * var(--k) * 1s);animation-duration:calc(0.42 * var(--k) * 1s)}.nux-splash .nx-f3{animation-delay:calc(1.02 * var(--k) * 1s);animation-duration:calc(0.42 * var(--k) * 1s)}
.nux-splash .nx-l0{animation-delay:calc(1.62 * var(--k) * 1s);animation-duration:calc(0.55 * var(--k) * 1s)}.nux-splash .nx-l1{animation-delay:calc(1.7 * var(--k) * 1s);animation-duration:calc(0.55 * var(--k) * 1s)}.nux-splash .nx-l2{animation-delay:calc(1.78 * var(--k) * 1s);animation-duration:calc(0.55 * var(--k) * 1s)}
@keyframes nx-grow{0%{stroke-dasharray:1;stroke-dashoffset:1;opacity:0}8%{opacity:1}to{stroke-dasharray:1;stroke-dashoffset:0;opacity:1}}
@keyframes nx-pop{0%{transform:scale(0)}to{transform:scale(1)}}
@keyframes nx-pulse{0%,to{transform:scale(1)}40%{transform:scale(1.18)}}
@keyframes nx-ring{0%{opacity:0}60%{opacity:.85}to{opacity:.45}}
@keyframes nx-flash{0%{opacity:.8;transform:scale(1)}to{opacity:0;transform:scale(3)}}
@keyframes nx-rise{0%{opacity:0;transform:translateY(140px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.nux-splash *{animation:none!important}}
