.runout-panel { display:grid; align-content:center; gap:6px; min-height:0; flex:1; color:#d5e2cc; }
.runout-panel > div:first-child { display:flex; justify-content:space-between; color:#ffda8b; }
.runout-panel p { margin:0; font-size:12px; line-height:1.4; }
.runout-buttons { display:flex; gap:10px; }
.runout-buttons button { flex:1; min-height:40px; border:1px solid #718c64; border-radius:8px; background:#1b4537; color:#f4e8c7; }
.runout-buttons button:last-child { background:#e2bb6c; color:#17392c; }
.time-bank-control { display:flex; gap:5px; align-items:center; justify-content:space-between; margin-top:3px; font-size:10px; color:#b6c8b2; }
.time-bank-control button { padding:3px 7px; min-height:28px; border:1px solid #b7a66a; border-radius:6px; color:#f5dc9b; background:#234335; font-size:11px; white-space:nowrap; }
.time-bank-control button:disabled { opacity:.4; }
.live-screen.has-time-bank .hand-hint { gap:1px; }
.live-screen.has-time-bank .hero-identity { margin-bottom:0; }
.double-boards { display:grid; gap:16px; padding-top:12px; }
.run-board { display:flex; position:relative; align-items:center; justify-content:center; }
.run-board > b { position:absolute; left:0; top:-12px; font-size:9px; line-height:10px; color:#f7d794; white-space:nowrap; }
.replay-board .double-boards .community { position:static; transform:none; display:flex; gap:5px; }
.replay-board .double-boards .playing-card { width:38px; height:53px; font-size:21px; }
.live-screen .double-boards { position:absolute; top:51%; left:50%; transform:translate(-50%,-50%); z-index:4; }
.live-screen .double-boards .community { position:static; transform:none; display:flex; gap:5px; }
.live-screen .double-boards .playing-card { width:34px; height:48px; font-size:21px; }
.double-boards .card-face > .card-rank { position:absolute; top:4%; left:6%; font-size:16px; line-height:1; }
.double-boards .card-face > .card-corner-suit { display:none; }
.double-boards .card-face > .card-pip { position:absolute; right:4%; bottom:4%; left:auto; width:54%; height:38%; transform:none; }
.double-boards .card-face .card-pip svg { width:100%; height:100%; }
.live-screen.has-double-board .board-caption { top:74%; }
@media (orientation:portrait) {
  .live-screen.has-double-board { grid-template-rows:50px 48px minmax(0,1fr) 108px 172px; }
  .live-screen.has-double-board .action-area { gap:5px; }
}
@media (max-height:680px) and (orientation:portrait) {
  .live-screen.has-double-board { grid-template-rows:44px 48px minmax(0,1fr) 90px 164px; }
  .live-screen .double-boards { gap:16px; }
  .live-screen .double-boards .playing-card { width:26px; height:38px; font-size:17px; }
  .live-screen .double-boards .community { gap:4px; }
  .live-screen .double-boards .run-board { gap:6px; }
  .live-screen .double-boards .run-board > b { font-size:9px; }
  .live-screen.has-double-board .board-caption { display:none; }
  .live-screen.has-time-bank .hand-hint > span { font-size:9px; }
  .live-screen.has-time-bank .hero-identity .seat-avatar { display:none; }
  .live-screen.has-time-bank .hero-identity strong { font-size:14px; }
  .runout-panel { gap:4px; }
  .runout-panel p { font-size:11px; }
}
@media (orientation:landscape) and (min-width:600px) and (max-width:999px) {
  .live-screen .double-boards { gap:16px; }
  .live-screen .double-boards .playing-card { width:32px; height:45px; font-size:18px; }
  .runout-panel p { font-size:10px; }
  .runout-buttons button { min-height:32px; }
}
/* Short viewports use two side-by-side boards so full-table hole cards stay clear. */
@media (max-height:680px) {
  .live-screen .double-boards { display:flex; gap:14px; padding-top:12px; }
  .live-screen .double-boards .community { gap:3px; }
  .live-screen .double-boards .playing-card { width:23px; height:33px; }
  .live-screen .double-boards .card-rank { font-size:13px; }
  .live-screen.has-double-board .seat-action { visibility:hidden; }
}
@media (max-height:680px) and (orientation:portrait) {
  .live-screen .double-boards { top:43%; }
}

.holdem-table-brand { position:absolute; left:50%; top:66%; transform:translate(-50%,-50%); display:grid; gap:4px; text-align:center; pointer-events:none; color:rgba(10,38,31,.52); text-shadow:0 1px rgba(211,236,207,.12); white-space:nowrap; }
.holdem-table-brand b { font-size:clamp(18px,4vw,30px); letter-spacing:3px; }
.holdem-table-brand small { font-size:8px; letter-spacing:2px; }
.has-double-board .holdem-table-brand { top:78%; opacity:.5; }
@media(max-height:600px) { .holdem-table-brand small { display:none; } .holdem-table-brand { top:73%; } }
