/* LogeMate live logo: the real logo split into layers and animated.
   Markup comes from app/logo-live.php. */
.lml{position:relative;display:block;width:100%;aspect-ratio:1995/439;user-select:none;-webkit-user-select:none}
.lml-p{position:absolute;display:block;height:auto;max-width:none;pointer-events:none;backface-visibility:hidden}
.lml-l{left:0.501%;top:2.278%;width:6.216%}
.lml-disc{left:8.07%;top:22.323%;width:10.476%}
.lml-ring{left:6.667%;top:15.945%;width:13.283%}
.lml-g{left:20.351%;top:20.501%;width:12.03%}
.lml-e1{left:34.035%;top:20.729%;width:11.98%}
.lml-m{left:47.569%;top:20.501%;width:18.145%}
.lml-a{left:67.068%;top:20.501%;width:12.331%}
.lml-t{left:81.353%;top:2.506%;width:5.313%}
.lml-e2{left:87.469%;top:20.729%;width:12.03%}
.lml-bar{left:33.634%;top:87.016%;width:65.063%}

/* ---- intro: plays on load until .lml-live is added ---- */
.lml:not(.lml-live) .lml-disc{animation:lmlDisc .9s cubic-bezier(.34,1.56,.64,1) both}
.lml:not(.lml-live) .lml-ring{animation:lmlRingIn 1.1s cubic-bezier(.16,1,.3,1) .15s both,lmlSpin 7s linear 1.25s infinite}
.lml:not(.lml-live) .lml-l{animation:lmlDrop .75s cubic-bezier(.34,1.56,.64,1) .3s both}
.lml:not(.lml-live) .lml-g,.lml:not(.lml-live) .lml-e1,.lml:not(.lml-live) .lml-m,.lml:not(.lml-live) .lml-a,.lml:not(.lml-live) .lml-t,.lml:not(.lml-live) .lml-e2{animation:lmlRise .8s cubic-bezier(.16,1,.3,1) both}
.lml:not(.lml-live) .lml-g{animation-delay:.45s}.lml:not(.lml-live) .lml-e1{animation-delay:.52s}.lml:not(.lml-live) .lml-m{animation-delay:.59s}
.lml:not(.lml-live) .lml-a{animation-delay:.66s}.lml:not(.lml-live) .lml-t{animation-delay:.73s}.lml:not(.lml-live) .lml-e2{animation-delay:.8s}
.lml:not(.lml-live) .lml-bar{transform-origin:left center;animation:lmlBar .8s cubic-bezier(.16,1,.3,1) 1s both}
/* ---- live state after the intro ---- */
.lml-live .lml-disc{animation:lmlBreath 3.2s ease-in-out infinite}
.lml-live .lml-ring{animation:lmlSpin 7s linear infinite}
.lml-live .lml-wave{animation:lmlWave .9s cubic-bezier(.34,1.56,.64,1) both}
.lml-shine{position:absolute;left:33.6%;width:65%;top:87%;height:10.7%;border-radius:99px;overflow:hidden;pointer-events:none}
.lml-shine:after{content:"";position:absolute;top:0;bottom:0;width:22%;left:-25%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.85),transparent);animation:lmlShine 3.4s ease-in-out 2s infinite}
.lml:hover .lml-ring{animation-duration:1.6s}

@keyframes lmlDisc{from{opacity:0;transform:scale(.2) rotate(-200deg)}to{opacity:1;transform:none}}
@keyframes lmlRingIn{from{opacity:0;transform:scale(1.5) rotate(-270deg)}to{opacity:1;transform:none}}
@keyframes lmlSpin{to{transform:rotate(360deg)}}
@keyframes lmlDrop{from{opacity:0;transform:translateY(-70%)}to{opacity:1;transform:none}}
@keyframes lmlRise{from{opacity:0;transform:translateY(55%) scale(.9);filter:blur(6px)}to{opacity:1;transform:none;filter:none}}
@keyframes lmlBar{from{opacity:0;transform:scaleX(0)}to{opacity:1;transform:none}}
@keyframes lmlBreath{50%{transform:scale(1.045);filter:drop-shadow(0 0 10px rgba(0,91,211,.45))}}
@keyframes lmlWave{35%{transform:translateY(-14%)}}
@keyframes lmlShine{0%{left:-25%}45%,100%{left:110%}}

/* white wordmark for dark surfaces: letters and arrows go white, the blue disc and bar keep their colour */
.lml-white .lml-l,.lml-white .lml-g,.lml-white .lml-e1,.lml-white .lml-m,.lml-white .lml-a,.lml-white .lml-t,.lml-white .lml-e2,.lml-white .lml-ring{filter:brightness(0) invert(1)}
.lml-white .lml-bar{filter:brightness(1.6) saturate(1.2)}

@media(prefers-reduced-motion:reduce){.lml *{animation:none!important}}

/* loader: same build, compressed so it completes before a fast page is ready */
.lml-loader:not(.lml-live) .lml-p{animation-duration:.55s!important}
.lml-loader:not(.lml-live) .lml-ring{animation:lmlRingIn .6s cubic-bezier(.16,1,.3,1) .05s both,lmlSpin 1.4s linear .65s infinite!important}
.lml-loader:not(.lml-live) .lml-l{animation-delay:.08s!important}
.lml-loader:not(.lml-live) .lml-g{animation-delay:.14s!important}.lml-loader:not(.lml-live) .lml-e1{animation-delay:.18s!important}
.lml-loader:not(.lml-live) .lml-m{animation-delay:.22s!important}.lml-loader:not(.lml-live) .lml-a{animation-delay:.26s!important}
.lml-loader:not(.lml-live) .lml-t{animation-delay:.3s!important}.lml-loader:not(.lml-live) .lml-e2{animation-delay:.34s!important}
.lml-loader:not(.lml-live) .lml-bar{animation-delay:.4s!important}
