/* ==========================================================================
   MS39 desktop — white + gold skin (trial, 5 Oct 2026).
   Loaded last, after gk.css, and changes colour only: every size, gap and
   layout rule is left to the files before it. To go back to black + gold,
   remove the one <link> to this file in inc/header.php.

   Most of the site paints from the tokens in theme.css, so re-pointing them
   does the bulk of the work; the rules underneath only cover the places
   gk.css wrote a dark colour out by hand.
   ========================================================================== */

:root {
  /* Ink & surfaces (light) */
  --c-bg:          #f6f3ec;
  --c-ink:         #1f1a10;
  --c-body:        #4a4334;
  --c-muted:       #857c69;
  --c-faint:       #b0a68f;
  --c-line:        #e9e1cd;
  --c-surface:     #ffffff;
  --c-soft:        #faf7f0;
  --c-soft-2:      #f3eddf;

  /* Gold on white: the bright golds that read on black are too pale for text
     here, so "lit" — the colour gold text and active states use — becomes a
     deeper gold. The button gradient keeps its shine. */
  --gold:          #c79a2c;
  --gold-lit:      #a37a16;
  --gold-deep:     #8a6514;
  --gold-line:     rgba(199, 154, 44, .38);
  --gold-glow:     rgba(212, 169, 55, .12);
  --on-gold:       #2a1f05;

  /* Links and accents written against the old "blue" tokens. */
  --c-blue:        #b4861a;
  --c-blue-mid:    #c79a2c;
  --c-orange:      #b4861a;
  --c-orange-dark: #9c7417;
  --c-yellow:      #c79a2c;
  --c-gold:        #c79a2c;
  --c-blue-deep:   #fbf6e8;
  --c-purple-1:    #fbf6e8;
  --c-purple-2:    #f1e4c2;

  --shadow-card: 0 2px 14px rgba(120, 95, 30, .08);
  --shadow-pop:  0 10px 36px rgba(120, 95, 30, .16);
}

body.gk {
  background:
    radial-gradient(1200px 600px at 70% -10%, rgba(212, 169, 55, .12), transparent 60%),
    var(--c-bg);
}

/* Sidebar */
.gk-side {
  background: linear-gradient(180deg, #ffffff 0%, #fbf8f1 100%);
  scrollbar-color: #e2d8bf transparent;
  box-shadow: 2px 0 18px rgba(120, 95, 30, .05);
}
.gk-usercard { background: linear-gradient(135deg, #fbf3dc, #ffffff 70%); }
.gk-side-group a:hover { background: var(--c-soft-2); }

/* Top bar */
.gk-top {
  background: rgba(246, 243, 236, .96);
  border-bottom: 1px solid var(--c-line);
}

/* Home */
.gk-bal b.masked, .gk-chip-bal b.masked { text-shadow: 0 0 14px rgba(31, 26, 16, .4); }
.gk-guest { background: linear-gradient(120deg, #fbf0d2, #ffffff 65%); }
.gk-quick { background: linear-gradient(180deg, #fffaf0, #ffffff); box-shadow: var(--shadow-card); }
.gk-quick a { border-right-color: rgba(199, 154, 44, .2); }
.gk-hero { border-color: var(--gold-line); box-shadow: var(--shadow-card); }
.gk-hero-plate {
  background:
    radial-gradient(500px 300px at 85% 40%, rgba(212, 169, 55, .3), transparent 70%),
    linear-gradient(120deg, #ffffff 30%, #f6e6bc);
}
.gk-reward { box-shadow: var(--shadow-card); }
.gk-reward.tall { background: linear-gradient(140deg, #fbf0d2, #ffffff 70%); }
.gk-reward .deco { color: rgba(212, 169, 55, .16); }

/* Lobby + cards: a little lift so white cards do not melt into the page. */
.gk-cat-rail > * { box-shadow: 0 1px 6px rgba(120, 95, 30, .06); }
.gk-plat { box-shadow: 0 2px 10px rgba(120, 95, 30, .08); }
.gk-plat:hover { box-shadow: 0 8px 24px rgba(199, 154, 44, .25); }
.gk-logo-strip, .gk-rail { scrollbar-color: #e2d8bf transparent; }
.gk-game .thumb { box-shadow: 0 2px 10px rgba(120, 95, 30, .08); }

/* Account */
.gk-acc-bal { background: linear-gradient(135deg, #fbf0d2, #ffffff 70%); }
.ma-head { background: linear-gradient(135deg, #f8e7b8 0%, #fdf6e3 55%, #ffffff 100%); }
.ma-list, .rr-card, .credit-notice { box-shadow: var(--shadow-card); }

body.gk dialog::backdrop { background: rgba(40, 32, 12, .45); }

/* VIP page wash, kept for when the page comes back */
body.gk .vip-hero-in { background: linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.75) 38%, transparent 62%); }
body.gk .vip-tabbar { background: rgba(246, 243, 236, .97); }

/* Flags: a light hairline instead of the white one meant for black. */
.lang-row .lf { box-shadow: 0 0 0 1px rgba(0, 0, 0, .1); }

/* Responsible-gaming marks are dark artwork and read on white as they are. */
.gk-foot .foot-badges.lg img { filter: none; }

/* Dropdown arrow stays gold; Bootstrap's own controls stay light. */
body.gk .form-control, body.gk .form-select, body.gk .search-box { background-color: #ffffff; }
body.gk .form-control:focus, body.gk .form-select:focus { background-color: #ffffff; box-shadow: 0 0 0 3px rgba(212, 169, 55, .15); }

/* The logo was keyed for a black ground; on white its pale highlights wash
   out, so deepen it a touch rather than ship a second file. */
.gk-brand img { filter: brightness(.8) saturate(1.35) contrast(1.15) drop-shadow(0 1px 0 rgba(120, 95, 30, .15)); }

/* Controls that wrote white text over a surface token: dark ink (or gold, for
   the round "+" buttons) on the light surface. Active tabs keep their gold. */
.acc-tabs a, .speed-tabs a, .msg-tabs a, body.gk .speed-tabs a { color: var(--c-body); }
.add-round, .wallet-card .plus { color: var(--gold-lit); }
