.bg-game-container { background: var(--surface); padding: 2rem; border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.08); border: 2px solid #edf2f7; }
.bg-hud { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 2px dashed #e2e8f0; }
.bg-player { font-weight: bold; font-size: 1.1rem; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.player-dot { width: 15px; height: 15px; border-radius: 50%; display: inline-block; }
.player-dot.blue { background: var(--blue); box-shadow: 0 0 5px var(--blue); }
.player-dot.red { background: var(--red); box-shadow: 0 0 5px var(--red); }
.off-count { font-size: 0.9rem; color: var(--text-muted); }
.bg-controls { text-align: center; }
.dice-display { font-size: 2.5rem; letter-spacing: 10px; margin-bottom: 10px; color: var(--text); }
.turn-indicator { margin-top: 10px; font-weight: bold; color: var(--text-muted); }
.backgammon-board { width: 100%; max-width: 800px; height: 500px; background: #FFF8DC; border: 15px solid #8B4513; border-radius: 10px; margin: 0 auto; display: flex; position: relative; box-shadow: inset 0 0 20px rgba(0,0,0,0.3); }
.bg-half { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.bg-bar { width: 40px; background: #8B4513; display: flex; flex-direction: column; justify-content: space-between; padding: 10px 0; border-left: 2px solid #5c2e0b; border-right: 2px solid #5c2e0b; }
.bg-row { display: flex; justify-content: space-around; height: 45%; }
.bg-point { width: 14%; position: relative; display: flex; align-items: center; cursor: pointer; }
.bg-row.top .bg-point { flex-direction: column; justify-content: flex-start; padding-top: 5px; }
.bg-row.bottom .bg-point { flex-direction: column-reverse; justify-content: flex-start; padding-bottom: 5px; }
.bg-point::before { content: ''; position: absolute; left: 0; right: 0; width: 100%; height: 100%; z-index: 0; }
.bg-row.top .bg-point::before { clip-path: polygon(0 0, 100% 0, 50% 100%); }
.bg-row.bottom .bg-point::before { clip-path: polygon(50% 0, 0 100%, 100% 100%); }
.bg-point.dark::before { background-color: rgba(74, 144, 226, 0.2); }
.bg-point.light::before { background-color: rgba(255, 107, 107, 0.2); }
.bg-point.highlight::after { content: ''; position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(72, 199, 116, 0.3); z-index: 1; pointer-events: none; }
.checker { width: 35px; height: 35px; border-radius: 50%; z-index: 2; margin: 1px 0; box-shadow: 0 3px 5px rgba(0,0,0,0.4), inset 0 2px 4px rgba(255,255,255,0.3); border: 2px solid rgba(0,0,0,0.2); transition: transform 0.2s; }
.checker.blue { background: var(--blue); }
.checker.red { background: var(--red); }
.checker.selected { transform: scale(1.1); border: 2px solid var(--green); }
.bar-slot { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.bar-slot.highlight { background: rgba(72,199,116,0.3); cursor: pointer; }
