.seg-wrap{display:flex}.seg-wrap button{flex:auto}.hf-melds{grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:8px;padding:0;list-style:none;display:grid}.hf-melds li{background:var(--surface);border:2px solid var(--line);color:var(--ink-2);border-radius:14px;justify-items:center;padding:8px 4px;line-height:1.15;display:grid}.hf-melds span{text-transform:uppercase;letter-spacing:.04em;font-size:.78rem;font-weight:700}.hf-melds b{font-family:var(--font-display);color:var(--ink);font-size:1.25rem}.hf-melds .is-done{opacity:.55}.hf-melds .is-done b{text-decoration:line-through 2px}.hf-melds .is-now{border-color:var(--accent);color:#fff;background:radial-gradient(120% 160% at 0% 0%, #ffffff47, transparent 50%), linear-gradient(135deg, var(--accent), var(--accent-2));box-shadow:0 4px 0 color-mix(in oklab, var(--accent), black 40%)}.hf-melds .is-now b{color:#fff}.hf-turn{--pc:var(--accent)}.hf-setup-melds{color:var(--ink-2);font-size:.95rem}.hf-round{gap:10px;display:grid}.hf-sides{gap:10px;padding:0;list-style:none;display:grid}@media (width>=720px){.hf-sides{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}}.hf-side{--pc:var(--brand);border:2px dashed color-mix(in oklab, var(--pc), var(--line) 50%);background:var(--surface-2);width:100%;min-height:64px;color:var(--ink);text-align:left;border-radius:18px;align-items:center;gap:12px;padding:10px 14px;display:flex}.hf-side.is-in{border-style:solid;border-color:var(--line);background:var(--surface);box-shadow:0 4px 0 var(--ledge)}.hf-side-name{text-overflow:ellipsis;flex:1;min-width:0;font-weight:700;overflow:hidden}.hf-side-name .badge{vertical-align:middle;margin-left:4px}.hf-side-go{font-family:var(--font-display);color:var(--accent-ink);white-space:nowrap;font-weight:700}.hf-side-pts{font-family:var(--font-display);font-variant-numeric:tabular-nums;color:var(--green-ink);font-size:1.5rem;font-weight:700}.is-neg,.hf-side-pts.is-neg{color:var(--red-ink)}.hf-form{gap:14px;display:grid}.hf-group{border:2px solid var(--line);border-radius:var(--r-m);background:var(--surface-2);min-width:0;margin:0;padding:4px 14px 10px}.hf-group legend{font-family:var(--font-display);padding:0 6px;font-size:1.1rem;font-weight:700}.hf-group legend span{font-family:var(--font-body);color:var(--ink-2);font-size:.85rem;font-weight:400}.hf-row,.hf-out{justify-content:space-between;align-items:center;gap:12px;padding:6px 0;display:flex}.hf-row+.hf-row{border-top:1px solid var(--line)}.hf-lbl{min-width:0;font-weight:700;line-height:1.2;display:grid}.hf-lbl small{color:var(--ink-2);font-size:.85rem;font-weight:400}.hf-out{border:2px solid var(--line);border-radius:var(--r-m);background:var(--surface-2);cursor:pointer;padding:10px 14px}.hf-step{flex:none;align-items:center;gap:6px;display:flex}.hf-btn{width:var(--tap);height:var(--tap);border:2px solid var(--line);background:linear-gradient(180deg, var(--surface), var(--surface-2));box-shadow:0 3px 0 var(--ledge);font-family:var(--font-display);color:var(--accent-ink);border-radius:14px;font-size:1.5rem;font-weight:700;line-height:1}.hf-btn:active:not(:disabled){box-shadow:0 1px 0 var(--ledge);transform:translateY(2px)}.hf-btn:disabled{opacity:.4}.hf-val{text-align:center;min-width:2.2ch;font-family:var(--font-display);font-variant-numeric:tabular-nums;font-size:1.5rem;font-weight:700}.hf-pts{justify-content:space-between;align-items:center;gap:12px;padding:6px 0;font-weight:700;display:flex}.hf-pts span{line-height:1.2}.hf-num{text-align:right;width:7.5rem;font-family:var(--font-display);flex:none;font-size:1.35rem;font-weight:700}.hf-count{border-top:1px solid var(--line);margin-top:4px}.hf-count summary{cursor:pointer;color:var(--accent-ink);padding:10px 0 6px;font-weight:700}.hf-count .hf-row:first-of-type{border-top:0}.hf-count .hf-btn{width:44px;height:44px;font-size:1.3rem}.hf-sum{border-radius:var(--r-m);background:var(--surface-3);padding:14px 16px}.hf-lines{gap:4px;padding:0;list-style:none;display:grid}.hf-lines li{color:var(--ink-2);justify-content:space-between;gap:12px;display:flex}.hf-lines b{color:var(--ink);font-variant-numeric:tabular-nums}.hf-total{border-top:2px solid var(--line-strong);font-family:var(--font-display);justify-content:space-between;align-items:baseline;margin-top:8px;padding-top:8px;font-weight:700;display:flex}.hf-total b{color:var(--accent-ink);font-variant-numeric:tabular-nums;font-size:2rem}.hf-sheet .sheet-body{padding-bottom:12px}.hf-sheet-foot{z-index:2;padding:12px 18px calc(12px + env(safe-area-inset-bottom));background:var(--surface);border-top:2px solid var(--line);align-items:center;gap:14px;display:flex;position:sticky;bottom:0}.hf-foot-total{flex:1;line-height:1.1;display:grid}.hf-foot-total small{color:var(--ink-2);font-weight:700}.hf-foot-total b{font-family:var(--font-display);color:var(--accent-ink);font-variant-numeric:tabular-nums;font-size:1.9rem}.hf-foot-total b.is-neg{color:var(--red-ink)}.hf-sheet-foot .btn{min-width:8rem}.hf-clear{color:var(--red-ink);margin-top:10px}.hf-nums{grid-template-columns:repeat(auto-fill,minmax(6.5rem,1fr));gap:10px;margin-top:10px;display:grid}.hf-numf{color:var(--ink-2);gap:4px;font-size:.85rem;font-weight:700;display:grid}.hf-numf .input{text-align:center;font-weight:700}.hf-calc{gap:14px;max-width:720px;display:grid}.hf-calc-actions{justify-content:flex-end;display:flex}.ps-hf{--ps-accent:#6a2fc9}.ps-card{border:2px solid var(--ps-accent);color:#1a1a1a;width:22px;height:30px;box-shadow:2px 2px 0 var(--ps-accent);-webkit-print-color-adjust:exact;print-color-adjust:exact;background:#fff;border-radius:4px;place-items:center;font-size:11pt;font-weight:700;line-height:.9;display:inline-grid}.ps-card i{font-size:10pt;font-style:normal}.ps-hf .ps-table{line-height:1.15}.ps-hf .ps-box{width:2.1in}.ps-hf .ps-table th,.ps-hf .ps-table td{height:.225in;padding:1px 6px}.ps-hf .ps-table tbody th small{font-family:var(--font-body);color:#444;font-size:.78em;font-weight:400}.ps-hf .ps-table thead th{height:.4in}.ps-hf .ps-sec th{padding:2px 7px;font-size:.95em;height:auto!important}.ps-hf .ps-sec span{font-family:var(--font-body);font-size:.85em;font-weight:400}.ps-hf .ps-grand th,.ps-hf .ps-grand td{font-size:1.05em}.ps-hf.ps-simple .ps-table th,.ps-hf.ps-simple .ps-table td{height:.36in}.ps-hf.ps-large .ps-box{width:2.6in}.ps-hf.ps-large .ps-table th,.ps-hf.ps-large .ps-table td{height:.27in}.ps-hf.ps-large.ps-simple .ps-table th,.ps-hf.ps-large.ps-simple .ps-table td{height:.34in}.ps-key{border:1.5px solid #444;border-radius:6px;flex-wrap:wrap;gap:1px 10px;margin-top:6px;padding:4px 10px;font-size:.7em;line-height:1.3;display:flex}.ps-key b{font-family:var(--font-display)}.ps-hf .ps-house{flex:100%}.ps-hf .ps-house i{border-bottom:1px solid #1a1a1a;width:70%;display:inline-block}.ps-ink.ps-hf{--ps-accent:#fff}.ps-ink .ps-card{border-color:#1a1a1a;box-shadow:2px 2px #1a1a1a}.ps-ink.ps-hf .ps-table tbody th small{color:#333}
