/* Sic Bo : salon laqué rouge et or. Scène (croupière derrière son comptoir, shaker sous cloche de verre, tableau des
   résultats), tapis des 52 cases, barre de jetons. Tout le décor est dessiné en CSS / SVG inline ; les boucles
   n'animent que transform et opacity, et s'arrêtent sous prefers-reduced-motion. */
:root {
  --bg: #0a0203; --panel: #1c0609; --panel-2: #140406; --panel-3: #0e0304; --border: #4a2a14; --border-light: #7a5522;
  --muted: #d9b8a0; --accent: #d4af37; --gold: #d4af37; --gold-2: #f3d978; --gold-3: #8a6414; --red: #c8102e;
  --sm: #6fb4ff; --bgc: #ff7a8a;
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", "Noto Serif", serif;
  --cs: 30px;   /* diamètre de mes jetons sur le tapis */
  --cb: 17px;   /* jetons des autres joueurs */
}
body { font-family: var(--font);
  --page-bg:
    radial-gradient(ellipse 125% 96% at 50% 40%, rgba(0,0,0,0) 46%, rgba(0,0,0,.76) 100%),
    radial-gradient(ellipse 50% 28% at 50% -4%, rgba(255,200,120,.2), rgba(255,200,120,0) 72%),
    radial-gradient(120% 80% at 50% 0%, #47090f, #20050a 55%, #0a0203); }
.logo { color: #fff; font-style: normal; gap: 8px; }
.logo .live { background: #e5193a; color: #fff; font-size: 9px; font-weight: 900; padding: 2px 6px; border-radius: 6px; letter-spacing: 1px; }
.balance { color: var(--gold-2); }
.howto-btn { display: none; }

/* ambiance : lueurs chaudes hors champ qui dérivent lentement dans les marges */
.amb { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.amb i { position: absolute; border-radius: 50%; background: radial-gradient(circle, rgba(255,186,104,.2) 0, rgba(255,186,104,.13) 42%, rgba(255,186,104,0) 70%); animation: ambDrift 19s ease-in-out infinite alternate; }
.amb i:nth-child(1) { left: 2%; top: 14%; width: 74px; height: 74px; animation-duration: 23s; }
.amb i:nth-child(2) { left: 6%; top: 46%; width: 44px; height: 44px; animation-duration: 17s; animation-delay: -6s; background: radial-gradient(circle, rgba(255,216,146,.2) 0, rgba(255,216,146,.1) 45%, rgba(255,216,146,0) 70%); }
.amb i:nth-child(3) { left: 1%; top: 70%; width: 96px; height: 96px; animation-duration: 29s; animation-delay: -11s; background: radial-gradient(circle, rgba(255,120,80,.16) 0, rgba(255,120,80,.09) 45%, rgba(255,120,80,0) 70%); }
.amb i:nth-child(4) { right: 3%; top: 12%; width: 58px; height: 58px; animation-duration: 21s; animation-delay: -4s; background: radial-gradient(circle, rgba(255,216,146,.2) 0, rgba(255,216,146,.1) 45%, rgba(255,216,146,0) 70%); }
.amb i:nth-child(5) { right: 6%; top: 44%; width: 82px; height: 82px; animation-duration: 26s; animation-delay: -9s; }
.amb i:nth-child(6) { right: 1.5%; top: 74%; width: 50px; height: 50px; animation-duration: 18s; animation-delay: -13s; background: radial-gradient(circle, rgba(255,120,80,.18) 0, rgba(255,120,80,.09) 45%, rgba(255,120,80,0) 70%); }
.amb i:nth-child(7) { left: 9%; top: 88%; width: 34px; height: 34px; animation-duration: 15s; animation-delay: -2s; }
.amb i:nth-child(8) { right: 9.5%; top: 90%; width: 38px; height: 38px; animation-duration: 20s; animation-delay: -7s; }
@keyframes ambDrift { 0% { transform: translate3d(0, 0, 0) scale(1); opacity: .55; } 50% { opacity: 1; } 100% { transform: translate3d(26px, -38px, 0) scale(1.25); opacity: .7; } }

.sb { flex: 1; display: flex; flex-direction: column; gap: 9px; padding: 8px 10px 10px; max-width: 1240px; width: 100%; margin: 0 auto; position: relative; }

/* =====================================================================================================================
   SCÈNE : mur à claustra, lanternes, comptoir laqué, croupière, shaker, afficheur, tableau des résultats
   ===================================================================================================================== */
.sb-top { position: relative; display: grid; grid-template-columns: 236px minmax(0, 1fr) 362px; gap: 10px; height: 246px; border-radius: 18px; isolation: isolate;
  border: 1px solid transparent;
  background: linear-gradient(#1a0407, #1a0407) padding-box, linear-gradient(135deg, rgba(243,217,120,.85), rgba(120,80,20,.5) 38%, rgba(243,217,120,.6) 62%, rgba(110,74,16,.6)) border-box;
  box-shadow: 0 0 0 1px #120603, 0 14px 34px rgba(0,0,0,.5); }
.scene-bg { position: absolute; inset: 0; border-radius: 17px; overflow: hidden; z-index: 0; pointer-events: none; }
.scene-bg .wall { position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 120% at 50% 30%, rgba(0,0,0,0) 34%, rgba(0,0,0,.72) 100%),
    radial-gradient(ellipse 34% 96% at 43% -6%, rgba(255,222,160,.26), rgba(255,222,160,.07) 52%, rgba(255,222,160,0) 76%),
    radial-gradient(ellipse 26% 60% at 9% 30%, rgba(255,140,70,.16), rgba(255,140,70,0) 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64' fill='none' stroke='%23f3d978' stroke-opacity='.11' stroke-width='1.4'%3E%3Cpath d='M0 16h16V0M48 0v16h16M0 48h16v16M48 64V48h16M22 22h20v20H22zM32 0v22M32 42v22M0 32h22M42 32h22M16 16l6 6M48 16l-6 6M16 48l6-6M48 48l-6-6'/%3E%3C/svg%3E") 50% 0 / 64px 64px,
    linear-gradient(180deg, #4d0a13, #32070d 55%, #1c0407); }
/* cimaise dorée en haut du mur */
.scene-bg .wall::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 9px; background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,0)), linear-gradient(90deg, rgba(243,217,120,0), rgba(243,217,120,.5) 20%, rgba(255,243,196,.75) 50%, rgba(243,217,120,.5) 80%, rgba(243,217,120,0)) 0 100% / 100% 1px no-repeat; }
.scene-bg .urge { position: absolute; inset: 0; opacity: 0; background: radial-gradient(ellipse 90% 110% at 50% 50%, rgba(255,40,70,0) 52%, rgba(255,40,70,.42) 100%); }
.sb-top.late .urge { animation: urge 1s ease-in-out infinite; }
@keyframes urge { 0%, 100% { opacity: 0; } 18% { opacity: 1; } }

/* lanternes : cordon, corps côtelé qui rayonne, coiffes dorées, gland ; elles se balancent à peine */
.lantern { position: absolute; top: -4px; font-size: 10px; width: 3.4em; height: 9.6em; transform-origin: 50% 0; animation: sway 7.5s ease-in-out infinite alternate; }
.lantern::before { content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 2.6em; background: linear-gradient(180deg, rgba(243,217,120,.2), rgba(243,217,120,.7)); }
.lantern::after { content: ""; position: absolute; left: 50%; top: 6.9em; width: .5em; height: 2.3em; margin-left: -.25em; border-radius: 0 0 .25em .25em; background: linear-gradient(180deg, #f3d978 0 .45em, #c8102e .45em, #7a0c12); -webkit-mask-image: repeating-linear-gradient(90deg, #000 0 1px, rgba(0,0,0,.45) 1px 2px); mask-image: repeating-linear-gradient(90deg, #000 0 1px, rgba(0,0,0,.45) 1px 2px); }
.lantern b { position: absolute; left: 0; top: 2.5em; width: 3.4em; height: 4.2em; border-radius: 46% / 36%;
  background:
    repeating-linear-gradient(90deg, rgba(90,0,0,0) 0 .42em, rgba(90,0,0,.3) .42em .52em),
    radial-gradient(ellipse at 50% 46%, #ffe2a2 0, #ff9a44 26%, #dd2f1e 60%, #7a0c12 100%);
  box-shadow: 0 0 2.2em .7em rgba(255,120,50,.3), inset 0 0 .6em rgba(255,226,160,.5); animation: glowBreath 4.6s ease-in-out infinite alternate; }
.lantern b::before, .lantern b::after { content: ""; position: absolute; left: 50%; width: 1.7em; height: .5em; margin-left: -.85em; border-radius: .15em; background: linear-gradient(90deg, #7a5a12, #f6e08a 40%, #fff3b8 55%, #a67c17); box-shadow: 0 1px 1px rgba(0,0,0,.5); }
.lantern b::before { top: -.28em; } .lantern b::after { bottom: -.28em; }
.lantern.la { left: 8px; font-size: 8.5px; opacity: .85; animation-duration: 9s; }
.lantern.lb { left: 252px; font-size: 6.5px; opacity: .6; animation-duration: 6.4s; animation-delay: -3s; }
.lantern.lc { right: 382px; font-size: 7.5px; opacity: .72; animation-duration: 8.2s; animation-delay: -5s; }
@keyframes sway { from { transform: rotate(-2.2deg); } to { transform: rotate(2.2deg); } }
@keyframes glowBreath { from { opacity: .84; } to { opacity: 1; } }

/* comptoir laqué : plateau qui prend la lumière, chant doré, façade sombre à filet d'or */
.counter { --ct: 22px; position: absolute; left: 0; right: 0; bottom: 0; height: 46px; z-index: 2; border-radius: 0 0 17px 17px; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(243,217,120,0) 4%, rgba(243,217,120,.55) 30%, rgba(255,243,196,.8) 50%, rgba(243,217,120,.55) 70%, rgba(243,217,120,0) 96%) 0 calc(var(--ct) + 12px) / 100% 1px no-repeat,
    linear-gradient(180deg, #f8e9a8, #b8901f 55%, #6b4c0f) 0 var(--ct) / 100% 3px no-repeat,
    radial-gradient(ellipse 7% 90% at 4% 50%, rgba(255,150,80,.5), rgba(255,150,80,0) 100%) 0 0 / 100% var(--ct) no-repeat,
    radial-gradient(ellipse 5% 80% at 69% 50%, rgba(255,150,80,.32), rgba(255,150,80,0) 100%) 0 0 / 100% var(--ct) no-repeat,
    radial-gradient(ellipse 30% 100% at 43% 0, rgba(255,226,165,.34), rgba(255,226,165,0) 100%) 0 0 / 100% var(--ct) no-repeat,
    linear-gradient(180deg, #6d0d1a, #4a0810) 0 0 / 100% var(--ct) no-repeat,
    linear-gradient(180deg, #2a0509, #120204);
  box-shadow: 0 -10px 22px rgba(0,0,0,.45); }

/* croupière : détourée, éclairée par la lanterne (lumière chaude à gauche), fondue dans l'ombre du comptoir, qui respire */
.sb-dealer { position: relative; z-index: 1; }
.dealer-art { position: absolute; left: 50%; bottom: 14px; width: 204px; height: 233px; margin-left: -102px; }
.dealer-fig { position: absolute; inset: 0; transform-origin: 50% 100%; animation: breathe 5.4s ease-in-out infinite; filter: drop-shadow(0 0 16px rgba(255,170,90,.2)) drop-shadow(8px 10px 14px rgba(0,0,0,.55)); }
.dealer-fig img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; display: block; -webkit-user-drag: none; user-select: none; }
.dealer-fig::before, .dealer-fig::after { content: ""; position: absolute; inset: 0; pointer-events: none; -webkit-mask: url("../assets/tables/dealer-sicbo.webp") 50% 0 / cover no-repeat; mask: url("../assets/tables/dealer-sicbo.webp") 50% 0 / cover no-repeat; }
.dealer-fig::before { background: linear-gradient(98deg, rgba(255,196,120,.34), rgba(255,196,120,0) 46%), linear-gradient(262deg, rgba(255,236,190,.18), rgba(255,236,190,0) 30%); mix-blend-mode: soft-light; }
.dealer-fig::after { background: linear-gradient(180deg, rgba(20,2,4,0) 62%, rgba(20,2,4,.62) 96%); }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.006, 1.014); } }
.dealer-art[data-mood="talk"] .dealer-fig { animation: breathe 5.4s ease-in-out infinite, dNod .62s ease-out; }
.dealer-art[data-mood="happy"] .dealer-fig { animation: breathe 5.4s ease-in-out infinite, dCheer .8s cubic-bezier(.3,1.5,.5,1); }
.dealer-art[data-mood="sorry"] .dealer-fig { animation: breathe 5.4s ease-in-out infinite, dSorry 1s ease-out; }
.dealer-art[data-mood="shake"] .dealer-fig { animation: dWatch 1.5s ease-in-out infinite alternate; }
@keyframes dNod { 0% { transform: none; } 35% { transform: translateY(3px) rotate(.9deg); } 100% { transform: none; } }
@keyframes dCheer { 0% { transform: none; } 30% { transform: translateY(-9px) scale(1.035); } 60% { transform: translateY(1px) scale(.995); } 100% { transform: none; } }
@keyframes dSorry { 0% { transform: none; } 40% { transform: rotate(-1.6deg) translateY(2px); } 100% { transform: none; } }
@keyframes dWatch { from { transform: rotate(1.2deg) translateX(3px); } to { transform: rotate(2.4deg) translateX(6px) scale(1.008); } }
.dealer-say { position: absolute; top: 16px; left: calc(50% + 68px); z-index: 5; width: max-content; max-width: 196px; padding: 8px 12px; border-radius: 14px 14px 14px 3px; font-weight: 700; font-size: 12px; line-height: 1.3; color: #2a1206;
  background: linear-gradient(180deg, #fffaf0, #f3e3c2); border: 1px solid rgba(138,100,20,.55); box-shadow: 0 8px 22px rgba(0,0,0,.45), inset 0 1px 0 #fff; }
.dealer-say::before { content: ""; position: absolute; left: -7px; bottom: 5px; width: 12px; height: 12px; background: #f5e7c9; border-left: 1px solid rgba(138,100,20,.55); border-bottom: 1px solid rgba(138,100,20,.55); transform: skewX(34deg) rotate(18deg); border-radius: 0 0 0 4px; }
.dealer-say.pop { animation: sayPop .32s cubic-bezier(.3,1.5,.5,1); }
@keyframes sayPop { 0% { transform: scale(.6) translate(-10px, 6px); opacity: 0; } 100% { transform: none; opacity: 1; } }

/* scène centrale : le shaker posé sur le comptoir sous le faisceau, l'afficheur à sa droite */
.sb-stage { position: relative; z-index: 3; display: flex; align-items: flex-end; justify-content: center; gap: 26px; padding-bottom: 15px; min-width: 0; }
.sb-stage::before { content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: 30px; pointer-events: none; background: radial-gradient(ellipse 170px 100% at calc(50% - 113px) 0, rgba(255,232,180,.13), rgba(255,232,180,0) 100%); }

/* plaque de laiton vissée sur la façade du comptoir : limites de la table */
.limits { position: absolute; left: calc(50% - 115px); bottom: 3px; transform: translateX(-50%); padding: 1px 16px; border-radius: 3px; white-space: nowrap; font-size: 8px; font-weight: 800; letter-spacing: 1.8px; line-height: 12px; color: #3d2800; text-shadow: 0 1px 0 rgba(255,246,207,.5);
  background: radial-gradient(circle at 6px 50%, #5a3d08 0 1.2px, rgba(0,0,0,0) 1.7px), radial-gradient(circle at calc(100% - 6px) 50%, #5a3d08 0 1.2px, rgba(0,0,0,0) 1.7px), linear-gradient(180deg, #f6e08a, #c9a23a 55%, #a67c17); box-shadow: 0 1px 2px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.5); }
/* ---------- shaker : socle laqué à filets d'or, plateau de feutre, cloche de verre, dés en volume ---------- */
.shaker { --u: 1px; --s: calc(34 * var(--u)); position: relative; width: calc(250 * var(--u)); height: calc(192 * var(--u)); flex: none; }
.shaker > * { position: absolute; }
.sh-shadow { left: calc(-10 * var(--u)); right: calc(-10 * var(--u)); bottom: calc(-4 * var(--u)); height: calc(52 * var(--u)); border-radius: 50%; background: radial-gradient(ellipse at 50% 50%, rgba(0,0,0,.8), rgba(0,0,0,.42) 42%, rgba(0,0,0,0) 70%); }
.sh-base { left: calc(14 * var(--u)); width: calc(222 * var(--u)); top: calc(48 * var(--u)); height: calc(138 * var(--u)); border-radius: 50% / 40.6%; overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0,0,0,.66) 0%, rgba(0,0,0,0) 13%, rgba(255,255,255,.3) 22%, rgba(255,255,255,.04) 31%, rgba(0,0,0,0) 60%, rgba(255,210,150,.12) 76%, rgba(0,0,0,.6) 100%),
    linear-gradient(180deg, #8a0f20 40%, #5c0a14 72%, #2c0509); }
.sh-line, .sh-foot { position: absolute; left: -1px; right: -1px; height: calc(112 * var(--u)); border-radius: 50%; border: 0 solid transparent; }
.sh-line { bottom: calc(13 * var(--u)); border-bottom: calc(1.6 * var(--u)) solid rgba(250,226,140,.9); }
.sh-foot { bottom: 0; border-bottom: calc(6 * var(--u)) solid #c9a23a; box-shadow: inset 0 calc(-1.5 * var(--u)) 0 rgba(255,243,196,.75); }
.sh-rim { left: calc(14 * var(--u)); width: calc(222 * var(--u)); top: calc(48 * var(--u)); height: calc(112 * var(--u)); border-radius: 50%;
  background: linear-gradient(100deg, #6b4c0f, #f6e08a 20%, #b8901f 36%, #fff6c9 50%, #a67c17 66%, #f3d978 82%, #6b4c0f);
  box-shadow: inset 0 calc(1.5 * var(--u)) 0 rgba(255,255,255,.6), inset 0 calc(-2 * var(--u)) calc(2 * var(--u)) rgba(90,60,0,.55), 0 calc(3 * var(--u)) calc(4 * var(--u)) rgba(0,0,0,.5); }
.sh-tray { left: calc(27 * var(--u)); width: calc(196 * var(--u)); top: calc(56 * var(--u)); height: calc(96 * var(--u)); border-radius: 50%; overflow: hidden;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 .86  0 0 0 0 .78  0 0 0 .55 -.2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 120px 120px,
    radial-gradient(ellipse at 44% 34%, #c1173a, #84101f 46%, #40070e 100%);
  box-shadow: inset 0 calc(7 * var(--u)) calc(14 * var(--u)) rgba(0,0,0,.7), inset 0 calc(-2 * var(--u)) calc(3 * var(--u)) rgba(255,255,255,.1), 0 0 0 calc(1.5 * var(--u)) #4a3206; }
/* caustiques : la lumière concentrée par le verre dessine un croissant clair sur le feutre, à l'opposé du spot */
.sh-caustic { position: absolute; inset: 0; mix-blend-mode: screen; animation: caustic 5.5s ease-in-out infinite alternate;
  background:
    radial-gradient(ellipse 36% 22% at 68% 79%, rgba(255,246,214,.8), rgba(255,226,160,.22) 55%, rgba(255,226,160,0) 100%),
    radial-gradient(ellipse 54% 8% at 60% 92%, rgba(255,252,236,.8), rgba(255,250,230,0) 100%),
    radial-gradient(ellipse 14% 9% at 30% 70%, rgba(255,236,190,.28), rgba(255,236,190,0) 100%); }
@keyframes caustic { from { transform: translate3d(-2%, 0, 0) scale(1); opacity: .75; } to { transform: translate3d(3%, -2%, 0) scale(1.06); opacity: 1; } }
.sh-shadows, .sh-dice { left: calc(125 * var(--u)); top: calc(104 * var(--u)); width: 0; height: 0; }
.sh-shadows { z-index: 3; } .sh-dice { z-index: 4; }
.dsh { position: absolute; left: calc(var(--s) * -.85); top: calc(var(--s) * -.36); width: calc(var(--s) * 1.7); height: calc(var(--s) * .84); border-radius: 50%; background: radial-gradient(ellipse, rgba(10,0,2,.82), rgba(10,0,2,.42) 42%, rgba(10,0,2,0) 70%); }
.d3 { position: absolute; left: calc(var(--s) / -2); top: calc(var(--s) / -2); width: var(--s); height: var(--s); }
.cube { position: absolute; inset: 0; transform-style: preserve-3d; }
.cube .f, .cube .core { position: absolute; inset: 0; }
.cube .f { -webkit-backface-visibility: hidden; backface-visibility: hidden; border-radius: 15%; overflow: hidden; background: #f6eeda; }
.cube .f svg { width: 100%; height: 100%; display: block; }
.cube .f::after { content: ""; position: absolute; inset: 0; background: #2a1408; opacity: var(--k, 0); }
.cube .f.ft { transform: translateZ(calc(var(--s) / 2)); }
.cube .f.bk { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); }
.cube .f.rt { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); }
.cube .f.lf { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); }
.cube .f.tp { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); }
.cube .f.bt { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); }
.cube .core { inset: 4%; background: #cbb98c; }
.cube .core.cy { transform: rotateY(90deg); } .cube .core.cx { transform: rotateX(90deg); }
.shaker.shaking .d3, .shaker.shaking .cube, .shaker.shaking .dsh { will-change: transform; }

.sh-dome { left: calc(23 * var(--u)); width: calc(204 * var(--u)); top: calc(12 * var(--u)); height: calc(142 * var(--u)); z-index: 5; pointer-events: none; overflow: hidden;
  border-radius: 50% 50% 50% 50% / 64.8% 64.8% 35.2% 35.2%;
  border: calc(1.6 * var(--u)) solid rgba(255,255,255,.5); border-bottom: calc(2.6 * var(--u)) solid rgba(255,255,255,.74);
  background:
    radial-gradient(ellipse 66% 24% at 50% 100%, rgba(255,255,255,.26), rgba(255,255,255,0) 100%),
    linear-gradient(113deg, rgba(255,255,255,0) 20%, rgba(255,255,255,.15) 29%, rgba(255,255,255,.04) 40%, rgba(255,255,255,0) 58%),
    radial-gradient(ellipse 100% 100% at 50% 46%, rgba(214,232,255,.03) 0, rgba(214,232,255,.05) 56%, rgba(255,255,255,.2) 85%, rgba(255,255,255,.4) 100%);
  box-shadow: inset 0 0 0 calc(1 * var(--u)) rgba(0,0,0,.2), inset 0 0 calc(18 * var(--u)) rgba(255,255,255,.2), inset 0 calc(12 * var(--u)) calc(22 * var(--u)) rgba(255,255,255,.1), 0 calc(8 * var(--u)) calc(18 * var(--u)) rgba(0,0,0,.25); }
.sh-dome > i { position: absolute; }
/* épaisseur du verre : une seconde paroi juste à l'intérieur */
.sh-thick { inset: calc(5 * var(--u)); border-radius: 50% 50% 50% 50% / 64.8% 64.8% 35.2% 35.2%; border: calc(1 * var(--u)) solid rgba(255,255,255,.14); border-top-color: rgba(255,255,255,.34); border-bottom-color: rgba(255,255,255,.26); }
/* reflet principal : lueur le long de la paroi gauche, doublée d'un trait vif */
.sh-streak { inset: 2% 3% 5% 2%; border-radius: 50% 50% 50% 50% / 64.8% 64.8% 35.2% 35.2%; box-shadow: inset calc(13 * var(--u)) calc(6 * var(--u)) calc(9 * var(--u)) calc(-6 * var(--u)) rgba(255,255,255,.62);
  -webkit-mask-image: linear-gradient(168deg, rgba(0,0,0,0) 8%, #000 30%, #000 50%, rgba(0,0,0,0) 74%); mask-image: linear-gradient(168deg, rgba(0,0,0,0) 8%, #000 30%, #000 50%, rgba(0,0,0,0) 74%); }
.sh-streak::after { content: ""; position: absolute; left: 6.5%; top: 13%; width: 56%; height: 74%; border-radius: 50%; border: 0 solid transparent; border-left: calc(2.4 * var(--u)) solid rgba(255,255,255,.92); transform: rotate(9deg); }
/* reflet de fenêtre en haut à droite : deux carreaux étroits et cintrés */
.sh-glint { right: 20%; top: 15%; width: 6.5%; height: 21%; border-radius: 60% 40% 50% 50% / 30% 30% 30% 30%; background: linear-gradient(170deg, rgba(255,255,255,.7), rgba(255,255,255,.1)); transform: rotate(24deg) skewY(-10deg); }
.sh-glint::after { content: ""; position: absolute; left: 150%; top: 20%; width: 70%; height: 84%; border-radius: 60% 40% 50% 50% / 30% 30% 30% 30%; background: linear-gradient(170deg, rgba(255,255,255,.45), rgba(255,255,255,.06)); }
/* reflet chaud des lanternes, en bas à gauche */
.sh-warm { left: 3%; bottom: 12%; width: 32%; height: 32%; border-radius: 50%; background: radial-gradient(ellipse, rgba(255,150,70,.34), rgba(255,150,70,0) 70%); }
.sh-sweep { left: 0; top: -10%; width: 34%; height: 120%; opacity: 0; background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,.5) 50%, rgba(255,255,255,0)); transform: translateX(-140%) skewX(-16deg); }
.shaker.settled .sh-sweep { animation: domeSweep .9s ease-out; }
@keyframes domeSweep { 0% { transform: translateX(-140%) skewX(-16deg); opacity: 1; } 100% { transform: translateX(380%) skewX(-16deg); opacity: 1; } }
.sh-hit { left: 20%; top: -6%; width: 60%; height: 46%; border-radius: 50%; opacity: 0; background: radial-gradient(ellipse at var(--hx, 50%) 30%, rgba(255,255,255,.75), rgba(255,255,255,0) 60%); }
.sh-hit.on { animation: domeHit .22s ease-out; }
@keyframes domeHit { 0% { opacity: .9; } 100% { opacity: 0; } }
.sh-knob { left: 50%; top: 0; width: calc(22 * var(--u)); height: calc(19 * var(--u)); margin-left: calc(-11 * var(--u)); z-index: 6; border-radius: 50% 50% 44% 44%;
  background: radial-gradient(circle at 36% 28%, #fffbe0, #f3d978 26%, #b8901f 60%, #5a3d08 100%); box-shadow: 0 calc(2 * var(--u)) calc(3 * var(--u)) rgba(0,0,0,.5); }
.sh-knob::after { content: ""; position: absolute; left: 50%; bottom: calc(-4 * var(--u)); width: calc(26 * var(--u)); height: calc(8 * var(--u)); margin-left: calc(-13 * var(--u)); border-radius: 50%; background: linear-gradient(90deg, #6b4c0f, #f6e08a 34%, #fff6c9 50%, #a67c17 80%, #5a3d08); box-shadow: 0 calc(1.5 * var(--u)) calc(2 * var(--u)) rgba(0,0,0,.45); }
/* brassage : la cloche tremble, le plateau vibre plus vite ; les dés sont pilotés par le moteur de ui.js */
.shaker.shaking .sh-dome, .shaker.shaking .sh-knob { animation: domeTremble .11s linear infinite; }
.shaker.shaking .sh-tray, .shaker.shaking .sh-rim { animation: trayVib .06s linear infinite; }
.shaker.shaking .sh-base { animation: trayVib .08s linear infinite reverse; }
.shaker.shaking .sh-caustic { animation: causticShake .16s linear infinite alternate; }
@keyframes domeTremble { 0% { transform: translate(0, 0) rotate(0); } 25% { transform: translate(1.4px, -.9px) rotate(.5deg); } 50% { transform: translate(-1.2px, .8px) rotate(-.45deg); } 75% { transform: translate(.9px, 1.1px) rotate(.3deg); } 100% { transform: translate(-.8px, -1px) rotate(-.3deg); } }
@keyframes trayVib { 0% { transform: translate(0, 0); } 33% { transform: translate(.9px, -1.2px); } 66% { transform: translate(-1px, .9px); } 100% { transform: translate(.4px, 1.1px); } }
@keyframes causticShake { from { transform: translate3d(-4%, 2%, 0) scale(1.04); opacity: .7; } to { transform: translate3d(5%, -3%, 0) scale(.96); opacity: 1; } }

/* ---------- afficheur : compte à rebours, annonce, multiplicateurs tombés, puis résultat ---------- */
.sb-info { position: relative; width: 204px; min-height: 164px; align-self: center; margin-bottom: 12px; display: flex; align-items: center; justify-content: center; }
.info-live { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; transition: opacity .25s, transform .25s; }
.sb-info.res .info-live { position: absolute; opacity: 0; transform: scale(.86); pointer-events: none; }
.count { position: relative; width: 64px; height: 64px; filter: drop-shadow(0 4px 8px rgba(0,0,0,.5)); }
.count svg { width: 100%; height: 100%; display: block; transform: rotate(-90deg); }
.ct-track { fill: rgba(12,2,4,.72); stroke: rgba(243,217,120,.2); stroke-width: 3; }
.ct-arc { fill: none; stroke: var(--gold-2); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 119.4; }
.count b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 900; color: #fff6cf; font-variant-numeric: tabular-nums; text-shadow: 0 2px 3px rgba(0,0,0,.6); }
.count.late .ct-arc { stroke: #ff5068; } .count.late .ct-track { stroke: rgba(255,80,104,.3); }
.count.late b { color: #ff8f9f; }
.count.beat b { animation: beat .5s cubic-bezier(.3,1.6,.5,1); }
@keyframes beat { 0% { transform: scale(1.5); } 100% { transform: scale(1); } }
.table-status { min-height: 18px; text-align: center; font-family: var(--serif); font-weight: 700; font-size: 15px; letter-spacing: 2.4px; text-transform: uppercase; line-height: 1.2; color: var(--gold-2);
  background: linear-gradient(180deg, #fff6cf, #f3d978 45%, #b8901f); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 1px 1px rgba(0,0,0,.8)); }
.table-status[data-long] { font-size: 13px; letter-spacing: 1.2px; }
.table-status.swap { animation: statusIn .36s cubic-bezier(.2,1.4,.4,1); }
@keyframes statusIn { 0% { transform: translateY(8px) scale(.9); opacity: 0; } 100% { transform: none; opacity: 1; } }
.table-status.closed { background-image: linear-gradient(180deg, #ffd9de, #ff8b98 50%, #d23a52); }
.table-status.mult { background-image: linear-gradient(180deg, #fff, #ffe98a 50%, #ffb400); filter: drop-shadow(0 0 8px rgba(255,190,40,.7)); }
.table-status.late { background-image: linear-gradient(180deg, #ffe0e4, #ff7a8d 50%, #e23a50); }
.timer-bar { width: 132px; height: 4px; border-radius: 2px; overflow: hidden; background: rgba(0,0,0,.5); box-shadow: inset 0 1px 2px rgba(0,0,0,.7), 0 1px 0 rgba(255,255,255,.07); }
.timer-bar i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; background: linear-gradient(90deg, #b8901f, #f8e9a8); }
.timer-bar.late i { background: linear-gradient(90deg, #c8102e, #ff8b98); }
@keyframes timerRun { from { transform: scaleX(1); } to { transform: scaleX(0); } }
/* multiplicateurs tombés : petites plaques dorées qui s'empilent */
.mult-log { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; max-width: 100%; }
.mult-log .ml { display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px 2px 3px; border-radius: 9px; font-size: 10px; font-weight: 700; color: #ffe9a8; background: rgba(0,0,0,.5); border: 1px solid rgba(255,214,90,.5); white-space: nowrap; animation: mlIn .35s cubic-bezier(.2,1.6,.4,1); }
.mult-log .ml b { padding: 0 5px; border-radius: 7px; font-weight: 900; color: #3a2000; background: linear-gradient(180deg, #fff6c2, #ffcf3a 55%, #e79a00); }
@keyframes mlIn { 0% { transform: scale(.4); opacity: 0; } 100% { transform: none; opacity: 1; } }

/* résultat : les trois dés s'alignent à mesure qu'ils s'immobilisent, le total se frappe dans un médaillon de laiton */
.result-banner { display: flex; flex-direction: column; align-items: center; gap: 7px; width: 100%; color: #fff; }
.res-dice { display: flex; gap: 6px; height: 34px; align-items: center; }
.res-dice .slot { width: 32px; height: 32px; border-radius: 8px; border: 1.5px dashed rgba(243,217,120,.3); display: flex; align-items: center; justify-content: center; }
.res-dice .slot.on { border-color: transparent; animation: slotIn .42s cubic-bezier(.2,1.7,.4,1); filter: drop-shadow(0 3px 3px rgba(0,0,0,.55)); }
.res-dice .slot .die-svg { width: 32px; height: 32px; display: block; }
@keyframes slotIn { 0% { transform: translateY(-16px) scale(.5) rotate(-24deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
.res-total { position: relative; width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 38%, #4a0a12, #1c0407 70%) padding-box, linear-gradient(140deg, #fff6c9, #b8901f 30%, #f6e08a 52%, #6b4c0f 78%, #f3d978) border-box; border: 4px solid transparent;
  box-shadow: inset 0 3px 8px rgba(0,0,0,.7), 0 6px 14px rgba(0,0,0,.55); }
.res-total b { font-size: 34px; font-weight: 900; line-height: 1; letter-spacing: -1px; font-variant-numeric: tabular-nums; color: rgba(255,246,207,.5); transition: color .2s; }
.res-total .ring { position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #fff3b0; opacity: 0; pointer-events: none; }
.res-total .rays { position: absolute; inset: -34px; border-radius: 50%; z-index: -1; opacity: 0; pointer-events: none; background: repeating-conic-gradient(from 0deg, rgba(255,214,90,.5) 0deg 8deg, rgba(255,214,90,0) 8deg 20deg); -webkit-mask: radial-gradient(circle, #000 30%, rgba(0,0,0,0) 70%); mask: radial-gradient(circle, #000 30%, rgba(0,0,0,0) 70%); }
.result-banner.final .res-total { animation: totalSlam .55s cubic-bezier(.2,1.5,.35,1); }
.result-banner.final .res-total b { color: #fff6cf; text-shadow: 0 0 14px rgba(255,200,60,.6), 0 2px 2px rgba(0,0,0,.7); }
.result-banner.final .res-total .ring { animation: ringOut .7s ease-out; }
.result-banner.final .res-total .rays { opacity: .8; animation: raysSpin 12s linear infinite; }
.result-banner.final.tri .res-total { background: radial-gradient(circle at 50% 35%, #fff6c9, #f3d978 45%, #b8901f) padding-box, linear-gradient(140deg, #fff, #f3d978 40%, #8a6414) border-box; }
.result-banner.final.tri .res-total b { color: #3a2000; text-shadow: 0 1px 0 rgba(255,255,255,.6); }
@keyframes totalSlam { 0% { transform: scale(2.5); opacity: 0; } 55% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1); } }
@keyframes ringOut { 0% { transform: scale(1); opacity: .95; } 100% { transform: scale(2.3); opacity: 0; } }
@keyframes raysSpin { to { transform: rotate(360deg); } }
.res-tags { display: flex; gap: 5px; min-height: 20px; }
.res-tags .tag { padding: 3px 9px; border-radius: 10px; font-size: 11px; font-weight: 900; letter-spacing: 1.2px; text-transform: uppercase; line-height: 1.2; animation: tagIn .4s cubic-bezier(.2,1.6,.4,1) both; box-shadow: 0 2px 5px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.25); }
.res-tags .tag:nth-child(2) { animation-delay: .12s; }
.res-tags .tag.bg { background: linear-gradient(180deg, #f0314e, #a50d24); color: #fff; }
.res-tags .tag.sm { background: linear-gradient(180deg, #3f8cff, #1648b8); color: #fff; }
.res-tags .tag.oe { background: linear-gradient(180deg, #3a2a18, #170d06); color: var(--gold-2); border: 1px solid rgba(243,217,120,.5); padding: 2px 8px; }
.res-tags .tag.tri { background: linear-gradient(180deg, #fff6c2, #f3d978 50%, #b8901f); color: #3a2000; letter-spacing: 2.4px; }
@keyframes tagIn { 0% { transform: translateY(8px) scale(.6); opacity: 0; } 100% { transform: none; opacity: 1; } }
.result-banner .rme { min-height: 16px; font-size: 12px; font-weight: 700; color: var(--muted); text-align: center; animation: tagIn .4s cubic-bezier(.2,1.6,.4,1); }
.result-banner .rme b { font-size: 15px; font-weight: 900; }
.result-banner .rme.pos b { color: #7dffa9; text-shadow: 0 0 10px rgba(80,255,150,.45); } .result-banner .rme b.neg, .result-banner .rme.neg { color: #ff9aa6; }

/* ---------- tableau des résultats : plaque laquée noire dans un cadre de laiton ---------- */
.sb-side { position: relative; z-index: 3; align-self: center; height: calc(100% - 22px); margin-right: 11px; min-width: 0; display: grid; grid-template-columns: 142px minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); column-gap: 10px; row-gap: 6px; padding: 8px 11px 9px; border-radius: 12px;
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,0) 22%) padding-box,
    linear-gradient(180deg, rgba(22,8,6,.94), rgba(10,3,3,.96)) padding-box,
    linear-gradient(140deg, #f3d978, #7a5a12 30%, #f6e08a 55%, #6b4c0f 80%, #c9a23a) border-box;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.7), inset 0 0 22px rgba(0,0,0,.6), 0 10px 22px rgba(0,0,0,.5); }
.side-head { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 10px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; color: var(--gold-2); padding-bottom: 5px; border-bottom: 1px solid rgba(243,217,120,.2); }
.side-head small { font-size: 9.5px; font-weight: 600; letter-spacing: .3px; text-transform: none; color: var(--muted); opacity: .8; white-space: nowrap; }
.hist { display: flex; flex-direction: column; gap: 4px; min-height: 0; overflow: hidden; }
.hist .h { flex: none; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 6px; height: 28px; padding: 0 6px 0 5px; border-radius: 8px; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid rgba(243,217,120,.13); }
.hist .h .dd { gap: 2px; filter: drop-shadow(0 1px 1px rgba(0,0,0,.6)); }
.hist .h .dd .die-svg { width: 18px; height: 18px; }
.hist .h b { font-size: 15px; font-weight: 900; text-align: right; color: #fff; font-variant-numeric: tabular-nums; }
.hist .h em { width: 18px; height: 18px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 10px; font-weight: 900; color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 1px 2px rgba(0,0,0,.5); }
.hist .h.bg em { background: radial-gradient(circle at 35% 28%, #ff7b8a, #c8102e 60%, #7d0a1c); }
.hist .h.sm em { background: radial-gradient(circle at 35% 28%, #8fc4ff, #1e63ff 60%, #123a9c); }
.hist .h.tri em { background: radial-gradient(circle at 35% 28%, #fff6c9, #d4af37 60%, #8a6414); color: #2a1a00; }
.hist .h.last { height: 34px; border-color: rgba(243,217,120,.65); background: linear-gradient(180deg, rgba(243,217,120,.2), rgba(243,217,120,.06)); box-shadow: 0 0 12px rgba(243,217,120,.16); }
.hist .h.last .dd .die-svg { width: 22px; height: 22px; }
.hist .h.last b { font-size: 19px; color: #fff6cf; }
.hist .h.enter { animation: histIn .6s cubic-bezier(.2,1.2,.3,1); }
.hist.push .h:not(.enter) { animation: histPush .45s cubic-bezier(.2,.9,.3,1); }
@keyframes histIn { 0% { transform: translateY(-120%) scale(1.08); opacity: 0; } 60% { transform: translateY(4%) scale(1.02); opacity: 1; } 100% { transform: none; } }
@keyframes histPush { 0% { transform: translateY(-38px); } 100% { transform: none; } }
/* état de départ : rangées fantômes en attendant le premier lancer */
.hist .h.ghost { border-style: dashed; border-color: rgba(243,217,120,.24); background: rgba(255,255,255,.02); }
.hist .h.ghost .dd { filter: none; gap: 3px; }
.hist .h.ghost .dd i { width: 16px; height: 16px; border-radius: 4px; border: 1px dashed rgba(243,217,120,.5); }
.hist .h.ghost b { color: rgba(243,217,120,.5); }
.hist .h.ghost em { background: none; box-shadow: none; border: 1px dashed rgba(243,217,120,.5); }
.hist .h.ghost:nth-child(2) { opacity: .8; } .hist .h.ghost:nth-child(3) { opacity: .62; } .hist .h.ghost:nth-child(4) { opacity: .46; } .hist .h.ghost:nth-child(5) { opacity: .32; } .hist .h.ghost:nth-child(n+6) { opacity: .22; }
.hist .hnote { font-size: 10px; color: var(--muted); text-align: center; line-height: 1.25; padding: 1px 2px 3px; }
.side-stats { display: flex; flex-direction: column; gap: 6px; min-width: 0; min-height: 0; overflow: hidden; }
/* road en perles : alvéoles gravées, perles bombées, la dernière cerclée d'or */
.road-wrap { --bd: 13px; overflow-x: auto; scrollbar-width: none; padding: 4px; border-radius: 8px; border: 1px solid rgba(243,217,120,.2);
  background: radial-gradient(circle at 50% 50%, rgba(0,0,0,0) 0 4.4px, rgba(243,217,120,.15) 4.8px 5.5px, rgba(0,0,0,0) 6px) 4px 4px / calc(var(--bd) + 2px) calc(var(--bd) + 2px) local, rgba(0,0,0,.42);
  box-shadow: inset 0 2px 5px rgba(0,0,0,.6); }
.road-wrap::-webkit-scrollbar { display: none; }
.road { display: grid; grid-template-rows: repeat(6, var(--bd)); grid-auto-flow: column; grid-auto-columns: var(--bd); gap: 2px; width: max-content; min-width: 100%; }
.road i { position: relative; width: var(--bd); height: var(--bd); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 7.5px; font-weight: 900; color: #fff; box-shadow: inset 0 -1px 1px rgba(0,0,0,.35), 0 1px 1px rgba(0,0,0,.5); }
.road i.bg { background: radial-gradient(circle at 35% 28%, #ff8b98, #c8102e 58%, #7d0a1c); }
.road i.sm { background: radial-gradient(circle at 35% 28%, #9fccff, #1e63ff 58%, #123a9c); }
.road i.tri { background: radial-gradient(circle at 35% 28%, #fff6c9, #d4af37 58%, #8a6414); color: #2a1a00; }
.road i.new::after { content: ""; position: absolute; inset: -2.5px; border-radius: 50%; border: 1.5px solid #fff3b0; animation: beadRing 1.6s ease-in-out infinite; }
.road i.new { animation: beadIn .5s cubic-bezier(.2,1.7,.4,1); }
@keyframes beadIn { 0% { transform: scale(0); } 100% { transform: scale(1); } }
@keyframes beadRing { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
/* parts Small / Big / Triple : barre en trois segments */
.pct { display: flex; flex-direction: column; gap: 3px; min-width: 0; font-size: 10px; color: var(--muted); }
.pct .seg { display: flex; height: 7px; border-radius: 4px; overflow: hidden; background: rgba(0,0,0,.5); box-shadow: inset 0 1px 2px rgba(0,0,0,.7); gap: 1px; }
.pct .seg i { min-width: 2px; transition: flex-grow .6s cubic-bezier(.2,.9,.3,1); }
.pct .seg .s { background: linear-gradient(180deg, #7db6ff, #1e63ff); } .pct .seg .b { background: linear-gradient(180deg, #ff8b98, #c8102e); } .pct .seg .t { background: linear-gradient(180deg, #fff6c9, #d4af37); }
.pct .lg { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 5px; font-size: 9.5px; font-weight: 700; white-space: nowrap; }
.pct .lg .s { color: var(--sm); } .pct .lg .b { color: var(--bgc); } .pct .lg .t { color: var(--gold-2); }
.pct.theory .seg { opacity: .45; } .pct.theory .lg { opacity: .7; }
.pct.big { font-size: 13px; margin: 8px 0 4px; flex-direction: row; flex-wrap: wrap; gap: 10px; }
.pct.big span { font-weight: 700; } .pct.big .s { color: var(--sm); } .pct.big .b { color: var(--bgc); } .pct.big .t { color: var(--gold-2); }
/* fréquence des totaux : barre pleine = observé, contour = probabilité théorique des trois dés */
.freqmini { flex: 1; min-height: 34px; display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 2px; align-items: stretch; }
.freqmini .fb { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 0; }
.freqmini .fb .col { position: relative; flex: 1; min-height: 0; }
.freqmini .fb .col i, .freqmini .fb .col u { position: absolute; left: 0; right: 0; bottom: 0; height: 100%; transform-origin: 50% 100%; transform: scaleY(var(--h, 0)); border-radius: 2px 2px 0 0; }
.freqmini .fb .col u { border: 1px dashed rgba(243,217,120,.36); border-bottom: 0; text-decoration: none; }
.freqmini .fb .col i { background: linear-gradient(180deg, #7db6ff, #1e63ff); transition: transform .6s cubic-bezier(.2,.9,.3,1); }
.freqmini .fb.hi .col i { background: linear-gradient(180deg, #ff8b98, #c8102e); }
.freqmini .fb.hot .col i { background: linear-gradient(180deg, #fff6c9, #d4af37); }
.freqmini .fb small { display: block; text-align: center; font-size: 7.5px; font-weight: 700; line-height: 10px; color: var(--muted); border-top: 1px solid rgba(243,217,120,.25); }
.freqmini .fb.hot small { color: var(--gold-2); }

/* bandeau compact : annonce et compte à rebours quand la scène a quitté l'écran (téléphone) */
.sb-mini { position: fixed; left: 50%; top: 6px; z-index: 26; display: flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; transform: translate(-50%, -64px); transition: transform .3s cubic-bezier(.2,.9,.3,1.2); pointer-events: none; white-space: nowrap;
  background: linear-gradient(180deg, rgba(42,7,12,.96), rgba(16,3,5,.96)); border: 1px solid rgba(243,217,120,.6); box-shadow: 0 8px 22px rgba(0,0,0,.6); color: var(--gold-2); font-size: 11px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; }
.sb-mini.show { transform: translate(-50%, 0); }
.sb-mini em { font-style: normal; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; background: rgba(0,0,0,.5); border: 1px solid rgba(243,217,120,.4); color: #fff6cf; font-variant-numeric: tabular-nums; }
.sb-mini em:empty, .sb-mini span:empty { display: none; }
.sb-mini.late { border-color: #ff5068; color: #ff9aa6; } .sb-mini.late em { border-color: #ff5068; color: #ff9aa6; }
.sb-mini .dd .die-svg { width: 16px; height: 16px; }
.sb-mini span { display: inline-flex; align-items: center; gap: 6px; } .sb-mini span b { font-size: 15px; color: #fff6cf; }

/* =====================================================================================================================
   TAPIS : feutre rouge à grain et treillis, cadre de laiton, lisse laquée, 52 cases en laque à liseré d'or
   ===================================================================================================================== */
.sb-table { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 5px; padding: 12px 16px; border-radius: 20px; border: 7px solid transparent;
  background:
    radial-gradient(ellipse 86% 96% at 50% 46%, rgba(0,0,0,0) 44%, rgba(0,0,0,.55) 100%) padding-box,
    radial-gradient(ellipse 58% 46% at 50% -4%, rgba(255,206,130,.16), rgba(255,206,130,0) 72%) padding-box,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 .86  0 0 0 0 .78  0 0 0 .55 -.2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 180px 180px padding-box,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30' fill='none' stroke='%23f3d978' stroke-opacity='.07' stroke-width='1'%3E%3Cpath d='M15 0L30 15 15 30 0 15zM15 9l6 6-6 6-6-6z'/%3E%3C/svg%3E") 0 0 / 30px 30px padding-box,
    linear-gradient(180deg, #651020, #470a15 48%, #2c060c) padding-box,
    linear-gradient(135deg, #f6e08a, #8a6414 18%, #fff3c4 34%, #b8901f 48%, #6b4c0f 66%, #f3d978 84%, #8a6414) border-box;
  box-shadow: inset 0 0 0 1px rgba(20,6,2,.85), inset 0 0 0 3px rgba(243,217,120,.3), inset 0 0 0 4px rgba(20,6,2,.5), inset 0 8px 26px rgba(0,0,0,.5),
    0 0 0 1px #1a0d03, 0 0 0 5px #2b070c, 0 0 0 6px rgba(243,217,120,.38), 0 22px 40px rgba(0,0,0,.55); }
.sb-table.jolt { animation: jolt .16s ease-out; }
@keyframes jolt { 0% { transform: translateY(0); } 35% { transform: translateY(2px); } 100% { transform: translateY(0); } }
/* grecques d'angle */
.tb-corner { position: absolute; width: 26px; height: 26px; opacity: .5; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 34 34' fill='none' stroke='%23f3d978' stroke-width='1.6' stroke-linecap='square'%3E%3Cpath d='M3 32V3h29M9 32V9h23M15 26V15h11v6h-5'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
.tb-corner.tl { left: 7px; top: 7px; } .tb-corner.tr { right: 7px; top: 7px; transform: scaleX(-1); }
.tb-corner.bl { left: 7px; bottom: 7px; transform: scaleY(-1); } .tb-corner.br { right: 7px; bottom: 7px; transform: scale(-1); }

.sb-grid { width: 100%; max-width: 1080px; display: grid; grid-template-columns: 112px minmax(0, 1fr) 112px; grid-template-areas: "small top big" "small totals big" "odd combos even" "singles singles singles"; gap: 6px; user-select: none; -webkit-user-select: none; }
.c.small { grid-area: small; } .c.big { grid-area: big; } .c.odd { grid-area: odd; } .c.even { grid-area: even; }
.r-top { grid-area: top; display: grid; grid-template-rows: auto auto; gap: 6px; }
.r-triples { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.r-doubles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)); gap: 6px; }
.r-totals { grid-area: totals; display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 6px; }
.r-combos { grid-area: combos; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.r-singles { grid-area: singles; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }

/* case : carreau de laque bombé, liseré d'or, ombre portée courte. Jamais de transform / filter / opacity sur .c elle-même
   (les jetons qui retombent doivent pouvoir déborder au-dessus des voisines) : les effets vivent dans .cfx et .ci. */
.c { position: relative; min-height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 4px 2px; border-radius: 9px; cursor: pointer; color: #fff; text-align: center;
  border: 1px solid rgba(243,217,120,.46);
  background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,0) 30%, rgba(0,0,0,.3) 100%), linear-gradient(180deg, #4c0b15, #270509);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 0 0 1px rgba(0,0,0,.4), inset 0 -3px 6px rgba(0,0,0,.35), 0 1px 0 rgba(0,0,0,.55), 0 3px 6px rgba(0,0,0,.35);
  transition: border-color .15s; }
.sb-grid.locked .c { cursor: default; }
.c .cfx { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; transition: background-color .45s; }
.c .cfx::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .18s; background: radial-gradient(ellipse 90% 80% at 50% 10%, rgba(255,226,140,.42), rgba(255,200,80,.1) 60%, rgba(255,200,80,0)); }
.c .cfx::after { content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 46%; opacity: 0; background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,246,200,.5) 50%, rgba(255,255,255,0)); transform: translateX(-130%) skewX(-18deg); }
.c .ci { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; line-height: 1; transition: transform .14s cubic-bezier(.3,1.5,.5,1), opacity .4s; }
.c .ci b { font-weight: 900; }
.c .pay { position: relative; font-size: 10px; font-weight: 800; color: var(--gold-2); letter-spacing: .3px; line-height: 1; opacity: .92; transition: opacity .4s; }
@media (hover: hover) {
  .sb-grid:not(.locked) .c:hover { border-color: #ffe9a8; }
  .sb-grid:not(.locked) .c:hover .cfx::before { opacity: 1; }
  .sb-grid:not(.locked) .c:hover .ci { transform: translateY(-1px) scale(1.03); }
}
.sb-grid:not(.locked) .c:active .ci { transform: scale(.93); }
.c.tap .cfx::after { animation: cellSweep .45s ease-out; }
@keyframes cellSweep { 0% { opacity: 1; transform: translateX(-130%) skewX(-18deg); } 100% { opacity: 1; transform: translateX(330%) skewX(-18deg); } }

/* dés dessinés (ivoire, points creusés), posés sur la case avec une ombre courte */
.dd { display: inline-flex; gap: 3px; align-items: center; justify-content: center; filter: drop-shadow(0 2px 1.5px rgba(0,0,0,.55)); }
.dd .die-svg { width: 23px; height: 23px; display: block; }
.dd.ghost { filter: none; gap: 2px; } .dd.ghost .die-svg { width: 13px; height: 13px; opacity: .7; }
.dd.tiny { filter: none; gap: 2px; } .dd.tiny .die-svg { width: 15px; height: 15px; }

/* hiérarchie : les quatre grandes cases (Small indigo, Big carmin, Odd / Even laque noire), lettres gravées or */
.c.side { padding: 8px 4px; gap: 6px; border-color: rgba(243,217,120,.7); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), inset 0 0 0 1px rgba(0,0,0,.45), inset 0 0 0 4px rgba(243,217,120,.1), inset 0 0 0 5px rgba(0,0,0,.25), inset 0 -8px 16px rgba(0,0,0,.35), 0 1px 0 rgba(0,0,0,.55), 0 4px 8px rgba(0,0,0,.4); }
.c.side .ci { gap: 5px; }
.c.side .ci b { font-family: var(--serif); font-size: 25px; font-weight: 700; letter-spacing: 2px; color: var(--gold-2); background: linear-gradient(180deg, #fff6cf, #f3d978 48%, #b8901f); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 2px 1px rgba(0,0,0,.7)); }
.c.side .ci span { font-size: 12px; font-weight: 700; letter-spacing: 1px; color: rgba(255,255,255,.72); }
.c.side .pay { font-size: 12px; padding: 2px 9px; border-radius: 9px; background: rgba(0,0,0,.34); border: 1px solid rgba(243,217,120,.3); }
.c.side.small { background: linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,0) 26%, rgba(0,0,0,.34) 100%), radial-gradient(ellipse 120% 70% at 50% 30%, #25408a, #152556 60%, #0b1330); }
.c.side.big { background: linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,0) 26%, rgba(0,0,0,.34) 100%), radial-gradient(ellipse 120% 70% at 50% 30%, #b3142c, #7c0d1e 60%, #47070f); }
.c.side.odd, .c.side.even { background: linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,0) 26%, rgba(0,0,0,.34) 100%), radial-gradient(ellipse 120% 70% at 50% 30%, #3a1c14, #1f0d09 60%, #0f0504); }
/* triples : les plus rares, double liseré ; any triple au centre des doubles */
.c.triple { min-height: 52px; border-color: rgba(243,217,120,.72); background: linear-gradient(180deg, rgba(255,226,140,.15), rgba(255,255,255,0) 32%, rgba(0,0,0,.3) 100%), radial-gradient(ellipse 120% 100% at 50% 20%, #33190f, #190b07 62%, #0c0403); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 0 0 1px rgba(0,0,0,.4), inset 0 0 0 3px rgba(243,217,120,.11), inset 0 -3px 6px rgba(0,0,0,.35), 0 1px 0 rgba(0,0,0,.55), 0 3px 6px rgba(0,0,0,.35); }
.c.triple .dd { gap: 2px; } .c.triple .dd .die-svg { width: 22px; height: 22px; }
.c.double { min-height: 52px; }
.c.double .dd .die-svg { width: 25px; height: 25px; }
.c.any { min-height: 52px; border-color: rgba(243,217,120,.72); background: linear-gradient(180deg, rgba(255,226,140,.15), rgba(255,255,255,0) 32%, rgba(0,0,0,.3) 100%), radial-gradient(ellipse 120% 100% at 50% 20%, #33190f, #190b07 62%, #0c0403); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 0 0 1px rgba(0,0,0,.4), inset 0 0 0 3px rgba(243,217,120,.11), inset 0 -3px 6px rgba(0,0,0,.35), 0 1px 0 rgba(0,0,0,.55), 0 3px 6px rgba(0,0,0,.35); }
.c.any .ci b { font-family: var(--serif); font-size: 12px; font-weight: 700; letter-spacing: 1.6px; color: var(--gold-2); }
/* totaux : chiffre fort, froid sous 11 et chaud au-dessus, filet de couleur en pied de case */
.c.total { min-height: 58px; gap: 4px; }
.c.total .ci b { font-size: 25px; letter-spacing: -.5px; text-shadow: 0 2px 3px rgba(0,0,0,.65); font-variant-numeric: tabular-nums; }
.c.total.lo .ci b { color: #d6e7ff; } .c.total.hi .ci b { color: #ffdad2; }
.c.total::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 2px; height: 2px; border-radius: 2px; background: #2f6fe0; opacity: .75; }
.c.total.hi::after { background: #e0314b; }
.c.total.rare .pay { color: #fff6cf; }
.c.combo { min-height: 43px; border-color: rgba(243,217,120,.36); background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0) 30%, rgba(0,0,0,.3) 100%), linear-gradient(180deg, #420a13, #220408); }
.c.combo .dd .die-svg { width: 21px; height: 21px; }
.c.single { min-height: 58px; gap: 3px; border-color: rgba(243,217,120,.58); background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0) 30%, rgba(0,0,0,.3) 100%), radial-gradient(ellipse 90% 120% at 50% 30%, #7a1122, #4a0a14 60%, #2c060b); }
.c.single .dd .die-svg { width: 32px; height: 32px; }
.c.single .pay { font-size: 9.5px; letter-spacing: .6px; opacity: .85; }

/* ---------- jetons : pastilles à incrustations, tranche visible, piles ---------- */
.chp { position: absolute; left: 0; top: 0; width: var(--z, var(--cs)); height: var(--z, var(--cs)); border-radius: 50%; font-style: normal; --c: #d8232f; --d: #7d0c14; --e: #fff; --t: #fff;
  background:
    radial-gradient(circle at 50% 50%, rgba(0,0,0,0) 0 44%, rgba(0,0,0,.3) 46% 50%, rgba(0,0,0,0) 52%),
    radial-gradient(circle at 34% 26%, rgba(255,255,255,.42), rgba(255,255,255,0) 48%),
    radial-gradient(circle at 50% 50%, var(--c) 0 50%, rgba(0,0,0,0) 52%),
    repeating-conic-gradient(from -9deg, var(--e) 0 18deg, var(--c) 18deg 45deg);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.4), 0 1.5px 0 var(--d), 0 2.5px 0 rgba(0,0,0,.5), 0 4px 5px rgba(0,0,0,.45); }
.chp span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: calc(var(--z, var(--cs)) * .34); font-weight: 900; letter-spacing: -.3px; color: var(--t); text-shadow: 0 1px 1px rgba(0,0,0,.55); font-variant-numeric: tabular-nums; }
.chp.v1 { --c: #ece9e2; --d: #8e8a80; --e: #2d6cdf; --t: #1c2a44; } .chp.v1 span { text-shadow: none; }
.chp.v5 { --c: #d8232f; --d: #7d0c14; --e: #fff; }
.chp.v25 { --c: #1c9a48; --d: #0b5425; --e: #fff; }
.chp.v100 { --c: #1e1e24; --d: #000; --e: #f3d978; --t: #f3d978; }
.chp.v500 { --c: #7d28b5; --d: #431063; --e: #ffe27a; }
.c .chips { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
/* ma pile : au centre, jusqu'à six jetons décalés, le total sur le jeton du dessus */
.c { --sx: 50%; --sy: 68%; --px: .78; }
.c.side { --sy: 80%; }
.stk { position: absolute; left: var(--sx); top: var(--sy); width: 0; height: 0; transition: opacity .25s; }
.stk .chp { left: calc(var(--cs) / -2); top: calc(var(--cs) / -2); transform: translateY(calc(var(--i, 0) * -3px)); }
.stk.mine .chp:last-child { box-shadow: inset 0 0 0 1px rgba(0,0,0,.4), 0 0 0 1.5px #ffe27a, 0 1.5px 0 var(--d), 0 2.5px 0 rgba(0,0,0,.5), 0 4px 5px rgba(0,0,0,.45); }
.stk .chp.drop { animation: chipDrop .42s cubic-bezier(.3,.9,.4,1); }
@keyframes chipDrop { 0% { transform: translateY(calc(var(--i, 0) * -3px - 44px)) scale(1.25); opacity: 0; } 40% { opacity: 1; } 58% { transform: translateY(calc(var(--i, 0) * -3px)) scale(1); } 76% { transform: translateY(calc(var(--i, 0) * -3px - 6px)); } 100% { transform: translateY(calc(var(--i, 0) * -3px)); } }
.stk.pulse { animation: stkPulse .28s cubic-bezier(.3,1.6,.5,1); }
@keyframes stkPulse { 0% { transform: scale(.8); } 100% { transform: scale(1); } }
.stk.lost { opacity: 0; transition: none; }
.stk.out { animation: chipOut .28s ease-in forwards; }
@keyframes chipOut { to { transform: translateY(10px) scale(.6); opacity: 0; } }
/* paiement : seconde pile dorée posée à côté de la mienne */
.stk.pay { left: calc(var(--sx) + var(--cs) * var(--px)); animation: payLand .34s cubic-bezier(.3,1.5,.5,1); }
.stk.pay .chp:last-child { box-shadow: inset 0 0 0 1px rgba(0,0,0,.4), 0 0 0 1.5px #fff6cf, 0 0 10px 2px rgba(255,214,90,.75), 0 1.5px 0 var(--d), 0 2.5px 0 rgba(0,0,0,.5); }
@keyframes payLand { 0% { transform: translateY(-8px) scale(1.3); } 100% { transform: none; } }
/* jetons des autres joueurs : plus petits, chacun vers son coin, teintés à leur couleur */
.chp.oth { --z: var(--cb); margin: calc(var(--cb) / -2) 0 0 calc(var(--cb) / -2); transition: opacity .3s; box-shadow: inset 0 0 0 1px rgba(0,0,0,.4), 0 1px 0 var(--d), 0 2px 3px rgba(0,0,0,.5); }
.chp.oth.hide { opacity: 0; transition: none; }
.chp.oth.land { animation: othLand .3s cubic-bezier(.3,1.6,.5,1); }
@keyframes othLand { 0% { transform: scale(1.5); } 100% { transform: none; } }
.chp.oth.won { box-shadow: inset 0 0 0 1px rgba(0,0,0,.4), 0 0 0 1.5px #fff3b0, 0 0 9px 2px rgba(255,214,90,.85); }
.chp.oth.lost { opacity: 0; transition: none; }
/* calque des vols (siège -> case, banque -> case, case -> banque) */
.fly-layer { position: fixed; inset: 0; z-index: 40; pointer-events: none; overflow: hidden; }
.fly { position: absolute; left: 0; top: 0; width: 0; height: 0; will-change: transform; }
.fly > i { position: absolute; left: 0; top: 0; width: 0; height: 0; will-change: transform, opacity; }
.fly .chp { left: calc(var(--z) / -2); top: calc(var(--z) / -2); }

/* ---------- multiplicateur : l'éclair tombe, la case s'embrase et reste chargée ---------- */
.bolts { position: fixed; left: 0; top: 0; width: 100%; height: 100%; z-index: 39; pointer-events: none; overflow: visible; }
.bolts .bolt path { fill: none; stroke-linecap: round; stroke-linejoin: miter; stroke-dasharray: 1; stroke-dashoffset: 1; animation: boltDraw .08s linear forwards, boltFade .4s .08s ease-out forwards; }
.bolts .bolt { filter: drop-shadow(0 0 5px rgba(255,190,40,.9)); }
.bolts .bolt .halo { stroke: #ffa800; stroke-width: 15; opacity: .2; }
.bolts .bolt .mid { stroke: #ffd34d; stroke-width: 5.5; opacity: .55; }
.bolts .bolt .core { stroke: #fffdf0; stroke-width: 3; }
.bolts .bolt .fork { stroke: #fff3b0; stroke-width: 1.5; opacity: .9; }
.bolts .bolt.echo .halo { stroke-width: 8; opacity: .16; } .bolts .bolt.echo .mid { stroke-width: 3; opacity: .5; } .bolts .bolt.echo .core { stroke-width: 1.2; }
@keyframes boltDraw { to { stroke-dashoffset: 0; } }
@keyframes boltFade { 0% { opacity: 1; } 18% { opacity: .2; } 34% { opacity: 1; } 55% { opacity: .5; } 100% { opacity: 0; } }
.c .mult { position: absolute; left: 50%; top: -9px; z-index: 5; transform: translateX(-50%); display: flex; align-items: center; gap: 1px; padding: 1px 7px 1px 3px; border-radius: 10px; white-space: nowrap; pointer-events: none;
  background: linear-gradient(180deg, #fffbe0, #ffd84a 48%, #e89500); box-shadow: 0 0 0 1px #fff3b0, 0 0 12px 1px rgba(255,190,40,.85), 0 2px 4px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.8); transition: filter .4s, opacity .4s; }
.c .mult::before { content: ""; width: 11px; height: 12px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 1.5L4 14h6l-1.5 8.5L19 9.5h-6z' fill='%235a3200'/%3E%3C/svg%3E") 50% 50% / contain no-repeat; }
.c .mult b { font-size: 13.5px; font-weight: 900; line-height: 16px; letter-spacing: -.3px; color: #3d2200; font-variant-numeric: tabular-nums; }
.c.lit { border-color: #ffe27a; z-index: 2; box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 0 0 1px rgba(255,226,122,.5), 0 0 0 1px #ffe27a, 0 0 14px 1px rgba(255,186,40,.55), 0 3px 6px rgba(0,0,0,.35); }
.c.lit .pay { display: none; }
.c.lit .ci { transform: translateY(3px); }
.c.lit.total::after { display: none; }
.c.lit .cfx::before { opacity: 1; background: radial-gradient(ellipse 110% 90% at 50% 0%, rgba(255,232,140,.62), rgba(255,170,20,.26) 55%, rgba(255,140,0,.1)); animation: charge 1.3s ease-in-out infinite; transition: none; }
.c.lit .cfx::after { animation: chargeSweep 2.6s ease-in-out infinite; }
@keyframes charge { 0%, 100% { opacity: .62; } 50% { opacity: 1; } }
@keyframes chargeSweep { 0%, 55% { opacity: 1; transform: translateX(-130%) skewX(-18deg); } 100% { opacity: 1; transform: translateX(330%) skewX(-18deg); } }
/* impact : éclat blanc, onde de choc, la valeur s'imprime */
.c .zap { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px; z-index: 5; pointer-events: none; border-radius: 50%; background: radial-gradient(circle, #fff 0, rgba(255,240,170,.9) 18%, rgba(255,180,20,.45) 42%, rgba(255,160,0,0) 68%); animation: zap .5s ease-out forwards; }
.c .zap::after { content: ""; position: absolute; inset: 22%; border-radius: 50%; border: 2px solid #fff3b0; animation: zapRing .5s ease-out forwards; }
@keyframes zap { 0% { transform: scale(.25); opacity: 1; } 30% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes zapRing { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(2); opacity: 0; } }
.c.strike .mult { animation: stamp .52s cubic-bezier(.2,1.5,.35,1); }
.c.strike .ci { animation: struck .4s ease-out; }
@keyframes stamp { 0% { transform: translateX(-50%) scale(3.4) rotate(-9deg); opacity: 0; } 48% { transform: translateX(-50%) scale(.88) rotate(2deg); opacity: 1; } 100% { transform: translateX(-50%) scale(1); } }
@keyframes struck { 0% { transform: translateY(0); } 20% { transform: translateY(3px) scale(.95); } 100% { transform: none; } }

/* ---------- résultat : les gagnantes s'allument en cascade, les perdantes s'éteignent ---------- */
.c.win { border-color: #fff6cf; z-index: 3; box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 0 0 1.5px #fff3b0, 0 0 18px 3px rgba(255,206,80,.7), 0 3px 6px rgba(0,0,0,.35); }
.c.win .cfx::before { opacity: 1; background: radial-gradient(ellipse 72% 72% at 50% 50%, rgba(255,226,140,.06) 0, rgba(255,214,90,.2) 62%, rgba(255,240,180,.55) 100%), linear-gradient(180deg, rgba(255,236,170,.2), rgba(255,236,170,0) 40%); animation: winGlow 1.1s ease-in-out infinite; transition: none; }
.c.win .cfx::after { animation: cellSweep .6s ease-out; }
.c.win .ci { animation: winPop .5s cubic-bezier(.3,1.7,.5,1); }
.c.win .pay { color: #fff6cf; opacity: 1; }
.c.win.lit { box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 0 0 2px #fff, 0 0 26px 6px rgba(255,190,40,.95), 0 3px 6px rgba(0,0,0,.35); }
.c.win.lit .mult { animation: multWin .7s ease-in-out infinite alternate; }
@keyframes winGlow { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
@keyframes winPop { 0% { transform: scale(1); } 40% { transform: scale(1.18); } 100% { transform: scale(1); } }
@keyframes multWin { from { transform: translateX(-50%) scale(1); } to { transform: translateX(-50%) scale(1.14); } }
.c.dim { border-color: rgba(243,217,120,.16); }
.c.dim .cfx { background-color: rgba(8,1,3,.56); }
.c.dim .ci, .c.dim .pay { opacity: .34; }
.c.dim.total::after { opacity: .2; }
.c.dim.lit { box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 0 0 1px rgba(0,0,0,.4), 0 1px 0 rgba(0,0,0,.55); }
.c.dim.lit .cfx::before, .c.dim.lit .cfx::after { animation: none; opacity: 0; }
.c.dim .mult { filter: grayscale(1) brightness(.7); opacity: .55; box-shadow: none; }
.c .gain { position: absolute; left: 50%; bottom: -9px; z-index: 6; transform: translateX(-50%); padding: 2px 8px; border-radius: 10px; white-space: nowrap; font-size: 11px; font-weight: 900; color: #06310f; background: linear-gradient(180deg, #b6ffcd, #3fd874 55%, #17a348); box-shadow: 0 0 0 1px rgba(255,255,255,.55), 0 3px 8px rgba(0,0,0,.5), 0 0 12px rgba(80,255,150,.5); animation: gainIn .5s cubic-bezier(.2,1.6,.4,1); pointer-events: none; }
@keyframes gainIn { 0% { transform: translate(-50%, -12px) scale(.4); opacity: 0; } 100% { transform: translate(-50%, 0) scale(1); opacity: 1; } }

/* =====================================================================================================================
   SIÈGES des joueurs simulés (table solo) : de part et d'autre du tapis sur ordinateur, en rangée sur téléphone
   ===================================================================================================================== */
.bots-band { align-self: stretch; display: flex; justify-content: center; gap: 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.bots-band::-webkit-scrollbar { display: none; }
.bhead { display: none; }
.bseat { position: relative; flex: 0 0 auto; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; column-gap: 8px; padding: 4px 12px 4px 5px; border-radius: 999px; background: rgba(0,0,0,.4); border: 1px solid rgba(243,217,120,.24); animation: seatIn .4s cubic-bezier(.3,1.4,.5,1); transition: border-color .3s, background-color .3s; }
@keyframes seatIn { from { opacity: 0; transform: translateY(8px) scale(.85); } to { opacity: 1; transform: none; } }
.bav { display: block; width: 30px; height: 30px; border-radius: 50%; box-shadow: 0 0 0 2px var(--c), 0 0 0 3px rgba(0,0,0,.5), 0 3px 6px rgba(0,0,0,.5); transition: opacity .3s, filter .3s; }
.bseat.bet .bav { animation: seatBet .3s cubic-bezier(.3,1.6,.5,1); }
@keyframes seatBet { 0% { transform: scale(1); } 40% { transform: scale(1.16) translateX(2px); } 100% { transform: scale(1); } }
.binfo { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.bname { font-size: 12px; font-weight: 800; color: #fff; }
.bbet { font-size: 11px; font-weight: 700; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.bbet::before { content: attr(data-l) " "; font-weight: 600; opacity: .75; }
.blast { min-width: 30px; text-align: right; font-size: 12px; font-weight: 800; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.blast.pos { color: #7dffa9; } .blast.neg { color: #ff9aa6; }
.bseat.win { border-color: var(--gold); background: rgba(212,175,55,.22); }
.bseat.win .blast, .bseat.lose .blast { animation: sayPop .35s ease-out; }
.bseat.out .bav { opacity: .5; filter: grayscale(.7); }
.bsay { position: absolute; left: 22px; top: -8px; display: none; align-items: center; background: linear-gradient(180deg, #fffaf0, #f3e3c2); color: #2a1206; font-size: 10px; font-weight: 800; line-height: 1; padding: 3px 6px; border-radius: 9px 9px 9px 2px; box-shadow: 0 3px 10px rgba(0,0,0,.45); white-space: nowrap; z-index: 2; pointer-events: none; }
.bsay.on { display: flex; animation: sayPop .3s ease-out; }
.bsay i { display: none; }
@media (min-width: 1100px) {
  /* sièges dans les marges du tapis : pairs à gauche, impairs à droite */
  .sb.has-bots .sb-table { padding-left: 80px; padding-right: 80px; }
  .bots-band { position: absolute; inset: 0; overflow: visible; pointer-events: none; }
  .bseat { position: absolute; width: 60px; grid-template-columns: auto; justify-items: center; row-gap: 2px; padding: 6px 2px 5px; border-radius: 12px; background: linear-gradient(180deg, rgba(0,0,0,.5), rgba(0,0,0,.28)); }
  .bseat[data-slot="0"] { left: 11px; top: 13px; } .bseat[data-slot="2"] { left: 11px; top: 105px; } .bseat[data-slot="4"] { left: 11px; top: 197px; }
  .bseat[data-slot="1"] { right: 11px; top: 13px; } .bseat[data-slot="3"] { right: 11px; top: 105px; }
  .bav { width: 34px; height: 34px; }
  .binfo { align-items: center; }
  .bname { font-size: 9.5px; font-weight: 700; color: var(--muted); max-width: 54px; overflow: hidden; text-overflow: ellipsis; }
  .bbet::before { content: none; }
  .bbet, .blast { min-width: 0; text-align: center; font-size: 11px; line-height: 13px; color: #fff; }
  .bseat[data-show="last"] .bbet, .bseat[data-show="bet"] .blast { display: none; }
  .bsay { left: 50%; top: -12px; margin-left: -6px; }
  .bseat[data-slot="1"] .bsay, .bseat[data-slot="3"] .bsay { left: auto; right: 50%; margin: 0 -6px 0 0; border-radius: 9px 9px 2px 9px; }
}
@media (max-width: 1099px) {
  .bseat { grid-template-columns: auto; justify-items: center; row-gap: 2px; min-width: 52px; padding: 2px 4px 1px; border-radius: 10px; border-color: transparent; background: none; }
  .bseat.win { background: rgba(212,175,55,.18); }
  .bav { width: 26px; height: 26px; }
  .bname { display: none; }
  .bbet::before { content: none; }
  .bbet, .blast { min-width: 0; text-align: center; font-size: 10px; line-height: 12px; }
  .bbet { color: #fff; }
  .bseat[data-show="last"] .binfo, .bseat[data-show="bet"] .blast { display: none; }
  .bsay { left: 50%; top: -4px; margin-left: 4px; }
}

/* =====================================================================================================================
   COMMANDES : râtelier de jetons, boutons laqués, lancer en laiton, plaque du total misé
   ===================================================================================================================== */
.controls { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; padding: 8px 14px; border-radius: 16px; border: 1px solid transparent;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,0) 30%) padding-box, linear-gradient(180deg, #30080e, #140305) padding-box, linear-gradient(135deg, rgba(243,217,120,.75), rgba(120,80,20,.45) 40%, rgba(243,217,120,.55)) border-box;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.5), 0 12px 28px rgba(0,0,0,.45); }
.chip-tray { display: flex; gap: 9px; padding: 7px 12px 9px; border-radius: 999px; background: linear-gradient(180deg, rgba(0,0,0,.6), rgba(0,0,0,.3)); border: 1px solid rgba(243,217,120,.22); box-shadow: inset 0 3px 7px rgba(0,0,0,.65), 0 1px 0 rgba(255,255,255,.06); transition: opacity .3s; }
.chip-tray.dim { opacity: .4; pointer-events: none; }
.chip-btn { position: relative; width: 46px; height: 46px; border-radius: 50%; flex: none; transition: transform .16s cubic-bezier(.3,1.5,.5,1); }
.chip-btn .chp { --z: 46px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.4), 0 2px 0 var(--d), 0 4px 0 rgba(0,0,0,.5), 0 8px 10px rgba(0,0,0,.5); }
.chip-btn.active { transform: translateY(-7px) scale(1.08); }
@media (hover: hover) { .chip-btn:hover { transform: translateY(-5px) scale(1.05); } .chip-btn.active:hover { transform: translateY(-7px) scale(1.08); } }
.chip-btn.active::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid #ffe27a; box-shadow: 0 0 12px rgba(255,214,90,.7), inset 0 0 6px rgba(255,214,90,.4); }
.chip-btn.active::before { content: ""; position: absolute; left: 12%; right: 12%; bottom: -11px; height: 8px; border-radius: 50%; background: radial-gradient(ellipse, rgba(0,0,0,.7), rgba(0,0,0,0) 70%); }
.ctrl-group { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center; }
.ctl { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 44px; padding: 0 15px; border-radius: 11px; color: #f7e9d2; font-weight: 800; font-size: 13px; white-space: nowrap; border: 1px solid rgba(243,217,120,.34);
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,0) 46%, rgba(0,0,0,.22)), linear-gradient(180deg, #4a0b14, #24050a);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 2px 0 #120204, 0 5px 9px rgba(0,0,0,.4); transition: border-color .15s, transform .08s, opacity .2s; }
.ctl svg { width: 17px; height: 17px; flex: none; color: var(--gold-2); }
@media (hover: hover) { .ctl:hover { border-color: rgba(255,233,168,.9); } }
.ctl:active { transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 0 0 #120204, 0 2px 4px rgba(0,0,0,.4); }
.ctl:disabled { opacity: .38; pointer-events: none; }
.ctl.primary { width: 168px; height: 48px; padding: 0 8px; font-size: 16px; font-weight: 900; letter-spacing: 1.6px; color: #2f1c00; border-color: #fff3b0; text-shadow: 0 1px 0 rgba(255,255,255,.45);
  background: linear-gradient(180deg, #fff6c9, #f3d978 34%, #d4af37 62%, #a67c17); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), inset 0 -3px 0 rgba(110,74,0,.4), 0 3px 0 #5a3d08, 0 8px 18px rgba(212,175,55,.3); }
.ctl.primary svg { color: #2f1c00; width: 19px; height: 19px; }
.ctl.primary:active { box-shadow: inset 0 1px 0 rgba(255,255,255,.8), inset 0 -3px 0 rgba(110,74,0,.4), 0 1px 0 #5a3d08; }
.ctl.primary:disabled { opacity: .45; filter: saturate(.5); }
#newRoundBtn { font-size: 13px; letter-spacing: .5px; }
@media (min-width: 901px) { .controls { flex-wrap: nowrap; } .ctrl-group { flex-wrap: nowrap; flex: none; } .my-bets { flex: 0 1 300px; } }
.my-bets { display: flex; align-items: center; gap: 10px; min-width: 0; max-width: 300px; }
.mb-total { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; padding: 5px 12px; border-radius: 10px; background: rgba(0,0,0,.42); border: 1px solid rgba(243,217,120,.24); box-shadow: inset 0 2px 5px rgba(0,0,0,.55); }
.mb-total span { font-size: 9px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }
.mb-total b { font-size: 16px; font-weight: 900; color: var(--gold-2); font-variant-numeric: tabular-nums; line-height: 1.1; }
.mb-total b.bump { animation: beat .3s cubic-bezier(.3,1.6,.5,1); }
.mb-list { display: flex; flex-wrap: wrap; gap: 3px; max-height: 44px; overflow: hidden; min-width: 0; -webkit-mask-image: linear-gradient(180deg, #000 70%, rgba(0,0,0,0)); mask-image: linear-gradient(180deg, #000 70%, rgba(0,0,0,0)); }
.mb-list .mybet { font-size: 10.5px; color: var(--muted); background: rgba(0,0,0,.35); border: 1px solid var(--border); border-radius: 8px; padding: 2px 6px; white-space: nowrap; }
.mb-list .mybet b { color: #fff; font-weight: 800; }
.toasts { position: fixed; top: auto; bottom: 86px; left: 0; right: 0; z-index: 30; }

/* statistiques (fenêtre) : fréquence des totaux en barres ; étiquettes de multiplicateur */
.freq { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 3px; height: 120px; align-items: end; }
.fbar { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 2px; font-size: 10px; }
.fbar i { display: block; width: 100%; min-height: 2px; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #7db6ff, #1e63ff); }
.fbar.bg i { background: linear-gradient(180deg, #ff8b98, #c8102e); }
.fbar b { color: #fff; } .fbar small { color: var(--muted); }
.xtag { display: inline-block; background: rgba(243,217,120,.18); border: 1px solid rgba(243,217,120,.5); color: var(--gold-2); border-radius: 8px; padding: 0 5px; font-size: 10px; font-weight: 800; white-space: nowrap; }
.fair-rows tr[data-row] { cursor: pointer; }
.fair-rows tr[data-row]:hover td { background: rgba(255,255,255,.04); }
.modal-body code { font-family: ui-monospace, Menlo, monospace; font-size: 11px; }
.modal-body .dd { vertical-align: middle; }

/* =====================================================================================================================
   ADAPTATIONS
   ===================================================================================================================== */
/* ordinateur étroit : scène resserrée */
@media (max-width: 1199px) {
  .sb-top { grid-template-columns: 200px minmax(0, 1fr) 318px; }
  .dealer-art { width: 196px; height: 224px; margin-left: -98px; }
  .dealer-say { left: calc(50% + 58px); max-width: 168px; }
  .sb-stage { gap: 14px; }
  .sb-stage::before { background: radial-gradient(ellipse 170px 100% at calc(50% - 92px) 0, rgba(255,232,180,.13), rgba(255,232,180,0) 100%); }
  .sb-info { width: 170px; }
  .limits { left: calc(50% - 92px); }
  .sb-side { grid-template-columns: 140px minmax(0, 1fr); }
  .lantern.lb { left: 214px; } .lantern.lc { right: 338px; }
}
@media (min-width: 1024px) {
  .hist .h:nth-child(n+6) { display: none; }
  .hist .h.ghost:nth-child(n+6) { display: none; }
  .hist { position: relative; }
  .hist .hnote { position: absolute; left: 6px; right: 6px; top: 50%; transform: translateY(-50%); padding: 7px 6px; border-radius: 8px; background: rgba(14,4,4,.86); border: 1px solid rgba(243,217,120,.2); }
}

/* grand écran : toute la table monte d'un cran pour occuper la hauteur disponible */
@media (min-width: 1560px) and (min-height: 1000px) {
  :root { --cs: 36px; --cb: 20px; }
  .sb { max-width: 1500px; gap: 12px; padding-top: 12px; }
  .sb-top { height: 292px; grid-template-columns: 284px minmax(0, 1fr) 430px; }
  .counter { --ct: 26px; height: 54px; }
  .dealer-art { width: 244px; height: 279px; margin-left: -122px; bottom: 16px; }
  .dealer-say { left: calc(50% + 84px); top: 20px; max-width: 232px; font-size: 13.5px; padding: 10px 14px; }
  .lantern.la { font-size: 10px; } .lantern.lb { left: 300px; font-size: 7.5px; } .lantern.lc { right: 452px; font-size: 9px; }
  .sb-stage { gap: 36px; padding-bottom: 18px; }
  .sb-stage::before { background: radial-gradient(ellipse 200px 100% at calc(50% - 140px) 0, rgba(255,232,180,.13), rgba(255,232,180,0) 100%); }
  .shaker { --u: 1.2px; }
  .limits { left: calc(50% - 140px); bottom: 5px; font-size: 9px; }
  .sb-info { width: 244px; min-height: 196px; }
  .count { width: 76px; height: 76px; } .count b { font-size: 31px; }
  .table-status { font-size: 18px; } .table-status[data-long] { font-size: 15.5px; }
  .timer-bar { width: 160px; height: 5px; }
  .mult-log .ml { font-size: 11.5px; }
  .res-dice { height: 40px; gap: 7px; } .res-dice .slot, .res-dice .slot .die-svg { width: 38px; height: 38px; }
  .res-total { width: 86px; height: 86px; } .res-total b { font-size: 40px; }
  .res-tags .tag { font-size: 12.5px; padding: 4px 11px; } .res-tags .tag.oe { padding: 3px 10px; }
  .result-banner .rme { font-size: 13.5px; } .result-banner .rme b { font-size: 17px; }
  .sb-side { grid-template-columns: 176px minmax(0, 1fr); padding: 11px 14px 12px; column-gap: 13px; row-gap: 8px; }
  .side-head { font-size: 11px; } .side-head small { font-size: 10.5px; }
  .hist { gap: 5px; }
  .hist .h { height: 34px; gap: 8px; padding: 0 8px 0 6px; } .hist .h .dd .die-svg { width: 22px; height: 22px; } .hist .h b { font-size: 17px; } .hist .h em { width: 21px; height: 21px; font-size: 11px; }
  .hist .h.last { height: 42px; } .hist .h.last .dd .die-svg { width: 27px; height: 27px; } .hist .h.last b { font-size: 23px; }
  .road-wrap { --bd: 16px; padding: 5px; background-position: 5px 5px; background: radial-gradient(circle at 50% 50%, rgba(0,0,0,0) 0 5.6px, rgba(243,217,120,.15) 6px 6.8px, rgba(0,0,0,0) 7.4px) 5px 5px / 18px 18px local, rgba(0,0,0,.42); }
  .road i { font-size: 9px; }
  .pct { font-size: 11px; } .pct .seg { height: 8px; } .pct .lg { font-size: 11px; }
  .freqmini .fb small { font-size: 9px; line-height: 12px; }
  .sb-table { padding: 15px 18px; }
  .sb.has-bots .sb-table { padding-left: 92px; padding-right: 92px; }
  .bseat { width: 70px; } .bav { width: 40px; height: 40px; } .bname { font-size: 10.5px; max-width: 64px; } .bbet, .blast { font-size: 12.5px; line-height: 15px; }
  .bseat[data-slot="0"], .bseat[data-slot="1"] { top: 16px; } .bseat[data-slot="2"], .bseat[data-slot="3"] { top: 124px; } .bseat[data-slot="4"] { top: 232px; }
  .sb-grid { max-width: 1290px; grid-template-columns: 136px minmax(0, 1fr) 136px; gap: 7px; }
  .r-top, .r-triples, .r-doubles, .r-totals, .r-combos, .r-singles { gap: 7px; }
  .c { border-radius: 10px; }
  .c .pay { font-size: 12px; }
  .c.side .ci b { font-size: 31px; } .c.side .ci span { font-size: 14px; } .c.side .pay { font-size: 14px; padding: 3px 11px; }
  .c.triple, .c.double, .c.any { min-height: 64px; }
  .c.triple .dd .die-svg { width: 27px; height: 27px; } .c.double .dd .die-svg { width: 31px; height: 31px; }
  .c.any .ci b { font-size: 14px; } .dd.ghost .die-svg { width: 16px; height: 16px; }
  .c.total { min-height: 72px; } .c.total .ci b { font-size: 31px; }
  .c.combo { min-height: 54px; } .c.combo .dd .die-svg { width: 26px; height: 26px; }
  .c.single { min-height: 72px; } .c.single .dd .die-svg { width: 40px; height: 40px; } .c.single .pay { font-size: 11px; }
  .c .mult { top: -10px; } .c .mult b { font-size: 15.5px; line-height: 19px; } .c .mult::before { width: 13px; height: 14px; }
  .c .gain { font-size: 13px; padding: 2px 10px; bottom: -11px; }
  .controls { padding: 10px 18px; gap: 20px; }
  .chip-tray { gap: 11px; padding: 8px 14px 10px; }
  .chip-btn { width: 54px; height: 54px; } .chip-btn .chp { --z: 54px; }
  .ctl { height: 50px; padding: 0 18px; font-size: 14.5px; } .ctl svg { width: 19px; height: 19px; }
  .ctl.primary { width: 196px; height: 54px; font-size: 18px; } #newRoundBtn { font-size: 15px; }
  .mb-total { padding: 6px 14px; } .mb-total b { font-size: 19px; } .mb-total span { font-size: 10px; }
  .mb-list .mybet { font-size: 12px; }
}

/* tablette et téléphone : la scène sur deux rangées (croupière + shaker, puis les résultats sur la façade du comptoir) */
@media (max-width: 1023px) {
  .sb-top { grid-template-columns: 200px minmax(0, 1fr); grid-template-rows: 232px auto; height: auto; row-gap: 0; }
  .counter { --ct: 22px; top: 186px; height: auto; }
  .dealer-art { width: 196px; height: 224px; margin-left: -98px; }
  .dealer-say { left: calc(50% + 58px); max-width: 168px; }
  .sb-stage { gap: 18px; }
  .sb-stage::before { background: radial-gradient(ellipse 170px 100% at calc(50% - 100px) 0, rgba(255,232,180,.13), rgba(255,232,180,0) 100%); }
  .sb-info { width: 180px; }
  .limits { display: none; }
  .lantern.lb { left: 214px; } .lantern.lc { right: 16px; }
  .sb-side { grid-column: 1 / -1; align-self: stretch; height: auto; margin: 2px 9px 9px; grid-template-columns: minmax(0, 1fr) 132px 150px; grid-template-rows: auto auto; gap: 6px 10px; padding: 7px 9px 8px; }
  .side-head { display: none; }
  .side-stats { display: contents; }
  /* derniers tirages : pastilles du total sur trois petits dés, du plus récent au plus ancien */
  .hist { grid-column: 1 / -1; flex-direction: row; gap: 5px; position: relative; }
  .hist .h { flex: 1 1 0; min-width: 0; max-width: 62px; height: auto; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 3px 1px 4px; }
  .hist .h.last { height: auto; }
  .hist .h b { order: -1; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; text-align: center; color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 1px 2px rgba(0,0,0,.5); }
  .hist .h.last b { font-size: 13px; width: 26px; height: 26px; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 0 0 2px #fff3b0, 0 1px 2px rgba(0,0,0,.5); color: #fff; }
  .hist .h.bg b { background: radial-gradient(circle at 35% 28%, #ff7b8a, #c8102e 60%, #7d0a1c); }
  .hist .h.sm b { background: radial-gradient(circle at 35% 28%, #8fc4ff, #1e63ff 60%, #123a9c); }
  .hist .h.tri b { background: radial-gradient(circle at 35% 28%, #fff6c9, #d4af37 60%, #8a6414); color: #2a1a00; }
  .hist .h em { display: none; }
  .hist .h .dd { gap: 1px; } .hist .h .dd .die-svg, .hist .h.last .dd .die-svg { width: 12px; height: 12px; }
  .hist .h.enter { animation: histInX .6s cubic-bezier(.2,1.2,.3,1); }
  .hist.push .h:not(.enter) { animation: histPushX .45s cubic-bezier(.2,.9,.3,1); }
  .hist .h.ghost b { background: none; box-shadow: none; border: 1px dashed rgba(243,217,120,.3); }
  .hist .h.ghost .dd i { width: 10px; height: 10px; border-radius: 3px; }
  .hist .hnote { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 5px 10px; border-radius: 8px; background: rgba(14,4,4,.88); border: 1px solid rgba(243,217,120,.2); white-space: nowrap; }
  .road-wrap { align-self: start; }
  .pct { align-self: center; }
  .freqmini { min-height: 0; height: 100%; }
}
@keyframes histInX { 0% { transform: translateX(-120%) scale(1.1); opacity: 0; } 60% { transform: translateX(4%) scale(1.03); opacity: 1; } 100% { transform: none; } }
@keyframes histPushX { 0% { transform: translateX(-40px); } 100% { transform: none; } }

/* grille empilée : les quatre grandes cases en tête, commandes collées au bas de l'écran */
@media (max-width: 900px) {
  :root { --cs: 24px; --cb: 14px; }
  .amb { display: none; }
  .sb-table { margin: 4px; padding: 10px 7px; border-width: 5px; border-radius: 16px; gap: 6px; }
  .tb-corner { display: none; }
  .sb-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "small big" "odd even" "top top" "totals totals" "combos combos" "singles singles"; gap: 5px; }
  .r-top, .r-triples, .r-doubles, .r-totals, .r-combos, .r-singles { gap: 5px; }
  .r-totals { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .r-doubles { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); }
  .c { min-height: 42px; padding: 3px 1px; border-radius: 8px; }
  .c.side { min-height: 54px; padding: 4px 8px; flex-direction: row; gap: 10px; }
  .c.side .ci { gap: 3px; }
  .c.side .ci b { font-size: 20px; letter-spacing: 1.5px; }
  .c.side .ci span { font-size: 10.5px; }
  .c.side .pay { font-size: 11px; padding: 2px 7px; }
  .c { --sy: 66%; } .c.side { --sx: 91%; --sy: 50%; --px: -.78; }
  .c.triple, .c.double, .c.any { min-height: 48px; }
  .c.triple .dd .die-svg { width: clamp(11px, 3.85vw, 16px); height: clamp(11px, 3.85vw, 16px); }
  .c.double .dd .die-svg { width: clamp(15px, 4.9vw, 20px); height: clamp(15px, 4.9vw, 20px); }
  .c.total { min-height: 50px; gap: 3px; }
  .c.total .ci b { font-size: 21px; }
  .c.combo { min-height: 44px; }
  .c.combo .dd .die-svg { width: 19px; height: 19px; }
  .c.single { min-height: 58px; }
  .c.single .dd .die-svg { width: 28px; height: 28px; }
  .dd { gap: 2px; filter: none; }
  .sh-caustic { animation: none; }
  .dd.ghost .die-svg { width: 10px; height: 10px; }
  .c .pay { font-size: 9px; }
  .c.single .pay { font-size: 8px; letter-spacing: .2px; }
  .c.any .ci b { font-size: 9.5px; letter-spacing: .8px; }
  .c .mult { top: -8px; padding: 0 5px 0 2px; } .c .mult b { font-size: 11px; line-height: 14px; } .c .mult::before { width: 9px; height: 10px; }
  .c .gain { font-size: 10px; padding: 1px 6px; bottom: -8px; }
  .c .zap { width: 90px; height: 90px; margin: -45px 0 0 -45px; }
  .stk .chp { transform: translateY(calc(var(--i, 0) * -2.5px)); }
  .controls { position: sticky; bottom: 5px; z-index: 6; gap: 7px 10px; padding: 7px 8px; }
  .chip-tray { order: 1; } .my-bets { order: 2; } .ctrl-group { order: 3; flex-basis: 100%; }
  .chip-tray { gap: 7px; padding: 6px 10px 7px; }
  .chip-btn { width: 40px; height: 40px; } .chip-btn .chp { --z: 40px; }
  .ctl { height: 42px; padding: 0 12px; font-size: 12px; }
  .ctl.primary { width: 132px; height: 44px; font-size: 14px; } #newRoundBtn { font-size: 11.5px; letter-spacing: .2px; }
  .my-bets .mb-list { display: none; }
  .toasts { bottom: 128px; }
}

/* téléphone en portrait */
@media (max-width: 699px) {
  .sb { gap: 7px; padding: 6px; }
  .sb-top { grid-template-columns: 90px minmax(0, 1fr); grid-template-rows: 166px auto; border-radius: 16px; }
  .scene-bg { border-radius: 15px; }
  .counter { --ct: 16px; top: 134px; border-radius: 0 0 15px 15px; }
  .lantern.la { left: 2px; font-size: 6.5px; } .lantern.lb { display: none; } .lantern.lc { right: 8px; font-size: 6px; }
  .dealer-art { width: 112px; height: 128px; margin-left: -48px; bottom: 22px; }
  .dealer-fig { filter: drop-shadow(0 0 10px rgba(255,170,90,.2)) drop-shadow(5px 6px 8px rgba(0,0,0,.55)); }
  /* la bulle surgit puis s'efface : pas de place pour la laisser à demeure */
  .dealer-say { left: 84px; top: 5px; max-width: 170px; padding: 5px 9px; font-size: 10.5px; border-radius: 11px 11px 11px 3px; opacity: 0; pointer-events: none; }
  .dealer-say.pop { animation: sayPhone 2.9s ease-out forwards; }
  .sb-stage { gap: 4px; padding-bottom: 12px; justify-content: flex-start; }
  .sb-stage::before { bottom: 24px; background: radial-gradient(ellipse 110px 100% at 80px 0, rgba(255,232,180,.14), rgba(255,232,180,0) 100%); }
  .shaker { --u: .62px; }
  .sb-info { width: auto; flex: 1 1 0; min-width: 0; min-height: 124px; margin-bottom: 8px; overflow: hidden; }
  .info-live { gap: 6px; }
  .count { width: 48px; height: 48px; } .count b { font-size: 20px; }
  .table-status { font-size: 11.5px; letter-spacing: 1.3px; max-width: 100%; }
  .table-status[data-long] { font-size: 9.5px; letter-spacing: .3px; }
  .timer-bar { width: 84px; height: 3px; }
  .mult-log { display: none !important; }
  .result-banner { gap: 5px; }
  .res-dice { gap: 3px; height: 24px; } .res-dice .slot, .res-dice .slot .die-svg { width: 23px; height: 23px; } .res-dice .slot { border-radius: 6px; }
  .res-total { width: 52px; height: 52px; border-width: 3px; } .res-total b { font-size: 25px; }
  .res-total .rays { inset: -22px; }
  .res-tags { gap: 3px; min-height: 16px; } .res-tags .tag { padding: 2px 6px; font-size: 9px; letter-spacing: .8px; border-radius: 8px; } .res-tags .tag.oe { padding: 1px 5px; }
  .result-banner .rme { font-size: 10px; min-height: 12px; line-height: 1.15; } .result-banner .rme b { font-size: 12px; }
  .sb-side { margin: 0 7px 7px; grid-template-columns: minmax(0, 1fr) 112px; padding: 6px 7px 7px; gap: 5px 8px; border-radius: 10px; }
  .hist { gap: 3px; }
  .hist .h { padding: 3px 0 4px; border-radius: 7px; }
  .hist .h b { width: 22px; height: 22px; font-size: 11px; } .hist .h.last b { width: 24px; height: 24px; font-size: 12px; }
  .hist .h .dd .die-svg, .hist .h.last .dd .die-svg { width: 10px; height: 10px; }
  .road-wrap { --bd: 10px; padding: 3px; background-position: 3px 3px; }
  .road i { font-size: 6px; }
  .road-wrap { background: radial-gradient(circle at 50% 50%, rgba(0,0,0,0) 0 3.2px, rgba(243,217,120,.15) 3.6px 4.2px, rgba(0,0,0,0) 4.7px) 3px 3px / 12px 12px local, rgba(0,0,0,.42); }
  .freqmini { display: none; }
  .pct .lg { flex-direction: column; gap: 1px; font-size: 10px; }
  .pct .lg small { display: none; }
  .controls { border-radius: 14px; gap: 6px 8px; padding: 6px 6px 7px; }
  .chip-tray { gap: 6px; padding: 5px 9px 6px; }
  .chip-btn { width: 38px; height: 38px; } .chip-btn .chp { --z: 38px; }
  .chip-btn.active { transform: translateY(-5px) scale(1.07); }
  .my-bets { max-width: none; }
  .mb-total { padding: 3px 9px; } .mb-total span { font-size: 8px; } .mb-total b { font-size: 14px; }
  .ctrl-group { gap: 5px; flex-wrap: nowrap; width: 100%; }
  .ctl { flex: 1 1 0; min-width: 0; height: 42px; padding: 0 2px; flex-direction: column; gap: 2px; font-size: 9.5px; font-weight: 700; border-radius: 10px; }
  .ctl svg { width: 15px; height: 15px; }
  .ctl.primary { flex: 1.8 1 0; width: auto; min-width: 0; height: 42px; flex-direction: row; gap: 6px; font-size: 13.5px; letter-spacing: 1px; } #newRoundBtn { font-size: 11px; letter-spacing: 0; white-space: normal; line-height: 1.1; }
  .ctl.primary svg { width: 17px; height: 17px; }
  .toasts { bottom: 122px; }
}
@media (max-width: 379px) {
  .sb-top { grid-template-columns: 80px minmax(0, 1fr); }
  .dealer-art { margin-left: -46px; }
  .shaker { --u: .58px; }
  .c.total .ci b { font-size: 19px; }
  .c.side .ci b { font-size: 18px; letter-spacing: 1px; }
  .c.any .ci b { font-size: 8.5px; letter-spacing: .4px; }
  .c.single .dd .die-svg { width: 24px; height: 24px; }
  .c.single .pay { font-size: 7.5px; letter-spacing: 0; }
  .chip-tray { gap: 4px; padding: 5px 7px 6px; }
  .chip-btn { width: 34px; height: 34px; } .chip-btn .chp { --z: 34px; }
  .ctl { font-size: 9px; } .ctl.primary { font-size: 12.5px; letter-spacing: .6px; }
}
@keyframes sayPhone { 0% { transform: scale(.6) translate(-10px, 6px); opacity: 0; } 9% { transform: none; opacity: 1; } 82% { opacity: 1; } 100% { opacity: 0; } }
@media (min-width: 700px) { .sb-mini { display: none; } }
@media (orientation: landscape) and (max-height: 520px) { .sb-mini { display: none; } }

/* téléphone en paysage : la scène en colonne à gauche, tout le tapis d'un seul tenant à droite, commandes sur une ligne */
@media (orientation: landscape) and (max-height: 520px) {
  :root { --topbar-h: 40px; --cs: 22px; --cb: 13px; }
  .topbar { padding: 0 8px; }
  .logo { font-size: 16px; }
  .balance { font-size: 13px; }
  .icon-btn, .friends-btn, .avatar-btn { width: 30px; height: 30px; }
  .amb { display: none; }
  .sb { flex: none; display: grid; grid-template-columns: 214px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; gap: 5px; padding: 5px; max-width: none; height: calc(100vh - var(--topbar-h)); height: calc(100dvh - var(--topbar-h)); }
  .sb-top { grid-column: 1; grid-row: 1 / span 2; display: flex; flex-direction: column; height: auto; gap: 0; border-radius: 13px; min-height: 0; }
  .scene-bg { border-radius: 12px; }
  .lantern.la { left: 4px; font-size: 6px; } .lantern.lb { display: none; } .lantern.lc { right: 6px; font-size: 5.5px; }
  .sb-dealer { display: none; }
  .counter { --ct: 16px; top: 100px; bottom: 0; height: auto; border-radius: 0 0 12px 12px; }
  .sb-stage { flex: none; flex-direction: column; align-items: center; justify-content: flex-start; gap: 3px; padding: 7px 0 0; }
  .sb-stage::before { bottom: auto; height: 110px; background: radial-gradient(ellipse 100px 100% at 50% 0, rgba(255,232,180,.15), rgba(255,232,180,0) 100%); }
  .shaker { --u: .6px; }
  .sb-info { width: 100%; min-height: 60px; margin: 0; align-self: auto; padding: 0 6px; }
  .info-live { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 4px 8px; }
  .count { width: 40px; height: 40px; } .count b { font-size: 17px; }
  .table-status { font-size: 11px; letter-spacing: 1.2px; max-width: 132px; }
  .timer-bar { width: 160px; height: 3px; flex: none; }
  .mult-log { display: none !important; }
  .result-banner { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px 7px; }
  .res-dice { gap: 2px; height: 22px; } .res-dice .slot, .res-dice .slot .die-svg { width: 20px; height: 20px; } .res-dice .slot { border-radius: 5px; }
  .res-total { width: 40px; height: 40px; border-width: 3px; } .res-total b { font-size: 19px; }
  .res-total .rays { inset: -16px; }
  .res-tags { gap: 3px; min-height: 0; flex-direction: column; } .res-tags .tag { padding: 1px 6px; font-size: 8.5px; letter-spacing: .8px; border-radius: 7px; text-align: center; } .res-tags .tag.oe { padding: 0 5px; }
  .result-banner .rme { flex-basis: 100%; font-size: 10px; min-height: 0; line-height: 1.1; } .result-banner .rme b { font-size: 11.5px; }
  .sb-side { margin: 3px 6px 0; height: auto; align-self: stretch; display: flex; flex-direction: column; gap: 4px; padding: 5px 6px 6px; border-radius: 9px; }
  .side-head { display: none; }
  .side-stats { display: flex; flex-direction: column; gap: 4px; }
  .hist { flex-direction: row; gap: 3px; position: relative; }
  .hist .h { flex: 1 1 0; min-width: 0; height: auto; display: flex; justify-content: center; padding: 0; border: 0; background: none; box-shadow: none; }
  .hist .h.last { height: auto; background: none; box-shadow: none; }
  .hist .h .dd, .hist .h em { display: none; }
  .hist .h b { width: 19px; height: 19px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 9.5px; text-align: center; color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 1px 2px rgba(0,0,0,.5); }
  .hist .h.last b { width: 19px; height: 19px; font-size: 10px; color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 0 0 1.5px #fff3b0; }
  .hist .h.bg b { background: radial-gradient(circle at 35% 28%, #ff7b8a, #c8102e 60%, #7d0a1c); }
  .hist .h.sm b { background: radial-gradient(circle at 35% 28%, #8fc4ff, #1e63ff 60%, #123a9c); }
  .hist .h.tri b { background: radial-gradient(circle at 35% 28%, #fff6c9, #d4af37 60%, #8a6414); color: #2a1a00; }
  .hist .h.ghost b { background: none; box-shadow: none; border: 1px dashed rgba(243,217,120,.3); }
  .hist .h.enter { animation: histInX .6s cubic-bezier(.2,1.2,.3,1); }
  .hist.push .h:not(.enter) { animation: histPushX .45s cubic-bezier(.2,.9,.3,1); }
  .hist .hnote { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 2px 8px; border-radius: 7px; background: rgba(14,4,4,.9); border: 1px solid rgba(243,217,120,.2); white-space: nowrap; font-size: 9px; }
  .road-wrap { --bd: 8px; padding: 3px; align-self: stretch; background: radial-gradient(circle at 50% 50%, rgba(0,0,0,0) 0 2.5px, rgba(243,217,120,.15) 2.9px 3.4px, rgba(0,0,0,0) 3.9px) 3px 3px / 10px 10px local, rgba(0,0,0,.42); }
  .road i { font-size: 0; }
  .pct { align-self: stretch; } .pct .lg { display: none; } .pct .seg { height: 5px; }
  .freqmini { display: none; }
  .sb-table { grid-column: 2; grid-row: 1; margin: 5px 5px 4px; min-height: 0; padding: 7px 8px; border-width: 5px; border-radius: 14px; position: static; }
  .tb-corner { display: none; }
  /* les sièges des joueurs simulés passent au pied du panneau de gauche */
  .bots-band { position: absolute; left: 6px; bottom: 6px; width: 202px; gap: 1px; justify-content: space-around; overflow: hidden; z-index: 4; }
  .bseat { min-width: 34px; padding: 1px 2px 0; row-gap: 1px; }
  .bav { width: 22px; height: 22px; }
  .bbet, .blast { font-size: 9px; line-height: 11px; }
  .bsay { display: none !important; }
  .sb-grid { flex: 1; min-height: 0; max-width: none; grid-template-columns: 76px minmax(0, 1fr) 76px; grid-template-areas: "small top big" "small totals big" "odd combos even" "singles singles singles"; grid-template-rows: minmax(0, 2fr) minmax(0, 1.16fr) minmax(0, 3fr) minmax(0, 1.22fr); gap: 4px; }
  .r-top { grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); }
  .r-combos { grid-auto-rows: minmax(0, 1fr); }
  .r-totals { grid-template-columns: repeat(14, minmax(0, 1fr)); }
  .r-doubles { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)); }
  .r-top, .r-triples, .r-doubles, .r-totals, .r-combos, .r-singles { gap: 4px; }
  .c, .c.triple, .c.double, .c.any, .c.total, .c.combo, .c.single { min-height: 0; padding: 1px; border-radius: 6px; gap: 1px; }
  .c.side { flex-direction: column; gap: 3px; padding: 2px; min-height: 0; }
  .c.side .ci { gap: 2px; }
  .c.side .ci b { font-size: 16px; letter-spacing: 1px; } .c.side .ci span { font-size: 9.5px; letter-spacing: .5px; } .c.side .pay { font-size: 9.5px; padding: 1px 6px; }
  .c { --sy: 60%; } .c.side { --sx: 50%; --sy: 80%; --px: .78; } .c.combo, .c.single { --sx: 50%; --sy: 50%; }
  .c.triple .dd .die-svg { width: 14px; height: 14px; } .c.triple .dd { gap: 1px; }
  .c.double .dd .die-svg { width: 15px; height: 15px; }
  .c.total .ci b { font-size: 16px; } .c.total { gap: 1px; } .c.total::after { left: 26%; right: 26%; bottom: 1px; height: 1.5px; }
  .c.combo { flex-direction: row; gap: 6px; }
  .c.combo .dd .die-svg { width: 15px; height: 15px; }
  .c.single { flex-direction: row; gap: 6px; }
  .c.single .dd .die-svg { width: 22px; height: 22px; }
  .dd { gap: 1.5px; filter: none; }
  .dd.ghost { display: none; }
  .c .pay { font-size: 8px; }
  .c.single .pay { font-size: 7.5px; letter-spacing: 0; max-width: 34px; line-height: 1.15; }
  .c.any .ci b { font-size: 8.5px; letter-spacing: .6px; }
  .c .mult { top: -7px; padding: 0 4px 0 1px; border-radius: 7px; } .c .mult b { font-size: 10px; line-height: 12px; } .c .mult::before { width: 8px; height: 9px; }
  .c .gain { font-size: 9px; padding: 1px 5px; bottom: -7px; }
  .c .zap { width: 80px; height: 80px; margin: -40px 0 0 -40px; }
  .stk .chp { transform: translateY(calc(var(--i, 0) * -2px)); }
  .controls { grid-column: 2; grid-row: 2; position: static; flex-wrap: nowrap; gap: 8px; padding: 4px 8px; border-radius: 12px; justify-content: space-between; }
  .chip-tray { gap: 5px; padding: 4px 8px 5px; }
  .chip-btn { width: 34px; height: 34px; } .chip-btn .chp { --z: 34px; }
  .chip-btn.active { transform: translateY(-3px) scale(1.07); }
  .chip-btn.active::before { display: none; }
  .ctrl-group { gap: 5px; flex-wrap: nowrap; }
  .ctl { height: 38px; min-width: 50px; padding: 0 5px; flex-direction: column; gap: 1px; font-size: 9.5px; font-weight: 700; border-radius: 9px; }
  .ctl svg { width: 14px; height: 14px; }
  .ctl.primary { width: 100px; height: 38px; flex-direction: row; gap: 6px; font-size: 13px; letter-spacing: 1px; } #newRoundBtn { font-size: 10.5px; letter-spacing: 0; white-space: normal; line-height: 1.1; }
  .my-bets { display: none; }
  .toasts { bottom: 60px; }
}

/* animations réduites : plus de boucles décoratives, transitions brèves */
@media (prefers-reduced-motion: reduce) {
  .amb i, .lantern, .lantern b, .dealer-fig, .dealer-art[data-mood] .dealer-fig, .sh-caustic, .shaker.shaking .sh-dome, .shaker.shaking .sh-knob, .shaker.shaking .sh-tray, .shaker.shaking .sh-rim, .shaker.shaking .sh-base, .shaker.shaking .sh-caustic,
  .sb-top.late .urge, .c.lit .cfx::before, .c.lit .cfx::after, .c.win .cfx::before, .c.win.lit .mult, .road i.new::after, .result-banner.final .res-total .rays, .count.beat b { animation: none !important; }
  .c .cfx, .c .pay, .c .mult, .c .gain, .c.win .cfx::after, .c.tap .cfx::after, .c .ci, .stk .chp.drop, .c.win .ci, .c.strike .mult, .c.strike .ci, .hist .h.enter, .hist.push .h, .result-banner.final .res-total, .res-dice .slot.on, .res-tags .tag, .stk.pay, .chp.oth.land, .bseat, .bseat.bet .bav { animation-duration: .01s !important; transition-duration: .01s !important; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 700px) { .dealer-say.pop { animation: none; } }

/* même traitement quand le joueur a coupé les animations dans son profil (réglage commun aux jeux Pryve) */
body.sb-calm .amb i, body.sb-calm .lantern, body.sb-calm .lantern b, body.sb-calm .dealer-fig, body.sb-calm .dealer-art[data-mood] .dealer-fig, body.sb-calm .sh-caustic, body.sb-calm .shaker.shaking .sh-dome, body.sb-calm .shaker.shaking .sh-knob, body.sb-calm .shaker.shaking .sh-tray, body.sb-calm .shaker.shaking .sh-rim, body.sb-calm .shaker.shaking .sh-base, body.sb-calm .shaker.shaking .sh-caustic, body.sb-calm .sb-top.late .urge, body.sb-calm .c.lit .cfx::before, body.sb-calm .c.lit .cfx::after, body.sb-calm .c.win .cfx::before, body.sb-calm .c.win.lit .mult, body.sb-calm .road i.new::after, body.sb-calm .result-banner.final .res-total .rays, body.sb-calm .count.beat b { animation: none !important; }
body.sb-calm .c .cfx, body.sb-calm .c .pay, body.sb-calm .c .mult, body.sb-calm .c .gain, body.sb-calm .c.win .cfx::after, body.sb-calm .c.tap .cfx::after, body.sb-calm .c .ci, body.sb-calm .stk .chp.drop, body.sb-calm .c.win .ci, body.sb-calm .c.strike .mult, body.sb-calm .c.strike .ci, body.sb-calm .hist .h.enter, body.sb-calm .hist.push .h, body.sb-calm .result-banner.final .res-total, body.sb-calm .res-dice .slot.on, body.sb-calm .res-tags .tag, body.sb-calm .stk.pay, body.sb-calm .chp.oth.land, body.sb-calm .bseat, body.sb-calm .bseat.bet .bav { animation-duration: .01s !important; transition-duration: .01s !important; }
@media (min-width: 700px) { body.sb-calm .dealer-say.pop { animation: none; } }
