/* ============================================================
   opglyph — 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 --op-<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{
  --og-green-bg: color-mix(in srgb, var(--nx-lime) 20%, transparent);
  --og-green-br: color-mix(in srgb, var(--nx-lime) 62%, transparent);
  --og-locked-bg: color-mix(in srgb, var(--nx-ink) 5%, transparent);
  --og-locked-br: var(--nx-line);
  --og-locked-outline: color-mix(in srgb, var(--nx-ink) 22%, transparent);
  --og-op-bg: color-mix(in srgb, var(--nx-violet) 16%, transparent);
  --og-op-br: color-mix(in srgb, var(--nx-violet) 55%, transparent);
  --og-sel-outline: var(--nx-accent);
  --og-target-bg: color-mix(in srgb, var(--nx-accent) 20%, transparent);
  --og-target-br: color-mix(in srgb, var(--nx-accent) 62%, transparent);
  --ogHelpBorder: var(--nx-line);
  --ogHelpBg: color-mix(in srgb, var(--nx-ink) 4%, transparent);
  --og-card-br: var(--nx-line);
  --og-card-bg: linear-gradient(180deg, var(--nx-glass-hi), var(--nx-glass));
  --og-card-shadow: 0 18px 46px var(--nx-drop);
  --og-btn-bg: color-mix(in srgb, var(--nx-ink) 6%, transparent);
  --og-btn-bg2: color-mix(in srgb, var(--nx-accent) 12%, transparent);
  --og-btn-br: var(--nx-line);
}

:root[data-theme="light"] body.gv-neon{
  --og-green-bg: color-mix(in srgb, var(--nx-lime) 18%, transparent);
  --og-green-br: color-mix(in srgb, var(--nx-lime) 62%, transparent);
  --og-locked-bg: color-mix(in srgb, var(--nx-ink) 5%, transparent);
  --og-locked-br: var(--nx-line);
  --og-locked-outline: color-mix(in srgb, var(--nx-ink) 22%, transparent);
  --og-op-bg: color-mix(in srgb, var(--nx-violet) 14%, transparent);
  --og-op-br: color-mix(in srgb, var(--nx-violet) 55%, transparent);
  --og-sel-outline: var(--nx-accent);
  --og-target-bg: color-mix(in srgb, var(--nx-accent) 18%, transparent);
  --og-target-br: color-mix(in srgb, var(--nx-accent) 62%, transparent);
  --ogHelpBorder: var(--nx-line);
  --ogHelpBg: color-mix(in srgb, var(--nx-ink) 4%, transparent);
  --og-card-br: var(--nx-line);
  --og-card-bg: linear-gradient(180deg, var(--nx-glass-hi), var(--nx-glass));
  --og-card-shadow: 0 14px 30px var(--nx-drop);
  --og-btn-bg: color-mix(in srgb, var(--nx-ink) 6%, transparent);
  --og-btn-bg2: color-mix(in srgb, var(--nx-accent) 12%, transparent);
  --og-btn-br: var(--nx-line);
}

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


/* The target is the whole objective — it should read as the scoreboard of the
   round, not as another label. */
:root body.gv-neon .ogTargetBox{
  border: 1px solid color-mix(in srgb, var(--nx-accent) 55%, transparent);
  box-shadow: 0 0 26px color-mix(in srgb, var(--nx-accent) calc(28% * var(--nx-glow)), transparent);
}
:root body.gv-neon .ogTargetVal{
  color: var(--nx-hero);
  font-weight: 900;
  text-shadow: 0 0 16px color-mix(in srgb, var(--nx-accent) calc(100% * var(--nx-glow)), transparent);
}
:root body.gv-neon .opBtn{
  border: 1px solid var(--nx-line);
  color: var(--nx-ink);
  transition: transform .12s ease, box-shadow .2s ease, border-color .2s ease;
}
:root body.gv-neon .opBtn:active{ transform: scale(.94); }
:root body.gv-neon .opBtn.primary{
  background: linear-gradient(180deg, var(--nx-accent), color-mix(in srgb, var(--nx-accent) 62%, #000));
  border-color: transparent;
  color: var(--nx-on-accent);
  font-weight: 900;
  box-shadow: 0 0 24px color-mix(in srgb, var(--nx-accent) calc(42% * var(--nx-glow)), transparent);
}
:root body.gv-neon .tok{ font-weight: 900; }
