.panel.wide.setup{width:min(1040px,100%);gap:20px}.setup .sides{display:grid;grid-template-columns:1fr 1fr;gap:26px}.setup .side{display:flex;flex-direction:column;gap:10px;min-width:0}.setup .side-head{display:flex;align-items:baseline;justify-content:center;gap:12px;padding-bottom:4px;border-bottom:1.5px solid var(--hair)}.setup .prows{display:flex;flex-direction:column;gap:8px;min-height:56px}.setup .prow{display:grid;grid-template-columns:minmax(0,1fr) auto 56px 56px;gap:8px;align-items:center}.setup .side.right .prow{grid-template-columns:56px 56px auto minmax(0,1fr)}.setup .prow.static{grid-template-columns:minmax(0,1fr) auto}.setup .side.right .prow.static{grid-template-columns:auto minmax(0,1fr)}.setup .pname{height:56px;width:100%;min-width:0;margin:0;padding:0 14px;border:1.5px solid var(--line);border-radius:0;background:var(--paper);color:var(--ink);font-family:Roboto,Helvetica Neue,Arial,sans-serif;font-size:24px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;-webkit-appearance:none;appearance:none;-webkit-user-select:text;user-select:text}.setup .pname::placeholder{color:#c3cac4;font-weight:700;letter-spacing:.1em}.setup .pname:focus{outline:none;border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}.setup .side.right .pname{text-align:right}.setup .pname.static{display:flex;align-items:center;border-color:var(--hair)}.setup .side.right .pname.static{justify-content:flex-end}.setup .stake{height:56px;display:flex;align-items:center;border:1.5px solid var(--line);background:var(--paper)}.setup .stake.static{border-color:var(--hair);padding:0 14px}.setup .step{width:56px;height:100%;padding:0;border:none;background:none;color:var(--ink);font-family:inherit;display:flex;align-items:center;justify-content:center}.setup .step[disabled]{color:#c3cac4}.setup .amt{min-width:64px;text-align:center;font-size:24px;font-weight:800;color:var(--green)}.setup .icon-btn{width:56px;height:56px;padding:0;border:1.5px solid var(--line);background:var(--paper);color:var(--ink);font-family:inherit;display:flex;align-items:center;justify-content:center}.setup .icon-btn.move{color:var(--green);border-color:var(--green)}.setup .icon-btn.remove{color:var(--muted);border-color:var(--hair)}.setup .add{height:56px;width:100%;padding:0 16px;border:1.5px dashed var(--line);background:none;color:var(--ink-soft);font-family:inherit;font-size:13px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;display:flex;align-items:center;justify-content:center;gap:10px}.setup .add[disabled]{color:#b4bcb6;border-color:var(--hair)}.setup .known{display:flex;flex-direction:column;gap:8px;padding-top:4px}.setup .chips{display:flex;flex-wrap:wrap;gap:8px}.setup .chip{height:56px;padding:0 18px;border:1.5px solid var(--hair);background:var(--paper);color:var(--ink);font-family:inherit;font-size:17px;font-weight:800;letter-spacing:.06em;display:flex;align-items:center}.setup .derived{display:flex;align-items:center;gap:18px;min-height:40px}.setup .lower{display:flex;align-items:stretch;gap:24px}.setup .lower .terms{flex:0 0 auto}.setup .proposed{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}.setup .proposed .lbl{font-size:16px;font-weight:800;letter-spacing:.14em;color:var(--red);text-align:center}.setup .balance{border:2px solid var(--red);padding:12px 16px 14px;display:flex;flex-wrap:wrap;justify-content:center;align-items:stretch;gap:10px}.setup .fix{min-height:52px;padding:0 18px;border:1.5px solid var(--red);background:var(--paper);color:var(--red);font-family:inherit;font-size:19px;font-weight:800;letter-spacing:.02em;text-transform:uppercase;text-align:center;line-height:1.15;display:flex;align-items:center;justify-content:center}.setup .problems{display:flex;flex-direction:column;justify-content:center;gap:4px;font-size:14px;font-weight:600;color:var(--red)}.setup .actions .hint{font-size:14px;font-weight:600;color:var(--muted)}.setup .btn.go.barred{padding:0;border-color:var(--red);background:repeating-linear-gradient(-45deg,var(--red) 0 11px,var(--paper) 11px 22px)}.setup .btn.go.barred span{padding:7px 20px;border:2px solid var(--red);background:var(--paper);color:var(--red);font-size:22px;font-weight:800;letter-spacing:.1em}.setup .notice{padding:12px 18px;border:1.5px solid var(--red);background:var(--paper);font-size:15px;font-weight:600;line-height:1.45;color:var(--red)}.setup .terms{display:flex;flex-wrap:wrap;gap:16px 30px}.setup .term{display:flex;flex-direction:column;gap:8px}.setup .term .lbl{font-size:13px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);text-align:center}.setup .term-chip{min-width:200px;height:62px;padding:0 14px 0 18px;border:1.5px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink);font-family:inherit;display:flex;align-items:center;justify-content:space-between;gap:14px;box-shadow:0 2px 0 var(--hair)}.setup .term-chip .said{display:flex;flex-direction:column;align-items:flex-start;gap:2px;font-size:21px;font-weight:800}.setup .term-chip .said .under{font-size:10px;font-weight:700;letter-spacing:.14em;opacity:.55}.setup .term-chip .more{width:0;height:0;flex-shrink:0;border-left:7px solid transparent;border-right:7px solid transparent;border-top:9px solid var(--line)}.setup .term-chip.static{box-shadow:none;border-color:var(--hair)}.setup .term-chip:not(.static):hover,.setup .term-chip:not(.static):active{border-color:var(--ink);box-shadow:0 2px 0 var(--line)}.setup{position:relative}.setup .term-picker{position:absolute;inset:0;background:#1f25216b;display:flex;align-items:center;justify-content:center;padding:24px}.setup .picked{background:#f6f7f3;border:2px solid var(--ink);box-shadow:0 24px 60px #141a1652;padding:22px 24px 20px;display:flex;flex-direction:column;gap:16px;min-width:330px}.setup .picked h3{margin:0;font-size:20px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;text-align:center}.setup .picked .opts{display:flex;flex-direction:column;gap:10px}.setup .picked .key{height:72px}.setup .picked .btn{height:56px}.setup .actions{position:relative;justify-content:center}.setup .actions .danger{position:absolute;left:0;margin-right:0}.panel.wide.ledger-page{--panel: #f6f7f3;width:100%;max-width:1320px;height:100%;overflow:hidden}.ledger-scroll{flex:0 1 auto;min-height:0;max-height:100%;width:fit-content;max-width:100%;margin:0 auto;overflow:auto;border:1.5px solid var(--line);background:var(--paper);-webkit-overflow-scrolling:touch}.ledger{border-collapse:collapse;width:100%;background:var(--paper);font-variant-numeric:tabular-nums lining-nums}.ledger th,.ledger td{border-right:1px solid #c9d0c9;border-bottom:1px solid #dde2dc;padding:0}.ledger tr>*:last-child{border-right:none}.ledger thead .groups th{border-bottom:1px solid #8e9a92;background:#f3f5f1;vertical-align:top}.ledger thead .groups th.grp{border-left:2px solid #8e9a92}.ledger thead .groups th.who{border-left:none;background:var(--paper)}.ledger thead .groups th.who.right{border-left:2px solid #8e9a92}.ledger tfoot .totals td.who{background:var(--paper)}.sheet-h{width:100%;min-width:240px;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:1px;padding:10px 14px 12px;border:none;background:none;font-family:inherit;color:var(--ink)}.sheet-h .lbl{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}.sheet-h .num{width:38px;height:38px;margin-bottom:3px;border-radius:50%;background:var(--ink);color:#fff;font-size:21px;font-weight:800;line-height:1;display:flex;align-items:center;justify-content:center}.sheet-h.on .num{background:var(--green)}.sheet-h.live .num{background:var(--muted)}.sheet-h .boxes{flex:1;min-height:36px;display:flex;align-items:center;font-size:34px;font-weight:700;line-height:1.05}.sheet-h .boxes.torn{font-size:21px;letter-spacing:.06em;color:var(--red)}.sheet-h .from{font-size:12px;font-weight:600;color:var(--muted)}.sheet-h .side{font-size:13px;font-weight:800;letter-spacing:.04em;color:var(--green)}.ledger thead .groups th.grp.on{background:var(--green-pale);box-shadow:inset 0 -3px 0 var(--green)}.sheet-h.live .boxes{color:var(--faint)}.sheet-h.sum{cursor:default;min-width:240px}.sheet-h.sum .lbl{color:var(--ink);font-size:23px;letter-spacing:.08em}.sheet-h.sum .from{font-size:19px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);padding-top:2px}.sheet-h.sum .side{font-size:13px;font-weight:700;color:var(--muted);line-height:1.15;text-wrap:balance}.ledger thead .signs th{border-bottom:2px solid #8e9a92;font-size:17px;font-weight:800;padding:4px 0 5px;text-align:center}.ledger thead .signs th.plus{background:#e6eef6;color:#2f5d86}.ledger thead .signs th.minus{background:#f8e6e6;color:#9c3a32}.ledger thead .signs th.who{background:var(--paper);font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);text-align:left;padding-left:16px}.ledger thead .signs th.who.right{text-align:right;padding:4px 16px 5px}.ledger .who{position:sticky;z-index:2;background:var(--paper)}.ledger .who.left{left:0;border-right:2px solid #8e9a92}.ledger .who.right{right:0;border-left:2px solid #8e9a92;text-align:right}.ledger thead .who{z-index:3}.ledger td.who{min-width:165px;padding:0 16px;height:58px;font-size:19px;font-weight:800;letter-spacing:.05em;white-space:nowrap}.ledger .cell{height:58px;min-width:78px;padding:0 12px;text-align:right;vertical-align:middle}.ledger .cell.plus{background:#f2f7fb;border-left:2px solid #8e9a92}.ledger .cell.minus{background:#fdf3f3}.ledger .cell .amt{font-size:22px;font-weight:800;line-height:1}.ledger .cell.plus .amt{color:#23527c}.ledger .cell.minus .amt{color:var(--red)}.ledger .cell .amt.none{color:var(--faint);font-weight:700}.ledger .cell .stk{display:block;font-size:16px;font-weight:600;color:var(--muted)}.ledger .cell.empty{background:repeating-linear-gradient(-45deg,#fbfcfa 0 6px,#f3f5f1 6px 12px)}.ledger .cell.live{opacity:.55}.ledger .cell.carry .amt{opacity:.4;font-weight:700}.ledger tfoot .totals td{border-top:2px solid var(--ink);border-bottom:none;height:54px;font-size:20px;font-weight:800}.ledger tfoot .totals td.who{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}.ledger tfoot .cell.ttl{color:var(--ink)}.ledger-bar{display:flex;flex-direction:column;align-items:center;gap:12px;flex-shrink:0}.ledger-bar .group{display:flex;gap:10px;align-items:center}.ledger-bar .nets{font-size:15px;font-weight:600;color:var(--muted)}.ledger-bar .nets.ok{font-size:45px;font-weight:800;letter-spacing:.04em}.ledger-bar .nets.ok{color:var(--green)}.ledger-bar .nets.off{color:var(--red)}.ledger-bar .btn svg{flex-shrink:0}.ledger-bar .btn:hover,.ledger-bar .btn:active{background:var(--green);border-color:var(--green);color:#fff}:root{--foot: 200px;--name-cap: 36px;--col-inset: 30px;--col-gutter: 8px;--ground: #eef0ea;--paper: #ffffff;--ink: #1f2521;--ink-soft: #3a423c;--muted: #6b756f;--faint: #9aa49d;--hair: #dde2dc;--line: #8e9a92;--green: #2e6b4f;--green-pale: #eaf3ee;--red: #b5352c;--oval: #f3ee8c;--oval-line: #b9b24a;--dead-fill: #e0e0e0;--dead-line: #c6c6c6;--dead-ink: #909090;--row: 53px;--oval-row: 38px;color-scheme:light}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;height:100%;height:100dvh;overflow:hidden;background:var(--ground);color:var(--ink);font-family:Roboto,Helvetica Neue,Arial,sans-serif;font-variant-numeric:tabular-nums;-webkit-user-select:none;user-select:none;touch-action:manipulation}#app{position:relative;height:100%;display:flex;flex-direction:column}.lbl.big{font-size:17px;letter-spacing:.14em;color:var(--ink)}.lbl{font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}.topbar{position:relative;height:48px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 18px;background:#171717;color:#fff;padding-top:env(safe-area-inset-top);height:calc(48px + env(safe-area-inset-top))}.topbar .left,.topbar .right{display:flex;align-items:center;gap:18px}.topbar .tb-mid{position:absolute;left:50%;transform:translate(-50%);top:env(safe-area-inset-top);bottom:0;display:flex;align-items:center}.topbar .where{font-size:13px;font-weight:500;color:#c2cac5}.tb-btn{display:flex;align-items:center;gap:8px;padding:6px 12px;border:1.5px solid #7f8b84;border-radius:4px;font-size:13px;font-weight:700;color:#fff;background:none;font-family:inherit}.tb-btn[disabled]{opacity:.4}.tb-btn.fresh{background:var(--green);border-color:var(--green)}.tb-btn .what{font-weight:500;color:#c2cac5}.board{flex:1;min-height:0;display:grid;grid-template-columns:1fr 444px 1fr;gap:16px;padding:11px 16px 10px;background:var(--paper)}.names{display:flex;align-items:baseline;justify-content:center;gap:.9em;line-height:1.1;height:calc(var(--name-cap) * 1.29);align-content:flex-end}.names .who{align-self:flex-end}.names .who{display:flex;align-items:baseline;gap:.17em}.names .name{font-size:1em;font-weight:800;letter-spacing:.06em}.names .stake{font-size:.86em;font-weight:600;color:var(--green)}.half{container-type:inline-size;display:flex;flex-direction:column;gap:9px;min-height:0;padding:0 var(--col-inset)}.half:first-child{padding-right:var(--col-gutter)}.half:last-child{padding-left:var(--col-gutter)}.cells{flex:1;min-height:0;overflow-y:auto;scrollbar-width:none}.cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.feet{flex-shrink:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.col{min-height:0}.col.dead .rect{border-color:var(--dead-line);background:var(--dead-fill);color:var(--dead-ink)}.col.dead .oval i{background:#d6d6d6;border-color:#afafaf;color:#8a8a8a}.col.dead .rect.empty{border-color:#d0d0d0;background:#e8e8e8}.cells::-webkit-scrollbar{display:none}.rect{height:var(--row);border:1.5px solid var(--line);background:var(--paper);display:flex;align-items:center;justify-content:center;font-size:34px;font-weight:700}.rect.empty{border-style:dotted;border-color:#cfd5ce}.rect .notyet{font-size:12px;font-weight:800;letter-spacing:.14em;color:#a3ada6}.oval{height:var(--oval-row);display:flex;align-items:center;justify-content:center}.oval i{font-style:normal;width:56%;height:calc(var(--oval-row) - 6px);border-radius:50%;background:var(--oval);border:1.5px solid var(--oval-line);display:flex;align-items:center;justify-content:center;font-size:25px;font-weight:700}.oval.empty i{background:#fcfbf2;border-style:dotted;border-color:#dedbae}.foot{flex-shrink:0;height:var(--foot);margin-top:8px;display:flex;flex-direction:column;justify-content:center}.foot .frow{position:relative;height:42px;display:flex;align-items:center;justify-content:center;gap:8px;border-top:1px solid #e4e8e2;font-size:20px;color:var(--ink-soft)}.foot .frow.big{height:60px}.foot .frow.count{height:136px}.foot .frow:first-child{border-top:none}.foot .tag{font-size:20px;font-weight:700;letter-spacing:.08em;color:var(--muted)}.foot .tag small{font-size:max(9px,.65em);vertical-align:super;letter-spacing:0}.foot .num{font-size:36px;font-weight:800}.foot .frow.count .badge{position:relative;top:7px}.foot .badge{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:51px;font-weight:800;line-height:1;color:#fff;font-variant-numeric:tabular-nums}.foot .badge.square{position:relative;background:none;--sign: var(--paper);--rim: var(--red);width:auto;aspect-ratio:1}.foot .badge.square svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.foot .badge.square .shape{fill:var(--sign);stroke:var(--rim);stroke-width:6px}.foot .badge.square b{position:relative;color:var(--rim);font-weight:600}.foot .frow.pair-safe{align-items:flex-end;padding-bottom:8px}.foot .safe .plain{font-size:34px;font-weight:600;color:var(--red);font-variant-numeric:tabular-nums}.foot .safe .plain sup{font-size:.54em;font-weight:700;position:relative;top:-.28em}.foot .safe.faded .plain{color:#a9b1ab}.foot .safe.faded .badge.square{--sign: var(--paper);--rim: #a9b1ab}.foot .badge.circle{background:var(--green);border-radius:50%;width:auto;aspect-ratio:1}.foot .pair{position:absolute;left:1px;top:0;font-size:42px;font-weight:600;line-height:1}.foot .safe .pair{color:var(--red)}.foot .safe.faded .pair{color:#b9c0ba}.foot .auto .pair{color:var(--green)}.foot .proj{font-size:51px;font-weight:800;color:var(--ink)}.foot .safe .tag,.foot .safe .num{color:var(--red)}.foot .auto .tag,.foot .auto .num{color:var(--green)}.foot .nosafe{font-size:36px;font-weight:800;letter-spacing:.04em;line-height:1.02;text-align:center;color:var(--red)}.foot .off{color:#c3cac4;font-size:22px}.result{flex-shrink:0;height:var(--foot);margin-top:8px;border:2px solid var(--green);background:var(--green-pale);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}.result b{font-size:36px;font-weight:800;color:var(--green);line-height:1}.result span{font-size:9px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--green)}.result.lost{border-color:var(--dead-line);background:var(--dead-fill)}.result.lost b{color:var(--dead-ink);font-size:26px}.middle{position:relative;display:flex;flex-direction:column;align-items:center;gap:10px;min-height:0;padding-top:calc(var(--name-cap) * 1.29 + 9px)}.action{position:absolute;top:50%;left:0;right:0;transform:translateY(-50%);display:flex;flex-direction:column;align-items:center;gap:16px}.tally{width:100%;border:2px solid var(--ink);background:var(--paper);padding:14px 16px 16px;display:flex;flex-direction:column;align-items:center;gap:2px}.tally .figures{display:flex;flex-direction:column;align-items:center;gap:0}.tally b{font-size:52px;font-weight:800;line-height:1}.tally .figures span{font-size:23px;font-weight:800;line-height:1.1;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}.tally .from{display:flex;align-items:center;gap:8px;font-size:20px;font-weight:700;color:var(--ink-soft);font-variant-numeric:tabular-nums;padding-top:4px}.tally .from svg{width:.7em;height:.7em}.tally .from svg polygon{fill:currentColor}.tally .who{font-size:18px;font-weight:800;letter-spacing:.04em;color:var(--green);padding-top:4px}.tally.torn{border-color:var(--red)}.tally.torn b{font-size:42px;letter-spacing:.06em;color:var(--red)}.tally.torn .who{color:var(--red)}.banner{flex-shrink:0;background:var(--red);color:#fff;font-size:26px;font-weight:800;letter-spacing:.22em;text-align:center;padding:4px 0}.banner.soft{background:var(--green)}.hand-tag{display:inline-flex;align-items:center;border:2px solid var(--red);background:var(--red);color:#fff;font-size:18px;font-weight:800;letter-spacing:.16em;padding:8px 18px}.hand-tag.soft{border-color:var(--green);background:var(--green);color:#fff}.card{position:relative;border-radius:18px;margin-top:auto;width:264px;height:264px;border:3px solid var(--ink);background:var(--paper);display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:.9;font-weight:800}.card .pip{position:absolute;left:18px;top:12px;font-size:83px;line-height:1}.card .pip.flip{inset:auto 18px 12px auto;transform:rotate(180deg)}.card .suit{font-size:150px}.card.black{color:var(--ink)}.card.red{color:var(--red)}.card.blank{border-style:dashed;color:var(--faint);font-size:26px;letter-spacing:.1em;font-weight:700}.staging{width:100%;display:grid;--said: 34px;grid-template-columns:repeat(2,minmax(0,1fr));border:3px solid var(--ink);border-radius:18px}.staging .top{min-height:68px;min-width:0;display:flex;align-items:flex-end;justify-content:center;padding:16px 12px 8px}.staging .bot{min-width:0;container-type:inline-size;display:flex;flex-direction:column;align-items:center;gap:5px;padding:4px 12px 16px}.staging .lines{display:flex;flex-direction:column;align-items:flex-start;gap:5px;max-width:100%}.staging .edge{border-right:3px solid var(--ink)}.staging .net{display:flex;align-items:baseline;line-height:1}.staging .raw{font-size:58px;font-weight:800;color:var(--ink)}.staging .slash{font-size:58px;font-weight:400;color:var(--muted);line-height:1;padding:0 3px}.staging .doubled{font-size:58px;font-weight:800;color:var(--green)}.staging .one{font-size:58px;font-weight:800;color:var(--green);line-height:1}.staging .said{max-width:100%;font-size:var(--said);font-weight:700;color:var(--ink-soft);overflow-wrap:anywhere}.staging .said.total{color:var(--ink);align-self:center;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px;white-space:nowrap;font-size:min(var(--said),calc(100cqw / (var(--ch, 8) * .55)))}.staging .said.each{padding-left:7px;font-size:25px;font-weight:600;color:var(--muted)}.staging .said.each:before{content:"";display:inline-block;width:6px;height:6px;margin:0 9px 4px 0;border-radius:50%;background:currentColor;vertical-align:middle}.staging .none{font-size:15px;color:#c3cac4}.staging .handsafe{margin-top:12px;font-size:25px;font-weight:800;letter-spacing:.04em;line-height:1.05;color:var(--red)}.staging .handsafe{display:flex;flex-direction:column;align-items:center;text-align:center}.staging .handsafe span{white-space:nowrap}.staging .handsafe b{font-size:25px}.staging .handsafe.faded{color:#b9c0ba}.staging .handsafe.none{font-size:17px;color:var(--red)}.staging .wall{font-size:17px;font-weight:800;letter-spacing:.14em;color:var(--muted);border:1.5px solid var(--hair);padding:3px 10px}.still{font-size:22px;font-weight:700;color:var(--muted);text-align:center}.grow{flex:1}.big-btn{width:264px;max-width:100%;height:86px;flex-shrink:0;border:3px solid var(--ink);border-radius:18px;background:none;color:var(--ink);font-family:inherit;font-size:24px;font-weight:800;letter-spacing:.12em;display:flex;align-items:center;justify-content:center}.big-btn.green{border-color:var(--green);color:var(--green)}.big-btn:not([disabled]):hover,.big-btn:not([disabled]):active{background:var(--ink);color:var(--paper)}.big-btn.green:not([disabled]):hover,.big-btn.green:not([disabled]):active{background:var(--green);color:var(--paper)}.big-btn[disabled]{border-color:var(--dead-line);background:none;color:var(--faint)}.scrim{position:fixed;inset:0;background:#171e198c;display:flex;align-items:center;justify-content:center;padding:24px}.panel:focus{outline:none}.panel{background:#f6f7f3;border:2px solid var(--ink);box-shadow:0 24px 60px #141a1652;padding:24px 26px 22px;display:flex;flex-direction:column;gap:18px;max-height:100%;overflow:auto}.panel.wide{width:900px}.panel.narrow{width:560px}.panel h2{margin:0;font-size:26px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.panel .sub{font-size:15px;font-weight:600;color:var(--muted)}.panel .sub.warn{font-size:22px;color:var(--red);font-weight:700}.panel-head{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;padding:0 44px}.panel-head .right{position:absolute;right:0;top:0;display:flex;align-items:center;gap:14px}.panel-head .x{position:absolute;right:0;top:-2px}.x{border:none;background:none;font-size:30px;color:#b4bcb6;font-family:inherit;padding:0 4px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:26px}.stack{display:flex;flex-direction:column;gap:14px}.pad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.pad4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.pad2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pad3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.key{height:74px;border:1.5px solid var(--line);background:var(--paper);color:var(--ink);font-family:inherit;font-size:28px;font-weight:800;display:flex;align-items:center;justify-content:center}.key.small{font-size:21px}.key.small:has(.under){flex-direction:column;gap:3px}.settings .notice{border:1.5px solid var(--red);background:#fdf3f3;color:var(--red);padding:10px 14px;font-size:14px;font-weight:600;line-height:1.35}.key .under{font-size:10px;font-weight:700;letter-spacing:.14em;opacity:.6}.key.on{background:var(--ink);color:#fff;border-color:var(--ink)}.key.kind.on{background:var(--green);border-color:var(--green)}.pad .key:not([disabled]):active{background:var(--green);border-color:var(--green);color:#fff}.key.wall{font-size:18px;letter-spacing:.12em}.key.wall.on{background:var(--green);border-color:var(--green);color:#fff}.key[disabled]{background:var(--ground);color:#b4bcb6;border-color:var(--hair)}.key.red{color:var(--red);border-color:var(--red)}.field{border:2px solid var(--ink);background:var(--paper);height:86px;display:flex;align-items:center;justify-content:center;padding:0 14px;font-size:47px;font-weight:700}.field .said{display:flex;align-items:baseline;gap:12px}.field b{font-weight:700;color:var(--green)}.field i{font-size:inherit;font-weight:700;font-style:normal;color:var(--green);white-space:nowrap}.field.empty b{color:#c3cac4}.caption{font-size:18px;font-weight:600;color:var(--muted);text-align:center}.teams{display:grid;grid-template-columns:1fr 1fr;gap:12px;width:100%}.team-btn{height:150px;padding:0 12px;border:1.5px solid var(--line);background:var(--paper);color:var(--ink);font-family:inherit;font-size:20px;font-weight:800;letter-spacing:.04em;line-height:1.2;text-align:center;display:flex;align-items:center;justify-content:center}.team-btn.on{background:var(--green);border-color:var(--green);color:#fff}.summary{border:1.5px solid var(--green);background:var(--green-pale);padding:14px 18px;display:flex;flex-direction:column;gap:5px}.summary h3{margin:0;font-size:16px;font-weight:700;color:var(--green)}.summary p{margin:0;font-size:15px;line-height:1.5;color:var(--ink-soft)}.summary.plain{border-color:var(--hair);background:var(--paper)}.summary.plain h3{color:var(--ink)}.actions{display:flex;align-items:center;justify-content:space-between;gap:14px}.actions.one .btn.go{flex:1}.actions .group{display:flex;gap:10px;align-items:center}.btn{height:74px;padding:0 28px;border:1.5px solid var(--line);background:var(--paper);color:var(--ink);font-family:inherit;font-size:17px;font-weight:700;letter-spacing:.06em;display:flex;align-items:center;justify-content:center;gap:10px}.btn.short{height:60px;font-size:16px;padding:0 22px}.btn.go{background:var(--green);border-color:var(--green);color:#fff;font-size:26px;font-weight:800;letter-spacing:.14em;padding:0 64px}.btn.go[disabled]{background:var(--dead-fill);border-color:var(--dead-line);color:var(--faint)}.btn.danger{border-color:var(--red);color:var(--red)}.btn .hint{font-weight:600;letter-spacing:.02em;opacity:.85}.ranks{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}.suits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.suit-key{height:132px;font-size:80px}.suit-key.red{color:var(--red)}.toast{position:fixed;left:50%;bottom:calc(28px + env(safe-area-inset-bottom));transform:translate(-50%);z-index:50;padding:14px 26px;background:var(--ink);color:#fff;font-family:Roboto,Helvetica Neue,Arial,sans-serif;font-size:15px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;box-shadow:0 12px 30px #141a164d;pointer-events:none;animation:toast 2.4s ease forwards}@keyframes toast{0%,80%{opacity:1}to{opacity:0}}.handoff-img{display:block;max-width:100%;border:1.5px solid var(--line);background:var(--paper)}.handoff-text{width:100%;min-height:120px;margin:0;padding:12px 14px;border:1.5px solid var(--line);border-radius:0;background:var(--paper);color:var(--ink);font-family:Roboto,Helvetica Neue,Arial,sans-serif;font-size:15px;font-weight:600;line-height:1.5;white-space:pre;overflow:auto;resize:none;-webkit-appearance:none;appearance:none;-webkit-user-select:text;user-select:text}.handoff-text:focus{outline:none;border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}.handoff .caption{text-align:left}@media(max-width:920px),(max-height:560px){:root{--row: 34px;--oval-row: 25px;--foot: 88px;--name-cap: 15px;--col-inset: 3px;--col-gutter: 3px}.topbar{height:calc(42px + env(safe-area-inset-top));padding:0 7px;padding-top:env(safe-area-inset-top);gap:8px}.topbar .left,.topbar .right{gap:4px;min-width:0}.topbar{overflow-x:auto;scrollbar-width:none}.topbar::-webkit-scrollbar{display:none}.topbar .where{display:none}.tb-btn{flex-shrink:0;padding:4px 5px;font-size:9px;letter-spacing:0;gap:4px;white-space:nowrap}.tb-btn .what{display:none}.tb-btn svg{width:9px;height:10px}.board{gap:8px;padding:8px 8px calc(6px + env(safe-area-inset-bottom))}.names{gap:.6em}.names .name{letter-spacing:.04em}.cols,.feet{gap:5px}.rect{font-size:21px;border-width:1px}.oval i{font-size:15px;border-width:1px}.rect .notyet{font-size:9px;letter-spacing:.08em}.foot{margin-top:5px}.foot .frow{height:18px;gap:3px}.foot .frow.big{height:26px}.foot .frow.count{height:56px}.foot .badge{font-size:20px}.foot .safe .plain{font-size:13px}.foot .badge.square .shape{stroke-width:2.5px}.foot .pair{font-size:16px;left:0;top:0}.foot .proj{font-size:20px}.foot .tag{font-size:9px;letter-spacing:.04em}.foot .num{font-size:15px}.foot .nosafe{font-size:15px;letter-spacing:.02em}.foot .off{font-size:11px}.result{margin-top:5px;border-width:1.5px}.result b{font-size:24px}.result span{font-size:7px}.result.lost b{font-size:18px}.hand-tag{font-size:13px;letter-spacing:.1em;padding:5px 12px;border-width:1.5px}.banner{font-size:13px;letter-spacing:.14em;padding:2px 0}.hand-tag.under{display:none}.card{width:132px;height:132px;border-width:2px;border-radius:10px}.staging{border-width:2px}.staging .edge{border-right-width:2px}.card .pip{left:8px;top:3px;font-size:40px}.card .pip.flip{right:8px;bottom:3px}.middle{padding-top:0}.card .suit{font-size:72px}.staging .top{min-height:44px;padding:8px 4px 4px}.staging .bot{padding:2px 4px 8px}.staging .raw,.staging .doubled,.staging .slash,.staging .one{font-size:30px}.staging{--said: 19px}.staging .said.total{text-decoration-thickness:1.5px;text-underline-offset:4px}.staging .said.each{font-size:15px;padding-left:4px}.staging .said.each:before{width:4px;height:4px;margin:0 6px 3px 0}.staging .handsafe{margin-top:6px;font-size:15px;line-height:1.15}.staging .handsafe b{font-size:17px}.staging .handsafe span{white-space:normal}.staging .handsafe.none{font-size:12px}.staging .wall{font-size:12px;padding:2px 7px;letter-spacing:.1em}.still{font-size:15px}.big-btn{width:100%;height:60px;font-size:17px;letter-spacing:.08em;border-width:2px;border-radius:6px}.foot .frow.count .badge{top:3px}.tally{padding:10px 12px 12px}.tally b{font-size:36px}.tally .figures span{font-size:16px}.tally .who,.tally .from{font-size:14px}.scrim{padding:0;align-items:stretch}.panel,.panel.wide,.panel.narrow{width:100%;max-width:none;max-height:100%;border:none;border-radius:0;padding:calc(14px + env(safe-area-inset-top)) 14px calc(14px + env(safe-area-inset-bottom));gap:14px}.panel h2{font-size:21px}.panel .sub{font-size:13px}.key{height:58px;font-size:23px}.key.small{font-size:15px}.suit-key{height:84px;font-size:52px}.field{height:62px;font-size:38px}.team-btn{height:96px;font-size:16px}.key.wall{font-size:13px}.btn{height:58px;padding:0 18px;font-size:15px}.btn.short{height:50px;padding:0 14px;font-size:14px}.btn.go{padding:0 30px;font-size:20px}.actions{gap:10px}.ranks,.suits,.pad,.pad2,.pad3{gap:7px}.setup .sides{grid-template-columns:1fr;gap:16px}.setup .lower{flex-direction:column;gap:16px}.setup .terms{flex-direction:column;gap:12px}.setup .term{width:100%}.setup .term-chip{width:100%;min-width:0;height:58px}.setup .proposed{width:100%}.setup .fix{width:100%;font-size:16px}.setup .actions{flex-wrap:wrap;justify-content:stretch;gap:10px}.setup .actions .danger{position:static;width:100%}.setup .actions .btn.go{width:100%}.setup .actions .hint{width:100%;text-align:center}.setup .term-picker{position:fixed;padding:20px}.setup .picked{width:100%;max-width:360px;min-width:0}.setup .derived{flex-direction:column;align-items:stretch;gap:10px;min-height:0}.setup .balance{width:100%}.setup .fix{width:100%;height:auto;padding:10px 14px}.setup .fix{white-space:normal;text-align:center}.setup .prow{grid-template-columns:minmax(0,1fr) auto 44px 44px}.setup .side.right .prow{grid-template-columns:44px 44px auto minmax(0,1fr)}.setup .prow.static,.setup .side.right .prow.static{grid-template-columns:minmax(0,1fr) auto}.setup .pname{height:50px;font-size:19px}.setup .chips{flex-wrap:wrap}.ledger td.who{min-width:88px;padding:0 10px;height:46px;font-size:15px}.ledger .cell{height:46px;min-width:66px;padding:0 8px}.ledger .cell .amt{font-size:16px}.ledger .cell .stk{font-size:13px}.sheet-h{min-width:118px;padding:7px 8px 9px}.sheet-h .boxes{font-size:24px}.sheet-h .lbl{font-size:9px}.sheet-h .from,.sheet-h .side{font-size:10px}.sheet-h.sum{min-width:200px}.sheet-h.sum .lbl{font-size:15px}.sheet-h.sum .from,.sheet-h.sum .side{font-size:18px}.ledger-bar{align-items:center;gap:10px}}@media(max-width:920px)and (orientation:portrait){.board{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto minmax(0,1fr)}.middle{grid-column:1 / -1;grid-row:1;display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"card staging" "card note";align-items:center;gap:6px 12px;padding:6px 8px 10px;border-bottom:1.5px solid var(--hair)}.middle .hand-tag{grid-area:card;justify-self:center;align-self:start}.middle .card{grid-area:card;justify-self:center;align-self:end;margin-top:30px}.middle .staging{grid-area:staging}.middle .still{grid-area:note;text-align:left}.middle .action{position:static;transform:none;grid-column:1 / -1;width:100%}.middle .grow{display:none}.half{grid-row:2;min-height:0}.half:first-child{grid-column:1}.half:last-child{grid-column:2}.half .names{justify-content:center}.cols,.feet{gap:4px}.rect{font-size:19px}.oval i{width:68%;font-size:14px}.foot .proj{font-size:17px}.foot .num{font-size:13px}.foot .tag{font-size:8px}.foot .nosafe{font-size:13px}}@media(max-height:560px)and (orientation:landscape){:root{--row: 30px;--oval-row: 22px;--foot: 80px;--col-inset: 2px;--col-gutter: 2px}.board{grid-template-columns:1fr 232px 1fr}.rect{font-size:18px}.oval i{font-size:13px}.card{width:52px;height:52px}.card .suit{font-size:28px}.card .pip{font-size:17px}.staging .raw,.staging .doubled,.staging .slash,.staging .one{font-size:24px}.staging .handsafe{font-size:13px}.staging .handsafe b{font-size:15px}.staging .top{min-height:34px;padding:6px 4px 3px}.big-btn{height:50px;font-size:15px}.foot .frow.big{height:22px}.foot .frow.count{height:50px}.foot .badge{font-size:17px}.foot .safe .plain{font-size:11px}.foot .badge.square .shape{stroke-width:2px}.foot .proj{font-size:17px}}@media(min-width:1600px){:root{--row: 66px;--oval-row: 47px;--foot: 248px;--name-cap: 46px;--col-inset: 42px;--col-gutter: 12px}.topbar{height:60px;padding:0 20px}.tb-btn{padding:9px 16px;font-size:16px}.topbar .where{font-size:16px}.board{gap:22px;padding:12px 20px 14px;grid-template-columns:1fr 460px 1fr}.cols,.feet{gap:16px}.rect{font-size:44px;border-width:2px}.rect .notyet{font-size:15px}.oval i{font-size:32px;border-width:2px}.foot .frow.big{height:76px}.foot .frow.count{height:148px}.foot .proj,.foot .badge{font-size:64px}.foot .safe .plain{font-size:43px}.foot .badge.square .shape{stroke-width:8px}.foot .nosafe{font-size:46px}.foot .off{font-size:27px}.foot .pair{font-size:53px}.result b{font-size:46px}.result span{font-size:11px}.hand-tag{font-size:23px;padding:10px 24px}.banner{font-size:34px;padding:5px 0}.card{width:330px;height:330px;border-width:4px;border-radius:22px}.staging{border-width:4px}.staging .edge{border-right-width:4px}.card .pip{font-size:104px;left:22px;top:15px}.card .pip.flip{right:22px}.card .suit{font-size:188px}.staging{width:460px}.staging .raw,.staging .doubled,.staging .slash,.staging .one{font-size:55px}.staging{--said: 32px}.staging .wall{font-size:21px}.still{font-size:30px}.big-btn{width:330px;height:108px;font-size:33px;border-width:4px;border-radius:22px}.foot .frow.count .badge{top:9px}.tally b{font-size:65px}.tally .figures span{font-size:29px}.tally .who{font-size:23px}.tally .from{font-size:25px}.panel.wide{width:1120px}.panel.narrow{width:700px}.panel h2{font-size:33px}.panel .sub{font-size:19px}.key{height:92px;font-size:35px}.key.small{font-size:26px}.suit-key{height:150px;font-size:90px}.field{height:96px;font-size:55px}.team-btn{height:190px;font-size:24px}.key.wall{font-size:22px}.btn{height:68px;font-size:19px}}@media(min-width:1500px)and (max-width:1800px)and (max-height:1150px){:root{--row: 58px;--oval-row: 42px;--foot: 214px;--name-cap: 40px;--col-inset: 34px;--col-gutter: 10px}.topbar{height:52px;padding:0 18px}.tb-btn{padding:7px 14px;font-size:14px}.topbar .where{font-size:14px}.board{gap:18px;padding:11px 18px 12px;grid-template-columns:1fr 500px 1fr}.cols,.feet{gap:13px}.rect{font-size:38px;border-width:1.5px}.rect .notyet{font-size:13px}.oval i{font-size:28px;border-width:1.5px}.foot .frow.big{height:66px}.foot .frow.count{height:128px}.foot .proj,.foot .badge{font-size:56px}.foot .safe .plain{font-size:38px}.foot .badge.square .shape{stroke-width:7px}.foot .nosafe{font-size:40px}.foot .off{font-size:24px}.foot .pair{font-size:46px}.result b{font-size:40px}.result span{font-size:10px}.hand-tag{font-size:20px;padding:8px 20px}.banner{font-size:29px;padding:4px 0}.card{width:296px;height:296px;border-width:3px;border-radius:20px}.card .pip{font-size:74px;left:15px;top:9px}.card .pip.flip{right:15px;bottom:9px}.card .suit{font-size:136px}.staging{width:500px;border-width:3px}.staging .edge{border-right-width:3px}.staging .raw,.staging .doubled,.staging .slash,.staging .one{font-size:60px}.staging{--said: 38px}.staging .said.each,.staging .handsafe,.staging .handsafe b{font-size:28px}.staging .wall{font-size:19px}.still{font-size:26px}.middle .action{position:static;transform:none;width:100%;display:flex;justify-content:center}.big-btn{width:296px;height:96px;font-size:29px;border-width:3px;border-radius:20px}.foot .frow.count .badge{top:7px}.tally b{font-size:56px}.tally .figures span{font-size:25px}.tally .who{font-size:20px}.tally .from{font-size:22px}.panel.wide{width:1040px}.panel.narrow{width:620px}.panel h2{font-size:29px}.panel .sub{font-size:17px}.key{height:82px;font-size:31px}.key.small{font-size:23px}.suit-key{height:128px;font-size:76px}.field{height:96px;font-size:52px}.team-btn{height:160px;font-size:21px}.btn{height:68px;font-size:18px}.setup .term-chip{height:66px;min-width:214px}}@media(min-width:2100px)and (min-height:1200px){:root{--row: 84px;--oval-row: 60px;--foot: 310px;--name-cap: 58px;--col-inset: 54px;--col-gutter: 16px}.board{grid-template-columns:1fr 576px 1fr}.rect{font-size:56px}.oval i{font-size:41px}.foot .frow.big{height:96px}.foot .frow.count{height:186px}.foot .proj,.foot .badge{font-size:82px}.foot .safe .plain{font-size:55px}.foot .nosafe{font-size:58px}.foot .off{font-size:34px}.foot .pair{font-size:66px}.card{width:420px;height:420px}.card .pip{font-size:132px}.card .suit{font-size:238px}.staging{width:576px}.staging .raw,.staging .doubled,.staging .slash,.staging .one{font-size:70px}.staging{--said: 41px}.hand-tag{font-size:29px;padding:13px 30px}.banner{font-size:42px;padding:7px 0}.big-btn{width:420px;height:132px;font-size:42px}}
