:root{font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;background:#0a101b;color:#e9eef8;color-scheme:dark}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}.wrap{max-width:1160px;margin:auto;padding:0 24px}header{background:#101b2b;border-bottom:1px solid #26334a}.nav{display:flex;justify-content:space-between;align-items:center;min-height:72px;gap:12px}.brand{font-weight:900;font-size:23px;letter-spacing:-1px}.brand span{color:#6de0b3}nav{display:flex;gap:25px;font-size:14px;color:#a9b7ca}nav a:hover{color:#fff}.intro{padding:55px 0 33px}.eyebrow{color:#6de0b3;font-weight:750;letter-spacing:1.8px;font-size:11px}.intro h1{font-size:clamp(30px,5vw,47px);max-width:700px;letter-spacing:-2px;line-height:1.14;margin:13px 0}.intro p,.panel p{color:#aab7ca;line-height:1.6}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:20px}.metric,.panel{background:#111c2c;border:1px solid #28364b;border-radius:15px;padding:22px}.metric span{display:block;color:#9dacc0;font-size:12px}.metric strong{display:block;font-size:35px;margin-top:10px}.columns{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:20px 0}.panel{margin-bottom:20px}.panel h2{font-size:19px;margin:0 0 19px}.game{border-top:1px solid #28364b;padding:13px 0;display:flex;flex-direction:column;gap:5px}.game span,.muted{color:#8fa0b7;font-size:13px}.game b{font-size:14px;font-weight:550}.inline{display:flex;flex-wrap:wrap;gap:12px}select,button{border-radius:9px;padding:13px;font:inherit}select{min-width:210px;background:#1b2940;border:1px solid #35465e;color:#fff;flex:1}button{background:#64dcac;color:#072316;border:0;font-weight:700;cursor:pointer}button:hover{background:#9bf0ca}.warning{padding:18px;background:#453119;border:1px solid #9c773a;border-radius:12px;margin-bottom:20px}.probrow{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:24px 0}.probrow strong{display:block;font-size:35px}.probrow span{font-size:12px;color:#9dacc0}.bar{display:flex;height:12px;overflow:hidden;border-radius:8px}.bar span:nth-child(1){background:#4bb8d7}.bar span:nth-child(2){background:#d7bb67}.bar span:nth-child(3){background:#8c81f7}footer{padding-top:50px!important;padding-bottom:30px!important;color:#6c7d93;font-size:12px}@media(max-width:760px){.stats{grid-template-columns:repeat(2,1fr)}.columns{grid-template-columns:1fr}.nav{flex-direction:column;padding-top:20px;padding-bottom:20px}nav{gap:12px}.probrow strong{font-size:23px}}

.probsummary{display:flex;justify-content:space-between;gap:10px;margin-top:5px;color:#9dacc0;font-size:12px}
.probsummary span{display:flex;gap:7px;align-items:center}
.probsummary strong{color:#e9eef8;font-size:14px;font-variant-numeric:tabular-nums}
.probbar{display:flex;width:100%;height:9px;border-radius:8px;overflow:hidden;background:#26364b;margin:2px 0 5px}
.probbar span:nth-child(1){background:#4bb8d7}
.probbar span:nth-child(2){background:#d7bb67}
.probbar span:nth-child(3){background:#8c81f7}
.game small{line-height:1.5}

.modeldetails{margin-top:8px;border-top:1px solid #28364b;padding-top:9px}
.modeldetails summary{cursor:pointer;color:#6de0b3;font-size:12px;font-weight:700}
.modelvariant{display:block;font-size:12px;line-height:1.6;margin:8px 0;padding:7px 10px;background:#1b2940;border-radius:7px}
.modelvariant strong{color:#e9eef8}
.modelvariant small{display:block}


/* Jornada comparison / scoped design system. No styles leak into the dashboard. */
.matchday-page{--md-border:#2b3850;--md-quiet:#9eafc6;--md-paper:#111e30;--md-deep:#0c1625;--md-accent:#72e5b7;--md-cyan:#62bdd9;--md-gold:#efc77b;--md-purple:#a89cf5;padding:25px 0 90px}
.matchday-page h1,.matchday-page h2,.matchday-page h3,.matchday-page p{margin-top:0}
.md-hero{position:relative;overflow:hidden;min-height:294px;padding:32px 38px 25px;border:1px solid #314c58;border-radius:22px;background:radial-gradient(ellipse 70% 90% at 92% 5%,rgba(78,198,165,.20),transparent 75%),linear-gradient(135deg,#17352f,#101d2b 58%,#152137);margin:10px 0 25px}
.md-hero:after{content:"";position:absolute;width:270px;height:270px;border:1px solid rgba(114,229,183,.12);border-radius:50%;right:-45px;bottom:-152px;box-shadow:0 0 0 40px rgba(114,229,183,.035),0 0 0 90px rgba(114,229,183,.025);pointer-events:none}
.md-hero-top,.md-hero-footer,.md-section-heading,.md-match-heading,.md-retro-titleline{display:flex;align-items:center;justify-content:space-between;gap:16px}
.md-eyebrow,.md-section-kicker,.md-hero-label,.md-hero-footer,.md-kpi-label,.md-pick-label,.md-prob-head,.md-retro-head{font-size:10px;letter-spacing:1.45px;font-weight:800}
.md-eyebrow,.md-section-kicker{color:var(--md-accent)}
.md-live-dot{width:7px;height:7px;border-radius:50%;background:var(--md-accent);display:inline-block;vertical-align:middle;margin-right:9px;box-shadow:0 0 0 4px rgba(114,229,183,.12)}
.md-hero-label{color:#b0c9d3;border:1px solid rgba(176,201,211,.25);border-radius:99px;padding:7px 11px}
.md-hero h1{font-size:clamp(30px,4.5vw,51px);letter-spacing:-1.9px;line-height:1.09;margin:36px 0 15px;font-weight:850;position:relative;z-index:1}
.md-hero h1 em{font-style:normal;color:var(--md-accent)}
.md-hero>p{max-width:620px;color:#bed0d8;font-size:14px;line-height:1.65;position:relative;z-index:1}
.md-hero-footer{position:relative;z-index:1;margin-top:37px;padding-top:17px;border-top:1px solid rgba(180,230,219,.18);color:#91b1b8;letter-spacing:.9px;font-size:10px}
.md-selector{border:1px solid var(--md-border);background:var(--md-paper);border-radius:18px;padding:22px 26px;display:flex;align-items:end;justify-content:space-between;gap:22px;margin-bottom:34px}
.md-selector h2{margin:7px 0 2px;font-size:19px;letter-spacing:-.35px}
.md-filter-form{display:flex;align-items:end;gap:11px;flex-wrap:wrap}
.md-filter-form label{font-size:11px;color:#b5c3d3;font-weight:700;display:flex;flex-direction:column;gap:8px}
.md-filter-form select{min-width:145px;flex:initial;width:165px;font-size:13px;padding:12px 36px 12px 12px;height:44px;border-radius:10px;background:#192a40;color:#edf6ff;border-color:#3c4c62}
.md-filter-button{height:44px;white-space:nowrap;padding:11px 18px;border-radius:10px;font-size:13px}
.md-filter-button span{margin-left:12px;font-size:17px;font-weight:500}
.md-section-heading{margin-bottom:18px}
.md-section-heading h2,.md-match-heading h2{font-size:clamp(23px,3vw,30px);letter-spacing:-.75px;margin:7px 0 0}
.md-heading-year{font-size:15px;letter-spacing:0;font-weight:550;color:var(--md-quiet);white-space:nowrap}
.md-report-mode{border-radius:99px;border:1px solid #3a5361;padding:8px 13px;color:#abc5cb;font-size:11px}
.md-kpi-layout{display:grid;grid-template-columns:1fr 1.1fr;gap:15px}
.md-kpi-primary{border:1px solid #31685c;border-radius:19px;background:linear-gradient(137deg,#153b35,#112a2d 66%,#152434);padding:26px 29px;min-height:255px}
.md-kpi-label{color:#9fe9cf}
.md-big-number{font-size:clamp(60px,7vw,90px);line-height:1.16;font-weight:850;letter-spacing:-5px;font-variant-numeric:tabular-nums;color:#e7fff3;margin:13px 0 14px}
.md-big-number>span{font-size:.48em;letter-spacing:-2px;color:var(--md-accent);margin-left:3px}
.md-big-number .md-not-available{font-size:1em;color:#b3c8c3}
.md-kpi-rule{height:7px;border-radius:20px;background:#31534c;overflow:hidden;max-width:320px}
.md-kpi-rule span{display:block;height:100%;border-radius:20px;background:#7af0be}
.md-kpi-primary p{font-size:12px;color:#abcbbf;margin:14px 0 0!important}
.md-kpi-support{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.md-mini-kpi{background:var(--md-paper);border:1px solid var(--md-border);border-radius:17px;padding:24px;display:flex;flex-direction:column;justify-content:space-between;min-height:120px}
.md-mini-kpi>span{font-size:12px;color:#aebed1}
.md-mini-kpi strong{font-size:36px;font-variant-numeric:tabular-nums;letter-spacing:-1px;line-height:1.1}
.md-mini-kpi strong small{font-size:15px;color:#8da3ba;font-weight:550}
.md-report-footnote{color:#8e9fb4!important;font-size:12px;line-height:1.6;margin:13px 1px 37px!important}
.md-match-heading{margin-bottom:18px;align-items:end}
.md-legend{display:flex;gap:15px;flex-wrap:wrap;font-size:11px;color:#a6b5c9}
.md-legend>span{white-space:nowrap}
.md-legend-dot{width:7px;height:7px;border-radius:50%;display:inline-block;margin-right:5px;vertical-align:middle}
.md-dot-hit{background:#72e5b7}.md-dot-miss{background:#eb938e}.md-dot-pending{background:#a9b8cc}
.md-match-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.md-match-card{background:var(--md-paper);border:1px solid var(--md-border);border-radius:17px;padding:19px 20px 17px;min-width:0;display:flex;flex-direction:column}
.md-match-hit{border-top:3px solid #6bdab0}.md-match-miss{border-top:3px solid #e28e89}.md-match-unscored{border-top:3px solid #60738d}
.md-match-card-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-bottom:15px;border-bottom:1px solid #27364a}
.md-match-date{font-size:11px;color:#9eafc5;text-transform:uppercase;letter-spacing:.55px;font-weight:600}
.md-divider-dot{padding:0 3px}
.md-status{font-size:10px;font-weight:800;letter-spacing:.2px;padding:6px 9px;border-radius:99px;white-space:nowrap}
.md-status-hit{color:#89e8bf;background:#1b4139}.md-status-miss{color:#f3a29e;background:#432a34}.md-status-neutral{color:#becadb;background:#26344a}
.md-status span{font-size:12px;margin-right:3px}
.md-scoreboard{display:grid;grid-template-columns:minmax(0,1fr) minmax(84px,.62fr) minmax(0,1fr);align-items:center;gap:9px;padding:25px 0 22px}
.md-team{min-width:0;display:flex;flex-direction:column;gap:8px}
.md-team-away{text-align:right}
.md-team-label{font-size:9px;letter-spacing:1.2px;color:#7f91aa;font-weight:850}
.md-team strong{color:#f4f8ff;font-size:clamp(14px,1.55vw,18px);line-height:1.3;font-weight:750;overflow-wrap:anywhere}
.md-score{text-align:center;align-self:center}
.md-score strong{white-space:nowrap;font-size:clamp(29px,3.25vw,39px);line-height:1.05;letter-spacing:-1.8px;font-weight:850;font-variant-numeric:tabular-nums}
.md-score strong span{font-size:.72em;color:#64778d;vertical-align:2px;margin:0 1px}
.md-score small{display:block;font-size:9px;font-weight:800;color:#91a6ba;letter-spacing:1.25px;margin-top:8px}
.md-score .md-score-empty{color:#64758a}
.md-pick-row{display:flex;justify-content:space-between;gap:15px;padding:15px 0;border-top:1px solid #28364b;border-bottom:1px solid #28364b}
.md-pick-row>div{min-width:0}
.md-pick-label{color:#8092aa;font-size:9px;display:block;margin-bottom:8px}
.md-pick-row strong{font-size:19px;color:#e8f5fa;font-variant-numeric:tabular-nums}
.md-pick-row strong small{font-size:11px;color:#b0c1d4;font-weight:500;white-space:normal}
.md-actual-pick{text-align:right}
.md-probabilities{margin-top:17px}
.md-prob-head{display:flex;justify-content:space-between;color:#8498b1;font-size:9px;margin-bottom:11px;gap:12px}
.md-prob-bars{height:9px;width:100%;display:flex;border-radius:99px;overflow:hidden;background:#344055}
.md-prob-bars span{height:100%;display:block;min-width:0}
.md-prob-home{background:var(--md-cyan)}.md-prob-draw{background:var(--md-gold)}.md-prob-away{background:var(--md-purple)}
.md-prob-values{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin:12px 0 13px}
.md-prob-values>span{font-size:12px;color:#a2b4c9;display:flex;align-items:center;gap:6px}
.md-prob-values strong{color:#e9f3ff;margin-left:auto;font-size:13px;font-variant-numeric:tabular-nums}
.md-prob-swatch{display:inline-block;width:6px;height:6px;border-radius:50%;flex:none}
.md-swatch-home{background:var(--md-cyan)}.md-swatch-draw{background:var(--md-gold)}.md-swatch-away{background:var(--md-purple)}
.md-captured{font-size:10px;color:#8394ad;line-height:1.45;display:block}
.md-empty-data{font-size:11px;color:#8295ad;line-height:1.6;padding-top:16px}
.md-empty-state{grid-column:1/-1;padding:25px 24px;border:1px dashed #40516a;border-radius:15px;background:#132137;color:#e2effe}
.md-empty-state strong{font-size:15px}
.md-empty-state p{margin:8px 0 0;font-size:12px}
.md-retro-section{margin-top:44px;border:1px solid #544b40;background:linear-gradient(160deg,#22232d,#171e2c 65%);border-radius:19px;padding:28px}
.md-retro-titleline{align-items:start}
.md-retro-section .md-section-kicker{color:#f0c88b}
.md-retro-tag{border:1px solid #736147;border-radius:7px;padding:7px 9px;color:#e8c28f;font-size:9px;font-weight:850;letter-spacing:.7px;text-align:center}
.md-retro-section h2{font-size:26px;letter-spacing:-.75px;margin:9px 0}
.md-retro-section>p{color:#b9b2aa;font-size:13px;line-height:1.7;margin-bottom:22px;max-width:750px}
.md-retro-section>p strong{color:#f5d2a2}
.md-retro-card{background:#1c2431;border:1px solid #4a4850;border-radius:14px;padding:21px}
.md-retro-card+.md-retro-card{margin-top:15px}
.md-retro-head{display:flex;justify-content:space-between;gap:12px;color:#d4b78e;font-size:9px}
.md-retro-card h3{font-size:19px;letter-spacing:-.35px;margin:17px 0}
.md-retro-card h3 span{font-size:13px;color:#8e9baf;font-weight:400;margin:0 5px}
.md-retro-results{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:10px;padding:16px 0;border-top:1px solid #3c4553;border-bottom:1px solid #3c4553}
.md-retro-results>div{display:flex;flex-direction:column;gap:5px;min-width:0}
.md-retro-results small{font-size:9px;letter-spacing:.8px;color:#aab6c3;font-weight:750}
.md-retro-results strong{font-size:25px;letter-spacing:-.3px}
.md-retro-results span{font-size:11px;color:#a5afbb}
.md-retro-verdict strong{font-size:17px;color:#e5c49d}
.md-retro-explanation{color:#aeb8c4;font-size:12px;line-height:1.6;margin:15px 0 8px!important}
.md-methodology{margin-top:24px;padding:18px 21px;border-left:2px solid #557c78;background:#131f30;border-radius:0 12px 12px 0;color:#abbdd0}
.md-methodology strong{font-size:12px;color:#dcf0ee}
.md-methodology p{font-size:11px;line-height:1.7;margin:7px 0 0;color:#94a7ba}
@media (max-width:900px){.md-selector{align-items:stretch;flex-direction:column}.md-filter-form{width:100%}.md-filter-form label{flex:1}.md-filter-form select{width:100%}.md-match-heading{align-items:start;flex-direction:column}.md-kpi-layout{grid-template-columns:1fr}.md-kpi-primary{min-height:210px}.md-match-grid{grid-template-columns:1fr 1fr}.md-scoreboard{grid-template-columns:minmax(0,1fr) 70px minmax(0,1fr)}.md-score strong{font-size:30px}}
@media (max-width:650px){.matchday-page{padding:10px 0 55px}.md-hero{padding:22px 19px 19px;min-height:270px;margin:0 0 16px;border-radius:17px}.md-hero h1{font-size:34px;margin:32px 0 15px;letter-spacing:-1.2px}.md-hero>p{font-size:12px}.md-hero-label{font-size:9px;padding:6px 8px}.md-eyebrow{font-size:9px;letter-spacing:.7px}.md-hero-footer{font-size:9px;gap:5px}.md-selector{padding:19px 16px;border-radius:15px;margin-bottom:28px;gap:16px}.md-filter-form{display:grid;grid-template-columns:1fr 1fr;gap:10px}.md-filter-form label{min-width:0}.md-filter-form select{min-width:0;padding:10px 8px;font-size:12px}.md-filter-button{grid-column:1/-1;width:100%}.md-report-mode{display:none}.md-section-heading h2{font-size:26px}.md-heading-year{display:block;margin-top:3px}.md-kpi-primary{padding:20px;min-height:0}.md-big-number{font-size:68px}.md-kpi-support{gap:9px}.md-mini-kpi{padding:16px;min-height:104px}.md-mini-kpi strong{font-size:30px}.md-mini-kpi>span{font-size:11px}.md-match-grid{grid-template-columns:1fr;gap:12px}.md-match-card{padding:16px;border-radius:14px}.md-match-heading{margin-bottom:15px}.md-legend{gap:11px}.md-scoreboard{grid-template-columns:minmax(0,1fr) 84px minmax(0,1fr);padding:22px 0}.md-score strong{font-size:33px}.md-team strong{font-size:15px}.md-retro-section{padding:19px 15px;border-radius:15px;margin-top:29px}.md-retro-titleline{flex-direction:column;gap:10px}.md-retro-section h2{font-size:23px}.md-retro-card{padding:15px}.md-retro-results{grid-template-columns:1fr 1fr;row-gap:20px}.md-retro-verdict{grid-column:1/-1;border-top:1px solid #3c4553;padding-top:13px}.md-methodology{padding:15px}}
@media (prefers-reduced-motion:no-preference){.md-match-card{transition:transform .18s ease,border-color .18s ease}.md-match-card:hover{transform:translateY(-2px);border-color:#4b6b71}.md-filter-button{transition:background .18s ease}}


/* Home: same visual language as the matchday comparison; scoped to homepage. */
.home-page{--md-accent:#72e5b7;--md-cyan:#62bdd9;--md-gold:#efc77b;--md-purple:#a89cf5;padding:24px 0 80px}
.home-page h1,.home-page h2,.home-page p{margin-top:0}
.hp-hero{border:1px solid #34595b;border-radius:22px;padding:35px 40px 26px;overflow:hidden;position:relative;background:radial-gradient(ellipse 72% 95% at 93% 7%,rgba(73,205,171,.17),transparent 77%),linear-gradient(125deg,#173b36,#101e30 70%);margin:10px 0 19px}
.hp-hero:after{content:"";position:absolute;right:-120px;bottom:-185px;width:360px;height:360px;border-radius:50%;border:1px solid rgba(123,226,196,.13);box-shadow:0 0 0 45px rgba(123,226,196,.028),0 0 0 100px rgba(123,226,196,.024);pointer-events:none}
.hp-hero-top,.hp-hero-actions,.hp-section-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}
.hp-hero h1{font-size:clamp(36px,5vw,59px);letter-spacing:-2.2px;line-height:1.07;margin:45px 0 18px}
.hp-hero h1 em{font-style:normal;color:#77e9bc}
.hp-hero>p{max-width:600px;color:#bacdd3;font-size:14px;line-height:1.7;position:relative;z-index:1}
.hp-hero-actions{justify-content:flex-start;flex-wrap:wrap;margin:27px 0 28px;position:relative;z-index:1}
.hp-button-primary,.hp-button-secondary{display:inline-flex;align-items:center;justify-content:center;gap:15px;font-size:13px;font-weight:800;padding:13px 17px;border-radius:10px;min-height:44px}
.hp-button-primary{background:#77e9bc;color:#092a1d}.hp-button-primary:hover{background:#a5f7d7}
.hp-button-secondary{border:1px solid #46616c;color:#deedee}.hp-button-secondary:hover{border-color:#75dabb}
.hp-button-primary span,.hp-button-secondary span{font-size:17px}
.hp-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:45px}
.hp-metric{background:#121e30;border:1px solid #2c3a50;border-radius:17px;padding:20px 21px;display:flex;flex-direction:column;min-height:148px}
.hp-metric>span,.hp-card-kicker{font-size:10px;letter-spacing:1.1px;font-weight:800;color:#9bacbf}
.hp-metric strong{font-size:41px;font-weight:800;letter-spacing:-1.6px;font-variant-numeric:tabular-nums;margin:12px 0 5px}
.hp-metric small{font-size:11px;color:#8193aa;margin-top:auto}
.hp-metric-accent{border-color:#347165;background:linear-gradient(145deg,#153831,#132937)}
.hp-metric-accent strong{color:#84efc3}
.hp-section{margin-bottom:41px}
.hp-section-heading{margin-bottom:18px;align-items:flex-end}
.hp-section-heading h2{font-size:clamp(23px,2.9vw,30px);margin:6px 0 0;letter-spacing:-.8px}
.hp-text-link{color:#84e5be;font-size:12px;font-weight:750;white-space:nowrap}
.hp-text-link:hover{color:#c0ffe6}
.hp-text-link span{font-size:17px;margin-left:5px}
.hp-games{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.hp-fixture{min-width:0;background:#111e30;border:1px solid #2c3a50;border-radius:17px;padding:20px;display:flex;flex-direction:column}
.hp-fixture-top,.hp-fixture-prob-title{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px;color:#a9bad0}
.hp-fixture-top{border-bottom:1px solid #29394c;padding-bottom:14px;letter-spacing:.3px}
.hp-fixture-round{font-size:9px;font-weight:800;color:#80e1ba;border:1px solid #31564f;border-radius:99px;padding:6px 9px;white-space:nowrap}
.hp-fixture-teams{display:grid;grid-template-columns:minmax(0,1fr) 37px minmax(0,1fr);gap:8px;align-items:center;padding:23px 0}
.hp-fixture-teams>div{min-width:0;display:flex;flex-direction:column;gap:7px}
.hp-fixture-teams>div:last-child{text-align:right}
.hp-fixture-teams>div>span{font-size:9px;font-weight:800;color:#8697ac;letter-spacing:1.1px}
.hp-fixture-teams strong{font-size:clamp(15px,1.6vw,20px);line-height:1.25;overflow-wrap:anywhere}
.hp-vs{text-align:center;color:#72869d;font-size:11px;font-weight:800}
.hp-fixture-prob-title{color:#8a9eb7;font-size:9px;letter-spacing:.65px;font-weight:750;padding-top:15px;border-top:1px solid #29394c;margin-bottom:11px}
.hp-fixture-prob-title small{font-size:9px;letter-spacing:0;font-weight:500}
.hp-fixture-sub{color:#8295aa;font-size:11px;line-height:1.45;margin:0 0 4px}
.hp-fixture-empty{border-top:1px solid #29394c;color:#98a8bd;font-size:12px;padding:16px 0}
.hp-fixture-details{border-top:1px solid #29394c;margin-top:12px;padding-top:12px}
.hp-fixture-details summary{cursor:pointer;color:#79e5b9;font-weight:750;font-size:12px;list-style-position:inside}
.hp-fixture-context{font-size:12px;color:#a4b5c7;line-height:1.55;margin-top:12px}
.hp-fixture-context p{font-size:12px;margin:8px 0}
.hp-fixture-context strong{color:#e6eff7}
.hp-model-line{display:flex;flex-direction:column;gap:4px;margin-top:10px;padding:10px;border-radius:9px;background:#1c2b40;font-size:11px;color:#bccce0}
.hp-model-line strong{color:#e4f6ee}
.hp-model-line small{color:#91a5b9}
.hp-smallnote{font-size:11px;color:#8499ae;margin-top:14px!important;line-height:1.5}
.hp-two-col{display:grid;grid-template-columns:1fr 1fr;gap:17px}
.hp-panel{background:#111e30;border:1px solid #2c3a50;border-radius:17px;padding:20px;min-height:80px}
.hp-muted{font-size:12px;color:#9bafc5;line-height:1.6}
.hp-result{display:flex;flex-direction:column;gap:9px;padding:12px 0;border-bottom:1px solid #28374c}
.hp-result:first-child{padding-top:0}.hp-result:last-child{border-bottom:0;padding-bottom:0}
.hp-result time{font-size:10px;color:#8ba1b7;text-transform:uppercase;letter-spacing:.7px}
.hp-result-main{display:grid;grid-template-columns:minmax(0,1fr) 78px minmax(0,1fr);align-items:center;gap:10px}
.hp-result-main>span{font-size:13px;color:#dfeaf6;overflow-wrap:anywhere}
.hp-result-main>span:last-child{text-align:right}
.hp-result-main strong{text-align:center;font-size:21px;letter-spacing:-.7px;white-space:nowrap;font-variant-numeric:tabular-nums}
.hp-audit-row{border-top:1px solid #29394c;padding:16px 0;display:flex;flex-direction:column;gap:11px}
.hp-audit-row>strong{font-size:12px;overflow-wrap:anywhere;color:#e4f2ed}
.hp-audit-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.hp-audit-grid>div{background:#192b3e;padding:12px;border-radius:10px;display:flex;flex-direction:column;gap:5px}
.hp-audit-grid span{font-size:9px;color:#9cb0c4;letter-spacing:.7px}
.hp-audit-grid strong{font-size:25px;letter-spacing:-.6px}
.hp-audit-row small{color:#91a5ba;font-size:11px}
.hp-panel-link{display:block;margin-top:16px;border-top:1px solid #29394c;padding-top:16px}
.hp-quality-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.hp-quality-panel{display:flex;flex-direction:column;gap:14px}
.hp-quality-numbers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.hp-quality-numbers>div{border-radius:10px;background:#1b2b40;padding:11px;display:flex;flex-direction:column;gap:5px}
.hp-quality-numbers strong{font-size:27px;font-variant-numeric:tabular-nums}
.hp-quality-numbers small{font-size:10px;color:#a3b4c9;line-height:1.3}
.hp-quality-panel p,.hp-quality-panel>small{font-size:11px;color:#97abc0;line-height:1.65;margin:0}
.hp-quality-panel p strong{color:#e4f3ef}
.hp-analyze{display:grid;grid-template-columns:.9fr 1.1fr;align-items:center;gap:24px;border:1px solid #3c605b;border-radius:19px;padding:27px;background:linear-gradient(130deg,#18322e,#142437 78%)}
.hp-analyze h2{font-size:26px;letter-spacing:-.6px;margin:7px 0 10px}
.hp-analyze p{font-size:12px;color:#b1c2d0;line-height:1.65;margin:0}
.hp-analyze-form{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.hp-analyze-form label{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#b9cbd6;font-weight:750;min-width:0}
.hp-analyze-form select{min-width:0;width:100%;padding:12px;background:#1d3045;border:1px solid #496070;color:#f0fcff;border-radius:10px;font-size:12px}
.hp-analyze-form button{grid-column:1/-1;font-size:13px;padding:12px 15px}
.hp-analyze-form button span{margin-left:12px}
.hp-last-update{color:#7f92a8;font-size:11px;line-height:1.6}
@media(max-width:850px){.hp-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.hp-two-col,.hp-quality-grid{grid-template-columns:1fr}.hp-analyze{grid-template-columns:1fr}.hp-games{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.home-page{padding:9px 0 55px}.hp-hero{padding:22px 19px 19px;border-radius:17px;margin:0 0 13px}.hp-hero h1{font-size:39px;letter-spacing:-1.25px;margin:35px 0 14px}.hp-hero>p{font-size:12px}.hp-hero-actions{align-items:stretch;gap:9px}.hp-button-primary,.hp-button-secondary{width:100%}.hp-hero .md-hero-footer{margin-top:23px;font-size:9px}.hp-metrics{gap:9px;margin-bottom:31px}.hp-metric{padding:15px;min-height:119px;border-radius:13px}.hp-metric>span{font-size:9px;letter-spacing:.7px}.hp-metric strong{font-size:34px}.hp-metric small{font-size:10px}.hp-section{margin-bottom:30px}.hp-section-heading{align-items:flex-start;flex-direction:column;gap:9px}.hp-section-heading h2{font-size:25px}.hp-text-link{font-size:11px}.hp-games{grid-template-columns:1fr;gap:12px}.hp-fixture{padding:16px;border-radius:14px}.hp-fixture-teams strong{font-size:17px}.hp-fixture-top{font-size:10px}.hp-panel{padding:16px}.hp-quality-numbers strong{font-size:23px}.hp-analyze{padding:18px;border-radius:15px}.hp-analyze h2{font-size:23px}}
@media(prefers-reduced-motion:no-preference){.hp-fixture{transition:transform .2s ease,border-color .2s ease}.hp-fixture:hover{transform:translateY(-2px);border-color:#4b6c67}.hp-button-primary,.hp-button-secondary{transition:background .18s ease,border-color .18s ease}}

/* Actualización manual de resultados */
.hp-sync{display:flex;align-items:center;justify-content:space-between;gap:18px;background:linear-gradient(120deg,#142b2b,#132136);border:1px solid #355b59;border-radius:16px;padding:20px 23px;margin-bottom:20px}
.hp-sync h2{font-size:19px;letter-spacing:-.35px;margin:7px 0}
.hp-sync p{font-size:12px;color:#bbd0d5;line-height:1.55;margin:0 0 6px}
.hp-sync small{color:#93a8b5;font-size:11px;line-height:1.55;display:block}
.hp-sync form{flex-shrink:0}.hp-sync-button{min-height:44px;font-size:13px;white-space:nowrap}
.sync-messages{margin:15px 0}.sync-alert{padding:13px 17px;background:#173a32;border:1px solid #3d6d61;border-radius:10px;font-size:13px}
.sync-alert-error{background:#38252f;border-color:#85515a}
@media(max-width:650px){.hp-sync{flex-direction:column;align-items:stretch;padding:17px}.hp-sync form,.hp-sync-button{width:100%}}

/* Ticket quiniela contrastado: 15 casillas compactas y legibles en móvil */
.q-ticket{margin-bottom:28px}
.q-ticket-rows{border:1px solid #334856;border-radius:16px;overflow:hidden;background:#14252e}
.q-ticket-row{display:grid;grid-template-columns:56px minmax(0,1fr) 58px;gap:15px;align-items:center;padding:13px 17px;border-bottom:1px solid #30424d}
.q-ticket-row:last-child{border-bottom:0}
.q-ticket-index{width:46px;height:46px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:#263b42;color:#c5ecdf;font-size:15px;font-weight:750}
.q-ticket-fixture{min-width:0}
.q-ticket-fixture>strong{font-size:14px;display:block;color:#ebf6f5;line-height:1.4}
.q-ticket-fixture>small{color:#91acb5;display:block;font-size:11px;line-height:1.6;margin-top:3px}
.q-odds{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.q-odds span{font-size:11px;color:#a6c4ce;background:#253d46;padding:3px 7px;border-radius:6px}
.q-odds b{color:#e5f6fa}
.q-ticket-sign{text-align:center;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px}
.q-ticket-sign small,.q-pleno-label{color:#b1c0c8;font-size:9px;white-space:nowrap}
.q-ticket-sign b{font-size:24px;color:#d2f8e7}
.q-ticket-evidence{margin-top:14px;padding:16px 18px}
.q-ticket-evidence p{font-size:12px;line-height:1.65;color:#b1c6cc}
.q-evidence-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:14px}
.q-evidence-links a{font-size:12px;color:#9ce5cf;text-decoration:underline}
@media(max-width:620px){
  .q-ticket-row{grid-template-columns:35px minmax(0,1fr) 38px;gap:8px;padding:11px 8px}
  .q-ticket-index{width:34px;height:40px;border-radius:8px;font-size:12px}
  .q-ticket-fixture>strong{font-size:12px}
  .q-ticket-fixture>small{font-size:10px}
  .q-odds{gap:4px}
  .q-odds span{font-size:10px;padding:3px 4px}
  .q-ticket-sign small{font-size:8px}
  .q-ticket-sign b{font-size:21px}
}

/* Pleno al 15: 16 category probabilities from saved pre-match lambdas */
.q-pleno-detail{border-top:1px solid #36515c;padding:20px;background:linear-gradient(145deg,#172e36,#13242d)}
.q-pleno-title{display:flex;align-items:start;justify-content:space-between;gap:15px}
.q-pleno-title h3{font-size:19px;line-height:1.3;margin:6px 0}
.q-pleno-title p{font-size:12px;color:#c1d3d9;margin:0;line-height:1.6}
.q-pleno-title p strong{color:#b5f2d0}
.q-pleno-lambdas{display:flex;flex-direction:column;gap:5px;flex-shrink:0}
.q-pleno-lambdas span{font-size:11px;color:#afcad2}
.q-pleno-lambdas b{color:#ecf8f7}
.q-pleno-pick{font-size:16px!important;white-space:nowrap}
.q-pleno-help{font-size:11px;color:#a5bec7;line-height:1.65;margin:13px 0 9px}
.q-pleno-matrix{display:grid;gap:5px;max-width:590px;margin-top:13px}
.q-pleno-header,.q-pleno-line{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;align-items:stretch}
.q-pleno-header span{text-align:center;color:#bcdbdc;font-size:12px;font-weight:700;padding:7px 0}
.q-pleno-header span:first-child{font-size:10px}
.q-pleno-rowname{display:flex;align-items:center;justify-content:center;font-weight:700;color:#bcdbdc;font-size:12px}
.q-pleno-cell{display:flex;align-items:center;justify-content:center;border-radius:8px;min-height:45px;background:#28404a;color:#d6e8ed;font-size:12px;font-variant-numeric:tabular-nums}
.q-pleno-cell-best{background:#225744;color:#dbffeb;border:2px solid #66d29f;font-weight:800}
.q-pleno-alternatives{display:flex;flex-wrap:wrap;gap:7px;margin-top:16px;align-items:center}
.q-pleno-alternatives>strong{font-size:12px;color:#c2d9df;flex-basis:100%;margin-bottom:2px}
.q-pleno-alternatives span{background:#243e49;border:1px solid #405a64;border-radius:7px;padding:6px 8px;color:#b9d0d7;font-size:12px}
.q-pleno-alternatives b{color:#e3fff2}
@media(max-width:620px){
  .q-pleno-detail{padding:13px 10px}
  .q-pleno-title{flex-direction:column;gap:6px}
  .q-pleno-title h3{font-size:16px}
  .q-pleno-lambdas{flex-direction:row;flex-wrap:wrap;gap:9px}
  .q-pleno-cell{min-height:39px;font-size:11px}
  .q-pleno-header,.q-pleno-line,.q-pleno-matrix{gap:3px}
}

/* Auditoría de quinielas: solo resultados que se pueden contrastar */
.q-audit-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:14px 0}
.q-audit-overview>div{display:flex;flex-direction:column;gap:4px;background:#233a42;border:1px solid #39535d;border-radius:10px;padding:12px 10px;min-width:0}
.q-audit-overview strong{font-size:20px;color:#d6ffec;font-variant-numeric:tabular-nums}
.q-audit-overview span{font-size:11px;color:#b4ccd3;line-height:1.5}
.q-audit-note{font-size:11px;color:#b1c7ce;line-height:1.6;margin:8px 0 15px}
.q-audit-inline{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:5px;font-size:11px;color:#b4cdd4}
.q-audit-inline strong{color:#e2f1f4}
.q-audit-hit{font-weight:750;color:#92edbd}
.q-audit-miss{font-weight:750;color:#ffb5aa}
@media(max-width:650px){.q-audit-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.q-audit-overview strong{font-size:17px}}

/* Probabilidades próximas: etiquetas descriptivas, no garantía de acierto. */
.q-confidence{font-size:10px;line-height:1.5;color:#d8e8bc;margin:5px 0 0}

/* Public HTTPS private-login view */
.liga-login{max-width:460px;margin:50px auto 80px;border:1px solid #36594e;border-radius:20px;padding:28px;background:#132e29;color:#edfbf4}
.liga-login-head span{font-weight:750;color:#a5e6c3}
.liga-login-head h1{font-size:29px;line-height:1.2;margin:15px 0 9px}
.liga-login-head p,.liga-login-foot{color:#b4cfbf;font-size:13px;line-height:1.6}
.liga-login-form{display:flex;flex-direction:column;gap:8px;margin-top:24px}
.liga-login-form label{font-weight:700;font-size:13px}
.liga-login-form input{border:1px solid #749389;border-radius:9px;min-height:47px;background:#fff;color:#172720;font-size:16px;padding:10px 12px;margin-bottom:9px}
.liga-login-form button{background:#c1edd4;color:#14392b;border:0;border-radius:9px;min-height:48px;font-weight:750;font-size:16px;cursor:pointer}
.liga-login-error{padding:9px;border-radius:8px;background:#642a2a;color:#ffdfd8}
.liga-logout{display:inline;margin:0}
.liga-logout button{background:transparent;color:inherit;border:0;cursor:pointer;font:inherit;padding:0}
