/* Lobby and table rules that lived in cashier-panel.css, which now loads only with the Cashier.
   They open this file so their place in the cascade is unchanged. */
.qa-lobby-list{max-width:520px;margin:0 auto;padding:16px;background:#10212a;color:#a9c9d8}
.qa-lobby-list a{color:#9dd9f3}
.qa-lobby-list button:where(:not(.ds-pill-button)){margin:5px}
.qa-state{color:#9dd9f3;font-size:12px}
/* Previews pick their own face and palette independently of the live table. */
:is(
  html[data-card-face='ivory'][data-card-two-color='true'] .playing-card:where(:not([data-preview-face] *)),
  [data-preview-face='ivory'][data-preview-two-color='true'] .playing-card
):not(.card-back):is(.suit-s, .suit-c) {
  color: #1a1a1a;
}
:is(
  html[data-card-face='ivory'][data-card-two-color='true'] .playing-card:where(:not([data-preview-face] *)),
  [data-preview-face='ivory'][data-preview-two-color='true'] .playing-card
):not(.card-back):is(.suit-h, .suit-d) {
  color: #cf2848;
}
:is(
  html[data-card-face='dark'][data-card-two-color='true'] .playing-card:where(:not([data-preview-face] *)),
  [data-preview-face='dark'][data-preview-two-color='true'] .playing-card
):not(.card-back):is(.suit-s, .suit-c) {
  --card-color: #f4f3ee;
}
:is(
  html[data-card-face='dark'][data-card-two-color='true'] .playing-card:where(:not([data-preview-face] *)),
  [data-preview-face='dark'][data-preview-two-color='true'] .playing-card
):not(.card-back):is(.suit-h, .suit-d) {
  --card-color: #ff5778;
}

/* Shared face geometry preserves the original suit glyphs. */
.playing-card:not(.card-back) .card-corner{font-size:38cqw!important;width:38cqw;line-height:1.02;left:7%!important;top:6%!important;font-weight:700}
.playing-card:not(.card-back) .card-corner small{display:block!important;font-size:28cqw!important;line-height:1;margin-top:2cqw}
.playing-card .card-corner.bottom{display:none!important}
.playing-card:not(.card-back) .card-pip{font-size:84cqw!important;left:63%;top:70%}
/* Dimensions and overlap share one token; percentages must not use the seat width. */
.seat-cards{--hand-width:43px;--hand-height:61px;--hand-angle:2deg;--hand-overlap:0px;--hand-tuck:7px}
.self-seat .seat-cards{--hand-width:55px;--hand-height:79px;--hand-tuck:9px;top:6px}
.fast-table .seat-cards{--hand-width:29px;--hand-height:41px;--hand-tuck:5px}
.fast-table .self-seat .seat-cards{--hand-width:41px;--hand-height:58px;--hand-tuck:7px;top:4px}
.replay-hole{--hand-width:32px;--hand-height:45px;--hand-angle:2deg;--hand-overlap:0px;--hand-tuck:5px}
.hole-layout-preview{--hand-width:54px;--hand-height:76px;--hand-tuck:0px}
:is(.seat-cards,.replay-hole).overlapping{--hand-angle:7deg;--hand-overlap:calc(var(--hand-width) * .38)}
:is(.seat-cards,.replay-hole).straight-overlap{--hand-angle:0deg;--hand-overlap:calc(var(--hand-width) * .30)}
.seat .seat-cards,.fast-table .seat .seat-cards,.replay-hole{height:var(--hand-height);min-height:0;gap:2px;margin-bottom:calc(-1 * var(--hand-tuck));position:relative;isolation:isolate;z-index:0}
:is(.seat-cards,.replay-hole):is(.overlapping,.straight-overlap){gap:0}
.seat .seat-cards>.playing-card,.fast-table .seat .seat-cards>.playing-card,.hole-layout-preview>.playing-card,.replay-hole>.playing-card{width:var(--hand-width);height:var(--hand-height);flex:none;margin:0;transform-origin:50% 92%;translate:none;backface-visibility:visible;-webkit-backface-visibility:visible;outline:0}
/* Keep the front on the flat table layer once the flip finishes. */
.seat-cards .hole-deal-shell:not([data-hole-dealing],[data-opponent-revealing]) > [data-hole-front] {
  transform: none;
  backface-visibility: visible;
  -webkit-backface-visibility: visible;
}
.seat-cards .hole-deal-shell:not([data-hole-dealing],[data-opponent-revealing]) > [data-hole-back] {
  visibility: hidden;
}
:is(.seat-cards,.replay-hole)>.playing-card:first-child,.self-seat .seat-cards>.playing-card:first-child{transform:rotate(calc(-1 * var(--hand-angle)));margin-right:calc(-1 * var(--hand-overlap));z-index:1}
:is(.seat-cards,.replay-hole)>.playing-card:last-child,.self-seat .seat-cards>.playing-card:last-child{transform:rotate(var(--hand-angle));z-index:2}
.seat-identity,.replay-identity{position:relative;z-index:1}
@media(min-width:961px){.seat-cards{--hand-width:61px;--hand-height:85px}.self-seat .seat-cards{--hand-width:64px;--hand-height:91px}}
@media(orientation:landscape) and (max-height:600px){.seat-cards{--hand-width:36px;--hand-height:50px}.self-seat .seat-cards{--hand-width:36px;--hand-height:50px}}
:is(.seat-cards,.replay-hole):is(.overlapping,.straight-overlap)>.playing-card:first-child{transform:rotate(calc(-1 * var(--hand-angle)));margin-right:calc(-1 * var(--hand-overlap))}
:is(.seat-cards,.replay-hole):is(.overlapping,.straight-overlap)>.playing-card:last-child{transform:rotate(var(--hand-angle))}
html:not([data-card-face=dark]) :is(.seat-cards,.replay-hole)>.playing-card{translate:none;backface-visibility:visible;-webkit-backface-visibility:visible;outline:0}
