/* Shared sports-price workspace. Uses the site's existing theme and type. */
.odds-match-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
.odds-match{min-width:0;border:1px solid var(--border);border-radius:14px;background:var(--panel);overflow:hidden}
.odds-match-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:15px 16px 12px}
.odds-match-head>div{min-width:0}.odds-title{display:inline;text-align:left;padding:0;border:0;background:none;color:var(--ink);font:inherit;font-size:14px;line-height:1.5;font-weight:650;text-decoration:none;cursor:pointer}
.odds-title>span{color:var(--muted);margin-left:4px}.odds-title:hover{color:var(--accent-ink);text-decoration:none}
.odds-match-meta{display:flex;flex-wrap:wrap;gap:5px 12px;margin-top:5px;color:var(--muted);font-size:11.5px;line-height:1.5}.odds-match-meta time{font-variant-numeric:tabular-nums}
.odds-compare,.odds-market-more{flex:none;display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:30px;padding:4px 9px;border:1px solid var(--border);border-radius:8px;background:var(--bg);color:var(--ink-2);font:inherit;font-size:11.5px;line-height:1.4;cursor:pointer}
.odds-compare:hover,.odds-market-more:hover{border-color:var(--border-strong);color:var(--ink)}
.odds-market-bar{display:flex;align-items:center;gap:8px;padding:8px 16px;border-block:1px solid var(--border)}
.odds-market-current{display:inline-flex;align-items:center;min-height:28px;padding:3px 10px;border:1px solid var(--border-strong);border-radius:8px;color:var(--ink);font-size:11.5px;font-weight:600;background:var(--panel-2)}
.odds-market-more{margin-left:auto;border-color:transparent;background:transparent;padding-inline:2px;color:var(--muted)}
.odds-match-prices{padding:10px 14px 12px}.odds-column-head,.odds-book-row{display:grid;grid-template-columns:minmax(100px,1fr) repeat(var(--odds-cols),minmax(0,1fr));align-items:center;gap:7px}
.odds-column-head{padding:0 0 7px;color:var(--muted);font-size:10px;line-height:1.4;letter-spacing:.035em;text-transform:uppercase}.odds-column-head>span:not(:first-child){text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.odds-book-row{min-height:39px;margin-bottom:4px}.odds-book{display:flex;align-items:center;gap:8px;min-width:0;font-size:12px}.odds-book>.chip{flex:none;border-radius:9px}.odds-book>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.odds-book .op-paid{white-space:nowrap;text-decoration:none}.odds-book .op-paid:hover{text-decoration:underline}
.odds-price{display:flex;align-items:center;justify-content:center;min-height:34px;border:1px solid var(--border);border-radius:8px;background:var(--bg);color:var(--ink);font-family:var(--mono);font-size:13px;font-weight:550;font-variant-numeric:tabular-nums}
.odds-price-best{border-color:color-mix(in srgb,var(--pos) 55%,transparent);color:var(--pos);background:color-mix(in srgb,var(--pos) 10%,var(--bg));font-weight:650}.odds-book-stale .odds-price{color:var(--muted)}
.odds-more{margin-top:7px}.odds-more>summary{display:flex;align-items:center;justify-content:center;gap:8px;list-style:none;min-height:34px;border:1px solid var(--border);border-radius:8px;color:var(--ink-2);font-size:11.5px;cursor:pointer}.odds-more>summary::-webkit-details-marker{display:none}.odds-more[open]>summary{margin-bottom:8px}.odds-more[open]>summary>span{transform:rotate(180deg)}
.odds-extra-scroll{max-height:320px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--border-strong) transparent}
.odds-match-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:34px;padding:8px 14px;border-top:1px solid var(--border);color:var(--muted);font-size:10.5px;font-variant-numeric:tabular-nums}.odds-match-foot b{font-family:var(--mono);font-weight:500;color:var(--ink-2)}.odds-best-key{display:flex;align-items:center;gap:6px}.odds-best-key i{width:6px;height:6px;display:inline-block;border-radius:50%;background:var(--pos)}
.odds-workspace-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.odds-workspace-head .page-title{margin:0}.odds-head-actions{display:flex;align-items:center;gap:12px;flex:none}.odds-head-actions>a:not(.btn){font-size:12px;color:var(--ink-2)}
.sports-workspace-tabs{display:flex;gap:22px;align-items:center;overflow-x:auto;scrollbar-width:none;border-bottom:1px solid var(--border);margin:0 0 18px}.sports-workspace-tabs::-webkit-scrollbar{display:none}.sports-workspace-tabs button{position:relative;flex:none;border:0;background:transparent;padding:12px 0;color:var(--muted);font:inherit;font-size:13px;font-weight:550;cursor:pointer;white-space:nowrap}.sports-workspace-tabs button[aria-selected=true]{color:var(--ink)}.sports-workspace-tabs button[aria-selected=true]:after{content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background:var(--accent)}
[data-sports-view][hidden]{display:none!important}.sports-controls{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:12px 0 16px}.sports-controls .seg{padding:3px}.sports-controls .seg button{min-height:32px;padding:5px 11px}.sports-controls select,.sports-controls input{background:var(--panel);border:1px solid var(--border);border-radius:8px;min-height:38px;padding:7px 10px;color:var(--ink);font:inherit;font-size:12px;max-width:100%;min-width:0}.sports-controls input{flex:1;min-width:160px}.sports-controls select{max-width:250px}.sports-controls .sports-book-filter{max-width:170px}
.sports-stat-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;padding:18px 0;border-block:1px solid var(--border);margin-bottom:6px}.sports-stat-strip span{display:block;font-size:11px;color:var(--muted);margin-bottom:5px}.sports-stat-strip strong{font-size:21px;line-height:1.2;font-weight:650;letter-spacing:-.5px;font-variant-numeric:tabular-nums}
.sports-view-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:20px 0 12px}.sports-view-title h2{font-size:15px;font-weight:650;margin:0}.sports-view-title small{font-size:11px;color:var(--muted)}
.sports-opportunity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.sports-candidate{border:1px solid var(--border);border-radius:14px;background:var(--panel);overflow:hidden;min-width:0}.sports-candidate-head{padding:15px 16px 12px;display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.sports-candidate-meta{font-size:11px;color:var(--muted);line-height:1.5}.sports-candidate h3{font-size:14px;line-height:1.45;font-weight:650;margin:5px 0 3px}.sports-candidate h3 a{color:var(--ink);text-decoration:none}.sports-candidate h3 a:hover{color:var(--accent-ink)}.sports-candidate-side{font-size:12px;color:var(--ink-2);line-height:1.5}.sports-edge{flex:none;text-align:right}.sports-edge strong{display:block;font-size:24px;line-height:1.3;color:var(--pos);font-weight:650;font-variant-numeric:tabular-nums;letter-spacing:-.7px}.sports-edge span{font-size:10.5px;color:var(--muted)}
.sports-price-pair{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 16px 14px}.sports-price-pair>div{background:var(--bg);border:1px solid var(--border);border-radius:9px;padding:10px 12px;min-width:0}.sports-price-pair span{display:block;color:var(--muted);font-size:11px;margin-bottom:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sports-price-pair strong{font-family:var(--mono);font-size:20px;font-weight:550;line-height:1.2;color:var(--ink)}.sports-price-pair .offer-price{border-color:color-mix(in srgb,var(--pos) 45%,var(--border));background:color-mix(in srgb,var(--pos) 6%,var(--bg))}.sports-price-pair .offer-price strong{color:var(--pos)}
.sports-candidate-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 16px;border-top:1px solid var(--border);font-size:11px;color:var(--muted)}.sports-candidate-foot b{font-weight:550;color:var(--ink-2)}.sports-candidate-foot a{color:var(--accent-ink);text-decoration:none;font-size:12px}.sports-candidate details{border-top:1px solid var(--border)}.sports-candidate details>summary{padding:9px 16px;color:var(--muted);font-size:11px;cursor:pointer;list-style:none}.sports-candidate details>summary:after{content:'+';float:right}.sports-candidate details[open]>summary:after{content:'−'}.sports-candidate details>div{padding:0 16px 13px;color:var(--ink-2);font-size:11.5px;line-height:1.65}.sports-candidate details p{margin:4px 0}.sports-candidate details .affiliate-note{padding:4px 0}
.sports-research{margin-top:22px;border-top:1px solid var(--border);padding-top:14px}.sports-research>summary{cursor:pointer;font-size:13px;color:var(--ink-2)}.sports-research #market-research{margin-top:14px}.sports-workspace-note{font-size:11.5px;line-height:1.6;color:var(--muted);margin:12px 0}.sports-candidate-grid-empty{grid-column:1/-1;padding:26px 18px;border:1px solid var(--border);border-radius:12px;color:var(--ink-2);font-size:13px;line-height:1.7}
.odds-title:focus-visible,.odds-compare:focus-visible,.odds-more>summary:focus-visible,.sports-workspace-tabs button:focus-visible,.sports-candidate summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:1100px){.odds-match-grid,.sports-opportunity-grid{grid-template-columns:1fr}.odds-match-head{padding:14px}.sports-stat-strip{gap:12px}}
@media(min-width:1600px){.odds-match-grid,.sports-opportunity-grid{gap:16px}.odds-match-head{padding:16px 18px}.odds-match-prices{padding:12px 16px}.odds-book-row{min-height:41px}.odds-price{min-height:36px;font-size:14px}}
@media(max-width:700px){.odds-workspace-head{align-items:flex-start;margin:6px 0 14px}.odds-workspace-head .page-title{font-size:25px}.odds-head-actions{gap:7px}.odds-head-actions>a:not(.btn){display:none}.odds-head-actions .btn{min-height:36px;padding:7px 10px;font-size:12px}.sports-workspace-tabs{gap:20px;margin-bottom:12px;position:sticky;top:0;z-index:15;background:var(--bg)}.sports-workspace-tabs button{min-height:44px;font-size:12px}.sports-controls{gap:8px;padding:10px 0 14px}.sports-controls .seg{width:100%;display:flex}.sports-controls .seg button{flex:1;min-height:38px}.sports-controls select{max-width:none;flex:1;font-size:16px;min-height:42px}.sports-controls input{width:100%;font-size:16px;min-height:42px}.sports-stat-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:14px 0}.sports-stat-strip strong{font-size:21px}.sports-view-title{margin:16px 0 10px}.sports-candidate-head{padding:14px 13px;gap:10px}.sports-candidate h3{font-size:14px}.sports-edge strong{font-size:22px}.sports-price-pair{margin:0 13px 12px}.sports-candidate-foot{padding:10px 13px;flex-wrap:wrap}.sports-candidate details>summary{min-height:40px;display:flex;align-items:center;justify-content:space-between;padding:8px 13px}.sports-candidate details>summary:after{float:none}.odds-match-grid{gap:12px}.odds-title{font-size:13px;line-height:1.5}.odds-match-head{padding:12px;gap:8px}.odds-match-meta{font-size:10.5px;gap:3px 8px}.odds-compare{min-height:34px;padding:5px 7px;font-size:11px}.odds-market-bar{padding:7px 12px}.odds-match-prices{padding:9px 10px 11px}.odds-column-head,.odds-book-row{grid-template-columns:minmax(90px,1fr) repeat(var(--odds-cols),minmax(0,1fr));gap:5px}.odds-column-head{font-size:9px}.odds-book-row{min-height:41px}.odds-book{font-size:11px;gap:6px}.odds-book>.chip{width:25px!important;height:25px!important;flex-basis:25px!important;border-radius:8px}.odds-price{min-height:36px;font-size:12px}.odds-more>summary{min-height:40px}.odds-extra-scroll{max-height:280px}.odds-match-foot{padding:9px 11px;font-size:10px}.sports-workspace-note{font-size:11px}}

