/* =========================================================
   THEME — this game's colours. EDIT THIS FILE (only) to re-skin the menu.
   The layout/logic come from the shared shell.css (never touch that).
   Change the values below to match your game's art, then you're done.

   ---- WHAT YOU SHOULD AND SHOULD NOT RECOLOUR ----
   RECOLOUR FREELY: --accent (the game's own colour — modal captions, the title cap) and the
   --panel / --nav family (the furniture the UI is built from).

   DO NOT RECOLOUR: --gold and --green. Those two are SEMANTIC across the whole portfolio —
   gold always means currency, green always means "this button plays a rewarded ad". A player
   who has met one of our games already knows what a green button does, and rewarded video is
   where the money comes from; a game that makes green mean something else is training them
   wrong and will cost itself views.

   The --pri-* / --go-* / --gd-* / --gh-* sets are BUTTON RAMPS: 1 = top of the face,
   2 = bottom of the face, 3 = the hard shadow underneath, ink = the label colour. Change
   1/2/3 together, or the button stops reading as a physical key you can press.
   ========================================================= */
/* 🟣 PLAYGAMA BUILD — the DECIDED §3c look (P3 panels / B2 buttons / N2 nav), tokens from
   playgama/PALETTE.md (read live from their site — never invent a purple). ON :root, NOT
   #gameShell: the bottom nav, popups, splash and coachmark are SIBLINGS of the 450×800 card
   (UI-SCALING-STANDARD update 2026-07-28) — scoped to the card they silently keep defaults. */
:root{
  --accent:#c7abff; --accent-dk:#9747ff; --accent-lt:#d8bbff;

  /* ---- SEMANTIC: leave these alone (see above) ---- */
  --green:#2fbf6b; --green-dk:#1d8c4c;
  --gold:#ffce3a;  --gold-dk:#e8a417;

  /* ---- furniture: Playgama purples ---- */
  --ink:#12081f; --panel:#421b75; --panel-2:#2e1252; --tab:#682eb2;
  --nav-line:#1b0b30; --text:#f3eaff;
  --nav1:#4d2286; --nav2:#2e1252;

  /* ---- button ramps ---- */
  --pri-1:#aa76ff; --pri-2:#9747ff; --pri-3:#52189a; --pri-ink:#ffffff;  /* PLAY + active tab */
  --go-1:#5ee08d;  --go-2:#2fbf6b;  --go-3:#1d8c4c;  --go-ink:#08240f;   /* rewarded ad */
  --gd-1:#ffca4d;  --gd-2:#f0aa22;  --gd-3:#cf8d0b;  --gd-ink:#3b2f06;   /* currency */
  --gh-1:#5a3690;  --gh-2:#421b75;  --gh-3:#2a0f4d;                      /* neutral */

  --text-scene:#f3eaff;
}
/* The wordmark bar in Playgama's own brand purple (shell.css hardcodes red; this loads after). */
#shSub{ background:#9747ff; }

/* 🟣 PAUSE FREEZE (SUBMISSION-FAILURES C2/M8): the master shell adds body.game-paused on a
   host pause; nothing may keep animating under an advert — a correctly-paused game must LOOK
   paused in a moderator's screenshot. Blanket, additive, with only the pause overlay exempt
   (C2a: exceptions written as ancestors resurrect things — this exempts one id, no children
   of the frozen world). */
body.game-paused *{ animation-play-state:paused !important; }
body.game-paused #shPaused, body.game-paused #shPaused *{ animation-play-state:running !important; }


/* ---- HUD CLEANUP (2026-08-30): the shell's in-run objective chip duplicated the game's own
   COINS readout, so it is hidden here. Theme-level presentation only — shell.js/shell.css stay
   byte-identical. ---- */
#shGhud .obj{ display:none !important; }
/* The bottom coaching hint earns its keep exactly once; body.veteran is set by the game from
   level 2 onward. */
body.veteran #shHint{ display:none !important; }

/* ---- GARAGE BUTTONS just above the nav bar (Graham, 2026-08-30). !important on purpose: the
   shell's liftPlayAbove() writes an inline bottom (262px with no upgrade stack), and a stylesheet
   !important is the one thing that outranks an inline style without editing shell.js.
   ⚠️ If this game ever declares CFG.upgrades, this override will sit the buttons ON the upgrade
   stack — revisit then. ---- */
#gameShell .gPlay{ bottom:88px !important; }

/* ---- PAINT BUTTON above the UNLOCK/PLAY stack (Graham, 2026-08-30). The shell parks it beside
   the car (bottom:396px, left:72%); this docks it centred just above the button group, which this
   game pins at bottom:88px. 212px clears the tallest group (UNLOCK + TEST DRIVE). ---- */
#gameShell .gPaint{ bottom:212px !important; left:auto !important; right:34px !important; transform:none !important; }

/* ---- The game LOGO replaces the shell's text title on the home screen (Graham's art,
   2026-08-30). The logo element lives in the game's own HUD col. ---- */
#gameShell .gTitle{ display:none !important; }

/* ---- Car NAME and the floating price line removed (Graham, 2026-08-30) — the logo owns the top
   band, and the cost lives ON the unlock button where the decision happens. ---- */
#gameShell .gName,#gameShell .gStatus{ display:none !important; }
/* the price injected into the unlock button by patchUnlockPrice() */
#shGGo .upr{ display:block; font-size:24px; line-height:1.1; margin-top:2px; }
#shGGo .upr img{ height:22px; width:auto; vertical-align:-4px; margin-right:5px; }

/* ---- Browse arrows lowered out of the screen's middle (Graham, 2026-08-30) — the shell puts
   them at top:44%; down here they flank the car's wheels instead of its roofline. ---- */
#gameShell .garrow{ top:58% !important; }

/* ---- Win card = the tally sheet (Graham, 2026-08-30): stars off, lines injected by
   patchWinCard(), COLLECT renamed NEXT LEVEL, small Home beneath. ---- */
#shWinStars{ display:none !important; }

/* ---- Run UI stripped further (Graham, 2026-08-30): the checkered progress flag and the quit
   button are gone from gameplay. A run now ends only by finishing or wrecking out; delete these
   two lines to bring either back. ---- */
#shGhud .gflag{ display:none !important; }
#shQuit{ display:none !important; }

/* ---- WALLET CHIPS ON THE TOP LINE (Graham, 2026-08-31): the coin + gem chips move up under
   the PLAYGAMA wordmark bar, centred, and bigger. They normally sit small in the header row.
   Sibling selector, not :has() — the portal floor is old Android and :has() support there is
   not a bet worth taking. The coin chip is the first .chip in the header, the gem chip is
   the one directly after it. ---- */
#shHome header .chip{
  position:absolute; top:54px; left:12px;
  font-size:17px; padding:5px 15px 5px 8px; border-radius:999px; z-index:6;
}
/* 💎 THE GEM CURRENCY IS GONE (Graham, 2026-08-31: "we don't need it in this game") —
   the cash bill is the one currency. Chip and the store's +GEMS rewarded button hidden;
   missions are not enabled in this game so nothing else ever pays gems. */
#shHome header .chip + .chip{ display:none !important; }
#shShopGems{ display:none !important; }
#shHome header .chip img{ width:27px; height:27px; }
