@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800&display=swap');
/* Football Analytics — Bootstrap-inspired sky / orange / black design system */
:root{--sky:#38bdf8;--sky-deep:#0284c7;--sky-pale:#e0f2fe;--orange:#f97316;--orange-deep:#ea580c;--black:#111827;--ink:#1f2937;--muted:#64748b;--line:#dbe4ee;--paper:#f3f7fb;--surface:#fff;--success:#0f766e;--danger:#b91c1c;--bs-primary:var(--sky-deep);--bs-warning:var(--orange);--bs-dark:var(--black);--bs-body-bg:var(--paper);--bs-body-color:var(--ink);--bs-border-color:var(--line);--bs-link-color:var(--sky-deep);--bs-link-hover-color:#0369a1}
*{box-sizing:border-box}html,body{background:var(--paper)!important;color:var(--ink)!important;font-family:Tahoma,Arial,sans-serif!important;font-size:14px;line-height:1.7}body{max-width:1600px!important;margin:0 auto!important;padding:0 24px 42px!important}a{color:var(--sky-deep)!important;text-decoration:none}a:hover{color:#075985!important;text-decoration:none}h1,h2,h3,h4{color:var(--black)!important;font-weight:750!important;letter-spacing:-.2px}h1{font-size:23px!important}h2{font-size:18px!important}h3{font-size:15px!important}.muted,.sub,.brand-sub,.subtle{color:var(--muted)!important}
.site-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 20px!important;margin:0 -24px 22px!important;background:var(--black)!important;border:0!important;border-bottom:4px solid var(--sky)!important;color:white;box-shadow:0 5px 18px #0f172a18}.site-header h1{color:white!important}.brand-mark{background:linear-gradient(145deg,var(--sky),var(--sky-deep))!important;color:var(--black)!important;border-radius:12px!important;box-shadow:none!important}.brand-sub{color:#cbd5e1!important}.top-nav{gap:5px!important}.top-nav a,.nav a{color:#e2e8f0!important;border-radius:8px!important;padding:8px 12px!important;transition:background .15s ease}.top-nav a:hover,.top-nav a.active,.nav a.active{background:var(--sky)!important;color:var(--black)!important}
.panel,.login,.card,.chart-panel,.fixture-card,.league-profile-hero,.team-profile-hero{background:var(--surface)!important;border:1px solid var(--line)!important;border-radius:14px!important;box-shadow:0 5px 20px #0f172a08!important}.panel{padding:20px!important;margin:16px 0 20px!important}.section-head,.panel-head{border-color:var(--line)!important}.cards{gap:12px!important}.card,.stat,.metrics .stat,.team-metrics-grid .card{background:#fff!important;border:1px solid var(--line)!important;border-top:3px solid var(--sky)!important;border-radius:10px!important;box-shadow:none!important;padding:15px!important}.card:nth-child(3n),.cards .card:nth-child(3n){border-top-color:var(--orange)!important}.big,.stat .value,.num{font-variant-numeric:tabular-nums}.big{font-size:27px!important;color:var(--black)!important}.page-intro{padding:8px 0 14px!important}.page-intro h2{font-size:25px!important}
button,.btn,.button,.tab-button{font-family:inherit!important;border:1px solid var(--sky-deep)!important;border-radius:8px!important;background:var(--sky-deep)!important;color:#fff!important;padding:9px 14px!important;font-weight:700!important;box-shadow:none!important;transition:transform .12s,background .12s}.btn:hover,button:hover,.button:hover{background:#0369a1!important;border-color:#0369a1!important;color:white!important;transform:translateY(-1px)}.btn.gray,button.gray,button.secondary,.button.secondary{background:#fff!important;color:var(--black)!important;border-color:var(--line)!important}.danger-button{background:var(--danger)!important;border-color:var(--danger)!important}.actions{gap:8px!important}.msg,.err,.error{border-radius:9px!important;padding:12px 15px!important}.msg{background:#ecfdf5!important;border-color:#a7f3d0!important;color:#065f46!important}.err,.error{background:#fef2f2!important;border-color:#fecaca!important;color:#991b1b!important}
.table-wrap{border:1px solid var(--line)!important;border-radius:10px!important;background:white!important;max-width:100%}table{font-size:13px!important;background:white!important}th,td{padding:11px 13px!important;border-bottom:1px solid #e8eef5!important}th{background:#e0f2fe!important;color:#0c4a6e!important;font-weight:800!important}tbody tr:nth-child(even){background:#f8fbfe!important}tbody tr:hover{background:#fff7ed!important}tbody tr:last-child td{border-bottom:0!important}.pill,.tag{background:var(--sky-pale)!important;color:#075985!important;border-radius:999px!important;padding:4px 10px!important;font-weight:700}.tag.green{background:#dcfce7!important;color:#166534!important}
.fixture-card{overflow:hidden!important;border-radius:14px!important}.fixture-league{background:#f0f9ff!important;border-bottom:1px solid #bae6fd!important}.status-tag{border-radius:999px!important}.fixture-main{gap:16px!important}.fixture-score,.score{color:var(--black)!important}.fixture-score strong{color:var(--black)!important}.prediction-box{border:1px solid #fed7aa!important;background:#fff7ed!important;border-radius:12px!important}.prediction-box h3,.prediction-heading{color:#9a3412!important}.bar span:nth-child(1){background:var(--sky-deep)!important}.bar span:nth-child(2){background:#94a3b8!important}.bar span:nth-child(3){background:var(--orange)!important}.fixture-hero{background:linear-gradient(120deg,#e0f2fe,#fff 58%,#ffedd5)!important;border-color:#bae6fd!important;border-radius:16px!important}.fixture-meta span{background:white!important;border-color:var(--line)!important}.tab-buttons{border-color:var(--line)!important}.tab-button{background:#fff!important;color:var(--ink)!important;border-color:var(--line)!important}.tab-button.active{background:var(--black)!important;color:white!important;border-color:var(--black)!important}.chart-panel{border-radius:12px!important}.chart-panel h3{color:var(--black)!important}.metric-note{background:#e0f2fe!important;border-right-color:var(--sky-deep)!important;color:#075985!important}.league-profile-hero,.team-profile-hero{border-top:4px solid var(--sky)!important;background:linear-gradient(115deg,#fff 65%,#f0f9ff)!important}.league-profile-mark,.team-profile-crest{background:#e0f2fe!important;border-radius:12px!important}.team-profile-metrics{border-color:var(--line)!important}.breadcrumb a{color:var(--sky-deep)!important}
input,select,textarea{font:inherit!important;border:1px solid #cbd5e1!important;border-radius:8px!important;padding:9px 11px!important;background:white!important;color:var(--ink)!important;max-width:100%}input:focus,select:focus,textarea:focus{outline:0!important;border-color:var(--sky-deep)!important;box-shadow:0 0 0 .2rem #38bdf833!important}label{font-weight:700;color:#334155}pre,.json{border-radius:10px!important}.login{border-top:5px solid var(--sky)!important;padding:30px!important}.login button{width:100%}
/* Settings and user management share the same shell tokens */
body:has(> .login){max-width:none!important;min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at 15% 10%,#e0f2fe 0,transparent 35%),radial-gradient(circle at 90% 90%,#ffedd5 0,transparent 30%),var(--paper)!important}
@media(max-width:900px){body{padding:0 14px 30px!important}.site-header{margin:0 -14px 18px!important;padding:14px!important;align-items:flex-start;flex-direction:column}.top-nav{width:100%}.top-nav a{font-size:12px!important;padding:7px 9px!important}.panel{padding:14px!important}.fixture-hero{grid-template-columns:1fr!important}.fixture-score{order:-1}.grid4{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){h1{font-size:20px!important}.page-intro{align-items:flex-start!important;flex-direction:column!important}.cards,.metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}.grid2,.grid4{grid-template-columns:1fr!important}.fixture-main{grid-template-columns:1fr!important}.fixture-score{order:0}.table-wrap{max-height:unset!important}th,td{padding:9px!important;font-size:12px!important}}

/* v7 quality pass: responsive shell, Vazir-family typography, safe prediction layouts and pitch lineups. */
:root{--app-max:1320px;--app-gutter:clamp(12px,2.2vw,28px);--pitch-grass:#247943;--pitch-line:#e5f4e7}
html,body{width:100%;min-width:0;max-width:none!important;overflow-x:hidden!important;overflow-x:clip!important;font-family:"Vazirmatn","Vazir",Tahoma,Arial,sans-serif!important;font-feature-settings:"kern";text-rendering:optimizeLegibility}
body{margin:0!important;padding:0 0 40px!important;line-height:1.75!important}
body *{min-width:0}
body > .page-intro,body > section.panel,body > .panel,body > .breadcrumb,body > .match-detail-tabs,body > .match-content-grid,body > .fixture-footnote,body > .msg,body > .err,body > .error,body > footer{width:calc(100% - var(--app-gutter) - var(--app-gutter));max-width:var(--app-max)!important;margin-inline:auto!important}
body > section.panel,body > .panel{margin-block:14px!important}
body > .msg,body > .err,body > .error{margin-block:10px!important}
body > h1,body > h2,body > p:not(.brand-sub),body > form{width:calc(100% - var(--app-gutter) - var(--app-gutter));max-width:var(--app-max);margin-inline:auto}
.site-header{width:100%;max-width:none!important;margin:0 0 14px!important;padding:15px var(--app-gutter)!important;gap:16px;flex-wrap:wrap}
.brand,.brand>div:last-child,.top-nav,.top-nav a{min-width:0}
.brand h1{overflow-wrap:anywhere}.brand-sub{overflow-wrap:anywhere}
.top-nav{display:flex;flex-wrap:wrap;align-items:center;max-width:100%;gap:4px}
.top-nav a{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.page-intro{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-inline:0!important}
.panel,.card,.chart-panel,.fixture-card,.league-profile-hero,.team-profile-hero,.prediction-box,.team-mini-stats{min-width:0;max-width:100%;overflow-wrap:anywhere}
.panel{width:100%;}
.cards,.grid2,.grid4,.team-metrics-grid,.match-content-grid,.fixture-main,.fixture-bottom,.market-grid{min-width:0}
.cards{grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr))!important}
.grid2{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.grid4{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.team-metrics-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,155px),1fr))!important}
.card .big,.big,.num,.stat .value{max-width:100%;font-size:clamp(1.12rem,2.1vw,1.7rem)!important;line-height:1.3;overflow-wrap:anywhere;word-break:normal}
.muted,small,.pill,.tag{overflow-wrap:anywhere}
.actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;min-width:0}
.actions>*{max-width:100%}
form{min-width:0;max-width:100%}
input,select,textarea,button,.btn{font-family:inherit!important;max-width:100%;min-width:0}
input[type=date],input[type=number],input[type=text],input[type=search],input[type=password],input[type=email],select,textarea{width:auto;min-width:0}
.table-wrap{width:100%;max-width:100%;min-width:0;overflow:auto;overscroll-behavior-inline:contain}
table{max-width:100%}
th,td{overflow-wrap:anywhere}
pre,.json{max-width:100%;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}
.line-svg{max-width:100%;height:auto}
.chart-scroll{max-width:100%;overflow-x:auto}
/* Keep every match prediction within its column, even on narrow phones. */
.match-content-grid{width:calc(100% - var(--app-gutter) - var(--app-gutter));max-width:var(--app-max)!important;margin:16px auto!important;display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:16px;align-items:start}
.match-content-grid>div,.match-content-grid .panel{min-width:0;max-width:100%;width:100%}
.match-content-grid .panel{margin:0 0 16px!important;padding:clamp(12px,1.8vw,22px)!important}
.match-content-grid .cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
.match-content-grid .card{padding:clamp(9px,1.3vw,14px)!important;min-width:0}
.match-content-grid .card .big{font-size:clamp(1rem,1.8vw,1.45rem)!important;line-height:1.35;overflow-wrap:anywhere}
.match-content-grid .card .muted{font-size:clamp(10px,1vw,12px)!important;line-height:1.55}
.probability-row{grid-template-columns:36px minmax(0,1fr)!important;gap:6px!important}
.probability-row>span,.probability-row>div,.probability-row>b{min-width:0;max-width:100%}
.probability-row>b{grid-column:2;white-space:normal!important;overflow-wrap:anywhere;text-align:right;font-size:clamp(10px,1vw,12px)!important}
.probability-segments{min-width:0;width:100%}
.fixture-bottom{grid-template-columns:minmax(0,.8fr) minmax(0,1.6fr) minmax(0,.8fr)!important}
.prediction-box,.market-grid>div{min-width:0;max-width:100%}
.market-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}
.market-grid>div{padding:7px!important;overflow-wrap:anywhere}
.market-grid b{font-size:clamp(11px,1.05vw,14px)!important;overflow-wrap:anywhere}
.fixture-score,.match-score{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.fixture-hero{min-width:0;grid-template-columns:minmax(0,1fr) minmax(88px,auto) minmax(0,1fr)!important}
.fixture-side,.fixture-team{min-width:0;overflow-wrap:anywhere}
.league-profile-hero{grid-template-columns:74px minmax(0,1fr) minmax(0,auto)!important}
.league-profile-actions{min-width:0;max-width:100%}
.team-profile-hero{grid-template-columns:82px minmax(0,1fr) minmax(0,1.5fr)!important}
.team-profile-copy,.team-profile-metrics{min-width:0;max-width:100%}
/* Football pitch lineup: player shirt number, name and API position are visible in the pitch itself. */
.lineup-legend{display:flex;flex-wrap:wrap;gap:12px 18px;align-items:center;margin:6px 0 12px;color:#475569;font-size:12px}
.lineup-legend>span{display:inline-flex;align-items:center;gap:7px}.legend-home,.legend-away,.team-color-dot{display:inline-block;width:10px;height:10px;border-radius:50%;background:#38bdf8;border:2px solid #fff;box-shadow:0 0 0 1px #0284c7}.legend-away{background:#fb923c;box-shadow:0 0 0 1px #ea580c}
.lineup-team-heads{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0}
.lineup-team-title{display:flex;align-items:center;gap:9px;min-width:0;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#f8fbff}
.lineup-team-title.lineup-home .team-color-dot{background:#38bdf8;box-shadow:0 0 0 1px #0284c7}
.lineup-team-title.lineup-away .team-color-dot{background:#fb923c;box-shadow:0 0 0 1px #ea580c}
.lineup-team-title b,.lineup-team-title small{display:block;overflow-wrap:anywhere}.lineup-team-title b{color:#111827;font-size:13px}.lineup-team-title small{color:#64748b;font-size:11px}
.pitch{position:relative!important;width:100%;height:clamp(430px,62vw,620px);min-height:430px;background-color:var(--pitch-grass)!important;background-image:repeating-linear-gradient(0deg,rgba(255,255,255,.035) 0,rgba(255,255,255,.035) 42px,rgba(0,0,0,.035) 42px,rgba(0,0,0,.035) 84px)!important;border:5px solid #f0fdf4!important;border-radius:14px!important;overflow:hidden!important;isolation:isolate;color:white}
.pitch:before{content:"";position:absolute;inset:8px;border:2px solid var(--pitch-line);pointer-events:none}
.pitch:after{content:"";position:absolute;left:calc(50% - 48px);top:calc(50% - 48px);width:96px;height:96px;border:2px solid var(--pitch-line);border-radius:50%;pointer-events:none}
.pitch-center-line{position:absolute;left:8px;right:8px;top:50%;height:2px;background:var(--pitch-line);z-index:0}
.pitch-center-circle{position:absolute;left:calc(50% - 4px);top:calc(50% - 4px);width:8px;height:8px;border-radius:50%;background:var(--pitch-line);z-index:0}
.pitch-box{position:absolute;left:25%;width:50%;height:13%;border:2px solid var(--pitch-line);z-index:0;pointer-events:none}
.pitch-box-top{top:8px;border-top:0}.pitch-box-bottom{bottom:8px;border-bottom:0}
.pitch-player{position:absolute!important;z-index:2;transform:translate(-50%,-50%);width:clamp(45px,8vw,82px);max-width:clamp(45px,8vw,82px);display:flex;flex-direction:column;align-items:center;gap:2px;text-align:center;font-size:10px;line-height:1.2}
.pitch-player b{display:grid!important;place-items:center;flex:0 0 auto;width:clamp(23px,3vw,31px)!important;height:clamp(23px,3vw,31px)!important;margin:0 auto!important;border-radius:50%!important;background:#e0f2fe!important;color:#075985!important;border:2px solid #fff!important;box-shadow:0 2px 5px #0f172a44!important;font-size:11px!important;font-weight:800!important}
.pitch-player.away b{background:#ffedd5!important;color:#9a3412!important}
.pitch-player span{display:block!important;width:100%;padding:3px 4px!important;border-radius:4px!important;background:#075985!important;color:white!important;white-space:normal!important;overflow-wrap:anywhere;word-break:normal;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:clamp(8px,1.05vw,11px)!important;font-weight:700}
.pitch-player.away span{background:#9a3412!important;color:#fff!important}
.pitch-player small{display:block;color:#fff!important;font-size:clamp(7px,.9vw,9px)!important;text-shadow:0 1px 2px #0f172a;font-weight:600;max-width:100%;overflow-wrap:anywhere}
.lineup-footnote{font-size:11px;color:#64748b;margin:10px 0 0;line-height:1.7}
.lineup-empty{display:flex;flex-direction:column;gap:5px;padding:18px;border:1px dashed #cbd5e1;border-radius:12px;background:#f8fafc;color:#475569}.lineup-empty b{color:#111827}.lineup-empty span{font-size:12px;line-height:1.8}
/* Shared breakpoint behavior across explorer, sync, users, settings and login pages. */
@media(max-width:1100px){.match-content-grid{grid-template-columns:minmax(0,1fr)!important}.fixture-bottom{grid-template-columns:minmax(0,1fr) minmax(0,1.6fr)!important}.fixture-bottom .team-mini-stats:last-of-type{display:none}.team-profile-hero{grid-template-columns:76px minmax(0,1fr)!important}.team-profile-action{grid-column:1/-1;justify-self:start}.team-profile-metrics{grid-column:1/-1}.league-profile-hero{grid-template-columns:64px minmax(0,1fr)!important}.league-profile-actions{grid-column:1/-1;justify-items:start}.league-profile-actions form{justify-content:flex-start}}
@media(max-width:760px){:root{--app-gutter:12px}.site-header{align-items:flex-start!important;flex-direction:column!important;padding:13px var(--app-gutter)!important;gap:10px!important}.brand{width:100%}.top-nav{width:100%;gap:4px!important}.top-nav a{font-size:12px!important;padding:7px 9px!important}.page-intro{align-items:flex-start;flex-direction:column}.panel{padding:14px!important}.grid2,.grid4{grid-template-columns:repeat(2,minmax(0,1fr))!important}.cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}.team-metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.fixture-main{grid-template-columns:minmax(0,1fr) minmax(68px,.45fr) minmax(0,1fr)!important}.fixture-bottom{grid-template-columns:minmax(0,1fr)!important}.fixture-bottom .team-mini-stats:last-of-type{display:none}.fixture-bottom .team-mini-stats{display:block}.fixture-bottom .prediction-box{grid-column:auto;grid-row:auto}.match-content-grid .cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}.league-profile-hero,.team-profile-hero{grid-template-columns:58px minmax(0,1fr)!important;padding:15px!important}.league-profile-mark,.team-profile-crest{width:54px;height:54px}.league-profile-actions,.team-profile-action,.team-profile-metrics{grid-column:1/-1!important;justify-self:stretch!important}.league-profile-actions form{justify-content:flex-start}.fixture-hero{grid-template-columns:minmax(0,1fr) minmax(70px,.7fr) minmax(0,1fr)!important;padding:54px 10px 16px!important;gap:6px!important}.fixture-side{gap:6px!important}.fixture-side img{width:44px!important;height:44px!important}.fixture-team{font-size:12px!important}.fixture-score{min-width:0!important}.fixture-score strong{font-size:clamp(23px,5vw,32px)!important}.lineup-team-heads{grid-template-columns:1fr}.pitch{height:500px;min-height:500px}.pitch-player{width:clamp(42px,11vw,66px);max-width:clamp(42px,11vw,66px)}.pitch-player span{font-size:clamp(8px,2.15vw,10px)!important}.pitch-player small{font-size:8px!important}.table-wrap{max-width:100%}.actions{align-items:stretch}.actions .btn,.actions button{max-width:100%}body > h1,body > h2{font-size:22px!important}}
@media(max-width:480px){.cards,.match-content-grid .cards,.grid2,.grid4{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.match-content-grid .card{padding:9px!important}.match-content-grid .card .muted{font-size:10px!important}.match-content-grid .card .big{font-size:clamp(15px,4.2vw,20px)!important}.fixture-main{grid-template-columns:minmax(0,1fr) 60px minmax(0,1fr)!important;padding:12px 7px!important;gap:4px!important}.club-block{grid-template-columns:28px minmax(0,1fr)!important;column-gap:5px!important}.club-crest{width:28px!important;height:28px!important}.club-crest img{width:22px!important;height:22px!important}.club-name{font-size:11px!important}.match-score{font-size:15px!important}.match-detail-link{font-size:10px!important}.market-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important}.market-grid>div{padding:5px 3px!important}.market-grid b{font-size:11px!important}.probability-row{grid-template-columns:32px minmax(0,1fr)!important}.fixture-meta span{white-space:normal}.lineup-team-title b{font-size:12px}.pitch{height:470px;min-height:470px;border-width:4px!important}.pitch-player{width:clamp(40px,11.4vw,54px);max-width:clamp(40px,11.4vw,54px)}.pitch-player b{width:23px!important;height:23px!important;font-size:9px!important}.pitch-player span{font-size:8px!important;padding:2px!important}.pitch-player small{font-size:7px!important}.actions form{max-width:100%}input,select,textarea{max-width:100%;font-size:13px!important}}

.league-profile-hero button,.team-profile-hero button{background:var(--sky-deep)!important;border-color:var(--sky-deep)!important}
.league-profile-hero .danger-button,.team-profile-hero .danger-button{background:var(--danger)!important;border-color:var(--danger)!important}

.grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))!important}

/* v8: clear probability hierarchy and polished match-card actions */
:root{--prob-high-bg:#e0f2fe;--prob-high-border:#7dd3fc;--prob-high-ink:#075985;--prob-low-bg:#fff0e4;--prob-low-border:#fdba74;--prob-low-ink:#9a3412;--prob-average-bg:#f1f5f9;--prob-average-border:#cbd5e1;--prob-average-ink:#475569}
.fixtures-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:start!important;gap:18px!important}
.fixture-card{display:flex!important;flex-direction:column!important;min-width:0!important;background:#fff!important;border:1px solid #d6e2ed!important;border-radius:15px!important;overflow:hidden!important;box-shadow:0 4px 18px #0f172a0a!important}
.fixture-league{padding:11px 15px!important;background:linear-gradient(90deg,#f0f9ff,#fff 75%)!important;border-bottom:1px solid #e0f2fe!important;min-width:0}
.fixture-main{grid-template-columns:minmax(0,1fr) minmax(88px,.48fr) minmax(0,1fr)!important;gap:8px!important;padding:18px 15px 16px!important}
.club-block{min-width:0!important;display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important;gap:6px!important}
.club-crest{display:grid!important;place-items:center!important;width:52px!important;height:52px!important;border:1px solid #e2e8f0!important;border-radius:14px!important;background:#f8fafc!important;overflow:hidden!important}
.club-crest img{width:42px!important;height:42px!important;object-fit:contain!important}
.club-name{display:block!important;max-width:100%;font-size:14px!important;font-weight:800!important;text-align:center!important;overflow-wrap:anywhere!important;color:#111827!important;line-height:1.4!important}
.club-side-label{font-size:10px!important;color:#64748b!important}
.match-center{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;min-width:0!important;border:0!important;padding:0 6px!important}
.match-score{display:block!important;font-size:clamp(18px,2vw,26px)!important;font-weight:900!important;white-space:nowrap!important;color:#111827!important;line-height:1.25!important}
.match-center-caption{margin:0!important;font-size:10px!important;color:#64748b!important}
.match-center-status{display:inline-flex!important;align-items:center;justify-content:center;margin-top:4px!important;padding:3px 8px!important;border-radius:999px!important;background:#f1f5f9!important;color:#475569!important;font-size:9px!important;font-weight:700!important;white-space:nowrap}
.fixture-bottom{display:block!important;padding:0 14px 12px!important;background:#fff!important;border:0!important;min-width:0!important}
.prediction-box{padding:13px!important;background:#fbfdff!important;border:1px solid #dbeafe!important;border-radius:12px!important;min-width:0!important;overflow:hidden!important}
.prediction-box-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin:0 0 12px!important;padding-bottom:10px!important;border-bottom:1px solid #e8eef5!important;font-size:13px!important;color:#111827!important}
.prediction-box-head>div{display:flex;flex-direction:column;gap:2px;min-width:0}.prediction-box-head strong{font-weight:850!important}.prediction-subtitle{font-size:10px!important;color:#64748b!important;font-weight:500!important}
.model-tag{flex:0 0 auto;display:inline-flex!important;align-items:center;justify-content:center;padding:4px 8px!important;background:#111827!important;color:#e0f2fe!important;border-radius:6px!important;font-size:9px!important;font-weight:800!important;letter-spacing:.6px}
.prediction-section-label{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;margin:0 0 8px!important;color:#334155!important}.prediction-section-label b{font-size:11px!important;font-weight:850!important}.prediction-section-label small{color:#64748b!important;font-size:9px!important;white-space:normal;text-align:left}
.outcome-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;min-width:0!important}
.outcome-tile{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:3px!important;padding:9px 8px 8px!important;min-width:0!important;border:1px solid var(--prob-average-border)!important;border-radius:9px!important;background:var(--prob-average-bg)!important;overflow:hidden!important}
.outcome-tile>span{font-size:10px!important;font-weight:700!important;color:var(--prob-average-ink)!important;white-space:normal!important;line-height:1.4!important;overflow-wrap:anywhere}
.outcome-tile>b{font-size:19px!important;line-height:1.2!important;letter-spacing:-.2px;font-weight:900!important;font-variant-numeric:tabular-nums!important;color:var(--prob-average-ink)!important;overflow-wrap:anywhere}
.outcome-tile>small{font-size:9px!important;line-height:1.35!important;color:var(--prob-average-ink)!important;white-space:normal!important}
.outcome-track{display:block!important;width:100%!important;height:4px!important;margin-top:4px!important;border-radius:99px!important;background:#e2e8f0!important;overflow:hidden!important}
.outcome-track>i{display:block!important;height:100%!important;border-radius:inherit!important;background:#64748b!important}
.prob-high{background:var(--prob-high-bg)!important;border-color:var(--prob-high-border)!important;color:var(--prob-high-ink)!important}
.prob-high>b,.prob-high>strong,.prob-high .probability-number,.prob-high>span,.prob-high>small{color:var(--prob-high-ink)!important}
.prob-high .outcome-track>i{background:var(--sky-deep)!important}
.prob-low{background:var(--prob-low-bg)!important;border-color:var(--prob-low-border)!important;color:var(--prob-low-ink)!important}
.prob-low>b,.prob-low>strong,.prob-low .probability-number,.prob-low>span,.prob-low>small{color:var(--prob-low-ink)!important}
.prob-low .outcome-track>i{background:var(--orange)!important}
.prob-average{background:var(--prob-average-bg)!important;border-color:var(--prob-average-border)!important;color:var(--prob-average-ink)!important}
.prob-average>b,.prob-average>strong,.prob-average .probability-number,.prob-average>span,.prob-average>small{color:var(--prob-average-ink)!important}
.prob-na{background:#f8fafc!important;border-color:#e2e8f0!important;color:#94a3b8!important}
.binary-heading{margin-top:13px!important}
.market-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;margin-top:0!important;min-width:0!important}
.market-grid>div.market-card{display:block!important;min-width:0!important;overflow:hidden!important;padding:8px!important;background:#fff!important;border:1px solid #e2e8f0!important;border-radius:9px!important}
.market-card-title{min-height:30px!important;margin-bottom:7px!important;font-size:10px!important;line-height:1.45!important;font-weight:800!important;color:#334155!important;overflow-wrap:anywhere!important}
.market-choices{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important;min-width:0!important}
.market-choice{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;padding:6px 3px!important;border:1px solid var(--prob-average-border)!important;border-radius:7px!important;background:var(--prob-average-bg)!important;min-width:0!important;overflow:hidden!important}
.market-choice small{display:block!important;grid-column:auto!important;font-size:9px!important;line-height:1.25!important;font-weight:700!important;color:var(--prob-average-ink)!important;white-space:normal!important;text-align:center!important;overflow-wrap:anywhere!important}
.market-choice b{display:block!important;font-size:13px!important;line-height:1.2!important;font-weight:900!important;font-variant-numeric:tabular-nums!important;color:var(--prob-average-ink)!important;overflow-wrap:anywhere!important}
.market-choice.prob-high{background:var(--prob-high-bg)!important;border-color:var(--prob-high-border)!important}.market-choice.prob-high small,.market-choice.prob-high b{color:var(--prob-high-ink)!important}
.market-choice.prob-low{background:var(--prob-low-bg)!important;border-color:var(--prob-low-border)!important}.market-choice.prob-low small,.market-choice.prob-low b{color:var(--prob-low-ink)!important}
.probability-legend{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:7px 13px!important;margin-top:11px!important;padding-top:9px!important;border-top:1px solid #e8eef5!important;color:#64748b!important;font-size:9px!important}
.probability-legend>span{display:inline-flex!important;align-items:center!important;gap:5px!important}.probability-legend i{display:inline-block!important;width:9px!important;height:9px!important;border-radius:3px!important;border:1px solid transparent!important}.legend-high{background:var(--prob-high-bg)!important;border-color:var(--prob-high-border)!important}.legend-low{background:var(--prob-low-bg)!important;border-color:var(--prob-low-border)!important}.legend-average{background:var(--prob-average-bg)!important;border-color:var(--prob-average-border)!important}
.fixture-actions{padding:0 14px 15px!important;margin:0!important}.fixture-detail-cta{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;width:100%!important;min-width:0!important;padding:10px 13px!important;border:1px solid #111827!important;border-radius:10px!important;background:#111827!important;color:#fff!important;font-size:12px!important;font-weight:800!important;text-decoration:none!important;transition:background .16s,border-color .16s,transform .16s!important}.fixture-detail-cta:hover{background:var(--sky-deep)!important;border-color:var(--sky-deep)!important;color:#fff!important;transform:translateY(-1px)}.fixture-detail-cta span{min-width:0;overflow-wrap:anywhere}.fixture-detail-cta b{display:grid;place-items:center;flex:0 0 27px;width:27px;height:27px;border-radius:7px;background:var(--orange)!important;color:#111827!important;font-size:17px!important;line-height:1}
/* Match detail: the exact same likelihood colors and paired market controls as the dashboard. */
.probability-explainer{margin:-3px 0 10px!important;font-size:11px!important;line-height:1.7!important;color:#64748b!important}
.match-content-grid .lambda-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;margin-bottom:14px!important}
.match-content-grid .lambda-card{border-top-color:var(--black)!important;background:#f8fafc!important}
.detail-outcome-grid .outcome-tile{padding:11px!important}
.detail-outcome-grid .outcome-tile>b{font-size:22px!important}
.detail-market-grid{margin:0 0 12px!important}
.detail-market-grid .market-card-title{min-height:36px!important;font-size:11px!important}
.probability-inline{display:inline-flex;align-items:center;justify-content:center;max-width:100%;padding:4px 8px;border:1px solid var(--prob-average-border);border-radius:6px;background:var(--prob-average-bg);color:var(--prob-average-ink);font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap}
.probability-inline.prob-high{background:var(--prob-high-bg)!important;border-color:var(--prob-high-border)!important;color:var(--prob-high-ink)!important}
.probability-inline.prob-low{background:var(--prob-low-bg)!important;border-color:var(--prob-low-border)!important;color:var(--prob-low-ink)!important}
.probability-inline.prob-average{background:var(--prob-average-bg)!important;border-color:var(--prob-average-border)!important;color:var(--prob-average-ink)!important}
@media(max-width:1150px){.fixtures-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:13px!important}.fixture-main{grid-template-columns:minmax(0,1fr) minmax(75px,.45fr) minmax(0,1fr)!important;padding:15px 10px 13px!important}.club-crest{width:44px!important;height:44px!important}.club-crest img{width:36px!important;height:36px!important}.club-name{font-size:12px!important}.outcome-tile{padding:7px 5px!important}.outcome-tile>b{font-size:16px!important}.market-grid{gap:5px!important}.market-grid>div.market-card{padding:6px!important}.market-card-title{font-size:9px!important}}
@media(max-width:820px){.fixtures-list{grid-template-columns:minmax(0,1fr)!important;max-width:720px;margin-inline:auto!important}.fixture-main{grid-template-columns:minmax(0,1fr) minmax(84px,.4fr) minmax(0,1fr)!important;padding:18px!important}.club-name{font-size:14px!important}.club-crest{width:50px!important;height:50px!important}.club-crest img{width:40px!important;height:40px!important}.prediction-box{padding:14px!important}.outcome-tile{padding:9px!important}.outcome-tile>b{font-size:19px!important}.market-card-title{font-size:10px!important}.fixture-bottom{padding:0 14px 12px!important}}
@media(max-width:520px){.fixtures-list{gap:12px!important}.fixture-league{padding:10px 11px!important}.fixture-main{grid-template-columns:minmax(0,1fr) 58px minmax(0,1fr)!important;gap:3px!important;padding:14px 7px!important}.club-crest{width:35px!important;height:35px!important;border-radius:10px!important}.club-crest img{width:29px!important;height:29px!important}.club-name{font-size:11px!important}.club-side-label{font-size:9px!important}.match-score{font-size:16px!important}.match-center-caption{font-size:9px!important}.match-center-status{padding:3px 5px!important;font-size:8px!important}.fixture-bottom{padding:0 8px 9px!important}.prediction-box{padding:10px!important}.prediction-box-head{margin-bottom:9px!important}.prediction-section-label b{font-size:10px!important}.prediction-section-label small{font-size:8px!important}.outcome-grid{gap:4px!important}.outcome-tile{padding:7px 4px!important;border-radius:7px!important}.outcome-tile>span{font-size:9px!important}.outcome-tile>b{font-size:16px!important}.outcome-tile>small{font-size:8px!important}.outcome-track{height:3px!important}.market-grid{grid-template-columns:repeat(1,minmax(0,1fr))!important;gap:6px!important}.market-grid>div.market-card{padding:8px!important}.market-card-title{min-height:0!important;margin-bottom:5px!important;font-size:10px!important}.market-choices{grid-template-columns:repeat(2,minmax(0,1fr))!important}.market-choice{flex-direction:row!important;justify-content:space-between!important;padding:6px 8px!important}.market-choice small{font-size:9px!important}.market-choice b{font-size:12px!important}.probability-legend{gap:6px 10px!important;font-size:8px!important}.fixture-actions{padding:0 8px 10px!important}.fixture-detail-cta{padding:9px 10px!important;font-size:11px!important}.match-content-grid .lambda-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}.detail-outcome-grid .outcome-tile>b{font-size:17px!important}.detail-market-grid{grid-template-columns:minmax(0,1fr)!important}.detail-market-grid .market-choices{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* Make the match-details eyebrow consistent with the sky/orange palette. */
.fixture-hero:before{color:var(--sky-deep)!important;opacity:.78!important}