.odds-match-nohead .odds-match-head{display:none}.odds-source{font-size:11px;color:var(--muted)}.odds-estimates>summary{padding:12px 16px;cursor:pointer;color:var(--ink-2);font-size:12px;border-top:1px solid var(--border)}#fx-detail .odds-match{border:0;border-radius:0}#fx-detail #fx-quotes-card{padding:0}#fx-detail .odds-market-bar{border-top:0}

.odds-futures-scroll{max-height:500px;overflow:auto;overscroll-behavior:contain}.odds-futures-scroll thead th{position:sticky;top:0;background:var(--panel);z-index:2}.sports-workspace-note:empty{display:none}

.odds-more .odds-collapse,.odds-more[open] .odds-expand{display:none}.odds-more[open] .odds-collapse{display:inline}.odds-more[open]>summary>span:not([aria-hidden]){transform:none}

@media(max-width:700px){
 .sports-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .sports-controls .seg,.sports-controls #ev-competition,.sports-controls input{grid-column:1/-1;width:100%}
 .sports-controls select,.sports-controls .sports-book-filter{width:100%;max-width:none}
 .sports-workspace-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px;border:1px solid var(--border);border-radius:10px;overflow:visible;position:static;background:var(--panel)}
 .sports-workspace-tabs button{min-width:0;white-space:normal;padding:8px 4px;border-radius:7px;font-size:11.5px}
 .sports-workspace-tabs button[aria-selected=true]{background:var(--panel-2);color:var(--accent-ink)}
 .sports-workspace-tabs button[aria-selected=true]:after{display:none}
 .sports-view-title{align-items:flex-start;flex-wrap:wrap}.sports-view-title small{line-height:1.5}
 .odds-futures-scroll{max-height:440px}.odds-futures-scroll table.lz{min-width:420px}
}

