/* The AsystAI coin: the round animated logo (bolt on a white disc in an electric ring). ONE source for every page that shows it:
   the map's left rail (/map, loaded by map patch v12.55) and the ampmenow.com header (Joseph, 2026-12-04: "Use our standard round
   animated logo on the ampmenow.com site header. I mean sync them so they are identical."). Change it here and both change.
   Every few seconds it flips like a coin while a spark runs around the ring and the bolt flashes, then rests (7 s cycle, from map v3.49).
   The ring follows the page accent (--orange, --hue); reduced motion: a still coin. Markup: asystai-coin.js. */
.hc{position:relative;display:inline-block;width:40px;height:40px;flex:0 0 auto;perspective:220px}
.hc-ring{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.hc-ring circle{fill:none;stroke-width:5}
.hc-track{stroke:var(--orange,#3b82f6);opacity:.9;filter:drop-shadow(0 0 3px hsla(var(--hue,217),90%,55%,.6))}
.hc-spark{stroke:#e8f4ff;stroke-linecap:round;stroke-dasharray:46 300;opacity:0;transform-origin:50% 50%;
  filter:drop-shadow(0 0 4px #9fd0ff) drop-shadow(0 0 8px hsla(var(--hue,217),95%,60%,.9));animation:hcSpark 7s cubic-bezier(.4,0,.2,1) infinite}
.hc-coin{position:absolute;inset:5px;border-radius:50%;transform-style:preserve-3d;box-shadow:0 0 10px hsla(var(--hue,217),90%,55%,.35);animation:hcFlip 7s cubic-bezier(.65,0,.35,1) infinite}
.hc-coin svg{width:100%;height:100%;display:block}
.hc-bolt{fill:#0b6dd9;animation:hcBolt 7s ease-out infinite}
a:hover .hc-coin{box-shadow:0 0 16px hsla(var(--hue,217),90%,60%,.6)}
@keyframes hcFlip{0%,4%{transform:rotateY(0)}20%,100%{transform:rotateY(360deg)}}
@keyframes hcSpark{0%,3%{opacity:0;transform:rotate(-90deg)}6%{opacity:1}24%{opacity:1;transform:rotate(270deg)}30%,100%{opacity:0;transform:rotate(270deg)}}
@keyframes hcBolt{0%,17%{fill:#0b6dd9;filter:none}20%{fill:#5fb4ff;filter:drop-shadow(0 0 6px #bfe3ff)}32%,100%{fill:#0b6dd9;filter:none}}
@media (prefers-reduced-motion: reduce){ .hc-coin,.hc-spark,.hc-bolt{animation:none} }
