/* =========================================================================
   The Visionaries animated logo (2026-11-26)
   The effects from visionaries-logo-animation.html, mapped onto the tracker's
   round cut-out logo (img/brand/logo-sidebar.png, 624 x 624).
   ========================================================================= */
.vz-logo{position:relative;display:block;container-type:inline-size;aspect-ratio:1;isolation:isolate;
  width:min(170px,100%);margin:2px auto 7px;
  animation:vz-in 1.1s cubic-bezier(.2,.8,.2,1) both;transition:transform .5s cubic-bezier(.2,.8,.2,1)}
.vz-logo:hover{transform:scale(1.03)}
.vz-logo img,.vz-logo img.brand-logo{display:block;width:100%!important;max-width:none!important;height:100%;object-fit:contain;margin:0!important}
.vz-logo i{position:absolute;display:block;pointer-events:none;mix-blend-mode:screen}
body.sidebar-collapsed .vz-logo{display:none}

/* 1. light travelling around the gold ring. The ring shape and the telescope cut-out stay still on the
      holder; only the light inside it turns, so the light never crosses the telescope. */
.vz-logo .vz-orbit{left:3.5%;top:2.9%;width:93.6%;aspect-ratio:1;border-radius:50%;overflow:hidden;filter:blur(.8px);
  -webkit-mask:radial-gradient(closest-side,transparent 90%,#000 93.5%,#000 97%,transparent 100%),radial-gradient(circle at 80.5% 15%,transparent 0 15%,#000 19%);
          mask:radial-gradient(closest-side,transparent 90%,#000 93.5%,#000 97%,transparent 100%),radial-gradient(circle at 80.5% 15%,transparent 0 15%,#000 19%);
  -webkit-mask-composite:source-in;mask-composite:intersect}
.vz-logo .vz-orbit::before{content:"";position:absolute;inset:0;border-radius:50%;
  background:conic-gradient(from 0deg,transparent 0 68%,rgba(248,216,128,.18) 84%,rgba(255,240,200,.75) 95%,#fff 98%,transparent 100%);
  animation:vz-spin 7s linear infinite}
.vz-logo .vz-orbit.b{opacity:.55}
.vz-logo .vz-orbit.b::before{animation-duration:11s;animation-direction:reverse;
  background:conic-gradient(from 180deg,transparent 0 78%,rgba(8,120,200,.5) 90%,rgba(170,220,255,.95) 99%,transparent 100%)}

/* 2. sheen sweeping across the lower half of the emblem (the name and the skyline). It fades out
      before it reaches the telescope, so it never crosses it. */
.vz-logo .vz-sheen{left:3.5%;top:2.9%;width:93.6%;aspect-ratio:1;border-radius:50%;overflow:hidden;
  -webkit-mask:linear-gradient(180deg,transparent 0 47%,#000 56%);mask:linear-gradient(180deg,transparent 0 47%,#000 56%)}
.vz-logo .vz-sheen::before{content:"";position:absolute;top:-10%;bottom:-10%;left:0;width:38%;
  background:linear-gradient(100deg,transparent 0,rgba(255,240,200,.0) 20%,rgba(255,246,220,.38) 50%,rgba(255,240,200,0) 80%,transparent 100%);
  transform:translateX(-160%) skewX(-18deg);animation:vz-sheen 6.5s ease-in-out 1.2s infinite}

/* 3. the lens glint and flare are off: no effect is drawn on the telescope */
.vz-logo .vz-glint{display:none}

/* 4. twinkling stars in the night sky inside the ring (the stars are the 5th to 11th <i>) */
.vz-logo .vz-star{width:1.3%;aspect-ratio:1;border-radius:50%;background:#fff;
  box-shadow:0 0 4px 1px rgba(255,255,255,.7),0 0 9px 2px rgba(248,216,128,.45);
  opacity:0;animation:vz-twinkle 3.6s ease-in-out infinite}
.vz-logo .vz-star:nth-of-type(5){left:33%;top:20%;animation-delay:.2s}
.vz-logo .vz-star:nth-of-type(6){left:46%;top:13%;animation-delay:1.4s}
.vz-logo .vz-star:nth-of-type(7){left:21%;top:33%;animation-delay:2.3s;width:1%}
.vz-logo .vz-star:nth-of-type(8){left:36%;top:25%;animation-delay:.9s;width:1%}
.vz-logo .vz-star:nth-of-type(9){left:85%;top:35%;animation-delay:3s}
.vz-logo .vz-star:nth-of-type(10){left:15%;top:43%;animation-delay:1.9s;width:1%}
.vz-logo .vz-star:nth-of-type(11){left:57%;top:12.5%;animation-delay:2.8s;width:.9%}

@keyframes vz-in{from{opacity:0;transform:scale(.9)}to{opacity:1;transform:none}}
@keyframes vz-spin{to{transform:rotate(360deg)}}
@keyframes vz-sheen{0%,35%{transform:translateX(-160%) skewX(-18deg)}70%,100%{transform:translateX(330%) skewX(-18deg)}}
@keyframes vz-pulse{0%,100%{transform:scale(.55);opacity:.5}50%{transform:scale(1);opacity:1}}
@keyframes vz-flare{0%,100%{transform:rotate(0deg) scale(.2);opacity:0}45%{opacity:.25}50%{transform:rotate(45deg) scale(1);opacity:1}60%{opacity:.2}}
@keyframes vz-twinkle{0%,100%{opacity:0;transform:scale(.4)}50%{opacity:1;transform:scale(1)}}
@media (prefers-reduced-motion:reduce){.vz-logo,.vz-logo i,.vz-logo i::before,.vz-logo i::after{animation:none!important}.vz-logo .vz-sheen,.vz-logo .vz-orbit{display:none}}
