/* ============================================================
   hieroglyph — 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 --hi-<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{
  --hg-good-bg: color-mix(in srgb, var(--nx-lime) 20%, transparent);
  --hg-good-br: color-mix(in srgb, var(--nx-lime) 62%, transparent);
  --hg-sel-outline: var(--nx-accent);
  --hg-tok-bg: rgba(16,26,48,.82);
  --hg-tok-br: rgba(120,200,255,.30);
}

:root[data-theme="light"] body.gv-neon{
  --hg-good-bg: color-mix(in srgb, var(--nx-lime) 18%, transparent);
  --hg-good-br: color-mix(in srgb, var(--nx-lime) 62%, transparent);
  --hg-sel-outline: var(--nx-accent);
  --hg-tok-bg: rgba(255,255,255,.94);
  --hg-tok-br: rgba(18,38,72,.20);
}

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


/* Solved symbols are the progress bar of this game — they should light up and
   stay lit. */
:root body.gv-neon .hgTok{ font-weight: 900; }
:root body.gv-neon .hgTok.g{
  box-shadow: 0 0 16px color-mix(in srgb, var(--nx-lime) calc(45% * var(--nx-glow)), transparent);
}
:root body.gv-neon .hgTok.hgNewSolved{ animation: hgSolve .5s cubic-bezier(.34,1.56,.64,1); }
@keyframes hgSolve{ 0%{transform:scale(.6);filter:brightness(2.2)} 60%{transform:scale(1.16)} 100%{transform:scale(1)} }
:root body.gv-neon .hgBtn{
  border: 1px solid var(--nx-line);
  color: var(--nx-ink);
  font-weight: 800;
  transition: transform .12s ease, box-shadow .2s ease, border-color .2s ease;
}
:root body.gv-neon .hgBtn:active{ transform: scale(.93); }
:root body.gv-neon .hgSolvedVal{
  color: var(--nx-hero);
  font-weight: 900;
  text-shadow: 0 0 14px color-mix(in srgb, var(--nx-accent) calc(90% * var(--nx-glow)), transparent);
}

/* The help button's "i" is hard-coded rgba(255,255,255,.95) in
   hieroglyph.css with no light variant, and style-test's
   :root[data-theme="light"] button{background:#e7eef7} outranks the gold wash
   behind it — so in light mode the glyph was white on near-white and the
   button read as empty. Pre-existing, and only on this page. */
:root body.gv-neon .iGlyph{
  color: var(--nx-ink);
  border-color: color-mix(in srgb, var(--nx-gold) 75%, transparent);
}
:root body.gv-neon .infoBtn{
  background: color-mix(in srgb, var(--nx-gold) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--nx-gold) 65%, transparent);
}
