.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.canvas-tools select{width:132px;padding:7px 8px;font-size:11px}
#anchorFilter,#zoom{padding:4px 8px}
#zoom{width:125px}
#stageSpace{position:relative}
#stage{position:absolute}
.stage-viewport{padding:10px}
.marking-layer{position:absolute;inset:0;pointer-events:none}
.marking-layer svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.marking-layer .dmz{fill:#d6d5b20a;stroke:#d6d5b265;stroke-width:1.5;stroke-dasharray:5 5}
.marking-layer .player-sector{fill:#d8e2b408;stroke:#d7dfad5a;stroke-width:1.2;stroke-dasharray:5 5}
.marking-layer .neutral-dmz{fill:#e7b3691c;stroke:#e5b66f85;stroke-width:1.4;stroke-dasharray:3 5}
.marking-layer .shuffle-workspace{fill:#d6bc7510;stroke:#d8be7a8a;stroke-width:1.5;stroke-dasharray:6 5}
.marking-layer .dealer-deal-path{fill:none;stroke:#f7d58c;stroke-width:3;stroke-dasharray:9 6;filter:drop-shadow(0 0 4px #d7a942)}
.anchor[data-kind=deal-path]{min-width:24px;min-height:24px;width:24px!important;height:24px!important;padding:0;border-radius:50%;background:#66491ecf;border-color:#f3ce7c;z-index:5}
.marking-layer .betting-line{fill:none;stroke:#c8ab74;stroke-opacity:var(--betting-line-opacity,.5);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none}
.marking-layer .inner-boundary{fill:none;stroke:#c7d3af4f;stroke-width:1.3;stroke-dasharray:3 6}
#stage[data-inner-boundary="hidden"] .inner-boundary{display:none}
.marking-layer .marking-other{fill:#e2bf7d08;stroke:#e2bf7d67;stroke-width:1.3}
.marking-label{position:absolute;transform:translate(-50%,-50%);font:700 10px/1.2 Inter,"Segoe UI",sans-serif;color:#dfc48b;text-transform:uppercase;letter-spacing:.14em;text-shadow:0 1px 3px #000;white-space:nowrap}
.anchor[data-kind=profile]{background:#24382ee8}
#stage[data-game-id="blackjack"] .anchor[data-kind="side-bet"]{min-width:0;min-height:0;width:44px!important;height:24px!important;padding:0;border-radius:5px;background:#243329df;border-color:#d9c47d;font-size:11px}
.anchor[data-kind=puck]{min-width:38px;min-height:32px;width:38px!important;height:32px!important;padding:0;border-radius:50%;font-size:0;color:transparent;background:transparent;border-color:#f3ce7c80;box-shadow:none}
.anchor[data-kind=puck]:hover,.anchor[data-kind=puck].selected{border-color:#f5d18d;box-shadow:0 0 0 3px #ecc47766}
.anchor[data-kind=board]{background:#263127e8;min-height:44px;min-width:32px;border-radius:5px}
.anchor[data-kind=community]{background:#243d32e8;border-color:#dae4ce;border-radius:6px;font-size:11px}
.anchor[data-kind=community]{flex-direction:column;gap:3px}
.community-label{display:block;font-size:9px;letter-spacing:.11em;line-height:1}
.community-slots{display:flex;justify-content:center;gap:7px;width:100%;pointer-events:none}
.community-card{display:block;width:27px;height:39px;border:1px solid #e1e9d1b0;border-radius:3px;background:linear-gradient(145deg,#fff9e626,#fff9e608);box-shadow:inset 0 1px 2px #fff8}
.anchor[data-kind=pot-main]{background:#473919e8;border-color:#e9c77c;color:#fff0c8;border-radius:50%;min-width:0;min-height:0;padding:0;font-size:8px}
.anchor[data-kind=pot-side]{background:#302918c9;border-color:#c4a66b9c;color:#e5d2ad;border-radius:50%;min-width:0;min-height:0;padding:0;font-size:8px}
.anchor[data-kind=pot-side]:not(.selected):not(.overridden){opacity:.72}
.anchor[data-id="dealer:shuffle"]{background:#343326e8;border-color:#d5bc80}
.anchor[data-id="dealer:shuffle"].workspace-handle{min-width:0;min-height:0;padding:3px 5px;font-size:9px;z-index:2}
.control-note{font-size:11px;color:#aabbab;margin:1px 0 13px}
#stage{overflow:visible}
@media(max-width:760px){
  .workspace{display:flex;flex-direction:column}
  .canvas-column{order:0;width:100%}
  .controls{order:1;width:100%}
  .inspector{order:2;width:100%}
  .canvas-heading{display:block}
  .canvas-heading h2{white-space:nowrap}
  .canvas-tools{display:grid;grid-template-columns:minmax(0,1fr) 78px 24px 76px;gap:6px;margin-top:9px}
  .canvas-tools select,#zoom{width:100%;font-size:10px;padding:6px}
  .canvas-tools .compact{width:24px;overflow:hidden}
  .canvas-tools button{width:76px;white-space:nowrap;font-size:9px;padding:6px 4px}
  .anchor{min-height:30px}
}

#stage.studio-lab-surface{background:transparent;--surface-transform:none;--chip-width:25px}
#stage.studio-lab-surface .felt-stitch{display:none}
#stage.studio-lab-surface .marking-layer{z-index:1}
#stage.studio-lab-surface .baseline-layer{z-index:4}
#stage.studio-lab-surface #anchorLayer{z-index:5}
#stage.studio-lab-surface .studio-lab-preview{position:absolute;inset:0;z-index:2;pointer-events:none}
.studio-lab-deck,.studio-lab-board-cards,.studio-lab-chip-pile,.studio-lab-profile,.studio-lab-hole-cards{position:absolute;transform:translate(-50%,-50%)}
.studio-lab-puck{position:absolute;z-index:3;transform:translate(-50%,-50%);pointer-events:none;filter:drop-shadow(0 3px 3px #0009)}
.studio-lab-deck{z-index:2;width:var(--table-card-width,46px);height:var(--table-card-height,64px)}
.studio-lab-deck-card{position:absolute;width:var(--table-card-width,46px);height:var(--table-card-height,64px);border-radius:5px;box-shadow:0 1px 3px #0009}
.studio-lab-deck-card:nth-child(1){top:3px;left:3px}.studio-lab-deck-card:nth-child(2){top:2px;left:2px}.studio-lab-deck-card:nth-child(3){top:1px;left:1px}
.studio-lab-board-cards{display:flex;gap:7px}
.studio-lab-board-card{width:var(--table-card-width,46px);height:var(--table-card-height,64px);border-radius:5px;box-shadow:0 2px 4px #0009}
.studio-lab-hole-cards{pointer-events:none}
.studio-lab-hole-card{position:absolute;top:2px;width:var(--table-card-width,46px);height:var(--table-card-height,64px);object-fit:cover;border:1px solid #e1d5ad;border-radius:5px;box-shadow:0 3px 7px #000b;transform:rotate(-5deg);transform-origin:50% 88%}
.studio-lab-hole-card:nth-child(2){top:0;transform:rotate(5deg)}
.studio-lab-chip-pile{width:0;height:0}
.studio-lab-chip-tower{position:absolute;width:28.5px;transform:translate(-50%,-50%);transform-origin:center}
.studio-lab-loose-chip{position:absolute;width:28.5px;height:21.5px;object-fit:fill}
.studio-lab-profile{width:136px}
#stage.studio-lab-surface .anchor[data-kind="profile"],#stage.studio-lab-surface .anchor[data-id="dealer:rack"],#stage.studio-lab-surface .anchor[data-id="dealer:deck"],#stage.studio-lab-surface .anchor[data-id="dealer:deck-park"]{color:transparent;background:transparent;box-shadow:none;border-color:transparent}
#stage.studio-lab-surface .anchor[data-kind="profile"]{min-width:135px;min-height:44px}
#stage.studio-lab-surface .anchor[data-kind="profile"]:hover,#stage.studio-lab-surface .anchor[data-kind="profile"].selected,#stage.studio-lab-surface .anchor[data-id="dealer:rack"]:hover,#stage.studio-lab-surface .anchor[data-id="dealer:rack"].selected{border-color:#f5d18d;box-shadow:0 0 0 3px #ecc47766}
#stage.studio-lab-surface .anchor[data-id="dealer:profile"],#stage.studio-lab-surface .anchor[data-id="board:community"]{color:transparent;background:transparent;box-shadow:none;border-color:transparent}
#stage.studio-lab-surface .anchor[data-id="dealer:profile"]{min-width:135px;min-height:44px}
#stage.studio-lab-surface .anchor[data-id="board:community"] .community-label,#stage.studio-lab-surface .anchor[data-id="board:community"] .community-slots{visibility:hidden}
#stage.studio-lab-surface .anchor[data-id="dealer:profile"]:hover,#stage.studio-lab-surface .anchor[data-id="dealer:profile"].selected,#stage.studio-lab-surface .anchor[data-id="board:community"]:hover,#stage.studio-lab-surface .anchor[data-id="board:community"].selected{border-color:#f5d18d;box-shadow:0 0 0 3px #ecc47766}
#stage.studio-lab-surface .anchor[data-kind="card"],#stage.studio-lab-surface .anchor[data-kind="chip"]{color:transparent;background:transparent;border-color:transparent;box-shadow:none}
#stage.studio-lab-surface .anchor[data-kind="chip"]{min-width:0;min-height:0;width:28px!important;height:28px!important;padding:0;border-radius:50%}
#stage.studio-lab-surface .anchor[data-kind="card"]:hover,#stage.studio-lab-surface .anchor[data-kind="card"].selected,#stage.studio-lab-surface .anchor[data-kind="chip"]:hover,#stage.studio-lab-surface .anchor[data-kind="chip"].selected{border-color:#f5d18d;box-shadow:0 0 0 3px #ecc47766}
#stage[data-game-id="blackjack"].studio-lab-surface .anchor[data-kind="chip"]{background:#f5d18d35;border:2px solid #f5d18d;box-shadow:0 0 0 2px #152019a8;cursor:grab}
#stage[data-game-id="blackjack"].studio-lab-surface .anchor[data-kind="chip"]:active{cursor:grabbing}
#stage[data-preview-only="true"] .anchor-layer,#stage[data-preview-only="true"] .decoration-handle-layer{display:none}
#stage[data-preview-only="true"]:not([data-game-id="blackjack"]) .marking-layer svg>*:not(.betting-line){display:none}
@media(min-width:761px){.canvas-tools{flex-wrap:wrap;justify-content:flex-end}}
@media(max-width:760px){
  .canvas-tools{grid-template-columns:minmax(0,1fr) 70px 24px 24px 76px}
  .canvas-tools .compact{justify-content:center}
}
