/* games/baccarat.css */
.game-baccarat .bac-hands { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 16px 0 4px; }
.game-baccarat .bac-hand { position: relative; border-radius: 18px; padding: 10px 8px 12px; text-align: center; transition: box-shadow .3s, background .3s; }
.game-baccarat .bac-hand.player { background: radial-gradient(ellipse at 50% 30%, rgba(42, 98, 201, .28), rgba(42, 98, 201, .08)); border: 2px solid rgba(108, 160, 255, .45); }
.game-baccarat .bac-hand.banker { background: radial-gradient(ellipse at 50% 30%, rgba(198, 40, 40, .28), rgba(198, 40, 40, .08)); border: 2px solid rgba(255, 120, 110, .45); }
.game-baccarat .bac-hand.won { box-shadow: 0 0 0 3px var(--gold), 0 0 30px rgba(229, 185, 78, .7); }
.game-baccarat .bac-hand .lbl { font: 700 1rem/1 Georgia, serif; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 8px; }
.game-baccarat .bac-hand.player .lbl { color: #9cc2ff; }
.game-baccarat .bac-hand.banker .lbl { color: #ffaaa3; }
.game-baccarat .cards { min-height: 92px; }
.game-baccarat .card3d.third { transform: rotate(90deg); }
.game-baccarat .card3d.third.down { transform: rotate(90deg) rotateY(180deg); }
.game-baccarat .score { position: absolute; top: -14px; right: -6px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font: 900 1.4rem/1 Georgia, serif; color: #1b1404; background: radial-gradient(circle at 35% 30%, #fff3c4, #e5b94e 60%, #a8781c); box-shadow: 0 3px 8px rgba(0, 0, 0, .5); opacity: 0; transform: scale(.3); transition: opacity .25s, transform .25s; }
.game-baccarat .score.show { opacity: 1; transform: none; }
.game-baccarat .score.natural { box-shadow: 0 0 0 3px #fff, 0 0 20px rgba(255, 230, 140, .9); }
.game-baccarat .bac-layout { gap: 8px; margin-top: 14px; }
.game-baccarat .spot.big { min-width: 150px; padding: 12px; border-radius: 50% / 40%; }
.game-baccarat .spot.big .nm { font-size: 1.25rem; }
.game-baccarat .spot.pl { border-color: rgba(108, 160, 255, .8); color: #b8d3ff; }
.game-baccarat .spot.bk { border-color: rgba(255, 120, 110, .8); color: #ffc0ba; }
.game-baccarat .spot.tie { border-color: rgba(120, 230, 160, .8); color: #b9f5cf; border-radius: 50%; min-width: 92px; }
.game-baccarat .spot.pair { min-width: 70px; font-size: .9em; border-style: dashed; }
.game-baccarat .bead-wrap { margin-top: 14px; }
.game-baccarat .bead-lbl { text-align: center; font-size: .72rem; color: rgba(241, 230, 196, .65); margin-bottom: 5px; }
.game-baccarat .bead { display: grid; grid-template-rows: repeat(6, 18px); grid-auto-flow: column; grid-auto-columns: 18px; gap: 2px; justify-content: center;
  background: #f4efe2; padding: 4px; border-radius: 6px; width: max-content; max-width: 100%; margin: 0 auto; overflow: hidden; box-shadow: 0 2px 6px rgba(0, 0, 0, .5); }
.game-baccarat .bead i { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font: 800 .6rem/1 var(--sans); font-style: normal; color: #fff; position: relative; border: 1px solid rgba(0, 0, 0, .06); }
.game-baccarat .bead i.p { background: #2a62c9; }
.game-baccarat .bead i.b { background: #c62828; }
.game-baccarat .bead i.t { background: #2e7d32; }
.game-baccarat .bead i.pp::before, .game-baccarat .bead i.bp::after { content: ""; position: absolute; width: 5px; height: 5px; border-radius: 50%; border: 1px solid #fff; }
.game-baccarat .bead i.pp::before { background: #2a62c9; top: -1px; left: -1px; }
.game-baccarat .bead i.bp::after { background: #c62828; bottom: -1px; right: -1px; }
.game-baccarat .bead i:last-of-type:not(:empty) { animation: winpulse 1s 2; }
@media (max-width: 560px) {
  .game-baccarat .spot.big { min-width: 104px; }
  .game-baccarat .bac-hands { gap: 8px; }
}
