/* Pitch: a one-row bid ladder (2 · 3 · moon), the High / Low / Jack / Game point tray, the printable cheat sheet. Existing tokens only. */
.pt-bid:empty,.pt-tray-zone:empty{display:none}
.pt-bid .bid-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--space-1);width:min(360px,100%)}
.pt-bid .bid-row{display:none}
.pt-bid .bid-cell{min-width:44px;min-height:44px;font-variant-numeric:tabular-nums}
.pt-bid .bid-cell[aria-disabled="true"]{opacity:.45;text-decoration:line-through}
.pt-bid .bid-actions{flex-wrap:wrap;justify-content:center;gap:var(--space-1)}
.pt-tray{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--space-1);list-style:none;margin:0 auto;padding:0;width:min(400px,100%)}
.pt-chip{display:grid;justify-items:center;gap:1px;padding:var(--space-1);border:1px dashed var(--line);border-radius:var(--radius);background:var(--ink-soft);font-size:12px;color:var(--muted);min-width:0}
.pt-chip strong{color:var(--paper);font-size:12px}
.pt-chip span{font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.pt-chip small{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.pt-chip.us{border:1px solid var(--lime)}
.pt-chip.us small,.pt-chip.us span{color:var(--lime)}
.pt-chip.them{border:1px solid var(--line-strong)}
.pt-chip.them small{color:var(--paper)}
/* The partner's top tile carries an extra "Partner" line (and from 768–1099 px a stacked score), so the centre starts lower
   than Rummy's to keep the turn prompt clear of it (measured gap 8–26 px at 768, 1024, 1100, 1280). */
@media (min-width:768px){.game .table-center{margin-top:160px}}
@media (min-width:768px) and (max-width:1099px){.game .table-center{margin-top:204px}}
#scorecard td{white-space:nowrap}
/* The hand counter and the rules summary share the status bar: keep them apart at 320 px. */
.game .table-top{gap:var(--space-2)}
.table-top #round-label{white-space:nowrap;flex:none}
.table-top #target-label{text-align:right}
.cheat-sheet{display:none}
@media (max-width:360px){.pt-chip{font-size:11px;padding:2px}.pt-chip small{font-size:9px}}
@media print{
 body>*:not(main),main>*:not(#rules):not(#scoring),.rule-demo-controls,.text-link{display:none!important}
 body,main,#rules,#scoring,#rules *,#scoring *{background:#fff!important;color:#000!important;box-shadow:none!important}
 #rules,#scoring{padding:0!important;margin:0 0 12px!important}
 .cheat-sheet{display:block;break-before:page}
 .cheat-sheet table{border-collapse:collapse;width:100%}
 .cheat-sheet th,.cheat-sheet td{border:1px solid #000;padding:3px 6px;font-size:11px;text-align:left;vertical-align:top}
}
