/* Hand and Foot: the centre of the table (sides, book tracker, pile badge). Existing tokens only. */
.hf-table{width:100%}
.hf-table .piles{margin-top:0}
.hf-badge{font-size:11px;font-weight:800;letter-spacing:.04em;color:var(--ink);background:var(--lime);border-radius:4px;padding:2px 8px}
#discard-pile[aria-disabled="true"],#stock[aria-disabled="true"]{opacity:1;cursor:default}
#hf-goout{margin:var(--space-2) 0 0}
.hf-sides{display:grid;gap:var(--space-2);margin-top:var(--space-2);text-align:left}
.hf-side{border:1px solid var(--line);border-radius:12px;padding:var(--space-2);background:color-mix(in srgb,var(--felt-deep) 60%,transparent)}
.hf-side.hf-mine{border-color:var(--line-strong)}
.hf-side-head{margin:0;font-size:12px;color:var(--muted)}
.hf-side-head strong{color:var(--paper);font-size:13px}
.hf-side .melds{justify-content:flex-start;margin:var(--space-1) 0 0;min-height:0}
.hf-side .empty-meld{margin:0}
.table-meld[aria-disabled="true"]{cursor:default}
.hf-book .meld-owner{color:var(--paper);font-weight:800}
.hf-book.hf-clean{outline:1px solid var(--lime)}
.hf-book.hf-wild{outline:2px solid var(--lime)}
@media(min-width:1100px){.felt:has(.hf-table) .table-center{width:64%}}
@media(max-width:1099px){.hf-side .table-meld{padding:4px}.hf-side .table-meld .card{width:28px;height:40px;margin-right:-12px}.hf-side .table-meld .meld-owner{margin-top:2px}}
/* Guide demos with up to seven cards: overlap them and let the scene wrap on phones. */
#rules .rule-scene{flex-wrap:wrap}
#rules .example-hand .guide-card+.guide-card{margin-left:-24px}
@media(max-width:767px){.hf-side{padding:6px}.hf-side-head{font-size:11px}#rules .rule-scene{gap:12px}}
/* "Print the rules": the rules and scoring sections only, dark ink on white. */
@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}}
