/* Each model owns a fixed left-aligned value lane; long names cannot move its odds. */
.book-live-model-odds{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));justify-content:start;align-items:start;gap:16px;text-align:left}
.book-live-model-odds>span{justify-items:start;align-content:start;text-align:left}
.book-live-model-odds small{min-height:2.8em;overflow-wrap:anywhere}
.book-live-model-odds b{display:block;min-width:5ch;text-align:left;font-variant-numeric:tabular-nums lining-nums}
.book-rally-comparison,.book-rally-selector{min-width:0;max-width:100%;box-sizing:border-box}
.book-rally-comparison{padding:16px;margin:12px 0;background:#101c26;border-color:#304c61}
.book-rally-comparison button,.book-rally-selector button{min-height:40px;font-size:14px;line-height:1.3}
.book-rally-comparison button:focus-visible,.book-rally-selector button:focus-visible,.book-rally-point:focus-visible{outline:2px solid #91d1ff;outline-offset:3px}
.book-rally-selector{margin:0 0 14px;border-bottom:1px solid #2c4050;padding-bottom:10px}
.book-rally-selector-head,.book-rally-selector-head>div{display:flex;align-items:center;gap:8px}
.book-rally-selector-head{justify-content:space-between;flex-wrap:wrap;gap:6px 12px;margin-bottom:5px}
.book-rally-selector-head strong{font-size:14px}.book-rally-selector-head strong span{font-size:12px;font-weight:400;color:#a9bdcb;margin-left:6px}
.book-rally-selector-head button{padding:6px 10px;border:1px solid #344d60;border-radius:8px;background:#15232e;color:#e7f1f8}
.book-rally-selector-track{display:flex;gap:6px;align-items:center;min-width:0}
.book-rally-caret[hidden]{display:none!important}
.book-rally-caret{width:36px;min-width:36px;border:1px solid #3b566d;background:#172a39;color:#ceeaff;border-radius:8px;font-size:25px!important;padding:0}
.book-rally-chip-rail{display:flex;flex:1 1 0;gap:6px;min-width:0;overflow-x:auto;overscroll-behavior-inline:contain;scroll-padding-inline:5px;padding:5px 3px 8px;scrollbar-width:thin;scrollbar-color:#50677a #0d161d;touch-action:pan-x pan-y}
.book-rally-chip-rail button{flex:0 0 auto;min-width:48px;padding:8px 10px;background:#15232e;border:1px solid #344d60;border-radius:8px;color:#b8c9d5;font-variant-numeric:tabular-nums}
.book-rally-chip-rail button[aria-pressed="true"]{background:#1a4260;border-color:#63b2f0;color:#f2faff}
.book-rally-chip-rail button.is-current{box-shadow:inset 0 -3px #d4b578}
.book-rally-no-options{align-self:center;padding:5px;font-size:14px;color:#afc1ce}
.book-rally-comparison-heading{display:flex;justify-content:space-between;align-items:start;gap:10px;margin-bottom:10px}
.book-rally-comparison-heading h3{font-size:17px;margin:0 0 5px}.book-rally-comparison-heading p{font-size:14px;color:#b8ccd9;margin:0;line-height:1.5;overflow-wrap:anywhere}
.book-rally-current-badge{flex:none;font-size:12px;line-height:1.4;padding:5px 8px;border:1px solid #607582;border-radius:7px;color:#e2edf4;background:#1b2b36;white-space:nowrap}
.book-rally-view-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0 12px}
.book-rally-side-selector,.book-rally-view-switch{display:flex;gap:4px;align-items:stretch;min-width:0;padding:3px;background:#0b131a;border-radius:9px;border:1px solid #2b4153}
.book-rally-side-selector{flex:0 1 auto;max-width:100%}.book-rally-view-switch{margin-left:auto;flex-shrink:0}
.book-rally-side-selector button,.book-rally-view-switch button{padding:7px 11px;border:1px solid transparent;background:transparent;color:#a9bfce;border-radius:6px;overflow-wrap:anywhere;min-width:0}
.book-rally-side-selector button{flex:1 1 auto}.book-rally-side-selector button[aria-pressed="true"],.book-rally-view-switch button[aria-pressed="true"]{color:#e9f7ff;background:#204562;border-color:#46789b}
.book-rally-matrix-scroll,.book-rally-line-scroll{overflow:auto;min-width:0;max-width:100%;overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:#5c7587 #0d161d;border:1px solid #304757;border-radius:10px}
.book-rally-matrix{border-collapse:separate;border-spacing:0;table-layout:fixed;min-width:100%;width:max-content;color:#e3edf4;font-variant-numeric:tabular-nums lining-nums}
.book-rally-matrix th,.book-rally-matrix td{text-align:left!important;vertical-align:middle;padding:6px 12px;border-right:1px solid #253c4c;border-bottom:1px solid #253c4c;box-sizing:border-box}
.book-rally-matrix th:last-child,.book-rally-matrix td:last-child{border-right:0}.book-rally-matrix tbody tr:last-child>*{border-bottom:0}
.book-rally-matrix thead th{height:54px;background:#182b39;color:#8cc8ff;font-size:14px;font-weight:650;white-space:nowrap;min-width:106px;width:106px}
.book-rally-matrix thead th small{display:block;font-size:11px;color:#dec799;font-weight:400;line-height:1.3}
.book-rally-matrix th:first-child{position:sticky;left:0;z-index:1;min-width:192px;width:192px;max-width:192px;background:#152632;box-shadow:1px 0 #3d5567;white-space:normal}
.book-rally-matrix thead th:first-child{z-index:2;background:#1b3141}
.book-rally-matrix tbody th>button,.book-rally-line-legend button{display:flex;align-items:center;gap:8px;width:100%;padding:3px 0;min-height:40px;text-align:left;border:0;background:transparent;color:#e0eef7;font-size:14px;font-weight:600;white-space:normal}
.book-rally-matrix tbody th>button>span:not(.book-rally-detail-arrow),.book-rally-line-legend button>span:not(.book-rally-detail-arrow){min-width:0;overflow-wrap:anywhere}
.book-rally-matrix tbody th>small,.book-rally-line-legend small{display:block;font-size:11px;font-weight:400;color:#9bbbd0;margin-left:17px}
.book-rally-detail-arrow{margin-left:auto;color:#a3cbea;font-size:13px}
.book-rally-matrix i,.book-rally-line-legend i{display:inline-block;flex:none;width:9px;height:9px;border-radius:50%;background:var(--book-model-color)}
.book-rally-matrix .is-current{background:#223544}.book-rally-matrix thead .is-current{box-shadow:inset 0 2px #d4b578}
.book-rally-matrix .is-active>th{box-shadow:inset 3px 0 #7fc7ff,1px 0 #3d5567}
.book-rally-value{display:block;width:100%;min-width:64px;padding:6px 0!important;text-align:left!important;background:transparent!important;border:0!important;border-radius:5px;color:var(--book-model-color,#d9eeff)!important}
.book-rally-value:hover{background:#4a91bc20!important}.book-rally-value strong{font-size:20px;line-height:1.4;font-weight:650;white-space:nowrap;font-variant-numeric:tabular-nums lining-nums}
.book-rally-missing{display:block;min-width:64px;padding:6px 0;color:#7f95a5;font-size:20px;line-height:1.4}
.book-rally-empty{padding:24px 12px;margin:0;border:1px dashed #3a5365;border-radius:10px;font-size:14px;line-height:1.6;color:#b6cbd9}
.book-rally-line-legend{display:flex;gap:4px 20px;flex-wrap:wrap;margin:0 0 8px}.book-rally-line-legend>div{max-width:100%}.book-rally-line-legend button{gap:7px;font-size:13px}.book-rally-line-legend .book-rally-detail-arrow{margin-left:3px}
.book-rally-line-chart{display:block;width:100%;height:auto;background:#0c1720;overflow:visible}
.book-rally-line-chart text{font-size:16px;fill:#b9cfdf;font-variant-numeric:tabular-nums lining-nums}
.book-rally-line-chart .book-rally-axis-label{font-size:17px;fill:#d8e8f3}.book-rally-y-tick line{stroke:#2a4050;stroke-width:1}
.book-rally-current-line{stroke:#d4b578;stroke-width:1;stroke-dasharray:4 5;opacity:.65}
.book-rally-model-line{fill:none;stroke:var(--book-model-color);stroke-width:2.4;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}
.book-rally-point{cursor:pointer;outline:none}.book-rally-point-hit{fill:transparent;stroke:none}.book-rally-point-mark{fill:var(--book-model-color);stroke:#0c1720;stroke-width:1.5;vector-effect:non-scaling-stroke}
.book-rally-point:hover .book-rally-point-mark,.book-rally-point:focus-visible .book-rally-point-mark{stroke:#ecf8ff;stroke-width:3}
.book-rally-point.is-current .book-rally-point-mark{stroke:#e1c48a;stroke-width:2}
.book-rally-chart-note{margin:9px 0 0;font-size:12px;line-height:1.5;color:#aac2d2}
@media(max-width:620px){.book-rally-comparison{padding:12px}.book-rally-comparison button,.book-rally-selector button{min-height:44px}.book-rally-matrix th:first-child{min-width:150px;width:150px;max-width:150px}.book-rally-matrix th,.book-rally-matrix td{padding:6px 9px}.book-rally-matrix thead th{min-width:96px;width:96px}.book-rally-side-selector{flex:1 1 100%}.book-rally-view-switch{margin-left:0}.book-rally-comparison-heading{align-items:center}.book-rally-current-badge{font-size:11px}.book-rally-matrix tbody th>button{font-size:13px}}
@media(prefers-reduced-motion:reduce){.book-rally-chip-rail,.book-rally-matrix-scroll,.book-rally-line-scroll{scroll-behavior:auto}}

.book-spread-context{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:6px 16px;margin:4px 0 10px;line-height:1.5;color:#b9cfdf;font-size:12px}
.book-spread-context strong{color:#e6f2fb;font-size:14px;overflow-wrap:anywhere}.book-spread-context i{font-style:normal;color:#658295;margin:0 4px}
.book-spread-role{display:block;font-size:11px;line-height:1.6;color:#b8cede;font-weight:500}
.book-spread-role[data-spread-role="favorite"]{color:#93ddc5}.book-spread-role[data-spread-role="underdog"]{color:#e8c68e}
.book-comparison-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px;color:#a9c4d7;font-size:12px}
.book-comparison-navigation[hidden],.book-comparison-navigation button[hidden]{display:none!important}
.book-comparison-navigation>div{display:flex;gap:6px}.book-comparison-navigation button{min-width:44px;min-height:44px;padding:0 10px;border:1px solid #496f8b;border-radius:7px;background:#183549;color:#d6edff;font-size:25px}
.book-rally-value.is-replay-activated,.book-rally-missing.is-replay-activated{outline:2px solid #a6dfff;outline-offset:2px;background:#285879!important;box-shadow:0 0 13px #68bfff70}
.book-rally-point.is-replay-activated .book-rally-point-mark{stroke:#f6fcff;stroke-width:4;filter:drop-shadow(0 0 5px #9cdcff)}
@media(max-width:380px){.book-rally-matrix th:first-child{min-width:112px;width:112px;max-width:112px}.book-rally-matrix tbody th>button{gap:5px}.book-rally-detail-arrow{display:none}.book-rally-matrix tbody th>small{margin-left:0}.book-spread-context{align-items:start}.book-spread-context>span{max-width:100%}}

/* Verified receipts appear together as received; progress never queues animations. */
.book-rally-loading{min-height:360px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;color:var(--muted,#aab9c7)}
.book-rally-loading strong{font-size:16px;color:var(--text,#eef6ff)}
.book-rally-loading progress{width:min(280px,80%);height:8px;accent-color:var(--accent,#419eff)}
.book-rally-loading button{min-width:72px;min-height:40px}
.book-rally-preparing{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin:0 0 8px;color:var(--muted,#aab9c7);font-size:14px;line-height:1.4}
.book-rally-preparing strong{font-size:14px;color:var(--text,#eef6ff)}
.book-rally-preparing>span{white-space:nowrap;font-variant-numeric:tabular-nums}
.book-rally-preparing progress{flex:1 1 100px;max-width:180px;min-width:64px;height:8px;accent-color:var(--accent,#419eff)}
.book-rally-preparing button{min-width:72px;min-height:44px;margin-left:auto}
.book-rally-cell-loading,.book-rally-cell-stopped{font-size:14px;line-height:1.4}
[data-book-comparison-visual]{min-width:0}
