/* Stackd glow cards (Dave, Dec 2026: "where it has the mouse ... the rainbow holo trace effect"). A thin rainbow arc rides each
   card's rounded border on the side nearest the mouse (desktop), or travels around one card at a time (phones). Drawn by
   stackd-glow.js into one <i class="skgl"> per card; the arc's angle (--skgl-a) and strength (--skgl-o) come from the script.
   The SAME file lives in the site (site/shared/stackd-glow.css) and the launcher (app/launcher/glow.css). Keep them identical. */
[data-glow] { isolation: isolate; }
[data-glow] > .skgl {
  position: absolute !important; inset: 0 !important; z-index: 6 !important; margin: 0 !important; padding: 0 !important;
  border-radius: inherit; pointer-events: none; opacity: var(--skgl-o, 0);
  --skgl-arc: conic-gradient(from calc(var(--skgl-a, 0deg) - 56deg), rgba(255, 79, 200, 0) 0deg, #ff4fc8 16deg, #ff9a3d 36deg,
    #24c98a 56deg, #3d96ff 76deg, #9a5cff 96deg, rgba(154, 92, 255, 0) 112deg, rgba(154, 92, 255, 0) 360deg);
}
/* the crisp ring (2.5 px) and a soft, wider, fainter band just inside it (a glow without blur filters); the mask leaves only the
   border band */
[data-glow] > .skgl::before, [data-glow] > .skgl > b::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: var(--skgl-w, 2.5px); background: var(--skgl-arc);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
[data-glow] > .skgl > b { position: absolute; inset: 0; border-radius: inherit; opacity: .28; display: block; }
[data-glow] > .skgl > b::before { padding: 7px; }
/* reduced motion: a soft, still holo border all the way round */
[data-glow] > .skgl.still { --skgl-o: .5;
  --skgl-arc: conic-gradient(from 210deg, #ff4fc8, #ff9a3d, #24c98a, #3d96ff, #9a5cff, #ff4fc8); }
[data-glow] > .skgl.still > b { opacity: .12; }
