/* Mind Arena theme: one place for every colour the site shares.
   Change a value here and every page follows. */
:root{
  color-scheme:dark;

  /* Main colours: the night background and its layers */
  --night:#0B0E1C;        /* page background */
  --panel:#121833;        /* game cases, shelves, raised areas */
  --card:#0F1429;         /* cards inside panels */
  --edge:#28305A;         /* borders and divider lines */

  /* Text */
  --text:#EEF1FF;         /* main text */
  --text-muted:#A3ABD0;   /* secondary text, labels */

  /* Team colours: identical in every game */
  --team-blue:#2F6BF0;    /* you / player 1 */
  --on-blue:#FFFFFF;      /* text on the blue team colour */
  --team-orange:#FF7A2E;  /* rival or bot / player 2 */
  --on-orange:#1B1D22;    /* text on the orange team colour */

  /* Helper colours */
  --gold:#FFD35C;         /* highlights: last move, winning line, focus ring, stars */
  --green:#5FD08A;        /* money, success, "correct" */
  --red:#E0503A;          /* danger, warnings, tipping points */

  /* Game surfaces (used by individual boards) */
  --paper:#FBF8F1;        /* cream paper and tiles */
  --wood:#E8C98F;         /* wooden boards */
  --felt:#2F8A5C;         /* green felt boards */
}

/* Result dialogs: the next game is one big tap away */
#over .acts{gap:10px}
#over #again{min-height:54px;font-size:18px;font-weight:700;border-radius:14px}
#over #newOpp{min-height:50px;font-size:16px;font-weight:700;border-width:2px;border-color:var(--team-blue)}
#over #newOpp[hidden]{display:none}
#over #again.fx-pulse{animation:fx-pulse 1.3s ease-in-out infinite}
@keyframes fx-pulse{0%,100%{box-shadow:0 0 0 0 rgba(47,107,240,.65)}60%{box-shadow:0 0 0 10px rgba(47,107,240,0)}}
@media (prefers-reduced-motion:reduce){#over #again.fx-pulse{animation:none}}
