/* Restore verified range accents above the BLACK presentation layer.
   Navigation uses its existing home / mega-menu palette; product detail keeps
   its separate established palette. Brand and payment tokens are untouched. */

/* Existing readable home / navigation colors. */
body.gs-halloween .arcade-intro .character[data-tier="starter"],
body.gs-halloween .arcade-intro .gamas-section:has(.character[data-tier="starter"][aria-pressed="true"]),
body.catalog-halloween .catalog-tier[data-line-filter="STARTER"] {
  --range-accent: #4ade80;
}
body.gs-halloween .arcade-intro .character[data-tier="advanced"],
body.gs-halloween .arcade-intro .gamas-section:has(.character[data-tier="advanced"][aria-pressed="true"]),
body.catalog-halloween .catalog-tier[data-line-filter="ADVANCED"] {
  --range-accent: #a0acff;
}
body.gs-halloween .arcade-intro .character[data-tier="god-tier"],
body.gs-halloween .arcade-intro .gamas-section:has(.character[data-tier="god-tier"][aria-pressed="true"]),
body.catalog-halloween .catalog-tier[data-line-filter="COMPETITIVE"] {
  --range-accent: #c78bff;
}
body.gs-halloween .arcade-intro .character[data-tier="entusiasta"],
body.gs-halloween .arcade-intro .gamas-section:has(.character[data-tier="entusiasta"][aria-pressed="true"]),
body.catalog-halloween .catalog-tier[data-line-filter="ENTHUSIAST"] {
  --range-accent: #fbbf24;
}
body.gs-halloween .arcade-intro .character[data-tier="workstation"],
body.gs-halloween .arcade-intro .gamas-section:has(.character[data-tier="workstation"][aria-pressed="true"]),
body.catalog-halloween .catalog-tier[data-line-filter="WORKSTATION"] {
  --range-accent: #f88ac1;
}

/* Range identity stays visible before a selection; the existing marker and
   aria-pressed state still distinguish selection without relying on color. */
body.gs-halloween .arcade-intro .character {
  border-color: color-mix(in srgb, var(--range-accent) 45%, #2e3d56);
}
body.gs-halloween .arcade-intro .character-name,
body.gs-halloween .arcade-intro .tier-copy h3,
body.gs-halloween .arcade-intro .tier-link {
  color: var(--range-accent);
}
body.gs-halloween .arcade-intro .character:hover,
body.gs-halloween .arcade-intro .character.selected,
body.gs-halloween .arcade-intro .character.selected:hover {
  border-color: var(--range-accent);
}
body.gs-halloween .arcade-intro .character.selected {
  background: color-mix(in srgb, var(--range-accent) 13%, #090e18);
  box-shadow: inset 0 0 0 1px var(--range-accent);
}
body.gs-halloween .arcade-intro .selection-marker {
  background: var(--range-accent);
}
body.gs-halloween .arcade-intro .character:focus-visible,
body.gs-halloween .arcade-intro .tier-link:focus-visible {
  outline: 3px solid var(--range-accent);
  outline-offset: 4px;
}

/* The five example products already carry their authoritative --gama-color. */
body.gs-halloween .home-snapshot .hm-gama-item .hm-gama-link h3,
body.gs-halloween .home-snapshot .hm-gama-item .hm-gama-link .lucide {
  color: var(--gama-color);
}
body.gs-halloween .home-snapshot .hm-gama-item .hm-pc-card {
  border-color: color-mix(in srgb, var(--gama-color) 45%, #2e3d56);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gama-color) 45%, #2e3d56);
}
body.gs-halloween .home-snapshot .hm-gama-item .hm-pc-card:hover {
  border-color: var(--gama-color);
  box-shadow: inset 0 0 0 1px var(--gama-color);
}

/* Budget cards retain their original --tier-c for borders and icons. Use the
   corresponding lighter existing range color for small text on dark panels. */
body.gs-halloween .home-snapshot .hm-tier-card[href="/gama/starter"] { --range-accent: #4ade80; }
body.gs-halloween .home-snapshot .hm-tier-card[href="/gama/advanced"] { --range-accent: #a0acff; }
body.gs-halloween .home-snapshot .hm-tier-card[href="/gama/god-tier"] { --range-accent: #c78bff; }
body.gs-halloween .home-snapshot .hm-tier-card[href="/gama/entusiasta"] { --range-accent: #fbbf24; }
body.gs-halloween .home-snapshot .hm-tier-card[href="/gama/workstation"] { --range-accent: #f88ac1; }
body.gs-halloween .home-snapshot .hm-tier-card {
  border-color: color-mix(in srgb, var(--tier-c) 45%, #2e3d56);
}
body.gs-halloween .home-snapshot .hm-tier-card:hover {
  border-color: var(--tier-c);
}
body.gs-halloween .home-snapshot .hm-tier-card:focus-visible {
  outline: 3px solid var(--range-accent);
  outline-offset: 4px;
}
body.gs-halloween .home-snapshot .hm-tier-name,
body.gs-halloween .home-snapshot .hm-tier-cta {
  color: var(--range-accent);
}
body.gs-halloween .home-snapshot .hm-tier-ic {
  background: color-mix(in srgb, var(--tier-c) 15%, #111927);
  color: var(--range-accent);
}

/* Catalogue filters use the same five navigation identities. */
body.catalog-halloween .catalog-tier {
  color: var(--range-accent);
  border-color: color-mix(in srgb, var(--range-accent) 45%, #2e3d56);
}
body.catalog-halloween .catalog-tier .icon {
  color: var(--range-accent);
}
body.catalog-halloween .catalog-tier:hover,
body.catalog-halloween .catalog-tier[aria-pressed="true"] {
  border-color: var(--range-accent);
}
body.catalog-halloween .catalog-tier[aria-pressed="true"] {
  background: color-mix(in srgb, var(--range-accent) 13%, #090e18);
  box-shadow: inset 0 0 0 1px var(--range-accent);
}
body.catalog-halloween .catalog-tier:focus-visible {
  outline: 3px solid var(--range-accent);
  outline-offset: 4px;
}

/* Exact original product-theme.css tokens, not navigation colors. The BLACK
   brand --sh-accent and explicit cart/payment colors remain unchanged. */
body.product-halloween[data-product-gama="starter"] {
  --gama: #ffbd76;
  --gama-ink: #201207;
  --gama-soft: #2c201d;
  --gama-edge: #a57949;
}
body.product-halloween[data-product-gama="advanced"] {
  --gama: #8ccfff;
  --gama-ink: #0b1b2c;
  --gama-soft: #17283c;
  --gama-edge: #5f99bf;
}
body.product-halloween[data-product-gama="godlike"] {
  --gama: #e4b3ff;
  --gama-ink: #241331;
  --gama-soft: #2d1c3c;
  --gama-edge: #ad7dc7;
}
body.product-halloween[data-product-gama="enthusiast"] {
  --gama: #a8eb8a;
  --gama-ink: #14220e;
  --gama-soft: #1c2b21;
  --gama-edge: #7ca468;
}
body.product-halloween[data-product-gama="workstation"] {
  --gama: #c8b8ff;
  --gama-ink: #1e1538;
  --gama-soft: #26203e;
  --gama-edge: #9789c0;
}
body.product-halloween[data-product-gama="gorilightning"] {
  --gama: #87e6f5;
  --gama-ink: #0a2429;
  --gama-soft: #132b35;
  --gama-edge: #5babb8;
}
body.product-halloween .pp-gama-link,
body.product-halloween .pp-thumb.on {
  color: var(--gama);
}
