/* ============================================================
   focusglyph — 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 --fo-<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{
  --fg-good-bg: color-mix(in srgb, var(--nx-lime) 20%, transparent);
  --fg-good-br: color-mix(in srgb, var(--nx-lime) 62%, transparent);
  --fg-tile-bg: rgba(16,26,48,.82);
  --fg-tile-br: rgba(120,200,255,.30);
  --fg-tile-hover: color-mix(in srgb, var(--nx-accent) 12%, transparent);
  --fg-ring: color-mix(in srgb, var(--nx-accent) 62%, transparent);
  --fg-accent: var(--nx-accent);
  --fgHelpBorder: var(--nx-line);
  --fgHelpBg: color-mix(in srgb, var(--nx-ink) 4%, transparent);
}

:root[data-theme="light"] body.gv-neon{
  --fg-good-bg: color-mix(in srgb, var(--nx-lime) 18%, transparent);
  --fg-good-br: color-mix(in srgb, var(--nx-lime) 62%, transparent);
  --fg-tile-bg: rgba(255,255,255,.94);
  --fg-tile-br: rgba(18,38,72,.20);
  --fg-tile-hover: color-mix(in srgb, var(--nx-accent) 12%, transparent);
  --fg-ring: color-mix(in srgb, var(--nx-accent) 62%, transparent);
  --fg-accent: var(--nx-accent);
  --fgHelpBorder: var(--nx-line);
  --fgHelpBg: color-mix(in srgb, var(--nx-ink) 4%, transparent);
}

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


/* Find-the-next-number under time pressure: the tile you just cleared should
   confirm instantly, and the board should read as scannable, not busy. */
:root body.gv-neon .fgTile{
  font-weight: 900;
  color: var(--nx-ink);
}
:root body.gv-neon .fgTile.correct{
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--nx-lime) 88%, var(--nx-fill-tint)), var(--nx-lime));
  color: var(--nx-on-accent);
  border-color: color-mix(in srgb, var(--nx-lime) 60%, transparent);
  box-shadow: 0 0 16px color-mix(in srgb, var(--nx-lime) calc(50% * var(--nx-glow)), transparent);
  animation: fgGot .3s cubic-bezier(.34,1.56,.64,1);
}
@keyframes fgGot{ 0%{transform:scale(.75);filter:brightness(2)} 100%{transform:scale(1)} }
:root body.gv-neon .fgTile.next{
  box-shadow:
    0 0 0 2px var(--nx-accent) inset,
    0 0 18px color-mix(in srgb, var(--nx-accent) calc(50% * var(--nx-glow)), transparent);
}
:root body.gv-neon .fgGrid.shake{ animation: fgShake .4s ease; }
@keyframes fgShake{ 0%,100%{transform:none} 25%{transform:translateX(-6px)} 60%{transform:translateX(6px)} }
