/* games/sicbo.css */
.game-sicbo { --felt-a: #1d5f8a; --felt-b: #123f63; --felt-c: #0a2440; }
.game-sicbo .sb-top { display: flex; gap: 24px; align-items: center; justify-content: center; margin: 4px 0 6px; }
.game-sicbo .sb-shaker { position: relative; width: 170px; height: 130px; }
.game-sicbo .sb-plate { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; border-radius: 50%;
  background: radial-gradient(ellipse at 50% 35%, #f6e7b8, #c9a54a 55%, #7a5a1c); box-shadow: 0 8px 14px rgba(0, 0, 0, .55); }
.game-sicbo .sb-dice { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; gap: 6px; }
.game-sicbo .die3d { --d: 36px; }
.game-sicbo .sb-dome { position: absolute; left: 10px; right: 10px; bottom: 18px; height: 112px; border-radius: 50% 50% 14px 14px / 70% 70% 14px 14px;
  background: radial-gradient(ellipse at 35% 25%, rgba(255, 255, 255, .55), rgba(255, 255, 255, .08) 40%, rgba(255, 255, 255, .02) 70%), rgba(200, 230, 255, .08);
  border: 2px solid rgba(255, 255, 255, .35); box-shadow: inset 0 -6px 12px rgba(255, 255, 255, .12);
  transform: translateY(-120%); opacity: 0; transition: transform .45s cubic-bezier(.3, .7, .3, 1), opacity .45s; pointer-events: none; }
.game-sicbo .sb-dome.down { transform: none; opacity: 1; }
.game-sicbo .sb-sum { font: 900 1.8rem/1 Georgia, serif; color: #ffe08a; margin-top: 8px; text-align: center; opacity: 0; transform: scale(.5); transition: .3s cubic-bezier(.3, 1.5, .5, 1); text-shadow: 0 0 14px rgba(255, 220, 120, .7); }
.game-sicbo .sb-sum.show { opacity: 1; transform: none; }
.game-sicbo .sb-sum.triple { color: #ff8a80; }
.game-sicbo .sb-layout { display: grid; gap: 4px; max-width: 780px; margin: 0 auto; }
.game-sicbo .sb-row { display: grid; gap: 4px; }
.game-sicbo .r1 { grid-template-columns: 1fr 2.6fr 1fr; }
.game-sicbo .sb-triples { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.game-sicbo .r2 { grid-template-columns: 1.2fr repeat(6, 1fr) 1.2fr; }
.game-sicbo .r3 { grid-template-columns: repeat(14, 1fr); }
.game-sicbo .r4 { grid-template-columns: repeat(15, 1fr); }
.game-sicbo .r5 { grid-template-columns: repeat(6, 1fr); }
.game-sicbo .spot.sb { min-width: 0; padding: 4px 2px; border-radius: 6px; border-width: 1.5px; }
.game-sicbo .spot.sb .nm { font-size: .8rem; letter-spacing: .02em; }
.game-sicbo .spot.sb .py { font-size: .6rem; }
.game-sicbo .spot.sb .stack { height: 30px; }
.game-sicbo .spot.bigsmall { padding: 10px 6px; }
.game-sicbo .spot.bigsmall .nm { font-size: 1.5rem; }
.game-sicbo .spot.bigsmall .stack { height: 46px; }
.game-sicbo .spot.any .nm { font-size: .68rem; }
.game-sicbo .pp { font-size: 1.05rem; letter-spacing: -.05em; line-height: 1; }
.game-sicbo .pp.big { font-size: 1.8rem; }
.game-sicbo .spot.lit { background: rgba(255, 220, 120, .28); animation: sblit .5s ease-in-out 6 alternate; }
@keyframes sblit { to { background: rgba(255, 220, 120, .06); box-shadow: 0 0 16px rgba(255, 220, 120, .8); } }
@media (max-width: 700px) {
  .game-sicbo .r3 { grid-template-columns: repeat(7, 1fr); }
  .game-sicbo .r4 { grid-template-columns: repeat(5, 1fr); }
  .game-sicbo .r1 { grid-template-columns: 1fr; }
  .game-sicbo .sb-top { flex-direction: column; gap: 6px; }
}
