/* fx.css — presentation layer for Candy Keno. Load AFTER style.css / egyptian.css / caveman.css.
   All motion is driven by JS (transform / opacity only). This file supplies static looks, tokens,
   and reduced-motion / forced-colors fallbacks. Font: Fredoka (SIL OFL 1.1, see fonts/Fredoka-OFL.txt). */

@font-face {
  font-family: "Fredoka FX";
  src: url("./fonts/fredoka-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fredoka FX";
  src: url("./fonts/fredoka-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fredoka FX";
  src: url("./fonts/fredoka-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- Theme tokens ----------
   Candy: "Sherbet Parlour" — raspberry, bubblegum, tangerine glaze, mint sparkle, plum ink.
   Egyptian: "Faience & Leaf" — lapis, turquoise faience, beaten gold, carnelian.
   Caveman: "Ember Clearing" — amber resin, moss, basalt, firelight. */
body {
  --fx-display: "Fredoka FX", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fx-ink: #4a1f45;
  --fx-ball-light: #ffd3e4;
  --fx-ball-core: #ff5a93;
  --fx-ball-dark: #a8134f;
  --fx-ball-face: #fff8f1;
  --fx-ball-text: #7a1a4e;
  --fx-ball-shadow: rgba(120, 18, 70, .32);
  --fx-match-light: #fff6c2;
  --fx-match-core: #ffc53d;
  --fx-match-dark: #d67a0c;
  --fx-match-text: #6b3a04;
  --fx-ring: #ffe169;
  --fx-ring-2: #ff7fb4;
  --fx-spark-a: #fff3a8;
  --fx-spark-b: #7ff0d0;
  --fx-spark-c: #ff8fc0;
  --fx-coin-light: #fff4b8;
  --fx-coin-core: #f7c531;
  --fx-coin-dark: #b9790c;
  --fx-vignette: rgba(58, 8, 52, .55);
  --fx-highlight: linear-gradient(90deg, rgba(255, 225, 105, .95), rgba(255, 159, 67, .92));
  --fx-highlight-edge: #fff3b0;
  --fx-highlight-text: #4a1f45;
  --fx-overlay-scrim: rgba(66, 10, 60, .72);
  --fx-card-bg: linear-gradient(170deg, #fff9f1 0%, #ffe6f0 58%, #ffd3e6 100%);
  --fx-card-border: #ffffff;
  --fx-card-rim: #d6245f;
  --fx-card-shadow: 0 10px 0 #b3195a, 0 26px 50px rgba(60, 5, 50, .45);
  --fx-kicker-bg: #9b51e0;
  --fx-kicker-text: #fff7d6;
  --fx-title: #d6245f;
  --fx-title-shadow: 0 3px 0 #ffd0e2, 0 5px 0 rgba(160, 20, 80, .25);
  --fx-amount: #6f2eb3;
  --fx-amount-shadow: 0 4px 0 #f2c94c;
  --fx-unit: #8a4a7a;
  --fx-ray-a: rgba(255, 236, 140, .75);
  --fx-ray-b: rgba(255, 143, 192, .55);
  --fx-radius: 30px;
  --fx-shimmer: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .85) 48%, rgba(255, 240, 200, .5) 54%, transparent 70%);
}
body[data-theme="egyptian"] {
  --fx-display: Georgia, "Palatino Linotype", serif;
  --fx-ink: #102f42;
  --fx-ball-light: #8fd3d6;
  --fx-ball-core: #1c7a92;
  --fx-ball-dark: #08324f;
  --fx-ball-face: #fff2cc;
  --fx-ball-text: #0b3450;
  --fx-ball-shadow: rgba(3, 20, 34, .5);
  --fx-match-light: #fff6c4;
  --fx-match-core: #e9b449;
  --fx-match-dark: #8e5a1f;
  --fx-match-text: #1c3036;
  --fx-ring: #7ee8cc;
  --fx-ring-2: #f2cc6e;
  --fx-spark-a: #ffe39a;
  --fx-spark-b: #8cf0cf;
  --fx-spark-c: #e5895a;
  --fx-coin-light: #fff0b0;
  --fx-coin-core: #e3a947;
  --fx-coin-dark: #7f4c20;
  --fx-vignette: rgba(2, 18, 32, .7);
  --fx-highlight: linear-gradient(90deg, rgba(229, 174, 80, .95), rgba(126, 232, 204, .85));
  --fx-highlight-edge: #fff0c1;
  --fx-highlight-text: #082c47;
  --fx-overlay-scrim: rgba(4, 24, 40, .8);
  --fx-card-bg: linear-gradient(170deg, #fff4d7 0%, #f0d9a6 70%, #d9b36c 100%);
  --fx-card-border: #f2d48d;
  --fx-card-rim: #124c6c;
  --fx-card-shadow: inset 0 0 0 3px #9b7039, 0 8px 0 #5b391e, 0 26px 50px rgba(0, 12, 24, .6);
  --fx-kicker-bg: #124c6c;
  --fx-kicker-text: #ffe0a0;
  --fx-title: #0b3a58;
  --fx-title-shadow: 0 2px 0 #fff4cf, 0 4px 0 rgba(140, 80, 30, .35);
  --fx-amount: #7b3f15;
  --fx-amount-shadow: 0 3px 0 #fff0bd;
  --fx-unit: #3a5560;
  --fx-ray-a: rgba(255, 220, 130, .7);
  --fx-ray-b: rgba(126, 232, 204, .45);
  --fx-radius: 6px 26px 6px 26px;
  --fx-shimmer: linear-gradient(105deg, transparent 32%, rgba(255, 248, 210, .85) 50%, transparent 68%);
}
body[data-theme="caveman"] {
  --fx-display: "Rockwell", "Cooper Black", Georgia, serif;
  --fx-ink: #2a2116;
  --fx-ball-light: #b9d49a;
  --fx-ball-core: #4f7d57;
  --fx-ball-dark: #1d3a2c;
  --fx-ball-face: #f6e6bd;
  --fx-ball-text: #243a2b;
  --fx-ball-shadow: rgba(10, 24, 16, .5);
  --fx-match-light: #fff1b4;
  --fx-match-core: #f2b049;
  --fx-match-dark: #9a5520;
  --fx-match-text: #2e1f0c;
  --fx-ring: #ffcf70;
  --fx-ring-2: #ff9b4a;
  --fx-spark-a: #ffe29a;
  --fx-spark-b: #ff9b4a;
  --fx-spark-c: #c9e39a;
  --fx-coin-light: #ffe7a8;
  --fx-coin-core: #dc9a3c;
  --fx-coin-dark: #6d4020;
  --fx-vignette: rgba(12, 20, 12, .72);
  --fx-highlight: linear-gradient(90deg, rgba(242, 176, 73, .95), rgba(255, 207, 112, .9));
  --fx-highlight-edge: #fff0bf;
  --fx-highlight-text: #2a1c0c;
  --fx-overlay-scrim: rgba(10, 26, 20, .82);
  --fx-card-bg: linear-gradient(165deg, #f2e1b6 0%, #d9b985 70%, #bf9760 100%);
  --fx-card-border: #263229;
  --fx-card-rim: #8a7652;
  --fx-card-shadow: inset 0 0 0 3px #edd5a3, 0 9px 0 #15261e, 0 14px 0 #8b7550, 0 28px 50px rgba(4, 14, 10, .7);
  --fx-kicker-bg: #2b493b;
  --fx-kicker-text: #ffdf99;
  --fx-title: #4b2819;
  --fx-title-shadow: 0 2px 0 #ffe8b0, 0 5px 0 #d78f36;
  --fx-amount: #30210e;
  --fx-amount-shadow: 0 3px 0 #ffcf70;
  --fx-unit: #57442c;
  --fx-ray-a: rgba(255, 190, 90, .7);
  --fx-ray-b: rgba(255, 140, 60, .4);
  --fx-radius: 22px 14px 24px 15px;
  --fx-shimmer: linear-gradient(105deg, transparent 32%, rgba(255, 240, 190, .8) 50%, transparent 68%);
}

/* Adventure uses the same effect lifecycle with its own toy-cabinet materials. */
body[data-theme="adventure"] {
  --fx-display: "Fredoka FX", "Arial Rounded MT Bold", system-ui, sans-serif;
  --fx-ink: #56301f;
  --fx-ball-light: #dcfaf7;
  --fx-ball-core: #25c5c7;
  --fx-ball-dark: #077a82;
  --fx-ball-face: #fff8e4;
  --fx-ball-text: #124951;
  --fx-ball-shadow: rgba(69, 49, 28, .28);
  --fx-match-light: #fff8c8;
  --fx-match-core: #ffce48;
  --fx-match-dark: #c58411;
  --fx-match-text: #56300e;
  --fx-ring: #ffd65c;
  --fx-ring-2: #15bac3;
  --fx-spark-a: #fff1ac;
  --fx-spark-b: #55e1d4;
  --fx-spark-c: #ff8472;
  --fx-coin-light: #fff5bc;
  --fx-coin-core: #ffcd43;
  --fx-coin-dark: #b77513;
  --fx-vignette: rgba(65, 35, 12, .5);
  --fx-highlight: linear-gradient(90deg, #ffdf74, #fff0b3);
  --fx-highlight-edge: #9e631a;
  --fx-highlight-text: #543018;
  --fx-overlay-scrim: rgba(19, 76, 83, .74);
  --fx-card-bg: linear-gradient(165deg, #fff9e6, #ffe9b7);
  --fx-card-border: #ffd76c;
  --fx-card-rim: #ae662b;
  --fx-card-shadow: inset 0 0 0 3px #fff9d9, 0 9px 0 #854727, 0 24px 45px rgba(35, 69, 58, .45);
  --fx-kicker-bg: #076775;
  --fx-kicker-text: #fff9df;
  --fx-title: #b43029;
  --fx-title-shadow: 0 2px 0 #fff4d4, 0 4px 0 #e8b764;
  --fx-amount: #67360f;
  --fx-amount-shadow: 0 3px 0 #ffe399;
  --fx-unit: #694328;
  --fx-ray-a: rgba(255, 219, 123, .7);
  --fx-ray-b: rgba(93, 229, 224, .4);
  --fx-radius: 26px;
  --fx-shimmer: linear-gradient(105deg, transparent 30%, #fff8dfa8 50%, transparent 70%);
}

/* Rounded display face for Candy and Adventure headings and numbers. Body stays system. */
body[data-theme="adventure"] :is(.brand h1, .section-title, #numberGrid button, .stat-value, #balance, .paytable td, .btn-play),
body[data-theme="candy"] :is(.brand h1, .section-title, #numberGrid button, .stat-value, #balance, .paytable td, .btn-play),
body:not([data-theme]) :is(.brand h1, .section-title, #numberGrid button, .stat-value, #balance, .paytable td, .btn-play) {
  font-family: var(--fx-display);
  font-weight: 700;
}
body[data-theme="candy"] .brand h1, body:not([data-theme]) .brand h1 { letter-spacing: -.02em; }

/* ---------- Drawn ball ---------- */
html body .drawn-balls-container .draw-ball.fx-ball,
html body .drawn-balls-container .draw-ball.fx-ball.is-match {
  position: relative;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  animation: none;
  opacity: 1;
  transform: none;
  transform-origin: 50% 100%;
  color: var(--fx-ball-text);
  isolation: isolate;
}
html body .drawn-balls-container .draw-ball.fx-ball.is-match {
  --fx-ball-light: var(--fx-match-light);
  --fx-ball-core: var(--fx-match-core);
  --fx-ball-dark: var(--fx-match-dark);
  --fx-ball-text: var(--fx-match-text);
}
/* soft contact shadow, static */
.fx-ball::before {
  content: "";
  position: absolute;
  left: 12%; right: 12%; bottom: -5px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--fx-ball-shadow), transparent);
  z-index: -1;
  pointer-events: none;
}
.fx-ball-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  pointer-events: none;
}
.fx-ball-number {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 60%;
  height: 60%;
  border-radius: 50%;
  background: var(--fx-ball-face);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .12), 0 1px 1px rgba(0, 0, 0, .15);
  color: var(--fx-ball-text);
  font-family: var(--fx-display);
  font-weight: 700;
  font-size: .8rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.fx-ball-ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 3px solid var(--fx-ring);
  box-shadow: 0 0 0 2px var(--fx-ring-2) inset;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}
.fx-ball.is-match .fx-ball-ring { opacity: .9; }

/* ---------- Particles ---------- */
.fx-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10002;
  overflow: hidden;
  contain: strict;
}
.fx-particle {
  position: absolute;
  left: 0;
  top: 0;
  width: 12px;
  height: 12px;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
  --fx-color: var(--fx-spark-a);
}
.fx-particle.fx-sparkle {
  width: 14px;
  height: 14px;
  background-color: var(--fx-color);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0c.9 5.2 4.8 9.1 10 10-5.2.9-9.1 4.8-10 10-.9-5.2-4.8-9.1-10-10 5.2-.9 9.1-4.8 10-10z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0c.9 5.2 4.8 9.1 10 10-5.2.9-9.1 4.8-10 10-.9-5.2-4.8-9.1-10-10 5.2-.9 9.1-4.8 10-10z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.fx-particle.fx-coin {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, .95) 0 12%, transparent 26%),
    radial-gradient(circle at 50% 50%, var(--fx-coin-light) 0 30%, var(--fx-coin-core) 58%, var(--fx-coin-dark) 100%);
  box-shadow: inset 0 0 0 2px var(--fx-coin-dark), inset 0 0 0 4px rgba(255, 244, 184, .55), 0 2px 3px rgba(60, 30, 0, .35);
}
.fx-particle.fx-candy {
  width: 12px;
  height: 18px;
  border-radius: 6px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .7) 0 18%, transparent 30%), var(--fx-color);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .14);
}
.fx-particle.fx-candy:nth-child(3n) { width: 14px; height: 14px; border-radius: 50%; }
.fx-particle.fx-candy:nth-child(3n+1) { width: 20px; height: 8px; border-radius: 4px; }
.fx-particle.fx-candy:nth-child(5n) {
  width: 16px; height: 16px; border-radius: 50%;
  background: repeating-conic-gradient(var(--fx-color) 0 30deg, #fff8f0 30deg 60deg);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6);
}

/* ---------- Anticipation vignette ---------- */
.board-section { position: relative; }
.fx-vignette {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  background:
    radial-gradient(ellipse 78% 70% at 50% 50%, rgba(0, 0, 0, .15) 0%, rgba(0, 0, 0, .15) 40%, var(--fx-vignette) 100%);
}

/* ---------- Live paytable ---------- */
.fx-paytable { position: relative; isolation: isolate; }
.fx-paytable .paytable { position: relative; z-index: 1; }
.fx-paytable-highlight {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 1px;
  transform-origin: 0 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  border-radius: 10px;
  background: var(--fx-highlight);
  box-shadow: inset 0 0 0 1px var(--fx-highlight-edge);
}
.fx-paytable-highlight.is-visible { opacity: 1; }
.paytable tr.is-current td {
  color: var(--fx-highlight-text);
  font-weight: 800;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
  background: transparent;
}
.paytable tr.is-current td:first-child { border-radius: 10px 0 0 10px; }
.paytable tr.is-current td:last-child { border-radius: 0 10px 10px 0; }
/* fallback highlight if no bar element is present */
.paytable tr.is-current:not(.fx-paytable *) td { background: var(--fx-highlight-edge); }
.paytable tr.is-zero:not(.is-current) td { opacity: .55; }
body[data-theme="egyptian"] .paytable tr.is-current td,
body[data-theme="caveman"] .paytable tr.is-current td { color: var(--fx-highlight-text); }

/* ---------- Odometer ---------- */
.fx-odometer {
  position: relative;
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.fx-odometer-old {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  text-align: inherit;
}
.fx-odometer-new { display: inline-block; }

/* ---------- Win overlay ---------- */
.fx-win-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) 14px 16px;
  pointer-events: auto;
  cursor: pointer;
  color: var(--fx-ink);
  -webkit-user-select: none;
  user-select: none;
}
.fx-win-overlay--rush {
  align-items: center;
  background: radial-gradient(ellipse at 50% 45%, rgba(0, 0, 0, .1), var(--fx-overlay-scrim) 75%);
}
.fx-win-burst {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(150vmax, 1400px);
  aspect-ratio: 1;
  margin: calc(min(150vmax, 1400px) / -2) 0 0 calc(min(150vmax, 1400px) / -2);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle, rgba(255, 255, 255, .85) 0 6%, var(--fx-ray-a) 12%, transparent 42%),
    repeating-conic-gradient(from 0deg, var(--fx-ray-a) 0deg 7deg, transparent 7deg 18deg, var(--fx-ray-b) 18deg 22deg, transparent 22deg 30deg);
  -webkit-mask: radial-gradient(circle, #000 0 18%, transparent 62%);
  mask: radial-gradient(circle, #000 0 18%, transparent 62%);
}
.fx-win-overlay--sweet .fx-win-burst {
  top: 110px;
  width: 560px;
  margin: -280px 0 0 -280px;
}
.fx-win-card {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  padding: 22px 22px 16px;
  text-align: center;
  background: var(--fx-card-bg);
  border: 4px solid var(--fx-card-border);
  outline: 3px solid var(--fx-card-rim);
  outline-offset: -1px;
  border-radius: var(--fx-radius);
  box-shadow: var(--fx-card-shadow);
  transform-origin: 50% 0;
}
.fx-win-card::before {
  content: "";
  position: absolute;
  left: 12px; right: 12px; top: 8px;
  height: 38%;
  border-radius: inherit;
  background: linear-gradient(rgba(255, 255, 255, .55), transparent);
  pointer-events: none;
}
.fx-win-overlay--rush .fx-win-card {
  width: min(560px, 100%);
  padding: 34px 26px 22px;
  transform-origin: 50% 50%;
}
.fx-win-kicker {
  position: relative;
  display: inline-block;
  margin: 0 0 8px;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--fx-kicker-bg);
  color: var(--fx-kicker-text);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.fx-win-title {
  position: relative;
  margin: 0;
  font-family: var(--fx-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 8vw, 2.7rem);
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--fx-title);
  text-shadow: var(--fx-title-shadow);
}
.fx-win-overlay--rush .fx-win-title { font-size: clamp(2.5rem, 12vw, 4.4rem); }
.fx-win-amount {
  position: relative;
  margin: 10px 0 0;
  font-family: var(--fx-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 10vw, 3.2rem);
  line-height: 1.05;
  color: var(--fx-amount);
  text-shadow: var(--fx-amount-shadow);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.fx-win-overlay--rush .fx-win-amount { font-size: clamp(3rem, 16vw, 5.6rem); }
.fx-win-unit {
  position: relative;
  margin: 2px 0 0;
  color: var(--fx-unit);
  font-weight: 800;
  font-size: .9rem;
  letter-spacing: .06em;
}
.fx-win-skip {
  position: relative;
  margin: 12px 0 0;
  color: var(--fx-unit);
  font-size: .72rem;
  font-weight: 700;
  opacity: .8;
}
body[data-theme="caveman"] .fx-win-kicker,
body[data-theme="egyptian"] .fx-win-kicker { border-radius: 5px; }
body[data-theme="caveman"] .fx-win-title { -webkit-text-stroke: 1px #4b2819; paint-order: stroke fill; color: #ffcf70; }

/* ---------- Idle shimmer ---------- */
#numberGrid button { position: relative; }
/* Clip just the decorative sweep, never the tile's focus outline or depth. */
.fx-shimmer {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: var(--fx-shimmer);
  transform: translateX(-110%);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .fx-particles, .fx-shimmer, .fx-win-burst { display: none; }
  .fx-ball, .fx-win-card, .fx-odometer-new { transform: none !important; }
  .fx-odometer-old { display: none; }
}
body.fx-reduced-motion .fx-particles,
body.fx-reduced-motion .fx-shimmer,
body.fx-reduced-motion .fx-win-burst { display: none; }

/* Retire the old CSS animations in favour of the shared WAAPI lifecycle. */
html body #numberGrid button.is-selected,
html body #numberGrid button.is-match { animation: none; }
.flying-coin.fx-flying-coin { animation: none; }

/* Keno bricks share the brief payout arc, not a blocking reward overlay. */
.fx-brick-collection, .fx-battle-collection, #coinFlightLayer { position: fixed; inset: 0; pointer-events: none; z-index: 10002; overflow: hidden; }
.fx-battle-collection * { pointer-events: none; }
.fx-flying-battle { width: 36px; height: 36px; opacity: 0; filter: drop-shadow(0 2px 3px #54301866); }
.fx-flying-battle img { display: block; width: 100%; height: 100%; }
.fx-flying-brick { width: 32px; height: 32px; opacity: 0; }
canvas.fx-particles { width: 100%; height: 100%; }
.fx-shimmer-clip { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; }
html.fx-paused *, html.fx-paused *::before, html.fx-paused *::after { animation-play-state: paused !important; }

/* ---------- Forced colors ---------- */
@media (forced-colors: active) {
  .fx-ball-art, .fx-particles, .fx-shimmer, .fx-win-burst, .fx-vignette, .fx-ball::before { display: none; }
  .fx-ball-number { background: Canvas; color: CanvasText; border: 2px solid CanvasText; forced-color-adjust: none; }
  html body .drawn-balls-container .draw-ball.fx-ball { border: 1px solid CanvasText; }
  .fx-ball.is-match .fx-ball-number { background: Highlight; color: HighlightText; }
  .fx-ball-ring { border-color: Highlight; box-shadow: none; }
  .fx-paytable-highlight { background: Highlight; box-shadow: none; }
  .paytable tr.is-current td { color: HighlightText; forced-color-adjust: none; background: Highlight; }
  .fx-win-overlay--rush { background: Canvas; }
  .fx-win-card { background: Canvas; color: CanvasText; border: 3px solid CanvasText; outline: none; box-shadow: none; }
  .fx-win-card::before { display: none; }
  .fx-win-title, .fx-win-amount, .fx-win-unit, .fx-win-skip { color: CanvasText; text-shadow: none; }
  .fx-win-kicker { background: Highlight; color: HighlightText; }
}

@media (max-width: 420px) {
  html body .drawn-balls-container .draw-ball.fx-ball { width: 36px; height: 36px; }
  .fx-ball-number { font-size: .74rem; }
  .fx-win-card { padding: 18px 14px 12px; }
}
