/* Post streak on the home page (streak-fx.js): every milestone is a sphere that fills as the streak grows;
   days with new posts light up one by one and a discharge runs from the last of them into the next sphere. */
.vh-streak-box{position:relative}
.sfx-orb{position:relative;display:block;width:22px;height:22px;margin-bottom:5px;border-radius:50%;border:1px solid var(--rule-2);background:var(--ink);overflow:hidden}
.sfx-orb::before{content:"";position:absolute;left:0;right:0;bottom:0;height:calc(var(--f,0) * 100%);background:linear-gradient(180deg,var(--light-hi),var(--light));transition:height .9s var(--rise)}
/* the highlight that makes a disc read as a sphere */
.sfx-orb::after{content:"";position:absolute;inset:0;border-radius:50%;background:radial-gradient(circle at 34% 28%,rgba(255,255,255,.4),rgba(255,255,255,0) 46%)}
.vh-miles li.on .sfx-orb{border-color:var(--light)}
.sfx-bolt{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.sfx-bolt path{fill:none;stroke:var(--volt);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.sfx-bolt path+path{stroke:var(--light-hi);stroke-width:1;opacity:.7}
.vh-streak-hd .vh-big:first-child svg{cursor:pointer}
@media (prefers-reduced-motion:no-preference){
  /* a day about to be charged waits in the colour of an empty one */
  .vh-cal-g .sfx-wait{background:var(--c)}
  .vh-cal-g .sfx-pop{animation:sfxPop .55s var(--rise) both;position:relative;z-index:1}
  .sfx-orb.sfx-hit{animation:sfxHit .6s var(--rise) both}
  .sfx-bolt path{stroke-dasharray:1;stroke-dashoffset:1;animation:sfxDraw .32s ease-out forwards,sfxGone .45s ease-in .42s forwards}
}
@keyframes sfxPop{0%{scale:1;filter:brightness(1)}35%{scale:1.7;filter:brightness(1.9)}100%{scale:1;filter:brightness(1)}}
@keyframes sfxHit{40%{scale:1.35}}
@keyframes sfxDraw{to{stroke-dashoffset:0}}
@keyframes sfxGone{to{opacity:0}}
@media (prefers-reduced-motion:reduce){.sfx-orb::before{transition:none}.sfx-bolt{display:none}}
