/* Original tabletop art, fitted to all public boards and a nearby discard. */
@media(min-width:1200px){
 html[data-center-table][data-adaptive-desktop] .app{height:100dvh;min-height:100dvh;display:grid;grid-template-rows:60px minmax(0,1fr) 28px;overflow:visible}
 html[data-center-table][data-adaptive-desktop] .top{height:60px;min-height:60px;margin:0}
 html[data-center-table][data-adaptive-desktop] .table{display:grid;grid-template-columns:minmax(0,1fr) var(--desktop-discard-rail);grid-template-rows:var(--opp-h) var(--own-h) var(--center-hand-height);padding:16px 24px 12px;gap:16px;align-content:start;overflow:visible}
 html[data-center-table][data-adaptive-desktop] .playing{display:contents}
 html[data-center-table][data-adaptive-desktop] .playing .player-panel[data-panel]{grid-template-columns:minmax(0,1fr)}
 html[data-center-table][data-adaptive-desktop] .playing .player-panel[data-panel]>.player-board-header{grid-column:1;grid-row:1;display:flex;flex-direction:row;align-items:center;justify-content:space-between;align-self:stretch;gap:8px;width:100%;height:36px;min-height:0;overflow:visible}
 html[data-center-table][data-adaptive-desktop] .playing .player-panel[data-panel] .player-board-header>.player-identity-card{flex:0 1 auto;align-self:center;width:auto;min-height:32px;max-width:45%;margin:0;padding:0 6px 0 0;gap:6px}
 html[data-center-table][data-adaptive-desktop] .playing .player-panel[data-panel] .player-board-header>:is(.player-book-status,#yourBooks){align-self:center;flex:none}
 html[data-center-table][data-adaptive-desktop] .playing .player-panel[data-panel] .player-board-header>.player-board-status{align-self:center;font-size:11px;line-height:16px}
 html[data-center-table][data-adaptive-desktop] .playing>.other-players{display:grid;grid-column:1/-1;grid-row:1;grid-template-columns:repeat(var(--compact-opponents,3),minmax(0,1fr));grid-template-rows:minmax(0,1fr);height:var(--opp-h);gap:16px}
 html[data-center-table][data-adaptive-desktop] .playing .other-panel[data-panel]{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:40px minmax(0,1fr);height:100%;min-height:0;padding:8px 12px;gap:8px;overflow:visible}
 html[data-center-table][data-adaptive-desktop] .playing .other-panel .opponent-header{display:flex;align-items:center;justify-content:space-between;gap:8px;height:40px;min-height:0;padding:0}
 html[data-center-table][data-adaptive-desktop] .playing .other-panel .opponent-player-card{position:static;transform:none;max-width:50%;width:auto;background:none}
 html[data-center-table][data-adaptive-desktop] .playing .other-panel .player-avatar{width:32px;height:32px}
 html[data-center-table][data-adaptive-desktop] .playing .other-panel .player-book-status{position:static;transform:none;margin:0}
 html[data-center-table][data-adaptive-desktop] .playing .other-panel .phase-line{font-size:11px}
 html[data-center-table][data-adaptive-desktop] .playing #otherPlayers .other-panel[data-panel] .public-sets.physical-card-grid{grid-column:1;grid-row:2;grid-template-columns:repeat(var(--public-columns),var(--public-card-width));grid-template-rows:repeat(var(--public-rows),var(--public-card-height));height:100%;gap:12px;padding:0 6px 8px;justify-content:space-between;align-content:start}
 html[data-center-table][data-adaptive-desktop] .playing>.player-panel[data-panel=you]{grid-column:1;grid-row:2;height:var(--own-h);grid-template-rows:36px minmax(0,1fr);gap:4px;padding:8px 12px;min-height:0}
 html[data-center-table][data-adaptive-desktop] .playing #yourPanel>.player-board-header{padding-right:44px}
 html[data-center-table][data-adaptive-desktop] .playing #yourPanel #melds.meld-grid{grid-column:1;grid-row:2;grid-template-columns:repeat(var(--desktop-own-columns),var(--own-card-width));grid-template-rows:repeat(var(--desktop-own-rows),calc(var(--own-card-width)*1.4));gap:12px;justify-content:space-between;align-content:center;align-items:center;padding:4px 12px 12px}
 html[data-center-table][data-adaptive-desktop] .playing #yourPanel #melds.meld-grid:has(>.opening-empty){grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}
 html[data-center-table][data-adaptive-desktop] .playing #yourPanel #melds.meld-grid .meld-tile.face-meld{width:var(--own-card-width);height:calc(var(--own-card-width)*1.4);min-height:0;max-height:none;aspect-ratio:5/7;justify-self:start}
 html[data-center-table][data-adaptive-desktop] .playing #yourPanel>.board-expand{right:4px;top:4px;bottom:auto;width:44px;height:44px;min-height:44px;padding:10px}
 html[data-center-table][data-adaptive-desktop] .table-center{grid-column:2;grid-row:2;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(40px,max-content) minmax(0,1fr);align-items:center;height:var(--own-h);gap:12px;padding:16px;border-radius:8px}
 html[data-center-table][data-adaptive-desktop] .table-center .center-turn{grid-column:1;grid-row:1;justify-self:center;align-items:center;width:100%;gap:0;text-align:center}
 html[data-center-table][data-adaptive-desktop] .table-center .turn-banner{display:flex;align-items:center;justify-content:center;gap:6px}
 html[data-center-table][data-adaptive-desktop] .table-center .turn-banner h2{margin:0;font-size:15px;line-height:18px}
 html[data-center-table][data-adaptive-desktop] .table-center .turn-owner{display:none}
 html[data-center-table][data-adaptive-desktop] .table-center .turn-steps{gap:4px;justify-content:center}
 html[data-center-table][data-adaptive-desktop] .table-center .turn-steps li{padding:0 2px;font-size:10px;line-height:15px}
 html[data-center-table][data-adaptive-desktop] .table-center .turn-steps .step-marker{width:13px;height:13px;font-size:9px;line-height:11px}
 html[data-center-table][data-adaptive-desktop] .table-center .pilearea{grid-column:1;grid-row:2;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:20px minmax(0,1fr);gap:14px 12px;align-items:center;padding:0 0 16px}
 html[data-center-table][data-adaptive-desktop] .table-center .pilearea .piles-title{grid-column:1;grid-row:1;justify-self:start;font-size:14px;line-height:20px}
 html[data-center-table][data-adaptive-desktop] .table-center .pilearea .pile.discard{display:contents}
 html[data-center-table][data-adaptive-desktop] .table-center .pilearea .pilelabel{grid-column:2;grid-row:1;justify-self:end;order:0;font-size:13px;line-height:20px;white-space:nowrap}
 html[data-center-table][data-adaptive-desktop] .table-center .pilearea #discard{grid-column:1/-1;grid-row:2;justify-self:center;align-self:center}
 html[data-center-table][data-adaptive-desktop] .handzone{grid-column:1/-1;grid-row:3;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:28px 56px minmax(0,1fr);height:var(--center-hand-height);min-height:0;gap:8px;padding:8px 16px 12px;background:#415e4966;border:1px solid #87957c;border-radius:8px}
 html[data-center-table][data-adaptive-desktop] .handzone .handhead{grid-column:1;grid-row:1;height:28px;min-height:28px;display:flex;align-items:center;justify-content:space-between;padding:0}
 html[data-center-table][data-adaptive-desktop] .handzone .handhead .hand-tools{display:flex;align-items:center;gap:12px}
 html[data-center-table][data-adaptive-desktop] .handzone .hand-tools button{min-height:28px;color:var(--felt-muted);font-size:11px;padding:0 4px}
 html[data-center-table][data-adaptive-desktop] .handzone #hand.hand{grid-column:1;grid-row:3;min-height:0;height:100%;padding:32px 16px 20px;align-items:flex-end;justify-content:center}
 html[data-center-table][data-adaptive-desktop] .handzone .action-dock{grid-column:1;grid-row:2;display:grid;grid-template-columns:minmax(0,1fr) max-content minmax(0,1fr);grid-template-rows:minmax(0,1fr);align-items:center;gap:16px;min-height:56px;width:100%;height:56px;padding:6px 0;margin:0;border:0;border-radius:0;background:transparent;color:var(--felt-ink)}
 html[data-center-table][data-adaptive-desktop] .handzone .action-dock .selection-copy{grid-column:1;grid-row:1;min-width:0;color:var(--felt-ink)}
 html[data-center-table][data-adaptive-desktop] .handzone .selection-copy strong{font-size:12px;line-height:16px}
 html[data-center-table][data-adaptive-desktop] .handzone .selection-copy p{font-size:11px;line-height:15px;margin:0;color:var(--felt-muted)}
 html[data-center-table][data-adaptive-desktop] .handzone .action-dock .dock-actions{grid-column:2;grid-row:1;display:flex;justify-self:center;justify-content:center;gap:12px;width:auto;min-height:44px}
 html[data-center-table][data-adaptive-desktop] .handzone .dock-actions button{min-height:44px;min-width:88px;padding:8px 14px;font-size:12px;white-space:nowrap}
 html[data-center-table][data-adaptive-desktop] .handzone .action-dock .dock-actions[hidden]{display:none}
 html[data-center-table][data-adaptive-desktop] .handzone .center-activity{grid-column:1;grid-row:1;display:flex;flex-wrap:wrap;gap:4px 8px;align-items:center;font-size:12px}
 html[data-center-table][data-adaptive-desktop] .handzone .activity-label{font-size:11px;color:var(--felt-muted)}
 html[data-center-table][data-adaptive-desktop] .handzone .round-advance-controls{grid-column:2;grid-row:1}
 html[data-center-table][data-adaptive-desktop] .handzone .toast{position:absolute!important;top:auto!important;bottom:calc(100% + 4px);left:0;right:0;transform:none!important;width:auto;margin:0;z-index:20;pointer-events:none}
 html[data-center-table][data-adaptive-desktop] .handzone .toast:not(.show){display:none}
 html[data-center-table][data-adaptive-desktop] .table-footer{height:28px;min-height:28px}
}
