﻿/* Owner-bound Pari match card. Reuses the site palette and match-card classes. */
.match-pari-page .match-card-header.v2{
    border:1px solid #ffc18e;border-radius:24px;
    background-color:#fffefd;
    background-image:url('/images/match-card-reference.svg?v=4');
    background-position:center bottom;
    background-size:100% auto;
    background-repeat:no-repeat;
    box-shadow:0 16px 38px -16px rgb(242 155 73 / 28%),0 0 26px rgb(255 193 129 / 9%);
}
.match-pari-page .match-card-header.v2 .card-side{display:none}
.match-pari-page .match-card-header.v2 .match-card-meta{padding-left:36px}
.match-pari-page .mp-date-icon{position:absolute;top:0;left:0;width:23px;height:23px;color:#dc710c}
@media(max-width:600px){
    .match-pari-page .match-card-header.v2{border-radius:15px;background-size:100% auto;background-position:center bottom}
    .match-pari-page .match-card-header.v2 .match-card-meta{padding-left:29px}
    .match-pari-page .mp-date-icon{width:20px;height:20px}
}
.match-pari-page{padding-bottom:32px;font-family:Inter,"Segoe UI",Tahoma,Arial,sans-serif;color:#18181b}
.mp-toolbar{display:flex;align-items:center;min-height:44px;margin:8px 0}
.mp-back{color:#667085;font-size:13px;font-weight:600;text-decoration:none}
.mp-back:hover{color:#c95000}
.mp-modes{display:inline-flex;gap:2px;margin:0 0 16px;padding:2px;border:1px solid #d7dbe0;border-radius:6px;background:#f4f5f6}
.mp-mode{height:32px;padding:0 14px;border:0;border-radius:4px;background:transparent;color:#667085;font:600 13px/20px Inter,"Segoe UI",sans-serif;cursor:pointer}
.mp-mode.is-active{background:#fff;color:#18181b;box-shadow:0 1px 2px rgba(16,24,40,.08)}
/* The tab row connects to the tab content in one card (as in the original
   match card): no gap, so the section background never shows through as a
   grey strip between the tabs and the content. The Match tab keeps its own
   inner spacing through its first panel's padding-top. */
.match-tab-content{margin-top:0}
.match-pari-page #mpTabContent>.mp-prematch{padding-top:14px}
.match-pari-page #mpTabContent>.mp-placeholder{margin-top:16px}
.mp-live-slot{margin:0 0 16px;padding:14px 16px;border:1px solid #ffd9b3;border-radius:8px;background:#fff8f1}
.mp-live-head{font-size:13px;font-weight:700;color:#b94800;text-transform:uppercase;letter-spacing:.04em}
.mp-live-note{margin-top:6px;color:#795b45;font-size:12px;line-height:1.5}
.mp-periods{display:flex;gap:4px;margin-bottom:16px;border-bottom:1px solid #e5e7eb}
.mp-period{height:38px;padding:0 14px;border:0;border-bottom:2px solid transparent;background:transparent;color:#667085;font:600 13px/20px Inter,"Segoe UI",sans-serif;cursor:pointer}
.mp-period:hover{color:#18181b}
.mp-period.is-active{border-bottom-color:#ff6b00;color:#b94800}
.mp-panel{margin:0 0 18px;padding:16px;border:1px solid #e5e7eb;border-radius:8px;background:#fff}
.mp-panel h3{margin:0 0 12px;font-size:15px;font-weight:650}
.mp-markets{display:flex;flex-direction:column;gap:14px}
.mp-mkt{border:1px solid #eef0f2;border-radius:8px;overflow:hidden}
.mp-mkt-title{padding:7px 12px;background:#f7f8f9;border-bottom:1px solid #eef0f2;color:#475467;font-size:12px;font-weight:700}
.mp-mkt-table{width:100%;border-collapse:collapse;font-size:12.5px}
.mp-mkt-table th,.mp-mkt-table td{border-bottom:1px solid #f2f3f5;padding:6px 10px;text-align:center}
.mp-mkt-table tr:last-child th,.mp-mkt-table tr:last-child td{border-bottom:0}
.mp-mkt-table thead th{color:#8a9099;font-size:11px;font-weight:600;background:#fcfcfd}
.mp-mkt-table tbody th{text-align:left;color:#475467;font-weight:600;width:80px}
.mp-mkt-table td{font-variant-numeric:tabular-nums;font-weight:600;color:#202226;min-width:64px}
.mp-cats{display:flex;gap:6px;margin-bottom:12px;flex-wrap:wrap}
.mp-cat{height:32px;padding:0 12px;border:1px solid #d7dbe0;border-radius:999px;background:#fff;color:#475467;font:500 12.5px/20px Inter,"Segoe UI",sans-serif;cursor:pointer}
.mp-cat.is-active{border-color:#ff9a52;background:#fff7f0;color:#bd4c00}
.mp-compare-wrap{display:grid;gap:12px;min-width:0}
.mp-compare{width:100%;border-collapse:collapse;font-size:12.5px}
.mp-compare th,.mp-compare td{border-bottom:1px solid #f0f1f3;padding:8px 10px;text-align:center}
.mp-compare thead th{background:#fff;color:#18181b;font-size:13px;font-weight:650;text-align:center;border-bottom:1px solid #e5e7eb}
.mp-compare thead th:first-child{text-align:left}
.mp-compare tbody th{text-align:left;color:#475467;font-weight:600}
.mp-compare td{color:#8a9099;font-variant-numeric:tabular-nums}
.mp-compare .mp-cmp-group th{background:#f7f8f9;color:#b94800;font-size:11px;font-weight:700;text-align:left;text-transform:uppercase;letter-spacing:.03em}
/* Live-статистика: горизонтальные сравнительные полосы (home blue / away red). */
.mp-live-teams{display:flex;justify-content:space-between;margin:2px 0 14px;font-size:13px;font-weight:650}
.mp-live-row{margin:0 0 12px}
.mp-live-top{display:flex;align-items:center;justify-content:space-between;font-size:12.5px}
.mp-live-h{min-width:34px;font-weight:700;color:#2f6fb0;font-variant-numeric:tabular-nums}
.mp-live-a{min-width:34px;font-weight:700;color:#d64541;text-align:right;font-variant-numeric:tabular-nums}
.mp-live-label{flex:1 1 auto;color:#667085;font-weight:600;text-align:center}
.mp-live-bar{display:flex;height:8px;margin-top:6px;border-radius:4px;overflow:hidden;background:#eef0f2}
.mp-live-bar .is-home{background:#2f6fb0}
.mp-live-bar .is-away{background:#d64541}
.mp-live-periods{display:inline-flex;gap:2px;margin:0 0 14px;padding:2px;border:1px solid #d7dbe0;border-radius:6px;background:#f4f5f6}
.mp-live-periods .mp-lp{height:30px;padding:0 12px;border:0;border-radius:4px;background:transparent;color:#667085;font:600 12.5px/20px Inter,"Segoe UI",sans-serif;cursor:pointer}
.mp-live-periods .mp-lp.is-active{background:#fff;color:#18181b;box-shadow:0 1px 2px rgba(16,24,40,.08)}
.mp-score-line{margin:0 0 12px;padding:8px 12px;border:1px solid #eef0f2;border-radius:6px;background:#f8f9fa;font-size:13px;color:#333}
.mp-score-line b{color:#18181b}
.mp-chrono-title{margin:16px 0 8px;font-size:13px;font-weight:700;color:#475467}
.mp-chrono{list-style:none;margin:0;padding:0;border-top:1px solid #eef0f2}
.mp-chrono li{display:flex;gap:10px;padding:7px 4px;border-bottom:1px solid #f2f3f5;font-size:12.5px}
.mp-ev-min{min-width:34px;color:#8a9099;font-weight:600;font-variant-numeric:tabular-nums}
.mp-ev-txt{color:#333}
.team-name-lg.is-winner{color:#16794a;font-weight:800}
.mp-filters{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:12px}
.mp-seg{display:inline-flex;gap:2px;padding:2px;border:1px solid #d7dbe0;border-radius:6px;background:#f4f5f6}
.mp-seg button{height:30px;min-width:34px;padding:0 10px;border:0;border-radius:4px;background:transparent;color:#667085;font:600 12.5px/20px Inter,"Segoe UI",sans-serif;cursor:pointer}
.mp-seg button.is-active{background:#fff;color:#18181b;box-shadow:0 1px 2px rgba(16,24,40,.08)}
.mp-note{color:#8a9099;font-size:12px}
.mp-placeholder{margin-top:16px;padding:28px 16px;border:1px dashed #e0e3e7;border-radius:8px;color:#8a9099;text-align:center;font-size:13px}
.mp-period:focus-visible,.mp-cat:focus-visible,.mp-mode:focus-visible,.mp-seg button:focus-visible,.mp-back:focus-visible{outline:2px solid #ff6b00;outline-offset:2px}
@media(max-width:600px){.mp-panel{padding:12px}.mp-mkt-table tbody th{width:64px}}

/* Screenshot layout, scoped to this card; typography follows the schedule. */
.match-pari-page #mpTabContent{font-family:Inter,"Segoe UI",Tahoma,Arial,sans-serif;font-size:12.8px;line-height:18px}
.match-pari-page #mpTabContent .mp-panel{margin-bottom:14px;padding:14px;border-color:#e2e6eb;border-radius:7px;box-shadow:0 1px 4px rgba(16,24,40,.055)}
.match-pari-page #mpTabContent h3{margin:0 0 12px;font-size:14px;line-height:20px;font-weight:700;color:#181b20}
.mp-live-layout{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(250px,1fr);gap:12px;align-items:stretch}
.mp-live-layout>.mp-panel{min-width:0}
.mp-live-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.mp-live-title{display:flex;align-items:center;gap:10px;min-width:0}
.match-pari-page #mpTabContent .mp-live-title h3{margin:0}
.mp-live-badge{display:inline-flex;align-items:center;gap:5px;padding:2px 6px;border-radius:4px;background:#e8f6ec;color:#21863b;font-size:11px;line-height:15px;font-weight:700;white-space:nowrap}
.mp-live-badge>span{width:7px;height:7px;background:currentColor;border-radius:50%;animation:mp-live-pulse 1.4s ease-in-out infinite}
.mp-live-badge.is-finished{color:#475467;background:#f0f2f5}
.mp-live-badge.is-finished>span{animation:none}
@keyframes mp-live-pulse{0%,100%{opacity:.45;transform:scale(.9)}50%{opacity:1;transform:scale(1)}}
@media (prefers-reduced-motion: reduce){.mp-live-badge>span{animation:none}}
.mp-live-periods{display:inline-flex;gap:0;margin:0;padding:0;border-color:#d7dce3;background:#f7f8fa;border-radius:4px;flex-shrink:0}
.mp-live-periods .mp-lp{height:27px;padding:4px 10px;border-radius:3px;color:#475467;font:400 10.88px/15.232px Inter,"Segoe UI",sans-serif}
.mp-live-periods .mp-lp+.mp-lp{border-left:1px solid #dde1e7}
.mp-live-periods .mp-lp.is-active{background:#ff8a00;color:#fff;box-shadow:none}
.mp-live-teams{margin:8px 0 10px;gap:12px;font-size:12.8px;line-height:18px;font-weight:650}
.mp-live-teams>span{display:flex;align-items:center;gap:8px;min-width:0}
.mp-live-teams>span:last-child{text-align:right;justify-content:flex-end}
.mp-live-logo{flex:0 0 26px;object-fit:contain}
.mp-live-row{display:grid;grid-template-columns:26px minmax(0,1fr) 26px;grid-template-rows:18px 6px;column-gap:8px;margin-bottom:9px}
.mp-live-top{display:contents}
.mp-live-h{grid-column:1;grid-row:1/3;min-width:0;align-self:center;color:#2f6fb0;font-size:12px;font-weight:600}
.mp-live-a{grid-column:3;grid-row:1/3;min-width:0;align-self:center;color:#d64541;font-size:12px;font-weight:600}
.mp-live-label{grid-column:2;grid-row:1;color:#34383f;font-size:11.5px;line-height:16px;font-weight:400}
.mp-live-bar{grid-column:2;grid-row:2;height:5px;margin:0;border-radius:3px;background:#e0e3e7}
.mp-live-bar .is-home{background:#2f6fb0}
.mp-live-bar .is-away{background:#d64541}
.mp-live-row.is-empty .mp-live-bar span{background:#e0e3e7}
.match-pari-page #mpTabContent .mp-note{margin-top:10px;color:#89919d;font-size:10.5px;line-height:15px}
.odds-stage{margin-top:6px;color:#667085;font-size:11px;line-height:15px;font-weight:600;text-align:center}
.odds-stage.is-live{color:#e24236}
.score-cell.is-live-score{color:#ff6b00}
.odd-value.is-live-odd{color:#e24236;animation:fq-live-pulse 1.4s ease-in-out infinite}
@keyframes fq-live-pulse{0%,100%{opacity:1}50%{opacity:.4}}
.mp-events h3{padding-bottom:10px;border-bottom:1px solid #eef0f3}
.mp-chrono{margin:0;border:0}
.mp-chrono .mp-ev{display:grid;grid-template-columns:38px 22px minmax(0,1fr);align-items:center;gap:9px;min-height:39px;padding:7px 2px;border-bottom:1px solid #eef0f3;font-size:11.5px;line-height:16px}
.mp-ev-min{min-width:0;color:#667085;font-size:11px;text-align:center;font-weight:400}
.mp-ev-txt{color:#475467;overflow-wrap:anywhere}
.mp-ev-icon{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;color:#667085}
.mp-ev-icon svg{width:20px;height:20px}
.mp-ev-icon.is-YellowCard{color:#ffbd00}
.mp-ev-icon.is-RedCard{color:#ed3d32}
.mp-events-empty{padding:18px 0;color:#89919d;font-size:12px}
.mp-events-more>summary{display:flex;align-items:center;justify-content:center;gap:8px;padding:14px 4px;color:#366ac2;font-size:11.5px;cursor:pointer;list-style:none}
.mp-events-more>summary::-webkit-details-marker{display:none}
.mp-events-more[open]>summary span{transform:rotate(180deg)}
.mp-filters{gap:12px;margin:0 0 10px}
.mp-seg{gap:0;padding:0;border-radius:5px;background:#f6f7f9}
.mp-seg button{height:29px;min-width:34px;padding:4px 11px;border-radius:4px;color:#475467;font:400 10.88px/15.232px Inter,"Segoe UI",sans-serif}
.mp-seg button+button{border-left:1px solid #e0e4ea}
.mp-seg button.is-active{color:#fff;background:#ff8a00;box-shadow:none}
.mp-cmp-card{overflow:hidden;padding:0 6px 5px;border:1px solid #eee5da;border-radius:10px;background:linear-gradient(180deg,#fffaf5 0,#fff 48px);box-shadow:0 2px 5px rgba(65,46,24,.045)}
.mp-compare{table-layout:fixed;border-collapse:separate;border-spacing:0;font-size:12px;line-height:17px}
.mp-compare th,.mp-compare td{padding:2px 12px;border:0;border-right:1px solid #edf0f3;border-bottom:1px solid #edf0f3}
.mp-compare thead th{height:34px;padding:4px 10px;background:transparent;font-size:12px;font-weight:700;color:#17263d;border-bottom:0}
.mp-compare thead th:first-child{width:40%}
.mp-cmp-heading,.mp-cmp-team{display:flex;align-items:center;gap:10px;min-width:0}
.mp-cmp-heading{color:#17263d;font-size:16px;font-weight:750;text-align:left}
.mp-cmp-heading>svg{flex:0 0 24px;width:24px;height:24px;color:#ff8a00}
.mp-cmp-team{justify-content:center;gap:8px}
.mp-cmp-team .mp-cmp-logo{flex:0 0 22px;margin-right:0!important}
.mp-cmp-team>span{overflow-wrap:anywhere}
.mp-compare tbody th{font-weight:400;color:#627083;border-left:1px solid #edf0f3}
.mp-compare tbody th,.mp-compare td{background:#fcfdfe}
.mp-compare tbody tr:first-child>*{border-top:1px solid #edf0f3}
.mp-compare tbody tr:first-child>th{border-top-left-radius:6px}
.mp-compare tbody tr:first-child>td:last-child{border-top-right-radius:6px}
.mp-compare tbody tr:last-child>th{border-bottom-left-radius:6px}
.mp-compare tbody tr:last-child>td:last-child{border-bottom-right-radius:6px}
.mp-compare thead th:last-child{border-right:0}
.mp-compare td{position:relative;color:#627083;font-weight:500;font-variant-numeric:tabular-nums}
.mp-compare td.mp-cmp-best{background:#e2f7e3;color:#287538;font-weight:700}
.mp-cmp-value{display:block;padding-inline:14px}
.mp-cmp-award{position:absolute;right:10px;top:50%;display:flex;transform:translateY(-50%);color:#f59a00}
.mp-cmp-award svg{width:14px;height:14px}
.mp-lp:focus-visible,.mp-events-more>summary:focus-visible{outline:2px solid #ff6600;outline-offset:2px}
@media(max-width:900px){.mp-live-layout{grid-template-columns:minmax(0,1fr)}.mp-live-heading{flex-wrap:wrap}.mp-events{min-height:0}}
@media(max-width:600px){.mp-live-periods .mp-lp,.mp-seg button{min-height:38px}.mp-live-layout{gap:0}.mp-compare th,.mp-compare td{padding:4px 6px}.mp-compare thead th{font-size:11px}.mp-live-teams{font-size:12px}.mp-live-periods{max-width:100%}.mp-live-periods .mp-lp{padding-inline:8px}}
@media(max-width:600px){.mp-compare-wrap{gap:10px}.mp-cmp-card{padding:0 3px 4px}.mp-compare{font-size:11px;line-height:15px}.mp-compare thead th{padding:6px 4px}.mp-cmp-heading{gap:5px;font-size:12px;line-height:16px}.mp-cmp-heading>svg{flex-basis:19px;width:19px;height:19px}.mp-cmp-team{flex-direction:column;gap:3px;font-size:10px;line-height:14px}.mp-cmp-value{padding-inline:0}.mp-compare td.mp-cmp-best{padding-bottom:18px}.mp-cmp-award{top:auto;right:50%;bottom:2px;transform:translateX(50%)}.mp-cmp-award svg{width:12px;height:12px}}

/* Lower markets: seven sections, each with goals / corners / cards columns. */
.match-pari-page #mpTabContent .mp-panel.mp-markets-section{width:900px;max-width:calc(100% + 2px);box-sizing:border-box;margin:0 -1px 14px;padding:0;border:0;box-shadow:none;background:transparent}
.match-pari-page #mpTabContent .mp-markets-section>h3{margin:0 0 6px;font-size:18px;line-height:25px;font-weight:700}
.mp-markets-section .mp-score-line{padding:8px 10px;margin-bottom:7px;border-color:#dde3eb;background:#f3f6f9;font-size:11.5px;line-height:16px}
.mp-markets-section .mp-periods{display:flex;gap:7px;margin:0 0 12px;border:0}
.mp-markets-section .mp-period{min-width:94px;height:28px;padding:4px 12px;border:1px solid #d9e0e8;border-radius:4px;background:#f9fbfd;color:#475467;font:400 10.88px/15.232px Inter,"Segoe UI",sans-serif}
.mp-markets-section .mp-period.is-active{border-color:#ff7900;background:#ff7900;color:#fff;font-weight:600}
.mp-markets-section .mp-markets{gap:9px}
.mp-market-section{overflow:hidden;border:1px solid #dce4ec;border-radius:6px;background:#fff;box-shadow:0 1px 3px rgba(16,24,40,.025)}
.match-pari-page #mpTabContent .mp-market-section>h4{margin:0;padding:5px 10px;border-left:4px solid #ff7900;border-top:1px solid #ffbd87;background:linear-gradient(90deg,#ffead7,#fff0e3);color:#151a20;font-size:13px;line-height:18px;font-weight:700}
.mp-market-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:5px 8px 7px;align-items:start}
.mp-market-category{min-width:0;overflow:hidden;border:1px solid #e6ecf2;border-radius:4px;background:#fff}
.mp-market-category-title{display:flex;align-items:center;gap:7px;min-height:24px;padding:3px 9px;font-size:11px;line-height:16px;font-weight:650}
.mp-market-category-title svg{flex:0 0 17px;width:17px;height:17px}
.mp-market-category.is-goals .mp-market-category-title{background:#ffe8d7;color:#ef7100}
.mp-market-category.is-corners .mp-market-category-title{background:#deebfc;color:#183e85}
.mp-market-category.is-cards .mp-market-category-title{background:#ffedce;color:#292015}
.mp-market-category.is-cards .mp-market-category-title svg{color:#eeac00}
.mp-market-category .mp-mkt-table{table-layout:fixed;font-size:10.88px;line-height:15.232px}
.mp-market-category .mp-mkt-table th,.mp-market-category .mp-mkt-table td{height:18px;padding:1px 6px;text-align:center;border-right:1px solid #edf1f5;border-bottom:1px solid #edf1f5}
.mp-market-category .mp-mkt-table th:last-child,.mp-market-category .mp-mkt-table td:last-child{border-right:0}
.mp-market-category .mp-mkt-table thead th{padding:3px 6px;background:#f5f8fb;color:#6e7b8c;font-size:10px;font-weight:400}
.mp-market-category .mp-mkt-table tbody th{width:auto;color:#26364c;font-weight:400}
.mp-market-category .mp-mkt-table td{min-width:0;color:#16273d;font-weight:600}
.mp-market-category.is-unavailable .mp-mkt-table td{color:#536175;font-weight:400}
@media(max-width:650px){.match-pari-page #mpTabContent .mp-panel.mp-markets-section{max-width:100%;margin-inline:0}.mp-market-columns{grid-template-columns:minmax(0,1fr);gap:7px}.mp-markets-section .mp-period{min-width:0;flex:1;min-height:38px}.mp-market-category .mp-mkt-table th,.mp-market-category .mp-mkt-table td{height:24px;font-size:11.5px}.mp-market-category-title{min-height:28px}}

/* Standings heading: the card's generic `#mpTabContent h3` rule adds a bottom
   margin, which pushed the title above the competition badge. Reset it so the
   title and the badge share one baseline/centre on the same line. */
.match-pari-page #mpTabContent .standings-preview-heading h3{margin:0;font-size:14px;line-height:20px}

/* Match controls share the Statistics period-switch standard. Keep these
   overrides card-scoped, including after the compact-screen legacy rules. */
.match-pari-page #mpPrematch :is(.mp-live-periods,.mp-seg,.mp-periods){
    display:inline-flex;align-items:center;flex-wrap:wrap;gap:2px;
    padding:2px;border:1px solid var(--border);border-radius:6px;
    background:#fff;
}
.match-pari-page #mpPrematch :is(.mp-lp,.mp-seg button,.mp-period){
    box-sizing:border-box;height:27px;min-height:27px;min-width:0;
    padding:4.48px 7.68px;border:0;border-radius:4px;
    background:transparent;color:#555;font-family:inherit;
    font-size:10.88px;font-weight:600;line-height:15.232px;
    white-space:nowrap;cursor:pointer;box-shadow:none;
}
.match-pari-page #mpPrematch :is(.mp-lp,.mp-seg button,.mp-period).is-active{
    background:var(--accent);color:#fff;
}
.match-pari-page #mpPrematch :is(.mp-lp,.mp-seg button,.mp-period):hover:not(.is-active){color:var(--accent)}
.match-pari-page #mpPrematch :is(.mp-lp,.mp-seg button,.mp-period):focus-visible{
    outline:2px solid rgb(255 102 0 / 35%);outline-offset:-2px;
}
.match-pari-page #mpPrematch .mp-periods{margin:0 0 12px}
.match-pari-page .mp-back{
    display:inline-flex;align-items:center;box-sizing:border-box;
    min-height:27px;padding:4.48px 7.68px;border:1px solid var(--border);
    border-radius:4px;background:#fff;color:#555;
    font-size:10.88px;font-weight:600;line-height:15.232px;
}
.match-pari-page .mp-back:hover{color:var(--accent);border-color:var(--accent)}

/* Markets use the same panel inset as the comparison and live sections. */
.match-pari-page #mpTabContent .mp-panel.mp-markets-section{
    width:auto;max-width:100%;margin:0 0 14px;padding:14px;
    border:1px solid #e2e6eb;border-radius:7px;background:#fff;
    box-shadow:0 1px 4px rgba(16,24,40,.055);
}
.match-pari-page #mpTabContent .mp-markets-section>h3{
    margin:0 0 12px;font-size:14px;line-height:20px;
}
.match-pari-page #mpPrematch .mp-score-line{
    margin:0 0 12px;padding:8px 10px;border-color:var(--border);
    background:#f7f7f7;color:#555;
}
.match-pari-page #mpTabContent .mp-market-section>h4{border-left-color:var(--accent)}
/* DESIGN-QUANT-065 — Quant tab rebuilt on the Statistics design tokens. */
.mp-q{display:flex;flex-direction:column;gap:14px}
.mp-q-grid2{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:14px}
.mp-q-card{border:1px solid #e5e7eb;border-radius:10px;background:#fff;padding:14px 16px}
.mp-q-head{display:flex;align-items:flex-start;gap:12px}
.mp-q-head-main{flex:1 1 auto;min-width:0}
.mp-q-head-main h3{margin:0;font-size:16px;font-weight:700;color:#18181b}
.mp-q-head-main p{margin:2px 0 0;color:#8a9099;font-size:12.5px}
.mp-q-ic{flex:0 0 auto;width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:9px;background:var(--accent);color:#fff}
.mp-q-ic svg{width:19px;height:19px}
.mp-q-badge{align-self:flex-start;padding:3px 9px;border-radius:999px;background:#eaf2ff;color:#2b6cb0;font-size:11px;font-weight:700;white-space:nowrap}
.mp-q-empty{color:#8a9099;font-size:13px;margin:10px 0}
.mp-q-controls{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px 18px}
.mp-q-ctrl{display:flex;flex-direction:column;gap:4px}
.mp-q-label{color:#8a9099;font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.mp-q-toggle{display:inline-flex;align-items:center;gap:7px;color:#8a9099;font-size:12px;font-weight:600}
.mp-q-switch{width:34px;height:19px;border-radius:999px;background:#e5e7eb;position:relative}
.mp-q-switch::after{content:"";position:absolute;top:2px;left:2px;width:15px;height:15px;border-radius:50%;background:#fff}
/* block 1 */
.mp-q-model-body{margin-top:12px}
.mp-q-model-state{display:flex;align-items:center;gap:10px;min-height:64px;padding:12px 14px;border:1px solid #e7ebf0;border-radius:8px;background:#fbfcfd;color:var(--text-muted);font-size:.72rem;line-height:1.45}
.mp-q-model-state>div{display:flex;flex-direction:column;gap:3px}
.mp-q-model-state b{color:#475467;font-size:.74rem}
.mp-q-model-state span{font-size:.68rem}
.mp-q-spinner{width:16px;height:16px;flex:0 0 16px;border:2px solid #e1e7ef;border-top-color:var(--accent);border-radius:50%;animation:mp-q-spin .8s linear infinite}
/* One loading indicator for every async block of the match card. */
.mp-loader{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:96px;padding:18px 14px;box-sizing:border-box;color:var(--text-muted);font-size:.82rem;line-height:1.45;text-align:left}
.mp-loader-spinner{width:16px;height:16px;flex:0 0 16px;border:2px solid #e1e7ef;border-top-color:var(--accent);border-radius:50%;animation:mp-q-spin .8s linear infinite}
.mp-loader-copy{display:flex;flex-direction:column;gap:2px}
.mp-loader-copy b{color:#475467;font-size:.82rem;font-weight:700}
.mp-loader-copy span{font-size:.72rem}
.mp-loader.is-inline{min-height:56px;padding:12px}
.mp-loader.is-row{min-height:64px;padding:12px;justify-content:flex-start}
.mp-q-model-state.is-error{border-color:#f0c9c9;background:#fff8f8;color:#8f3b3b}
.mp-q-model-retry{align-self:flex-start;border:1px solid #e2b6b6;border-radius:5px;background:#fff;color:#a33b3b;padding:4px 9px;font:inherit;font-size:.68rem;cursor:pointer}
.mp-q-model-retry:hover{background:#fff1f1}
@keyframes mp-q-spin{to{transform:rotate(360deg)}}
.mp-q-model-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,.8fr) minmax(0,2fr) minmax(130px,1.7fr);grid-template-rows:auto auto auto;gap:8px;align-items:start}
.mp-q-stat,.mp-q-meta div{border:1px solid #eef0f2;border-radius:8px;padding:8px 11px;display:flex;flex-direction:column;gap:4px}
.mp-q-stat span,.mp-q-meta span{color:#8a9099;font-size:11px;font-weight:600}
.mp-q-stat>b{font-size:22px;font-weight:800;color:#18181b;font-variant-numeric:tabular-nums}
.mp-q-1x2{display:flex;gap:14px;font-size:18px;font-weight:800;font-variant-numeric:tabular-nums}
.mp-q-1x2 i{font-style:normal}
.mp-q-meta{grid-column:4;grid-row:1 / 4;display:flex;flex-direction:column;gap:0;background:#f7f9fb;border-radius:6px;min-width:0}
.mp-q-meta div{flex-direction:row;align-items:center;justify-content:space-between;gap:8px}
.mp-q-meta b{font-size:12.5px;color:#18181b;font-weight:700;white-space:nowrap}
.mp-q-status{display:inline-flex;align-items:center;gap:6px}
.mp-q-dot{width:8px;height:8px;border-radius:50%;background:var(--accent);display:inline-block}
.mp-q-dot.is-ok{background:#2f9e4f}
.mp-q-subhead{grid-column:1 / 4;margin:4px 0 0;font-size:12px;font-weight:700;color:#475467}
.mp-q-scores{grid-column:1 / 4;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.mp-q-score{min-width:74px;padding:7px 10px;border:1px solid #eef0f2;border-radius:8px;text-align:center;background:#fcfcfd}
.mp-q-score b{display:block;font-size:14px;font-weight:800;color:#18181b}
.mp-q-score span{font-size:11.5px;color:#8a9099}
.mp-q-score.is-top{background:#fff5ec;border-color:#ffd2ad}
.mp-q-score.is-top b{color:var(--accent)}
.mp-q-note{margin:12px 0 0;color:#8a9099;font-size:11.5px;line-height:1.5}
/* POISSON-TIP-01: info affordances of the Poisson block. The hint text itself
   is rendered by the SHARED glossary tooltip (.fq-term-tip in style.css), so
   there is exactly one tooltip implementation in the product. Presentation
   only — no metric value, probability or model output is touched here. */
.mp-q-help-btn{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;flex:0 0 30px;padding:0;border:1px solid transparent;border-radius:7px;background:transparent;color:#667085;cursor:pointer;transition:background .15s,color .15s,border-color .15s}
.mp-q-help-btn svg{width:18px;height:18px;display:block}
.mp-q-help-btn:hover{background:#fff4e9;border-color:#ffd6b6;color:#b94800}
.mp-q-help-btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.mp-q-head-actions{display:flex;align-items:center;gap:6px;justify-self:end}
.mp-q-model [data-term]{cursor:help;touch-action:manipulation}
.mp-q-model [data-term]:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:4px}
.mp-q-help-overlay{position:fixed;inset:0 auto auto 0;width:min(600px,calc(100vw - 32px));max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:14px;background:transparent;color:#182230;overflow:visible}
.mp-q-help-overlay:not([open]){display:none}
.mp-q-help-overlay::backdrop{background:rgba(16,24,40,.48);backdrop-filter:blur(2px)}
.mp-q-help-card{display:flex;flex-direction:column;max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);overflow:hidden;border:1px solid #e4e7ec;border-radius:14px;background:#fff;box-shadow:0 24px 64px rgba(16,24,40,.22);text-align:left;font-family:inherit}
.mp-q-help-head{display:flex;align-items:center;gap:12px;padding:20px 20px 16px 24px;border-bottom:1px solid #eef0f3;flex-shrink:0}
.mp-q-help-mark{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border:1px solid #ffe0c7;border-radius:10px;background:#fff5eb;color:#c34d00;font-size:24px;font-weight:600;line-height:1}
.mp-q-help-heading{flex:1;min-width:0}
.mp-q-help-heading>p{margin:0 0 3px;color:#b54708;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.mp-q-help-head h3{margin:0;color:#182230;font-size:20px;font-weight:650;line-height:1.3}
.mp-q-help-close{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;margin-left:4px;padding:0;border:1px solid transparent;border-radius:8px;background:transparent;color:#667085;cursor:pointer}
.mp-q-help-close svg{display:block;width:20px;height:20px}
.mp-q-help-close:hover{border-color:#e4e7ec;background:#f8f9fb;color:#182230}
.mp-q-help-close:focus-visible,.mp-q-help-done:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.mp-q-help-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:20px 24px 24px;color:#475467;font-size:14px;line-height:1.65}
.mp-q-help-body p{margin:0}
.mp-q-help-section{margin-top:18px;padding-top:16px;border-top:1px solid #eef0f3}
.mp-q-help-section h4{margin:0 0 6px;color:#182230;font-size:14px;font-weight:650;line-height:1.4}
.mp-q-help-note{margin-top:20px;padding:12px 14px;border-left:3px solid #ff8b33;border-radius:0 8px 8px 0;background:#fff8f1;color:#78441d;font-size:13px;line-height:1.6}
.mp-q-help-footer{display:flex;justify-content:flex-end;padding:14px 24px;border-top:1px solid #eef0f3;background:#fcfcfd;flex-shrink:0}
.mp-q-help-done{min-height:40px;padding:8px 22px;border:1px solid #bf4900;border-radius:7px;background:#bf4900;color:#fff;font-family:inherit;font-size:14px;font-weight:600;line-height:1.4;cursor:pointer}
.mp-q-help-done:hover{background:#a43e00}
/* The existing shared glossary remains the only hint renderer. */
.fq-term-tip{box-sizing:border-box;max-width:min(300px,calc(100vw - 16px));max-height:calc(100dvh - 16px);overflow-y:auto;overflow-wrap:anywhere;pointer-events:auto}
@media(max-width:480px){
  .mp-q-help-btn{width:44px;height:44px;flex-basis:44px}
  .mp-q-help-head{padding:16px 12px 14px 16px;gap:10px}
  .mp-q-help-head h3{font-size:18px}
  .mp-q-help-mark{width:34px;height:34px;flex-basis:34px;font-size:21px}
  .mp-q-help-body{padding:16px}
  .mp-q-help-footer{padding:12px 16px}
  .mp-q-help-done{min-height:44px}
}
@media(prefers-reduced-motion:reduce){.mp-q-help-btn,.fq-term-tip{transition:none}}
/* block 2 */
.mp-q-mkt-body{margin-top:12px}
.mp-q-mkt-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.mp-q-mkt-grid+.mp-q-mkt-sub{margin-top:10px}
.mp-q-mkt-cell{border:1px solid #eef0f2;border-radius:8px;padding:7px 9px;text-align:center;background:#fcfcfd}
.mp-q-mkt-cell span{display:block;color:#8a9099;font-size:11px;font-weight:600;margin-bottom:2px}
.mp-q-mkt-cell b{font-size:15px;font-weight:800;color:#18181b;font-variant-numeric:tabular-nums}
.mp-q-mkt-cell.is-prob{background:#f4f5f6}
.mp-q-mkt-sub{color:#8a9099;font-size:11px;font-weight:600;margin:0 0 6px}
.mp-q-warn{margin-top:10px;padding:9px 11px;border:1px solid #f3c9c9;border-radius:8px;background:#fff5f5;display:flex;flex-direction:column;gap:3px}
.mp-q-warn b{color:#c0392b;font-size:12.5px}
.mp-q-warn span{color:#9a5b5b;font-size:11.5px}
/* block 3 */
.mp-q-analysis>.mp-q-head{margin-bottom:12px}
.mp-q-markets{display:flex;flex-wrap:wrap;gap:2px;margin-bottom:12px}
.mp-q-table .quant-table-wrap{overflow-x:auto}
.mp-q-table .quant-shell-table{width:100%;border-collapse:collapse;font-size:12.5px}
.mp-q-table .quant-shell-table thead th{padding:9px 10px;background:#f4f5f6;color:#8a9099;font-size:11px;font-weight:700;text-align:center;border-bottom:1px solid #e9ebee}
.mp-q-table .quant-shell-table tbody td{padding:11px 10px;border-bottom:1px solid #f0f1f3;font-variant-numeric:tabular-nums}
.mp-q-table .quant-shell-table tbody tr.is-selected{background:#fff7f0;box-shadow:inset 3px 0 0 var(--accent)}
.mp-q-table .quant-shell-table tbody tr:hover{background:#fafbfc}
.mp-q-table .quant-shell-outcome{font-weight:700;color:#202226}
.mp-q-table .quant-odds-cell{color:#475467;font-weight:600}
.mp-q-table .quant-shell-model{color:#1f9d55;font-weight:800}
.mp-q-table .quant-shell-market{color:#475467}
.mp-q-table .quant-shell-ev,.mp-q-table .quant-shell-kelly{font-weight:700}
.mp-q-table .quant-shell-ev.is-value-high,.mp-q-table .quant-shell-kelly.is-pos{color:#1f9d55}
.mp-q-table .quant-shell-ev.is-value-mid{color:#c98a00}
.mp-q-table .quant-shell-ev.is-value-low,.mp-q-table .quant-shell-kelly.is-neg{color:#d64545}
.mp-q-table .quant-dot.is-neutral{width:9px;height:9px;border-radius:50%;background:#d6d9dd;display:inline-block}
.mp-q-table .quant-coverage{margin:10px 0 0;color:#8a9099;font-size:11.5px;line-height:1.5}
.mp-q-table .quant-coverage.is-warn{color:#b94800;font-weight:600}
.mp-q-table .quant-coverage.is-ok{color:#2f7d43}
/* block 4 */
.mp-q-recs-empty{margin:12px 0 0;padding:10px 12px;border:1px dashed #e2e5e9;border-radius:8px;background:#fafbfc;color:#8a9099;font-size:12.5px;line-height:1.5}
.mp-q-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}
.mp-q-kpi{border:1px solid #eef0f2;border-radius:9px;padding:11px 12px;display:flex;flex-direction:column;gap:4px;background:#fcfcfd}
.mp-q-kpi-label{color:#8a9099;font-size:11px;font-weight:600}
.mp-q-kpi b{font-size:20px;font-weight:800;color:#18181b;font-variant-numeric:tabular-nums}
.mp-q-kpi-sub{color:#b0b4ba;font-size:10.5px}
/* Scoped corrections: shared legacy Quant styles must not dim/strike outcomes. */
.mp-q .quant-shell-row-item.is-filtered{opacity:1}
.mp-q .quant-shell-row-item.is-filtered .quant-shell-outcome{text-decoration:none}
.mp-q{padding:10px;gap:10px;font-size:.75rem;line-height:1.45}
.mp-q-grid2{gap:10px;grid-template-columns:minmax(0,2.05fr) minmax(0,1fr)}
.mp-q-card{min-width:0;padding:12px;border-color:var(--border);border-radius:8px}
.mp-q .quant-shell{display:block;margin:0;gap:0}
.mp-q-head{gap:10px;align-items:center;flex-wrap:wrap}
.mp-q-head-main h3{font-size:.9rem;line-height:1.3}
.mp-q-head-main p{font-size:.68rem;line-height:1.4;color:var(--text-muted)}
.mp-q-ic{width:30px;height:30px;border-radius:7px}
.mp-q-ic svg{width:19px;height:19px}
.mp-q-badge{font-size:.6rem;padding:3px 6px;border-radius:4px;align-self:center}
.mp-q-model .mp-q-head{display:grid;grid-template-columns:30px minmax(0,1fr) auto;column-gap:10px;row-gap:8px;align-items:center;position:relative;padding-right:0}
.mp-q-model .mp-q-head-main{flex:1}
.mp-q-mkt .mp-q-head{display:grid;grid-template-columns:30px minmax(0,1fr);column-gap:10px;row-gap:8px;align-items:center}
.mp-q-mkt .mp-q-head-sub{grid-column:1 / -1;margin-top:-2px}
.mp-q-recs .mp-q-head{display:grid;grid-template-columns:30px minmax(0,1fr) auto;column-gap:10px;row-gap:8px;align-items:center}
.mp-q-recs .mp-q-head-main{grid-column:2}
.mp-q-recs .mp-q-controls{grid-column:3}
.mp-q-distance .mp-q-head{display:grid;grid-template-columns:30px minmax(0,1fr) auto;column-gap:10px;row-gap:8px;align-items:center}
.mp-q-distance .mp-q-head-main{grid-column:2}
.mp-q-distance .mp-q-controls{grid-column:3}
.mp-q-distance .mp-q-head-sub{grid-column:1 / -1;margin-top:-2px}
.mp-q-distance-body{margin-top:10px}
.mp-q-distance-note{color:var(--text-muted);font-size:.65rem;line-height:1.5;margin-bottom:8px}
.mp-q-distance-note.is-retrospective{color:#b45309;font-weight:600}
.mp-q-distance-best{display:grid;grid-template-columns:minmax(190px,1.6fr) repeat(5,minmax(76px,1fr));gap:8px;margin-bottom:10px}
.mp-q-distance-best>div{min-width:0;border:1px solid #ffd5b6;border-radius:8px;padding:9px 10px;background:linear-gradient(145deg,#fffdfa,#fff5eb);box-shadow:0 2px 8px rgba(255,102,0,.07);display:flex;flex-direction:column;justify-content:center;gap:4px}
.mp-q-distance-best .mp-q-distance-best-main{border-color:#ffb979;background:linear-gradient(135deg,#fffaf4,#ffefd9);box-shadow:0 4px 14px rgba(255,102,0,.12)}
.mp-q-distance-best span{color:var(--text-muted);font-size:.62rem}
.mp-q-distance-best b{font-size:.82rem;color:#18181b}
.mp-q-distance-best-head{display:flex;align-items:center;justify-content:space-between;gap:6px}
.mp-q-distance-best-head>span{color:#b94800;font-weight:700;font-size:.66rem}
.mp-q-distance-best-head em{font-style:normal;color:#fff;background:#ff6b00;border-radius:999px;padding:3px 7px;font-size:.58rem;font-weight:700;white-space:nowrap}
.mp-q-distance-best-main>b{font-size:.9rem;color:#9f3500;line-height:1.3}
.mp-q-distance-best-odds{display:block;width:100%;margin-top:2px;padding:4px 8px;border:1px solid #ffb078;border-radius:6px;background:rgba(255,255,255,.76);color:#b94800;text-align:center;font-size:.9rem;font-variant-numeric:tabular-nums}
.mp-q-distance-best .mp-q-distance-best-kpi>b{color:#b94800;font-size:.94rem;font-variant-numeric:tabular-nums;white-space:nowrap}
.mp-q-distance-no-best{margin:0 0 10px;padding:10px 12px;border:1px solid #ffd5b6;border-left:3px solid #ff6b00;border-radius:6px;background:#fff8f1;color:#8c3d08;font-size:.68rem;line-height:1.45}
/* Unified market analysis (LS Quant tab) */
.mp-q-unified .mp-q-head{display:grid;grid-template-columns:30px minmax(0,1fr) auto;column-gap:10px;row-gap:8px;align-items:center}
.mp-q-unified .mp-q-head-sub{grid-column:1 / -1;margin-top:-2px}
.mp-q-unified .mp-q-controls{grid-column:1 / -1;display:flex;flex-wrap:wrap;gap:8px 12px;margin-top:2px}
.mp-q-unified #quantUnifiedBest{margin-top:6px}
.mp-q-unified .mp-q-ctrl{display:flex;align-items:center;gap:5px}
.mp-q-unified .mp-q-label{font-size:.6rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em}
.mp-q-unified .fq-segmented-choice{padding:3px 6px;font-size:.62rem;line-height:1.2;min-height:0}
.mp-q-unified .mp-q-markets{margin-top:2px}
.mp-q-unified .mp-q-table-wrap{margin-top:8px}
.mp-q-unified-best.mp-q-distance-best{grid-template-columns:minmax(205px,1.55fr) repeat(6,minmax(56px,1fr));gap:7px;margin-bottom:8px}
.mp-q-unified-best>div:not(.mp-q-distance-best-main){padding:7px 8px;gap:3px}
.mp-q-unified-best .mp-q-distance-best-main{padding:11px 10px 8px;justify-content:flex-start;gap:3px}
.mp-q-unified-best .mp-q-distance-best-head{gap:4px}
.mp-q-unified-best .mp-q-distance-best-head>span{white-space:nowrap}
.mp-q-unified-best .mp-q-distance-best-head em{padding:2px 6px;font-size:.54rem}
.mp-q-unified-best .mp-q-distance-best-main>b{font-size:.84rem;line-height:1.15}
.mp-q-unified-best .mp-q-distance-best-odds{margin-top:0;padding:3px 7px;font-size:.82rem;line-height:1.15}
.mp-q-unified-best .mp-q-distance-best-kpi>b{font-size:.8rem}
.mp-q-unified-table{font-size:.66rem;min-width:0}
.mp-q-unified-table th{font-size:.56rem;padding:5px 3px;line-height:1.2}
.mp-q-unified-table td{padding:5px 3px;line-height:1.25}
.mp-q-unified-table td.is-outcome{text-align:left;font-weight:600;color:#18181b;white-space:normal;min-width:120px}
.mp-q-unified-table td.is-num{text-align:center;font-variant-numeric:tabular-nums;white-space:nowrap}
.mp-q-unified-table td.is-prob{text-align:left;font-size:.58rem;line-height:1.2;white-space:nowrap}
.mp-q-unified-table td.is-prob span{display:block;color:#475467}
.mp-q-unified-table td.is-prob span:first-child{color:#18181b;font-weight:600}
.mp-q-unified-table td.is-h2h{font-size:.6rem}
.mp-q-unified-table th.is-h2h{min-width:70px;font-size:.54rem;white-space:normal;line-height:1.15}
.mp-q-unified-table td.is-h2h.is-h2h-perfect{color:#1f9d55;font-weight:700}
.mp-q-unified-table td.is-h2h.is-h2h-mid{color:#c98a00;font-weight:700}
.mp-q-unified-table td.is-h2h.is-h2h-low{color:#d64545;font-weight:700}
.mp-q-unified-best .mp-q-distance-best-kpi>b.is-h2h-perfect{color:#1f9d55}
.mp-q-unified-best .mp-q-distance-best-kpi>b.is-h2h-mid{color:#c98a00}
.mp-q-unified-best .mp-q-distance-best-kpi>b.is-h2h-low{color:#d64545}
.mp-q-unified-table th.is-status,.mp-q-unified-table td.is-status{text-align:center;vertical-align:middle;width:30px;padding-inline:2px}
.mp-q-unified-table th.is-outcome,.mp-q-unified-table td.is-outcome{text-align:left;vertical-align:middle;padding-left:8px}
.mp-q-unified-table .mp-q-star-inline{position:relative;top:-0.38em;margin-left:1px;color:#111;font-size:0.9em;font-weight:700;line-height:1;pointer-events:none;white-space:nowrap}
.mp-q-unified-table th.is-prob,.mp-q-unified-table td.is-prob{text-align:center;vertical-align:middle;min-width:96px}
.mp-q-unified-table th.is-pass,.mp-q-unified-table td.is-pass{text-align:left;vertical-align:middle;min-width:160px;white-space:normal;padding-left:9px;padding-right:7px}
.mp-q-unified-table th.is-num,.mp-q-unified-table td.is-num{text-align:center;vertical-align:middle}
.mp-q-unified-table .statistics-outcome-odds{width:auto;min-width:46px;padding:2px 5px;font-size:.62rem}
.mp-q-pass-sides{display:flex;flex-direction:column;align-items:flex-start;gap:1px;font-size:.55rem;line-height:1.25}
.mp-q-pass-side{white-space:nowrap;color:#475467}
.mp-q-pass-side b{color:#18181b;font-weight:700;margin-right:2px}
.mp-q-pass-side.is-active b{color:#ff6b00}
.mp-q-pass-push{color:#8a9099;font-size:.5rem;white-space:nowrap}
.mp-q-unified-best .mp-q-pass-sides{flex-direction:column;align-items:center;justify-content:center;font-size:.55rem;line-height:1.25}
.mp-q-unified-best .mp-q-pass-side{color:#8c3d08}
.mp-q-unified-best .mp-q-pass-side b{color:#8c3d08}
.mp-q-unified-best .mp-q-pass-side.is-active b{color:#ff6b00}
.mp-q-unified-best .mp-q-unified-prob b{display:block;font-size:.7rem;line-height:1.2;white-space:nowrap}
.mp-q-unified-table td.is-pos{color:#1f9d55;font-weight:700}
.mp-q-unified-table td.is-neg{color:#d64545;font-weight:700}
.mp-q-unified-table tr.is-muted td.is-outcome{color:#667085}
.mp-q-unified-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#c4c9d0}
.mp-q-unified-dot.is-green{background:#1f9d55}
.mp-q-unified-dot.is-yellow{background:#f59e0b}
.mp-q-unified-dot.is-red{background:#d64545}
.mp-q-unified-dot.is-gray{background:#c4c9d0}
.mp-q-unified-badge{display:inline-flex;align-items:center;padding:0 4px;border-radius:999px;background:#f2f4f7;color:#667085;border:1px solid #e4e7ec;font-size:.52rem;font-weight:600;vertical-align:1px}
.mp-q-unified-table{table-layout:fixed;width:100%}
.mp-q-unified-table th:nth-child(1){width:32px}
.mp-q-unified-table th:nth-child(2){width:18%}
.mp-q-unified-table th:nth-child(3){width:8%}
.mp-q-unified-table th:nth-child(4){width:8%}
.mp-q-unified-table th:nth-child(5){width:15%}
.mp-q-unified-table th:nth-child(6){width:9%}
.mp-q-unified-table th:nth-child(7){width:17%}
.mp-q-unified-table th:nth-child(8){width:11%}
.mp-q-unified-table th:nth-child(9){width:9%}
.mp-q-unified-table th:nth-child(10){width:8%}
.mp-q-unified-table th.is-pass,.mp-q-unified-table td.is-pass{min-width:0}
.mp-q-unified-table th.is-h2h{min-width:0}
@media(max-width:760px){
  .mp-q-unified-best.mp-q-distance-best{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mp-q-unified-best .mp-q-distance-best-main{grid-column:1 / -1}
  .mp-q-unified .mp-q-head{grid-template-columns:30px minmax(0,1fr)}
  .mp-q-unified .mp-q-controls{grid-column:1 / -1}
  .mp-q-unified-table{min-width:760px}
}
/* Coefficient highlight in the analysis table (all market groups) and in the
   recommendation list: >= 1.70 green, below red - same rule as market distance. */
.mp-q-table .quant-odds-cell .statistics-outcome-odds,
.mp-q-signals-table .statistics-outcome-odds{width:auto;min-width:46px;padding:2px 6px;font-size:.68rem}
.mp-q-distance-table{font-size:.68rem}
.mp-q-distance-table th{font-size:.6rem}
.mp-q-distance-table td{padding:6px 4px;text-align:center}
.mp-q-distance-table td.is-pos{color:#1f9d55;font-weight:700}
.mp-q-distance-table td.is-neg{color:#d64545;font-weight:700}
.mp-q-stat{min-width:0;padding:8px 6px;min-height:54px;text-align:center;justify-content:center}
.mp-q-stat span{font-size:.62rem;color:var(--text-muted);white-space:nowrap}
.mp-q-stat>b{font-size:1.1rem;line-height:1.2}
.mp-q-1x2{justify-content:space-between;gap:4px;font-size:.9rem!important;white-space:nowrap}
.mp-q-meta div{padding:7px 6px;border:0;border-bottom:1px solid var(--border);border-radius:0;gap:4px;background:transparent}
.mp-q-meta div:last-child{border-bottom:0}
.mp-q-meta span{font-size:.6rem;font-weight:400}
.mp-q-meta b{font-size:.62rem;font-weight:500}
.mp-q-status{gap:4px}
.mp-q-dot{width:6px;height:6px;flex-shrink:0}
.mp-q-score{min-width:0;padding:6px 3px;border-radius:4px}
.mp-q-score b{font-size:.72rem;font-weight:500}
.mp-q-score span{font-size:.68rem;color:var(--text-muted)}
.mp-q-note{display:flex;gap:9px;align-items:center;margin-top:10px;padding:9px;background:#f1f4f7;border-radius:5px;color:var(--text-muted);font-size:.65rem}
.mp-q-info{display:inline-flex;align-items:center;justify-content:center;flex:0 0 18px;height:18px;background:#667085;border-radius:50%;color:#fff;font-weight:700;font-style:normal}
.mp-q-mkt-cell{padding:7px 5px;border-radius:5px}
.mp-q-mkt-cell span,.mp-q-mkt-sub{font-size:.63rem;color:var(--text-muted)}
.mp-q-mkt-cell b{font-size:.95rem}
.mp-q-mkt-sub{text-align:center;margin-top:10px}
.mp-q-warn{padding:8px;gap:4px}
.mp-q-warn b{font-size:.72rem}
.mp-q-warn span{font-size:.65rem}
.mp-q-analysis>.mp-q-head{display:grid;grid-template-columns:30px minmax(170px,1fr);column-gap:10px;row-gap:10px;align-items:center;margin-bottom:10px}
.mp-q-analysis .mp-q-controls{grid-column:1 / -1;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}
.mp-q-label{font-size:.65rem;font-weight:400;text-transform:none;letter-spacing:0;color:var(--text-muted)}
.mp-q .fq-segmented-choice{height:27px;min-height:27px;padding:0 7px;font-size:.68rem;line-height:27px;cursor:pointer}
.mp-q .fq-segmented-choice:disabled{cursor:not-allowed}
.mp-q .fq-segmented-control{max-width:100%}
.mp-q-markets{gap:0;border:0;padding:0;margin:0 0 8px;background:transparent}
.mp-q-markets>.fq-segmented-choice{border:1px solid var(--border);border-radius:4px;font-weight:500;margin-right:-1px;flex:1 0 auto}
.mp-q-markets>.fq-segmented-choice.is-active{border-color:var(--accent);position:relative}
.mp-q-table .quant-shell-table{font-size:.73rem;table-layout:fixed}
.mp-q-table .quant-shell-table th,.mp-q-table .quant-shell-table td{white-space:normal;text-align:center;overflow-wrap:anywhere}
.mp-q-table .quant-shell-table thead th{padding:7px 4px;font-size:.65rem;color:#526078}
.mp-q-table .quant-shell-table tbody td{padding:9px 4px}
.mp-q-table .quant-shell-table th:first-child{width:7%}
.mp-q-table .quant-shell-table th:nth-child(2){width:16%}
.mp-q-table .quant-shell-pass{color:#475467;white-space:nowrap;font-variant-numeric:tabular-nums}
.mp-q-table .quant-shell-table tbody tr.is-selected{background:transparent}
.mp-q-table .quant-shell-table tbody tr.is-selected .quant-dot{background:var(--accent)}
.mp-q-table .quant-coverage{font-size:.65rem;color:var(--text-muted);margin-top:8px}
.mp-q-recs .mp-q-head{margin-bottom:10px}
.mp-q-model .mp-q-head-main h3,.mp-q-analysis .mp-q-head-main h3{font-size:1.08rem}
.match-pari-page #mpTabContent .mp-q-model .mp-q-head-main h3,
.match-pari-page #mpTabContent .mp-q-mkt .mp-q-head-main h3,
.match-pari-page #mpTabContent .mp-q-analysis .mp-q-head-main h3,
.match-pari-page #mpTabContent .mp-q-recs .mp-q-head-main h3,
.match-pari-page #mpTabContent .mp-q-distance .mp-q-head-main h3{font-size:1rem;position:relative;top:6px}
.match-pari-page #mpTabContent .mp-q-unified .mp-q-head-main h3{position:relative;top:6px}
.mp-q-head-sub{margin:0;color:var(--text-muted);font-size:.72rem;line-height:1.45}
.mp-q-model .mp-q-head-sub{grid-column:1 / -1;margin-top:-2px}
.mp-q-analysis .mp-q-head-sub{grid-column:1 / -1;margin-top:-2px}
.mp-q-recs .mp-q-head-sub{grid-column:1 / -1;margin-top:-6px}
.mp-q-recs .mp-q-controls{gap:10px;margin-left:auto}
.mp-q-toggle{font-size:.65rem}
.mp-q-recs-empty{margin-top:8px;padding:8px;font-size:.68rem;color:var(--text-muted)}
.mp-q-kpis{gap:8px;margin-top:8px}
.mp-q-kpi{padding:10px;border-radius:6px}
.mp-q-kpi-label,.mp-q-kpi-sub{font-size:.65rem;color:var(--text-muted)}
.mp-q-kpi b{font-size:1.1rem}
@media (max-width:760px){
  .mp-q-grid2{grid-template-columns:1fr}
  .mp-q-analysis .mp-q-controls{justify-content:flex-start}
  .mp-q-recs .mp-q-head,.mp-q-distance .mp-q-head{grid-template-columns:30px minmax(0,1fr)}
  .mp-q-recs .mp-q-controls,.mp-q-distance .mp-q-controls{grid-column:1 / -1;justify-content:flex-start}
  .mp-q-distance-best{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mp-q-distance-best-main{grid-column:1 / -1}
  .mp-q-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:480px){
  .mp-q{padding:8px}
  .mp-q-model-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .mp-q-1x2-cell{grid-column:1 / -1}
  .mp-q-subhead,.mp-q-scores{grid-column:1 / -1}
  .mp-q-meta{grid-column:1 / -1;grid-row:auto}
  .mp-q-meta span,.mp-q-meta b{font-size:.68rem}
  .mp-q-head-main h3{font-size:.84rem}
  .mp-q-model .mp-q-head{display:grid;grid-template-columns:30px minmax(0,1fr)}
  .mp-q-model .mp-q-head-actions{grid-column:2;justify-self:start;margin:0}
  .mp-q-table .quant-shell-table{min-width:560px}
  .mp-q-recs .mp-q-controls{margin-left:0}
}
/* QUANT-073 — signal history list. */
.mp-q-recs-note{margin:8px 0 0;color:#8a9099;font-size:.65rem;line-height:1.5}
.mp-q-table-wrap{overflow-x:auto;margin-top:8px}
.mp-q-signals-table{width:100%;border-collapse:collapse;font-size:.72rem}
.mp-q-signals-table th,.mp-q-signals-table td{padding:7px 6px;border-bottom:1px solid #f0f1f3;text-align:left;white-space:nowrap}
.mp-q-signals-table thead th{background:#f4f5f6;color:#8a9099;font-size:.62rem;font-weight:700}
.mp-q-signals-table td.is-pos,.mp-q-signals-table td.is-neg{font-weight:700}
.mp-q-signals-table td.is-pos{color:#1f9d55}
.mp-q-signals-table td.is-neg{color:#d64545}
.mp-q-res{font-weight:700;font-size:.66rem}
.mp-q-res.is-win{color:#1f9d55}
.mp-q-res.is-loss{color:#d64545}
.mp-q-res.is-push{color:#c98a00}
.mp-q-res.is-await{color:#8a9099;font-weight:500}


/* MATCH-UI-001: score tooltip — opens on tap / keyboard focus (base style lives
   in style.css .score-main[data-tooltip]::after). No layout change to the card. */
.match-pari-page .score-main[data-tooltip]{cursor:help}
.match-pari-page .score-main[data-tooltip]:focus::after{opacity:1;visibility:visible;transform:translate(-50%,0)}

/* Unified public footer: real last-confirmed data time (no diagnostic wording). */
.match-pari-page .mp-last-update{margin-top:14px;padding:10px 2px 4px;border-top:1px solid rgba(0,0,0,.06);color:#8a9099;font-size:12px}

/* Prematch movement in the markets tab: only changed prices get the arrow/pct. */
.mp-market-category .mp-mkt-table td{padding-inline:2px}
.mp-market-category .mp-mkt-table:has(tbody th[scope="row"]) thead th:first-child{width:18%;padding-inline:2px}
.mp-mkt-table .mp-move{display:inline-flex;max-width:100%;align-items:center;justify-content:center;flex-wrap:wrap;column-gap:1px;row-gap:0;vertical-align:middle;line-height:15.232px}
.mp-move>span{flex:0 0 auto;white-space:nowrap}
.mp-move .mp-mv-first{color:#a7adb6;font-size:8px}
.mp-move .mp-mv-arrow{font-style:normal;font-size:9px;font-weight:700;line-height:1}
.mp-move .mp-mv-last{font-weight:700}
.mp-move .mp-mv-pct{font-size:7.5px;font-weight:600;line-height:12px;padding:0 2px;border-radius:4px}
.mp-move.is-down .mp-mv-arrow,.mp-move.is-down .mp-mv-last{color:#159447}
.mp-move.is-down .mp-mv-pct{color:#137a3b;background:rgba(21,148,71,.12)}
.mp-move.is-up .mp-mv-arrow,.mp-move.is-up .mp-mv-last{color:#e24236}
.mp-move.is-up .mp-mv-pct{color:#c62b21;background:rgba(226,66,54,.12)}

/* 1X2 PREMATCH line times under the markets block + match-updated line in live stats. */
.mp-line-times{margin-top:10px;padding:10px 12px;border:1px solid #eef0f2;border-radius:8px;background:#fbfcfd}
.mp-line-times-title{display:flex;align-items:center;gap:6px;margin:0 0 8px;color:#475467;font-size:11px;font-weight:700;letter-spacing:.02em}
.mp-line-times-title svg{color:#ff7900}
.mp-line-times-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.mp-line-col span{display:block;color:#8a9099;font-size:10.5px;margin-bottom:2px}
.mp-line-col b{font-weight:700;color:#18181b;font-size:13px;font-variant-numeric:tabular-nums}
.mp-live-updated{display:flex;align-items:center;gap:6px;margin-top:10px;padding-top:8px;border-top:1px solid #eef0f3;color:#89919d;font-size:11px}
.mp-live-updated svg{flex:0 0 auto;color:#a0a7b1}
@media(max-width:560px){.mp-line-times-grid{gap:8px}.mp-line-col b{font-size:12px}}

/* LIVE-UI-01: non-intrusive delayed-data state on the header badge */
#matchStatus.is-live-delayed{position:relative;cursor:help}
#matchStatus.is-live-delayed::after{content:"\00B7\00B7\00B7";margin-left:6px;color:#b45309;font-weight:700;letter-spacing:1px}
/* Access is an inline annotation only: no typography, row or control resizing. */
.match-pari-page .fq-access-lock{display:inline-flex;align-items:center;justify-content:center;width:12px;height:12px;color:#e0aa16;vertical-align:middle;cursor:help}
.match-pari-page .fq-access-lock svg{display:block;width:12px;height:12px;fill:currentColor}
.match-pari-page .fq-access-lock:focus-visible{outline:1px dotted currentColor;outline-offset:2px}
.match-pari-page .fq-lock-badge{color:#e0aa16}
.match-pari-page .is-locked{opacity:1}
.match-pari-page .statistics-choice.is-locked,.match-pari-page .fq-segmented-choice.is-locked{box-shadow:none}
