/* ============================================================
   pathglyph — arcade retint. GENERATED by tools/gen-skins.py; edit that,
   or add hand-written rules to the bottom of this file below the marker.

   The game declares its surfaces as --pa-<role> tokens. This maps the
   roles the arcade layer knows about onto --nx-* values, once per theme, so
   the board picks up the lit palette without any of the game's own layout,
   sizing or logic changing. Roles that are not in the vocabulary keep the
   game's value: the skin follows the player's theme now, so an unmapped
   token is still correct for the page it is on.
   ============================================================ */

:root body.gv-neon{
  --pg-gold2: color-mix(in srgb, var(--nx-gold) 60%, transparent);
  --pg-ink: var(--nx-ink);
  --pg-border: var(--nx-line);
  --pg-border2: color-mix(in srgb, var(--nx-accent) 40%, transparent);
  --pg-glow: color-mix(in srgb, var(--nx-accent) 42%, transparent);
  --pg-glow-strong: color-mix(in srgb, var(--nx-accent) 70%, transparent);
}

:root[data-theme="light"] body.gv-neon{
  --pg-gold2: color-mix(in srgb, var(--nx-gold) 60%, transparent);
  --pg-ink: var(--nx-ink);
  --pg-border: var(--nx-line);
  --pg-border2: color-mix(in srgb, var(--nx-accent) 40%, transparent);
  --pg-glow: color-mix(in srgb, var(--nx-accent) 34%, transparent);
  --pg-glow-strong: color-mix(in srgb, var(--nx-accent) 55%, transparent);
}

/* ---- hand-written below this line (not regenerated) ---- */


/* The path is drawn as SVG ink, so the glow belongs on the stroke itself.
   drop-shadow on the element, not box-shadow, which SVG geometry ignores. */
:root body.gv-neon .pgInk{
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--nx-accent) calc(75% * var(--nx-glow)), transparent));
}
:root body.gv-neon .pgInkHi{
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--nx-accent) calc(95% * var(--nx-glow)), transparent));
}
:root body.gv-neon .pgInkGhost{ opacity: .45; }
:root body.gv-neon .pgNodeStart,
:root body.gv-neon .pgNodeEnd{
  filter: drop-shadow(0 0 8px color-mix(in srgb, var(--nx-gold) calc(80% * var(--nx-glow)), transparent));
}
:root body.gv-neon .pgNodeCircle{
  filter: drop-shadow(0 0 4px color-mix(in srgb, var(--nx-accent) calc(45% * var(--nx-glow)), transparent));
}
:root body.gv-neon .pgMount.pgWin .pgInk{
  filter: drop-shadow(0 0 12px color-mix(in srgb, var(--nx-lime) calc(90% * var(--nx-glow)), transparent));
}
:root body.gv-neon .pgMount.pgIllegal{ animation: pgNo .36s ease; }
@keyframes pgNo{ 0%,100%{transform:none} 30%{transform:translateX(-5px)} 70%{transform:translateX(5px)} }
