/*
  Showcase of the Jeux tiles on the Mini-jeux guide (/fr/mini-jeux/). The tiles themselves are the
  game's own (/app/v2-games.css, linked by the page). Only the few v2.css tokens that sheet reads
  are copied here, with the values of both themes: linking /app/v2.css whole would also restyle the
  article, since it paints the app's header and tab bar (.coins, .tabbar, .more-*).
*/

.mj-vitrine {
  --v2-font-ui: "M PLUS Rounded 1c", system-ui, sans-serif;
  --v2-gold: #ffd84a;
  --v2-risk-low: #3bd16f;
  --v2-risk-mid: #ffb020;
  --v2-risk-high: #ff4d4d;
  --v2-tile-frame: linear-gradient(135deg, #3a4fa0, #231e5c);
  --v2-tray: #231e5c;

  margin: 18px 0;
}
:root[data-theme="light"] .mj-vitrine {
  --v2-tile-frame: linear-gradient(135deg, #ffffff, #fbfaff);
  --v2-tray: #fbfaff;
}

/* The article is narrower than the app's screen; a tile keeps its 1336/450 drawing either way. */
.mj-vitrine .jx-pane { max-width: 560px; }

/* The two animated boards. The canvas keeps the game's proportions and never goes past the column,
   so nothing overflows at 320 px. */
.mj-demo-fig {
  margin: 1.1rem 0;
}
.mj-demo {
  max-width: 560px;
  margin: 0 auto;
}
.mj-board {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  background: #0b1020;
}
.mj-demo-fig figcaption {
  margin: 0.45rem auto 0;
  max-width: 560px;
  font-size: 0.92rem;
  opacity: 0.75;
}
