/* Five-by-five card table; the shared original SVG deck supplies the faces. */
#ps-app .sol-wrap { max-width: 380px; margin-inline: auto; }
#ps-app .sol-top { display:flex; gap:18px; align-items:center; margin-bottom:12px; }
.ps-current { display:grid; gap:4px; flex:0 0 auto; }
.ps-current-label { color:#fff8dc; font-size:.8rem; }
#ps-current.pc { position:relative; inset:auto; width:56px; height:80px; }
.ps-progress { display:grid; gap:5px; color:#fff8dc; min-width:0; }
.ps-progress b { font-size:1.15rem; }
.ps-progress span { font-size:.85rem; }
.ps-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:8px; width:100%; }
#ps-app .ps-cell.pc { position:relative; inset:auto; display:block; width:100%; height:auto; aspect-ratio:100/142; margin:0; padding:0; border:0; border-radius:7px; background:transparent; cursor:pointer; transform:none; box-shadow:none; }
#ps-app .ps-cell svg { display:block; width:100%; height:100%; }
#ps-app .ps-empty.pc { display:grid; place-items:center; border:1px dashed #c7c49d; background:rgba(0,0,0,.14); color:#fff8dc; font:600 .85rem var(--font-body, sans-serif); }
#ps-app .ps-cell[aria-disabled="true"] { cursor:default; }
#ps-app .ps-cell:focus-visible { outline:3px solid #ffdf81; outline-offset:2px; z-index:2; }
.ps-feedback { color:#fff8dc; font-size:.85rem; }
#ps-preview { min-height:3.5em; line-height:1.4; margin:.75rem 0 .25rem; }
#ps-lines summary { cursor:pointer; min-height:44px; padding:10px 0; }
#ps-lines li { margin-bottom:.5rem; }
.ps-score-table { border-collapse:collapse; width:100%; }
.ps-score-table th,.ps-score-table td { padding:8px; border-bottom:1px solid var(--border, #b6a990); text-align:left; }
.ps-score-table th:nth-child(2),.ps-score-table td:nth-child(2) { text-align:right; }
/* Four reserved text lines hold two hand labels at narrow and enlarged text sizes. */
#ps-app .game-msg { height:5em; min-height:5em; flex:none; white-space:pre-line; }
@media (min-width:700px) { #ps-app .table-felt { padding-top:18px; } }
@media (max-width:420px) { .ps-grid { gap:5px; } #ps-app .sol-top { gap:12px; } .ps-progress b { font-size:1rem; } .ps-progress span { font-size:.75rem; } }
.ps-score-table { table-layout:fixed; overflow-wrap:anywhere; }
.ps-score-table th:first-child { width:27%; }
.ps-score-table th:nth-child(2) { width:15%; }
#ps-current.pc { padding:0; }
