/* AC Mobile — the opening, the same scene as AC Desktop's (app/ui/splash.css) with MOBILE under the mark,
   sized for a phone. Shown each time the app is opened; a tap skips it. */
@font-face{font-family:"Michroma";font-weight:400;font-display:swap;src:url(fonts/michroma-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+2000-206F}
.fx-splash{position:fixed;inset:0;z-index:2147483646;display:grid;place-items:center;background:#09090a;
  animation:fx-splash-out .7s cubic-bezier(.4,0,.2,1) 3.3s forwards}
.fx-splash.is-skipped{animation:fx-splash-out .3s cubic-bezier(.2,.7,.2,1) forwards}
.fx-splash[hidden]{display:none}
.fx-splash-stage{display:flex;flex-direction:column;align-items:center;gap:30px;will-change:transform;
  animation:fx-splash-lift .7s cubic-bezier(.4,0,.2,1) 3.3s forwards}
/* the mark is uncovered from left to right, the way it is written: a soft-edged curtain slides off it */
.fx-splash-mark{position:relative;width:min(56vw,236px);aspect-ratio:236/106;overflow:hidden;opacity:0;transform:scale(.965);
  animation:fx-splash-mark 1.15s cubic-bezier(.22,1,.36,1) .2s forwards}
.fx-splash-mark img{display:block;width:100%;height:auto}
.fx-splash-mark::after{content:"";position:absolute;top:0;bottom:0;left:-72px;right:-72px;will-change:transform;
  background:linear-gradient(90deg,transparent 0,#09090a 72px,#09090a 100%);
  animation:fx-splash-uncover 1.25s cubic-bezier(.65,0,.25,1) .2s forwards}
/* the orbit line: it grows from the middle, a glowing flow runs along it twice (the site's orbits),
   then it folds to its right end and becomes the red point. The box is taller than the line so the
   glow is not cut off. */
.fx-splash-line{position:relative;width:min(66vw,280px);height:2px}
.fx-splash-line i{position:absolute;left:0;right:0;top:-8px;height:18px;overflow:hidden;transform:scaleX(0);will-change:transform;
  background:linear-gradient(90deg,rgba(226,30,60,.06),rgba(226,30,60,.34) 55%,rgba(226,30,60,.5)) center/100% 2px no-repeat;
  animation:fx-splash-draw .8s cubic-bezier(.65,0,.35,1) .9s forwards,fx-splash-fold .6s cubic-bezier(.65,0,.35,1) 2.35s forwards}
.fx-splash-line i::before{content:"";position:absolute;left:0;top:8px;width:46%;height:2px;border-radius:1px;transform:translateX(-110%);will-change:transform;
  background:linear-gradient(90deg,transparent,#5a0618 25%,#e0213f 62%,#ffc8d4 80%,#e0213f 90%,transparent);
  box-shadow:0 0 8px 1px rgba(226,30,60,.45);
  animation:fx-splash-flow .85s cubic-bezier(.45,0,.35,1) 1s 2 forwards}
.fx-splash-line b{position:absolute;right:0;top:-3.5px;width:9px;height:9px;background:#d81e3c;transform:scale(0);will-change:transform;
  box-shadow:0 0 12px rgba(226,30,60,.5);
  animation:fx-splash-point .5s cubic-bezier(.34,1.3,.64,1) 2.75s forwards}
/* the point arrives hot (the flow's pale core) and cools to the brand red */
.fx-splash-line b::after{content:"";position:absolute;inset:0;background:#ffc8d4;opacity:1;
  animation:fx-splash-cool .7s cubic-bezier(.22,1,.36,1) 2.85s forwards}
/* the word rises a little and settles */
.fx-splash-word{font:400 13px/1 "Michroma",sans-serif;letter-spacing:.28em;margin-right:-.28em;color:#8b8b93;opacity:0;transform:translateY(6px);will-change:transform,opacity;
  animation:fx-splash-word 1s cubic-bezier(.22,1,.36,1) 1.4s forwards}

@keyframes fx-splash-mark{to{opacity:1;transform:none}}
@keyframes fx-splash-uncover{to{transform:translateX(calc(100% + 72px))}}
@keyframes fx-splash-draw{to{transform:scaleX(1)}}
@keyframes fx-splash-fold{from{transform:scaleX(1);transform-origin:100% 50%}to{transform:scaleX(0);transform-origin:100% 50%}}
@keyframes fx-splash-flow{to{transform:translateX(230%)}}
@keyframes fx-splash-point{to{transform:scale(1)}}
@keyframes fx-splash-cool{to{opacity:0}}
@keyframes fx-splash-word{to{opacity:1;transform:none}}
@keyframes fx-splash-out{to{opacity:0;visibility:hidden}}
@keyframes fx-splash-lift{to{transform:translateY(-10px) scale(.98)}}

@media (prefers-reduced-motion:reduce){
  .fx-splash{animation:fx-splash-out .25s linear .7s forwards}
  .fx-splash-stage,.fx-splash-mark,.fx-splash-mark::after,.fx-splash-line i,.fx-splash-line i::before,.fx-splash-line b,.fx-splash-line b::after,.fx-splash-word{animation:none}
  .fx-splash-mark{opacity:1;transform:none} .fx-splash-mark::after{display:none}
  .fx-splash-line i{transform:none} .fx-splash-line i::before{display:none} .fx-splash-word{opacity:1;transform:none}
}
