:root{color-scheme:dark;--bg:#111315;--panel:#191c1f;--input:#222629;--line:#303538;--text:#efebe4;--muted:#9c9fa0;--gold:#e8b873;--green:#6cd4a5;--red:#e48c8e}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.5 ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif}button,input,select{font:inherit}button,select{cursor:pointer}button{color:inherit;border:1px solid var(--line);background:var(--input);border-radius:7px;padding:9px 13px;transition:background .15s,border-color .15s}button:hover{border-color:#687074}button:focus-visible,a:focus-visible{outline:2px solid var(--gold);outline-offset:3px}button:disabled{opacity:.45;cursor:wait}input,select{color:var(--text);border:1px solid var(--line);background:var(--input);border-radius:6px;min-width:0;padding:8px 10px}input:focus,select:focus{outline:1px solid var(--gold)}input[type=number]{width:100%;font-variant-numeric:tabular-nums}input[type=range]{width:100%;height:16px;margin:9px 0 0;padding:0;accent-color:var(--gold);border:0;cursor:ew-resize}input::-webkit-inner-spin-button{opacity:.45}a{color:var(--gold)}[hidden]{display:none!important}.topbar{height:79px;border-bottom:1px solid #282d30;display:flex;align-items:center;gap:25px;padding:0 38px;max-width:1800px;margin:auto}.brand{display:flex;align-items:center;gap:11px;color:var(--text);text-decoration:none;font-size:21px;font-weight:700;line-height:1.25}.brand img{width:43px;height:43px;object-fit:cover;border-radius:50%;border:1px solid #997948}.brand small{display:block;font-size:10px;font-weight:500;letter-spacing:1.5px;color:var(--muted);margin-top:3px}.top-divider{width:1px;height:25px;background:var(--line)}.section-name{color:#b7b9b9}.local-pill{margin-left:auto;font-size:11px;color:var(--muted);display:flex;align-items:center;gap:7px}.local-pill i{width:6px;height:6px;background:var(--gold);border-radius:50%}main{max-width:1600px;margin:auto;padding:34px 38px 20px}.heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:27px}.eyebrow{font-size:10px;letter-spacing:1.8px;color:var(--gold);font-weight:650}h1{font-size:38px;line-height:1.2;letter-spacing:-1.2px;margin:8px 0 10px;font-weight:650}.heading p{margin:0;color:var(--muted);font-size:14px}.ghost{background:transparent;color:var(--muted);font-size:12px}.scenario-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:23px}.segmented{display:flex;background:#1c2023;padding:4px;border:1px solid var(--line);border-radius:9px;gap:4px}.segmented button{background:transparent;border:0;padding:9px 20px;color:var(--muted);font-size:13px}.segmented button.active{background:var(--gold);color:#292012;font-weight:650}.model-picker{display:flex;gap:12px;align-items:center;font-size:12px;color:var(--muted)}.model-picker select{min-width:175px;background:#1b1e20;color:var(--text)}.workspace{display:grid;grid-template-columns:268px minmax(420px,1fr) 264px;gap:18px;align-items:start}.controls,.insights{display:grid;gap:16px}.panel{background:var(--panel);border:1px solid var(--line);border-radius:11px;padding:18px}.panel-title{display:flex;align-items:center;gap:9px;margin-bottom:17px}.panel-title h2,h2{font-size:14px;font-weight:600;margin:0}.step{font-size:10px;color:var(--gold);letter-spacing:.5px;background:#2a2720;border:1px solid #474032;border-radius:5px;padding:2px 5px}.unit{margin-left:auto;color:var(--muted);font-size:11px}.field{margin-bottom:14px}.field label{font-size:11px;color:#b0b2b2;display:block;margin-bottom:6px;line-height:1.5}.input-unit{position:relative}.input-unit input{padding-right:31px;height:35px}.input-unit>span{position:absolute;right:10px;top:8px;font-size:11px;color:var(--muted);pointer-events:none}.paired{display:grid;grid-template-columns:1fr 1fr;gap:10px}.paired label{min-height:32px;font-size:10px}.pot-summary{padding:12px 0 0;border-top:1px solid var(--line)}.pot-summary>div{display:flex;align-items:center;justify-content:space-between;padding:5px 0;gap:10px;font-size:11px;color:var(--muted)}.pot-summary strong{font-size:13px;color:var(--text);font-weight:550;white-space:nowrap}.pot-summary strong.gold,.gold{color:var(--gold)}.micro{font-size:10px;line-height:1.65;color:var(--muted);margin:10px 0 0}.fold-field{margin-top:15px;padding-top:15px;border-top:1px solid var(--line)}.range-preview{display:flex;flex-wrap:wrap;width:100%;text-align:left;padding:0;background:transparent;border:0;border-radius:0;gap:12px}.range-preview>div:first-child{flex:1}.range-preview strong{display:block;font-size:26px;letter-spacing:-.8px;font-weight:600;line-height:1.1}.range-preview span{display:block;font-size:10px;color:var(--muted);margin-top:5px}.range-preview .edit-symbol{font-size:21px;color:var(--gold)}#miniRange{display:grid;grid-template-columns:repeat(13,1fr);gap:2px;width:100%}#miniRange i{aspect-ratio:1.6;border-radius:1px;background:#282e31}#miniRange i.on{background:var(--gold)}.full-button{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;font-size:11px;background:#222629;margin-top:15px;padding:9px 6px}.matrix-section{padding:20px;min-width:0}.matrix-header{display:flex;align-items:start;justify-content:space-between;gap:10px;margin-bottom:17px}.matrix-header h2{font-size:18px;font-weight:600;letter-spacing:-.25px}.matrix-header p{font-size:10px;color:var(--muted);margin:5px 0 0}.view-switch{display:flex;border:1px solid var(--line);padding:2px;border-radius:6px}.view-switch button{font-size:10px;border:0;padding:5px 9px;background:transparent;color:var(--muted)}.view-switch button.active{background:#363a3c;color:var(--text)}.matrix-key{display:flex;gap:13px;font-size:10px;align-items:center;margin-bottom:13px;color:var(--muted)}.matrix-key>span{display:flex;align-items:center;gap:5px}.matrix-key strong{font-size:10px;font-weight:500;margin-left:auto;color:var(--text)}.dot{width:6px;height:6px;border-radius:2px;background:#787878;display:inline-block}.positive{background:#4db58c}.negative{background:#aa5c67}.borderline{background:#c49b58}.hand-matrix{display:grid;grid-template-columns:repeat(13,minmax(0,1fr));gap:3px}.hand-cell{display:flex;flex-direction:column;align-items:center;justify-content:center;aspect-ratio:.95;padding:0;min-width:0;background:#252b2d;border:1px solid #30383a;border-radius:4px;position:relative;font-variant-numeric:tabular-nums}.hand-cell b{font-size:clamp(10px,.95vw,14px);font-weight:650;line-height:1.35;letter-spacing:-.2px}.hand-cell small{font-size:clamp(8px,.68vw,11px);line-height:1.3;opacity:.88}.hand-cell.selected{outline:2px solid var(--gold);outline-offset:1px;z-index:1}.hand-cell:hover{filter:brightness(1.3);z-index:2}.hand-cell.pos{background:#24463d;border-color:#315447;color:#c4eedc}.hand-cell.neg{background:#402c32;border-color:#53363d;color:#e8bec5}.hand-cell.neutral{background:#493d29;border-color:#615039;color:#f3d9aa}.calc-status{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:10px;color:var(--muted);margin-top:14px}.calc-status select{font-size:10px;padding:5px 6px;max-width:170px}progress{display:block;width:100%;height:3px;border:0;margin-top:9px;accent-color:var(--gold)}progress::-webkit-progress-bar{background:#303638}progress::-webkit-progress-value{background:var(--gold)}.matrix-footnote{font-size:10px;color:var(--muted);margin:10px 0 20px;line-height:1.6}.chart-heading{border-top:1px solid var(--line);padding-top:17px;display:flex;align-items:center;justify-content:space-between;gap:10px}.chart-heading h3{font-size:12px;font-weight:550;margin:0}.chart-heading>span{font-size:9px;color:var(--muted)}#chart svg{width:100%;height:174px;display:block}#chart text{fill:#929b9e;font-family:inherit;font-size:11px}.chart-legend{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;font-size:9px;color:var(--muted)}.chart-legend>span{display:flex;gap:5px;align-items:center}.line{width:14px;height:2px;display:inline-block}.line.chip{background:var(--gold)}.line.mh{background:#8ba8f0}.line.br{background:#84d3b8}.selected-panel{border-color:#655139;background:linear-gradient(135deg,#26231e,#1b1d1e 60%)}.selected-panel .eyebrow{font-size:9px}.selected-top{display:flex;align-items:center;justify-content:space-between;margin:10px 0 7px}.selected-top h2{font-size:39px;line-height:1;font-weight:650;letter-spacing:-1.4px}.verdict{font-size:10px;background:#354b3f;border:1px solid #3e6852;color:#a5e4be;padding:4px 8px;border-radius:5px}.verdict.bad{background:#4b3035;border-color:#72434b;color:#efb7be}.verdict.near{background:#493e29;border-color:#6d5936;color:#f2d59b}.ev-large{font-size:29px;letter-spacing:-1px;line-height:1.5;font-weight:600;color:var(--green);font-variant-numeric:tabular-nums}.ev-large.loss{color:var(--red)}.ev-large small{font-size:12px;letter-spacing:0;font-weight:450}.equity-track{height:6px;background:#303536;border-radius:3px;margin:22px 0 12px;position:relative}.equity-track>div{height:100%;background:var(--gold);border-radius:3px;width:0;transition:width .2s}.equity-track>i{position:absolute;top:-5px;left:50%;height:16px;width:2px;background:var(--text)}.equity-labels{display:flex;justify-content:space-between;font-size:10px;color:var(--muted)}.equity-labels>span:last-child{text-align:right}.equity-labels strong{display:block;font-size:18px;font-weight:550;color:var(--text);margin-top:2px}.explanation{font-size:11px;line-height:1.75;color:#c5c3bd;margin:15px 0 0}.comparison{display:grid;gap:13px}.compare-row{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;padding-bottom:12px;border-bottom:1px solid var(--line)}.compare-row:last-child{border:0}.compare-row strong{font-size:14px;font-weight:550;white-space:nowrap;color:var(--green)}.compare-row strong.loss{color:var(--red)}.compare-row small{display:block;font-size:9px;color:var(--muted);margin-top:2px}.stat-line{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 0;font-size:11px;color:var(--muted)}.stat-line strong{color:var(--gold);font-size:16px;font-weight:550}.stat-line small{display:block;font-size:9px}.method{margin-top:25px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);color:var(--muted);font-size:12px}.method summary{padding:19px 0;cursor:pointer;list-style:none;display:flex;justify-content:space-between}.method summary span{font-size:18px;line-height:1}.method-content{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;padding:0 0 24px;font-size:11px;line-height:1.8}.method h3{color:var(--text);font-size:12px}footer{display:flex;justify-content:space-between;gap:20px;font-size:10px;color:#747b7d;padding-top:20px}.error{background:#4b252c;border:1px solid #a05a62;border-radius:7px;color:#ffd1d7;padding:12px;font-size:12px;margin-top:16px}.workspace.invalid{opacity:.45;pointer-events:none}.workspace.invalid .controls{pointer-events:auto}dialog{background:#191d20;color:var(--text);border:1px solid #4d5152;border-radius:13px;width:min(690px,calc(100vw - 30px));max-height:92vh;padding:25px;box-shadow:0 24px 90px #0009}dialog::backdrop{background:#090b0dbe;backdrop-filter:blur(5px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:15px}.dialog-head h2{font-size:24px;margin-top:5px;letter-spacing:-.5px}.close{font-size:24px;line-height:1;background:transparent;border:0;padding:5px 9px;color:var(--muted)}.dialog-intro{font-size:12px;color:var(--muted);margin:14px 0 18px}.range-toolbar{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin:15px 0}.range-toolbar label{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:8px}.range-toolbar select{font-size:12px;padding:6px 8px}.range-toolbar strong{margin-left:auto;font-size:12px;font-weight:550}.range-matrix .hand-cell{aspect-ratio:1.1}.range-matrix .hand-cell b{font-size:12px}.range-matrix .hand-cell small{font-size:9px}.range-matrix .hand-cell.on{background:#705739;border-color:#8f7048;color:#fff0d7}.notation-label{display:block;color:var(--muted);font-size:11px;margin:18px 0 7px}.notation{display:flex;gap:8px}.notation input{flex:1;width:50%}.notation button{font-size:11px}.dialog-actions{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-top:23px;border-top:1px solid var(--line);padding-top:18px}.dialog-actions .micro{max-width:290px;margin:0}.primary{background:var(--gold);border-color:var(--gold);color:#251c10;font-weight:650;white-space:nowrap}.tournament-columns{display:grid;grid-template-columns:1fr 1fr;gap:35px}.tournament-columns h3{font-size:12px;font-weight:550;color:var(--muted)}.tournament-input{display:flex;align-items:center;gap:10px;margin:8px 0;font-size:12px}.tournament-input label{width:90px;flex-shrink:0}.tournament-input input{height:34px}.icm-table{width:100%;border-collapse:collapse;margin-top:22px;font-size:11px}.icm-table th{color:var(--muted);font-weight:450;text-align:right;border-bottom:1px solid var(--line);padding:8px}.icm-table th:first-child,.icm-table td:first-child{text-align:left}.icm-table td{text-align:right;padding:7px 8px;border-bottom:1px solid #2b3033;font-variant-numeric:tabular-nums}#prizePool{font-size:12px;color:var(--gold)}
@media(min-width:1450px){.workspace{grid-template-columns:285px minmax(500px,1fr) 285px;gap:23px}.panel{padding:21px}.hand-cell{aspect-ratio:1.04}.hand-cell b{font-size:14px}.hand-cell small{font-size:10px}}
@media(max-width:1150px){main{padding:25px 23px}.topbar{padding:0 23px}.workspace{grid-template-columns:245px minmax(380px,1fr)}.insights{grid-column:1/-1;grid-template-columns:1fr 1fr 1fr}.hand-cell b{font-size:12px}.hand-cell small{font-size:9px}.selected-top h2{font-size:30px}.selected-panel .ev-large{font-size:25px}.matrix-section{padding:17px}.method-content{gap:18px}}
@media(max-width:720px){.topbar{height:66px;padding:0 16px;gap:15px}.brand{font-size:18px}.brand img{width:35px;height:35px}.section-name,.top-divider{display:none}.local-pill{font-size:10px}main{padding:24px 15px 18px}.heading{align-items:start;gap:10px;margin-bottom:20px}h1{font-size:31px}.heading p{font-size:12px;max-width:280px}.eyebrow{font-size:9px}.heading .ghost{font-size:0;padding:7px}.heading .ghost:first-letter{font-size:18px}.scenario-bar{align-items:stretch;flex-direction:column;gap:13px}.segmented button{flex:1;padding:8px 9px;font-size:12px}.model-picker{justify-content:space-between}.model-picker select{flex:1;max-width:260px}.workspace{display:flex;flex-direction:column;gap:16px}.controls{width:100%;grid-template-columns:1fr 1fr;gap:12px}.controls>section:first-child{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.controls>section:first-child .panel-title,.controls .paired,.controls .pot-summary,#foldControl{grid-column:1/-1}.controls .paired{gap:15px}.controls .paired label{min-height:0}.pot-summary{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}.pot-summary>div{display:block;font-size:9px}.pot-summary strong{display:block;margin-top:4px}.panel{padding:15px;border-radius:9px}.panel-title{gap:7px}.panel-title h2{font-size:12px}.step{font-size:9px;padding:1px 3px}.matrix-section{width:100%;padding:14px 10px}.matrix-header h2{font-size:16px}.matrix-header p{font-size:9px}.matrix-key{gap:9px;font-size:9px}.matrix-key strong{font-size:9px}.hand-matrix{gap:2px}.hand-cell{aspect-ratio:.77;border-radius:3px}.hand-cell b{font-size:10px}.hand-cell small{font-size:8px}.calc-status{gap:7px;font-size:9px}.calc-status select{max-width:142px;font-size:9px}.matrix-footnote{font-size:9px}.chart-heading>span{font-size:8px}.insights{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:12px}.selected-panel{grid-column:1/-1}.selected-panel .selected-top h2{font-size:37px}.selected-panel .ev-large{font-size:32px}.selected-panel .equity-track{margin-top:15px}.method-content{grid-template-columns:1fr;gap:5px}footer{flex-direction:column;gap:6px}.micro{font-size:10px}.compare-row{font-size:10px;flex-wrap:wrap;gap:2px}.compare-row strong{font-size:13px}.stat-line{font-size:10px}.stat-line strong{font-size:13px;white-space:nowrap}dialog{padding:18px 12px}.dialog-head h2{font-size:21px}.range-toolbar{gap:9px}.range-toolbar label{font-size:10px;gap:5px}.range-toolbar select{font-size:10px}.range-matrix .hand-cell{aspect-ratio:.8}.range-matrix .hand-cell b{font-size:10px}.range-matrix .hand-cell small{font-size:8px}.dialog-actions{gap:12px;flex-wrap:wrap}.dialog-actions .primary{margin-left:auto}.tournament-columns{gap:15px}.tournament-input{gap:6px;font-size:10px}.tournament-input label{width:62px}.notation button{padding:7px;font-size:10px}.notation input{font-size:12px}.tournament-input input{padding:6px;font-size:14px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
.bounty-control>select{width:100%;font-size:12px}.coverage-summary{font-size:11px;line-height:1.65;margin-top:12px}.coverage-summary strong,.coverage-summary span{display:block}.coverage-summary span{font-size:10px;color:var(--muted);margin-top:5px}.bounty-result{border-color:#65533b}.bounty-subtitle{font-size:10px;color:var(--gold);margin:-7px 0 14px}#bountyBreakdown>div{display:flex;justify-content:space-between;gap:10px;font-size:10px;line-height:1.6;padding:7px 0}#bountyBreakdown b{font-size:12px;white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--green)}#bountyBreakdown b.loss{color:var(--red)}#bountyBreakdown .bounty-total{border-top:1px solid var(--line);margin-top:6px;padding-top:12px;color:var(--text)}.bounty-player{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;gap:18px;font-size:12px;margin:10px 0}.bounty-player>span:nth-child(2){color:var(--muted);font-variant-numeric:tabular-nums}.bounty-player-head{font-size:10px;color:var(--muted);margin-top:22px}.bounty-player input{font-size:13px}.bounty-preview{border:1px solid #665133;background:#28251e;border-radius:8px;padding:16px;margin:20px 0;font-size:12px}.bounty-preview>strong{color:var(--gold);font-size:13px}.bounty-flow{display:flex;align-items:center;justify-content:space-between;gap:13px;margin-top:16px}.bounty-flow small,.bounty-flow b{display:block}.bounty-flow small{font-size:10px;color:var(--muted)}.bounty-flow b{font-size:23px;font-weight:550;color:var(--text);margin-top:4px}.bounty-flow i{font-style:normal;color:var(--gold)}.bounty-method{font-size:11px;line-height:1.7;color:var(--muted);margin-top:16px}.bounty-method summary{color:var(--gold);cursor:pointer}#otherBountyField input{display:block;width:100%;margin-top:6px}#bountyModeNote{font-size:11px;line-height:1.7}.bounty-result .panel-title{margin-bottom:17px}@media(max-width:720px){.bounty-player{gap:10px;font-size:11px}.bounty-flow{gap:9px}.bounty-flow b{font-size:21px}.bounty-result{grid-column:1/-1}}
.icm-status{font-size:11px;color:var(--muted);margin:-9px 0 18px;min-height:18px}.mtt-dialog{width:min(1020px,calc(100vw - 26px));padding:28px}.mtt-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px}.mtt-grid h3{font-size:14px;font-weight:550;margin:10px 0 18px}.mtt-grid h3 .step{margin-right:8px}.mtt-grid h4{font-size:11px;color:var(--muted);font-weight:500;margin:21px 0 10px}.mtt-fields{display:flex;gap:12px;margin-bottom:14px;align-items:end}.mtt-fields>label{flex:1;min-width:0}.mtt-fields label,.block-label,.simulation-controls label{font-size:11px;color:var(--muted)}.mtt-fields input,.mtt-fields select,.block-label select{display:block;width:100%;margin-top:6px}.block-label{display:block;margin:14px 0}.block-label textarea{display:block;width:100%;background:var(--bg);color:var(--text);border:1px solid var(--line);border-radius:7px;margin-top:7px;resize:vertical;padding:12px;font:12px/1.75 ui-monospace,Consolas,monospace}.block-label small{display:block;font-size:10px;line-height:1.6;margin-top:6px}.stack-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 14px}.tournament-stack{font-size:11px;color:var(--muted)}.tournament-stack input{margin-top:5px;font-size:13px}.field-receipt{margin-top:18px;padding:13px 15px;background:#242720;border-left:2px solid var(--gold);border-radius:0 5px 5px 0}.field-receipt>p:first-child{font-size:12px;margin:0}.field-receipt details{font-size:10px;color:var(--muted);margin-top:12px}.field-receipt summary{cursor:pointer;color:var(--gold)}#generatedStacks{max-height:150px;overflow:auto;font-variant-numeric:tabular-nums}.template-controls button{font-size:11px;white-space:nowrap;padding:10px}.simulation-controls{display:flex;justify-content:space-between;gap:20px;align-items:center;border-top:1px solid var(--line);padding-top:18px;margin-top:23px}.simulation-controls .micro{max-width:590px}.simulation-controls button{font-size:12px;white-space:nowrap}.icm-table small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.table-scroll{overflow:auto;max-width:100%}.bf-panel{margin-top:25px}.bf-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.bf-heading h2{font-size:24px;font-weight:550;margin-top:6px}.bf-heading p{font-size:12px;color:var(--muted);margin:7px 0}.bf-controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.bf-controls select,.bf-controls button{font-size:11px}.bf-table{width:100%;min-width:650px;border-collapse:separate;border-spacing:5px;table-layout:fixed;margin-top:18px}.bf-table th{font-size:11px;font-weight:550;text-align:center;padding:5px;color:#d3cbc0}.bf-table th:first-child{text-align:left;width:110px}.bf-table th small{display:block;color:var(--muted);font-weight:400;font-size:10px;margin-top:4px}.bf-table td{padding:0}.bf-cell{display:flex;width:100%;border:1px solid #43494a;border-radius:7px;padding:0;overflow:hidden;flex-direction:column;background:transparent}.bf-cell>span{display:grid;grid-template-columns:1fr;align-items:center;padding:12px 8px;gap:2px;font-size:13px}.bf-cell small{font-size:8px;opacity:.7}.bf-cell b{font-weight:550;font-variant-numeric:tabular-nums}.bf-cell em{font-size:9px;font-style:normal;grid-column:1;opacity:.7}.bf-low{background:#24443a;color:#bde6d2}.bf-medium{background:#483c28;color:#efcf97}.bf-high{background:#482e35;color:#e8b9c2}.bf-uncertain{background:repeating-linear-gradient(135deg,#333633,#333633 5px,#3d3d35 5px,#3d3d35 10px);color:#e0d8c5}.bf-unknown{background:#252a2b;color:var(--muted)}.bf-diagonal{text-align:center;color:#535c5e}.bf-legend{display:flex;gap:16px;flex-wrap:wrap;font-size:10px;color:var(--muted);margin:17px 0 10px}.bf-legend>span{display:flex;align-items:center;gap:5px}#bfDetail{font-size:12px;color:#c8b998}.bf-panel .micro{max-width:1100px}
@media(max-width:720px){.mtt-dialog{padding:19px 15px}.mtt-grid{grid-template-columns:1fr;gap:18px}.mtt-grid>section+section{border-top:1px solid var(--line);padding-top:12px}.mtt-fields{gap:8px}.mtt-fields select,.mtt-fields input{font-size:12px;padding:8px}.bf-heading{align-items:start;flex-direction:column;gap:10px}.bf-heading h2{font-size:21px}.bf-controls{width:100%}.bf-controls select{min-width:0;flex:1}.simulation-controls{align-items:start;flex-direction:column;gap:12px}.bf-table{border-spacing:3px}.bf-table th:first-child{width:88px}.bf-cell>span{padding:7px 5px}.bf-panel{max-width:100%}}
.table-setup{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;color:#b0b2b2}.table-setup select{padding:5px 10px}.setup-note{font-size:10px;line-height:1.6;color:var(--muted);margin:8px 0 14px}.setup-note strong{font-weight:500;color:#d2c9ba}.stacks-note{margin-top:-10px}.hand-builder .paired{gap:9px}.hand-builder .paired label{min-height:0;font-size:10px}.hand-builder select{width:100%;font-size:11px;padding:8px 7px}.hand-builder .table-setup select{width:60px}.hand-builder .field{margin-bottom:12px}.hand-builder .action-field{padding-top:12px;border-top:1px solid var(--line)}.bet-input{margin-top:7px}.hand-builder .action-field .micro{font-size:10px;margin-top:6px}.spot-receipt{padding:11px 12px;margin:4px 0 14px;background:#24251f;border-left:2px solid var(--gold);border-radius:0 5px 5px 0}.spot-receipt>p:first-child{font-size:11px;margin:0 0 8px;color:#e3cfb2}.receipt-equation>span{display:block;color:var(--muted);font-size:9px}.receipt-equation strong{display:block;font-size:11px;font-weight:500;line-height:1.9;margin-top:4px;font-variant-numeric:tabular-nums}.receipt-equation em{font-style:normal;color:var(--gold);white-space:nowrap}.spot-receipt .micro{font-size:9px;margin-top:5px}.pot-breakdown{margin-top:13px;border-top:1px solid var(--line);padding-top:11px;font-size:10px;color:var(--muted)}.pot-breakdown summary{cursor:pointer;color:#cec1ab}.pot-breakdown #bankBreakdown>div{display:flex;justify-content:space-between;gap:8px;margin-top:9px;line-height:1.6}.pot-breakdown b{color:var(--text);white-space:nowrap;font-weight:500;font-variant-numeric:tabular-nums}.breakdown-total{border-top:1px solid var(--line);padding-top:8px}.reserve-value{font-size:29px;color:var(--green);letter-spacing:-.7px;font-weight:600;line-height:1.3;font-variant-numeric:tabular-nums}.reserve-value.loss{color:var(--red)}.reserve-formula{font-size:11px;line-height:1.8;margin-top:8px;font-variant-numeric:tabular-nums}.reserve-panel{border-color:#425245}.migration-note{font-size:12px;color:#e0c694;background:#2b271d;border:1px solid #6c5837;border-radius:7px;padding:12px 15px;margin-bottom:16px}.hand-builder .pot-summary strong{font-size:12px}
@media(max-width:720px){.controls>section.hand-builder{display:block}.hand-builder .paired{grid-template-columns:1fr 1fr;gap:14px}.hand-builder .pot-summary{display:block}.hand-builder .pot-summary>div{display:flex;font-size:11px}.hand-builder .pot-summary strong{margin-top:0}.hand-builder .field label{font-size:11px}.hand-builder .field input,.hand-builder select{font-size:14px}.receipt-equation strong{font-size:12px}.setup-note{font-size:11px}.reserve-panel{grid-column:1/-1}.reserve-value{font-size:29px}}

.icm-setup{margin-top:13px;padding-top:13px;border-top:1px solid #6c5837;font-size:11px}.icm-setup>strong{color:var(--gold)}.icm-setup p{color:var(--muted);line-height:1.7}.icm-setup button{display:block;width:100%;margin-top:8px;font-size:11px;white-space:normal;text-align:left}.compare-row strong.unavailable{color:var(--muted);font-size:11px;font-weight:450;max-width:115px;text-align:right}.stack-origin{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;margin:16px 0 10px;color:var(--muted)}.stack-origin strong{display:block;color:var(--text);font-size:18px}.stack-origin button{padding:5px 8px;font-size:10px}.stack-equation{border-left:2px solid var(--gold);padding:10px 12px;margin:2px 0 16px;background:#24251f;font-size:11px}.stack-equation strong{display:block;font-weight:500;color:var(--gold)}.stack-equation span{display:block;margin-top:6px;color:var(--muted)}
/* Direct decision inputs; optional helpers stay collapsed. */
#pushSetupFields .paired{align-items:end}
.hand-builder .field label{font-size:11px}.odds-field .input-unit input{color:var(--gold);font-size:19px;height:43px}.odds-field .input-unit>span{top:10px;font-size:14px}.hand-builder .spot-receipt{margin-top:14px}.hand-builder .receipt-equation{font-size:12px;color:var(--gold)}.pot-breakdown .paired{margin-top:15px}.bounty-control summary{cursor:pointer;font-size:13px;color:var(--text)}.bounty-control select{margin-top:14px;width:100%}.check-label{font-size:12px;display:flex;gap:8px;align-items:start}.check-label input{margin-top:3px}.block-label>input{display:block;width:100%;margin-top:6px}.hand-builder .setup-note{margin-bottom:14px}

.push-stack-note{margin:-5px 0 15px}.push-result dl{margin:8px 0}.push-result dl>div{display:flex;justify-content:space-between;gap:12px;margin:8px 0}.push-result dt{font-size:11px}.push-result dd{margin:0;font-weight:650;white-space:nowrap}.push-result>span{font-size:11px}

#calculateBF{inline-size:15em;flex:none;white-space:nowrap}

.icm-run{display:flex;align-items:flex-start;gap:16px;margin:-9px 0 18px;min-height:32px}.icm-run .icm-status{margin:0;flex:1}.icm-run button{flex-shrink:0;font-size:11px}.notation input{width:100%}@media(max-width:720px){.icm-run{flex-wrap:wrap;gap:8px}.icm-run .icm-status{flex-basis:100%}}

.heading-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.heading-actions button{font-size:12px;white-space:nowrap}.transfer-dialog{width:min(760px,94vw);padding:28px;max-height:90vh}.transfer-dialog h2{font-size:26px;margin:8px 0 14px}.transfer-dialog>p{line-height:1.65;color:var(--muted);font-size:13px}.transfer-dialog textarea{width:100%;margin:8px 0;resize:vertical;word-break:break-all}.transfer-dialog .block-label{display:block;margin:14px 0;font-size:12px}.transfer-dialog .block-label>select{display:block;width:100%;margin-top:8px}.transfer-dialog button.primary{background:var(--gold);color:#252017;font-weight:600}.capture-dialog{width:min(1040px,96vw)}.capture-input{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:center}.capture-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:150px;border:1px dashed #76674b;border-radius:10px;color:var(--gold);padding:20px;cursor:pointer;text-align:center;gap:8px}.capture-drop span{color:var(--muted);font-size:12px}.capture-drop input{width:100%;font-size:11px;max-width:260px}.capture-input img{width:100%;height:280px;object-fit:contain;background:#101314;border-radius:8px}.capture-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.capture-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.capture-hand{max-width:330px}.capture-moment{font-size:14px;color:var(--gold);padding-top:14px;border-top:1px solid var(--line)}.capture-warnings{font-size:12px;line-height:1.7;padding-left:22px;color:#e0c694}.capture-warnings:empty{display:none}.capture-assumptions{font-size:12px;line-height:1.7;color:var(--muted)}#captureTimeline{font-size:12px;line-height:1.8;padding-left:24px}#captureTimeline .future-action{color:var(--muted)}#captureArithmetic{line-height:1.8;font-size:13px}.import-confirmation{margin:20px 0;padding:15px;background:#29261e;border-radius:6px}.import-confirmation[hidden]{display:none}#transferNotice button{margin-left:10px;font-size:11px}.capture-dialog .paired{align-items:end}.capture-dialog .error{line-height:1.6}
.capture-url{display:grid;grid-template-columns:1fr auto;align-items:end;gap:0 12px}.capture-url .block-label{margin-bottom:0}.capture-url>p{grid-column:1/-1}.capture-url input{min-width:0}#captureRepair[hidden],#captureFoldAssumption[hidden]{display:none}#captureFoldAssumption{margin:12px 0;color:#e0c694;line-height:1.6}#captureFileName{overflow-wrap:anywhere}
@media(max-width:720px){.heading{align-items:start;gap:18px}.heading-actions{justify-content:flex-start}.transfer-dialog{padding:22px 16px}.capture-input{grid-template-columns:1fr}.capture-input img{height:180px}.capture-fields{gap:0 10px}.capture-dialog .paired{grid-template-columns:1fr}.capture-dialog h2{font-size:23px}}

.range-toolbar input{width:82px;padding:6px 8px;font-size:12px}.notation textarea{width:100%;min-height:72px;resize:vertical;font:12px/1.5 monospace}.range-matrix .hand-cell small{font-size:8px;font-variant-numeric:tabular-nums}

.range-scale{display:flex;align-items:center;gap:8px;margin:8px 0 12px;color:var(--muted);font-size:10px}.range-scale i{width:100px;height:7px;border-radius:5px;background:linear-gradient(90deg,rgb(32 36 38),rgb(130 95 52))}.range-scale-note{margin-left:auto}.range-matrix .hand-cell.on{border-color:rgba(233,186,116,calc(.12 + var(--range-weight,1)*.58));background-image:linear-gradient(135deg,rgba(255,219,158,calc(var(--range-weight,1)*.12)),transparent 75%)}

.structure-import{margin:0 0 20px;padding:14px 16px;border:1px solid var(--border,#343b3c);border-radius:8px}.structure-import summary{cursor:pointer;color:var(--accent,#eabb70)}.structure-import textarea{width:100%;font-family:monospace}.structure-import input[type=file]{max-width:100%;font-size:13px}#structureImportSummary{overflow-wrap:anywhere;margin-bottom:20px}

/* Phone layout: actions get their own row; dense grids scroll inside the card. */
.matrix-scroll-hint{display:none}
@media(max-width:720px){
 .heading{flex-direction:column;align-items:stretch;gap:16px}
 .heading p{max-width:none}
 .heading-actions{width:100%;flex-wrap:nowrap;justify-content:flex-start}
 .heading-actions button,.heading .ghost{min-height:44px;padding:10px 16px;font-size:13px}
 .heading .ghost:first-letter{font-size:inherit}
 .heading-actions #reset{margin-left:auto}
 .segmented button{min-height:44px}
 .workspace>*,.controls>*,.insights>*{min-width:0}
 .controls,.insights{grid-template-columns:1fr}
 .panel-title h2{font-size:14px}
 .field label,.hand-builder .field label,.setup-note,.block-label,.tournament-stack,.mtt-fields label{font-size:12px}
 .hand-builder input:not([type=range]),.hand-builder select,.model-picker select,dialog input:not([type=checkbox]),dialog select,dialog textarea{font-size:16px;min-height:44px}
 .input-unit>span{top:12px}
 .odds-field .input-unit>span{top:10px}
 .stack-origin button,.full-button{min-height:40px;font-size:12px}
 .view-switch button{min-height:36px;padding:7px 10px;font-size:11px}
 .matrix-header{flex-wrap:wrap}
 .matrix-key{flex-wrap:wrap;gap:8px 12px}
 .matrix-key strong{flex-basis:100%;margin-left:0}
 #heroMatrix,#rangeMatrix{overflow-x:auto;overscroll-behavior-x:contain;padding:3px 3px 9px;grid-template-columns:repeat(13, minmax(30px, 1fr))}
 .range-matrix .hand-cell{min-height:40px}
 .hand-cell{min-height:38px}
 .chart-heading{align-items:flex-start;flex-direction:column;gap:4px}
 #icmOutcomes{overflow-x:auto;max-width:100%}
 .compare-row,.stat-line{font-size:12px}
 dialog,.mtt-dialog,.transfer-dialog{width:calc(100% - 16px);max-width:calc(100vw - 16px);padding:18px 14px;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px)}
 .dialog-head{align-items:flex-start;gap:8px}
 .close{flex:none;min-width:44px;min-height:44px;padding:10px}
 .transfer-dialog>.close{position:absolute;right:8px;top:8px}
 .transfer-dialog>.eyebrow,.transfer-dialog>h2{padding-right:40px}
 .transfer-dialog h2{font-size:22px;line-height:1.25}
 .range-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px}
 .range-toolbar label{display:flex;flex-direction:column;align-items:stretch;gap:5px;font-size:12px}
 .range-toolbar strong{grid-column:1/-1;margin-left:0}
 .range-scale{flex-wrap:wrap}
 .range-scale-note{margin-left:0}
 .mtt-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 #tournamentDialog .mtt-grid>section:first-child>.mtt-fields:first-of-type>label:first-child{grid-column:1/-1}
 .stack-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .structure-import{padding:12px 10px}
 .structure-import input[type=file]{width:100%;font-size:12px;padding:8px}
 .bounty-player{grid-template-columns:minmax(0,1fr) 64px minmax(85px,1fr);gap:8px}
 .bounty-flow{flex-wrap:wrap}
 .dialog-actions{align-items:stretch;gap:12px}
 .dialog-actions>.primary{width:100%;min-height:44px;margin-left:0;white-space:normal}
 .bf-controls{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
 .bf-controls select,#calculateBF{width:100%;min-height:44px;font-size:12px}
 #calculateBF{inline-size:auto}
 .bf-table th:first-child{position:sticky;left:0;z-index:1;background:var(--panel)}
 .bf-cell>span{min-height:44px}
 #transferNotice button{display:block;margin:10px 0 0;min-height:44px}
}
@media(max-width:480px){.matrix-scroll-hint{display:block;color:var(--muted);font-size:10px;margin:8px 0}}
