/* Forbidden Bonbons theme for candy-kit: token overrides only (loaded after kit tokens.css).
 * A dark-chocolate box, done flat: cocoa/plum surfaces stepping up ~4% lightness per layer,
 * 1px hairlines instead of glows, raspberry reserved for the primary CTA, the active tab, focus and
 * small highlights. Cash-out is a flat pistachio; wins are caramel gold; forbidden is crimson.
 */
:root {
  color-scheme: dark;

  --ck-bg: #0f090e;
  --ck-frame: #170e15;
  --ck-frame-border: rgba(255, 255, 255, 0.06);
  --ck-col-divider: rgba(255, 255, 255, 0.06);
  --ck-surface-1: #21141d;
  --ck-surface-2: #2b1b26;
  --ck-surface-3: #130b11;
  --ck-surface-hover: #362331;
  --ck-surface-active: #412a3b;
  --ck-modal-bg: #21141d;
  --ck-modal-card: #2b1b26;
  --ck-scrim: rgba(9, 5, 8, 0.74);
  --ck-line: rgba(255, 255, 255, 0.07);
  --ck-line-strong: rgba(255, 255, 255, 0.14);

  --ck-text: #fbf2f6;
  --ck-text-muted: #b19aa8;
  --ck-text-dim: #7b6573;
  --ck-text-on-accent: #ffffff;

  --ck-accent: #e8457f;
  --ck-accent-2: #ff86b1;
  --ck-accent-soft: rgba(232, 69, 127, 0.16);
  --ck-cta-gradient: linear-gradient(180deg, #ef5590 0%, #d93a76 100%);
  --ck-cta-glow: none;
  --ck-cta-text: #ffffff;
  --ck-cashout-gradient: linear-gradient(180deg, #8fd9a0 0%, #62c07f 100%);
  --ck-cashout-text: #0d2615;
  --ck-cancel-bg: #362331;
  --ck-cancel-text: #fbf2f6;
  --ck-progress: #62c07f;
  --ck-close-bg: var(--ck-surface-2);
  --ck-close-fg: var(--ck-text-muted);
  --ck-close-border: var(--ck-line);

  --ck-win: #f4bf62;
  --ck-success: #62c07f;
  --ck-danger: #ff4d6d;
  --ck-warn: #ffb347;
  --ck-info: #a58cf0;
  --ck-status-live: #62c07f;
  --ck-status-idle: #7b6573;
  --ck-status-offline: #ff4d6d;
  --ck-focus: #9fd0ff;
  --ck-cashed-tint: rgba(98, 192, 127, 0.07);

  /* multiplier tiers: plum < 2x, raspberry 2-10x, caramel >= 10x */
  --ck-tier-low-bg: #5b3a8c;  --ck-tier-low-fg: #ffffff;
  --ck-tier-mid-bg: #b8336a;  --ck-tier-mid-fg: #ffffff;
  --ck-tier-high-bg: #c98a1e; --ck-tier-high-fg: #ffffff;
  --ck-chip-current-bg: #412a3b;
  --ck-chip-current-fg: #ffffff;

  --ck-avatar-0: #b25a86; --ck-avatar-1: #7a5bc0; --ck-avatar-2: #3d8c9c; --ck-avatar-3: #b5813e;
  --ck-avatar-4: #5a70c2; --ck-avatar-5: #43937a; --ck-avatar-6: #a35e5e; --ck-avatar-7: #77708a;

  --ck-stage-bg: linear-gradient(165deg, #2a1622 0%, #1b0f18 55%, #130a10 100%);
  --ck-stage-border: rgba(255, 255, 255, 0.07);
  --ck-mult-color: #ffffff;
  --ck-mult-gradient: linear-gradient(180deg, #ffffff 15%, #ffd0e1 100%);
  --ck-mult-glow: none;
  --ck-mult-crashed: #ff4d6d;
  --ck-mult-cashed: #8fd9a0;
  --ck-wait-track: rgba(255, 255, 255, 0.14);
  --ck-wait-fill: #e8457f;

  --ck-left-w-tablet: 316px;

  --ck-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ck-font-display: var(--ck-font);
  --ck-font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* game-only tokens */
  --fb-tile-bg: #2b1b26;
  --fb-tile-bg-hover: #382432;
  --fb-tile-sweet: #31202b;
  --fb-tile-hit: #4a1220;
  --fb-tile-border: rgba(255, 255, 255, 0.07);
}