@media(max-width:700px){.sports-stat-strip{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:12px 0}.sports-stat-strip span{font-size:10px;line-height:1.4;min-height:28px;margin-bottom:4px}.sports-stat-strip strong{font-size:18px}}

.odds-book-age{display:block;font-size:9px;line-height:1.3;color:var(--muted);font-weight:400;margin-top:1px}
@media(max-width:700px){
 .odds-futures-scroll table.lz,#edge-table,#sb-table{width:100%;min-width:0;table-layout:fixed}
 .odds-futures-scroll table.lz th,.odds-futures-scroll table.lz td{padding:10px 5px;white-space:normal;overflow-wrap:break-word;font-size:11px}
 .odds-futures-scroll table.lz th{font-size:9px;line-height:1.5;letter-spacing:.02em}
 .odds-futures-scroll table.lz th:first-child{width:42%}
 #edge-table th,#edge-table td,#sb-table th,#sb-table td{padding:10px 5px;font-size:11px;white-space:normal;overflow-wrap:break-word}
 #edge-table th{font-size:9px}#edge-table th:first-child{width:24px}#edge-table th:nth-child(2){width:45%}#edge-table th:nth-child(4),#edge-table td:nth-child(4){display:none}
 #sb-table th:first-child{width:30%}#sb-table th:nth-child(2){width:16%}
 #clv-table,#clv-table tbody{display:block;width:100%;min-width:0}
 #clv-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 #clv-table tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px;border-bottom:1px solid var(--border)}
 #clv-table td{display:block;padding:3px 0;border:0;text-align:left;min-width:0;white-space:normal;font-size:12px}
 #clv-table td:first-child,#clv-table td:nth-child(2){grid-column:1/-1}
 #clv-table td:nth-child(n+3):before{content:attr(data-label);display:block;color:var(--muted);font-size:10px;font-weight:400;margin-bottom:5px}
}

