/* Live TABLE layout only. Replay and dedicated all-in boards retain their own sizing. */
#centerInfo.table-center-expanded .center-pot-row {
  position: relative;
}

#centerInfo.table-center-expanded #boardDisplay {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  font-size: 1.35em;
  /* Keep the RC04 card bottom fixed; add the extra height upwards. */
  margin-top: 2.491852em !important;
  min-height: 3.86em !important;
  /* Half of the RC04 physical gap, compensated for the new scale. */
  gap: .175926em !important;
}

#centerInfo.table-center-expanded #boardDisplay > .card-ui.board-card {
  flex: 0 0 auto;
}

#centerInfo.table-center-expanded #centerBlindTimer {
  margin-top: .50em !important;
  font-size: clamp(8px, 1em, 16px) !important;
  line-height: 1.4 !important;
  letter-spacing: .025em !important;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

#centerInfo.table-center-expanded .center-blind-main-line {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: .28em;
  white-space: nowrap;
}

#centerInfo.table-center-expanded #centerBlindTimer #centerBlindDisplay {
  display: inline;
  position: static !important;
  inset: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  font-size: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
  white-space: nowrap;
}

#centerInfo.table-center-expanded #sidePotDisplay {
  position: absolute;
  left: 0;
  top: .85em;
  width: 100%;
  max-width: none;
  margin: 0;
  grid-template-columns: minmax(0, 1fr) 6.8em minmax(0, 1fr);
  gap: .16em .2em;
  align-items: center;
  pointer-events: none;
}

#centerInfo.table-center-expanded #sidePotDisplay.active {
  display: grid !important;
}

#centerInfo.table-center-expanded #sidePotDisplay .side-pot-line {
  grid-column: 1;
  justify-self: center;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  font-size: clamp(8px, .65em, 12px);
  line-height: 1.15;
  letter-spacing: .025em;
  gap: .30em;
  padding: .18em .32em;
  white-space: nowrap;
}

#centerInfo.table-center-expanded #sidePotDisplay .side-pot-line:nth-child(1) { grid-row: 1; }
#centerInfo.table-center-expanded #sidePotDisplay .side-pot-line:nth-child(2) { grid-row: 2; }
#centerInfo.table-center-expanded #sidePotDisplay .side-pot-line:nth-child(3) { grid-column: 3; grid-row: 1; }
#centerInfo.table-center-expanded #sidePotDisplay .side-pot-line:nth-child(4) { grid-column: 3; grid-row: 2; }
#centerInfo.table-center-expanded #sidePotDisplay .side-pot-line:nth-child(5) { grid-row: 3; }
#centerInfo.table-center-expanded #sidePotDisplay .side-pot-line:nth-child(6) { grid-column: 3; grid-row: 3; }

/* RC05: keep the POT amount close to the centered board. */
#centerInfo.table-center-expanded #potDisplay {
  top: 1.9em !important;
}

#centerInfo.table-center-expanded .center-blind-separator {
  margin-inline: .22em;
}
