/* 🎲 BG141 Backgammon (Shulem, Nov 9 2026 3:01 AM, video): "The dice … should stay in the center of the board. And 'Your turn' should come up maybe here and bigger."
   One fixed spot for the dice and the 🎲 Roll button (the centre of the board, over the middle bar), and a big "Your turn" sign right against the board.
   Loads after bg125.css. Backgammon only. */
.bgmid.mc{grid-column:1 / 4;grid-row:2;justify-content:center;pointer-events:none}
.bgmid.mc .bgrollb{pointer-events:auto}
.bgmid.mc .die{--fx:64px}
.bg125 .bgrollb{min-height:40px;padding:6px 20px;font-size:16.5px;font-weight:900;border-radius:20px}
/* the board and its sign(s) stack (the sign never squeezes the board) */
.gscr.kbg>.gboard{flex-direction:column;align-items:center}
.gscr.kbg .bgb.bg125{flex:none}
/* the turn sign: same place and height on every turn, so the board never moves */
.bgturn{flex:none;width:min(96vw,384px);display:flex;align-items:center;justify-content:center;gap:10px;height:60px;margin:8px 0;padding:0 12px;border-radius:16px;text-align:center;box-sizing:border-box;overflow:hidden}
.bgturn .bgtt{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:0;line-height:1.15}
.bgturn b{font-size:21px;font-weight:900;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.bgturn small{font-size:12.5px;font-weight:700;opacity:.92;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.bgturn.on{background:#ff4d4d;color:#fff;box-shadow:0 3px 10px rgba(255,77,77,.28)}
.bgturn.wait{background:#e8ecf5;color:#5b6a82}
.bgturn.wait b{font-size:18px}
.bgturn.off{visibility:hidden}
.bgturn.top{transform:rotate(180deg)}
.bgturn .bgtoff{flex:none;min-height:38px;padding:5px 12px;font-size:14px;border-radius:19px;box-shadow:0 0 0 2px rgba(255,255,255,.85)}
/* the hint line and the "Out" line now live in the sign and on the trays */
.gscr.kbg>#gmsg,.gscr.kbg>#gextra{display:none}
/* 🌙 dark */
html.kdark .bgturn.on{background:#a83838;color:#fff;box-shadow:none}
html.kdark .bgturn.wait{background:#232a36;color:#adb6c5}
