  body.felt-blue { --felt: #153f7a; --felt-dark: #0c2a56; --felt-edge: #061b3a; }
  body.felt-burgundy { --felt: #6a1530; --felt-dark: #4a0d20; --felt-edge: #2b0712; }
  body.felt-midnight { --felt: #1b2230; --felt-dark: #10141c; --felt-edge: #07090d; }
  .diepv { --die-body: #fbfbf7; --die-pip: var(--ink); width: 44px; height: 44px; border-radius: 18%; background: var(--die-body); display: grid; grid-template-columns: repeat(3,1fr); grid-template-rows: repeat(3,1fr); padding: 6px; gap: 1px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1), inset 0 0 8px rgba(0,0,0,.22), 0 2px 4px rgba(0,0,0,.4); } /* rounded like the dice on the felt */
  .diepv i { width: 70%; height: 70%; place-self: center; border-radius: 50%; background: var(--die-pip); visibility: hidden; } .diepv i.on { visibility: visible; }
  .diepv.blackgold { --die-body: #141414; --die-pip: #e6b84c; }
  .diepv.ruby { --die-body: #b3122e; --die-pip: #fff; }
  .diepv.emerald { --die-body: #0f7a4a; --die-pip: #fff; }
  .diepv.ivory { --die-body: #f6efd8; --die-pip: #b3122e; }
  .diepv.sapphire { --die-body: #143d8a; --die-pip: #fff; }
  /* dice skins (cosmetic items): the table rolls the host's equipped dice, else the other player's; one line per skin */
  .dice.skin-blackgold { --die-body: #141414; --die-pip: #e6b84c; --die-edge: rgba(0,0,0,.75); } .dice.skin-blackgold .pip { box-shadow: 0 0 4px rgba(230,184,76,.55); }
  .dice.skin-ruby { --die-body: #b3122e; --die-pip: #fff; --die-edge: rgba(0,0,0,.4); }
  .dice.skin-emerald { --die-body: #0f7a4a; --die-pip: #fff; --die-edge: rgba(0,0,0,.4); }
  .dice.skin-ivory { --die-body: #f6efd8; --die-pip: #b3122e; }
  .dice.skin-sapphire { --die-body: #143d8a; --die-pip: #fff; --die-edge: rgba(0,0,0,.45); }
  body.felt-meadow { --felt: #2a7a3b; --felt-dark: #1a5a2a; --felt-edge: #0e3d1c; }
  /* the league's felts: one a tier */
  body.felt-bronze { --felt: #7a4a22; --felt-dark: #55311a; --felt-edge: #2f1a0c; }
  body.felt-silver { --felt: #5c6b7a; --felt-dark: #3f4b57; --felt-edge: #242b33; }
  body.felt-gold { --felt: #8a6a12; --felt-dark: #5e4708; --felt-edge: #352803; }
  body.felt-diamond { --felt: #1f7a8c; --felt-dark: #145564; --felt-edge: #0a2f38; }
  body.felt-champion { --felt: #4a1d7a; --felt-dark: #311352; --felt-edge: #1b0a2f; }
  /* the meadow: blades of grass, a few sticks and leaves scattered over the felt (an inline SVG tile, faint enough to leave the dice, the text and the pucks easy to read) */
  body.felt-meadow .felt { background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='180' viewBox='0 0 220 180'><g fill='none' stroke='%23b9f0a6' stroke-width='1.6' stroke-linecap='round' opacity='.28'><path d='M14 150q3-14 1-26'/><path d='M22 152q5-12 11-20'/><path d='M30 150q-2-10 2-22'/><path d='M96 70q2-12-2-22'/><path d='M104 72q5-9 10-16'/><path d='M112 70q-1-11 3-20'/><path d='M176 130q3-13 0-24'/><path d='M184 132q5-10 12-18'/><path d='M192 130q-3-9 1-21'/><path d='M52 40q2-10-1-18'/><path d='M60 41q4-8 9-14'/><path d='M150 168q3-11 0-20'/><path d='M158 170q4-9 10-15'/></g><g stroke='%238a5a2b' stroke-width='2' stroke-linecap='round' opacity='.26'><path d='M66 120l26-7'/><path d='M138 32l20 11'/><path d='M190 60l16-3'/><path d='M28 96l14 9'/></g><g fill='%23d7f5c2' opacity='.22'><ellipse cx='124' cy='120' rx='7' ry='3.4' transform='rotate(-30 124 120)'/><ellipse cx='80' cy='160' rx='6' ry='2.8' transform='rotate(20 80 160)'/><ellipse cx='200' cy='20' rx='6.5' ry='3' transform='rotate(-15 200 20)'/><ellipse cx='40' cy='70' rx='6' ry='2.8' transform='rotate(45 40 70)'/><ellipse cx='160' cy='96' rx='5.5' ry='2.6' transform='rotate(-60 160 96)'/></g></svg>") 0 0 / 220px 180px repeat,
    radial-gradient(ellipse at 30% 25%, rgba(255,255,255,.11), transparent 45%), radial-gradient(ellipse at 72% 72%, rgba(255,255,255,.07), transparent 42%), rgba(0,0,0,.16); }
  .dice.skin-clover { --die-body: #f4f7ec; --die-pip: #2a7a3b; --die-edge: rgba(40,120,60,.22); }
  .diepv.clover { --die-body: #f4f7ec; --die-pip: #2a7a3b; }
  /* Red & Black poker dice (red-black-poker_1.md): a white body with red, black or (while a board die rolls) silver pips; the colours live in dice3d.js's DIE_COLORS and these say the same */
  .dice.skin-rbred { --die-body: #f5f1e6; --die-pip: #c8102e; --die-edge: rgba(0,0,0,.2); }
  .dice.skin-rbblack { --die-body: #f5f1e6; --die-pip: #1b1206; --die-edge: rgba(0,0,0,.2); }
  .dice.skin-rbsilver { --die-body: #f5f1e6; --die-pip: #7e8389; --die-edge: rgba(0,0,0,.2); }
  .diepv.rbred { --die-body: #f5f1e6; --die-pip: #c8102e; }
  .diepv.rbblack { --die-body: #f5f1e6; --die-pip: #1b1206; }
  .diepv.rbsilver { --die-body: #f5f1e6; --die-pip: #7e8389; }
  /* Colour-blind dice (Settings → Accessibility): the red die dark with white pips, the black one unchanged, so the two differ in lightness (they read in greyscale) */
  .dice.skin-rbredcb { --die-body: #8e0c22; --die-pip: #fff; --die-edge: rgba(0,0,0,.4); }
  .diepv.rbredcb { --die-body: #8e0c22; --die-pip: #fff; }
  /* the Shop's dice and felts (gems-shop.md §3.1): a .dice.skin-<name> rule and a .diepv.<name> preview per dice skin (test/dice3d.test.js keeps them in step with DIE_COLORS), a body.felt-<name> rule per felt (account.js FELT_COLORS has the swatch) */
  .dice.skin-jade { --die-body: #1f9e6e; --die-pip: #fff; --die-edge: rgba(0,0,0,.4); } .diepv.jade { --die-body: #1f9e6e; --die-pip: #fff; }
  .dice.skin-coral { --die-body: #ff7f6b; --die-pip: #fff; --die-edge: rgba(0,0,0,.3); } .diepv.coral { --die-body: #ff7f6b; --die-pip: #fff; }
  .dice.skin-cobalt { --die-body: #2346b8; --die-pip: #fff; --die-edge: rgba(0,0,0,.45); } .diepv.cobalt { --die-body: #2346b8; --die-pip: #fff; }
  .dice.skin-amethyst { --die-body: #8e5cd9; --die-pip: #fff; --die-edge: rgba(0,0,0,.4); } .diepv.amethyst { --die-body: #8e5cd9; --die-pip: #fff; }
  .dice.skin-copper { --die-body: #b8733a; --die-pip: #fff4d6; --die-edge: rgba(0,0,0,.4); } .diepv.copper { --die-body: #b8733a; --die-pip: #fff4d6; }
  .dice.skin-frost { --die-body: #ddeff7; --die-pip: #1b1206; --die-edge: rgba(0,0,0,.15); } .diepv.frost { --die-body: #ddeff7; --die-pip: #1b1206; }
  /* the 30-day calendar's dice (daily-roll-calendar.md §2.2): day 30 of calendars 1, 2 and 3, never sold */
  .dice.skin-sunrise { --die-body: #ff9a3c; --die-pip: #fff4d6; --die-edge: rgba(0,0,0,.35); } .diepv.sunrise { --die-body: #ff9a3c; --die-pip: #fff4d6; }
  .dice.skin-aurora { --die-body: #3fd1b3; --die-pip: #1b1206; --die-edge: rgba(0,0,0,.3); } .diepv.aurora { --die-body: #3fd1b3; --die-pip: #1b1206; }
  .dice.skin-obsidian { --die-body: #2a2533; --die-pip: #f0c24b; --die-edge: rgba(0,0,0,.5); } .diepv.obsidian { --die-body: #2a2533; --die-pip: #f0c24b; }
  /* the Dice Album's dice (dice-album.md §1.2): a skin a set, granted when the set is completed (test/dice3d.test.js keeps them in step with DIE_COLORS), and the Collector's felt, the first whole album's */
  .dice.skin-meadow { --die-body: #3fae5a; --die-pip: #fff; --die-edge: rgba(0,0,0,.4); } .diepv.meadow { --die-body: #3fae5a; --die-pip: #fff; }
  .dice.skin-boardwalk { --die-body: #4db6f0; --die-pip: #fff; --die-edge: rgba(0,0,0,.35); } .diepv.boardwalk { --die-body: #4db6f0; --die-pip: #fff; }
  .dice.skin-riverboat { --die-body: #7a3b1e; --die-pip: #e0b04a; --die-edge: rgba(0,0,0,.5); } .diepv.riverboat { --die-body: #7a3b1e; --die-pip: #e0b04a; }
  .dice.skin-downtown { --die-body: #ff4fa3; --die-pip: #1b1206; --die-edge: rgba(0,0,0,.35); } .diepv.downtown { --die-body: #ff4fa3; --die-pip: #1b1206; }
  .dice.skin-strip { --die-body: #e6b84c; --die-pip: #1b1206; --die-edge: rgba(0,0,0,.35); } .diepv.strip { --die-body: #e6b84c; --die-pip: #1b1206; }
  .dice.skin-moon { --die-body: #1d2140; --die-pip: #9bf6ff; --die-edge: rgba(0,0,0,.6); } .dice.skin-moon .pip { box-shadow: 0 0 4px rgba(155,246,255,.6); } .diepv.moon { --die-body: #1d2140; --die-pip: #9bf6ff; }
  .dice.skin-snow { --die-body: #e8f6ff; --die-pip: #2d6cdf; --die-edge: rgba(0,0,0,.15); } .diepv.snow { --die-body: #e8f6ff; --die-pip: #2d6cdf; }
  .dice.skin-desert { --die-body: #e3c08a; --die-pip: #a0522d; --die-edge: rgba(0,0,0,.25); } .diepv.desert { --die-body: #e3c08a; --die-pip: #a0522d; }
  .dice.skin-ocean { --die-body: #127c8a; --die-pip: #fff4d6; --die-edge: rgba(0,0,0,.45); } .diepv.ocean { --die-body: #127c8a; --die-pip: #fff4d6; }
  .dice.skin-volcano { --die-body: #d93a1e; --die-pip: #1b1206; --die-edge: rgba(0,0,0,.45); } .diepv.volcano { --die-body: #d93a1e; --die-pip: #1b1206; }
  body.felt-collector { --felt: #1f2a5c; --felt-dark: #141c40; --felt-edge: #0b1026; }
  /* the season pass's items (season-pass.md §1.2): season 1's Ember dice (the free track's tier 20) and Ember felt (tier 10) */
  .dice.skin-ember { --die-body: #ff6a2a; --die-pip: #1b1206; --die-edge: rgba(0,0,0,.4); } .diepv.ember { --die-body: #ff6a2a; --die-pip: #1b1206; }
  body.felt-ember { --felt: #b8431a; --felt-dark: #7d2c10; --felt-edge: #3d1407; }
  body.felt-teal { --felt: #136b6b; --felt-dark: #0c4a4a; --felt-edge: #062b2b; }
  body.felt-plum { --felt: #5a2a5e; --felt-dark: #3e1c41; --felt-edge: #220e24; }
  body.felt-charcoal { --felt: #3a3a3a; --felt-dark: #262626; --felt-edge: #141414; }
  body.felt-sunset { --felt: #a4461c; --felt-dark: #6f2e12; --felt-edge: #3d1808; }
  /* the arenas' felts (quick-match-ranked.md §3; account.js FELT_COLORS has the swatches): olive, mahogany, indigo, magenta, and black with a gold rail */
  body.felt-backroom { --felt: #4b541c; --felt-dark: #343b12; --felt-edge: #1d210a; }
  body.felt-riverboat { --felt: #6b2415; --felt-dark: #4a180d; --felt-edge: #2a0d06; }
  body.felt-highrollers { --felt: #2f2a7c; --felt-dark: #201c58; --felt-edge: #120f33; }
  body.felt-grand { --felt: #7c1a5c; --felt-dark: #56113f; --felt-edge: #300922; }
  body.felt-legends { --felt: #23201a; --felt-dark: #141210; --felt-edge: #8a6a12; }
