/* The live table owns the workspace; analysis remains off the playing surface. */
.workspace[data-room-view=table] .table-sidebar{display:none!important}
.workspace .seat-equity{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 4px;margin-top:5px;padding:5px 6px 3px;border-top:1px solid #d4bd7860;border-radius:4px;background:#e5c77a0b;color:#c7d9ca;font-size:9px;font-weight:650;line-height:1.1}
.workspace .seat-equity strong{color:#f1d996;font:750 13px var(--mono);white-space:nowrap}
.workspace .seat-equity small{grid-column:1/-1;color:#f0d998;font-size:9px;white-space:nowrap}
.workspace .seat-equity[title]{cursor:help}
.workspace[data-room-view=table] .board-cards:empty{display:none}

@media(min-width:851px){
  .workspace[data-room-view=table] .table-panel{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto auto minmax(0,1fr);padding:10px clamp(14px,1.7vw,32px) 6px}
  .workspace[data-room-view=table] .table-heading,.workspace[data-room-view=table] .table-meta,.workspace[data-room-view=table] .live-strip,.workspace[data-room-view=table] .bomb-pot-banner{grid-column:1}
  .workspace[data-room-view=table] .table-primary{grid-column:1;grid-row:5;min-height:0}
  .workspace[data-room-view=table] .table-stage{flex:1 1 0;min-height:0;margin:4px 0 3px}
  .workspace[data-room-view=table] .table-felt{inset:13% 6% 12%}
  .workspace[data-room-view=table] .seat{width:156px}
  .workspace[data-room-view=table] .table-stage:not([data-seat-count="9"]):not([data-seat-count="10"]) .seat{top:clamp(72px,var(--seat-y),calc(100% - 106px))!important}
  .workspace[data-room-view=table] .seat.profile-expanded{width:294px}
  .workspace[data-room-view=table] .seat-cards{height:37px;margin-bottom:5px;gap:4px}
  .workspace[data-room-view=table] .seat-cards .card{width:28px;height:36px;padding:3px}
  .workspace[data-room-view=table] .seat-cards .card .rank{font-size:16px}
  .workspace[data-room-view=table] .seat-cards .card .suit{font-size:16px}
  .workspace[data-room-view=table] .seat-cards .card.back:after{font-size:18px}
  .workspace[data-room-view=table] .seat-body{padding:7px 9px}
  .workspace[data-room-view=table] .seat-name{font-size:12px}
  .workspace[data-room-view=table] .seat-stack{font-size:14px}
  .workspace[data-room-view=table] .board-area,.workspace[data-room-view=table] .board-area.multiple{top:calc(50% + 14px);left:30%;right:30%}
  .workspace[data-room-view=table] .board-cards{gap:7px;min-height:78px}
  .workspace[data-room-view=table] .board-cards>.card{width:56px;height:78px;padding:6px}
  .workspace[data-room-view=table] .board-cards>.card .rank{font-size:27px}
  .workspace[data-room-view=table] .board-cards>.card .suit{font-size:29px}
  .workspace[data-room-view=table] .pot-value{font-size:clamp(34px,3vw,46px)}
  .workspace[data-room-view=table] .table-heading h2{font-size:clamp(25px,2vw,31px)}
  .workspace[data-room-view=table] .table-heading .eyebrow,
  .workspace[data-room-view=table] #delivery-status{display:none}
  .workspace[data-room-view=table] .live-strip{padding:5px 0;margin-top:2px}
  .workspace[data-room-view=table] .hand-summary{min-height:23px}
}

@media(min-width:1100px){
  .workspace[data-room-view=table] .table-panel{grid-template-rows:auto auto 0 auto minmax(0,1fr)}
  .workspace[data-room-view=table] .table-heading{grid-row:1;padding-right:255px}
  .workspace[data-room-view=table] .table-meta{grid-row:2;padding-right:255px}
  .workspace[data-room-view=table] .table-heading h2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .workspace[data-room-view=table] .live-strip{grid-row:1/3;justify-self:end;align-self:center;width:auto;margin:0;padding:0;border:0;gap:14px}
  .workspace[data-room-view=table] .bomb-pot-banner{grid-row:4}
}

@media(min-width:1350px) and (min-height:780px){
  .workspace[data-room-view=table] .seat{width:176px}
  .workspace[data-room-view=table] .seat.profile-expanded,.workspace .seat.has-seat-actions.profile-expanded{width:330px}
  .workspace[data-room-view=table] .table-stage:not([data-seat-count="9"]):not([data-seat-count="10"]) .seat{top:clamp(95px,var(--seat-y),calc(100% - 115px))!important}
  .workspace[data-room-view=table] .seat-body{padding:8px 10px}
  .workspace[data-room-view=table] .seat-cards{height:43px;margin-bottom:5px}
  .workspace[data-room-view=table] .seat-cards .card{width:33px;height:42px;padding:3px}
  .workspace[data-room-view=table] .seat-cards .card .rank,.workspace[data-room-view=table] .seat-cards .card .suit{font-size:19px}
  .workspace[data-room-view=table] .seat-cards .card.back:after{font-size:21px}
  .workspace[data-room-view=table] .seat-name{font-size:13px}
  .workspace[data-room-view=table] .seat-stack{font-size:15px}
  .workspace[data-room-view=table] .seat-equity{font-size:10px}
  .workspace[data-room-view=table] .seat-equity strong{font-size:15px}
  .workspace[data-room-view=table] .seat-equity small{font-size:10px}
  .workspace[data-room-view=table] .board-cards{gap:9px;min-height:0}
  .workspace[data-room-view=table] .board-cards>.card{width:65px;height:88px;padding:6px}
  .workspace[data-room-view=table] .board-cards>.card .rank{font-size:32px}
  .workspace[data-room-view=table] .board-cards>.card .suit{font-size:34px}
  .workspace[data-room-view=table] .pot-value{font-size:52px}
  .workspace[data-room-view=table] .seat-action-tray{width:205px;padding:10px}
  .workspace[data-room-view=table] .seat-action{min-height:30px;font-size:10px}
  .workspace[data-room-view=table] .table-stage:is([data-seat-count="9"],[data-seat-count="10"]) .seat:nth-child(1),
  .workspace[data-room-view=table] .table-stage:is([data-seat-count="9"],[data-seat-count="10"]) .seat:nth-child(2),
  .workspace[data-room-view=table] .table-stage[data-seat-count="9"] .seat:nth-child(9),
  .workspace[data-room-view=table] .table-stage[data-seat-count="10"] .seat:nth-child(10){top:18%!important}
  .workspace[data-room-view=table] .table-stage:is([data-seat-count="9"],[data-seat-count="10"]) .seat:nth-child(3),
  .workspace[data-room-view=table] .table-stage[data-seat-count="9"] .seat:nth-child(8),
  .workspace[data-room-view=table] .table-stage[data-seat-count="10"] .seat:nth-child(9){top:46%!important}
  .workspace[data-room-view=table] .table-stage:is([data-seat-count="9"],[data-seat-count="10"]) .seat:nth-child(4),
  .workspace[data-room-view=table] .table-stage:is([data-seat-count="9"],[data-seat-count="10"]) .seat:nth-child(5),
  .workspace[data-room-view=table] .table-stage:is([data-seat-count="9"],[data-seat-count="10"]) .seat:nth-child(6),
  .workspace[data-room-view=table] .table-stage:is([data-seat-count="9"],[data-seat-count="10"]) .seat:nth-child(7),
  .workspace[data-room-view=table] .table-stage[data-seat-count="10"] .seat:nth-child(8){top:82%!important}
}

@media(min-width:851px) and (max-width:1200px){
  .workspace[data-room-view=table] .seat{width:136px}
  .workspace[data-room-view=table] .seat.profile-expanded{width:270px}
  .workspace[data-room-view=table] .seat-cards{height:32px}
  .workspace[data-room-view=table] .seat-cards .card{width:24px;height:31px}
  .workspace[data-room-view=table] .seat-cards .card .rank,.workspace[data-room-view=table] .seat-cards .card .suit{font-size:14px}
  .workspace[data-room-view=table] .board-cards>.card{width:48px;height:67px}
  .workspace[data-room-view=table] .board-cards>.card .rank{font-size:23px}
  .workspace[data-room-view=table] .board-cards>.card .suit{font-size:25px}
}

@media(min-width:851px) and (max-height:750px){
  .workspace[data-room-view=table] .seat{width:clamp(120px,11vw,148px)}
  .workspace[data-room-view=table] .seat-body{padding:3px 7px}
  .workspace[data-room-view=table] .seat-cards{height:27px;margin-bottom:2px}
  .workspace[data-room-view=table] .seat-cards .card{width:22px;height:27px;padding:2px}
  .workspace[data-room-view=table] .seat-cards .card .rank,.workspace[data-room-view=table] .seat-cards .card .suit{font-size:13px}
  .workspace[data-room-view=table] .seat-name{font-size:11px}
  .workspace[data-room-view=table] .seat-stack{font-size:12px}
  .workspace[data-room-view=table] .seat-vpip-stat{min-height:15px;padding:0 3px;font-size:10px}
  .workspace[data-room-view=table] .seat-vpip-label{font-size:8px}
  .workspace[data-room-view=table] .seat-footer{min-height:12px}
  .workspace[data-room-view=table] .board-cards>.card{width:52px;height:72px}
  .workspace[data-room-view=table] .board-cards>.card .rank{font-size:25px}
  .workspace[data-room-view=table] .board-cards>.card .suit{font-size:27px}
  .workspace[data-room-view=table] .table-stage:is([data-seat-count="9"],[data-seat-count="10"]) .seat:nth-child(1),
  .workspace[data-room-view=table] .table-stage:is([data-seat-count="9"],[data-seat-count="10"]) .seat:nth-child(2),
  .workspace[data-room-view=table] .table-stage[data-seat-count="9"] .seat:nth-child(9),
  .workspace[data-room-view=table] .table-stage[data-seat-count="10"] .seat:nth-child(10){top:17%!important}
  .workspace[data-room-view=table] .table-stage:is([data-seat-count="9"],[data-seat-count="10"]) .seat:nth-child(3),
  .workspace[data-room-view=table] .table-stage[data-seat-count="9"] .seat:nth-child(8),
  .workspace[data-room-view=table] .table-stage[data-seat-count="10"] .seat:nth-child(9){top:46%!important}
  .workspace[data-room-view=table] .table-stage:is([data-seat-count="9"],[data-seat-count="10"]) .seat:nth-child(4),
  .workspace[data-room-view=table] .table-stage:is([data-seat-count="9"],[data-seat-count="10"]) .seat:nth-child(5),
  .workspace[data-room-view=table] .table-stage:is([data-seat-count="9"],[data-seat-count="10"]) .seat:nth-child(6),
  .workspace[data-room-view=table] .table-stage:is([data-seat-count="9"],[data-seat-count="10"]) .seat:nth-child(7),
  .workspace[data-room-view=table] .table-stage[data-seat-count="10"] .seat:nth-child(8){top:82%!important}
}

@media(max-width:850px){
  .workspace[data-room-view=table] .table-stage{margin-top:6px}
  .workspace[data-room-view=table] .board-cards>.card{width:38px;height:54px;padding:4px}
  .workspace[data-room-view=table] .board-cards>.card .rank{font-size:18px}
  .workspace[data-room-view=table] .board-cards>.card .suit{font-size:20px}
  .workspace[data-room-view=table] .seat-cards .card{width:19px;height:25px;padding:2px}
  .workspace[data-room-view=table] .seat-cards .card .rank,.workspace[data-room-view=table] .seat-cards .card .suit{font-size:11px}
  .workspace[data-room-view=table] .seat-equity{padding:3px 2px;font-size:8px}
  .workspace[data-room-view=table] .seat-equity strong{font-size:10px}
  .workspace[data-room-view=table] .seat-equity small{font-size:7px}
}