@media(max-width:700px){#sports-results .evidence-cohorts .tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#sports-results .evidence-cohorts .tile{padding:12px 10px}#sports-results .evidence-cohorts .tile .v{font-size:22px}#sports-results .evidence-cohorts .tile .s{font-size:10.5px;line-height:1.5}#sports-results .evidence-cohorts .tile .k{font-size:9px;letter-spacing:.03em}#sports-results .evidence-cohorts{padding-bottom:12px;margin-bottom:12px}}

/* Match context remains readable without increasing card height. */
a.odds-book{color:var(--ink);text-decoration:none;border-radius:8px;min-height:38px}a.odds-book:hover{color:var(--accent-ink)}a.odds-book:hover>span{text-decoration:underline;text-underline-offset:3px}.odds-price[href]{text-decoration:none}.odds-price[href]:hover{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.odds-match a:focus-visible,.odds-match button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.odds-sport-icon{display:inline-flex;width:14px;height:14px;flex:none}.odds-sport-icon svg{width:100%;height:100%}.odds-match-meta{align-items:center;gap:5px 8px}.odds-match-meta time{display:inline-flex;align-items:center;gap:7px;padding:2px 7px 2px 2px;border:1px solid var(--border);border-radius:30px;font:10px var(--mono)}.odds-match-meta time b{font:500 10px var(--font);color:var(--ink);background:var(--panel-3);border-radius:20px;padding:2px 6px}.odds-game-status.is-live{color:#83ddb1;display:inline-flex;align-items:center;gap:5px;font-weight:600}.odds-game-status.is-live:before{content:'';width:5px;height:5px;background:#39b67d;border-radius:50%}.odds-inplay-panel{border-top:1px solid var(--border);padding:16px}.odds-score-pair{display:flex;align-items:center;justify-content:center;gap:16px}.odds-score-pair>span{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;flex:1;font-size:12px}.odds-score-pair b{font:600 30px var(--mono)}.odds-score-pair i{font-style:normal;color:var(--muted)}.odds-inplay-panel p{margin:14px 0 6px;color:var(--muted);font-size:11px;text-align:center}.odds-inplay-panel>a{display:flex;justify-content:center;align-items:center;gap:8px;min-height:40px;color:var(--accent-ink);font-size:12px}

.odds-market-bar{overflow-x:auto;scrollbar-width:thin;scrollbar-color:var(--border-strong) transparent}.odds-market-tab{flex:none;white-space:nowrap;font:500 11px var(--font);min-height:30px;border:1px solid var(--border);border-radius:9px;padding:4px 10px;background:var(--bg);color:var(--muted);cursor:pointer}.odds-market-tab[aria-pressed=true]{color:var(--accent-ink);border-color:var(--accent);background:var(--panel-3)}.odds-market-tab:hover{color:var(--ink);border-color:var(--border-strong)}
@media(max-width:700px){.odds-market-tab{min-height:40px}.odds-book-row{min-height:44px}.odds-price{min-height:40px}}

.odds-match-wide .odds-match-prices{overflow-x:auto;overscroll-behavior-x:contain}.odds-match-wide .odds-column-head,.odds-match-wide .odds-book-row{min-width:calc(110px + var(--odds-cols)*82px)}

/* Keep the collapse action after the complete expanded bookmaker list. */
.odds-more[open]>summary{display:none}
.odds-more[open]>.odds-extra-scroll{max-height:none;overflow:visible}
.odds-less{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:34px;margin-top:8px;padding:7px 10px;border:1px solid var(--border);border-radius:10px;background:transparent;color:var(--ink-2);font:inherit;font-size:11.5px;cursor:pointer}
.odds-less:hover{color:var(--ink);border-color:var(--border-strong)}
.odds-less:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:760px){.odds-less{min-height:42px}}
