:root{color-scheme:dark;font-family:system-ui,sans-serif;background:#061018;color:#edf3f5}*{box-sizing:border-box}body{margin:0}header{display:flex;align-items:center;gap:28px;padding:24px 5%;border-bottom:1px solid #29404c;background:#030b10}header span{font-size:13px;color:#abc0cb}.brand{font-size:27px;font-weight:900;letter-spacing:-1px}.brand span,em{color:#ffc107;font-style:normal}.brand span{font-size:inherit}a{color:inherit;text-decoration:none}a:hover{color:#ffc107}main{max-width:1250px;margin:auto;padding:30px 24px;min-height:80vh}.hero{padding:30px 0 36px;border-bottom:1px solid #42505a;margin-bottom:25px}.eyebrow{letter-spacing:3px;color:#ffc107;font-size:12px}h1{font-size:clamp(28px,4vw,48px);line-height:1.15;margin:15px 0}h2{font-size:22px}p{color:#b9cbd4;line-height:1.7}form{display:flex;align-items:end;gap:15px;margin:25px 0}input{display:block;margin-top:8px;background:#101f2a;border:1px solid #526373;color:white;padding:12px;border-radius:6px}button,.badge{background:#ffc107;color:#061018;border:0;border-radius:5px;padding:12px;font-weight:800}.badge{display:inline-block;font-size:12px;padding:6px 10px}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:18px}.card{padding:24px;border:1px solid #2b434f;background:#091923;border-radius:9px;margin-bottom:10px}.card h2 span{color:#7d98a8}nav{display:flex;gap:12px;flex-wrap:wrap;margin:26px 0}nav a{padding:12px 20px;border:1px solid #354b57;border-radius:5px}nav a.active{background:#ffc107;color:#061018}.lock{padding:50px;text-align:center;border:1px solid #ffc107;border-radius:8px}.tablewrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:14px}th,td{text-align:left;padding:14px;border-bottom:1px solid #29404c}th{color:#ffc107;background:#0b1c25}tr:nth-child(even){background:#0b1a23}dt{color:#aec4cf}dd{margin:4px 0 20px;font-size:20px}footer{padding:30px;text-align:center;font-size:12px;color:#8aa0ae;border-top:1px solid #29404c}small{color:#8aa0ae}@media(max-width:650px){header{flex-wrap:wrap;gap:12px}header>a:last-child{display:none}main{padding:20px 16px}.cards{grid-template-columns:1fr}form{align-items:stretch;flex-direction:column}nav a{padding:10px}.lock{padding:25px}}

/* C10: scoped SHOTS product view; other pages retain C9B styles. */
.shots-page{color:#f4f6f8}.shots-back{font-size:13px;color:#a9beca}.shots-hero{margin:20px 0 0;padding:24px 30px 30px;background:radial-gradient(ellipse at 50% 0%,#283331 0%,#101b21 38%,#07121b 80%);border:1px solid #34464e;border-radius:10px}.shots-league{margin:0 0 20px;color:#d2dce2;letter-spacing:.1em;font-size:13px}.shots-fixture{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px}.shots-fixture>div:last-child{text-align:right}.shots-fixture h1{font-size:clamp(20px,2.4vw,32px);text-transform:uppercase;margin:8px 0}.shots-fixture p{margin:6px 0}.shots-kickoff{text-align:center}.shots-kickoff p{font-size:14px}.shots-controls{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:18px 0}.shots-controls nav{margin:0;gap:4px}.shots-controls nav a{font-size:13px;padding:12px 15px;background:#07151e;border:1px solid #223d4c}.shots-controls nav a.active{background:#ffc107;color:#111}.shots-windows{align-items:center}.shots-windows span{font-size:12px;margin-right:8px;color:#adc0cd}.shots-section{margin:18px 0;padding:24px 20px;border:1px solid #967a27;border-radius:9px;background:linear-gradient(115deg,#101b21,#07131b)}.shots-section h2{font-size:19px;letter-spacing:.02em;display:flex;align-items:center;gap:10px;margin:0 0 12px}.shots-section h2>span{font-size:29px;color:#ffc107}.shots-section h2 small{font-size:13px;font-weight:400;letter-spacing:0;text-transform:none;color:#a8c1d3}.shots-section p{font-size:14px;margin:10px 0}.shots-subtitle{color:#a8bac8}.estimate-unavailable{display:flex;justify-content:space-between;align-items:center;gap:16px}.shots-neutral{color:#b2bcc4;border:1px solid #425362;border-radius:5px;padding:8px 12px;font-size:12px;white-space:nowrap}.shots-confrontation{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:20px}.shot-pair{display:grid;grid-template-columns:1fr 1fr;position:relative;gap:8px}.shot-profile{min-width:0;border:1px solid #223d4c;border-radius:7px;background:#07141d;padding:16px 14px}.shot-role{min-height:40px;font-size:13px!important;line-height:1.4!important;text-transform:uppercase;color:white}.shot-role strong{display:block;font-weight:400;color:#b7c4cd;text-transform:none;margin-top:4px}.shot-context{font-size:12px!important;color:#a2b5c4}.shot-number{font-size:31px;font-weight:750;color:#ffc107;line-height:1.3}.blue .shot-number{color:#8fb7df}.shot-number span{display:block;font-size:12px;font-weight:400;color:#c4d2dc}.shot-vs{position:absolute;left:50%;top:48%;transform:translate(-50%,-50%);border:1px solid #d7a51c;border-radius:50%;width:35px;height:35px;display:grid;place-items:center;background:#05111a;font-size:12px;font-weight:800;color:#ffc107}.shot-profile dl{margin-bottom:10px}.shot-profile dl div{display:flex;justify-content:space-between;gap:8px;padding:7px 0;border-bottom:1px solid #1b303e}.shot-profile dt,.shot-profile dd{font-size:13px;margin:0}.shot-profile dd{font-weight:700;color:white}.shot-coverage{font-size:12px!important;line-height:1.5!important;color:#b3c0cb}.shot-state{font-size:11px!important;color:#bdc9d1}.shots-two{display:grid;grid-template-columns:1fr 1fr;gap:26px}.shots-two h3{font-size:16px;margin:16px 0}.shots-history{min-width:0;padding:0 12px 12px;background:#06131b;border:1px solid #223d4c;border-radius:7px}.shots-history h3 small{font-size:12px;font-weight:400;color:#afbfca;display:block;margin-top:5px}.shot-chart{display:flex;align-items:end;gap:9px;overflow:auto;padding:8px 0 12px;min-height:200px}.shot-column{min-width:39px;flex:1;text-align:center}.bar-value{display:block;font-size:12px;color:#e1e9ef;padding-bottom:5px}.bar-track{height:120px;display:flex;align-items:end;justify-content:center;border-bottom:1px solid #577080;background:repeating-linear-gradient(to top,transparent 0,transparent 29px,#23313d 30px)}.bar-track i{display:block;background:linear-gradient(#ffd34a,#e9a700);width:80%;max-width:28px;min-height:0}.blue .bar-track i{background:linear-gradient(#aac8ea,#537fab)}.bar-track i.zero{height:2px!important;opacity:.8}.gap{align-self:center;color:#8c9ea9}.shot-column time{display:block;font-size:10px;color:#9eb4c6;writing-mode:vertical-rl;transform:rotate(180deg);margin:9px auto 0;height:63px}.shot-chart.compact{gap:3px;min-height:80px;overflow:hidden}.compact .shot-column{min-width:0}.compact .bar-track{height:55px;border:0;background:none}.compact .bar-track i{width:85%}.compact .shot-column time,.compact .bar-value{display:none}.shots-muted{border-color:#34424b;background:#0a151d}.shots-muted h2{color:#c1ccd3;font-size:16px}.shots-muted h2 span{color:#9eacb6}.shots-confidence{margin-top:18px;padding-top:18px;border-top:1px solid #34424b}.shots-confidence strong{font-size:13px;color:#b6c6d0}.shots-confidence p{font-size:12px;color:#9cacb8}@media(max-width:1050px){.shots-confrontation{grid-template-columns:1fr}.shot-role{min-height:0}.shots-controls{gap:15px}}@media(max-width:650px){.shots-hero{padding:20px 15px}.shots-fixture{grid-template-columns:1fr 1fr;gap:14px}.shots-kickoff{grid-column:1/-1;grid-row:2}.shots-fixture h1{font-size:19px}.shots-two{grid-template-columns:1fr}.shots-section{padding:18px 12px}.shots-section h2{font-size:16px;flex-wrap:wrap}.estimate-unavailable{align-items:start;flex-direction:column}.shots-controls nav a{padding:10px 9px;font-size:12px}.shots-windows span{width:100%;margin:4px 0}.shot-number{font-size:26px}.shot-profile{padding:12px 10px}}

/* C10.1: only the enriched SHOTS view. */
.shots-enriched .shots-duel{min-width:0}.shots-enriched .shots-duel h3{font-size:15px;line-height:1.5;margin:0 0 14px;color:#edf3f5}.shots-enriched .shots-duel h3 span{color:#ffc107;padding:0 6px}.shots-enriched .shot-profile dl{margin-top:8px}.shots-enriched .shots-confrontation{gap:24px}.shots-enriched .shots-frequency{min-width:0;border:1px solid #29404c;border-radius:8px;padding:15px;background:#07141d}.shots-enriched .shots-frequency h3{font-size:15px;margin:0 0 14px}.shots-enriched .shots-frequency table{table-layout:fixed;width:100%}.shots-enriched .shots-frequency th,.shots-enriched .shots-frequency td{padding:12px 8px;font-size:13px;overflow-wrap:anywhere}.shots-enriched .shots-frequency thead th{color:#c6d3dd;font-weight:500;vertical-align:top}.shots-enriched .shots-frequency thead th:first-child{width:25%}.shots-enriched .shots-frequency small{display:block;color:#9db1c0;padding-top:6px}.shots-enriched .shots-frequency tbody th{color:#f0f4f6;font-weight:500;background:none}.shots-enriched .shots-frequency tbody td{font-size:21px;font-weight:750;color:#a9c6e5}.shots-enriched .shots-frequency tbody .freq-produced{color:#ffd057}.shots-enriched .shots-grid-note{font-size:12px;color:#9bacb9;line-height:1.6}.shots-enriched .shots-data-notes{border-top:1px solid #34424b;margin-top:24px;padding:20px 4px;color:#a8b9c6;font-size:13px}.shots-enriched .shots-data-notes summary{cursor:pointer;font-weight:650;color:#ced9e0}.shots-enriched .shots-data-notes p{font-size:13px}.shots-enriched .shot-column time{writing-mode:horizontal-tb;transform:none;height:auto;font-size:10px}.shots-enriched .shots-section{margin-top:20px}.shots-enriched .shot-chart.compact{display:none}.shots-enriched .shot-role{min-height:46px}.shots-enriched .shot-number{margin:14px 0 20px;font-size:35px}@media(max-width:650px){.shots-enriched .shots-frequency{padding:12px 8px}.shots-enriched .shots-frequency th,.shots-enriched .shots-frequency td{padding:10px 5px;font-size:12px}.shots-enriched .shots-frequency tbody td{font-size:19px}.shots-enriched .shot-number{font-size:29px}.shots-enriched .shots-duel h3{font-size:14px}.shots-enriched .shot-role{font-size:12px!important}.shots-enriched .shot-profile{padding:12px 9px}}

/* C10.2: guided reading scoped to SHOTS only. */
.shots-cognitive .cognitive-intro{color:#d3dce2;font-size:16px;line-height:1.6;margin:25px 0}.shots-cognitive .cognitive-intro small{font-size:13px;color:#9bacbb}.shots-cognitive .cognitive-journey{padding:28px}.shots-cognitive .cognitive-journey>h2{font-size:23px;display:block;line-height:1.5}.shots-cognitive .cognitive-against{font-size:16px;color:#adbdc9!important;font-weight:400;margin-left:8px}.shots-cognitive .cognitive-matchup{display:grid;grid-template-columns:1fr 135px 1fr;gap:12px;align-items:stretch;margin:24px 0 30px}.shots-cognitive .cognitive-value{background:#06141c;border:1px solid #2c414d;border-radius:8px;padding:24px}.shots-cognitive .cognitive-value h3{font-size:20px;line-height:1.4;margin:0 0 16px}.shots-cognitive .cognitive-value h3 span{display:block;color:#aebfce;font-weight:400}.shots-cognitive .cognitive-number{display:block;font-size:58px;color:#ffce43;line-height:1.15;letter-spacing:-1px}.shots-cognitive .blue .cognitive-number{color:#a7c6e6}.shots-cognitive .cognitive-value p{font-size:14px;margin:12px 0 24px}.shots-cognitive .cognitive-meta{display:flex;flex-direction:column;gap:7px;font-size:14px;color:#d5e0e7}.shots-cognitive .cognitive-connector{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;text-transform:uppercase;letter-spacing:.06em;font-size:10px;color:#b2c2cc;line-height:1.7}.shots-cognitive .cognitive-connector>span{font-size:30px;color:#ffca2b;margin-bottom:8px}.shots-cognitive .cognitive-frequency-section{border-top:1px solid #2c414d;padding-top:20px}.shots-cognitive .cognitive-frequency-section>h3{font-size:20px;margin:0}.shots-cognitive .cognitive-frequency-section>p{font-size:14px}.shots-cognitive .cognitive-frequencies{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}.shots-cognitive .cognitive-threshold{border:1px solid #304653;background:#07151f;border-radius:8px;padding:20px}.shots-cognitive .cognitive-threshold h4{color:#ffce43;font-size:29px;margin:0 0 20px}.shots-cognitive .cognitive-threshold h4 span{font-size:15px;color:#d6e0e7;font-weight:400}.shots-cognitive .cognitive-threshold p{font-size:13px;line-height:1.6;margin:18px 0}.shots-cognitive .cognitive-threshold strong{display:block;font-size:21px;line-height:1.4;color:#f6f8fa;margin-top:5px}.shots-cognitive .cognitive-threshold p+p{border-top:1px solid #243c49;padding-top:14px}.shots-cognitive .cognitive-all{margin:14px 0 25px}.shots-cognitive summary{cursor:pointer;color:#d2dde5;padding:10px 0;font-size:14px}.shots-cognitive summary:hover{color:#ffce43}.shots-cognitive .cognitive-all .shots-frequency{margin-top:12px}.shots-cognitive .cognitive-reading{border-left:3px solid #ffc107;background:linear-gradient(120deg,#20241f,#0b1b22);padding:26px;border-radius:0 8px 8px 0;margin:28px 0}.shots-cognitive .cognitive-kicker{color:#ffcf48;font-size:11px;letter-spacing:.14em;margin:0 0 8px}.shots-cognitive .cognitive-reading h3{font-size:25px;margin:0 0 18px}.shots-cognitive .cognitive-reading p:not(.cognitive-kicker){font-size:16px;line-height:1.8;max-width:900px;color:#ccd8e0}.shots-cognitive .cognitive-reading strong{color:#fff}.shots-cognitive .cognitive-reading small{color:#a3b5c0;font-size:12px}.shots-cognitive .cognitive-deeper{border-top:1px solid #30434f;padding:12px 0}.shots-cognitive .cognitive-deeper>.shots-two{padding-top:12px}.shots-cognitive .cognitive-deeper dl>div{display:flex;justify-content:space-between;border-bottom:1px solid #273d49;padding:8px}.shots-cognitive .cognitive-deeper dt,.shots-cognitive .cognitive-deeper dd{font-size:14px;margin:0}@media(max-width:650px){.shots-cognitive .cognitive-journey{padding:20px 14px}.shots-cognitive .cognitive-journey>h2{font-size:20px}.shots-cognitive .cognitive-against{display:block;margin:2px 0 0}.shots-cognitive .cognitive-matchup{grid-template-columns:1fr;gap:8px;margin-top:18px}.shots-cognitive .cognitive-connector{flex-direction:row;gap:12px;padding:4px;font-size:10px}.shots-cognitive .cognitive-connector>span{display:inline-block;transform:rotate(90deg);margin:0;font-size:24px}.shots-cognitive .cognitive-value{padding:20px}.shots-cognitive .cognitive-number{font-size:50px}.shots-cognitive .cognitive-frequencies{grid-template-columns:1fr;gap:12px}.shots-cognitive .cognitive-threshold{padding:18px}.shots-cognitive .cognitive-threshold h4{font-size:26px;margin-bottom:12px}.shots-cognitive .cognitive-threshold p{font-size:14px}.shots-cognitive .cognitive-threshold strong{font-size:22px}.shots-cognitive .cognitive-reading{padding:20px 17px}.shots-cognitive .cognitive-reading h3{font-size:22px}.shots-cognitive .cognitive-reading p:not(.cognitive-kicker){font-size:15px;line-height:1.8}}


/* PLAYER-5E.1 — certified Players desktop view */
.players-page{margin-top:10px}.players-controls{display:flex;justify-content:space-between;gap:30px;align-items:flex-end;padding:22px 24px;margin:18px 0;border:1px solid #344a56;border-radius:10px;background:linear-gradient(120deg,#0d1b23,#07131b)}.players-controls h2{margin:5px 0 2px}.players-controls p{margin:4px 0;max-width:680px;font-size:13px}.player-windows{margin:0;flex-wrap:nowrap}.player-windows a{white-space:nowrap;font-size:12px;padding:10px 12px}.players-teams{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}.players-team{min-width:0}.players-team-head{display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid #d9a91a;padding:13px 5px;margin-bottom:12px}.players-team-head span{font-size:10px;letter-spacing:.16em;color:#9db0bc}.players-team-head h2{margin:4px 0;font-size:20px}.players-team-head>strong{font-size:12px;color:#aebfc9}.player-card{border:1px solid #29424f;background:#081821;border-radius:9px;padding:16px;margin-bottom:12px}.player-identity{display:flex;align-items:center;gap:14px}.player-number{width:43px;height:43px;display:grid;place-items:center;border-radius:50%;background:#ffc107;color:#071018;font-weight:850;font-size:13px}.player-identity h3{margin:0;font-size:17px}.player-identity p{margin:3px 0;font-size:11px;line-height:1.4;color:#8fa5b2}.player-stats{display:grid;grid-template-columns:repeat(6,1fr);gap:5px;margin:15px 0}.player-stats>div{background:#0c202b;border:1px solid #223b48;border-radius:6px;padding:9px 5px;text-align:center}.player-stats span{display:block;color:#93a9b6;font-size:9px;min-height:23px}.player-stats strong{display:block;color:#f5f7f8;font-size:17px}.player-averages{display:flex;gap:16px;border-top:1px solid #233a46;padding-top:10px;font-size:11px;color:#9fb1bc}.player-averages strong{color:#ffc107}.player-history{margin-top:12px;border-top:1px solid #233a46;padding-top:9px}.player-history summary{cursor:pointer;color:#b9c8d1;font-size:11px}.player-history table{font-size:11px;margin-top:10px}.player-history th,.player-history td{padding:7px 5px}.players-note{font-size:11px;color:#8ea3af;border-top:1px solid #293e49;padding-top:15px}.players-state{padding:35px;border:1px solid #394d58;border-radius:9px;background:#091923}

@media(max-width:1000px){.players-teams{grid-template-columns:1fr}.players-controls{align-items:flex-start;flex-direction:column}.player-windows{flex-wrap:wrap}.player-stats{grid-template-columns:repeat(3,1fr)}}

@media(max-width:650px){.players-controls{padding:18px 14px}.player-windows{gap:5px}.player-windows a{padding:8px;font-size:11px}.player-card{padding:13px 10px}.player-stats{grid-template-columns:repeat(3,1fr)}.player-history{overflow:auto}.player-history table{min-width:620px}.players-team-head h2{font-size:18px}}


/* SHOOTDATA PLAYER-5E.2 */
.players-page{display:grid;gap:18px}
.players-hero{border:1px solid #294553;border-radius:12px;padding:24px;display:flex;justify-content:space-between;align-items:flex-end;gap:24px;background:#071822}
.players-hero h2{margin:7px 0 5px;font-size:22px}
.players-hero p{margin:0;color:#b5c5cf;font-size:13px}
.players-eyebrow{font-size:12px;font-weight:800;letter-spacing:3px;color:#ffc400}
.players-windows{display:flex;gap:10px;flex-wrap:wrap}
.players-window{border:1px solid #35505d;border-radius:6px;padding:11px 15px;text-decoration:none;color:#eef5f8;font-size:12px}
.players-window.active{background:#ffc400;color:#07131a;border-color:#ffc400}

.players-team-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.players-team-tab{background:#071822;border:1px solid #294553;border-radius:10px;padding:14px 18px;color:#eef5f8;text-align:left;cursor:pointer;display:flex;justify-content:space-between;align-items:center}
.players-team-tab strong{font-size:16px}
.players-team-tab span{font-size:11px;color:#9db1bd}
.players-team-tab.active{border-color:#ffc400;box-shadow:inset 0 -2px #ffc400}

.players-workspace{display:grid;grid-template-columns:minmax(300px,36%) minmax(0,64%);gap:16px;align-items:start}
.players-browser,.players-detail{border:1px solid #294553;border-radius:12px;background:#071822}
.players-browser{overflow:hidden}
.players-browser-head{padding:16px;border-bottom:1px solid #294553;display:grid;gap:4px}
.players-browser-head span{font-size:10px;letter-spacing:1.5px;color:#93aab6}
.players-browser-head strong{font-size:17px}

.players-list{max-height:680px;overflow:auto}
.players-list-row{width:100%;border:0;border-bottom:1px solid #203946;background:transparent;color:#eef5f8;padding:12px;display:grid;grid-template-columns:42px minmax(0,1fr) 42px 42px 42px;gap:8px;align-items:center;text-align:left;cursor:pointer}
.players-list-row:hover,.players-list-row.active{background:#0c2530}
.players-list-row.active{box-shadow:inset 3px 0 #ffc400}
.players-list-number,.players-detail-number{display:grid;place-items:center;border-radius:50%;background:#ffc400;color:#06131a;font-weight:900}
.players-list-number{width:34px;height:34px;font-size:11px}
.players-list-main{display:grid;gap:3px;min-width:0}
.players-list-main strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.players-list-main small{font-size:10px;color:#93aab6}
.players-list-stat{display:grid;text-align:center;gap:2px}
.players-list-stat small{font-size:9px;color:#93aab6}
.players-list-stat b{font-size:13px}

.players-detail{padding:22px}
.players-detail-head{display:flex;align-items:center;gap:15px;padding-bottom:18px;border-bottom:1px solid #294553}
.players-detail-number{width:52px;height:52px}
.players-detail-head h2{font-size:24px;margin:3px 0}
.players-detail-head p{margin:0;color:#9db1bd;font-size:12px}

.players-detail-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-top:18px}
.players-detail-stat{background:#0b2530;border:1px solid #294553;border-radius:7px;padding:13px 8px;text-align:center;display:grid;gap:6px}
.players-detail-stat small{font-size:10px;color:#9db1bd}
.players-detail-stat strong{font-size:20px}

.players-detail-trends{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
.players-detail-trends div{padding:13px;border-bottom:1px solid #294553;display:flex;justify-content:space-between}
.players-detail-trends span{font-size:12px;color:#b4c4cc}
.players-detail-trends strong{color:#ffc400}

.players-history-title{margin-top:22px;padding-bottom:10px;font-weight:700;font-size:13px}
.players-history-scroll{overflow:auto}
.players-history{width:100%;border-collapse:collapse;font-size:11px}
.players-history th,.players-history td{padding:10px 8px;border-bottom:1px solid #203946;text-align:left;white-space:nowrap}
.players-history th{color:#8fa6b2;font-size:9px;text-transform:uppercase}
.players-footnote{font-size:11px;color:#8fa6b2;margin:0 3px}

@media(max-width:900px){
 .players-workspace{grid-template-columns:1fr}
 .players-list{max-height:330px}
 .players-detail-stats{grid-template-columns:repeat(3,1fr)}
}

@media(max-width:650px){
 .players-hero{display:grid;padding:17px}
 .players-windows{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}
 .players-window{text-align:center;padding:9px 5px;font-size:10px}
 .players-team-tabs{grid-template-columns:1fr 1fr}
 .players-team-tab{display:grid;padding:11px}
 .players-team-tab strong{font-size:12px}
 .players-team-tab span{font-size:9px;margin-top:3px}
 .players-workspace{gap:12px}
 .players-list-row{grid-template-columns:38px minmax(0,1fr) 36px 36px 36px;padding:10px 8px}
 .players-list-main strong{font-size:13px}
 .players-detail{padding:15px}
 .players-detail-head h2{font-size:20px}
 .players-detail-stats{grid-template-columns:repeat(3,1fr)}
 .players-detail-stat strong{font-size:17px}
}


/* SHOOTDATA ESTIMATION 13J */
.estimate-card{
 border-color:#806b28;
 background:linear-gradient(120deg,#141c20,#081820);
 padding:26px;
 margin:10px 0 18px
}
.estimate-card h3{
 margin:6px 0 20px;
 font-size:19px
}
.estimate-grid{
 display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:16px
}
.estimate-team{
 border:1px solid #344a56;
 border-radius:8px;
 padding:20px;
 background:#07151e
}
.estimate-team>span{
 display:block;
 color:#c8d5dc;
 font-size:13px;
 margin-bottom:8px
}
.estimate-team>strong{
 display:block;
 color:#ffc107;
 font-size:30px;
 line-height:1.2
}
.estimate-team p{
 margin:10px 0 5px;
 font-size:13px
}
.estimate-team p b{
 color:#fff
}
.estimate-team small{
 font-size:11px;
 color:#a9bbc5
}
.estimate-note{
 border-top:1px solid #30434f;
 margin:20px 0 0;
 padding-top:15px;
 font-size:12px;
 color:#98acb8
}
@media(max-width:650px){
 .estimate-grid{grid-template-columns:1fr}
 .estimate-team>strong{font-size:26px}
 .estimate-card{padding:20px 14px}
}


/* SHOOTDATA 15C — HOME V1 */
.site-header{min-height:78px;padding:0 5%;gap:34px;position:relative;z-index:10}
.site-header .brand{flex:0 0 auto}
.site-nav{display:flex;align-items:stretch;gap:4px;margin:0;flex:1}
.site-nav a,.site-nav>span{display:flex;align-items:center;padding:28px 13px 24px;border:0;border-bottom:2px solid transparent;border-radius:0;color:#aabcc6;font-size:13px}
.site-nav a.active{color:#fff;border-bottom-color:#ffc107;background:transparent}
.site-nav>span{cursor:default;opacity:.72}
.site-actions{display:flex;align-items:center;gap:10px}
.local-mode{font-size:10px!important;color:#718792!important}
.premium-pill{border:1px solid #80691d;border-radius:5px;padding:7px 10px;color:#ffc107!important;font-weight:800;font-size:10px!important;letter-spacing:.08em}

.home-hero{min-height:430px;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.75fr);gap:60px;align-items:center;padding:60px 0 52px;border-bottom:1px solid #263b46}
.home-hero h1{font-size:clamp(38px,5vw,67px);max-width:820px;letter-spacing:-2.5px;margin:12px 0 18px}
.home-lead{font-size:16px;color:#d7e0e5;margin:0}
.home-promise{max-width:720px;font-size:14px;color:#94a9b5;margin:18px 0 25px}
.home-hero-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.home-hero-actions>span{font-size:11px;color:#788f9b}
.primary-action{display:inline-block;background:#ffc107;color:#061018!important;border-radius:5px;padding:13px 19px;font-size:13px;font-weight:850}
.home-data-panel{border:1px solid #665823;border-radius:12px;padding:30px;background:radial-gradient(circle at 50% 0,#2a2b20 0,#0c1b22 45%,#07131b 100%);box-shadow:0 20px 60px #0005}
.panel-kicker{display:block;color:#ffc107;font-size:10px;letter-spacing:.2em;margin-bottom:12px}
.home-data-panel>strong{font-size:20px;line-height:1.5}
.home-data-panel p{font-size:13px}
.data-flow{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-top:25px;border-top:1px solid #34434a;padding-top:20px}
.data-flow span{font-size:9px;font-weight:800;letter-spacing:.08em;color:#d5e0e5}
.data-flow b{color:#ffc107}

.home-shortcuts{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:22px 0;border-bottom:1px solid #263b46}
.home-shortcuts>a,.home-shortcuts>span{border:1px solid #253e4a;border-radius:8px;background:#081821;padding:17px 18px;display:grid;gap:5px}
.home-shortcuts strong{font-size:13px;color:#f0f4f6}
.home-shortcuts span span,.home-shortcuts a span{font-size:10px;color:#849aa6}
.home-shortcuts>a:hover{border-color:#a98721}
.shortcut-pending{opacity:.55}

.home-section{padding:45px 0}
.section-heading{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:22px}
.section-heading h2{font-size:29px;margin:5px 0}
.section-heading p:last-child{max-width:520px;text-align:right;font-size:12px;margin:0}
.match-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:12px;padding:10px 12px;background:#07151e;border:1px solid #233c48;border-radius:8px}
.date-nav,.competition-filter{display:flex;align-items:center;gap:12px}
.date-nav span{display:grid;place-items:center;width:29px;height:29px;border:1px solid #334b56;border-radius:5px;color:#ffc107}
.date-nav strong{font-size:11px;color:#bac9d1}
.competition-filter span{font-size:10px;padding:7px 10px;border-radius:4px;color:#8fa5b0}
.competition-filter .filter-active{background:#ffc107;color:#07131a;font-weight:800}

.home-match-list{border:1px solid #29404c;border-radius:10px;overflow:hidden;background:#07151d}
.home-match-row{display:grid;grid-template-columns:110px 120px minmax(280px,1fr) 90px 100px;gap:15px;align-items:center;padding:16px 18px;border-bottom:1px solid #223946;transition:.15s}
.home-match-row:last-child{border-bottom:0}
.home-match-row:hover{background:#0b202a;color:inherit}
.match-time{display:grid;gap:3px}
.match-time span{font-size:9px;color:#8197a3}
.match-time strong{font-size:17px;color:#f5f7f8}
.match-competition{font-size:8px;letter-spacing:.08em;color:#728995}
.match-competition strong{font-size:11px;color:#b5c5ce}
.match-teams{display:grid;grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr);gap:8px;align-items:center}
.match-teams strong{font-size:14px}
.match-teams strong:last-child{text-align:right}
.match-teams span{text-align:center;color:#637d8a}
.access-badge{justify-self:start;padding:6px 8px;border-radius:4px;font-size:9px;font-weight:900;letter-spacing:.05em}
.access-badge.free{background:#dfe9e2;color:#102419}
.access-badge.premium{background:#ffc107;color:#07131a}
.match-open{text-align:right;font-size:10px;color:#9cafb9}
.home-empty{padding:40px;text-align:center;border:1px solid #29404c;border-radius:9px;color:#91a6b1}
.home-pagination{justify-content:flex-end}
.home-pagination a{font-size:11px}

.home-method{margin:20px 0 40px;padding:34px;border:1px solid #665823;border-radius:10px;background:linear-gradient(120deg,#121d20,#07151d)}
.home-method h2{font-size:27px;margin:8px 0 25px}
.home-method>div{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.home-method>div>span{border-top:1px solid #44515a;padding-top:16px;display:grid;gap:5px}
.home-method b{font-size:10px;color:#ffc107}
.home-method strong{font-size:14px}
.home-method small{font-size:10px}

footer strong{color:#eef3f5}
footer span{display:inline-block;margin-top:5px;color:#738a96}

@media(max-width:1000px){
 .site-nav{display:none}
 .site-actions{margin-left:auto}
 .home-hero{grid-template-columns:1fr;gap:25px}
 .home-data-panel{max-width:650px}
 .home-shortcuts{grid-template-columns:repeat(2,1fr)}
 .home-match-row{grid-template-columns:90px 90px minmax(240px,1fr) 75px}
 .match-open{display:none}
}

@media(max-width:650px){
 .site-header{padding:16px;min-height:0}
 .local-mode{display:none}
 .home-hero{padding:35px 0}
 .home-hero h1{font-size:38px;letter-spacing:-1.5px}
 .home-data-panel{padding:22px 18px}
 .home-shortcuts{grid-template-columns:1fr 1fr}
 .section-heading{display:block}
 .section-heading p:last-child{text-align:left}
 .match-toolbar{align-items:flex-start;flex-direction:column}
 .home-match-list{border:0;background:transparent;display:grid;gap:10px}
 .home-match-row{grid-template-columns:70px 1fr auto;padding:15px;border:1px solid #29404c;border-radius:8px}
 .match-competition{display:none}
 .match-teams{grid-column:2/4;grid-row:1}
 .match-time{grid-column:1;grid-row:1}
 .access-badge{grid-column:3;grid-row:2}
 .home-method{padding:25px 18px}
 .home-method>div{grid-template-columns:1fr 1fr}
}


/* SHOOTDATA 15E — DATE DRIVEN HOME */
.date-nav>a{
 display:grid;
 place-items:center;
 width:34px;
 height:34px;
 border:1px solid #334b56;
 border-radius:5px;
 color:#ffc107;
 font-size:20px;
 line-height:1
}
.date-nav>a:hover{
 border-color:#ffc107;
 background:#101f27
}
.date-picker{
 display:flex;
 align-items:center;
 gap:9px;
 margin:0
}
.date-picker label{
 font-size:10px;
 text-transform:uppercase;
 letter-spacing:.08em;
 color:#8298a4
}
.date-picker input{
 margin:0;
 min-height:34px;
 padding:6px 9px;
 background:#0a1b24;
 border:1px solid #334b56;
 color:#eef3f5;
 font-size:12px
}
.home-empty{
 display:grid;
 gap:8px
}
.home-empty strong{
 color:#edf3f5;
 font-size:15px
}
.home-empty span{
 color:#8399a5;
 font-size:12px
}
.access-badge.unknown{
 border:1px solid #415661;
 color:#9fb1ba;
 background:transparent
}

@media(max-width:650px){
 .date-nav{
  width:100%;
  justify-content:space-between
 }
 .date-picker{
  flex:1;
  justify-content:center
 }
}


/* SHOOTDATA MATCH DESIGN SYSTEM V1
   Page Match only. Home's match-* utilities are intentionally preserved. */
.match-page-v1 {
 --match-gold:#d5bc7b;
 --match-text:#edf1f3;
 --match-muted:#a1b1bc;
 --match-line:rgba(173,192,202,.16);
 width:100%;color:var(--match-text);
}
.match-page-v1 .eyebrow {color:var(--match-gold);font-size:10px;letter-spacing:.18em;line-height:1.6}
.match-page-v1 .match-back {display:inline-flex;margin:4px 0 20px;font-size:12px;color:var(--match-muted)}
.match-page-v1 a:hover {color:var(--match-gold)}
.match-page-v1 a:focus-visible {outline:2px solid var(--match-gold);outline-offset:4px}
.match-page-v1 .match-hero-v1 {
 position:relative;isolation:isolate;overflow:hidden;border:1px solid var(--match-line);border-radius:16px;
 background:radial-gradient(ellipse at 50% -35%,rgba(213,188,123,.16),transparent 65%),linear-gradient(135deg,#101d25,#07131b);
 box-shadow:0 18px 48px #0004;
}
.match-page-v1 .match-hero-meta {display:flex;justify-content:center;flex-direction:column;align-items:center;gap:5px;padding:15px 24px;border-bottom:1px solid var(--match-line);color:var(--match-muted);font-size:10px;letter-spacing:.1em;text-transform:uppercase}
.match-page-v1 .match-hero-meta span:last-child {font-size:11px;letter-spacing:.06em;color:var(--match-text)}
.match-page-v1 .match-hero-fixture {display:grid;grid-template-columns:minmax(0,1fr) 144px minmax(0,1fr);align-items:center;gap:20px;min-height:200px;padding:30px 36px}
.match-page-v1 .match-hero-team {min-width:0;overflow-wrap:anywhere;padding-block:8px;align-self:stretch;display:grid;grid-template-rows:auto 1fr}
.match-page-v1 .match-hero-team.home {text-align:right}
.match-page-v1 .match-hero-team.away {text-align:left}
.match-page-v1 .match-team-side {display:block;margin-bottom:12px;color:var(--match-muted);font-size:10px;letter-spacing:.18em}
.match-page-v1 .match-hero-team h1 {align-self:center;margin:0;font-size:clamp(24px,3.2vw,42px);line-height:1.12;letter-spacing:-.035em;text-transform:uppercase;text-wrap:balance}
.match-page-v1 .match-hero-center {display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:22px 56px 22px;justify-items:center;align-items:center;gap:8px}
.match-page-v1 .match-hero-center .access-badge {grid-column:1;grid-row:1;justify-self:center;align-self:center;border:1px solid rgba(213,188,123,.3);background:rgba(213,188,123,.07);color:var(--match-gold);border-radius:20px;padding:5px 10px;font-size:9px;letter-spacing:.12em}
.match-page-v1 .match-hero-center .access-badge.free {color:#bdd3c6;border-color:#bdd3c633;background:#bdd3c609}
.match-page-v1 .match-hero-center .access-badge.unknown {color:var(--match-muted);border-color:var(--match-line);background:transparent}
.match-page-v1 .match-hero-center>strong {grid-column:1;grid-row:2;display:grid;place-items:center;width:56px;height:56px;border:1px solid rgba(213,188,123,.35);border-radius:50%;color:var(--match-gold);font-size:13px;font-weight:600;letter-spacing:.1em;background:#07131b80;box-shadow:0 0 30px #d5bc7b08}
.match-page-v1 .match-hero-center small {grid-column:1;grid-row:3;font-size:8px;letter-spacing:.1em;text-align:center;color:var(--match-muted);line-height:1.25}
.match-page-v1 .match-hero-promise {display:flex;justify-content:center;flex-wrap:wrap;align-items:center;gap:16px;padding:14px;border-top:1px solid var(--match-line);color:var(--match-muted);font-size:9px;letter-spacing:.14em;background:#07131b50}
.match-page-v1 .match-hero-promise b {color:var(--match-gold);font-weight:400}
.match-page-v1 .match-tabs-v1 {position:sticky;top:0;z-index:20;display:flex;flex-wrap:nowrap;justify-content:center;gap:14px;margin:18px 0 26px;padding:3px 16px;border:1px solid var(--match-line);border-radius:10px;background:#08151bf5;backdrop-filter:blur(12px);overflow-x:auto}
.match-page-v1 .match-tabs-v1 a {flex:0 0 auto;min-width:108px;padding:15px 18px;border:0;border-bottom:2px solid transparent;border-radius:0;color:var(--match-muted);font-size:12px;text-align:center}
.match-page-v1 .match-tabs-v1 a:hover {color:var(--match-text);background:#ffffff04}
.match-page-v1 .match-tabs-v1 a.active {color:var(--match-gold);background:transparent;border-bottom-color:var(--match-gold);font-weight:650}
.match-page-v1 .match-overview-heading {display:flex;justify-content:space-between;align-items:center;gap:16px;margin:28px 0 16px}
.match-page-v1 .match-overview-heading p {margin:0}
.match-page-v1 .match-overview-heading h2 {margin:0;font-size:20px;letter-spacing:-.02em}
.match-page-v1 .match-reference-summary {margin:0 0 28px;overflow:hidden;border:1px solid rgba(213,188,123,.36);border-radius:16px;background:radial-gradient(ellipse at 50% 0,rgba(213,188,123,.07),transparent 65%),linear-gradient(140deg,#101d24,#07131b);box-shadow:0 16px 44px #0003}
.match-page-v1 .match-reference-head {display:flex;justify-content:space-between;align-items:center;gap:32px;padding:24px 32px;border-bottom:1px solid var(--match-line)}
.match-page-v1 .match-reference-head .eyebrow {margin:0 0 8px}
.match-page-v1 .match-reference-head h2 {margin:0;font-size:clamp(20px,2.4vw,27px);letter-spacing:-.025em;line-height:1.25}
.match-page-v1 .match-reference-head>p {max-width:350px;margin:0;font-size:12px;line-height:1.6;color:var(--match-muted)}
.match-page-v1 .match-reference-teams {display:grid;grid-template-columns:minmax(0,1fr) 56px minmax(0,1fr);align-items:center;gap:12px;padding:18px 32px;border-bottom:1px solid var(--match-line);background:#ffffff02}
.match-page-v1 .match-reference-teams strong {font-size:16px;text-transform:uppercase;overflow-wrap:anywhere}
.match-page-v1 .match-reference-teams strong:last-child {text-align:right}
.match-page-v1 .match-reference-teams span {text-align:center;font-size:10px;letter-spacing:.12em;color:var(--match-muted)}
.match-page-v1 .match-reference-grid {display:grid;grid-template-columns:1fr}
.match-page-v1 .match-reference-row {display:grid;grid-template-columns:minmax(0,1fr) 56px minmax(0,1fr);gap:6px 12px;align-items:start;padding:11px 32px;border-bottom:1px solid var(--match-line)}
.match-page-v1 .match-reference-row:last-child {border-bottom:0}
.match-page-v1 .match-reference-title {grid-column:1/-1;text-align:center;margin-bottom:0;font-size:11px;line-height:1.3;font-weight:700;letter-spacing:.18em;color:var(--match-gold)}
.match-page-v1 .match-reference-side {min-width:0;overflow-wrap:anywhere}
.match-page-v1 .match-reference-side.away {text-align:right}
/* Repeated labels remain accessible without competing with the values. */
.match-page-v1 .match-reference-label {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.match-page-v1 .match-reference-side>strong {display:block;font-size:clamp(36px,4.5vw,52px);line-height:1;font-weight:650;letter-spacing:-.045em;font-variant-numeric:tabular-nums;color:var(--match-gold)}
.match-page-v1 .match-reference-side>small {display:block;margin-top:2px;color:#bac7ce;font-size:11px;line-height:1.2}
.match-page-v1 .match-reference-side p {margin:8px 0 4px;font-size:12px;line-height:1.4;color:var(--match-muted)}
.match-page-v1 .match-reference-side p b {margin-left:5px;color:var(--match-text);font-size:16px;font-weight:550;font-variant-numeric:tabular-nums}
.match-page-v1 .match-reference-solidity {display:block;color:var(--match-muted);font-size:11px;line-height:1.3}
.match-page-v1 .match-reference-vs {text-align:center;color:#d5bc7b70;font-size:18px;font-weight:400;align-self:center}
.match-page-v1 .match-reference-note {margin:0;padding:14px 32px;border-top:1px solid var(--match-line);font-size:11px;line-height:1.7;color:var(--match-muted)}
/* Existing overview cards retain their markup and data. */
.match-page-v1 .card,.match-page-v1 .estimate-card {border-color:var(--match-line);background:linear-gradient(135deg,#10212a40,#08151b60);border-radius:12px;box-shadow:none}
.match-page-v1 .cards {grid-template-columns:repeat(2,minmax(0,1fr))}
.match-page-v1 .card {min-width:0;overflow-wrap:anywhere}
.match-page-v1 .estimate-team>strong,.match-page-v1 .estimate-team p b {color:var(--match-gold)}
@media(max-width:900px) {
 .match-page-v1 .match-hero-fixture {grid-template-columns:minmax(0,1fr) 100px minmax(0,1fr);padding:30px 24px;gap:14px}
 .match-page-v1 .match-reference-head {align-items:flex-start;gap:20px}
 .match-page-v1 .match-tabs-v1 {justify-content:flex-start}
}
@media(max-width:650px) {
 .match-page-v1 .match-back {margin-bottom:14px}
 .match-page-v1 .match-hero-v1,.match-page-v1 .match-reference-summary {border-radius:12px}
 .match-page-v1 .match-hero-meta {padding:14px 12px;font-size:9px;gap:5px;letter-spacing:.05em}
 .match-page-v1 .match-hero-meta span:last-child {font-size:10px}
 .match-page-v1 .match-hero-fixture {grid-template-columns:minmax(0,1fr) 64px minmax(0,1fr);padding:28px 14px;gap:10px;min-height:170px}
 .match-page-v1 .match-hero-team h1 {font-size:clamp(17px,4.7vw,28px);line-height:1.2}
 .match-page-v1 .match-team-side {font-size:8px;letter-spacing:.08em;margin-bottom:10px}
 .match-page-v1 .match-hero-center {grid-template-rows:20px 40px 20px;gap:7px}
 .match-page-v1 .match-hero-center>strong {width:40px;height:40px;font-size:11px}
 .match-page-v1 .match-hero-center .access-badge {padding:4px 6px;font-size:8px;letter-spacing:.05em}
 .match-page-v1 .match-hero-center small {font-size:7px;letter-spacing:0;line-height:1.2}
 .match-page-v1 .match-hero-promise {gap:8px;font-size:8px;letter-spacing:.04em;padding:13px 10px}
 .match-page-v1 .match-tabs-v1 {margin:14px 0 22px;padding:3px 5px;gap:5px}
 .match-page-v1 .match-tabs-v1 a {min-width:auto;padding:14px 13px;font-size:12px}
 .match-page-v1 .match-overview-heading {flex-direction:column;align-items:flex-start;gap:6px;margin:22px 0 14px}
 .match-page-v1 .match-overview-heading h2 {font-size:19px}
 .match-page-v1 .match-reference-head {display:block;padding:20px 18px}
 .match-page-v1 .match-reference-head>p {margin-top:10px;max-width:none}
 .match-page-v1 .match-reference-teams {padding:16px 18px;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);gap:8px}
 .match-page-v1 .match-reference-teams strong {font-size:12px;line-height:1.5}
 .match-page-v1 .match-reference-row {padding:9px 18px;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);gap:8px}
 .match-page-v1 .match-reference-title {margin-bottom:0;font-size:10px}
 .match-page-v1 .match-reference-side>strong {font-size:36px}
 .match-page-v1 .match-reference-side p {font-size:11px;line-height:1.35}
 .match-page-v1 .match-reference-side p b {display:block;margin:3px 0 0;font-size:15px}
 .match-page-v1 .match-reference-note {padding:16px 18px}
 .match-page-v1 .cards {grid-template-columns:1fr}
 .match-page-v1 .card {padding:20px 16px}
}


/* SHOOTDATA SHOTS V2 */

.shots-v2{
  max-width:1100px;
  margin:0 auto;
  padding-bottom:40px;
  color:#f4f6f8;
}

.shots-v2 .shots-back{
  display:inline-flex;
  margin:8px 0 18px;
  color:#a9beca;
  font-size:12px;
}

.shots-v2 .shots-hero{
  margin:0;
  overflow:hidden;
  background:linear-gradient(145deg,#101e25,#07131b);
  border:1px solid #263d49;
  border-radius:12px;
}

.shots-v2 .shots-league{
  margin:0;
  padding:12px 18px;
  text-align:center;
  border-bottom:1px solid #20343f;
  color:#a9bac5;
  font-size:9px;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.shots-v2 .shots-fixture{
  display:grid;
  grid-template-columns:1fr 150px 1fr;
  align-items:center;
  gap:20px;
  padding:26px 32px;
}

.shots-v2 .shots-fixture>div:first-child{
  text-align:right;
}

.shots-v2 .shots-fixture>div:last-child{
  text-align:left;
}

.shots-v2 .shots-fixture h1{
  margin:5px 0 0;
  font-size:clamp(24px,3vw,38px);
  line-height:1.1;
  text-transform:uppercase;
  letter-spacing:-.04em;
}

.shots-v2 .shots-fixture p{
  margin:0;
  color:#9fb1bc;
  font-size:9px;
  letter-spacing:.15em;
  text-transform:uppercase;
}

.shots-v2 .shots-kickoff{
  text-align:center;
}

.shots-v2 .shots-kickoff p{
  margin-bottom:9px;
  color:#c7d2d9;
  font-size:10px;
  letter-spacing:.08em;
}

.shots-v2 .badge{
  display:inline-block;
  padding:5px 9px;
  border:1px solid #d5bc7b55;
  border-radius:14px;
  color:#d5bc7b;
  font-size:8px;
  letter-spacing:.12em;
}

.shots-v2 .shots-v2-navigation{
  margin:14px 0 25px;
}

.shots-v2 .shots-v2-tabs,
.shots-v2 .shots-v2-windows{
  display:flex;
  gap:4px;
  overflow-x:auto;
  scrollbar-width:none;
}

.shots-v2 .shots-v2-tabs{
  border:1px solid #203741;
  border-radius:9px;
  background:#07151d;
  padding:3px;
}

.shots-v2 .shots-v2-tabs a{
  flex:1 0 auto;
  min-width:86px;
  padding:11px 12px;
  border-bottom:2px solid transparent;
  color:#9eb0bc;
  text-align:center;
  font-size:11px;
}

.shots-v2 .shots-v2-tabs a.active{
  color:#d5bc7b;
  border-bottom-color:#d5bc7b;
}

.shots-v2 .shots-v2-windows{
  justify-content:center;
  align-items:center;
  margin-top:8px;
}

.shots-v2 .shots-v2-windows span{
  color:#718692;
  font-size:10px;
  margin-right:5px;
}

.shots-v2 .shots-v2-windows a{
  padding:6px 10px;
  border-radius:5px;
  color:#9eb0bc;
  font-size:10px;
}

.shots-v2 .shots-v2-windows a.active{
  background:#d5bc7b;
  color:#07121a;
  font-weight:700;
}

.shots-v2 .shots-v2-intro{
  display:flex;
  justify-content:space-between;
  gap:35px;
  align-items:end;
  margin:0 0 18px;
  padding:0 2px;
}

.shots-v2 .shots-v2-intro h2{
  margin:2px 0 0;
  font-size:24px;
  letter-spacing:-.025em;
}

.shots-v2 .shots-v2-intro>p{
  max-width:470px;
  margin:0;
  color:#9fb1bc;
  font-size:12px;
  line-height:1.65;
}

.shots-v2 .shots-v2-kicker{
  margin:0 0 7px;
  color:#d5bc7b;
  font-size:9px;
  letter-spacing:.18em;
  font-weight:700;
}

.shots-v2 .shots-v2-team{
  margin:0 0 24px;
  padding:22px;
  border:1px solid #263d49;
  border-radius:12px;
  background:linear-gradient(140deg,#0d1c24,#07131b);
}

.shots-v2 .shots-v2-team-head{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:start;
  margin-bottom:17px;
}

.shots-v2 .shots-v2-team-head h2{
  margin:0;
  font-size:21px;
}

.shots-v2 .shots-v2-team-head>div>p:last-child{
  margin:7px 0 0;
  color:#8fa4b0;
  font-size:11px;
}

.shots-v2 .shots-v2-tag{
  padding:5px 9px;
  border:1px solid #304652;
  border-radius:14px;
  color:#aabcc6;
  font-size:9px;
  white-space:nowrap;
}

.shots-v2 .shots-v2-stats-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.shots-v2 .shots-v2-stat{
  padding:18px;
  border:1px solid #2a414d;
  border-radius:9px;
  background:#06131b;
}

.shots-v2 .shots-v2-stat.blue{
  border-color:#2b4357;
}

.shots-v2 .shots-v2-label{
  margin:0;
  color:#dce5ea;
  font-size:12px;
  font-weight:700;
}

.shots-v2 .shots-v2-context{
  margin:5px 0 15px;
  color:#8fa4b0;
  font-size:10px;
}

.shots-v2 .shots-v2-main{
  display:block;
  color:#d5bc7b;
  font-size:43px;
  line-height:1;
}

.shots-v2 .shots-v2-stat.blue .shots-v2-main{
  color:#9ab9d8;
}

.shots-v2 .shots-v2-main span{
  font-size:11px;
  color:#a8bac5;
  font-weight:400;
}

.shots-v2 .shots-v2-ref{
  display:grid;
  grid-template-columns:1fr 1fr;
  margin-top:17px;
  border-top:1px solid #223741;
}

.shots-v2 .shots-v2-ref span{
  padding-top:10px;
}

.shots-v2 .shots-v2-ref span+span{
  padding-left:15px;
  border-left:1px solid #223741;
}

.shots-v2 .shots-v2-ref small{
  display:block;
  color:#718692;
  font-size:9px;
}

.shots-v2 .shots-v2-ref b{
  display:block;
  margin-top:4px;
  color:#e5edf1;
  font-size:14px;
}

.shots-v2 .shots-v2-coverage{
  margin:12px 0 0;
  color:#718692;
  font-size:9px;
}

.shots-v2 .shots-v2-chart-block,
.shots-v2 .shots-v2-threshold-block{
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid #233943;
}

.shots-v2 .shots-v2-chart-head{
  display:flex;
  justify-content:space-between;
  gap:15px;
  align-items:end;
}

.shots-v2 .shots-v2-chart-head h3,
.shots-v2 .shots-v2-threshold-block h3{
  margin:0;
  font-size:17px;
}

.shots-v2 .shots-v2-chart-head>small{
  color:#718692;
  font-size:9px;
}

.shots-v2 .shots-v2-charts-two{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:13px;
}

.shots-v2 .shots-v2-charts-two article{
  padding:13px 12px;
  border:1px solid #223b47;
  border-radius:8px;
  background:#06131b;
}

.shots-v2 .shots-v2-charts-two h4{
  margin:0 0 6px;
  color:#cdd9df;
  font-size:11px;
}

.shots-v2 .shots-v2-chart{
  display:flex;
  align-items:end;
  gap:5px;
  min-height:165px;
  padding:9px 0 0;
  overflow-x:auto;
}

.shots-v2 .shots-v2-bar{
  min-width:32px;
  flex:1;
  text-align:center;
}

.shots-v2 .shots-v2-bar>strong{
  display:block;
  margin-bottom:4px;
  color:#dce5ea;
  font-size:9px;
}

.shots-v2 .shots-v2-track{
  height:112px;
  display:flex;
  align-items:end;
  justify-content:center;
  border-bottom:1px solid #49606b;
  background:repeating-linear-gradient(
    to top,
    transparent 0,
    transparent 27px,
    #182b35 28px
  );
}

.shots-v2 .shots-v2-track i{
  display:block;
  width:70%;
  max-width:22px;
  min-height:2px;
  background:linear-gradient(#f4d77e,#c99e3b);
}

.shots-v2 .shots-v2-chart.blue .shots-v2-track i{
  background:linear-gradient(#b5cde4,#6689aa);
}

.shots-v2 .shots-v2-bar time{
  display:block;
  margin-top:6px;
  color:#718692;
  font-size:8px;
}

.shots-v2 .shots-v2-threshold-block h3{
  margin-bottom:5px;
}

.shots-v2 .shots-v2-help{
  margin:6px 0 13px;
  color:#718692;
  font-size:10px;
}

.shots-v2 .shots-v2-thresholds{
  display:flex;
  flex-direction:column;
  gap:7px;
}

.shots-v2 .shots-v2-threshold-row{
  display:grid;
  grid-template-columns:55px 1fr 1fr;
  gap:12px;
  align-items:center;
  padding:9px 10px;
  border:1px solid #1e3540;
  border-radius:7px;
  background:#06131b;
}

.shots-v2 .shots-v2-threshold{
  color:#d5bc7b;
  font-size:12px;
}

.shots-v2 .shots-v2-threshold-row small{
  display:block;
  margin-bottom:4px;
  color:#718692;
  font-size:8px;
}

.shots-v2 .shots-v2-frequency-bar{
  position:relative;
  height:22px;
  overflow:hidden;
  border-radius:3px;
  background:#101f27;
}

.shots-v2 .shots-v2-frequency-bar i{
  position:absolute;
  inset:0 auto 0 0;
  display:block;
  background:#d5bc7b33;
}

.shots-v2 .shots-v2-frequency-bar.conceded i{
  background:#8ba9c833;
}

.shots-v2 .shots-v2-frequency-bar strong{
  position:relative;
  z-index:1;
  display:block;
  padding:4px 6px;
  color:#dfe8ed;
  font-size:9px;
}

.shots-v2 .shots-v2-analysis{
  margin-top:20px;
  padding:21px 22px;
  border-left:3px solid #d5bc7b;
  border-radius:0 9px 9px 0;
  background:linear-gradient(120deg,#171d1b,#091820);
}

.shots-v2 .shots-v2-analysis h2{
  margin:0 0 12px;
  font-size:19px;
}

.shots-v2 .shots-v2-analysis>p:not(.shots-v2-kicker){
  margin:9px 0;
  color:#b9c9d2;
  font-size:12px;
  line-height:1.7;
}

.shots-v2 .shots-v2-analysis strong{
  color:#f4f7f8;
}

.shots-v2 .shots-v2-analysis-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
  margin-top:15px;
}

.shots-v2 .shots-v2-analysis-grid>div{
  padding:10px;
  border-top:1px solid #33474f;
}

.shots-v2 .shots-v2-analysis-grid small{
  display:block;
  color:#718692;
  font-size:8px;
}

.shots-v2 .shots-v2-analysis-grid strong{
  display:block;
  margin-top:4px;
  color:#d5bc7b;
  font-size:14px;
}

.shots-v2 .shots-v2-analysis-grid span{
  display:block;
  margin-top:2px;
  color:#7e929d;
  font-size:8px;
}

.shots-v2 .shots-v2-disclaimer{
  color:#718692!important;
  font-size:9px!important;
}

.shots-v2 .shots-v2-raw,
.shots-v2 .shots-v2-method{
  margin-top:15px;
  border-top:1px solid #253b45;
}

.shots-v2 .shots-v2-raw summary,
.shots-v2 .shots-v2-method summary{
  cursor:pointer;
  padding:13px 0;
  color:#a9bac4;
  font-size:11px;
}

.shots-v2 .shots-v2-raw-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  padding:5px 0 10px;
}

.shots-v2 .shots-v2-raw-grid article{
  padding:12px;
  border:1px solid #223b47;
  border-radius:8px;
  background:#06131b;
}

.shots-v2 .shots-v2-raw-grid h3{
  margin:0 0 8px;
  font-size:11px;
}

.shots-v2 .shots-v2-table-wrap{
  overflow:auto;
}

.shots-v2 .shots-v2-table{
  width:100%;
  border-collapse:collapse;
}

.shots-v2 .shots-v2-table th,
.shots-v2 .shots-v2-table td{
  padding:7px 5px;
  border-bottom:1px solid #1b303a;
  text-align:left;
  font-size:9px;
}

.shots-v2 .shots-v2-table th{
  color:#718692;
  font-weight:500;
}

.shots-v2 .shots-v2-table td:nth-child(2){
  color:#d5bc7b;
  font-weight:700;
}

.shots-v2 .shots-v2-method{
  margin-top:22px;
}

.shots-v2 .shots-v2-method>div{
  padding:4px 0 10px;
  color:#91a5b0;
  font-size:11px;
  line-height:1.65;
}

.shots-v2 .shots-v2-method p{
  margin:7px 0;
}

.shots-v2 .shots-v2-footnote{
  margin:20px 0;
  color:#617680;
  text-align:center;
  font-size:9px;
  line-height:1.6;
}

@media(max-width:700px){

  .shots-v2 .shots-fixture{
    grid-template-columns:1fr 1fr;
    gap:12px;
    padding:22px 15px;
  }

  .shots-v2 .shots-fixture>div:first-child{
    text-align:left;
  }

  .shots-v2 .shots-fixture .shots-kickoff{
    grid-column:1/-1;
    grid-row:2;
  }

  .shots-v2 .shots-fixture>div:last-child{
    text-align:right;
  }

  .shots-v2 .shots-fixture h1{
    font-size:20px;
  }

  .shots-v2 .shots-v2-intro{
    display:block;
  }

  .shots-v2 .shots-v2-intro>p{
    margin-top:9px;
  }

  .shots-v2 .shots-v2-team{
    padding:16px 12px;
  }

  .shots-v2 .shots-v2-team-head{
    display:block;
  }

  .shots-v2 .shots-v2-tag{
    display:inline-block;
    margin-top:9px;
  }

  .shots-v2 .shots-v2-stats-row,
  .shots-v2 .shots-v2-charts-two,
  .shots-v2 .shots-v2-raw-grid{
    grid-template-columns:1fr;
  }

  .shots-v2 .shots-v2-main{
    font-size:37px;
  }

  .shots-v2 .shots-v2-chart{
    min-height:150px;
  }

  .shots-v2 .shots-v2-track{
    height:95px;
  }

  .shots-v2 .shots-v2-threshold-row{
    grid-template-columns:42px 1fr 1fr;
    gap:7px;
    padding:7px;
  }

  .shots-v2 .shots-v2-analysis{
    padding:18px 15px;
  }

  .shots-v2 .shots-v2-analysis-grid{
    grid-template-columns:1fr 1fr;
  }

  .shots-v2 .shots-v2-tabs a{
    min-width:72px;
    padding:10px 8px;
    font-size:10px;
  }
}

/* Tirs V2 — mirror presentation, scoped to this page only. */
.shots-page.shots-v2 {display:flex;flex-direction:column;min-width:0}
.shots-v2>* {min-width:0;order:10}
.shots-v2>.shots-back {order:0}
.shots-v2>.shots-hero {order:1}
.shots-v2>.shots-v2-navigation {order:2}
.shots-v2>.estimate-card {order:3}
.shots-v2>.card:not(.estimate-card) {order:4}
.shots-v2>.shots-v2-method {order:20}
.shots-v2>.estimate-card,.shots-v2>.card {border:2px solid #d5bc7b;border-radius:12px;background:linear-gradient(125deg,#20251e,#091820);padding:24px;box-shadow:0 0 24px #d5bc7b12;margin:0 0 16px}
.shots-v2>.card .eyebrow {color:#e9ce86;font-weight:750;font-size:12px;letter-spacing:.12em}
.shots-v2 .estimate-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;position:relative}
.shots-v2 .estimate-team {display:grid;grid-template-rows:subgrid;grid-row:span 4;text-align:center;padding:16px;min-width:0;overflow-wrap:anywhere;border:0;background:none}
.shots-v2 .estimate-team+ .estimate-team {border-left:1px solid #d5bc7b80}
.shots-v2 .estimate-team>span {font-size:16px;line-height:1.4}
.shots-v2 .estimate-team>strong {font-size:clamp(22px,3vw,36px);color:#f0d48a;line-height:1.3;margin:12px 0}
.shots-v2 .estimate-team p {font-size:13px;margin:6px 0}
.shots-v2 .estimate-team p b {display:block;font-size:30px;color:#f0d48a;font-variant-numeric:tabular-nums}
.shots-v2 .estimate-team small {font-size:12px;line-height:1.5}
.shots-v2 .shots-v2-team .shots-v2-kicker {color:#c9d5dd;font-size:12px}
.shots-v2 .shots-v2-stats-row {display:block}
.shots-v2 .shots-mirror-head,.shots-v2 .shots-mirror-row {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));position:relative;border-bottom:1px solid #2c424d}
.shots-v2 .shots-mirror-row>p {grid-column:1/-1;margin:12px 0 4px;text-align:center;font-size:12px;color:#b9c9d2}
.shots-v2 .mirror-cell {padding:12px;text-align:center;min-width:0;overflow-wrap:anywhere;font-size:14px;line-height:1.5;font-variant-numeric:tabular-nums}
.shots-v2 .mirror-cell:last-child {border-left:1px solid #526571}
.shots-v2 .mirror-cell strong,.shots-v2 .mirror-cell small {display:block}
.shots-v2 .mirror-cell small {font-size:12px;color:#a8bac5;margin-top:6px}
.shots-v2 .principal .mirror-cell {font-size:40px;font-weight:750;color:#dfc684;padding-top:4px}
.shots-v2 .principal .mirror-cell.blue {color:#a8c8e5}
.shots-v2 .shots-v2-charts-two,.shots-v2 .shots-v2-raw-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
.shots-v2 .shots-v2-charts-two>article,.shots-v2 .shots-v2-raw-grid>article {min-width:0;border:0;border-radius:0;overflow-wrap:anywhere}
.shots-v2 .shots-v2-charts-two>article+article,.shots-v2 .shots-v2-raw-grid>article+article {border-left:1px solid #526571}
.shots-v2 .shots-v2-charts-two {grid-template-rows:auto auto}
.shots-v2 .shots-v2-charts-two>article {display:grid;grid-template-rows:subgrid;grid-row:span 2}
.shots-v2 .shots-v2-charts-two h4 {font-size:12px;line-height:1.5}
.shots-v2 .shots-v2-chart,.shots-v2 .shots-empty {height:190px;min-width:0}
.shots-v2 .shots-v2-track {height:120px}
.shots-v2 .shots-v2-threshold-row {grid-template-columns:minmax(0,1fr) 70px minmax(0,1fr);gap:8px}
.shots-v2 .shots-v2-threshold-row>div {min-width:0;text-align:center;overflow-wrap:anywhere;align-self:stretch;display:grid;grid-template-rows:1fr auto}
.shots-v2 .shots-v2-threshold {text-align:center;border-inline:1px solid #526571;align-self:stretch;display:grid;place-items:center}
.shots-v2 .shots-v2-threshold-row small {font-size:12px;line-height:1.4}
.shots-v2 .shots-v2-frequency-bar {height:auto;min-height:36px}
.shots-v2 .shots-v2-frequency-bar strong {font-size:12px;padding:8px 4px}
.shots-v2 .shots-v2-threshold-row>div:first-child .shots-v2-frequency-bar i {inset:0 0 0 auto}
.shots-v2 .shots-v2-analysis {border:1px solid #8c7841;border-radius:9px}
.shots-v2 .shots-v2-help {font-size:12px;color:#a8bac5;line-height:1.6}
.shots-v2 .shots-v2-table-wrap {min-width:0;max-width:100%}
.shots-v2 .shots-v2-windows {flex-wrap:wrap;overflow:visible}
@media(max-width:700px){
.shots-v2>.estimate-card,.shots-v2>.card {padding:16px 10px}
.shots-v2 .estimate-team {padding:12px 7px}
.shots-v2 .estimate-team>span {font-size:13px}
.shots-v2 .estimate-team>strong {font-size:21px}
.shots-v2 .estimate-team p,.shots-v2 .estimate-team small {font-size:11px}
.shots-v2 .mirror-cell {padding:10px 6px;font-size:12px}
.shots-v2 .mirror-cell strong {font-size:13px}
.shots-v2 .principal .mirror-cell {font-size:32px}
.shots-v2 .shots-v2-charts-two>article,.shots-v2 .shots-v2-raw-grid>article {padding:10px 6px}
.shots-v2 .shots-v2-threshold-row {grid-template-columns:minmax(0,1fr) 50px minmax(0,1fr);gap:4px;padding:8px 4px}
.shots-v2 .shots-v2-threshold-row small,.shots-v2 .shots-v2-frequency-bar strong {font-size:11px}
.shots-v2 .shots-v2-team-head h2 {font-size:18px;overflow-wrap:anywhere}
.shots-v2 .shots-fixture {grid-template-columns:repeat(2,minmax(0,1fr))}
.shots-v2 .shots-fixture h1 {overflow-wrap:anywhere;font-size:18px}
}

.team-page{display:grid;gap:20px;color:#eef2f5}.team-page [hidden]{display:none!important}.team-page .card{background:linear-gradient(120deg,#0c1b29,#091722);border:1px solid #293b49;border-radius:10px;padding:24px;min-width:0}.team-hero{display:flex;align-items:center;gap:26px}.team-hero h1,.team-hero h2{margin:8px 0;font-size:34px}.team-hero p,.team-note,.team-page small{color:#a4b4bf}.team-shirt{background:radial-gradient(ellipse,#233544,#0c1925);border:1px solid #344453;border-radius:9px;padding:12px}.team-controls{display:flex;gap:10px;flex-wrap:wrap}.team-controls a,.team-page button{padding:10px 16px;border:1px solid #344453;border-radius:6px;background:#10212e;color:#dce5eb;text-decoration:none}.team-controls a.active,.team-page button{border-color:#756641;color:#e3c985}.team-kpis{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px}.team-kpis .card{padding:18px 14px}.team-kpis small{display:block;min-height:32px;font-size:11px}.team-kpis strong{display:block;font-size:28px;color:#e3c985;margin-top:12px}.team-form{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.team-form>div{display:flex;flex-direction:column;gap:10px;border:1px solid #293b49;border-radius:6px;padding:16px}.team-form b{width:30px;text-align:center;padding:6px;border-radius:5px}.form-V{background:#19443c;color:#b6e4d2}.form-N{background:#403c2c;color:#e3c985}.form-D{background:#442d36;color:#e6b8be}.team-page h2{font-size:19px;margin:0 0 20px}.team-page td,.team-page th{padding:13px;text-align:left;border-bottom:1px solid #293b49}.team-page th{background:#10212e}.team-gold{color:#e3c985;font-weight:800}.team-note{font-size:12px;line-height:1.7;margin:0 0 15px}.team-split{display:grid;grid-template-columns:1fr 1fr;gap:24px}.team-page button{cursor:pointer;width:100%}.team-page a:focus-visible,.team-page button:focus-visible{outline:2px solid #e3c985;outline-offset:3px}.team-page section,.team-page tr{scroll-margin-top:20px}@media(max-width:1100px){.team-kpis{grid-template-columns:repeat(4,1fr)}.team-form{grid-template-columns:repeat(3,1fr)}}@media(max-width:600px){.team-page .card{padding:16px}.team-kpis{grid-template-columns:repeat(2,1fr)}.team-form{grid-template-columns:repeat(2,1fr)}.team-hero{gap:12px}.team-hero h1,.team-hero h2{font-size:25px}.team-shirt{padding:4px}.team-shirt svg,.team-shirt img{width:72px;height:80px}.team-split{grid-template-columns:1fr}.team-nav{flex-wrap:nowrap;overflow:auto}.team-nav a{white-space:nowrap}.team-page td{font-size:12px}}

/* Match landing synthesis, scoped to this page. */
.match-player-summary{margin:24px 0;padding:24px;border:1px solid #35414e;border-radius:18px;background:#0c1725}.match-player-summary h2{display:flex;align-items:center;gap:10px;margin:24px 0 16px}.sd-topic-icon{width:26px;height:26px;color:#d6b765;vertical-align:middle;flex-shrink:0}.match-player-teams,.match-team-context{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.match-player-grid{display:grid;gap:12px}.match-player-card{padding:16px;border:1px solid #344253;border-radius:12px;background:#101e30}.match-player-card .players-detail-head{display:flex;gap:14px;align-items:center}.match-player-card .players-detail-head h2{font-size:18px;margin:5px 0}.match-player-card .players-shirt-tile{width:68px;min-width:68px}.match-player-card .players-shirt-tile svg,.match-player-card .players-shirt-tile img{width:64px;height:72px;object-fit:contain}.match-player-card .players-eyebrow{display:none}.match-player-card .players-detail-head p{font-size:12px}.match-player-totals{display:flex;gap:24px;margin:12px 0;color:#d6b765}.match-player-card .players-impact-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.match-player-card .players-impact-grid strong{font-size:16px}.match-player-card .players-offensive h3{font-size:12px}.match-all-players{display:inline-block;margin-top:20px;color:#d6b765}.match-summary-windows{display:flex;gap:20px;margin:20px 0}.match-summary-windows [aria-current]{color:#d6b765}.match-team-context-column{min-width:0}.match-team-context .team-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.match-team-context h2{font-size:20px}.match-team-context .team-form{flex-wrap:wrap}.match-reference-title .sd-topic-icon{margin-right:10px}@media(max-width:800px){.match-player-teams,.match-team-context{grid-template-columns:1fr}.match-player-summary{padding:16px}.match-player-card .players-detail-head h2{font-size:17px}}
/* ShootData V1 homepage — scoped to preserve validated match views. */
.sd-home{--sd-gold:#ddbf78;--sd-muted:#a5b3c2;color:#f6f7fa;max-width:1380px;margin:auto}.sd-home em{color:var(--sd-gold);font-style:normal}.sd-home a{text-decoration:none}.sd-hero{display:grid;grid-template-columns:1.15fr 1fr;gap:40px;align-items:center;padding:64px 48px;margin:20px 0 40px;border:1px solid #293c50;border-radius:16px;background:radial-gradient(ellipse at 80% 50%,#20384b88,transparent 60%),linear-gradient(125deg,#101e2b,#060c14);overflow:hidden}.sd-hero h1{font-size:clamp(36px,4.5vw,64px);line-height:1.08;letter-spacing:-2px;margin:18px 0 24px}.sd-hero p{color:var(--sd-muted);line-height:1.7}.sd-hero .eyebrow,.sd-home .eyebrow{color:var(--sd-gold);font-size:11px;letter-spacing:2px}.sd-text-link{display:inline-block;margin:20px;color:#e4e9ee;font-size:13px}.sd-hero-art{text-align:center}.sd-hero-art img{width:100%;max-width:350px;border-radius:12px;mix-blend-mode:screen}.sd-hero-art p{letter-spacing:2px;font-size:11px}.sd-hero-art div{font-size:10px;letter-spacing:2px;color:#b4c3cf}.sd-hero-art b{color:var(--sd-gold);margin:0 12px}.sd-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.sd-home h2{font-size:27px;margin:8px 0}.sd-heading>span{color:var(--sd-muted);font-size:13px}.sd-top{padding:26px 30px;border:1px solid #716040;border-radius:12px;background:linear-gradient(115deg,#202825,#0b1825);margin-bottom:42px}.sd-top-empty{display:flex;align-items:center;gap:22px;padding:20px;background:#08121d88;border-radius:8px}.sd-top-empty h3{font-size:18px;margin:0 0 8px}.sd-top-empty p{color:var(--sd-muted);font-size:14px;line-height:1.6;margin:0;max-width:850px}.sd-orbit{border:1px solid #796440;border-radius:50%;padding:16px;color:var(--sd-gold)}.sd-home .sd-topic-icon{width:24px;height:24px;vertical-align:middle;flex-shrink:0}.sd-calendar{scroll-margin-top:24px}.sd-filters{display:flex;flex-wrap:wrap;align-items:end;gap:12px;background:#102030;border:1px solid #2a3b4e;border-radius:10px;padding:16px}.sd-filters label{display:flex;flex-direction:column;gap:7px;color:#b6c2ce;font-size:11px}.sd-filters input,.sd-filters select{background:#071320;color:#fff;border:1px solid #405165;padding:10px 12px;border-radius:6px;color-scheme:dark;font:inherit;font-size:14px;min-height:42px}.sd-filters button,.sd-filters>a{padding:11px 17px;border-radius:6px;border:1px solid #7e6b42;background:#ddbf78;color:#111b24;font-weight:700;font-size:14px;cursor:pointer}.sd-filters>a{background:#172a3b;color:#e4c884;font-size:20px;padding:7px 14px}.sd-caption{color:#94a7b8;font-size:12px;line-height:1.6;margin:14px 0}.sd-match-list{display:grid;gap:10px}.sd-match{display:grid;grid-template-columns:125px minmax(230px,1fr) 205px 115px 130px;align-items:center;gap:18px;padding:22px;background:#0c1926;border:1px solid #2b3e51;border-radius:10px;transition:background .2s,border .2s}.sd-match:hover{background:#122436;border-color:#9b8150}.sd-kickoff,.sd-confidence,.sd-access{display:flex;flex-direction:column;gap:9px}.sd-kickoff strong{font-size:22px;color:#f4d994}.sd-kickoff small,.sd-confidence small{font-size:11px;color:#9badbd}.sd-match-teams{color:#f4f7fa;display:grid;grid-template-columns:1fr;gap:7px}.sd-team{display:flex;align-items:center;gap:12px;font-size:15px}.sd-team img,.sd-team svg{width:54px;height:58px;object-fit:contain;flex-shrink:0}.sd-versus{display:none}.sd-match-topics{display:flex;gap:12px}.sd-match-topics a{display:flex;align-items:center;flex-direction:column;gap:6px;color:#c5d3de;font-size:11px}.sd-match-topics a:hover{color:var(--sd-gold)}.sd-confidence span{font-size:12px;color:#c4cfda}.sd-access .access-badge{align-self:start;font-size:10px}.sd-access>a{font-size:12px;color:var(--sd-gold);font-weight:700}.sd-no-matches{text-align:center;padding:38px;border:1px dashed #38506a;border-radius:10px;color:#aabccc}.sd-premium{display:grid;grid-template-columns:1fr 1fr;gap:40px;margin:48px 0;padding:36px 42px;border:1px solid #685b40;border-radius:12px;background:radial-gradient(ellipse at right,#53442b55,transparent),#0c1926}.sd-premium p{color:#aebdca;line-height:1.7;font-size:14px}.sd-premium>div:last-child{border-left:1px solid #4a4b41;padding-left:36px}.sd-method{margin-bottom:50px}.sd-topic-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:24px}.sd-topic-grid article{padding:24px;background:#0c1926;border:1px solid #293c4d;border-radius:10px}.sd-topic-grid svg{color:var(--sd-gold)}.sd-topic-grid h3{font-size:16px;margin:14px 0 8px}.sd-topic-grid p{color:#a3b6c5;font-size:13px;line-height:1.6}.sd-home a:focus-visible,.sd-home button:focus-visible,.sd-home input:focus-visible,.sd-home select:focus-visible{outline:2px solid #e4c785;outline-offset:4px}
@media(max-width:1100px){.sd-match{grid-template-columns:100px 1fr 120px}.sd-match-topics{grid-column:2;grid-row:2}.sd-confidence{grid-column:1;grid-row:2}.sd-access{grid-column:3;grid-row:1 / span 2}.sd-hero{padding:35px 25px;gap:20px}.sd-hero-art img{max-width:260px}}
@media(max-width:650px){.sd-hero{grid-template-columns:1fr;padding:30px 22px;margin-top:10px}.sd-hero-art{display:none}.sd-hero h1{letter-spacing:-1px;font-size:38px}.sd-heading{align-items:start}.sd-home h2{font-size:22px}.sd-top{padding:20px 16px}.sd-top-empty{padding:16px;gap:12px}.sd-orbit{display:none}.sd-top-empty h3{font-size:16px}.sd-match{grid-template-columns:70px 1fr;gap:15px;padding:18px 14px}.sd-match-teams{grid-column:2}.sd-access{grid-column:2;grid-row:3;flex-direction:row;align-items:center;justify-content:space-between}.sd-match-topics{grid-column:2;grid-row:2}.sd-confidence{grid-column:1;grid-row:2 / span 2}.sd-kickoff small{font-size:10px}.sd-team{font-size:14px}.sd-filters{gap:10px}.sd-filters label{flex:1;min-width:140px}.sd-filters label:nth-of-type(1){flex:1;min-width:150px}.sd-filters button{width:100%}.sd-premium{grid-template-columns:1fr;padding:26px;gap:12px}.sd-premium>div:last-child{border:0;padding:0}.sd-topic-grid{grid-template-columns:1fr 1fr}.sd-topic-grid article{padding:18px}.sd-text-link{margin-left:0}.sd-date{display:none}}
.sd-top-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.sd-top-card{display:flex;flex-direction:column;gap:12px;min-width:0;padding:20px 16px;border:1px solid #76633f;border-radius:9px;background:linear-gradient(150deg,#182a36,#091522);color:#fff}.sd-top-card:hover{border-color:#edce85;background:#1b2e3b}.sd-top-card h3{font-size:15px;line-height:1.5;margin:0;min-height:48px}.sd-top-card p{font-size:11px;color:#b5c5d0;margin:0}.sd-top-card strong{color:#e2c682;font-size:13px}.sd-top-card>span{color:#dfc17d;font-size:11px;margin-top:auto}.sd-confidence span{line-height:1.5;font-size:10px}.sd-match{grid-template-columns:115px minmax(220px,1fr) 190px 150px 125px}
@media(max-width:1100px){.sd-top-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sd-match{grid-template-columns:100px 1fr 130px}}
@media(max-width:650px){.sd-top-grid{grid-template-columns:1fr}.sd-top-card h3{min-height:0}.sd-match{grid-template-columns:70px minmax(0,1fr)}.sd-confidence span{font-size:9px}.sd-top-card{padding:16px}}
.sd-filters{flex-direction:row;justify-content:flex-start}.sd-confidence span{font-size:12px}.sd-confidence small{line-height:1.5}
@media(max-width:650px){.sd-filters{flex-direction:row;align-items:end}.sd-confidence span{font-size:11px}.sd-filters label{min-width:0}.sd-filters label:nth-of-type(1){min-width:0;flex-basis:160px}.sd-filters label:nth-of-type(2){flex-basis:100%}.sd-filters label:nth-of-type(3){flex-basis:100%}.sd-filters select{width:100%}}

/* ==========================================================
   SHOOTDATA — GOALS UI V2
   Presentation only. No analytical logic.
   ========================================================== */

.goals-v2 {
  margin-top: 28px;
  padding: 28px;
  border: 1px solid rgba(255,193,7,.34);
  border-radius: 18px;
  background:
    radial-gradient(circle at 0 0, rgba(255,193,7,.08), transparent 32%),
    rgba(10,23,29,.94);
}

.goals-v2-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: 24px;
}

.goals-v2-head .eyebrow {
  margin: 0 0 8px;
  color: #ffc107;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}

.goals-v2-head h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.15;
}

.goals-v2-head > p {
  max-width: 480px;
  margin: 0;
  color: #9fb1ba;
  font-size: 14px;
  line-height: 1.5;
  text-align: right;
}

.goals-v2-teams {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px;
}

.goals-v2-team {
  overflow: hidden;
  border: 1px solid rgba(145,169,181,.18);
  border-radius: 16px;
  background: rgba(3,14,19,.72);
}

.goals-v2-team-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(145,169,181,.14);
  background: rgba(2,11,16,.72);
}

.goals-v2-location {
  display: block;
  margin-bottom: 5px;
  color: #ffc107;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
}

.goals-v2-team-head h3 {
  margin: 0;
  font-size: 20px;
}

.goals-v2-sample {
  padding: 6px 9px;
  border: 1px solid rgba(145,169,181,.18);
  border-radius: 999px;
  color: #9fb1ba;
  font-size: 11px;
  white-space: nowrap;
}

.goals-v2-averages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(145,169,181,.12);
  border-bottom: 1px solid rgba(145,169,181,.12);
}

.goals-v2-averages > div {
  padding: 20px 22px;
  background: #07171e;
}

.goals-v2-averages span,
.goals-v2-grid span {
  display: block;
  color: #9fb1ba;
  font-size: 12px;
}

.goals-v2-averages strong {
  display: block;
  margin: 5px 0 3px;
  color: #f5f7f8;
  font-size: 34px;
  line-height: 1;
}

.goals-v2-averages small {
  color: #6f8792;
  font-size: 11px;
}

.goals-v2-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
  padding: 16px;
}

.goals-v2-grid > div {
  position: relative;
  min-height: 76px;
  padding: 13px 14px;
  border: 1px solid rgba(145,169,181,.12);
  border-radius: 10px;
  background: rgba(12,31,39,.72);
}

.goals-v2-grid strong {
  display: block;
  margin-top: 6px;
  color: #ffc107;
  font-size: 21px;
  line-height: 1;
}

.goals-v2-grid small {
  position: absolute;
  right: 11px;
  bottom: 9px;
  color: #607985;
  font-size: 10px;
}

.goals-v2-note {
  margin: 18px 2px 0;
  padding-top: 14px;
  border-top: 1px solid rgba(145,169,181,.12);
  color: #708792;
  font-size: 11px;
  line-height: 1.5;
}

@media (max-width:900px) {
  .goals-v2-teams {
    grid-template-columns: 1fr;
  }

  .goals-v2-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .goals-v2-head > p {
    text-align: left;
  }
}

@media (max-width:560px) {
  .goals-v2 {
    padding: 18px;
  }

  .goals-v2-team-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .goals-v2-sample {
    white-space: normal;
  }
}

/* ============================================================
   SHOOTDATA — GOALS UI V3
   Presentation only
   ============================================================ */

.goals-v3{
  display:flex;
  flex-direction:column;
  gap:28px;
}

.goals-v3-intro{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
}

.goals-v3-intro h2,
.goals-v3-section h2{
  margin:4px 0 8px;
}

.goals-v3-intro p,
.goals-v3-section header>p:last-child{
  margin:0;
  color:#aebbc5;
  line-height:1.55;
}

.goals-v3-window{
  flex:0 0 auto;
  padding:8px 13px;
  border:1px solid #756641;
  border-radius:999px;
  color:#e3c985;
  background:#171f22;
  font-size:12px;
  font-weight:800;
}

.goals-v3-explainer{
  padding:12px 16px;
  border-left:3px solid #d6b765;
  background:#101d27;
  color:#b9c5cd;
  font-size:12px;
  line-height:1.5;
}

.goals-v3-explainer strong{
  color:#f1d78f;
}

/* Lecture rapide */

.goals-v3-markets{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}

.goals-v3-market{
  min-width:0;
  padding:18px;
  background:linear-gradient(145deg,#122431,#0a1721);
  border:1px solid #304250;
  border-radius:10px;
}

.goals-v3-market h3{
  margin:0 0 17px;
  min-height:38px;
  color:#f0f3f5;
  font-size:14px;
  line-height:1.35;
}

.goals-v3-market-team{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  padding:11px 0;
  border-top:1px solid #263846;
}

.goals-v3-market-team>span{
  min-width:0;
  color:#aebbc5;
  font-size:11px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.goals-v3-market-team>div{
  flex:0 0 auto;
  text-align:right;
}

.goals-v3-market-team strong{
  display:block;
  color:#f1d78f;
  font-size:15px;
  line-height:1.15;
}

.goals-v3-market-team small{
  display:block;
  margin-top:4px;
  color:#9aabb6;
  font-size:10px;
}

/* Sections secondaires */

.goals-v3-section{
  padding-top:24px;
  border-top:1px solid #293b49;
}

.goals-v3-section>header{
  margin-bottom:18px;
}

.goals-v3-recent,
.goals-v3-venue{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}

.goals-v3-recent-team,
.goals-v3-venue-team{
  min-width:0;
  padding:20px;
  background:#0d1b26;
  border:1px solid #2d3e4b;
  border-radius:10px;
}

.goals-v3-recent-team h3{
  margin:0 0 18px;
  font-size:18px;
}

.goals-v3-average-pair{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-bottom:15px;
}

.goals-v3-average-pair>div{
  padding:14px;
  background:#132532;
  border-radius:8px;
}

.goals-v3-average-pair span{
  display:block;
  color:#aebbc5;
  font-size:10px;
  line-height:1.35;
}

.goals-v3-average-pair strong{
  display:block;
  margin-top:7px;
  color:#f1d78f;
  font-size:27px;
  line-height:1;
}

.goals-v3-average-pair small{
  display:block;
  margin-top:7px;
  color:#82949f;
  font-size:10px;
}

/* Phrases statistiques lisibles */

.goals-v3-readable-lines{
  display:flex;
  flex-direction:column;
}

.goals-v3-readable-lines>div{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:12px 2px;
  border-top:1px solid #263846;
}

.goals-v3-readable-lines>div>span{
  color:#c5cfd5;
  font-size:12px;
}

.goals-v3-readable-lines>div>div{
  flex:0 0 auto;
  text-align:right;
}

.goals-v3-readable-lines strong{
  display:block;
  color:#f1d78f;
  font-size:13px;
}

.goals-v3-readable-lines small{
  display:block;
  margin-top:3px;
  color:#899ba6;
  font-size:10px;
}

/* Domicile / extérieur */

.goals-v3-venue-team>header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:18px;
}

.goals-v3-venue-team>header h3{
  margin:5px 0 0;
  font-size:18px;
}

.goals-v3-venue-team>header>small{
  padding:6px 9px;
  border-radius:999px;
  background:#172833;
  color:#9cadb7;
  font-size:10px;
  white-space:nowrap;
}

.goals-v3 .goals-v2-note{
  margin:0;
  padding-top:18px;
  border-top:1px solid #293b49;
  color:#82949f;
  font-size:10px;
  line-height:1.55;
}

/* Responsive */

@media(max-width:1050px){
  .goals-v3-markets{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:720px){
  .goals-v3-intro{
    flex-direction:column;
  }

  .goals-v3-markets,
  .goals-v3-recent,
  .goals-v3-venue{
    grid-template-columns:1fr;
  }

  .goals-v3-average-pair{
    grid-template-columns:1fr 1fr;
  }

  .goals-v3-market h3{
    min-height:0;
  }
}

@media(max-width:430px){
  .goals-v3-average-pair{
    grid-template-columns:1fr;
  }

  .goals-v3-readable-lines>div{
    align-items:flex-start;
  }
}

/* GOALS V3 — saison : matchs sans but marqué */

.goals-v3-season-stat{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:15px;
  padding:12px 14px;
  background:#132532;
  border-left:3px solid #d6b765;
  border-radius:7px;
}

.goals-v3-season-stat span{
  color:#c5cfd5;
  font-size:12px;
}

.goals-v3-season-stat strong{
  flex:0 0 auto;
  color:#f1d78f;
  font-size:20px;
  line-height:1;
}

/* SHOOTDATA pictograms — premium raster assets */
.sd-topic-icon-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* SHOOTDATA pictograms — test 80px */
.sd-topic-icon-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

/* ============================================================
   SHOOTDATA — HEADER V2
   Logo officiel · recherche globale · compte · premium
   ============================================================ */

.site-header{
    min-height:82px;
    padding:0 5%;
    display:flex;
    align-items:center;
    gap:32px;
    background:#06131b;
    border-bottom:1px solid #263b46;
}

.site-header .brand-logo{
    display:flex;
    align-items:center;
    flex:0 0 auto;
    padding:0;
}

.site-header .brand-logo img{
    display:block;
    width:190px;
    height:58px;
    object-fit:contain;
    object-position:left center;
}

.site-actions{
    margin-left:auto;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:14px;
    flex:1;
}

.global-search{
    width:min(420px,42vw);
    height:42px;
    display:flex;
    align-items:center;
    gap:10px;
    padding:0 14px;
    border:1px solid #304650;
    border-radius:7px;
    background:#0a1a23;
}

.global-search:focus-within{
    border-color:#b99422;
}

.global-search>span{
    color:#ffc107;
    font-size:22px;
    line-height:1;
}

.global-search input{
    width:100%;
    min-width:0;
    border:0;
    outline:0;
    background:transparent;
    color:#eef3f5;
    font:inherit;
    font-size:13px;
}

.global-search input::placeholder{
    color:#758b96;
}

.account-link{
    white-space:nowrap;
    color:#dce5e9!important;
    font-size:13px;
    font-weight:650;
    padding:11px 5px;
}

.account-link:hover{
    color:#ffc107!important;
}

.site-header .premium-pill{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    white-space:nowrap;
    border:1px solid #80691d;
    border-radius:6px;
    padding:10px 14px;
    color:#ffc107!important;
    font-size:10px!important;
    font-weight:850;
    letter-spacing:.09em;
}

.site-header .premium-pill:hover{
    background:#ffc107;
    color:#07131a!important;
}

@media(max-width:760px){
    .site-header{
        min-height:70px;
        padding:0 18px;
        gap:14px;
    }

    .site-header .brand-logo img{
        width:125px;
        height:46px;
    }

    .site-actions{
        gap:8px;
    }

    .global-search{
        width:auto;
        flex:1;
        min-width:44px;
        padding:0 11px;
    }

    .global-search input{
        display:none;
    }

    .account-link{
        font-size:11px;
    }

    .site-header .premium-pill{
        padding:8px 9px;
        font-size:9px!important;
    }
}

/* ============================================================
   SHOOTDATA — DATE STRIP V2
   ============================================================ */

.sd-date-strip{
    margin:22px 0 14px;
    min-height:78px;
    display:flex;
    align-items:stretch;
    gap:8px;
    padding:8px;
    background:#0d202c;
    border:1px solid #263f4e;
    border-radius:10px;
}

.sd-date-arrow{
    width:46px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 46px;
    border:1px solid #41535c;
    border-radius:7px;
    color:#e2bc58!important;
    font-size:28px;
    text-decoration:none;
}

.sd-date-arrow:hover{
    border-color:#d5aa38;
    background:#122936;
}

.sd-date-day{
    min-width:100px;
    flex:1;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    padding:10px 12px;
    border:1px solid transparent;
    border-radius:7px;
    color:#d7e0e5!important;
    text-decoration:none;
}

.sd-date-day small{
    font-size:10px;
    font-weight:800;
    letter-spacing:.1em;
    color:#80939d;
}

.sd-date-day strong{
    font-size:20px;
    line-height:1;
}

.sd-date-day span{
    font-size:10px;
    font-weight:750;
    color:#80939d;
}

.sd-date-day:hover{
    background:#132936;
}

.sd-date-day.active{
    background:#172f3b;
    border-color:#b58c22;
}

.sd-date-day.active small,
.sd-date-day.active strong,
.sd-date-day.active span{
    color:#ffc107;
}

.sd-date-picker{
    min-width:170px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:0 14px;
    border-left:1px solid #314754;
    color:#aebcc3;
    font-size:11px;
    font-weight:700;
    cursor:pointer;
}

.sd-date-picker input{
    width:25px;
    border:0;
    padding:0;
    background:transparent;
    color:#ffc107;
    cursor:pointer;
}

.sd-filters-secondary{
    margin-top:10px;
}

@media(max-width:800px){
    .sd-date-strip{
        overflow-x:auto;
        justify-content:flex-start;
    }

    .sd-date-day{
        min-width:88px;
        flex:0 0 88px;
    }

    .sd-date-picker{
        min-width:150px;
    }
}

/* ============================================================
   SHOOTDATA — DATE STRIP DRAG / SWIPE
   ============================================================ */

.sd-date-strip{
    cursor:grab;
    user-select:none;
    -webkit-user-select:none;
    touch-action:pan-y;
    scrollbar-width:none;
}

.sd-date-strip::-webkit-scrollbar{
    display:none;
}

.sd-date-strip.dragging{
    cursor:grabbing;
}

.sd-date-strip.dragging .sd-date-day,
.sd-date-strip.dragging .sd-date-arrow{
    pointer-events:none;
}

.sd-date-picker,
.sd-date-picker *{
    user-select:auto;
    -webkit-user-select:auto;
    cursor:pointer;
}


/* ============================================================
   SHOOTDATA — DATE CAROUSEL V3
   Seule la piste des dates défile.
   ============================================================ */

.sd-date-strip{
    overflow:hidden;
    cursor:default;
    user-select:none;
    -webkit-user-select:none;
}

.sd-date-track{
    flex:1 1 auto;
    min-width:0;
    display:flex;
    align-items:stretch;
    gap:8px;
    overflow-x:auto;
    overflow-y:hidden;
    cursor:grab;
    user-select:none;
    -webkit-user-select:none;
    touch-action:pan-y;
    scrollbar-width:none;
    scroll-behavior:auto;
}

.sd-date-track::-webkit-scrollbar{
    display:none;
}

.sd-date-track.dragging{
    cursor:grabbing;
}

.sd-date-track.dragging .sd-date-day{
    pointer-events:none;
}

.sd-date-track .sd-date-day{
    flex:0 0 calc((100% - 32px) / 5);
    min-width:0;
}

.sd-date-arrow{
    position:relative;
    z-index:2;
}

.sd-date-picker{
    flex:0 0 170px;
    position:relative;
    z-index:2;
}

@media(max-width:800px){
    .sd-date-track .sd-date-day{
        flex:0 0 88px;
        min-width:88px;
    }

    .sd-date-picker{
        flex-basis:150px;
    }
}

/* ============================================================
   SHOOTDATA — DATE CAROUSEL V3.1
   Verrouillage strict sur une seule ligne
   ============================================================ */

.sd-date-strip{
    display:flex;
    flex-wrap:nowrap !important;
    align-items:stretch;
    width:100%;
    min-width:0;
}

.sd-date-strip > .sd-date-arrow{
    flex:0 0 46px;
}

.sd-date-strip > .sd-date-track{
    flex:1 1 0;
    min-width:0;
}

.sd-date-strip > .sd-date-picker{
    flex:0 0 170px;
    min-width:170px;
}

.sd-date-track{
    flex-wrap:nowrap;
}

.sd-date-track > .sd-date-day{
    flex:0 0 calc((100% - 32px) / 5);
}

@media(max-width:800px){
    .sd-date-strip > .sd-date-picker{
        flex:0 0 145px;
        min-width:145px;
    }

    .sd-date-track > .sd-date-day{
        flex:0 0 88px;
    }
}

/* =========================================================
   SHOOTDATA — MATCHS À LA UNE V1
   ========================================================= */

.sd-featured-showcase {
    padding: 34px 32px 30px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.sd-featured-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}

.sd-featured-heading h1 {
    margin: 3px 0 0;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1;
    letter-spacing: -.04em;
}

.sd-featured-heading > p {
    margin: 0;
    text-align: right;
    color: rgba(255,255,255,.55);
    font-size: 13px;
    line-height: 1.5;
}

.sd-featured-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.sd-featured-card {
    position: relative;
    min-width: 0;
    padding: 15px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 12px;
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.045),
            rgba(255,255,255,.012)
        );
    box-shadow: 0 12px 28px rgba(0,0,0,.16);
    overflow: hidden;
}

.sd-featured-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        #d9b45b,
        transparent
    );
    opacity: .8;
}

.sd-featured-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 25px;
}

.sd-featured-league {
    overflow: hidden;
    color: rgba(255,255,255,.62);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sd-featured-card .access-badge {
    flex: 0 0 auto;
    font-size: 9px;
}

.sd-featured-time {
    margin: 15px 0 13px;
    color: #d9b45b;
    font-size: 22px;
    font-weight: 850;
    line-height: 1;
    text-align: center;
    letter-spacing: -.02em;
}

.sd-featured-teams {
    display: grid;
    grid-template-columns: minmax(0,1fr) 24px minmax(0,1fr);
    align-items: center;
    gap: 6px;
    min-height: 100px;
    color: inherit;
    text-decoration: none;
}

.sd-featured-team {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    text-align: center;
}

.sd-featured-team img {
    width: 82px;
    height: 82px;
    object-fit: contain;
}

.sd-featured-team strong {
    display: -webkit-box;
    overflow: hidden;
    min-height: 30px;
    color: rgba(255,255,255,.94);
    font-size: 12px;
    font-weight: 750;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.sd-featured-vs {
    color: rgba(255,255,255,.28);
    font-size: 9px;
    font-weight: 900;
    text-align: center;
}

.sd-featured-action {
    display: block;
    margin-top: 13px;
    padding-top: 11px;
    border-top: 1px solid rgba(255,255,255,.07);
    color: #d9b45b;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
}

.sd-featured-action:hover {
    color: #fff;
}

@media (max-width: 1100px) {
    .sd-featured-grid {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }
}

@media (max-width: 720px) {
    .sd-featured-showcase {
        padding: 24px 18px;
    }

    .sd-featured-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .sd-featured-heading > p {
        text-align: left;
    }

    .sd-featured-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 8px;
    }

    .sd-featured-card {
        flex: 0 0 78%;
        scroll-snap-align: start;
    }
}

/* =========================================================
   SHOOTDATA — MATCHS À LA UNE V2
   Stats réelles + emplacement futurs maillots
   ========================================================= */

.sd-featured-card {
    display: flex;
    flex-direction: column;
    min-height: 315px;
    padding: 16px;
}

.sd-featured-time {
    margin: 14px 0 10px;
    font-size: 21px;
}

.sd-featured-teams-placeholder {
    min-height: 112px;
    margin-bottom: 14px;
}

.sd-featured-team {
    gap: 8px;
}

.sd-featured-shirt-slot {
    width: 92px;
    height: 92px;
    border: 1px dashed rgba(217,180,91,.20);
    border-radius: 12px;
    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(217,180,91,.07),
            rgba(255,255,255,.015) 60%,
            transparent 61%
        );
}

.sd-featured-team strong {
    min-height: 34px;
    font-size: 13px;
    line-height: 1.3;
}

.sd-featured-stats {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 5px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,.07);
}

.sd-featured-stat {
    min-width: 0;
    padding: 8px 4px;
    border-radius: 8px;
    background: rgba(255,255,255,.025);
    color: inherit;
    text-align: center;
    text-decoration: none;
}

.sd-featured-stat:hover {
    background: rgba(217,180,91,.07);
}

.sd-featured-stat span {
    display: block;
    overflow: hidden;
    color: rgba(255,255,255,.48);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .03em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.sd-featured-stat strong {
    display: block;
    margin-top: 5px;
    color: rgba(255,255,255,.94);
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.sd-featured-action {
    margin-top: 10px;
    padding-top: 10px;
}

@media (max-width: 1100px) {
    .sd-featured-card {
        min-height: 300px;
    }
}

@media (max-width: 720px) {
    .sd-featured-card {
        flex-basis: 82%;
        min-height: 310px;
    }
}


/* SHOOTDATA — CARROUSEL MATCHS À LA UNE · SMARTPHONE */

.sd-featured-carousel-status {
    display: none;
}

@media (max-width: 720px) {

    .sd-featured-grid {
        display: flex;
        grid-template-columns: none;
        gap: 12px;
        width: calc(100% + 18px);
        margin-right: -18px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0 18px 10px 0;
    }

    .sd-featured-grid::-webkit-scrollbar {
        display: none;
    }

    .sd-featured-card {
        flex: 0 0 86%;
        width: 86%;
        min-width: 86%;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .sd-featured-carousel-status {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 10px;
        color: rgba(255,255,255,.42);
        font-size: 11px;
        font-weight: 800;
        letter-spacing: .08em;
    }

    .sd-featured-carousel-current {
        color: #d9b45b;
    }
}


/* =========================================================
   SHOOTDATA — CALENDRIER COMPACT V1
   Navigation secondaire : moins de hauteur, moins de poids
   ========================================================= */

.sd-calendar {
    padding-top: 18px;
}

.sd-calendar > .sd-heading {
    margin-bottom: 10px;
}

.sd-calendar > .sd-heading .eyebrow {
    margin-bottom: 4px;
    font-size: 9px;
    letter-spacing: .18em;
}

.sd-calendar > .sd-heading h2 {
    margin: 0;
    font-size: 23px;
    line-height: 1.05;
}

.sd-calendar > .sd-heading > span {
    font-size: 11px;
}

/* Bandeau des dates */

.sd-date-strip {
    min-height: 50px;
    height: 50px;
    padding: 4px 7px;
    gap: 4px;
    border-radius: 9px;
}

.sd-date-track {
    min-height: 40px;
    height: 40px;
    align-items: stretch;
}

.sd-date-day {
    min-height: 40px;
    height: 40px;
    padding: 4px 13px;
    gap: 4px;
    border-radius: 7px;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.sd-date-day small {
    font-size: 8px;
    line-height: 1;
}

.sd-date-day strong {
    font-size: 17px;
    line-height: 1;
}

.sd-date-day span {
    font-size: 8px;
    line-height: 1;
}

.sd-date-arrow {
    width: 38px;
    min-width: 38px;
    height: 40px;
    min-height: 40px;
    border-radius: 7px;
}

.sd-date-picker {
    min-height: 40px;
    height: 40px;
    padding: 0 10px;
    font-size: 9px;
}

/* Filtres */

.sd-filters-secondary {
    min-height: auto;
    margin-top: 8px;
    padding: 8px 12px;
    gap: 10px;
    align-items: flex-end;
    border-radius: 9px;
}

.sd-filters-secondary label {
    gap: 3px;
    font-size: 9px;
}

.sd-filters-secondary select {
    min-height: 34px;
    height: 34px;
    padding-top: 0;
    padding-bottom: 0;
    font-size: 11px;
}

.sd-filters-secondary button {
    min-height: 34px;
    height: 34px;
    padding: 0 17px;
    font-size: 11px;
}

/* Réduit l'espace avant "Tous les matchs" */

.sd-all-matches-heading {
    margin-top: 25px;
}

/* Smartphone : compact mais tactile */

@media (max-width: 720px) {

    .sd-calendar {
        padding-top: 14px;
    }

    .sd-calendar > .sd-heading h2 {
        font-size: 21px;
    }

    .sd-date-strip {
        height: 48px;
        min-height: 48px;
    }

    .sd-date-track {
        height: 38px;
        min-height: 38px;
    }

    .sd-date-day {
        height: 38px;
        min-height: 38px;
        padding: 4px 11px;
    }

    .sd-date-arrow {
        height: 38px;
        min-height: 38px;
    }

    .sd-filters-secondary {
        padding: 8px;
    }
}


/* =========================================================
   SHOOTDATA — BIG FIVE FILTER BAR V2
   ========================================================= */

.sd-calendar .sd-league-filters {
    display: grid !important;
    grid-template-columns:
        .62fr 1.25fr 1fr .72fr .72fr .72fr;
    gap: 7px;

    width: 100%;
    margin: 8px 0 0;
    padding: 6px;

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 9px;

    background: rgba(12,30,43,.72);
}

.sd-calendar .sd-league-filter {
    display: flex !important;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;
    min-width: 0;
    height: 34px;
    padding: 0 12px;

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 6px;

    background: rgba(255,255,255,.025);

    color: rgba(235,241,245,.68);
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .015em;

    text-align: center;
    text-decoration: none !important;
    white-space: nowrap;

    transition:
        border-color .15s ease,
        background .15s ease,
        color .15s ease;
}

.sd-calendar .sd-league-filter:hover {
    border-color: rgba(217,180,91,.42);
    background: rgba(217,180,91,.06);
    color: #fff;
}

.sd-calendar .sd-league-filter.active {
    border-color: rgba(217,180,91,.72);
    background: rgba(217,180,91,.12);
    color: #e2bd63;
    box-shadow: inset 0 0 0 1px rgba(217,180,91,.06);
}

/* Plus aucun espace réservé à l'ancien filtre accès */

.sd-calendar .sd-league-filters + .sd-access-filter {
    display: none !important;
}

/* Smartphone : carrousel horizontal des championnats */

@media (max-width: 720px) {

    .sd-calendar .sd-league-filters {
        display: flex !important;
        overflow-x: auto;

        width: 100%;
        gap: 6px;
        padding: 6px;

        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .sd-calendar .sd-league-filters::-webkit-scrollbar {
        display: none;
    }

    .sd-calendar .sd-league-filter {
        flex: 0 0 auto;
        height: 36px;
        padding: 0 14px;
        scroll-snap-align: start;
    }
}


/* SHOOTDATA — featured context banner */
.sd-featured-context-banner {
    width: min(520px, 48vw);
    height: 76px;
    margin-left: auto;
    overflow: hidden;
    border: 1px solid rgba(217,180,91,.22);
    border-radius: 10px;
    background: #07131d;
    box-shadow: 0 8px 22px rgba(0,0,0,.18);
}

.sd-featured-context-banner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 720px) {
    .sd-featured-context-banner {
        width: 100%;
        height: 68px;
        margin: 10px 0 0;
    }
}

/* SHOOTDATA — Tous les matchs : chargement progressif */
.sd-match-load-more-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 14px 0 4px;
}

.sd-match-load-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 40px;
    padding: 0 20px;
    border: 1px solid rgba(217,180,91,.30);
    border-radius: 8px;
    background: rgba(217,180,91,.055);
    color: #dfbb60;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transition:
        background .15s ease,
        border-color .15s ease;
}

.sd-match-load-more:hover {
    background: rgba(217,180,91,.10);
    border-color: rgba(217,180,91,.55);
}

.sd-match-load-more-icon {
    font-size: 17px;
    line-height: 1;
}

@media (max-width: 720px) {
    .sd-match-load-more {
        width: 100%;
        min-height: 44px;
    }
}

/* SHOOTDATA — garantir le masquage des matchs supplémentaires */
.sd-match-list .sd-match[hidden] {
    display: none !important;
}

/* =========================================================
   SHOOTDATA — CONTEXT LAB V1
   ========================================================= */

.sd-context-lab {
    margin-top: 54px;
    padding: 34px 38px 30px;
    border: 1px solid rgba(217,180,91,.16);
    border-radius: 14px;
    background:
        radial-gradient(circle at 50% 48%, rgba(217,180,91,.07), transparent 28%),
        linear-gradient(135deg, rgba(7,20,30,.98), rgba(5,15,23,.98));
    overflow: hidden;
}

.sd-context-lab-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.sd-context-lab-head h2 {
    margin: 4px 0 0;
    font-size: clamp(28px,3vw,43px);
    line-height: .98;
}

.sd-context-lab-head h2 em {
    color: #dfbb60;
    font-style: normal;
}

.sd-context-lab-head > p {
    max-width: 500px;
    margin: 0;
    color: rgba(235,241,245,.62);
    font-size: 13px;
    line-height: 1.65;
}

/* ----- FLOW ----- */

.sd-context-flow {
    display: grid;
    grid-template-columns:
        minmax(155px,1fr)
        minmax(70px,.55fr)
        150px
        minmax(70px,.55fr)
        minmax(155px,1fr);
    align-items: center;
    gap: 12px;
    margin: 34px 0 30px;
    min-height: 280px;
}

.sd-context-inputs,
.sd-context-outputs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sd-context-inputs span,
.sd-context-outputs span {
    box-sizing: border-box;
    min-height: 43px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 7px;
    background: rgba(255,255,255,.025);
    color: rgba(238,242,245,.72);
    font-size: 11px;
    font-weight: 700;
}

.sd-context-outputs span {
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    border-color: rgba(217,180,91,.18);
}

.sd-context-outputs small {
    color: rgba(217,180,91,.62);
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .13em;
}

.sd-context-outputs strong {
    color: #f1f3f4;
    font-size: 12px;
}

/* ----- CORE ----- */

.sd-context-core {
    display: flex;
    justify-content: center;
    align-items: center;
}

.sd-context-core-ring {
    position: relative;
    width: 126px;
    height: 126px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(217,180,91,.55);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(217,180,91,.12), rgba(7,20,30,.94) 66%);
    box-shadow:
        0 0 0 10px rgba(217,180,91,.025),
        0 0 38px rgba(217,180,91,.08);
}

.sd-context-core-ring::before {
    content: "";
    position: absolute;
    inset: -9px;
    border: 1px dashed rgba(217,180,91,.20);
    border-radius: 50%;
    animation: sd-context-rotate 26s linear infinite;
}

.sd-context-core strong {
    color: #dfbb60;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -.06em;
}

.sd-context-core span {
    margin-top: 8px;
    color: rgba(238,242,245,.58);
    font-size: 7px;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: .12em;
    text-align: center;
}

/* ----- CONNECTIONS ----- */

.sd-context-lines {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 190px;
}

.sd-context-lines i {
    position: relative;
    display: block;
    width: 100%;
    height: 1px;
    overflow: hidden;
    background: linear-gradient(
        90deg,
        rgba(217,180,91,.06),
        rgba(217,180,91,.32)
    );
}

.sd-context-lines-out i {
    background: linear-gradient(
        90deg,
        rgba(217,180,91,.32),
        rgba(217,180,91,.06)
    );
}

.sd-context-lines i::after {
    content: "";
    position: absolute;
    top: -1px;
    width: 18px;
    height: 3px;
    border-radius: 10px;
    background: rgba(226,189,99,.85);
    box-shadow: 0 0 8px rgba(226,189,99,.45);
    animation: sd-context-data 3.8s ease-in-out infinite;
}

.sd-context-lines i:nth-child(2)::after { animation-delay:.55s; }
.sd-context-lines i:nth-child(3)::after { animation-delay:1.1s; }
.sd-context-lines i:nth-child(4)::after { animation-delay:1.65s; }
.sd-context-lines i:nth-child(5)::after { animation-delay:2.2s; }

.sd-context-lines-out i::after {
    animation-direction: reverse;
}

/* ----- FOOT ----- */

.sd-context-lab-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.07);
}

.sd-context-lab-foot strong {
    color: #f0f2f3;
    font-size: 15px;
}

.sd-context-lab-foot p {
    margin: 4px 0 0;
    color: rgba(235,241,245,.48);
    font-size: 11px;
}

@keyframes sd-context-data {
    from { left: -20px; opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    to { left: calc(100% + 20px); opacity: 0; }
}

@keyframes sd-context-rotate {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .sd-context-core-ring::before,
    .sd-context-lines i::after {
        animation: none;
    }
}

@media (max-width: 720px) {

    .sd-context-lab {
        padding: 26px 18px;
    }

    .sd-context-lab-head {
        display: block;
    }

    .sd-context-lab-head > p {
        margin-top: 16px;
    }

    .sd-context-flow {
        grid-template-columns: 1fr;
        gap: 18px;
        min-height: 0;
    }

    .sd-context-lines {
        display: none;
    }

    .sd-context-core {
        order: 2;
        padding: 8px 0;
    }

    .sd-context-inputs {
        order: 1;
    }

    .sd-context-outputs {
        order: 3;
    }

    .sd-context-inputs,
    .sd-context-outputs {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .sd-context-lab-foot {
        align-items: stretch;
        flex-direction: column;
    }

    .sd-context-lab-foot .primary-action {
        text-align: center;
    }
}


/* =========================================================
   SHOOTDATA CONTEXT LAB V2
   Optimisation visuelle uniquement
   ========================================================= */

.sd-context-lab {
    position: relative;
    overflow: hidden;
}

.sd-context-lab::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    left: 50%;
    top: 54%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(217,180,91,.075) 0%,
            rgba(217,180,91,.025) 38%,
            transparent 70%
        );
    pointer-events: none;
}

.sd-context-flow {
    position: relative;
    z-index: 1;
    grid-template-columns:
        minmax(220px, 1fr)
        minmax(100px, .58fr)
        190px
        minmax(100px, .58fr)
        minmax(220px, 1fr);
    column-gap: 18px;
}

.sd-context-inputs,
.sd-context-outputs {
    gap: 12px;
}

.sd-context-inputs span,
.sd-context-outputs > span {
    min-height: 54px;
    border-color: rgba(255,255,255,.11);
    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,.025),
            rgba(255,255,255,.008)
        );
}

.sd-context-outputs > span {
    border-color: rgba(217,180,91,.26);
}

.sd-context-core {
    position: relative;
    z-index: 3;
}

.sd-context-core-ring {
    width: 178px;
    height: 178px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 50% 42%,
            rgba(217,180,91,.08),
            rgba(5,17,26,.98) 62%
        );
    box-shadow:
        0 0 0 1px rgba(217,180,91,.12),
        0 0 40px rgba(217,180,91,.08),
        inset 0 0 28px rgba(0,0,0,.32);
}

.sd-context-core-ring::after {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    border: 1px solid rgba(217,180,91,.14);
    pointer-events: none;
}

.sd-context-core-logo {
    display: block;
    width: 104px;
    height: 58px;
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
    margin: 4px auto 10px;
    filter: drop-shadow(0 3px 8px rgba(0,0,0,.34));
}

.sd-context-core-ring > span {
    position: relative;
    z-index: 2;
    line-height: 1.25;
    letter-spacing: .16em;
}

.sd-context-lines {
    position: relative;
    z-index: 2;
}

.sd-context-lines i {
    height: 1px;
    opacity: .76;
    background:
        linear-gradient(
            90deg,
            rgba(217,180,91,.08),
            rgba(217,180,91,.82),
            rgba(217,180,91,.18)
        );
}

.sd-context-lines-out i {
    background:
        linear-gradient(
            90deg,
            rgba(217,180,91,.18),
            rgba(217,180,91,.82),
            rgba(217,180,91,.08)
        );
}

.sd-context-lines i::after {
    box-shadow: 0 0 8px rgba(217,180,91,.5);
}

@media (max-width: 720px) {
    .sd-context-lab::before {
        width: 300px;
        height: 300px;
        top: 52%;
    }

    .sd-context-core-ring {
        width: 166px;
        height: 166px;
    }

    .sd-context-core-logo {
        width: 98px;
        height: 55px;
    }
}


/* =========================================================
   SHOOTDATA CONTEXT LAB — MOTION FIX
   ========================================================= */

.sd-context-lab-head {
    display: block;
}

.sd-context-lab-head > div {
    max-width: 700px;
}

.sd-context-flow {
    margin-top: 32px;
}

.sd-context-inputs span {
    transition:
        opacity .30s ease,
        transform .30s ease,
        border-color .30s ease,
        background .30s ease;
}

.sd-context-inputs span.sd-context-changing {
    opacity: .08;
    transform: translateX(14px);
    border-color: rgba(217,180,91,.38);
    background: rgba(217,180,91,.045);
}

.sd-context-lab-foot-simple {
    display: flex;
    justify-content: flex-end;
    min-height: 72px;
}

.sd-context-lab-foot-simple .primary-action {
    margin-left: auto;
}

@media (max-width: 720px) {
    .sd-context-lab-foot-simple {
        min-height: auto;
    }

    .sd-context-lab-foot-simple .primary-action {
        width: 100%;
        margin-left: 0;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sd-context-inputs span {
        transition: none;
    }
}


/* =========================================================
   SHOOTDATA CONTEXT LAB V4
   Flux de contextualisation
   ========================================================= */

/* La donnée bouge. Les libellés restent fixes. */
.sd-context-inputs span {
    opacity: 1;
    transform: none;
}

/* Noyau */
.sd-context-core-ring {
    animation: sd-context-core-breathe 5.4s ease-in-out infinite;
}

.sd-context-core-ring::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    border: 1px solid rgba(217,180,91,0);
    box-shadow: 0 0 0 rgba(217,180,91,0);
    animation: sd-context-core-pulse 5.4s ease-out infinite;
    pointer-events: none;
}

/* Rails */
.sd-context-lines i {
    position: relative;
    display: block;
    height: 1px;
    overflow: visible;
    background:
        linear-gradient(
            90deg,
            rgba(217,180,91,.10),
            rgba(217,180,91,.30),
            rgba(217,180,91,.12)
        );
}

/* Particule */
.sd-context-lines i b {
    position: absolute;
    top: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e0b957;
    box-shadow:
        0 0 7px rgba(224,185,87,.72),
        0 0 15px rgba(224,185,87,.28);
    transform: translate(-50%, -50%);
}

/* Entrée : gauche -> noyau */
.sd-context-lines-in i b {
    left: 0%;
    opacity: 0;
    animation: sd-data-flow-in 5.4s ease-in-out infinite;
}

/* Les cinq dimensions n'arrivent pas exactement ensemble */
.sd-context-lines-in i:nth-child(1) b { animation-delay: 0s; }
.sd-context-lines-in i:nth-child(2) b { animation-delay: .18s; }
.sd-context-lines-in i:nth-child(3) b { animation-delay: .36s; }
.sd-context-lines-in i:nth-child(4) b { animation-delay: .54s; }
.sd-context-lines-in i:nth-child(5) b { animation-delay: .72s; }

/* Sortie : noyau -> analyses */
.sd-context-lines-out i b {
    left: 0%;
    opacity: 0;
    animation: sd-data-flow-out 5.4s ease-in-out infinite;
}

.sd-context-lines-out i:nth-child(1) b { animation-delay: 2.55s; }
.sd-context-lines-out i:nth-child(2) b { animation-delay: 2.68s; }
.sd-context-lines-out i:nth-child(3) b { animation-delay: 2.81s; }
.sd-context-lines-out i:nth-child(4) b { animation-delay: 2.94s; }

/* Léger renforcement des cartes au passage du flux */
.sd-context-outputs > span {
    animation: sd-output-breathe 5.4s ease-in-out infinite;
}

.sd-context-outputs > span:nth-child(1) { animation-delay: 2.55s; }
.sd-context-outputs > span:nth-child(2) { animation-delay: 2.68s; }
.sd-context-outputs > span:nth-child(3) { animation-delay: 2.81s; }
.sd-context-outputs > span:nth-child(4) { animation-delay: 2.94s; }

@keyframes sd-data-flow-in {
    0%, 8% {
        left: 0%;
        opacity: 0;
    }

    14% {
        opacity: 1;
    }

    39% {
        left: 100%;
        opacity: 1;
    }

    44%, 100% {
        left: 100%;
        opacity: 0;
    }
}

@keyframes sd-data-flow-out {
    0%, 47% {
        left: 0%;
        opacity: 0;
    }

    53% {
        opacity: 1;
    }

    78% {
        left: 100%;
        opacity: 1;
    }

    84%, 100% {
        left: 100%;
        opacity: 0;
    }
}

@keyframes sd-context-core-pulse {
    0%, 36% {
        border-color: rgba(217,180,91,0);
        box-shadow: 0 0 0 rgba(217,180,91,0);
        transform: scale(.98);
        opacity: 0;
    }

    44% {
        border-color: rgba(217,180,91,.58);
        box-shadow:
            0 0 18px rgba(217,180,91,.22),
            0 0 42px rgba(217,180,91,.10);
        transform: scale(1.06);
        opacity: 1;
    }

    55% {
        border-color: rgba(217,180,91,.16);
        box-shadow: 0 0 15px rgba(217,180,91,.06);
        transform: scale(1);
        opacity: .4;
    }

    100% {
        opacity: 0;
    }
}

@keyframes sd-context-core-breathe {
    0%, 35%, 60%, 100% {
        box-shadow:
            0 0 0 1px rgba(217,180,91,.12),
            0 0 40px rgba(217,180,91,.08),
            inset 0 0 28px rgba(0,0,0,.32);
    }

    44% {
        box-shadow:
            0 0 0 1px rgba(217,180,91,.30),
            0 0 52px rgba(217,180,91,.16),
            inset 0 0 30px rgba(217,180,91,.035);
    }
}

@keyframes sd-output-breathe {
    0%, 56%, 88%, 100% {
        border-color: rgba(217,180,91,.26);
        background:
            linear-gradient(
                90deg,
                rgba(255,255,255,.025),
                rgba(255,255,255,.008)
            );
    }

    72% {
        border-color: rgba(217,180,91,.46);
        background:
            linear-gradient(
                90deg,
                rgba(217,180,91,.055),
                rgba(255,255,255,.012)
            );
    }
}

@media (prefers-reduced-motion: reduce) {
    .sd-context-core-ring,
    .sd-context-core-ring::before,
    .sd-context-lines i b,
    .sd-context-outputs > span {
        animation: none !important;
    }

    .sd-context-lines i b {
        display: none;
    }
}


/* =========================================================
   SHOOTDATA CONTEXT LAB V5
   CONVERGENCE -> NOYAU -> REDISTRIBUTION
   ========================================================= */

/* Bloc plus compact */
.sd-context-lab {
    padding-top: 30px;
    padding-bottom: 24px;
}

.sd-context-flow {
    margin-top: 14px;
    min-height: 390px;
    align-items: center;
}

/* ---------------------------------------------------------
   DONNEES ENTRANTES
   Plus présentes visuellement
   --------------------------------------------------------- */

.sd-context-inputs {
    gap: 12px;
}

.sd-context-inputs span {
    position: relative;
    overflow: hidden;

    min-height: 58px;
    padding: 0 22px 0 28px;

    display: flex;
    align-items: center;

    color: rgba(245,247,249,.88);

    border:
        1px solid rgba(217,180,91,.27);

    background:
        linear-gradient(
            105deg,
            rgba(18,48,63,.78) 0%,
            rgba(11,32,44,.76) 58%,
            rgba(217,180,91,.055) 100%
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.035),
        0 8px 22px rgba(0,0,0,.12);

    transition:
        border-color .25s ease,
        background .25s ease,
        transform .25s ease;
}

/* petit signal doré */
.sd-context-inputs span::before {
    content: "";
    position: absolute;

    left: 11px;
    top: 50%;

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #ddb756;

    box-shadow:
        0 0 8px rgba(221,183,86,.45);

    transform: translateY(-50%);
}

/* reflet léger */
.sd-context-inputs span::after {
    content: "";
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(255,255,255,.025) 45%,
            transparent 80%
        );

    pointer-events: none;
}

/* ---------------------------------------------------------
   CONVERGENCE DES 5 FLUX
   --------------------------------------------------------- */

.sd-context-lines-in {
    position: relative;
    height: 310px;
}

.sd-context-lines-in i {
    position: absolute;

    left: 0;
    right: 0;
    top: 50%;

    transform-origin: right center;
}

/* Les 5 rails convergent vers le même point à droite */

.sd-context-lines-in i:nth-child(1) {
    transform: translateY(-104px) rotate(24deg);
}

.sd-context-lines-in i:nth-child(2) {
    transform: translateY(-53px) rotate(13deg);
}

.sd-context-lines-in i:nth-child(3) {
    transform: translateY(0);
}

.sd-context-lines-in i:nth-child(4) {
    transform: translateY(53px) rotate(-13deg);
}

.sd-context-lines-in i:nth-child(5) {
    transform: translateY(104px) rotate(-24deg);
}

/* ---------------------------------------------------------
   NOYAU SHOOTDATA
   --------------------------------------------------------- */

.sd-context-core {
    position: relative;
}

/* halo de fusion */
.sd-context-core::before {
    content: "";

    position: absolute;

    width: 225px;
    height: 225px;

    left: 50%;
    top: 50%;

    transform:
        translate(-50%, -50%)
        scale(.86);

    border-radius: 50%;

    border:
        1px solid rgba(217,180,91,.12);

    opacity: 0;

    animation:
        sd-fusion-halo 5.4s ease-out infinite;

    pointer-events: none;
}

.sd-context-core::after {
    content: "";

    position: absolute;

    width: 7px;
    height: 7px;

    left: 50%;
    top: 50%;

    border-radius: 50%;

    background: #e0b957;

    box-shadow:
        0 0 9px rgba(224,185,87,.8),
        0 0 24px rgba(224,185,87,.32);

    opacity: 0;

    animation:
        sd-fusion-point 5.4s ease-in-out infinite;

    pointer-events: none;
}

/* ---------------------------------------------------------
   REDISTRIBUTION VERS LES ANALYSES
   --------------------------------------------------------- */

.sd-context-lines-out {
    position: relative;
    height: 280px;
}

.sd-context-lines-out i {
    position: absolute;

    left: 0;
    right: 0;
    top: 50%;

    transform-origin: left center;
}

.sd-context-lines-out i:nth-child(1) {
    transform: translateY(-83px) rotate(-21deg);
}

.sd-context-lines-out i:nth-child(2) {
    transform: translateY(-29px) rotate(-8deg);
}

.sd-context-lines-out i:nth-child(3) {
    transform: translateY(29px) rotate(8deg);
}

.sd-context-lines-out i:nth-child(4) {
    transform: translateY(83px) rotate(21deg);
}

/* ---------------------------------------------------------
   ANIMATIONS DE FUSION
   --------------------------------------------------------- */

@keyframes sd-fusion-halo {
    0%, 35% {
        opacity: 0;
        transform:
            translate(-50%, -50%)
            scale(.82);
    }

    43% {
        opacity: .65;
        transform:
            translate(-50%, -50%)
            scale(1);
        box-shadow:
            0 0 35px rgba(217,180,91,.10);
    }

    56% {
        opacity: 0;
        transform:
            translate(-50%, -50%)
            scale(1.12);
    }

    100% {
        opacity: 0;
    }
}

@keyframes sd-fusion-point {
    0%, 36% {
        opacity: 0;
        transform:
            translate(-50%, -50%)
            scale(.4);
    }

    43% {
        opacity: 1;
        transform:
            translate(-50%, -50%)
            scale(1.35);
    }

    51% {
        opacity: .35;
        transform:
            translate(-50%, -50%)
            scale(.75);
    }

    58%, 100% {
        opacity: 0;
    }
}

/* ---------------------------------------------------------
   Sorties légèrement plus lumineuses
   --------------------------------------------------------- */

.sd-context-outputs > span {
    background:
        linear-gradient(
            100deg,
            rgba(217,180,91,.035),
            rgba(8,25,36,.82)
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.025);
}

/* ---------------------------------------------------------
   MOBILE : pas de diagonales complexes
   --------------------------------------------------------- */

@media (max-width: 720px) {

    .sd-context-flow {
        min-height: auto;
        margin-top: 20px;
    }

    .sd-context-inputs span {
        min-height: 52px;
    }

    .sd-context-lines-in,
    .sd-context-lines-out {
        display: none;
    }

    .sd-context-core::before {
        width: 200px;
        height: 200px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .sd-context-core::before,
    .sd-context-core::after {
        animation: none !important;
    }
}

/* =========================================================
   SHOOTDATA CONTEXT LAB V6
   SHOOTDATA -> FAMILLES D'ANALYSE
   ========================================================= */

/*
   Les éléments de gauche représentent le contexte disponible.
   Ils n'envoient plus de flux individuels vers SHOOTDATA.
*/
.sd-context-lines-in {
    visibility: hidden;
}

.sd-context-lines-in i,
.sd-context-lines-in i b {
    animation: none !important;
}

/*
   Suppression de l'effet de fusion central V5.
   Le noyau devient la source visuelle des analyses.
*/
.sd-context-core::before,
.sd-context-core::after {
    display: none;
}

/*
   Le SD respire légèrement avant la redistribution.
*/
.sd-context-core-ring {
    animation: sd-engine-output-pulse 5.2s ease-in-out infinite;
}

/*
   Les quatre branches partent réellement du noyau.
*/
.sd-context-lines-out {
    overflow: visible;
}

.sd-context-lines-out i {
    background:
        linear-gradient(
            90deg,
            rgba(224,185,87,.72) 0%,
            rgba(224,185,87,.34) 48%,
            rgba(224,185,87,.13) 100%
        );
}

/*
   Impulsion : SD -> analyse
*/
.sd-context-lines-out i b {
    left: 0%;
    width: 8px;
    height: 8px;

    opacity: 0;

    background: #e0b957;

    box-shadow:
        0 0 8px rgba(224,185,87,.85),
        0 0 20px rgba(224,185,87,.38);

    animation: sd-engine-to-analysis 5.2s ease-in-out infinite;
}

.sd-context-lines-out i:nth-child(1) b {
    animation-delay: .15s;
}

.sd-context-lines-out i:nth-child(2) b {
    animation-delay: .32s;
}

.sd-context-lines-out i:nth-child(3) b {
    animation-delay: .49s;
}

.sd-context-lines-out i:nth-child(4) b {
    animation-delay: .66s;
}

/*
   Chaque carte reçoit visuellement l'impulsion.
*/
.sd-context-outputs > span {
    animation: sd-analysis-receive 5.2s ease-in-out infinite;
}

.sd-context-outputs > span:nth-child(1) {
    animation-delay: .15s;
}

.sd-context-outputs > span:nth-child(2) {
    animation-delay: .32s;
}

.sd-context-outputs > span:nth-child(3) {
    animation-delay: .49s;
}

.sd-context-outputs > span:nth-child(4) {
    animation-delay: .66s;
}

@keyframes sd-engine-output-pulse {

    0%, 12%, 72%, 100% {
        box-shadow:
            0 0 0 1px rgba(217,180,91,.12),
            0 0 38px rgba(217,180,91,.07),
            inset 0 0 28px rgba(0,0,0,.32);
    }

    22% {
        box-shadow:
            0 0 0 1px rgba(217,180,91,.38),
            0 0 48px rgba(217,180,91,.18),
            inset 0 0 28px rgba(217,180,91,.025);
    }

    34% {
        box-shadow:
            0 0 0 1px rgba(217,180,91,.20),
            0 0 42px rgba(217,180,91,.10),
            inset 0 0 28px rgba(0,0,0,.28);
    }
}

@keyframes sd-engine-to-analysis {

    0%, 22% {
        left: 0%;
        opacity: 0;
        transform:
            translate(-50%, -50%)
            scale(.65);
    }

    28% {
        opacity: 1;
    }

    58% {
        left: 100%;
        opacity: 1;
        transform:
            translate(-50%, -50%)
            scale(1);
    }

    65%, 100% {
        left: 100%;
        opacity: 0;
        transform:
            translate(-50%, -50%)
            scale(.7);
    }
}

@keyframes sd-analysis-receive {

    0%, 54%, 72%, 100% {
        border-color: rgba(217,180,91,.26);

        box-shadow:
            inset 0 1px 0 rgba(255,255,255,.025);
    }

    61% {
        border-color: rgba(224,185,87,.62);

        box-shadow:
            inset 0 1px 0 rgba(255,255,255,.035),
            0 0 18px rgba(217,180,91,.08);
    }
}

@media (prefers-reduced-motion: reduce) {

    .sd-context-core-ring,
    .sd-context-lines-out i b,
    .sd-context-outputs > span {
        animation: none !important;
    }
}


/* =========================================================
   SHOOTDATA CONTEXT LAB V6.1
   RESTAURATION DES FLUX GAUCHE -> SD
   Mouvement global : gauche -> droite uniquement
   ========================================================= */

/* Réaffiche la convergence V5 */
.sd-context-lines-in {
    visibility: visible;
}

/* Réactive les particules d'entrée */
.sd-context-lines-in i b {
    display: block !important;
    left: 0%;
    opacity: 0;

    animation:
        sd-data-flow-in 5.4s ease-in-out infinite !important;
}

/* Décalage léger des 5 entrées */
.sd-context-lines-in i:nth-child(1) b {
    animation-delay: 0s !important;
}

.sd-context-lines-in i:nth-child(2) b {
    animation-delay: .18s !important;
}

.sd-context-lines-in i:nth-child(3) b {
    animation-delay: .36s !important;
}

.sd-context-lines-in i:nth-child(4) b {
    animation-delay: .54s !important;
}

.sd-context-lines-in i:nth-child(5) b {
    animation-delay: .72s !important;
}

/*
   IMPORTANT :
   - gauche : catégories -> SD
   - droite : SD -> analyses
   Aucun mouvement inverse.
*/

@media (prefers-reduced-motion: reduce) {
    .sd-context-lines-in i b {
        animation: none !important;
        display: none !important;
    }
}

/* =========================================================
   SHOOTDATA V6.2
   FIX DROITE UNIQUEMENT
   SD -> ANALYSES, SENS UNIQUE + ALIGNEMENT
   ========================================================= */

/*
   On conserve toute la partie gauche telle quelle.
   Ici seules les 4 sorties sont corrigées.
*/

.sd-context-lines-out {
    position: relative;
    height: 280px;
    overflow: visible;
}

/*
   Les quatre rails partent de la zone SD et arrivent
   exactement aux quatre niveaux des cartes.
*/
.sd-context-lines-out i {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;

    height: 1px;

    transform-origin: left center;

    background:
        linear-gradient(
            90deg,
            rgba(224,185,87,.68) 0%,
            rgba(224,185,87,.30) 55%,
            rgba(224,185,87,.14) 100%
        );
}

/* centres des 4 cartes */
.sd-context-lines-out i:nth-child(1) {
    transform: translateY(-94px) rotate(-14deg);
}

.sd-context-lines-out i:nth-child(2) {
    transform: translateY(-32px) rotate(-5deg);
}

.sd-context-lines-out i:nth-child(3) {
    transform: translateY(32px) rotate(5deg);
}

.sd-context-lines-out i:nth-child(4) {
    transform: translateY(94px) rotate(14deg);
}


/* =========================================================
   PARTICULES : STRICTEMENT SD -> CATEGORIES
   ========================================================= */

.sd-context-lines-out i b {
    position: absolute;

    left: 0%;
    top: 50%;

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #e0b957;

    box-shadow:
        0 0 8px rgba(224,185,87,.90),
        0 0 18px rgba(224,185,87,.35);

    opacity: 0;

    transform:
        translate(-50%, -50%)
        scale(.7);

    animation:
        sd-output-one-way 5.2s linear infinite !important;
}

.sd-context-lines-out i:nth-child(1) b {
    animation-delay: .00s !important;
}

.sd-context-lines-out i:nth-child(2) b {
    animation-delay: .16s !important;
}

.sd-context-lines-out i:nth-child(3) b {
    animation-delay: .32s !important;
}

.sd-context-lines-out i:nth-child(4) b {
    animation-delay: .48s !important;
}


/*
   Important :
   la particule apparaît au SD,
   voyage jusqu'à la carte,
   disparaît AVANT que sa position soit réinitialisée.
   Le retour à 0% est donc totalement invisible.
*/
@keyframes sd-output-one-way {

    0% {
        left: 0%;
        opacity: 0;
        transform:
            translate(-50%, -50%)
            scale(.65);
    }

    5% {
        left: 0%;
        opacity: 1;
    }

    42% {
        left: 100%;
        opacity: 1;
        transform:
            translate(-50%, -50%)
            scale(1);
    }

    47% {
        left: 100%;
        opacity: 0;
        transform:
            translate(-50%, -50%)
            scale(.65);
    }

    100% {
        left: 100%;
        opacity: 0;
    }
}


/* La carte réagit seulement à l'arrivée */
.sd-context-outputs > span {
    animation:
        sd-output-card-receive 5.2s ease-in-out infinite !important;
}

.sd-context-outputs > span:nth-child(1) {
    animation-delay: .00s !important;
}

.sd-context-outputs > span:nth-child(2) {
    animation-delay: .16s !important;
}

.sd-context-outputs > span:nth-child(3) {
    animation-delay: .32s !important;
}

.sd-context-outputs > span:nth-child(4) {
    animation-delay: .48s !important;
}

@keyframes sd-output-card-receive {

    0%, 37%, 52%, 100% {
        border-color: rgba(217,180,91,.26);

        box-shadow:
            inset 0 1px 0 rgba(255,255,255,.025);
    }

    43% {
        border-color: rgba(224,185,87,.68);

        box-shadow:
            inset 0 1px 0 rgba(255,255,255,.035),
            0 0 20px rgba(217,180,91,.10);
    }
}

@media (prefers-reduced-motion: reduce) {
    .sd-context-lines-out i b,
    .sd-context-outputs > span {
        animation: none !important;
    }

    .sd-context-lines-out i b {
        display: none;
    }
}


/* =========================================================
   SHOOTDATA MOBILE — FEATURED CAROUSEL DOTS
   ========================================================= */

.sd-featured-carousel-dots {
    display: none;
}

@media (max-width: 720px) {

    .sd-featured-carousel-status {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 24px;
        margin-top: 16px;
    }

    .sd-featured-carousel-separator,
    .sd-featured-carousel-total {
        display: none;
    }

    .sd-featured-carousel-dots {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .sd-featured-carousel-dot {
        display: block;
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: rgba(235,240,243,.24);
        transition:
            width .22s ease,
            background .22s ease,
            opacity .22s ease;
    }

    .sd-featured-carousel-dot.active {
        width: 18px;
        border-radius: 999px;
        background: #ddb756;
    }
}


/* =========================================================
   SHOOTDATA MOBILE — FEATURED CAROUSEL DOTS
   ========================================================= */

.sd-featured-carousel-dots {
    display: none;
}

@media (max-width: 720px) {

    .sd-featured-carousel-status {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 24px;
        margin-top: 16px;
    }

    .sd-featured-carousel-separator,
    .sd-featured-carousel-total {
        display: none;
    }

    .sd-featured-carousel-dots {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .sd-featured-carousel-dot {
        display: block;
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: rgba(235,240,243,.24);
        transition:
            width .22s ease,
            background .22s ease,
            opacity .22s ease;
    }

    .sd-featured-carousel-dot.active {
        width: 18px;
        border-radius: 999px;
        background: #ddb756;
    }
}


/* =========================================================
   SHOOTDATA — CALENDRIER MOBILE V4
   Flèches fixes + piste swipeable + date picker dessous
   ========================================================= */

@media (max-width: 720px) {

    .sd-date-strip {
        display: grid !important;
        grid-template-columns: 46px minmax(0, 1fr) 46px;
        grid-template-rows: 42px 38px;

        width: 100%;
        height: auto !important;
        min-height: 88px !important;

        gap: 6px 8px;
        padding: 6px;

        overflow: hidden;
        align-items: center;
    }

    /* Flèche précédente */
    .sd-date-strip > .sd-date-arrow:first-child {
        grid-column: 1;
        grid-row: 1;

        width: 46px;
        min-width: 46px;
        height: 42px;
        min-height: 42px;
    }

    /* Piste des journées */
    .sd-date-strip > .sd-date-track {
        grid-column: 2;
        grid-row: 1;

        width: 100%;
        height: 42px;
        min-height: 42px;

        display: flex;
        align-items: stretch;

        overflow-x: auto;
        overflow-y: hidden;

        scroll-snap-type: x proximity;
        scroll-padding-inline: calc(50% - 48px);
    }

    .sd-date-track > .sd-date-day {
        flex: 0 0 96px !important;
        min-width: 96px !important;

        height: 42px;
        min-height: 42px;

        padding: 4px 8px;

        scroll-snap-align: center;
    }

    /* Sélecteur de date sous le carousel */
    .sd-date-strip > .sd-date-picker {
        grid-column: 1 / 4;
        grid-row: 2;

        width: auto;
        min-width: 0;
        height: 34px;
        min-height: 34px;

        margin: 0;
        padding: 0 12px;

        border-left: 0;
        border-top: 1px solid rgba(255,255,255,.08);

        justify-content: center;
        gap: 8px;
    }

    /* Flèche suivante */
    .sd-date-strip > .sd-date-arrow:last-child {
        grid-column: 3;
        grid-row: 1;

        width: 46px;
        min-width: 46px;
        height: 42px;
        min-height: 42px;
    }
}


/* =========================================================
   SHOOTDATA — HEADER MOBILE V2
   Logo + recherche compacte + compte + premium
   Desktop inchangé
   ========================================================= */

@media (max-width: 720px) {

    .site-header {
        min-height: 82px;
        padding: 12px 18px;

        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .site-header .brand-logo {
        flex: 0 0 auto;
    }

    .site-header .brand-logo img {
        width: 92px;
        height: auto;
        display: block;
    }

    .site-header .site-actions {
        flex: 0 0 auto;

        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 12px;
    }

    /* Recherche : bouton compact sur smartphone */
    .site-header .global-search {
        width: 46px !important;
        min-width: 46px !important;
        height: 46px;

        flex: 0 0 46px;

        display: flex;
        align-items: center;
        justify-content: center;

        padding: 0 !important;

        border-radius: 9px;
        overflow: hidden;
    }

    .site-header .global-search > span {
        width: 100%;
        height: 100%;

        display: flex;
        align-items: center;
        justify-content: center;

        margin: 0 !important;

        font-size: 21px;
        line-height: 1;
    }

    /* Le vrai champ reste présent pour le futur moteur,
       mais n'occupe aucune place en mode mobile. */
    .site-header .global-search input {
        position: absolute;
        width: 1px !important;
        height: 1px !important;
        min-width: 0 !important;

        padding: 0 !important;
        margin: 0 !important;

        opacity: 0;
        pointer-events: none;
    }

    .site-header .account-link {
        white-space: nowrap;
        font-size: 13px;
    }

    .site-header .premium-pill {
        min-height: 42px;
        padding: 0 14px !important;

        display: flex;
        align-items: center;
        justify-content: center;

        white-space: nowrap;
        font-size: 10px !important;
        letter-spacing: .12em;
    }
}

@media (max-width: 430px) {

    .site-header {
        padding-left: 14px;
        padding-right: 14px;
        gap: 9px;
    }

    .site-header .brand-logo img {
        width: 82px;
    }

    .site-header .site-actions {
        gap: 9px;
    }

    .site-header .global-search {
        width: 42px !important;
        min-width: 42px !important;
        height: 42px;
        flex-basis: 42px;
    }

    .site-header .account-link {
        font-size: 12px;
    }

    .site-header .premium-pill {
        min-height: 40px;
        padding: 0 11px !important;
        font-size: 9px !important;
    }
}


/* =========================================================
   SHOOTDATA — CALENDRIER MOBILE V4.1
   Espace de centrage aux extrémités de la piste
   ========================================================= */

@media (max-width: 720px) {

    .sd-date-strip > .sd-date-track {
        box-sizing: border-box;

        /* Permet aussi aux premières / dernières dates
           d'être réellement centrées dans la fenêtre. */
        padding-left: calc(50% - 48px);
        padding-right: calc(50% - 48px);

        scroll-padding-left: calc(50% - 48px);
        scroll-padding-right: calc(50% - 48px);
    }
}


/* =========================================================
   SHOOTDATA — CALENDRIER MOBILE V5 FINAL
   3 journées visibles / active centrée
   ========================================================= */

@media (max-width: 720px) {

    .sd-date-strip > .sd-date-track {
        box-sizing: border-box !important;

        padding-left: 0 !important;
        padding-right: 0 !important;

        scroll-padding-left: 0 !important;
        scroll-padding-right: 0 !important;

        overflow-x: auto !important;
        overflow-y: hidden !important;

        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .sd-date-strip > .sd-date-track::-webkit-scrollbar {
        display: none;
    }

    .sd-date-strip > .sd-date-track > .sd-date-day {
        box-sizing: border-box;

        flex: 0 0 33.333333% !important;
        width: 33.333333% !important;
        min-width: 33.333333% !important;
        max-width: 33.333333% !important;

        height: 42px;
        min-height: 42px;

        padding: 4px 3px;

        display: flex;
        align-items: center;
        justify-content: center;

        white-space: nowrap;
        overflow: hidden;

        scroll-snap-align: center;
        scroll-snap-stop: always;
    }

    .sd-date-strip > .sd-date-track > .sd-date-day small,
    .sd-date-strip > .sd-date-track > .sd-date-day strong,
    .sd-date-strip > .sd-date-track > .sd-date-day span {
        flex: 0 0 auto;
    }

    .sd-date-strip > .sd-date-track > .sd-date-day small {
        font-size: 9px;
    }

    .sd-date-strip > .sd-date-track > .sd-date-day strong {
        font-size: 20px;
    }

    .sd-date-strip > .sd-date-track > .sd-date-day span {
        font-size: 9px;
    }
}


/* =========================================================
   SHOOTDATA — PROGRAMME MOBILE COMPACT V1
   Une rencontre = une ligne
   ========================================================= */

.sd-match-mobile-row {
    display: none;
}

@media (max-width: 720px) {

    /* La légende statistique n'est plus nécessaire
       dans la liste compacte smartphone. */
    .sd-all-matches-heading + .sd-caption {
        display: none;
    }

    .sd-match-list {
        gap: 8px;
    }

    .sd-match {
        min-height: 0 !important;
        padding: 0 !important;
        overflow: hidden;
    }

    /* Version détaillée conservée pour desktop */
    .sd-match > .sd-kickoff,
    .sd-match > .sd-match-teams,
    .sd-match > .sd-match-topics,
    .sd-match > .sd-confidence,
    .sd-match > .sd-access {
        display: none !important;
    }

    .sd-match-mobile-row {
        min-height: 64px;

        display: grid;
        grid-template-columns: 58px minmax(0, 1fr) auto;
        align-items: center;
        gap: 12px;

        padding: 10px 14px;

        color: inherit;
        text-decoration: none;
    }

    .sd-match-mobile-time {
        color: #ddb756;
        font-size: 16px;
        font-weight: 800;
        white-space: nowrap;
    }

    .sd-match-mobile-teams {
        min-width: 0;

        display: flex;
        align-items: center;
        gap: 6px;

        color: #f5f7f9;
        font-size: 13px;
        line-height: 1.25;
        white-space: nowrap;
        overflow: hidden;
    }

    .sd-match-mobile-teams strong {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .sd-match-mobile-teams i {
        flex: 0 0 auto;
        color: rgba(235,240,243,.35);
        font-style: normal;
    }

    .sd-match-mobile-action {
        white-space: nowrap;

        color: #ddb756;
        font-size: 11px;
        font-weight: 800;
    }

    .sd-match-mobile-action.premium {
        padding: 8px 10px;

        border-radius: 7px;
        background: #ffc400;
        color: #07131d;

        text-transform: uppercase;
        letter-spacing: .04em;
    }

    .sd-match-mobile-action.free {
        color: #ddb756;
    }

    .sd-league-filters {
        margin-bottom: 12px;
    }
}


/* =========================================================
   SHOOTDATA — PROGRAMME MOBILE COMPACT V2
   Heure | équipes | accès
   ========================================================= */

@media (max-width: 720px) {

    .sd-match-mobile-row {
        grid-template-columns: 62px minmax(0, 1fr) auto !important;
        gap: 12px !important;

        min-height: 72px;
        padding: 11px 14px !important;
    }

    .sd-match-mobile-time {
        display: block !important;

        color: #ddb756;
        font-size: 15px;
        line-height: 1;
    }

    .sd-match-mobile-teams {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
        gap: 3px !important;

        width: 100% !important;
        min-width: 0 !important;

        color: #f5f7f9 !important;
        overflow: hidden;
        white-space: normal !important;
    }

    .sd-match-mobile-teams strong {
        display: block !important;

        width: 100%;
        min-width: 0;

        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;

        color: #f5f7f9 !important;
        font-size: 13px;
        line-height: 1.25;
        font-weight: 750;
    }

    .sd-match-mobile-teams i {
        display: none !important;
    }

    .sd-match-mobile-action {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .sd-match-load-more-label {
        white-space: nowrap;
    }
}


/* =========================================================
   SHOOTDATA — PROGRAMME MOBILE COMPACT
   La ligne mobile occupe toute la largeur de la carte
   ========================================================= */

@media (max-width: 720px) {
    .sd-match > .sd-match-mobile-row {
        grid-column: 1 / -1 !important;
        grid-row: 1 !important;
        width: 100% !important;
        box-sizing: border-box;
    }
}

/* =========================================================
   SHOOTDATA — CONTEXT LAB MOBILE FINAL
   Flux vertical : contexte -> noyau -> analyses
   ========================================================= */

@media (max-width: 720px) {

    .sd-context-lab {
        padding: 28px 18px 24px !important;
        overflow: hidden !important;
    }

    .sd-context-lab-head h2 {
        font-size: 34px !important;
        line-height: 1.04 !important;
    }

    .sd-context-flow {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        min-height: 0 !important;
        gap: 24px !important;
        margin: 28px 0 26px !important;
    }

    .sd-context-lines {
        display: none !important;
    }

    .sd-context-inputs,
    .sd-context-outputs {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .sd-context-inputs {
        order: 1 !important;
    }

    .sd-context-core {
        order: 2 !important;
        width: 100% !important;
        padding: 6px 0 !important;
        display: flex !important;
        justify-content: center !important;
    }

    .sd-context-outputs {
        order: 3 !important;
    }

    .sd-context-inputs span,
    .sd-context-outputs > span {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 58px !important;
        box-sizing: border-box !important;
    }

    .sd-context-inputs span {
        padding: 10px 12px 10px 27px !important;
        font-size: 12px !important;
        line-height: 1.2 !important;
    }

    .sd-context-core-ring {
        width: 150px !important;
        height: 150px !important;
        box-sizing: border-box !important;
    }

    .sd-context-core::before {
        width: 185px !important;
        height: 185px !important;
    }

    .sd-context-core-logo {
        width: 92px !important;
        height: 52px !important;
    }

    .sd-context-outputs > span {
        padding: 10px 14px !important;
    }

    .sd-context-lab-foot,
    .sd-context-lab-foot-simple {
        width: 100% !important;
    }

    .sd-context-lab-foot-simple .primary-action {
        width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        text-align: center !important;
    }
}

/* =========================================================
   SHOOTDATA — CONTEXT LAB MOBILE MOTION
   Entrées -> noyau -> analyses
   ========================================================= */

@media (max-width: 720px) {

    /* On réactive les deux zones de flux */
    .sd-context-lines {
        display: block !important;
        position: relative !important;
        width: 100% !important;
        height: 38px !important;
        flex: none !important;
        overflow: visible !important;
        z-index: 2 !important;
    }

    /* Position dans le flux vertical */
    .sd-context-lines-in {
        order: 2 !important;
    }

    .sd-context-core {
        order: 3 !important;
    }

    .sd-context-lines-out {
        order: 4 !important;
    }

    .sd-context-outputs {
        order: 5 !important;
    }

    /*
       Les anciens rails desktop sont neutralisés.
       Chaque <i> devient un petit flux vertical centré.
    */
    .sd-context-lines-in i,
    .sd-context-lines-out i {
        display: block !important;
        position: absolute !important;

        left: 50% !important;
        right: auto !important;
        top: 0 !important;

        width: 1px !important;
        height: 38px !important;

        transform: translateX(-50%) !important;
        transform-origin: center !important;

        overflow: visible !important;

        background:
            linear-gradient(
                180deg,
                rgba(217,180,91,.08),
                rgba(217,180,91,.55),
                rgba(217,180,91,.10)
            ) !important;
    }

    /*
       Plusieurs particules légèrement décalées donnent
       l'impression de données qui convergent.
    */
    .sd-context-lines-in i:nth-child(1),
    .sd-context-lines-out i:nth-child(1) {
        margin-left: -28px;
    }

    .sd-context-lines-in i:nth-child(2),
    .sd-context-lines-out i:nth-child(2) {
        margin-left: -14px;
    }

    .sd-context-lines-in i:nth-child(3),
    .sd-context-lines-out i:nth-child(3) {
        margin-left: 0;
    }

    .sd-context-lines-in i:nth-child(4),
    .sd-context-lines-out i:nth-child(4) {
        margin-left: 14px;
    }

    .sd-context-lines-in i:nth-child(5) {
        margin-left: 28px;
    }

    /* On supprime l'ancienne particule ::after */
    .sd-context-lines i::after {
        display: none !important;
    }

    /* Particule réelle <b> */
    .sd-context-lines i b {
        display: block !important;
        position: absolute !important;

        left: 50% !important;
        top: 0 !important;

        width: 6px !important;
        height: 6px !important;

        border-radius: 50% !important;

        background: #e0b957 !important;

        box-shadow:
            0 0 7px rgba(224,185,87,.78),
            0 0 14px rgba(224,185,87,.30) !important;

        transform: translate(-50%, -50%) !important;
    }

    /* Données qui descendent vers SHOOTDATA */
    .sd-context-lines-in i b {
        animation: sd-mobile-flow-down-in 3.8s ease-in-out infinite !important;
    }

    .sd-context-lines-in i:nth-child(1) b { animation-delay: 0s !important; }
    .sd-context-lines-in i:nth-child(2) b { animation-delay: .14s !important; }
    .sd-context-lines-in i:nth-child(3) b { animation-delay: .28s !important; }
    .sd-context-lines-in i:nth-child(4) b { animation-delay: .42s !important; }
    .sd-context-lines-in i:nth-child(5) b { animation-delay: .56s !important; }

    /* Données redistribuées après le noyau */
    .sd-context-lines-out i b {
        animation: sd-mobile-flow-down-out 3.8s ease-in-out infinite !important;
    }

    .sd-context-lines-out i:nth-child(1) b { animation-delay: 1.85s !important; }
    .sd-context-lines-out i:nth-child(2) b { animation-delay: 1.99s !important; }
    .sd-context-lines-out i:nth-child(3) b { animation-delay: 2.13s !important; }
    .sd-context-lines-out i:nth-child(4) b { animation-delay: 2.27s !important; }

    /* Le noyau réagit au passage des données */
    .sd-context-core-ring {
        animation: sd-mobile-core-breathe 3.8s ease-in-out infinite !important;
    }

    /* Les analyses réagissent après redistribution */
    .sd-context-outputs > span {
        animation: sd-mobile-output-pulse 3.8s ease-in-out infinite !important;
    }

    .sd-context-outputs > span:nth-child(1) { animation-delay: 2.05s !important; }
    .sd-context-outputs > span:nth-child(2) { animation-delay: 2.19s !important; }
    .sd-context-outputs > span:nth-child(3) { animation-delay: 2.33s !important; }
    .sd-context-outputs > span:nth-child(4) { animation-delay: 2.47s !important; }
}


/* Entrées -> noyau */
@keyframes sd-mobile-flow-down-in {
    0%, 8% {
        top: 0%;
        opacity: 0;
    }

    18% {
        opacity: 1;
    }

    42% {
        top: 100%;
        opacity: 1;
    }

    48%, 100% {
        top: 100%;
        opacity: 0;
    }
}


/* Noyau -> analyses */
@keyframes sd-mobile-flow-down-out {
    0%, 48% {
        top: 0%;
        opacity: 0;
    }

    56% {
        opacity: 1;
    }

    80% {
        top: 100%;
        opacity: 1;
    }

    86%, 100% {
        top: 100%;
        opacity: 0;
    }
}


/* Respiration discrète du moteur SHOOTDATA */
@keyframes sd-mobile-core-breathe {
    0%, 35%, 65%, 100% {
        box-shadow:
            0 0 0 1px rgba(217,180,91,.12),
            0 0 40px rgba(217,180,91,.08),
            inset 0 0 28px rgba(0,0,0,.32);
    }

    45% {
        box-shadow:
            0 0 0 1px rgba(217,180,91,.42),
            0 0 34px rgba(217,180,91,.20),
            inset 0 0 28px rgba(0,0,0,.32);
    }
}


/* Réaction des blocs d'analyse */
@keyframes sd-mobile-output-pulse {
    0%, 52%, 82%, 100% {
        border-color: rgba(217,180,91,.26);
        background: rgba(255,255,255,.025);
    }

    66% {
        border-color: rgba(217,180,91,.58);
        background: rgba(217,180,91,.065);
    }
}


@media (prefers-reduced-motion: reduce) {
    .sd-context-lines i b,
    .sd-context-core-ring,
    .sd-context-outputs > span {
        animation: none !important;
    }
}

/* =========================================================
   SHOOTDATA — CONTEXT LAB MOBILE
   Faisceaux de données
   ========================================================= */

@media (max-width: 720px) {

    /* Davantage d'espace pour rendre la convergence lisible */
    .sd-context-lines {
        height: 64px !important;
    }

    /*
       ENTRÉE
       5 rails répartis en haut qui convergent vers le centre.
    */
    .sd-context-lines-in i {
        top: 0 !important;
        height: 70px !important;
        margin-left: 0 !important;
        transform-origin: 50% 100% !important;
    }

    .sd-context-lines-in i:nth-child(1) {
        left: calc(50% - 72px) !important;
        transform: rotate(-46deg) !important;
    }

    .sd-context-lines-in i:nth-child(2) {
        left: calc(50% - 36px) !important;
        transform: rotate(-27deg) !important;
    }

    .sd-context-lines-in i:nth-child(3) {
        left: 50% !important;
        transform: rotate(0deg) !important;
    }

    .sd-context-lines-in i:nth-child(4) {
        left: calc(50% + 36px) !important;
        transform: rotate(27deg) !important;
    }

    .sd-context-lines-in i:nth-child(5) {
        left: calc(50% + 72px) !important;
        transform: rotate(46deg) !important;
    }


    /*
       SORTIE
       Le flux quitte le noyau puis s'ouvre vers les analyses.
    */
    .sd-context-lines-out i {
        top: 0 !important;
        height: 70px !important;
        margin-left: 0 !important;
        transform-origin: 50% 0% !important;
    }

    .sd-context-lines-out i:nth-child(1) {
        left: 50% !important;
        transform: rotate(35deg) !important;
    }

    .sd-context-lines-out i:nth-child(2) {
        left: 50% !important;
        transform: rotate(12deg) !important;
    }

    .sd-context-lines-out i:nth-child(3) {
        left: 50% !important;
        transform: rotate(-12deg) !important;
    }

    .sd-context-lines-out i:nth-child(4) {
        left: 50% !important;
        transform: rotate(-35deg) !important;
    }


    /*
       Les particules suivent maintenant leur rail.
       On conserve le cycle déjà validé.
    */
    .sd-context-lines i b {
        left: 50% !important;
        margin-left: 0 !important;
    }
}

/* =========================================================
   SHOOTDATA — CONTEXT LAB MOBILE
   Connexion visuelle des faisceaux
   ========================================================= */

@media (max-width: 720px) {

    .sd-context-lines {
        height: 92px !important;
    }

    .sd-context-lines-in i,
    .sd-context-lines-out i {
        height: 102px !important;
    }

    /* Rapproche le faisceau entrant du noyau */
    .sd-context-lines-in {
        margin-bottom: -18px !important;
    }

    /* Rapproche le faisceau sortant des analyses */
    .sd-context-lines-out {
        margin-top: -18px !important;
        margin-bottom: -8px !important;
    }
}

/* ==========================================================
   SHOOTDATA — IDENTIFICATION CHAMPIONNAT DANS LE PROGRAMME
   Desktop : drapeau + nom
   Mobile  : drapeau seul
   ========================================================== */

/* Desktop */
.sd-match-league {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.sd-match-league-flag {
    flex: 0 0 auto;
    font-size: 22px;
    line-height: 1;
}

.sd-match-league-name {
    min-width: 0;
    color: #b7c4d0;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
}

/* La version mobile reste invisible sur desktop */
.sd-match-mobile-flag {
    display: none;
}

@media (max-width: 720px) {

    /* La colonne championnat desktop ne doit jamais apparaître
       dans la carte mobile validée. */
    .sd-match > .sd-match-league {
        display: none !important;
    }

    /* Heure | drapeau | équipes | accès */
    .sd-match-mobile-row {
        grid-template-columns: 62px 28px minmax(0, 1fr) auto !important;
        gap: 9px !important;
    }

    .sd-match-mobile-flag {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 28px;
        font-size: 20px;
        line-height: 1;
    }
}

/* ============================================================
   SHOOTDATA — MATCH OVERVIEW V2 / FIRST REAL MOCKUP
   ============================================================ */

.match-reference-summary-v2{
  margin-top:26px;
}

.overview-v2-match{
  display:grid;
  grid-template-columns:1fr 70px 1fr;
  align-items:center;
  margin:24px 0 18px;
  padding:17px 22px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  background:rgba(255,255,255,.025);
}

.overview-v2-match strong{
  font-size:18px;
  font-weight:800;
}

.overview-v2-match strong:first-child{
  text-align:right;
}

.overview-v2-match strong:last-child{
  text-align:left;
}

.overview-v2-match span{
  text-align:center;
  color:#d5a31a;
  font-size:11px;
  font-weight:900;
  letter-spacing:.12em;
}

.overview-v2-reference-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}

.overview-v2-metric{
  overflow:hidden;
  border:1px solid rgba(255,255,255,.09);
  border-radius:18px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.012));
}

.overview-v2-metric > header{
  min-height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 16px;
  border-bottom:1px solid rgba(255,255,255,.07);
}

.overview-v2-metric > header > a{
  flex:0 0 auto;
  color:#d5a31a;
  font-size:11px;
  font-weight:800;
  text-decoration:none;
}

.overview-v2-metric-title{
  display:flex;
  align-items:center;
  gap:11px;
  min-width:0;
}

.overview-v2-metric-title .sd-topic-icon-image{
  width:50px;
  height:50px;
  object-fit:contain;
}

.overview-v2-metric-title span{
  display:block;
  margin-bottom:3px;
  color:#6f7a8c;
  font-size:9px;
  font-weight:800;
  letter-spacing:.11em;
}

.overview-v2-metric-title h3{
  margin:0;
  color:#f5f7fb;
  font-size:15px;
  line-height:1.1;
}

.overview-v2-table{
  padding:4px 14px 12px;
}

.overview-v2-table-head,
.overview-v2-table-row{
  display:grid;
  grid-template-columns:72px minmax(0,1fr) 22px minmax(0,1fr);
  align-items:center;
}

.overview-v2-table-head{
  min-height:38px;
  color:#7e899a;
  font-size:10px;
  border-bottom:1px solid rgba(255,255,255,.06);
}

.overview-v2-table-head strong{
  overflow:hidden;
  color:#aeb6c4;
  font-size:10px;
  text-align:center;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.overview-v2-table-row{
  min-height:82px;
  border-bottom:1px solid rgba(255,255,255,.055);
}

.overview-v2-table-row:last-child{
  border-bottom:0;
}

.overview-v2-window{
  color:#8993a3;
  font-size:10px;
  font-weight:800;
  line-height:1.2;
}

.overview-v2-value{
  text-align:center;
}

.overview-v2-value strong{
  display:block;
  color:#f4c430;
  font-size:25px;
  line-height:1;
  font-weight:900;
}

.overview-v2-value small{
  display:block;
  margin-top:4px;
  color:#8f99a8;
  font-size:9px;
}

.overview-v2-value em{
  display:block;
  margin-top:6px;
  color:#c2c8d1;
  font-size:9px;
  font-style:normal;
}

.overview-v2-versus{
  color:#596273;
  text-align:center;
}

@media (max-width:1050px){
  .overview-v2-reference-grid{
    grid-template-columns:1fr;
  }

  .overview-v2-metric > header{
    min-height:auto;
  }
}

@media (max-width:640px){
  .overview-v2-match{
    grid-template-columns:1fr 42px 1fr;
    padding:14px 10px;
  }

  .overview-v2-match strong{
    font-size:14px;
  }

  .overview-v2-metric > header{
    padding:12px;
  }

  .overview-v2-metric-title .sd-topic-icon-image{
    width:42px;
    height:42px;
  }

  .overview-v2-table{
    padding:3px 9px 9px;
  }

  .overview-v2-table-head,
  .overview-v2-table-row{
    grid-template-columns:58px minmax(0,1fr) 18px minmax(0,1fr);
  }

  .overview-v2-table-row{
    min-height:76px;
  }

  .overview-v2-value strong{
    font-size:22px;
  }

  .overview-v2-value em{
    font-size:8px;
  }
}

/* SHOOTDATA — OVERVIEW V2 GOALS CARD */

.overview-v2-goals{
  margin-top:14px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.09);
  border-radius:18px;
  background:linear-gradient(
    180deg,
    rgba(255,255,255,.035),
    rgba(255,255,255,.012)
  );
}

.overview-v2-goals-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:76px;
  padding:14px 18px;
  border-bottom:1px solid rgba(255,255,255,.07);
  background:rgba(0,0,0,.28);
}

.overview-v2-goals-head > a{
  color:#d5a31a;
  font-size:11px;
  font-weight:800;
  text-decoration:none;
}

.overview-v2-goals-body{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px,.8fr) minmax(0,1fr);
  align-items:stretch;
}

.overview-v2-goals-team{
  padding:26px 28px;
}

.overview-v2-goals-team.away{
  text-align:right;
}

.overview-v2-goals-context{
  display:block;
  margin-bottom:7px;
  color:#778395;
  font-size:9px;
  font-weight:900;
  letter-spacing:.14em;
}

.overview-v2-goals-team h4{
  margin:0 0 18px;
  color:#f4f6fa;
  font-size:17px;
}

.overview-v2-goals-team > strong{
  display:block;
  color:#f4c430;
  font-size:42px;
  line-height:.9;
  font-weight:900;
}

.overview-v2-goals-team > small{
  display:block;
  margin-top:8px;
  color:#aab2bf;
  font-size:10px;
}

.overview-v2-goals-team p{
  margin:16px 0 0;
  color:#aab2bf;
  font-size:12px;
}

.overview-v2-goals-team p b{
  color:#f4f6fa;
  font-size:15px;
}

.overview-v2-goals-contexts{
  padding:24px;
  border-left:1px solid rgba(255,255,255,.06);
  border-right:1px solid rgba(255,255,255,.06);
  background:rgba(0,0,0,.12);
}

.overview-v2-goals-contexts > span{
  display:block;
  margin-bottom:13px;
  color:#778395;
  text-align:center;
  font-size:9px;
  font-weight:900;
  letter-spacing:.12em;
}

.overview-v2-goals-context-row{
  display:grid;
  grid-template-columns:1fr 20px 1fr;
  align-items:center;
  padding:10px 0;
  border-top:1px solid rgba(255,255,255,.055);
}

.overview-v2-goals-context-row > span{
  color:#596273;
  text-align:center;
}

.overview-v2-goals-context-row div{
  text-align:center;
}

.overview-v2-goals-context-row small,
.overview-v2-goals-context-row em{
  display:block;
}

.overview-v2-goals-context-row small{
  color:#8f99a8;
  font-size:9px;
}

.overview-v2-goals-context-row strong{
  display:block;
  margin:4px 0;
  color:#f4c430;
  font-size:20px;
}

.overview-v2-goals-context-row em{
  color:#7d8796;
  font-size:9px;
  font-style:normal;
}

@media (max-width:760px){
  .overview-v2-goals-body{
    grid-template-columns:1fr 1fr;
  }

  .overview-v2-goals-contexts{
    grid-column:1 / -1;
    grid-row:2;
    border:0;
    border-top:1px solid rgba(255,255,255,.06);
  }

  .overview-v2-goals-team{
    padding:20px 16px;
  }

  .overview-v2-goals-team > strong{
    font-size:34px;
  }
}


/* SHOOTDATA BUTS V2.11 — synthèse domicile / extérieur */

.overview-v211-goals-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  background:rgba(0,0,0,.12);
}

.overview-v211-goals-column{
  min-width:0;
  padding:26px 30px;
  text-align:center;
}

.overview-v211-goals-column + .overview-v211-goals-column{
  border-left:1px solid rgba(212,175,55,.35);
}

.overview-v211-goals-column h4{
  margin:0 0 22px;
  color:#d4af37;
  font-size:12px;
  font-weight:800;
  letter-spacing:.06em;
  line-height:1.6;
  text-transform:uppercase;
}

.overview-v211-goals-stat{
  padding:14px 0;
  border-top:1px solid rgba(255,255,255,.07);
}

.overview-v211-goals-stat strong{
  display:block;
  margin-bottom:5px;
  color:#f4c430;
  font-size:29px;
  font-weight:800;
}

.overview-v211-goals-stat span{
  display:block;
  color:#aeb7c4;
  font-size:11px;
  line-height:1.5;
}

@media(max-width:520px){
  .overview-v211-goals-column{
    padding:20px 12px;
  }
  .overview-v211-goals-column h4{
    font-size:10px;
  }
  .overview-v211-goals-stat strong{
    font-size:24px;
  }
}


/* SHOOTDATA BUTS V2.11 — HARMONISATION */

.overview-v211-goals-column h4{
  color:#f1f5f9;
  font-size:clamp(13px,1.3vw,17px);
  font-weight:800;
  line-height:1.55;
  letter-spacing:.025em;
}

.overview-v211-goals-column h4 .overview-v211-club{
  color:#f4c430;
}

.overview-v211-goals-stat strong{
  color:#d5bc7b;
  font-size:clamp(32px,3vw,42px);
  font-weight:800;
  line-height:1.15;
  letter-spacing:-.025em;
}

.overview-v211-goals-stat span{
  color:#9baab8;
  font-size:12px;
}

@media(max-width:520px){
  .overview-v211-goals-column h4{
    font-size:12px;
  }

  .overview-v211-goals-stat strong{
    font-size:30px;
  }
}


/* SHOOTDATA V2.11 — NOMS DES CLUBS EN OR */
.overview-v211-goals-column h4 span.overview-v211-club{
  color:#f4c430 !important;
}


/* SHOOTDATA JOUEURS V2.12 */

.match-page-v1 .match-v2-deferred[data-block="players"]{
  margin-top:0;
  padding-top:18px;
}

.match-page-v1 .match-v2-deferred[data-block="players"]
.match-v21-block-head{
  margin-bottom:12px;
}

.match-page-v1 .match-v2-deferred[data-block="players"]
.match-v21-block-head h2{
  font-size:clamp(20px,2vw,26px);
  font-weight:800;
  line-height:1.3;
}

.match-page-v1 .match-v2-deferred[data-block="players"]
.match-player-summary{
  margin-top:0;
}

.match-page-v1 .match-v2-deferred[data-block="players"]
.match-player-summary>.eyebrow{
  margin-bottom:14px;
}


/* SHOOTDATA V2.12 — TRAIT DORE TITRE JOUEURS */
.match-page-v1 .match-v2-deferred[data-block="players"]
.match-v21-block-head h2{
  border-left:3px solid #d5bc7b;
  padding-left:12px;
}

/* SHOOTDATA MATCH READING V1
   Presentation only. Client Writer remains the sole prose authority. */

.match-page-v1 .match-reading-v1 {
  margin:28px 0;
  overflow:hidden;
  border:1px solid rgba(213,188,123,.28);
  border-radius:16px;
  background:
    radial-gradient(
      ellipse at 50% 0,
      rgba(213,188,123,.055),
      transparent 62%
    ),
    linear-gradient(140deg,#0d1b22,#07131b);
}

.match-page-v1 .match-reading-v1-head {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:32px;
  padding:24px 32px;
  border-bottom:1px solid var(--match-line);
}

.match-page-v1 .match-reading-v1-head .eyebrow {
  margin:0 0 8px;
  color:var(--match-gold);
}

.match-page-v1 .match-reading-v1-head h2 {
  margin:0;
  font-size:clamp(20px,2.4vw,27px);
  line-height:1.25;
  letter-spacing:-.025em;
}

.match-page-v1 .match-reading-v1-head>p {
  max-width:390px;
  margin:0;
  color:var(--match-muted);
  font-size:12px;
  line-height:1.65;
}

.match-page-v1 .match-reading-v1-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:stretch;
}

.match-page-v1 .match-reading-v1-card {
  min-width:0;
  padding:24px 26px 26px;
  border-right:1px solid var(--match-line);
  background:#ffffff01;
}

.match-page-v1 .match-reading-v1-card:last-child {
  border-right:0;
}

.match-page-v1 .match-reading-v1-card h3 {
  margin:0 0 18px;
  padding-bottom:12px;
  border-bottom:1px solid rgba(213,188,123,.18);
  color:var(--match-gold);
  font-size:11px;
  font-weight:700;
  line-height:1.3;
  letter-spacing:.16em;
  text-transform:uppercase;
}

.match-page-v1 .match-reading-v1-statements {
  display:grid;
  gap:13px;
}

.match-page-v1 .match-reading-v1-statements p {
  margin:0;
  color:#c8d3d9;
  font-size:13px;
  line-height:1.7;
}

.match-page-v1 .match-reading-v1-statements p+p {
  padding-top:13px;
  border-top:1px solid rgba(173,192,202,.09);
}


@media(max-width:900px) {
  .match-page-v1 .match-reading-v1-grid {
    grid-template-columns:1fr;
  }

  .match-page-v1 .match-reading-v1-card {
    border-right:0;
    border-bottom:1px solid var(--match-line);
  }

  .match-page-v1 .match-reading-v1-card:last-child {
    border-bottom:0;
  }
}

@media(max-width:650px) {
  .match-page-v1 .match-reading-v1 {
    margin:22px 0;
    border-radius:12px;
  }

  .match-page-v1 .match-reading-v1-head {
    display:block;
    padding:20px 18px;
  }

  .match-page-v1 .match-reading-v1-head>p {
    max-width:none;
    margin-top:10px;
  }

  .match-page-v1 .match-reading-v1-card {
    padding:20px 18px;
  }

  .match-page-v1 .match-reading-v1-card h3 {
    margin-bottom:15px;
  }

  .match-page-v1 .match-reading-v1-statements p {
    font-size:12px;
    line-height:1.65;
  }

}


/* SHOOTDATA — Home match topics: 4 balanced indicators */
.sd-match-topics{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    width:100%;
    gap:0;
}

.sd-match-topics a{
    width:100%;
    min-width:0;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;
    text-align:center;
}

.sd-match-topics a b{
    text-align:center;
}

/* SHOOTDATA — Desktop home match row: balanced 4-stat zone */
@media(min-width:1101px){
    .sd-match{
        grid-template-columns:115px 270px 320px 135px minmax(125px,1fr);
        gap:14px;
    }

    .sd-match-topics{
        display:grid;
        grid-template-columns:repeat(4,minmax(0,1fr));
        width:100%;
        gap:0;
    }

    .sd-match-topics a{
        width:100%;
        min-width:0;
        align-items:center;
        text-align:center;
    }

    .sd-match-topics a b{
        display:block;
        width:100%;
        white-space:normal;
        line-height:1.25;
        text-align:center;
    }
}

/* SHOOTDATA — Desktop: align access block with right edge */
@media(min-width:1101px){
    .sd-match > .sd-access{
        justify-self:end;
        width:max-content;
        min-width:125px;
    }
}

/* SHOOTDATA — Programme tablette 721–1100px */
@media (min-width:721px) and (max-width:1100px){

    .sd-match{
        grid-template-columns:
            82px
            minmax(210px,1fr)
            minmax(280px,320px)
            110px
            115px;
        gap:10px;
        align-items:center;
        padding:18px 16px;
    }

    .sd-match > .sd-kickoff,
    .sd-match > .sd-match-teams,
    .sd-match > .sd-match-topics,
    .sd-match > .sd-confidence,
    .sd-match > .sd-access{
        grid-column:auto;
        grid-row:auto;
    }

    .sd-match-topics{
        display:grid;
        grid-template-columns:repeat(4,minmax(0,1fr));
        width:100%;
        gap:0;
    }

    .sd-match-topics a{
        min-width:0;
        width:100%;
        text-align:center;
    }

    .sd-match-topics a b{
        white-space:normal;
        line-height:1.2;
    }

    .sd-team{
        gap:8px;
        font-size:13px;
    }

    .sd-team img,
    .sd-team svg{
        width:46px;
        height:50px;
    }

    .sd-kickoff strong{
        font-size:19px;
    }

    .sd-confidence{
        min-width:0;
    }

    .sd-access{
        min-width:0;
        justify-self:end;
    }
}

/* SHOOTDATA — Featured heading / signature V1 */
.sd-featured-heading{
    min-height:0;
    padding:28px 18px 22px;
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:40px;
}

.sd-featured-heading h1{
    margin-bottom:0;
}

.sd-featured-signature{
    margin-left:auto;
    padding:0 4px 3px 28px;
    text-align:right;
    border-left:1px solid rgba(221,183,86,.28);
}

.sd-featured-signature-main{
    margin:0;
    color:#f4f6f8;
    font-size:22px;
    line-height:1.15;
    font-weight:700;
    letter-spacing:-.02em;
    white-space:nowrap;
}

.sd-featured-signature-main strong{
    color:#ddb756;
    font-weight:800;
}

.sd-featured-signature-tagline{
    margin:8px 0 0;
    color:#8799a8;
    font-size:10px;
    line-height:1;
    font-weight:700;
    letter-spacing:.18em;
}

/* Tablet */
@media (min-width:721px) and (max-width:1100px){
    .sd-featured-heading{
        padding:22px 10px 18px;
        gap:24px;
    }

    .sd-featured-signature-main{
        font-size:17px;
    }

    .sd-featured-signature-tagline{
        font-size:9px;
    }
}

/* Smartphone */
@media (max-width:720px){
    .sd-featured-heading{
        padding:18px 0 14px;
        display:block;
    }

    .sd-featured-signature{
        margin:14px 0 0;
        padding:12px 0 0;
        text-align:left;
        border-left:0;
        border-top:1px solid rgba(221,183,86,.22);
    }

    .sd-featured-signature-main{
        font-size:16px;
        white-space:normal;
    }

    .sd-featured-signature-tagline{
        margin-top:7px;
        font-size:8px;
    }
}

/* SHOOTDATA — Featured vertical spacing refinement */
.sd-featured-showcase{
    padding-top:8px;
}

.sd-featured-heading{
    padding-top:18px;
    padding-bottom:18px;
    margin-bottom:12px;
}

@media (min-width:721px) and (max-width:1100px){
    .sd-featured-showcase{
        padding-top:6px;
    }

    .sd-featured-heading{
        padding-top:14px;
        padding-bottom:14px;
        margin-bottom:10px;
    }
}

/* SHOOTDATA — Featured compact spacing V2 */
.sd-featured-showcase{
    padding-top:0;
}

.sd-featured-heading{
    padding-top:4px;
    padding-bottom:12px;
    margin-bottom:6px;
}

/* SHOOTDATA — Match hero production shirts */
.match-page-v1 .match-hero-team-identity{
    display:flex;
    align-items:center;
    gap:20px;
    min-width:0;
    align-self:center;
}

.match-page-v1 .match-hero-team.home .match-hero-team-identity{
    justify-content:flex-end;
}

.match-page-v1 .match-hero-team.away .match-hero-team-identity{
    justify-content:flex-start;
}

.match-page-v1 .match-hero-shirt{
    flex:0 0 110px;
    width:110px;
    height:110px;
    display:grid;
    place-items:center;
}

.match-page-v1 .match-hero-shirt img{
    display:block;
    width:110px;
    height:110px;
    object-fit:contain;
}

.match-page-v1 .match-hero-team-identity h1{
    min-width:0;
}

@media(max-width:900px){
    .match-page-v1 .match-hero-team-identity{
        gap:12px;
    }

    .match-page-v1 .match-hero-shirt{
        flex-basis:82px;
        width:82px;
        height:82px;
    }

    .match-page-v1 .match-hero-shirt img{
        width:82px;
        height:82px;
    }
}

@media(max-width:650px){
    .match-page-v1 .match-hero-team-identity{
        gap:7px;
    }

    .match-page-v1 .match-hero-shirt{
        flex-basis:54px;
        width:54px;
        height:54px;
    }

    .match-page-v1 .match-hero-shirt img{
        width:54px;
        height:54px;
    }
}

/* SHOOTDATA — MATCHS À VENIR · DATE/HEURE COMPACTE */
.sd-featured-time {
    margin: 10px 0 9px;
    font-size: 16px;
    line-height: 1.1;
}

/* Shared SHOOTDATA Match Hero V1; scoped independently of legacy pages. */
/* Shared stadium PNG scenery: presentation only, original hero geometry retained. */
.sd-match-hero{order:1;position:relative;isolation:isolate;overflow:hidden;margin:20px 0;border:1px solid #d5bc7b40;border-radius:16px;color:#edf1f3;background:#07131b;box-shadow:0 18px 48px #0004}
.sd-match-hero:before{content:"";position:absolute;z-index:-2;inset:0;background-image:url("/ui/hero.png");background-position:center 62%;background-size:cover;background-repeat:no-repeat;pointer-events:none}
.sd-match-hero:after{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(180deg,#030c134d 0%,#030c1366 48%,#030c1359 82%,#030c13a6 100%);pointer-events:none}
.sd-match-hero .sd-hero-team h1{text-shadow:0 2px 10px #000c}
.sd-match-hero .sd-hero-meta,.sd-match-hero .sd-hero-signature{background:#030c1338}
.sd-match-hero .sd-hero-meta{display:flex;flex-direction:column;align-items:center;gap:8px;padding:22px;border-bottom:1px solid #adc0ca29;font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:#d5bc7b}
.sd-match-hero .sd-hero-meta span:last-child{color:#c5d0d7;font-size:12px;letter-spacing:.04em}
.sd-match-hero .sd-hero-fixture{display:grid;grid-template-columns:minmax(0,1fr) 120px minmax(0,1fr);align-items:center;gap:24px;min-height:240px;padding:36px}
.sd-match-hero .sd-hero-team{display:flex;align-items:center;gap:20px;min-width:0}
.sd-match-hero .sd-hero-team>div{min-width:0}.sd-match-hero .home{justify-content:flex-start}.sd-match-hero .away{justify-content:flex-end;text-align:right}
.sd-match-hero .sd-hero-team span{font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:#a1b1bc}
.sd-match-hero .sd-hero-team h1{margin:10px 0 0;font-size:clamp(22px,3vw,38px);line-height:1.15;text-transform:uppercase;overflow-wrap:anywhere;text-wrap:balance}
.sd-match-hero .sd-hero-shirt{flex:0 0 110px;width:110px;height:110px;filter:drop-shadow(0 12px 16px #0008)}
.sd-match-hero .sd-hero-shirt img,.sd-match-hero .sd-hero-shirt svg{display:block;width:100%;height:100%;object-fit:contain}
.sd-match-hero .sd-hero-center{display:grid;justify-items:center;gap:16px}.sd-match-hero .sd-hero-access{padding:6px 12px;border:1px solid #d5bc7b60;border-radius:20px;background:#d5bc7b0d;font-size:10px;letter-spacing:.1em;color:#d5bc7b}.sd-match-hero .sd-hero-access.free{color:#bdd3c6;border-color:#bdd3c655}
.sd-match-hero .sd-hero-center strong{display:grid;place-items:center;width:64px;height:64px;border:1px solid #d5bc7b60;border-radius:50%;color:#d5bc7b;font-size:16px;letter-spacing:.1em;background:#07131b80;box-shadow:0 0 35px #d5bc7b12}.sd-match-hero .sd-hero-center small{font-size:8px;letter-spacing:.1em;text-align:center;color:#a1b1bc}
.sd-match-hero .sd-hero-signature{display:flex;justify-content:center;gap:16px;padding:16px;border-top:1px solid #adc0ca29;font-size:9px;letter-spacing:.12em;color:#a1b1bc}.sd-match-hero .sd-hero-signature b{color:#d5bc7b}
@media(max-width:900px){.sd-match-hero .sd-hero-fixture{padding:28px 20px;gap:14px;grid-template-columns:minmax(0,1fr) 90px minmax(0,1fr)}.sd-match-hero .sd-hero-team{gap:12px}.sd-match-hero .sd-hero-shirt{flex-basis:82px;width:82px;height:82px}}
@media(max-width:650px){.sd-match-hero .sd-hero-fixture{padding:24px 12px;gap:10px;grid-template-columns:minmax(0,1fr) 64px minmax(0,1fr);min-height:220px}.sd-match-hero .sd-hero-team{flex-direction:column;text-align:center;gap:14px}.sd-match-hero .away .sd-hero-shirt{order:-1}.sd-match-hero .sd-hero-team h1{font-size:clamp(16px,4.5vw,25px)}.sd-match-hero .sd-hero-shirt{flex-basis:70px;width:70px;height:70px}.sd-match-hero .sd-hero-center strong{width:42px;height:42px;font-size:12px}.sd-match-hero .sd-hero-access{padding:5px 7px;font-size:8px}.sd-match-hero .sd-hero-center small{font-size:7px}.sd-match-hero .sd-hero-signature{gap:7px;font-size:7px;letter-spacing:.03em}.sd-match-hero .sd-hero-meta{font-size:11px;padding:18px 12px}}

/* =========================================================
   SHOOTDATA MATCH HERO V1 — STADIUM IMAGE
   hero.png = décor uniquement
   Les données du match restent dynamiques.
   ========================================================= */

.match-page-v1 .match-hero-v1 {
    background:
        linear-gradient(
            180deg,
            rgba(5, 13, 22, 0.12) 0%,
            rgba(5, 13, 22, 0.18) 48%,
            rgba(4, 12, 20, 0.38) 100%
        ),
        url("/ui/hero.png") center center / cover no-repeat;
}

/* LAST10 face-to-face summary: presentation only, scoped to global page. */
.match-player-summary-face h2{margin:8px 0 24px;font-size:26px}
.match-player-team-headings{display:grid;grid-template-columns:1fr 1fr;gap:64px;margin-bottom:8px}
.match-player-team-headings h3{margin:0;padding:0 18px;font-size:18px}
.match-player-team-headings h3:last-child{text-align:right}
.match-player-team-headings small{display:block;margin-top:4px;color:#aab5c4;font-size:10px;font-weight:400;letter-spacing:.14em;text-transform:uppercase}
.match-player-mirror{position:relative}
.match-player-mirror:before{content:"";position:absolute;left:50%;top:0;bottom:0;width:1px;background:linear-gradient(transparent,#d6b765 12%,#d6b765 88%,transparent);opacity:.55}
.match-player-mirror-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 48px minmax(0,1fr);align-items:center;min-height:150px;border-bottom:1px solid #d6b76524;background:linear-gradient(90deg,transparent,#d6b76508 48%,#d6b76508 52%,transparent)}
.match-player-mirror-row:last-child{border-bottom:0}
.match-player-summary-face .match-player-card{display:flex;align-items:center;justify-content:flex-end;gap:17px;padding:18px 12px;border:0;border-radius:0;background:transparent;min-width:0}
.match-player-summary-face .match-player-away{flex-direction:row-reverse;text-align:right}
.match-player-summary-face .match-player-shirt{--avatar-headroom:50px;position:relative;box-sizing:content-box;flex:0 0 112px;padding-top:var(--avatar-headroom);display:flex;align-items:center;justify-content:center}
.match-player-summary-face .match-player-shirt img,.match-player-summary-face .match-player-shirt svg{width:112px;height:126px;object-fit:contain;filter:drop-shadow(0 8px 12px #0006)}
.match-player-summary-face .match-player-info{min-width:0;flex:0 1 260px}
.match-player-summary-face .match-player-away{padding-left:8px}
/* The empty headroom belongs to the portrait slot; future heads can be positioned above the collar. */
.match-player-summary-face .match-all-players{padding:10px 16px;border:1px solid #d6b76566;border-radius:7px;background:#d6b76508;text-decoration:none}
.match-player-summary-face .match-all-players:hover{border-color:#d6b765;background:#d6b76512}
.match-player-summary-face .match-all-players:focus-visible{outline:2px solid #d6b765;outline-offset:3px}
.match-player-summary-face h4{font-size:clamp(18px,1.8vw,23px);margin:0 0 5px;line-height:1.25;overflow-wrap:anywhere}
.match-player-summary-face .match-player-meta{font-size:12px;color:#aab5c4;margin:0 0 10px}
.match-player-summary-face .match-player-stats{font-size:15px;font-weight:600;color:#d6b765;margin:0;line-height:1.5}
.match-player-summary-face .match-player-minutes{font-size:12px;color:#aab5c4;margin:5px 0 0;line-height:1.5}
.match-player-rank{z-index:1;justify-self:center;display:grid;place-items:center;width:30px;height:30px;border:1px solid #d6b76599;border-radius:50%;background:#101b29;color:#d6b765;font-size:13px;font-weight:700}
.match-player-mobile-team{display:none}
@media(max-width:1000px) and (min-width:701px){.match-player-summary-face .match-player-card{gap:10px;padding:14px 6px}.match-player-summary-face .match-player-shirt{flex-basis:86px}.match-player-summary-face .match-player-shirt img,.match-player-summary-face .match-player-shirt svg{width:86px;height:102px}.match-player-summary-face .match-player-stats{font-size:13px}}
@media(max-width:700px){.match-player-summary-face h2{font-size:22px}.match-player-team-headings{display:none}.match-player-mirror:before{display:none}.match-player-mirror-row{grid-template-columns:32px minmax(0,1fr);padding:8px 0;background:transparent}.match-player-rank{grid-column:1;grid-row:1 / 3;width:26px;height:26px;align-self:start;margin-top:18px}.match-player-summary-face .match-player-card{grid-column:2;justify-content:flex-start;gap:12px;padding:10px 8px;flex-direction:row;text-align:left}.match-player-home{grid-row:1}.match-player-away{grid-row:2}.match-player-summary-face .match-player-shirt{flex-basis:78px}.match-player-summary-face .match-player-shirt img,.match-player-summary-face .match-player-shirt svg{width:78px;height:88px}.match-player-summary-face h4{font-size:18px}.match-player-summary-face .match-player-meta{margin-bottom:5px}.match-player-summary-face .match-player-stats{font-size:13px}.match-player-summary-face .match-player-minutes{font-size:11px}.match-player-summary-face .match-player-mobile-team{display:block;font-size:10px;color:#aab5c4;margin:0 0 5px}.match-player-summary-face .match-all-players{margin-top:18px}}

@media(max-width:700px){.match-player-summary-face .match-player-info{flex:1 1 0}.match-player-summary-face .match-all-players{max-width:100%;box-sizing:border-box}}

/* Players V2: scoped mirror presentation */
.players-mirror [hidden]{display:none!important}.players-mirror{min-width:0}.mirror-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.mirror-controls button,.players-mirror [data-players-more]{border:1px solid #756641;border-radius:6px;padding:10px 18px;background:#10212e;color:#e3c985;cursor:pointer}.mirror-controls button[aria-pressed=true]{background:#d6b765;color:#081722}.mirror-teams{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0}.mirror-team{min-width:0}.mirror-team header{padding:18px;background:#10212e}.mirror-team header h3{margin:0 0 6px}.mirror-away{border-left:1px solid #756641}.mirror-away header{text-align:right}.mirror-player{border-bottom:1px solid #293b49;min-width:0}.mirror-player summary{display:flex;align-items:center;gap:12px;padding:16px 12px;cursor:pointer;list-style:none;min-height:136px;box-sizing:border-box}.mirror-player summary::-webkit-details-marker{display:none}.mirror-shirt{flex:0 0 65px}.mirror-shirt img,.mirror-shirt svg{width:65px!important;height:74px!important;object-fit:contain}.mirror-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:7px}.mirror-info strong{font-size:16px;overflow-wrap:anywhere}.mirror-info small{color:#a4b4bf;font-size:12px}.mirror-stats{display:flex;gap:10px;flex-wrap:wrap;font-size:12px}.mirror-rank{color:#d6b765;font-size:18px;flex:0 0 22px;text-align:center}.mirror-away summary{flex-direction:row-reverse}.mirror-away .mirror-info{text-align:right}.mirror-away .mirror-stats{justify-content:flex-end}.players-mirror .players-detail{padding:16px;min-width:0}.players-mirror .players-detail-head h2{font-size:20px}.players-mirror .players-shirt-tile{display:none}.players-mirror .players-detail-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.players-mirror .players-history-scroll{overflow:auto;max-width:100%}.players-mirror .players-history{min-width:500px}.players-mirror [data-players-more]{align-self:center}.mirror-player summary:focus-visible{outline:2px solid #d6b765;outline-offset:-2px}.mirror-player details[open]>summary{background:#152735}.players-mirror .players-list-count{color:#a4b4bf}
@media(max-width:700px){.mirror-teams{grid-template-columns:minmax(0,1fr);gap:20px}.mirror-away{border-left:0}.mirror-away header{text-align:left}.mirror-away summary{flex-direction:row}.mirror-away .mirror-info{text-align:left}.mirror-away .mirror-stats{justify-content:flex-start}.players-mirror .players-hero{flex-wrap:wrap}.mirror-player summary{min-height:120px}.players-mirror .players-detail{padding:12px}}

@media(min-width:701px){.players-mirror .mirror-team>header{display:block;height:90px;box-sizing:border-box}.players-mirror .mirror-player summary{height:160px}}

/* Canonical team V1: scoped presentation, shared SHOOTDATA dark palette. */
.sd-team-layout{display:grid;grid-template-columns:235px minmax(0,1fr);gap:24px;align-items:start;margin:20px 0 48px}
.sd-team-sidebar{position:sticky;top:20px;padding:18px!important;min-width:0}
.sd-team-sidebar label{display:block;color:#d6b765;margin-bottom:10px;font-weight:700}
.sd-team-sidebar select{width:100%;min-width:0;background:#101c28;color:#f0eee8;border:1px solid #43505d;border-radius:8px;padding:10px;font:inherit}
.sd-team-clubs{display:flex;flex-direction:column;gap:4px;max-height:70vh;overflow:auto}
.sd-team-clubs a{display:flex;align-items:center;gap:12px;padding:8px;border:1px solid transparent;border-radius:10px;color:#dce2e8;text-decoration:none;font-size:13px}
.sd-team-clubs a.active{background:#d6b76518;border-color:#d6b765;color:#efcf83}
.sd-team-clubs a:hover{background:#ffffff09}.sd-team-clubs a>span{width:30px;flex-shrink:0}.sd-team-clubs svg,.sd-team-clubs img{width:30px!important;height:34px!important;object-fit:contain}
.sd-team-main{min-width:0}.sd-team-main .team-hero{display:flex;align-items:center;gap:24px;padding:28px;background:radial-gradient(ellipse at left top,#d6b76514,transparent 65%),#111d29;border-color:#d6b76544}
.sd-team-main .team-hero h1,
.sd-team-main .team-hero h2{font-size:clamp(28px,4vw,44px);margin:8px 0}.sd-team-main .team-hero small{color:#92a4b6}
.sd-team-main .team-shirt{width:120px;flex-shrink:0}.sd-team-main .team-shirt svg,.sd-team-main .team-shirt img{max-width:100%;height:130px;object-fit:contain}
.sd-team-toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:20px 0}.sd-team-toolbar .team-controls{margin:0;display:flex;flex-wrap:wrap;gap:5px}.sd-team-toolbar a{font-size:12px;padding:9px 12px}.sd-team-toolbar a.active{background:#d6b765;color:#101820}
.sd-team-main .team-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.sd-team-main .team-kpis strong{display:block;font-size:32px;color:#e8c77d}.sd-team-main .team-kpis small{display:block}
.sd-team-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.sd-team-metric-list>div{display:flex;justify-content:space-between;gap:14px;padding:15px 0;border-bottom:1px solid #ffffff10}.sd-team-metric-list strong{font-size:24px;color:#e8c77d}.sd-team-metric-list small,.sd-team-main td small{display:block;color:#8ca0b4;font-size:11px}.sd-team-main .card{margin-bottom:20px}
.sd-team-player-shirt{display:inline-flex;width:25px;vertical-align:middle;margin-right:12px}.sd-team-player-shirt svg,.sd-team-player-shirt img{width:25px!important;height:28px!important;object-fit:contain}
.sd-hero-team-link{color:inherit;text-decoration:none;display:inline-block}.sd-hero-team-link:hover{color:#e8c77d}.sd-hero-team-link:focus-visible,.sd-team-layout a:focus-visible{outline:2px solid #e8c77d;outline-offset:4px}
@media(max-width:850px){.sd-team-layout{grid-template-columns:1fr;gap:12px}.sd-team-sidebar{position:static}.sd-team-clubs{flex-direction:row;max-height:none;overflow:auto;padding-bottom:6px}.sd-team-clubs a{flex-shrink:0;white-space:nowrap}.sd-team-sidebar form{max-width:100%}.sd-team-main .team-hero{padding:20px;gap:15px}.sd-team-two{grid-template-columns:1fr}.sd-team-main .team-kpis{gap:8px}.sd-team-main .team-kpis .card{padding:12px}.sd-team-main .team-shirt{width:75px}.sd-team-main .team-shirt svg,.sd-team-main .team-shirt img{height:90px}.sd-team-main .team-form{flex-wrap:wrap}.sd-team-main table{min-width:580px}.sd-team-main .tablewrap{max-width:100%;overflow:auto}.sd-team-main .team-kpis strong{font-size:25px}}

.sd-team-sidebar form{display:block}.sd-team-sidebar select{box-sizing:border-box}.sd-team-mobile-label,.sd-team-mobile-select{display:none!important}.sd-team-clubs{flex-wrap:nowrap;align-items:stretch}.sd-team-clubs a{box-sizing:border-box;max-width:100%;white-space:normal}
@media(max-width:850px){.sd-team-sidebar .sd-team-clubs{display:none}.sd-team-sidebar .sd-team-mobile-label{display:block!important;margin-top:12px}.sd-team-sidebar .sd-team-mobile-select{display:block!important}.sd-team-main .team-hero small{overflow-wrap:anywhere}.sd-team-main .team-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Team hero V1: explicit club variables, neutral premium fallback, CSS-only stadium. */
.team-page .team-hero{position:relative;isolation:isolate;overflow:hidden;min-height:280px;padding:30px;gap:32px;background:radial-gradient(ellipse at 12% 20%,var(--team-primary,#30485d),transparent 62%),radial-gradient(ellipse at 96% 0%,var(--team-secondary,#83734e),transparent 50%),linear-gradient(130deg,#0c1926,#060c13);border-color:#526173}
.team-hero::before{content:"";position:absolute;inset:0;z-index:-1;opacity:.2;background:repeating-linear-gradient(170deg,transparent 0 22px,#c9d7e4 23px,transparent 24px 40px);transform:perspective(500px) rotateX(25deg);pointer-events:none}
.team-page .team-shirt{width:210px;flex:0 0 210px;display:grid;place-items:center;background:transparent;border:0;padding:0;filter:drop-shadow(0 18px 20px #0009)}
.team-page .team-shirt img,.team-page .team-shirt svg{width:210px!important;height:230px!important;max-width:100%;object-fit:contain}
.team-hero-copy{min-width:0}.team-hero h1,.team-hero h2{font-size:clamp(28px,3.5vw,48px);overflow-wrap:anywhere}.team-hero .eyebrow{color:#ead7a5;letter-spacing:2px}
.team-preview,.premium-page{max-width:1000px;margin:24px auto}.team-conversion p{line-height:1.7;max-width:760px;color:#bfcbd4}.team-conversion h2{font-size:clamp(22px,3vw,30px)}
.team-upgrade,.team-secondary{display:inline-block;padding:13px 18px;margin:10px 12px 0 0;border-radius:7px;text-decoration:none}.team-upgrade{background:#ddbf78;color:#101b26;font-weight:700}.team-secondary{border:1px solid #536574;color:#edf2f5}
@media(max-width:600px){.team-page .team-hero{min-height:240px;gap:16px;padding:20px;flex-direction:column;text-align:center}.team-page .team-shirt{width:150px;flex-basis:auto}.team-page .team-shirt img,.team-page .team-shirt svg{width:150px!important;height:165px!important}.team-hero h1,.team-hero h2{font-size:30px}.team-conversion .team-upgrade,.team-conversion .team-secondary{display:block;text-align:center;margin-right:0}.team-preview,.premium-page{margin:16px auto}}

/* =========================================================
   SHOOTDATA PREMIUM V1
   ========================================================= */

.premium-v1{
    width:min(1120px,calc(100% - 40px));
    margin:48px auto 80px;
}

.premium-hero{
    min-height:360px;
    display:grid;
    grid-template-columns:minmax(0,1.5fr) minmax(260px,.7fr);
    gap:48px;
    align-items:center;
    padding:54px 58px;
    border:1px solid #183544;
    border-radius:18px;
    background:
        radial-gradient(
            circle at 85% 40%,
            rgba(228,189,85,.08),
            transparent 30%
        ),
        #091c27;
}

.premium-eyebrow,
.premium-plan-label{
    margin:0 0 12px;
    color:#e4bd55;
    font-size:12px;
    font-weight:800;
    letter-spacing:.18em;
}

.premium-hero h1{
    max-width:700px;
    margin:0;
    color:#f4f7f8;
    font-size:clamp(38px,5vw,62px);
    line-height:1.02;
    letter-spacing:-.04em;
}

.premium-hero h1 span{
    color:#e4bd55;
}

.premium-lead{
    max-width:680px;
    margin:24px 0 0;
    color:#9db1bd;
    font-size:18px;
    line-height:1.65;
}

.premium-hero-actions{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    align-items:center;
    margin-top:32px;
}

.premium-coming{
    display:inline-flex;
    align-items:center;
    min-height:44px;
    padding:0 18px;
    border:1px solid rgba(228,189,85,.38);
    border-radius:10px;
    background:rgba(228,189,85,.08);
    color:#e4bd55;
    font-size:12px;
    font-weight:900;
    letter-spacing:.08em;
}

.premium-secondary-action,
.premium-plan-secondary{
    display:inline-flex;
    align-items:center;
    min-height:44px;
    padding:0 18px;
    border:1px solid #29424f;
    border-radius:10px;
    color:#f4f7f8;
    font-weight:800;
    text-decoration:none;
}

.premium-secondary-action:hover,
.premium-plan-secondary:hover{
    border-color:#e4bd55;
    color:#e4bd55;
}

.premium-hero-brand{
    text-align:center;
}

.premium-hero-brand img{
    width:min(230px,80%);
    height:auto;
}

.premium-hero-brand p{
    margin:14px 0 0;
    color:#718793;
    font-size:10px;
    font-weight:800;
    letter-spacing:.16em;
}

.premium-intro{
    max-width:800px;
    margin:72px auto 34px;
    text-align:center;
}

.premium-intro h2,
.premium-feature-title h2{
    margin:0;
    color:#f4f7f8;
    font-size:32px;
    letter-spacing:-.025em;
}

.premium-intro > p:last-child{
    margin:18px auto 0;
    color:#94a8b5;
    font-size:16px;
    line-height:1.7;
}

.premium-comparison{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

.premium-plan{
    display:flex;
    flex-direction:column;
    min-height:520px;
    padding:34px;
    border:1px solid #183544;
    border-radius:16px;
    background:#091c27;
}

.premium-plan-premium{
    border-color:rgba(228,189,85,.45);
    background:
        linear-gradient(
            145deg,
            rgba(228,189,85,.07),
            transparent 45%
        ),
        #091c27;
}

.premium-plan-head{
    display:flex;
    justify-content:space-between;
    gap:20px;
    align-items:flex-start;
}

.premium-plan h2{
    margin:0;
    color:#f4f7f8;
    font-size:32px;
}

.premium-plan-badge{
    padding:7px 10px;
    border:1px solid #29424f;
    border-radius:999px;
    color:#94a8b5;
    font-size:10px;
    font-weight:900;
    letter-spacing:.08em;
}

.premium-plan-badge.premium-gold{
    border-color:rgba(228,189,85,.38);
    color:#e4bd55;
}

.premium-plan-copy{
    margin:25px 0 20px;
    color:#a3b4be;
    line-height:1.65;
}

.premium-plan ul{
    margin:0 0 30px;
    padding:0;
    list-style:none;
}

.premium-plan li{
    position:relative;
    margin:0;
    padding:12px 0 12px 27px;
    border-bottom:1px solid rgba(41,66,79,.55);
    color:#dbe3e7;
    line-height:1.45;
}

.premium-plan li::before{
    content:"✓";
    position:absolute;
    left:0;
    color:#4ed4a6;
    font-weight:900;
}

.premium-plan-secondary{
    align-self:flex-start;
    margin-top:auto;
}

.premium-plan-cta{
    margin-top:auto;
    padding:18px;
    border:1px solid rgba(228,189,85,.32);
    border-radius:12px;
    background:rgba(228,189,85,.06);
}

.premium-plan-cta strong{
    display:block;
    color:#e4bd55;
    font-size:16px;
}

.premium-plan-cta span{
    display:block;
    margin-top:7px;
    color:#94a8b5;
    font-size:13px;
    line-height:1.5;
}

.premium-features{
    margin-top:70px;
}

.premium-feature-title{
    margin-bottom:28px;
}

.premium-feature-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:14px;
}

.premium-feature-grid article{
    padding:25px;
    border:1px solid #183544;
    border-radius:14px;
    background:#091c27;
}

.premium-feature-grid article > span{
    color:#e4bd55;
    font-size:12px;
    font-weight:900;
    letter-spacing:.12em;
}

.premium-feature-grid h3{
    margin:15px 0 10px;
    color:#f4f7f8;
    font-size:17px;
}

.premium-feature-grid p{
    margin:0;
    color:#8fa4b0;
    font-size:14px;
    line-height:1.6;
}

@media(max-width:900px){

    .premium-hero{
        grid-template-columns:1fr;
        padding:38px 30px;
    }

    .premium-hero-brand{
        display:none;
    }

    .premium-comparison{
        grid-template-columns:1fr;
    }

    .premium-feature-grid{
        grid-template-columns:1fr 1fr;
    }
}

@media(max-width:600px){

    .premium-v1{
        width:min(100% - 24px,1120px);
        margin-top:24px;
    }

    .premium-hero{
        padding:30px 22px;
    }

    .premium-hero h1{
        font-size:38px;
    }

    .premium-feature-grid{
        grid-template-columns:1fr;
    }

    .premium-plan{
        padding:25px 22px;
    }
}


/* E2E MATCH UI FIX V3 */

/*
Le menu historique reste présent techniquement car certaines branches
de rendu l'utilisent comme marqueur interne. Il n'est plus affiché.
*/
.match-page-v1 > .match-tabs-v1,
.match-page-v1 > .shots-v2-tabs{
    display:none !important;
}

/* CTA PREMIUM */
.lock .premium-lock-cta{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:48px;
    margin-top:16px;
    padding:0 24px;
    border-radius:10px;
    background:#f2c94c;
    color:#06131c;
    font-weight:800;
    text-decoration:none;
}

.lock .premium-lock-cta:hover{
    text-decoration:none;
    filter:brightness(1.05);
}

.lock .premium-lock-cta:focus-visible{
    outline:3px solid rgba(242,201,76,.30);
    outline-offset:3px;
}

/* Homepage scenery: one continuous Hero asset behind the Big Five showcase. */
.sd-home > .sd-featured-showcase{
    background-color:#061018;
    background-image:linear-gradient(180deg,rgba(6,16,24,.70) 0%,rgba(6,16,24,.78) 45%,#061018 100%),url("/ui/hero.png");
    background-position:center,center 62%;
    background-size:cover,cover;
    background-repeat:no-repeat;
}
@media(max-width:1100px){
    .sd-home > .sd-featured-showcase{background-position:center,center 58%}
}
@media(max-width:720px){
    .sd-home > .sd-featured-showcase{background-position:center,center 52%}
}

/* Match UX V2 — presentation only, appended after the existing styles. */
.sd-match-hero-v2 .sd-hero-team{position:relative;isolation:isolate;min-height:225px;padding:22px;border-radius:18px;overflow:hidden;flex:1}
.sd-match-hero-v2 .sd-fan-banner{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;opacity:.52}
.sd-match-hero-v2 .sd-hero-team:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,rgba(5,17,29,.93),rgba(5,17,29,.08))}
.sd-fan-fallback{background:radial-gradient(ellipse at top,#375768,#111d2c)}
.sd-match-hero-v2 .sd-hero-team h1{font-size:clamp(19px,2.2vw,30px);text-wrap:balance}
.sd-hero-context p{font-size:12px;margin:12px 0 5px;color:#e6edf4}.sd-hero-context small{font-size:10px;color:#c8d2df}
.sd-match-hero-v2 .sd-form-badges{display:flex;gap:6px;margin:10px 0 5px}
.sd-match-hero-v2 .sd-form-badges span{display:grid;place-items:center;width:29px;height:29px;border:1px solid #ffffff35;border-radius:8px;font-weight:800;font-size:12px;box-shadow:0 3px 8px #0005;color:#fff}
.sd-form-V{background:#146c53}.sd-form-N{background:#685a32}.sd-form-D{background:#8a3344}
.sd-match-hero-v2 .sd-hero-shirt{flex-shrink:0}.sd-match-hero-v2 .sd-hero-shirt img{object-fit:contain}
.match-tabs-v1,.shots-v2-tabs{display:flex;gap:8px;overflow-x:auto;padding:12px 0;margin:10px 0 20px;scrollbar-width:thin}
.match-tabs-v1 a,.shots-v2-tabs a{flex-shrink:0;border:1px solid #d5bc7b38;border-radius:10px;padding:10px 14px;color:#c9d6e2;text-decoration:none}
.match-tabs-v1 a.active,.shots-v2-tabs a.active{color:#f3dca6;background:#d5bc7b1a;border-color:#d5bc7b}
.sd-metric-spotlight{display:flex;align-items:center;gap:20px;padding:20px 24px;margin:16px 0;border:1px solid #d5bc7b45;border-radius:18px;background:linear-gradient(110deg,#193342,#0c1b29);font-size:28px;color:#f3dca6}
.sd-metric-spotlight img{width:86px;height:86px;object-fit:contain}
.overview-v2-metric,.overview-v2-goals,.match-reading-v1-card,.match-player-card,.shots-v2-team-journey,.goals-v3-market{border-radius:18px;box-shadow:0 8px 24px #0002}
.overview-v2-metric-title .sd-topic-icon-image{width:68px;height:68px;object-fit:contain}
.match-tabs-v1 a:focus-visible,.shots-v2-tabs a:focus-visible{outline:3px solid #f3dca6;outline-offset:3px}
@media(max-width:760px){.sd-match-hero-v2 .sd-hero-fixture{flex-direction:column;display:flex;gap:12px}.sd-match-hero-v2 .sd-hero-team{width:100%;min-height:180px;box-sizing:border-box}.sd-match-hero-v2 .sd-hero-center{padding:5px}.sd-match-hero-v2 .sd-hero-shirt img{width:86px;height:86px}.sd-metric-spotlight{font-size:23px;padding:14px}.sd-metric-spotlight img{width:64px;height:64px}}

/* SHOOTDATA Style 4: one shared badge for Match and Team. */
.sd-result-badge,.team-form .sd-result-badge{display:inline-grid;place-items:center;flex:0 0 32px;width:32px;height:32px;padding:0;box-sizing:border-box;border-radius:50%;border:1px solid #ffffff60;color:#fff;font-size:13px;font-weight:850;line-height:1;box-shadow:inset 0 2px 3px #ffffff30,0 3px 7px #0006,0 0 11px var(--sd-result-glow,#ffffff12);background:#344453}
.sd-result-V{background:linear-gradient(145deg,#35df88,#10a45c)!important;--sd-result-glow:#20ce6650}
.sd-result-N{background:linear-gradient(145deg,#f5b83f,#d58b13)!important;--sd-result-glow:#efaa3450}
.sd-result-D{background:linear-gradient(145deg,#fb646c,#d72e42)!important;--sd-result-glow:#ee455650}
.sd-match-hero-v2 .sd-form-badges{display:flex;flex-direction:row;gap:6px;flex-wrap:nowrap}
.sd-match-hero-v2 .sd-form-badges .sd-result-badge{width:32px;height:32px;border-radius:50%;flex:0 0 32px;font-size:13px}
@media(max-width:380px){.sd-match-hero-v2 .sd-hero-team{padding:14px;gap:10px}.sd-match-hero-v2 .sd-hero-shirt img{width:64px;height:64px}.sd-match-hero-v2 .sd-form-badges{gap:4px}.sd-match-hero-v2 .sd-form-badges .sd-result-badge{width:28px;height:28px;flex-basis:28px}}

@media(max-width:900px){.sd-match-hero-v2 .sd-hero-fixture{flex-direction:column;display:flex;gap:12px}.sd-match-hero-v2 .sd-hero-team{width:100%;box-sizing:border-box}.sd-match-hero-v2 .sd-hero-center{padding:5px}}
@media(max-width:380px){.team-form .sd-result-badge{width:28px;height:28px;flex-basis:28px}}

/* Beta feedback: existing player detail card and calendar filter. */
.match-player-details{flex:0 0 100%;margin-top:10px;text-align:left;min-width:0}
.match-player-details>summary{cursor:pointer;color:#d6b765;font-size:13px;padding:6px 0}
.match-player-details .players-detail{margin-top:10px;min-width:0;max-width:100%}
.match-player-details .players-history-scroll{overflow-x:auto;max-width:100%}
.match-player-summary-face .match-player-card{flex-wrap:wrap}
.sd-competition-filter{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:18px 0}
.sd-competition-filter select,.sd-competition-filter button{font:inherit;color:#e8edf4;background:#101e30;border:1px solid #354253;border-radius:8px;padding:10px 12px;max-width:100%}
.sd-competition-filter select:focus-visible,.sd-competition-filter button:focus-visible,.match-player-details>summary:focus-visible{outline:2px solid #d6b765;outline-offset:3px}
@media(max-width:700px){.sd-competition-filter select{flex:1;min-width:0}.match-player-details .players-detail-head{flex-wrap:wrap}.match-player-details .players-detail-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Match hero: shared row tracks keep full names and historical form aligned. */
.sd-match-hero-v2 .sd-hero-fixture{display:grid;grid-template-columns:minmax(0,1fr) 120px minmax(0,1fr);grid-template-rows:auto minmax(110px,auto) minmax(44px,auto) 32px auto;gap:12px 24px;align-items:stretch}
.sd-match-hero-v2 .sd-hero-team{display:grid;grid-template-columns:minmax(0,1fr);justify-content:stretch;grid-template-rows:subgrid;grid-row:1 / span 5;gap:12px;min-height:0;min-width:0;box-sizing:border-box;text-align:left;align-items:stretch}
.sd-match-hero-v2 .sd-hero-team.home{grid-column:1}.sd-match-hero-v2 .sd-hero-team.away{grid-column:3}
.sd-match-hero-v2 .sd-hero-role{align-self:center}
.sd-match-hero-v2 .sd-hero-identity{display:grid;grid-template-columns:86px minmax(0,1fr);gap:14px;align-items:center;min-width:0}
.sd-match-hero-v2 .sd-hero-team h1{margin:0;line-height:1.2;min-width:0;min-height:2.4em;display:flex;align-items:center}
.sd-match-hero-v2 .sd-hero-shirt{width:86px;height:86px;order:0}
.sd-match-hero-v2 .sd-hero-shirt img,.sd-match-hero-v2 .sd-hero-shirt svg{width:100%;height:100%}
.sd-match-hero-v2 .sd-hero-context{display:contents}
.sd-match-hero-v2 .sd-hero-standing{margin:0;align-self:center;line-height:1.5;font-size:12px;color:#e6edf4;overflow-wrap:anywhere}
.sd-match-hero-v2 .sd-form-badges{margin:0;align-self:center;justify-content:flex-start}
.sd-match-hero-v2 .sd-hero-context>small{margin:0;line-height:1.5;font-size:10px;color:#c8d2df}
.sd-match-hero-v2 .sd-hero-center{grid-column:2;grid-row:1 / span 5;align-self:center}
@media(max-width:1100px) and (min-width:901px){.sd-match-hero-v2 .sd-hero-fixture{grid-template-columns:minmax(0,1fr) 90px minmax(0,1fr);column-gap:14px;padding:28px 20px}.sd-match-hero-v2 .sd-hero-team{padding:16px}.sd-match-hero-v2 .sd-hero-identity{grid-template-columns:64px minmax(0,1fr);gap:10px}.sd-match-hero-v2 .sd-hero-shirt{width:64px;height:64px}}
@media(max-width:900px){.sd-match-hero-v2 .sd-hero-fixture{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;gap:12px;padding:24px 12px}.sd-match-hero-v2 .sd-hero-team{grid-column:1!important;grid-row:auto;grid-template-rows:16px minmax(90px,auto) 44px 32px 15px;width:100%;text-align:left}.sd-match-hero-v2 .sd-hero-center{grid-column:1;grid-row:2;padding:5px}.sd-match-hero-v2 .sd-hero-team h1{font-size:clamp(19px,3.5vw,30px)} }
@media(max-width:380px){.sd-match-hero-v2 .sd-hero-team{padding:14px;gap:10px}.sd-match-hero-v2 .sd-hero-identity{grid-template-columns:64px minmax(0,1fr);gap:10px}.sd-match-hero-v2 .sd-hero-shirt{width:64px;height:64px}.sd-match-hero-v2 .sd-hero-team h1{font-size:19px}.sd-match-hero-v2 .sd-form-badges{gap:4px}}

/* Match V2: priority estimates and explicit historical goals context. */
.match-reference-summary-v2 .overview-v2-reference-grid{display:grid;grid-template-columns:1fr;gap:20px}
.match-v2-estimate-teams{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.match-v2-estimate-teams>div{min-width:0;padding:20px;border:1px solid #314752;border-radius:14px}
.match-v2-reference{display:block;font-size:clamp(30px,5vw,44px);line-height:1.3;margin-top:12px;color:#d6b765}
.match-v2-reference span{font-size:14px;font-weight:400}
.match-v2-estimate-teams small{display:block;font-size:13px;line-height:1.6}
.match-reference-summary-v2 .overview-v2-goals{margin-bottom:24px}
.overview-v2-goals-contexts:before{content:'Domicile ↔ Extérieur';display:block;font-size:13px;margin-bottom:12px}
.overview-v2-goals-context-row>div{padding:10px;border:1px solid #314752;border-radius:10px}
.match-v2-deferred{margin-top:24px}
@media(max-width:600px){.match-v2-estimate-teams{grid-template-columns:1fr;gap:12px}.match-v2-estimate header{flex-wrap:wrap;gap:10px}.overview-v2-goals-context-row{gap:8px}}

.match-v2-periods{display:flex;gap:12px;margin:18px 0;flex-wrap:wrap}.match-v2-periods a{padding:10px;border:1px solid #314752;border-radius:10px}.match-v2-periods [aria-current=page]{border-color:#d6b765;color:#d6b765}

/* Match V2.1 — presentation only, scoped to the overview. */
.match-reference-summary-v2 .overview-v2-reference-grid{gap:14px}
.match-reference-summary-v2 .overview-v2-metric{padding:18px 22px;background:linear-gradient(125deg,#101d29,#080f18);border:1px solid #293846}
.match-v2-estimate header h3{font-size:18px;letter-spacing:.08em;margin:0}
.match-v2-estimate .team-note{margin:0 0 10px;font-size:12px}
.match-v2-estimate-teams{gap:24px}
.match-v2-estimate-teams>div{padding:0 18px 0 0;border:0;border-radius:0}
.match-v2-estimate-teams>div+div{border-left:1px solid #293846;padding:0 0 0 24px}
.match-v21-side{font-size:10px;letter-spacing:.14em;color:#a4b2c3}
.match-v2-estimate-teams h4{margin:4px 0;font-size:17px}
.match-v2-reference{margin:4px 0 12px}
.match-v2-reference,.match-v21-track i .match-v21-point-value{font-size:38px;line-height:1.05;font-weight:700;font-variant-numeric:tabular-nums;color:#e2c67b}
.match-v2-reference span{font-size:12px;color:#c3cad3}
.match-v2-estimate-teams small{font-size:11px;color:#aebac9}
/* Labels share the marker anchor; side space keeps endpoint labels inside the gauge. */
.match-v21-gauge{margin:0 6px 8px;padding:56px max(0px,calc(var(--gauge-label-half,2ch) - 6px)) 0;font-size:38px;font-weight:700;font-variant-numeric:tabular-nums}
.match-v21-track i .match-v21-point-value{position:absolute;left:50%;bottom:calc(100% + 6px);transform:translateX(-50%);font-style:normal;white-space:nowrap;pointer-events:none}
.match-v21-gauge .match-v21-bounds{font-weight:400}
.match-v21-track{height:4px;position:relative;background:linear-gradient(90deg,#6b5b32,#e2c67b,#6b5b32);border-radius:4px}
.match-v21-track:before,.match-v21-track:after{content:'';position:absolute;top:-3px;width:1px;height:10px;background:#aa9560}
.match-v21-track:after{right:0}
.match-v21-track i{position:absolute;top:50%;transform:translate(-50%,-50%);width:10px;height:10px;background:#f5e4ac;border:2px solid #0c1520;border-radius:50%;box-shadow:0 0 0 1px #e2c67b}
.match-v21-bounds{display:flex;justify-content:space-between;margin-top:8px;font-size:11px;color:#b5bfd0;font-variant-numeric:tabular-nums}
.match-page-v1 a.match-v21-plus{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:0;border:1px solid #756641;border-radius:50%;color:#e2c67b;font-size:24px;text-decoration:none;background:#111d29;line-height:1}
.match-page-v1 a.match-v21-plus:hover{background:#243043;border-color:#e2c67b}
.match-page-v1 a.match-v21-plus:focus-visible{outline:3px solid #fff;outline-offset:3px}
.match-v21-block-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.match-v21-block-head h2{margin:0;font-size:20px}
.match-reference-summary-v2 .overview-v2-goals{margin-bottom:14px}
.match-reference-summary-v2 .overview-v2-goals-head{padding:12px 20px}
.match-reference-summary-v2 .overview-v2-goals-body{padding:16px 20px;gap:20px}
.match-reference-summary-v2 .overview-v2-goals-team>strong{font-size:40px}
.match-reference-summary-v2 .overview-v2-goals-team p{margin:8px 0 0}
.match-reference-summary-v2 .overview-v2-goals-contexts:before{display:none}
.match-reference-summary-v2 .overview-v2-goals-contexts>span{margin-bottom:4px}
.match-reference-summary-v2 .overview-v2-goals-contexts .team-note{font-size:11px;line-height:1.4;margin:0 0 8px}
.match-reference-summary-v2 .overview-v2-goals-context-row>div{padding:8px 10px}
.match-v21-history-bar{display:block;height:3px;margin:6px 0;background:#283545;border-radius:4px;overflow:hidden}
.match-v21-history-bar i{display:block;height:100%;background:#d6b765}
.match-v2-deferred{margin-top:14px;padding:18px 22px}
.match-v2-deferred .match-player-card{padding:12px;gap:12px;min-height:0}
.match-v2-deferred .match-player-shirt{width:66px;min-width:66px}
.match-v2-deferred .match-player-info p{margin:4px 0;font-size:12px}
.match-v2-deferred .match-player-info h4{font-size:16px;margin:3px 0}
.match-v2-deferred .match-player-mirror{gap:10px}
.match-v2-deferred .match-reading-v1-card{padding:14px;margin:8px 0}
.match-v2-deferred .match-player-summary>h2{font-size:18px}
@media(max-width:600px){
.match-reference-summary-v2 .overview-v2-metric{padding:14px 16px}
.match-v2-estimate-teams{gap:14px}
.match-v2-estimate-teams>div{padding:0}
.match-v2-estimate-teams>div+div{border-left:0;border-top:1px solid #293846;padding:14px 0 0}
.match-v2-estimate header{flex-wrap:nowrap}
.match-reference-summary-v2 .overview-v2-goals-body{gap:12px;padding:14px}
.match-v2-deferred{padding:14px}
.match-v21-block-head h2{font-size:18px}
}
.match-reference-summary-v2 .match-v2-estimate>header,.match-page-v1 .match-v21-block-head{background:transparent;padding:0;min-height:44px;margin:0 0 8px;border:0}
.match-page-v1 .match-v2-deferred .match-player-shirt{--avatar-headroom:12px;flex-basis:66px}
.match-page-v1 .match-v2-deferred .match-player-shirt img,.match-page-v1 .match-v2-deferred .match-player-shirt svg{width:66px;height:80px}
.match-page-v1 .match-v2-deferred .match-reading-v1{padding:16px}
.match-page-v1 .match-v2-deferred .match-reading-v1-head{margin-bottom:10px}
.match-page-v1 .match-v2-deferred .match-reading-v1-head h2{font-size:20px}
.match-page-v1 .match-v2-deferred .match-reading-v1-head .eyebrow{display:none}
.match-page-v1 .match-v2-deferred .match-reading-v1-card{padding:12px}
.match-page-v1 .match-v2-deferred .match-reading-v1-statements p{font-size:13px;line-height:1.5}
@media(max-width:600px){
.match-reference-summary-v2 .overview-v2-goals-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.match-reference-summary-v2 .overview-v2-goals-team{grid-column:1;grid-row:1;text-align:left}
.match-reference-summary-v2 .overview-v2-goals-team.away{grid-column:2;grid-row:1;text-align:right}
.match-reference-summary-v2 .overview-v2-goals-contexts{grid-column:1 / -1;grid-row:2}
.match-reference-summary-v2 .overview-v2-goals-team>strong{font-size:34px}
.match-reference-summary-v2 .overview-v2-goals-context{font-size:10px}
.match-reference-summary-v2 .overview-v2-goals-team h4{font-size:16px}
.match-reference-summary-v2 .overview-v2-goals-team p{font-size:11px}
.match-page-v1 .match-v2-deferred .match-player-card{padding:8px 0}
}

/* Match V2.2: central axis, presentation only. */
.match-page-v1 .sd-match-hero-v2 .sd-hero-team.home{text-align:right;align-items:flex-end}
.match-page-v1 .sd-match-hero-v2 .sd-hero-team.away{text-align:left;align-items:flex-start}
.match-page-v1 .sd-match-hero-v2 .home .sd-hero-identity{display:flex;justify-content:flex-end;flex-direction:row-reverse}
.match-page-v1 .sd-match-hero-v2 .away .sd-hero-identity{display:flex;justify-content:flex-start}
.match-page-v1 .sd-match-hero-v2 .sd-hero-identity h1{min-width:0;overflow-wrap:anywhere}
.match-page-v1 .sd-match-hero-v2 .home .sd-form-badges{justify-content:flex-end}
.match-page-v1 .sd-match-hero-v2 .away .sd-form-badges{justify-content:flex-start}
.match-reference-summary-v2{padding:0;border:0;background:transparent}
.match-reference-summary-v2 .overview-v2-goals{background:radial-gradient(ellipse at 50% 0%,#22394a 0%,#0b151f 70%);border-color:#655936}
.match-reference-summary-v2 .overview-v2-goals-body{grid-template-columns:minmax(0,1fr) minmax(260px,1.15fr) minmax(0,1fr);align-items:center}
.match-reference-summary-v2 .overview-v2-goals-team{text-align:right;padding:16px;border-right:1px solid #344653}
.match-reference-summary-v2 .overview-v2-goals-team.away{text-align:left;border-right:0;border-left:1px solid #344653}
.match-reference-summary-v2 .overview-v2-goals-team>strong{font-size:54px;color:#f1d48b;line-height:1.1;font-variant-numeric:tabular-nums}
.match-reference-summary-v2 .overview-v2-goals-team p b{display:inline-block;font-size:24px;color:#d7e3ef;font-variant-numeric:tabular-nums}
.match-reference-summary-v2 .overview-v2-goals-context-row>div{background:#101f2c;border-color:#4a5260;border-radius:12px}
.match-v21-history-bar{height:8px;background:#344150;margin:9px 0;border:1px solid #536070}
.match-v21-history-bar i{background:linear-gradient(90deg,#a78a46,#f1d48b);border-radius:4px}
.match-v2-estimate header h3{font-size:16px;letter-spacing:.02em;line-height:1.4}
.match-page-v1 .match-v2-deferred .match-player-home{grid-template-columns:minmax(0,1fr) 66px;text-align:right}
.match-page-v1 .match-v2-deferred .match-player-home>.match-player-info{grid-column:1;grid-row:1}
.match-page-v1 .match-v2-deferred .match-player-home>.match-player-shirt{grid-column:2;grid-row:1}
.match-page-v1 .match-v2-deferred .match-player-away{grid-template-columns:66px minmax(0,1fr);text-align:left}
.match-page-v1 .match-v2-deferred .match-player-away>.match-player-shirt{grid-column:1;grid-row:1}
.match-page-v1 .match-v2-deferred .match-player-away>.match-player-info{grid-column:2;grid-row:1}
.match-page-v1 .match-v2-deferred .match-player-info{min-width:0;overflow-wrap:anywhere}
@media(max-width:600px){
.match-reference-summary-v2 .overview-v2-goals-body{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.match-reference-summary-v2 .overview-v2-goals-team{padding:8px;text-align:right}
.match-reference-summary-v2 .overview-v2-goals-team.away{text-align:left}
.match-reference-summary-v2 .overview-v2-goals-team>strong{font-size:42px}
.match-page-v1 .sd-match-hero-v2 .sd-hero-identity{gap:8px}
.match-page-v1 .match-v2-deferred .match-player-mirror{gap:8px}
}
.match-page-v1 .sd-match-hero-v2 .home .sd-hero-identity{justify-content:flex-start;width:100%}
.match-page-v1 .sd-match-hero-v2 .home h1{justify-content:flex-end}
.match-page-v1 .sd-match-hero-v2 .away .sd-hero-identity{width:100%}
.match-page-v1 .match-v2-deferred .match-player-card{display:grid}
.match-page-v1 .match-v2-deferred .match-player-card>.match-player-details{grid-column:1 / -1}
.match-page-v1 .match-v2-deferred .match-player-home>.match-player-shirt{justify-self:end}
.match-page-v1 .match-v2-deferred .match-player-away>.match-player-shirt{justify-self:start}
.match-page-v1 .match-v2-deferred .match-player-team-head h3:first-child{text-align:right}
.match-page-v1 .match-v2-deferred .match-player-team-head h3:last-child{text-align:left}
.match-page-v1 .match-v2-deferred .match-player-team-headings h3:first-child{text-align:right}
.match-page-v1 .match-v2-deferred .match-player-team-headings h3:last-child{text-align:left}

/* Match V2.3: shared group heading and symmetric player actions. */
.match-page-v1 .match-barometer-title{margin:20px 0 14px;color:#f1d48b;font-size:22px;font-weight:750;line-height:1.25;letter-spacing:.015em}
.match-page-v1 .match-reference-summary-v2 .match-v2-estimate header h3,
.match-page-v1 .match-reference-summary-v2 .overview-v2-goals-head h3{color:#f4f7fb;font-size:20px;font-weight:800;line-height:1.25;letter-spacing:.06em;margin:0;border-left:3px solid #d6b765;padding:3px 0 3px 10px}
.match-page-v1 .match-reference-summary-v2 .overview-v2-metric-title span{font-size:10px;letter-spacing:.08em;margin-bottom:5px}
.match-page-v1 .match-v2-deferred .match-player-details>summary{box-sizing:border-box;width:max-content;max-width:100%;min-height:44px;padding:12px 8px;line-height:20px;text-align:left}
.match-page-v1 .match-v2-deferred .match-player-home>.match-player-details>summary{margin-left:auto}
.match-page-v1 .match-v2-deferred .match-player-away>.match-player-details>summary{margin-right:auto}
.match-page-v1 .match-v2-deferred .match-all-players{display:table;margin:20px auto 0}
@media(max-width:600px){
.match-page-v1 .match-barometer-title{font-size:20px;margin-top:16px}
.match-page-v1 .match-reference-summary-v2 .match-v2-estimate header h3,
.match-page-v1 .match-reference-summary-v2 .overview-v2-goals-head h3{font-size:18px}
}

/* Match V2.4: compact fixture and independent engine group heading. */
.match-page-v1 .match-barometer-title{text-align:center;margin:22px 0 12px}
.match-page-v1 .sd-match-hero-v2 .sd-hero-meta{padding:12px 16px;gap:4px}
.match-page-v1 .sd-match-hero-v2 .sd-hero-fixture{padding:18px 24px;min-height:0;grid-template-rows:auto 76px auto 28px auto;gap:8px 20px}
.match-page-v1 .sd-match-hero-v2 .sd-hero-team{padding:14px 18px;min-height:0;gap:8px}
.match-page-v1 .sd-match-hero-v2 .sd-hero-team h1{min-height:0;font-size:clamp(22px,2.4vw,32px)}
.match-page-v1 .sd-match-hero-v2 .sd-hero-shirt{width:72px;height:72px;flex:0 0 72px}
.match-page-v1 .sd-match-hero-v2 .sd-hero-center{gap:10px}
.match-page-v1 .match-v2-deferred .match-all-players{box-sizing:border-box;font-size:13px;line-height:20px;padding:10px 14px;min-height:44px;margin:14px auto 0;border-radius:8px}
@media(max-width:900px){
.match-page-v1 .sd-match-hero-v2 .sd-hero-fixture{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;padding:10px;gap:6px}
.match-page-v1 .sd-match-hero-v2 .sd-hero-team{display:grid;grid-template-rows:auto auto auto auto auto;grid-row:auto;grid-column:1!important;padding:10px 12px;gap:5px;min-height:0}
.match-page-v1 .sd-match-hero-v2 .sd-hero-identity{width:100%;gap:10px}
.match-page-v1 .sd-match-hero-v2 .home .sd-hero-identity{justify-content:flex-start}
.match-page-v1 .sd-match-hero-v2 .sd-hero-team h1{font-size:20px;line-height:1.2;min-height:0;flex:1}
.match-page-v1 .sd-match-hero-v2 .sd-hero-shirt{width:48px;height:48px;flex:0 0 48px}
.match-page-v1 .sd-match-hero-v2 .sd-hero-standing{font-size:12px;line-height:1.35}
.match-page-v1 .sd-match-hero-v2 .sd-hero-context>small{font-size:10px;line-height:1.3}
.match-page-v1 .sd-match-hero-v2 .sd-form-badges{gap:5px}
.match-page-v1 .sd-match-hero-v2 .sd-result-badge{width:26px;height:26px;flex:0 0 26px;font-size:12px}
.match-page-v1 .sd-match-hero-v2 .sd-hero-center{display:flex;justify-content:center;align-items:center;grid-column:1;grid-row:2;gap:10px;padding:0}
.match-page-v1 .sd-match-hero-v2 .sd-hero-center strong{width:28px;height:28px;font-size:11px;box-shadow:none}
.match-page-v1 .sd-match-hero-v2 .sd-hero-center small{font-size:8px}
.match-page-v1 .sd-match-hero-v2 .sd-hero-meta{padding:9px 10px;font-size:10px;gap:3px}
}
@media(max-width:340px){body:has(.match-page-v1) .site-actions{gap:6px}}
/* Match V2.6: mobile mirror layout; validated desktop rules stay unchanged. */
@media(max-width:900px){
.match-page-v1 .sd-match-hero-v2 .sd-hero-fixture{display:grid;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);grid-template-rows:auto minmax(48px,auto) auto 22px auto;gap:6px 3px;padding:8px 5px;align-items:stretch}
.match-page-v1 .sd-match-hero-v2 .sd-hero-team{grid-row:1 / span 5;grid-template-rows:subgrid;padding:8px 5px;gap:6px;width:auto;min-width:0}
.match-page-v1 .sd-match-hero-v2 .sd-hero-team.home{grid-column:1!important;text-align:right}
.match-page-v1 .sd-match-hero-v2 .sd-hero-team.away{grid-column:3!important;text-align:left}
.match-page-v1 .sd-match-hero-v2 .sd-hero-identity{display:flex;gap:3px;width:100%;min-width:0}
.match-page-v1 .sd-match-hero-v2 .sd-hero-team h1{font-size:clamp(12px,3.6vw,17px);line-height:1.2;flex:1;overflow-wrap:anywhere}
.match-page-v1 .sd-match-hero-v2 .sd-hero-shirt{width:32px;height:40px;flex:0 0 32px}
.match-page-v1 .sd-match-hero-v2 .sd-hero-role{font-size:8px;letter-spacing:.06em}
.match-page-v1 .sd-match-hero-v2 .sd-hero-standing{font-size:10px;line-height:1.35}
.match-page-v1 .sd-match-hero-v2 .sd-hero-context>small{font-size:8px;line-height:1.3}
.match-page-v1 .sd-match-hero-v2 .sd-form-badges{gap:3px;flex-wrap:nowrap}
.match-page-v1 .sd-match-hero-v2 .sd-result-badge{width:18px;height:20px;flex:0 0 18px;font-size:10px}
.match-page-v1 .sd-match-hero-v2 .sd-hero-center{grid-column:2;grid-row:1 / span 5;display:flex;flex-direction:column;align-self:center;gap:5px;padding:0;min-width:0}
.match-page-v1 .sd-match-hero-v2 .sd-hero-center strong{width:22px;height:22px;font-size:9px}
.match-page-v1 .sd-match-hero-v2 .sd-hero-center small,.match-page-v1 .sd-match-hero-v2 .sd-hero-access{font-size:6px;letter-spacing:0;padding:3px 0;overflow-wrap:anywhere;max-width:24px;text-align:center}
.match-page-v1 .match-reference-summary-v2 .overview-v2-goals-team,.match-page-v1 .match-reference-summary-v2 .overview-v2-goals-team.away{text-align:center;padding:8px 4px;min-width:0}
.match-page-v1 .match-reference-summary-v2 .overview-v2-goals-team h4{overflow-wrap:anywhere;font-size:15px}
.match-page-v1 .match-reference-summary-v2 .overview-v2-goals-team>strong{font-size:38px}
.match-page-v1 .match-reference-summary-v2 .overview-v2-goals-team p{font-size:10px;line-height:1.5}
.match-page-v1 .match-reference-summary-v2 .overview-v2-goals-team p b{font-size:21px}
.match-page-v1 .match-v2-deferred .match-player-mirror-row{display:grid;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr);gap:3px;align-items:start;padding:10px 0}
.match-page-v1 .match-v2-deferred .match-player-rank{grid-column:2;grid-row:1;width:18px;height:22px;font-size:10px;margin-top:10px;align-self:start}
.match-page-v1 .match-v2-deferred .match-player-card{grid-row:1;padding:4px 0;gap:4px;min-width:0;align-items:start}
.match-page-v1 .match-v2-deferred .match-player-home{grid-column:1;grid-template-columns:minmax(0,1fr) 26px;text-align:right}
.match-page-v1 .match-v2-deferred .match-player-away{grid-column:3;grid-template-columns:26px minmax(0,1fr);text-align:left}
.match-page-v1 .match-v2-deferred .match-player-shirt{min-width:0;width:26px}
.match-page-v1 .match-v2-deferred .match-player-shirt img,.match-page-v1 .match-v2-deferred .match-player-shirt svg{width:26px;height:34px}
.match-page-v1 .match-v2-deferred .match-player-info h4{font-size:12px;line-height:1.3;margin:3px 0;overflow-wrap:anywhere}
.match-page-v1 .match-v2-deferred .match-player-meta,.match-page-v1 .match-v2-deferred .match-player-mobile-team{font-size:9px;line-height:1.35}
.match-page-v1 .match-v2-deferred .match-player-stats{font-size:10px;line-height:1.5}
.match-page-v1 .match-v2-deferred .match-player-minutes{font-size:9px;line-height:1.4}
.match-page-v1 .match-v2-deferred .match-player-details>summary{font-size:11px;padding:12px 2px;min-height:44px}
.match-page-v1 .match-v2-deferred .match-player-details[open]{min-width:0;overflow-wrap:anywhere}
.match-page-v1 .match-v2-deferred .match-player-details .players-history-scroll{overflow:auto;max-width:100%}
}
@media(max-width:900px){
.match-page-v1 .sd-match-hero-v2 .sd-hero-center small{display:none}
.match-page-v1 .sd-match-hero-v2 .sd-hero-center{position:relative}
.match-page-v1 .sd-match-hero-v2 .sd-hero-access{position:absolute;bottom:30px;max-width:none;white-space:nowrap;font-size:7px;padding:3px 5px}
}
@media(max-width:900px){
.match-page-v1 .match-v2-deferred .match-player-details>.players-detail{box-sizing:border-box;width:calc(200% + 26px);max-width:none;padding:12px}
.match-page-v1 .match-v2-deferred .match-player-away .match-player-details>.players-detail{margin-left:calc(-100% - 26px)}
}

/* One responsive structure below the existing desktop boundary. */
@media(max-width:900px){
.match-page-v1 .match-reference-summary-v2 .overview-v2-goals-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px}
.match-page-v1 .match-reference-summary-v2 .overview-v2-goals-team{grid-column:1;grid-row:1;border:0}
.match-page-v1 .match-reference-summary-v2 .overview-v2-goals-team.away{grid-column:2;grid-row:1;border:0}
.match-page-v1 .match-reference-summary-v2 .overview-v2-goals-contexts{grid-column:1 / -1;grid-row:2;min-width:0}
/* The existing Recherche link opens the search page; avoid an empty hidden-input box. */
body:has(.match-page-v1) .site-header .global-search{display:none}
body:has(.match-page-v1) .site-header .site-actions{flex-wrap:wrap;min-width:0;gap:6px;justify-content:flex-end}
body:has(.match-page-v1) .site-header .account-link{font-size:12px}
}

/* Match V2.7: reserve a badge row and center both mobile identities. */
@media(max-width:900px){
.match-page-v1 .sd-match-hero-v2 .sd-hero-fixture{grid-template-rows:20px auto minmax(48px,auto) auto 22px auto}
.match-page-v1 .sd-match-hero-v2 .sd-hero-team{grid-row:2 / span 5;align-items:stretch}
.match-page-v1 .sd-match-hero-v2 .sd-hero-identity{align-self:stretch;align-items:center}
.match-page-v1 .sd-match-hero-v2 .sd-hero-team h1{align-self:center}
.match-page-v1 .sd-match-hero-v2 .sd-hero-shirt{width:38px;height:46px;flex:0 0 38px;align-self:center}
.match-page-v1 .sd-match-hero-v2 .sd-hero-center{display:contents}
.match-page-v1 .sd-match-hero-v2 .sd-hero-access{position:static;grid-column:1 / -1;grid-row:1;justify-self:center;align-self:center;max-width:none;font-size:9px;line-height:12px;padding:3px 8px;white-space:nowrap}
.match-page-v1 .sd-match-hero-v2 .sd-hero-center strong{grid-column:2;grid-row:3;align-self:center;justify-self:center}
}

/* Match V2.8 — compact Barometer controls; retain 44px touch targets. */
.match-page-v1 .match-v2-periods{justify-content:center;gap:8px}
.match-page-v1 .match-v2-periods a{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:44px;min-height:44px;padding:0 8px;font-size:12px;line-height:18px;border-color:transparent;border-radius:8px}
.match-page-v1 .match-v2-periods a::before{content:"";position:absolute;inset:6px 0;border:1px solid #314752;border-radius:8px;pointer-events:none}
.match-page-v1 .match-v2-periods a[aria-current=page]::before{border-color:#d6b765}

/* Match V2.9: larger symmetric identities; goals figures remain unchanged. */
@media(min-width:901px){
.match-page-v1 .sd-match-hero-v2 .sd-hero-fixture{grid-template-rows:auto 112px auto 28px auto}
.match-page-v1 .sd-match-hero-v2 .sd-hero-shirt{width:108px;height:108px;flex:0 0 108px}
}
@media(min-width:901px) and (max-width:1100px){
.match-page-v1 .sd-match-hero-v2 .sd-hero-shirt{width:88px;height:88px;flex-basis:88px}
.match-page-v1 .sd-match-hero-v2 .sd-hero-fixture{grid-template-rows:auto 96px auto 28px auto}
}
@media(max-width:900px){
.match-page-v1 .sd-match-hero-v2 .sd-hero-shirt{width:clamp(44px,12vw,52px);height:clamp(52px,14vw,62px);flex-basis:clamp(44px,12vw,52px)}
}

/* Match V2.10: frame only the three certified estimate categories. */
.match-page-v1 .match-barometer-frame{
  box-sizing:border-box;
  min-width:0;
  margin-top:22px;
  padding:16px 12px 12px;
  border:1px solid #b99a51;
  border-radius:18px;
}
.match-page-v1 .match-barometer-frame .match-barometer-title{margin-top:0}
@media(max-width:900px){
  .match-page-v1 .match-barometer-frame{margin-top:18px;padding:14px 8px 8px;border-radius:14px}
}

/* Consolidation: desktop header can wrap; player grids must contain scroll tables. */
body:has(.match-page-v1) .site-header .site-actions{min-width:0;flex-wrap:wrap;justify-content:flex-end}
.match-page-v1 .match-player-details,.match-page-v1 .match-player-details>.players-detail{min-width:0;box-sizing:border-box}
@media(min-width:901px){.match-page-v1 .match-player-details>.players-detail{max-width:100%}}
@media(min-width:901px) and (max-width:1100px){
 body:has(.match-page-v1) .site-header{flex-wrap:wrap;gap:12px;padding-top:12px;padding-bottom:12px}
 body:has(.match-page-v1) .site-header .site-actions{flex:1 1 500px}
}


/* Match V2.10 — masquer les mots décoratifs sous le hero */
.match-page .sd-hero-keywords,
.match-page .match-hero-keywords {
    display: none !important;
}


/* SHOOTDATA — Accueil V2.6 : pictogrammes et libellés lisibles */
.sd-featured-stat {
    padding: 9px 2px;
}

.sd-featured-stat span {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    overflow: visible;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
    white-space: nowrap;
    text-overflow: clip;
}

.sd-featured-stat span svg {
    display: block;
    width: 17px;
    height: 17px;
    color: #e6c15a;
    flex-shrink: 0;
}

.sd-featured-stat strong {
    margin-top: 7px;
}


/* TIRS V3 — roles, compact reading, shared Match hero. */
.shots-v3>*{order:0!important}
.shots-v3 .sd-match-hero{margin-bottom:18px}
.shots-v3 .shots-v2-navigation{margin:8px 0 24px}
.shots-v3>.card{border-width:1px;background:linear-gradient(125deg,#18221e,#0a1820);box-shadow:none}
.shots-v3 .shots-v3-summary h2{font-size:20px;margin:8px 0}
.shots-v3 .shots-v3-summary p:last-child{margin-bottom:0;color:#c5d2da}
.shots-v3 .shots-v2-team{border-radius:16px;margin:0 0 24px}
.shots-v3 .shots-v2-team-head{background:transparent;padding:8px 0 20px}
.shots-v3 .shots-v2-team-head h2{font-size:clamp(19px,2vw,25px);line-height:1.4}
.shots-v3-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.shots-v3-stat{min-width:0;background:#06131b;border:1px solid #d5bc7b55;border-top:3px solid #dfc684;border-radius:12px;padding:22px}
.shots-v3-stat.blue{border-color:#a8c8e555;border-top-color:#a8c8e5}
.shots-v3-role{color:#dfc684;font-size:12px;letter-spacing:.1em;text-transform:uppercase;font-weight:700;margin:0 0 10px}
.blue .shots-v3-role{color:#a8c8e5}
.shots-v3-stat h3{margin:0;font-size:20px;overflow-wrap:anywhere}
.shots-v3-context{color:#a8bac5;font-size:13px;margin:5px 0 18px}
.shots-v3-mean{display:block;color:#dfc684;font-size:44px;line-height:1.2;font-variant-numeric:tabular-nums}
.blue .shots-v3-mean{color:#a8c8e5}
.shots-v3-mean small{display:block;color:#bccbd4;font-size:12px;font-weight:400;margin:8px 0 18px}
.shots-v3-stat dl{display:flex;gap:32px;border-top:1px solid #2c424d;padding-top:14px;margin-bottom:0}
.shots-v3-stat dt{font-size:12px;color:#a8bac5}
.shots-v3-stat dd{margin:4px 0;font-weight:700;font-size:20px}
.shots-v3-explain{font-size:12px;color:#a8bac5;margin:14px 0 0}
.shots-v3-warning{font-size:12px;color:#e6ca8b;border-left:2px solid #e6ca8b;padding-left:10px}
.shots-v3 .shots-v2-charts-two h4{color:#dfc684}
.shots-v3 .shots-v2-charts-two .blue h4{color:#a8c8e5}
.shots-v3 .shots-v2-threshold-row>div:first-child .shots-v2-frequency-bar i{inset:0 auto 0 0}
.shots-v3 .shots-v2-frequency-bar i{background:#dfc68435}
.shots-v3 .shots-v2-frequency-bar.conceded i{background:#a8c8e535}
.shots-v3 .shots-v2-chart{overflow-x:auto}
#shots{scroll-margin-top:24px}
@media(max-width:700px){.shots-v3-stats{gap:10px}.shots-v3-stat{padding:14px 10px}.shots-v3-stat h3{font-size:16px}.shots-v3-mean{font-size:34px}.shots-v3-stat dl{gap:18px}.shots-v3 .shots-v2-charts-two{grid-template-columns:1fr;gap:14px}.shots-v3 .shots-v2-charts-two>article{display:block;grid-row:auto}.shots-v3 .shots-v2-charts-two>article+article{border-left:0;border-top:1px solid #2c424d}.shots-v3 .shots-v2-team-head{display:block}.shots-v3 .shots-v2-tag{display:inline-block;margin-top:12px}}
.shots-v3.match-page-v1{max-width:none;margin:0}


/* ÉQUIPE V3: all rules scoped to the team page. */
.sd-team-main.team-page{gap:18px}.sd-team-main.team-page .card{margin:0;border-radius:16px;background:linear-gradient(130deg,#111f2e,#091320);border-color:#2a3c50;padding:24px}
.sd-team-main.team-page .team-hero{min-height:330px;flex-direction:row-reverse;justify-content:space-between;text-align:left;padding:40px;background:radial-gradient(ellipse at 75% 30%,var(--team-primary),transparent 75%),#08111e;box-shadow:0 18px 50px #0003}
.sd-team-main .team-hero::before{display:none}.team-page .team-terrace{position:absolute;inset:0;width:100%;height:100%;z-index:-1}.sd-team-main .team-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#07121bef, #07121b85 52%,transparent);z-index:-1}
.sd-team-main .team-hero-copy{flex:1}.sd-team-main .team-hero h1,.sd-team-main .team-hero h2{font-size:clamp(36px,4.6vw,62px);letter-spacing:-2px;line-height:1.1;margin:16px 0}.sd-team-main .team-hero p{font-size:14px;color:#e4dfe1}.sd-team-main .team-hero .eyebrow{font-size:10px;letter-spacing:3px;color:#e8c77e}.sd-team-main .team-hero small{display:block;margin-top:20px;font-size:11px;color:#acb5c4}
.sd-team-main .team-shirt{width:210px;border:0;background:none;filter:drop-shadow(0 18px 20px #0009);padding:0}.sd-team-main .team-shirt img,.sd-team-main .team-shirt svg{width:210px!important;height:235px!important}
.sd-team-main .sd-team-toolbar{margin:0;padding:14px;background:#101c2a;border:1px solid #2a3c50;border-radius:12px;justify-content:space-between;gap:10px}.sd-team-main .team-controls a{border-radius:7px}.sd-team-main .team-section-heading h2{margin:6px 0 0;font-size:24px}.team-page .team-section-heading .eyebrow{font-size:10px;letter-spacing:2px;color:#c3a867;margin:10px 0}
.sd-team-main .team-kpis{gap:14px}.sd-team-main .team-kpis .card{border-top:2px solid #bc9d59;padding:24px}.sd-team-main .team-kpis strong{font-size:44px;font-variant-numeric:tabular-nums;margin:10px 0}.sd-team-main .team-kpis small{min-height:0;font-size:12px;line-height:1.6}.sd-team-main .team-kpis small:last-child{font-size:10px;color:#8396ac}
.sd-team-main .sd-team-two{gap:18px}.sd-team-main h2{font-size:19px;letter-spacing:-.3px}.sd-team-main .sd-team-metric-list>div:last-child{border:0}.sd-team-main .sd-team-metric-list strong{color:#f2f5fa;font-variant-numeric:tabular-nums}.sd-team-main .sd-team-metric-list>div>div{text-align:right}
.sd-team-main .team-form{gap:10px}.sd-team-main .team-form>div{background:#071320;border-color:#25384d;border-radius:10px;align-items:center;text-align:center;padding:16px 8px}.sd-team-main .team-form strong{font-size:22px}.sd-team-main .team-form small{font-size:11px;line-height:1.5}.sd-team-main .team-form + .team-note{margin:16px 0 0}
.sd-team-main .sd-standings{margin:0;background:#0e1d2c;border-color:#514933}.sd-team-main .team-note{color:#8fa1b6}.sd-team-main table{font-variant-numeric:tabular-nums}.sd-team-main th{font-size:11px;color:#c7d2df}.sd-team-main td{font-size:13px}
@media(max-width:850px){.sd-team-main.team-page .team-hero{padding:26px;min-height:290px}.sd-team-main .team-shirt{width:145px}.sd-team-main .team-shirt img,.sd-team-main .team-shirt svg{width:145px!important;height:175px!important}.sd-team-main .team-hero h1,.sd-team-main .team-hero h2{font-size:42px}.sd-team-main .team-form{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.sd-team-main.team-page .card{padding:18px}.sd-team-main.team-page .team-hero{padding:22px;min-height:310px;align-items:flex-start;gap:10px}.sd-team-main .team-hero-copy{padding-top:10px}.sd-team-main .team-hero h1,.sd-team-main .team-hero h2{font-size:34px;letter-spacing:-1px}.sd-team-main .team-hero p{font-size:12px}.sd-team-main .team-hero small{font-size:10px;line-height:1.6}.sd-team-main .team-shirt{width:95px;margin-top:48px}.sd-team-main .team-shirt img,.sd-team-main .team-shirt svg{width:95px!important;height:135px!important}.sd-team-main .team-kpis{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.sd-team-main .team-kpis .card{padding:14px 9px}.sd-team-main .team-kpis strong{font-size:29px}.sd-team-main .team-kpis small{font-size:10px}.sd-team-main .team-kpis small:last-child{font-size:9px}.sd-team-main .sd-team-toolbar{padding:10px}.sd-team-main .sd-team-toolbar a{padding:8px 9px;font-size:10px}.sd-team-main .team-form small{overflow-wrap:anywhere}.sd-team-main .sd-team-two{grid-template-columns:1fr}}

@media(max-width:360px){body:has(.sd-team-layout) .site-actions{gap:8px;flex-wrap:wrap;max-width:100%}body:has(.sd-team-layout) .site-actions .premium-pill{padding:9px 10px}}
body:has(.sd-team-layout) .site-header .site-actions{min-width:0;flex-wrap:wrap;justify-content:flex-end}
@media(min-width:901px) and (max-width:1100px){body:has(.sd-team-layout) .site-header{flex-wrap:wrap;gap:12px;padding-top:12px;padding-bottom:12px}body:has(.sd-team-layout) .site-header .site-actions{flex:1 1 500px}}

/* TEAM V3 revision: original stadium base + automatic club tint, scoped. */
.team-page .team-stadium{position:absolute;inset:0;z-index:-2;background:#101d2b url('/ui/team-stadium/stadium-night.webp') center 45%/cover no-repeat}
.team-page .team-hero::before{display:block;content:"";position:absolute;inset:0;z-index:-1;transform:none;opacity:.35;background:linear-gradient(110deg,transparent 20%,var(--team-primary,#30485d));mix-blend-mode:color}
.team-page .team-hero::after{background:linear-gradient(90deg,#07121bea,#07121b80 54%,#07121b15)!important}
.team-page .team-standing-strip{border:1px solid #d6b76544;border-radius:10px;background:#101d29;padding:15px 22px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#e7edf4}
.team-page .team-standing-strip div{display:flex;align-items:center;gap:22px;flex-wrap:wrap}.team-page .team-standing-strip span{font-size:13px}.team-page .team-standing-strip strong{font-size:18px;color:#e8c77e}.team-page .team-standing-strip small{font-size:10px;color:#9bafc1}
@media(max-width:600px){.team-page .team-standing-strip{padding:14px;align-items:flex-start;flex-direction:column;gap:8px}.team-page .team-standing-strip div{gap:8px;flex-direction:column;align-items:flex-start}.team-page .team-stadium{background-position:65% center}}

/* English supporters: original colours, responsive photo, existing HTML hero. */
.team-page .team-supporters{position:absolute;inset:0;z-index:-2;display:block;background:#101d2b}
.team-page .team-supporters img{width:100%;height:100%;object-fit:cover;object-position:50% 50%}
.team-page .team-hero[data-supporter-scene]::before{display:none}
.team-page .team-hero[data-supporter-scene]::after{background:linear-gradient(90deg,#07121be6,#07121b70 54%,#07121b12)!important}
@media(max-width:600px){.team-page .team-hero[data-supporter-scene]::after{background:linear-gradient(90deg,#07121bd9,#07121b65)!important}}
@media(max-width:600px){.sd-team-main .team-hero[data-supporter-scene="s15"] h1,.sd-team-main .team-hero[data-supporter-scene="s15"] h2{font-size:clamp(22px,6.9vw,27px)}}
@media(max-width:360px){.sd-team-main .team-hero[data-supporter-scene="s15"] h1,.sd-team-main .team-hero[data-supporter-scene="s15"] h2{font-size:18px}}

/* Shared supporters: neutral photograph and sourced club accents only. */
.team-page .team-supporter-global{position:absolute;inset:0;z-index:-2;overflow:hidden;background:#0b0b0c;isolation:isolate}
.team-page .team-supporter-global .team-supporters{z-index:0;background:#161616}
.team-page .team-supporter-global img{filter:grayscale(1) contrast(1.06)}
.team-page .team-supporter-tint{position:absolute;inset:0;z-index:1;background:linear-gradient(115deg,var(--team-secondary) 5%,var(--team-primary) 85%);mix-blend-mode:color;opacity:.8;pointer-events:none}
.team-page .team-hero[data-supporter-palette="unverified_neutral"] .team-supporter-tint{display:none}
.team-page .team-hero[data-supporter-palette]::after{background:linear-gradient(90deg,#08090bea,#08090b80 54%,#08090b24)!important}
@media(max-width:600px){.team-page .team-hero[data-supporter-palette]::after{background:linear-gradient(90deg,#08090bdf,#08090b65)!important}.sd-team-main .team-hero[data-supporter-palette] h1,.sd-team-main .team-hero[data-supporter-palette] h2{font-size:clamp(22px,6.8vw,30px);letter-spacing:-.5px}}

/* MATCH: shared title row keeps venue statistics aligned at every width. */
.overview-v211-goals-grid{
  grid-template-rows:auto repeat(3,auto);
}
.overview-v211-goals-column{
  display:grid;
  grid-template-rows:subgrid;
  grid-row:1 / span 4;
}

/* PREMIUM V2 — isolated page overrides */
.premium-v2{margin:28px auto 48px}
.premium-v2 .premium-hero{min-height:0;padding:28px 34px;gap:28px;grid-template-columns:minmax(0,1fr) 210px}
.premium-v2 .premium-hero h1{font-size:clamp(30px,3.4vw,44px);line-height:1.12}
.premium-v2 .premium-lead{font-size:16px;line-height:1.6;margin-top:16px}
.premium-v2 .premium-hero-brand img{width:180px}
.premium-v2 .premium-hero-actions{margin-top:20px;gap:10px}
.premium-v2 .premium-coming{font-size:10px;padding:0 12px;min-height:38px}
.premium-v2 .premium-comparison{margin-top:24px;align-items:stretch}
.premium-v2 .premium-plan{min-height:0;padding:28px}
.premium-v2 .premium-plan-copy{margin:20px 0}
.premium-v2 .premium-plan ul{margin-bottom:20px}
.premium-v2 .premium-plan li{padding-top:10px;padding-bottom:10px}
.premium-v2 .premium-price{margin:18px 0 4px;color:#e4bd55}
.premium-v2 .premium-price strong{font-size:42px;line-height:1.1}
.premium-v2 .premium-price span{color:#a3b4be;font-size:16px}
.premium-v2 .premium-terms{color:#a3b4be;font-size:13px;margin:0 0 18px;line-height:1.6}
.premium-v2 .premium-shootix{border:1px solid #29424f;border-radius:10px;padding:14px;margin:0 0 18px;color:#e4bd55;font-size:13px}
.premium-v2 .premium-shootix p{color:#a3b4be;line-height:1.5;margin:6px 0 0}
.premium-v2 .premium-code-panel{margin-top:24px;padding:24px 28px;border:1px solid #29424f;border-radius:14px;background:#091c27;color:#a3b4be}
.premium-v2 .premium-code-panel h2{font-size:21px;color:#f4f7f8;margin:0}
.premium-v2 .premium-code-panel p{line-height:1.6;font-size:14px}
.premium-v2 #premium-code-form{max-width:580px;margin-top:18px}
.premium-v2 #premium-code-form label{display:block;margin-bottom:8px;font-size:13px}
.premium-v2 .premium-code-controls{display:flex;gap:10px}
.premium-v2 #premium-code{min-width:0;flex:1;width:auto;margin:0;background:#06141d;border:1px solid #48606c;border-radius:8px;color:#f4f7f8;padding:12px}
.premium-v2 .premium-code-controls button{background:#e4bd55;color:#091c27;border:0;border-radius:8px;padding:12px 22px;font-weight:800}
.premium-v2 #premium-subscribe{padding:12px 18px;border:1px solid #48606c;border-radius:8px}
.premium-v2 #premium-subscribe:disabled{background:#132631;color:#94a8b5;cursor:not-allowed}
.premium-v2 .premium-code-note{font-size:12px!important;margin-bottom:0}
.premium-v2 .premium-features{margin-top:32px}
.premium-v2 .premium-feature-title{margin-bottom:18px}
.premium-v2 .premium-feature-title h2{font-size:26px}
.premium-v2 .premium-feature-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.premium-v2 .premium-feature-grid article{padding:20px}
.premium-v2 :is(a,button,input):focus-visible{outline:2px solid #e4bd55;outline-offset:4px}
@media(max-width:900px){.premium-v2 .premium-hero{grid-template-columns:minmax(0,1fr) 150px;padding:24px;gap:18px}.premium-v2 .premium-hero-brand{display:block}.premium-v2 .premium-hero-brand img{width:140px}.premium-v2 .premium-hero-brand p{display:none}.premium-v2 .premium-comparison{grid-template-columns:1fr 1fr}.premium-v2 .premium-plan{padding:22px}.premium-v2 .premium-plan-head{gap:10px;flex-wrap:wrap}.premium-v2 .premium-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.premium-v2{width:calc(100% - 24px);margin-top:16px}.premium-v2 .premium-hero{grid-template-columns:1fr;padding:22px}.premium-v2 .premium-hero-brand{grid-row:1;text-align:left}.premium-v2 .premium-hero-brand img{width:105px}.premium-v2 .premium-comparison{grid-template-columns:1fr}.premium-v2 .premium-code-panel{padding:22px}.premium-v2 .premium-code-controls{flex-direction:column}.premium-v2 .premium-feature-grid{grid-template-columns:1fr}.premium-v2 .premium-feature-title h2{font-size:23px}}


/* Validated PREMIUM gold treatment, limited to the PREMIUM V2 page. */
.premium-v2 .premium-plan-premium{
    background:linear-gradient(135deg,#715023 0%,#513718 48%,#302216 100%);
    border-color:#d5ae55;
    box-shadow:inset 0 1px 0 rgba(255,225,153,.18),0 0 22px rgba(213,174,85,.08);
}
.premium-v2 .premium-plan-premium .premium-plan-label,
.premium-v2 .premium-plan-premium .premium-price,
.premium-v2 .premium-plan-premium .premium-shootix,
.premium-v2 .premium-plan-premium .premium-plan-cta strong{color:#ffe09a}
.premium-v2 .premium-plan-premium h2{color:#fff8e9}
.premium-v2 .premium-plan-premium .premium-plan-badge{color:#ffe09a;border-color:rgba(255,224,154,.6);background:rgba(26,17,9,.22)}
.premium-v2 .premium-plan-premium :is(.premium-price span,.premium-terms,.premium-shootix p,.premium-plan-cta span){color:#f2e6cf}
.premium-v2 .premium-plan-premium li{color:#fff8e9;border-bottom-color:rgba(255,224,154,.18)}
.premium-v2 .premium-plan-premium li::before{color:#ffe09a}
.premium-v2 .premium-plan-premium :is(.premium-shootix,.premium-plan-cta){border-color:rgba(255,224,154,.36);background:rgba(26,17,9,.22)}
.premium-v2 .premium-feature-icon{display:block;width:26px;height:26px;margin-bottom:14px;color:#e4bd55}

/* PWA V1.2: compact navigation and calendar, presentation only. */
.sd-v12-home .sd-header-icon{display:inline-flex;align-items:center;justify-content:center;width:44px;min-width:44px;height:44px;padding:0!important;box-sizing:border-box}
.sd-v12-home .sd-header-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}
.sd-v12-home .sd-header-icon:focus-visible{outline:2px solid #ddbf78;outline-offset:2px}
@media(max-width:600px){
html body.sd-v12-home .site-header.sd-mobile-v12{display:flex;flex-wrap:nowrap;gap:4px;padding:8px;box-sizing:border-box;width:100%}
html body.sd-v12-home .sd-mobile-v12 .brand-logo{flex:0 1 76px;min-width:48px;margin:0}
html body.sd-v12-home .sd-mobile-v12 .brand-logo img{width:100%;max-width:76px;height:auto}
html body.sd-v12-home .sd-mobile-v12 .sd-home-tagline{flex:1 1 auto;min-width:0;font-size:clamp(8px,2.4vw,11px);white-space:nowrap;margin:0;letter-spacing:0}
html body.sd-v12-home .sd-mobile-v12 .site-actions{display:flex;flex:0 0 auto;flex-basis:auto;flex-wrap:nowrap;gap:0;min-width:0;margin:0}
html body.sd-v12-home .sd-mobile-v12 .premium-pill{font-size:9px;padding:0 5px;min-height:44px;display:inline-flex;align-items:center;box-sizing:border-box}
html body.sd-v12-home .sd-mobile-v12 #sd-header-install{display:none!important}
body.sd-v12-home #matches .sd-timeline .sd-match{padding:8px;gap:6px;min-height:0}
body.sd-v12-home #matches .sd-timeline .sd-timeline-league{font-size:10px;gap:3px}
body.sd-v12-home #matches .sd-timeline .access-badge{font-size:8px;padding:2px 5px;line-height:1.3}
body.sd-v12-home #matches .sd-timeline .sd-timeline-access{gap:4px}
}

.sd-v12-home .sd-mobile-v12 .premium-pill{min-height:44px;box-sizing:border-box;display:inline-flex;align-items:center}
@media(max-width:600px){
html body.sd-v12-home #matches .sd-timeline .sd-match{padding:8px 8px 8px 16px!important;gap:6px}
html body.sd-v12-home #matches .sd-timeline .sd-timeline-league{font-size:10px;gap:3px}
html body.sd-v12-home #matches .sd-timeline .sd-timeline-access{gap:4px}
}
/* PWA V1.2 revision: proprietary shirts and balanced fixture rows. */
html body.sd-v12-home .sd-featured-shirt-slot{display:flex;align-items:center;justify-content:center;border:0;background:none;width:92px;height:92px}
html body.sd-v12-home .sd-featured-shirt-slot img{width:100%;height:100%;object-fit:contain;display:block}
html body.sd-v12-home #matches .sd-timeline .sd-match{display:grid;grid-template-columns:70px minmax(0,1fr) 120px 130px;gap:16px;padding:16px 12px 16px 22px;align-items:center}
html body.sd-v12-home #matches .sd-timeline-time{grid-column:1;grid-row:1}
html body.sd-v12-home #matches .sd-timeline-teams{grid-column:2;grid-row:1;gap:12px;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr)}
html body.sd-v12-home #matches .sd-timeline-league{grid-column:3;grid-row:1;justify-content:flex-start;font-size:11px;gap:5px}
html body.sd-v12-home #matches .sd-timeline-access{grid-column:4;grid-row:1;align-items:flex-end;gap:8px}
html body.sd-v12-home #matches .sd-timeline .sd-team{gap:10px;min-width:0}
html body.sd-v12-home #matches .sd-timeline .sd-team img{width:56px;height:60px;max-width:56px;object-fit:contain;flex:0 0 56px}
html body.sd-v12-home #matches .sd-timeline .sd-team strong{font-size:13px;line-height:1.3;overflow-wrap:normal;word-break:normal}
html body.sd-v12-home #matches .sd-timeline .access-badge{font-size:9px;line-height:1.2;padding:3px 6px;letter-spacing:.06em}
html body.sd-v12-home #matches .sd-timeline-access a{display:inline-flex;align-items:center;min-height:44px;font-size:12px}
@media(max-width:850px){
html body.sd-v12-home #matches .sd-timeline .sd-match{grid-template-columns:1fr auto;gap:6px 12px;padding:12px 6px 8px 16px!important}
html body.sd-v12-home #matches .sd-timeline-time{grid-column:1;grid-row:1;font-size:16px}
html body.sd-v12-home #matches .sd-timeline-league{grid-column:2;grid-row:1;justify-content:flex-end}
html body.sd-v12-home #matches .sd-timeline-teams{grid-column:1/-1;grid-row:2;gap:8px;grid-template-columns:minmax(0,1fr) 16px minmax(0,1fr)}
html body.sd-v12-home #matches .sd-timeline .sd-team{flex-direction:column;align-items:center;text-align:center;gap:4px}
html body.sd-v12-home #matches .sd-timeline .sd-team img{width:48px;height:52px;max-width:48px;flex-basis:52px}
html body.sd-v12-home #matches .sd-timeline .sd-team strong{font-size:12px}
html body.sd-v12-home #matches .sd-timeline-access{grid-column:1/-1;grid-row:3;flex-direction:row;justify-content:space-between;align-items:center;gap:8px}
html body.sd-v12-home .sd-featured-shirt-slot{width:76px;height:84px}
}
/* V1.2 final: vertical rhythm and access badges only. */
html body.sd-v12-home #matches .sd-timeline .sd-match{padding-top:9.5px;padding-bottom:9.5px}
html body.sd-v12-home #matches .sd-timeline-access{row-gap:6px}
html body.sd-v12-home #matches .sd-timeline .access-badge{font-size:7.2px;padding:2.4px 4.8px}
@media(max-width:850px){
html body.sd-v12-home #matches .sd-timeline .sd-match{padding-top:2px!important;padding-bottom:2px!important;row-gap:0}
html body.sd-v12-home #matches .sd-timeline .sd-team{row-gap:2px}
}

/* Match: compact reference presentation; player geometry is unchanged. */
.match-page-v1 .match-reference-summary-v2 .overview-v2-reference-grid{gap:10px}
.match-page-v1 .match-reference-summary-v2 .overview-v2-metric{padding:12px 16px}
.match-page-v1 .match-reference-summary-v2 .match-v2-estimate>header{margin-bottom:4px}
.match-page-v1 .match-reference-summary-v2 .overview-v2-goals-head{padding:8px 16px}
.match-page-v1 .overview-v211-goals-column{padding-top:12px;padding-bottom:12px}
.match-page-v1 .overview-v211-goals-stat{padding-top:6px;padding-bottom:6px}
.match-page-v1 .overview-v2-goals>p{margin:8px 16px 12px;font-size:12px;line-height:1.45}
.match-page-v1 [data-block="players"] .match-player-card>.match-player-shirt>img,
.match-page-v1 [data-block="players"] .match-player-card>.match-player-shirt>svg{transform:scale(1.5);transform-origin:center;pointer-events:none}
@media(max-width:600px){
.match-page-v1 .match-reference-summary-v2 .overview-v2-metric{padding:10px 12px}
.match-page-v1 .match-v2-estimate-teams{gap:8px}
.match-page-v1 .match-v2-estimate-teams>div+div{padding-top:8px}
.match-page-v1 .match-v2-periods{gap:8px;margin:10px 0}
.match-page-v1 .match-v2-periods a{min-height:44px;box-sizing:border-box;display:inline-flex;align-items:center}
}

/* Match players: shared comparison tracks; existing shirt dimensions retained. */
.match-page-v1 [data-block="players"] .match-player-mirror-row{
  grid-template-rows:auto auto;align-items:start;min-height:0;padding:8px 0;
}
.match-page-v1 [data-block="players"] .match-player-card{
  grid-row:1 / span 2;grid-template-rows:subgrid;align-items:start;
  row-gap:4px;padding-top:6px;padding-bottom:6px;
}
.match-page-v1 [data-block="players"] .match-player-home{grid-column:1}
.match-page-v1 [data-block="players"] .match-player-away{grid-column:3}
.match-page-v1 [data-block="players"] .match-player-rank{grid-column:2;grid-row:1;align-self:start}
.match-page-v1 [data-block="players"] .match-player-info{min-width:0}
.match-page-v1 [data-block="players"] .match-player-info h4{
  overflow-wrap:anywhere;hyphens:auto;line-height:1.35;margin-top:0;margin-bottom:4px;
}
.match-page-v1 [data-block="players"] .match-player-details{
  grid-row:2;align-self:start;margin-top:0;min-width:0;max-width:100%;
}
.match-page-v1 [data-block="players"] .match-player-details>summary{
  box-sizing:border-box;display:list-item;width:100%;min-height:44px;line-height:20px;
  padding:12px 4px;max-width:100%;white-space:normal;overflow-wrap:anywhere;
}
.match-page-v1 [data-block="players"] .match-player-details>.players-detail{
  width:100%;max-width:100%;margin:6px 0 0;padding:10px;overflow-wrap:anywhere;
}
.match-page-v1 .match-v2-deferred[data-block="players"] .match-player-away .match-player-details>.players-detail{margin-left:0}
/* Reserve the already scaled image's footprint without resizing the image. */
.match-page-v1 .match-v2-deferred[data-block="players"] .match-player-home{grid-template-columns:minmax(0,1fr) 99px}
.match-page-v1 .match-v2-deferred[data-block="players"] .match-player-away{grid-template-columns:99px minmax(0,1fr)}
.match-page-v1 .match-v2-deferred[data-block="players"] .match-player-card>.match-player-shirt{
  justify-self:center;padding-top:28px;padding-bottom:28px;
}
@media(max-width:900px){
 .match-page-v1 [data-block="players"] .match-player-mirror-row{padding:6px 0}
 .match-page-v1 [data-block="players"] .match-player-card{padding-top:4px;padding-bottom:4px}
 .match-page-v1 .match-v2-deferred[data-block="players"] .match-player-home{grid-template-columns:minmax(0,1fr) 39px}
 .match-page-v1 .match-v2-deferred[data-block="players"] .match-player-away{grid-template-columns:39px minmax(0,1fr)}
 .match-page-v1 .match-v2-deferred[data-block="players"] .match-player-card>.match-player-shirt{padding-top:16.5px;padding-bottom:16.5px}
 .match-page-v1 [data-block="players"] .match-player-details .players-detail-stats,
 .match-page-v1 [data-block="players"] .match-player-details .players-impact-grid{grid-template-columns:minmax(0,1fr)}
 .match-page-v1 [data-block="players"] .match-player-details .players-detail-head{display:block}
 .match-page-v1 [data-block="players"] .match-player-details .players-detail-head h2{font-size:13px;overflow-wrap:anywhere}
 .match-page-v1 [data-block="players"] .match-player-details .players-history-scroll{max-width:100%;overflow-x:auto}
}

/* Vertical clearance only: keep every existing shirt dimension and transform. */
.match-page-v1 .match-v2-deferred[data-block="players"] .players-detail-head>.players-shirt-tile{padding-block:8px}
/* Validated SHOOTDATA mobile/PWA navigation. Artwork is decorative; labels stay text. */
.sd-bottom-navigation{display:none}
@media(max-width:600px){
 /* One physical clearance; scroll-padding only guides scroll/focus targets. */
 html:has(.sd-bottom-navigation){--sd-nav-height:calc(87px + env(safe-area-inset-bottom,0px));scroll-padding-bottom:calc(var(--sd-nav-height) + 12px)}
 body:has(.sd-bottom-navigation){padding-bottom:calc(var(--sd-nav-height) + 12px)}
 .sd-bottom-navigation{position:fixed;z-index:1000;margin:0;gap:0;height:var(--sd-nav-height);bottom:0;left:0;right:0;box-sizing:border-box;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);padding:4px max(8px,env(safe-area-inset-right,0px)) calc(6px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px));background:linear-gradient(#0a0b0c,#020303);border-top:1px solid #777a7e;box-shadow:0 -4px 20px #0009}
 .sd-bottom-navigation a{min-width:0;min-height:76px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;text-decoration:none;color:#c5c7cc;font-size:14px;font-weight:650;line-height:20px;position:relative}
 .sd-bottom-navigation a+a:before{content:"";position:absolute;left:0;top:13px;bottom:13px;width:1px;background:#73777a}
 .sd-bottom-navigation a:is([aria-current=page],[aria-current=true]){color:#e5c468}
 .sd-bottom-navigation a:is([aria-current=page],[aria-current=true]):after{content:"";width:70px;height:2px;background:#e9c66d;box-shadow:0 0 8px #e9c66d}
 .sd-bottom-navigation a:focus-visible{outline:3px solid #e9c66d;outline-offset:-3px;border-radius:8px}
 .sd-nav-art{display:block;width:52px;height:42px;flex:none;background-image:var(--sd-nav-art);background-repeat:no-repeat;background-size:326px 100px;clip-path:inset(0 0 6px 0)}
 .sd-nav-home{background-position:-28px -36px}.sd-nav-back{background-position:-130px -36px}.sd-nav-account{background-position:-234px -36px}
}
/* Move only the home action toward the centre; shirt rules remain untouched. */
.match-page-v1 .match-v2-deferred .match-player-home>.match-player-details{justify-self:stretch;text-align:right}
.match-page-v1 .match-v2-deferred .match-player-home>.match-player-details>summary{margin-left:auto;margin-right:0;text-align:right}
.match-page-v1 .match-v2-deferred .match-player-away>.match-player-details>summary{margin-left:0;margin-right:auto;text-align:left}
@media(max-width:600px){
 .sd-bottom-navigation a{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;width:auto}
 .sd-bottom-navigation a>span:last-child{white-space:nowrap}
}
/* Equal action rows across each mirrored pair, without changing shirt cells. */
.match-page-v1 .match-v2-deferred .match-player-mirror-row{align-items:stretch}
.match-page-v1 .match-v2-deferred .match-player-card{align-self:stretch;grid-template-rows:minmax(0,1fr) auto}
.match-page-v1 .match-v2-deferred .match-player-card>.match-player-details{grid-row:2;align-self:end}
@supports(grid-template-rows:subgrid){
 .match-page-v1 .match-v2-deferred .match-player-mirror-row{grid-template-rows:auto auto}
 .match-page-v1 .match-v2-deferred .match-player-card{grid-row:1 / span 2;grid-template-rows:subgrid}
 .match-page-v1 .match-v2-deferred .match-player-card>.match-player-details{align-self:start}
}
.match-page-v1 .match-v2-deferred .match-player-home{grid-column:1}
.match-page-v1 .match-v2-deferred .match-player-away{grid-column:3}
.match-page-v1 .match-v2-deferred .match-player-rank{grid-column:2;grid-row:1}

/* SHOOTDATA — five-view presentation layer, 28 October 2026.
   Role colours, chart geometry, hidden attributes and history scripts stay intact. */
.shots-page.shots-v3,.team-page.players-page{font-family:Arial,sans-serif;min-width:0}
.shots-page.shots-v3 :is(.shots-v2-team,.shots-v3-summary,.shots-section,.shots-v2-method){background:radial-gradient(ellipse at 50% 0,#163d4d44,transparent 80%),#00111b;border:1px solid #b79a53;border-radius:16px;box-shadow:inset 0 1px 2px #ffffff22}
.shots-page.shots-v3 .shots-v2-team{padding:24px;margin-bottom:24px}
.shots-page.shots-v3 .shots-v3-stat{background:#00111b;border-radius:16px;padding:22px;box-shadow:inset 0 1px 2px #ffffff12}
.shots-page.shots-v3 .shots-v3-stat.gold{border-color:#b79a53;border-top-color:#ffdc42}
.shots-page.shots-v3 .gold :is(.shots-v3-role,.shots-v3-mean){color:#ffdc42}
.shots-page.shots-v3 :is(.shots-v2-kicker,.eyebrow){color:#ffda35}
.shots-page.shots-v3 :is(.shots-v2-team-head h2,.shots-v3-summary h2){line-height:1.35}
.shots-page.shots-v3 :is(.shots-v2-chart-block,.shots-v2-threshold-block){border-top:1px solid #b79a5344;padding-top:20px;margin-top:22px}
.shots-page.shots-v3 .shots-v2-windows{display:flex;flex-wrap:wrap;gap:8px}
.shots-page.shots-v3 .shots-v2-windows a{border:1px solid #b79a53;border-radius:20px;background:#00111b;padding:10px 18px;color:#e3eaf0}
.shots-page.shots-v3 .shots-v2-windows a.active{background:linear-gradient(#fff186,#ffda35);color:#001019;border-color:#ffe26d;box-shadow:0 0 10px #ffd00033;font-weight:bold}
.shots-page.shots-v3 .shots-v2-threshold-row{border-color:#b79a5344}
.shots-page.shots-v3 :is(table th,table td){border-color:#b79a5338}
.shots-page.shots-v3 .shots-v2-method{padding:18px 22px}
.shots-page.shots-v3.goals-page-v3 .goals-reading{background:#163d4d33;border-left-color:#b79a53;border-radius:0 12px 12px 0}
.team-page.players-page :is(.players-detail,.team-hero-copy,.card){background:radial-gradient(ellipse at 50% 0,#163d4d44,transparent 80%),#001019;border:2px solid #ffd000;border-radius:19px;box-shadow:0 0 12px #ffd00022,inset 0 1px 2px #ffffff15}
.team-page.players-page .players-detail{padding:24px;min-width:0}
.team-page.players-page :is(.players-eyebrow,.team-hero-copy .eyebrow,.players-detail-stat strong,.players-detail-trends strong){color:#ffd34a}
.team-page.players-page .players-detail-stat{background:#001019;border:1px solid #b79a5355;border-radius:12px;min-width:0}
.team-page.players-page .players-detail-head h2{overflow-wrap:anywhere}
.team-page.players-page .team-controls{display:flex;flex-wrap:wrap;gap:8px}
.team-page.players-page .team-controls a{background:#001019;border:1px solid #ffd000;border-radius:22px;padding:10px 18px;color:#e3eaf0}
.team-page.players-page .team-controls a.active{background:linear-gradient(#fff186,#ffd000);color:#001019;font-weight:bold;box-shadow:0 0 10px #ffd00033}
.team-page.players-page .players-history-scroll{max-width:100%;overflow-x:auto;border:1px solid #b79a5355;border-radius:12px}
.team-page.players-page .players-history{margin:0;width:100%}
.team-page.players-page .players-history :is(th,td){border-color:#b79a5338;padding:12px 10px}
.team-page.players-page .players-history th{background:#08212c;color:#ffd34a}
.team-page.players-page [data-history-more]{border:1px solid #ffd000;border-radius:22px;background:#001019;color:#ffd34a;padding:12px 18px;margin-top:16px;max-width:100%;white-space:normal}
.shots-page.shots-v3 :is(a,summary,button):focus-visible,.team-page.players-page :is(a,summary,button):focus-visible{outline:2px solid #ffdc42;outline-offset:4px}
@media(max-width:768px){
 .shots-page.shots-v3 .shots-v2-team{padding:18px}
 .team-page.players-page .players-detail{padding:18px}
}
@media(max-width:600px){
 .shots-page.shots-v3 .shots-v2-team{padding:16px 12px}
 .shots-page.shots-v3 .shots-v3-stats{grid-template-columns:minmax(0,1fr)}
 .shots-page.shots-v3 .shots-v3-stat{padding:18px}
 .shots-page.shots-v3 .shots-v2-windows a{padding:10px 13px}
 .shots-page.shots-v3 .shots-v2-method{padding:16px 12px}
 .team-page.players-page .players-detail{padding:16px 12px}
 .team-page.players-page .players-detail-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .team-page.players-page .team-hero-copy{padding:16px}
 .team-page.players-page .team-controls a{padding:10px 12px}
}
@media(max-width:600px){
 .shots-page.shots-v3 .shots-v2-raw-grid{grid-template-columns:minmax(0,1fr)}
 .shots-page.shots-v3 .shots-v2-raw-grid>article+article{border-left:0;border-top:1px solid #b79a5344}
 .shots-page.shots-v3 .shots-v2-raw-grid article{padding:16px 4px}
 .shots-page.shots-v3 .shots-v2-raw-grid table{font-size:12px}
}

/* Player detail only: let header actions wrap within the available width. */
body:has(.team-page.players-page) .site-header .site-actions{
 min-width:0;flex-wrap:wrap;
}

/* Mobile header: keep all actions inside the viewport, including installation. */
@media (max-width:720px){
 .site-header{flex-wrap:wrap}
 .site-header .site-actions{flex:1 1 180px;min-width:0;max-width:100%;flex-wrap:wrap}
}
@media (max-width:430px){
 .site-header:has(#sd-header-install:not([hidden])) .site-actions{flex-basis:100%}
}
@media (max-width:600px){
 html body.sd-v12-home .site-header.sd-mobile-v12:has(#sd-header-install:not([hidden])){flex-wrap:wrap}
 html body.sd-v12-home .sd-mobile-v12:has(#sd-header-install:not([hidden])) .site-actions{flex:1 1 100%;flex-wrap:wrap;gap:8px}
 html body.sd-v12-home .sd-mobile-v12 #sd-header-install:not([hidden]){display:inline-flex!important}
}

/* Isolated mobile shell UX, 2026-11-01. No desktop overrides. */
.sd-install-invite[hidden]{display:none!important}
.sd-install-invite{display:none!important}
.sd-install-help{width:min(460px,calc(100% - 32px))!important;background:#091218!important;color:#edf3f5!important;border:1px solid #b79a53!important;border-radius:16px!important;padding:24px!important;line-height:1.6!important}
.sd-install-help::backdrop{background:#000b!important}
.sd-install-help button{min-height:44px!important;background:#e4bd55!important;color:#061018!important}
@media(max-width:900px){
 html:has(.sd-bottom-navigation){--sd-nav-height:calc(60px + env(safe-area-inset-bottom,0px))!important;scroll-padding-top:calc(62px + env(safe-area-inset-top,0px))!important}
 html body .site-header,html body.sd-v12-home .site-header.sd-mobile-v12{position:sticky!important;top:0!important;z-index:1001!important;display:flex!important;flex-wrap:nowrap!important;gap:8px!important;width:100%!important;height:calc(52px + env(safe-area-inset-top,0px))!important;padding:env(safe-area-inset-top,0px) max(8px,env(safe-area-inset-right,0px)) 0 max(8px,env(safe-area-inset-left,0px))!important;background:#030b10!important;box-sizing:border-box!important}
 html body .site-header .brand-logo{display:flex!important;align-items:center!important;flex:0 1 88px!important;min-width:60px!important;margin:0!important;min-height:44px!important}
 html body .site-header .brand-logo img{width:100%!important;max-width:88px!important;height:auto!important;max-height:40px!important;object-fit:contain!important}
 html body .site-header .site-actions{display:flex!important;flex:1 1 auto!important;flex-wrap:nowrap!important;justify-content:flex-end!important;gap:4px!important;min-width:0!important;margin:0!important}
 html body .site-header .sd-home-tagline{display:none!important}
 html body .site-header .global-search:not(.sd-header-icon){display:none!important}
 html body .site-header .account-link,html body .site-header .premium-pill{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important;min-width:44px!important;padding:0 6px!important;font-size:11px!important}
 html body .site-header .sd-header-icon svg{width:20px!important;height:20px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important}
 html body .site-header #sd-header-install{display:none!important}
 .sd-bottom-navigation{height:var(--sd-nav-height)!important;padding:0 max(8px,env(safe-area-inset-right,0px)) env(safe-area-inset-bottom,0px) max(8px,env(safe-area-inset-left,0px))!important;border-top:1px solid #b79a5355!important;background:#070b0df5!important;box-shadow:0 -4px 16px #0004!important}
 .sd-bottom-navigation a{min-height:0!important;height:59px!important;gap:3px!important;font-size:11px!important;line-height:14px!important;font-weight:600!important}
 .sd-bottom-navigation a+a:before,.sd-bottom-navigation a:is([aria-current=page],[aria-current=true]):after{display:none!important}
 .sd-bottom-navigation svg{width:22px!important;height:22px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
 .sd-install-invite{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;padding:4px max(12px,env(safe-area-inset-right,0px)) 4px max(12px,env(safe-area-inset-left,0px))!important;background:#151a17!important;border-bottom:1px solid #b79a5344!important}
 .sd-install-invite button{min-height:44px!important;cursor:pointer!important;background:transparent!important;color:#e5c468!important;padding:6px 8px!important;font-size:12px!important}
 .sd-install-invite .sd-install-dismiss{min-width:44px!important;color:#b9cbd4!important;font-size:22px!important;font-weight:400!important}
 .sd-install-invite button:focus-visible,.sd-install-help button:focus-visible{outline:2px solid #e5c468!important;outline-offset:2px!important}
}
@media(max-width:900px){
 html body .site-header{min-height:calc(52px + env(safe-area-inset-top,0px))!important}
 html body.sd-v12-home .sd-mobile-v12 #sd-header-install:not([hidden]){display:none!important}
}

/* Validated SHOOTDATA identity: compact shell, official unmodified SD asset. */
.site-header .brand-logo{display:flex;align-items:center;gap:8px;text-decoration:none;white-space:nowrap}
.site-header .brand-logo img{width:40px;height:40px;object-fit:contain}
.sd-brand-wordmark{font:800 20px/1 system-ui,sans-serif;letter-spacing:.4px;color:#fff}
.sd-brand-wordmark>span:last-child{color:#e5c468}
@media(max-width:900px){
 html body .site-header,html body.sd-v12-home .site-header.sd-mobile-v12{background:#080909!important;border-bottom:1px solid #b79a5344!important}
 html body .site-header .brand-logo{flex:0 0 auto!important;gap:5px!important;min-width:0!important}
 html body .site-header .brand-logo img{width:34px!important;height:34px!important;max-width:34px!important;max-height:34px!important}
 .sd-brand-wordmark{font-size:16px;letter-spacing:0}
 .sd-bottom-navigation{background:#080909fa!important}
 .sd-bottom-navigation svg.sd-identity-icon{width:32px!important;height:32px!important;stroke:#d9b864!important;stroke-width:1.7!important;filter:drop-shadow(0 1px 1px #000);opacity:.85}
 .sd-bottom-navigation a{gap:1px!important;color:#c5c4bf!important}
 .sd-bottom-navigation a:is([aria-current=page],[aria-current=true]){color:#f3d383!important;background:radial-gradient(ellipse at bottom,#d6af3420,transparent 72%)!important}
 .sd-bottom-navigation a:is([aria-current=page],[aria-current=true]) svg{opacity:1;filter:drop-shadow(0 0 3px #d5ad3540)}
 .sd-bottom-navigation a:is([aria-current=page],[aria-current=true]):after{display:block!important;position:absolute;bottom:2px;width:28px;height:2px;background:#e5c468;box-shadow:0 0 6px #e5c46888;content:""}
}
@media(max-width:350px){.sd-brand-wordmark{font-size:13px}html body .site-header .brand-logo img{width:28px!important;height:28px!important}html body .site-header .account-link,html body .site-header .premium-pill{padding:0 4px!important;font-size:10px!important}}
.site-header .sd-brand-wordmark,.site-header .sd-brand-wordmark>span{font-family:system-ui,sans-serif!important;font-size:20px!important;font-weight:800!important;line-height:1!important;letter-spacing:.1px!important;background:none!important;-webkit-text-fill-color:currentColor!important}
.site-header .sd-brand-wordmark>span:first-child{color:#fff!important}
.site-header .sd-brand-wordmark>span:last-child{color:#e5c468!important}
@media(max-width:900px){.site-header .sd-brand-wordmark,.site-header .sd-brand-wordmark>span{font-size:16px!important}}
@media(max-width:350px){.site-header .sd-brand-wordmark,.site-header .sd-brand-wordmark>span{font-size:13px!important}}

/* Telegram channel: native external link shared by web and installed PWA. */
.site-header .sd-telegram{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:44px;min-height:44px;box-sizing:border-box;color:#e5c468!important;background:#10110e;border:1px solid #b79a5355;border-radius:12px;text-decoration:none;padding:0 10px;flex-shrink:0}
.site-header .sd-telegram svg{width:20px;height:20px;fill:currentColor;flex-shrink:0}
.site-header .sd-telegram:hover{background:#272319;border-color:#e5c468}
.site-header .sd-telegram:focus-visible{outline:2px solid #f3d383;outline-offset:2px}
@media(max-width:900px){.site-header .sd-telegram-label{display:none}html body .site-header .sd-telegram{padding:0!important;width:44px!important}}

.site-header .sd-search-mobile{display:none}
/* Secondary-page mobile account actions: dedicated row, shared black/gold shell. */
.site-header .sd-account-actions{display:inline-flex;align-items:center;gap:8px}
@media(max-width:900px){
 html body .site-header.sd-secondary-header{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto auto;grid-template-rows:44px auto;gap:4px 6px!important;height:auto!important;padding-bottom:8px!important}
 html body .sd-secondary-header .brand-logo{grid-column:1;grid-row:1}
 html body .sd-secondary-header .site-actions{display:contents!important}
 html body .sd-secondary-header .sd-search-desktop{display:none!important}
 html body .sd-secondary-header .sd-search-mobile{display:inline-flex!important}
 html body .sd-secondary-header .sd-telegram{grid-column:2;grid-row:1}
 html body .sd-secondary-header .sd-header-icon{grid-column:3;grid-row:1}
 html body .sd-secondary-header .premium-pill{grid-column:4;grid-row:1;white-space:nowrap}
 html body .sd-secondary-header .sd-account-actions{grid-column:1/-1;grid-row:2;display:flex!important;gap:8px;min-width:0}
 html body .sd-secondary-header .sd-account-actions a,html body .sd-secondary-header a.sd-account-actions{flex:1;min-height:44px!important;border:1px solid #b79a53;border-radius:10px;background:#10110e;color:#f3d383;text-decoration:none;font-size:13px!important;font-weight:600;white-space:nowrap}
 html body .sd-secondary-header .sd-account-actions a:first-child{background:#e5c468!important;color:#080909!important}
 html body .sd-secondary-header a.sd-account-actions{justify-content:center!important}
 html:has(.sd-secondary-header){scroll-padding-top:116px!important}
 .sd-secondary-header .sd-account-actions a:focus-visible,.sd-secondary-header a.sd-account-actions:focus-visible{outline:2px solid #fff;outline-offset:2px}
}

/* Installed mobile PWA only. Keep classic browser and desktop presentation. */
.sd-account-profile{display:none}
@media(max-width:900px){
 html.sd-pwa-compact body .sd-secondary-header .sd-account-actions{grid-column:1/-1;justify-self:end;width:auto!important;gap:6px!important}
 html.sd-pwa-compact body .sd-secondary-header .sd-account-actions a,
 html.sd-pwa-compact body .sd-secondary-header a.sd-account-actions{flex:0 0 auto!important;width:auto!important;min-width:0!important;min-height:36px!important;height:36px!important;padding:0 12px!important;border:1px solid #b79a5366!important;border-radius:9px!important;background:#10110e!important;color:#f3d383!important;font-size:12px!important;line-height:18px!important;box-sizing:border-box}
 html.sd-pwa-compact body .sd-secondary-header a.sd-account-actions{grid-column:4;grid-row:1;width:36px!important;padding:7px!important}
 html.sd-pwa-compact body .sd-secondary-header a.sd-account-actions .sd-account-label{display:none}
 html.sd-pwa-compact .sd-account-profile{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7}
 html.sd-pwa-compact body .sd-secondary-header:has(a.sd-account-actions){grid-template-rows:44px!important;padding-bottom:4px!important}
 html.sd-pwa-compact body .sd-secondary-header:has(a.sd-account-actions) .premium-pill{grid-column:5!important}
 html.sd-pwa-compact:has(.sd-secondary-header){scroll-padding-top:104px!important}
 html.sd-pwa-compact:has(.sd-secondary-header a.sd-account-actions){scroll-padding-top:62px!important}
 html.sd-pwa-compact .sd-pwa-home-redundant{display:none!important}
}

@media(max-width:900px){html.sd-pwa-compact body .sd-secondary-header:has(a.sd-account-actions){grid-template-columns:minmax(0,1fr) auto auto auto auto!important;column-gap:4px!important}}
@media(max-width:350px){
 html.sd-pwa-compact body .sd-secondary-header:has(a.sd-account-actions) .sd-telegram,
 html.sd-pwa-compact body .sd-secondary-header:has(a.sd-account-actions) .sd-search-mobile{width:30px!important;min-width:30px!important;padding:0!important}
 html.sd-pwa-compact body .sd-secondary-header:has(a.sd-account-actions) .brand-logo{overflow:visible!important}
}
@media(max-width:900px){
 html.sd-pwa-compact body .site-header .brand-logo .sd-brand-wordmark{display:inline-flex!important;flex-direction:row!important}
 html.sd-pwa-compact body .site-header .brand-logo .sd-brand-wordmark>span{display:inline!important}
}
/* Consistent desktop destination order; mobile keeps its existing navigation. */
.sd-desktop-nav{display:none}
@media(min-width:901px){
.site-header .sd-desktop-nav{display:flex;gap:30px;align-items:center;margin:auto}
.site-header .sd-desktop-nav a{padding:12px 18px;border:1px solid #29424f;border-radius:6px;color:#94a8b5;text-decoration:none;font-size:14px;font-weight:800;white-space:nowrap}
.site-header .sd-desktop-nav a:hover{color:#f4f7f8;border-color:#496675}
.site-header .sd-desktop-nav a[aria-current="page"]{color:#f4f7f8;border-color:#e4bd55;box-shadow:inset 0 -2px #e4bd55}
.site-header .global-search,.site-header .sd-account-actions{display:none}
.site-header .site-actions{gap:12px}.site-header{flex-wrap:wrap;gap:16px}
.account-profile-header .sd-desktop-nav{display:flex;margin:0}
}
/* The profile header has its own responsive navigation on both private pages. */
.account-profile-header .sd-desktop-nav{display:flex}

/* Big Five stadium on the production homepage. */
.sd-home > .sd-upcoming-premium > .sd-featured-showcase {
    background-image:linear-gradient(135deg,rgba(214,180,95,.09),rgba(214,180,95,.035)),linear-gradient(180deg,rgba(6,16,24,.70) 0%,rgba(6,16,24,.78) 45%,#061018 100%),url("/ui/team-stadium/big-five-stadium.webp");
    background-position:center,center,center 32%;
}
@media(max-width:720px){
    .sd-home > .sd-upcoming-premium > .sd-featured-showcase {background-position:center,center,43% 30%}
}

/* Isolated ARENA presentation; production controls and scripts retained. */
.sd-home #matches { --arena-gold:#ffcf4e; --arena-glint:linear-gradient(90deg,transparent,#cb8a27 26%,#ffe7a0 50%,#cb8a27 74%,transparent); }
html body.sd-v12-home #matches .sd-timeline { gap: 6px; }
html body.sd-v12-home #matches .sd-timeline .sd-match { margin-left: 0; }
html body.sd-v12-home #matches .sd-timeline .sd-team { flex-direction: row; gap: 6px; }
html body.sd-v12-home #matches .sd-timeline .sd-team-home { text-align: right; }
html body.sd-v12-home #matches .sd-timeline .sd-team-away { text-align: left; }
html body.sd-v12-home #matches .sd-timeline .sd-team strong { overflow-wrap: anywhere; }
html body.sd-v12-home #matches .sd-timeline .sd-team img { flex: none; }

@media (max-width: 850px) {
    html body.sd-v12-home #matches .sd-timeline .sd-match { padding: 8px 10px !important; }
    html body.sd-v12-home #matches .sd-timeline-teams { gap: 5px; }
    html body.sd-v12-home #matches .sd-timeline .sd-team img { width: 30px; height: 34px; }
}

/* Arena lighting shared by the two home sections. */
.sd-home {
    --arena-stadium: url("/ui/team-stadium/stadium-night.webp");
    --arena-ball: url("/ui/team-stadium/arena-ball.webp");
    --arena-gold: #ffcf4e;
    --arena-edge: #b98a36;
    --arena-glint: linear-gradient(90deg, transparent, #cb8a27 26%, #ffe7a0 50%, #cb8a27 74%, transparent);
    --arena-lights:
        radial-gradient(circle at 7% 14%, #45b6ff84, #0666b460 12%, transparent 35%),
        radial-gradient(circle at 95% 9%, #ffb53399, #bd6d1866 12%, transparent 38%);
}

.sd-home > .sd-featured-showcase,
.sd-home #matches .sd-calendar-banner {
    position: relative;
    isolation: isolate;
    border: 1px solid #a3783a88;
    border-radius: 18px;
    background:
        var(--arena-lights),
        linear-gradient(180deg, #05111b09, #06121b66 55%, #06121b 100%),
        var(--arena-backdrop, var(--arena-stadium)) var(--arena-backdrop-position, center) / cover no-repeat #06121b;
}

.sd-home > .sd-featured-showcase {
    --arena-backdrop: url("/ui/team-stadium/big-five-stadium.webp");
    --arena-backdrop-position: center 32%;
    padding-top: 10px;
    background-blend-mode: screen, screen, normal, normal;
    box-shadow: inset 0 1px #ffe1a675, inset 0 -24px 30px -14px #06121b;
}

.sd-home > .sd-featured-showcase::before,
.sd-home #matches .sd-calendar-banner::before {
    content: "";
    position: absolute;
    z-index: -1;
    right: 1%;
    top: 35px;
    width: clamp(100px, 23vw, 320px);
    aspect-ratio: 1;
    background: var(--arena-ball) center / contain no-repeat;
    filter: drop-shadow(0 0 15px #ffb63983);
    pointer-events: none;
}

.sd-home .sd-featured-heading {
    display: grid;
    gap: 0;
    justify-content: center;
    text-align: center;
    padding: 17px 0 20px;
    margin-bottom: 7px;
}

.sd-home .sd-featured-heading h1 {
    color: #fff;
    font-size: clamp(39px, 6vw, 76px);
    font-style: italic;
    font-weight: 900;
    text-shadow: 0 3px 14px #000;
}

.sd-home .sd-featured-heading em { color: var(--arena-gold); }

.sd-home .sd-featured-heading h1 span {
    display: block;
    margin-top: 8px;
    font-size: clamp(16px, 2.4vw, 27px);
    font-style: normal;
    font-weight: 750;
    letter-spacing: -.02em;
}

.sd-home .sd-featured-heading::after {
    content: "";
    width: 46%;
    height: 2px;
    justify-self: center;
    margin-top: 14px;
    background: var(--arena-glint);
    box-shadow: 0 0 10px #ffb837aa;
}

.sd-home .sd-upcoming-premium .sd-featured-card {
    border-color: #c6a45c66;
    border-radius: 16px;
    background:
        linear-gradient(180deg, #030d14a6 0%, #030d14a6 30%, #030d14e6 52%, #030d14 72%),
        var(--featured-fabric, none) center top / auto 78% no-repeat #030d14;
    box-shadow: inset 0 1px 0 #e1c07812, 0 6px 18px #00000026;
}

.sd-home .sd-featured-card::before { background: var(--arena-glint); }

.sd-home .sd-upcoming-premium .sd-featured-shirt-slot {
    filter: drop-shadow(0 3px 6px #000);
}

.sd-home .sd-upcoming-premium .sd-featured-team:last-child .sd-featured-shirt-slot {
    filter: drop-shadow(0 3px 6px #000);
}

.sd-home .sd-featured-vs {
    color: #ffda56;
    font-weight: 950;
    text-shadow: 0 0 7px #e9980f, 0 0 21px #e9980fc0;
}

.sd-home .sd-featured-stats {
    border-color: var(--arena-edge);
    background: linear-gradient(155deg, #152535, #080e12 66%, #161b20);
    box-shadow: 0 -1px 8px #ffb52e38;
}

.sd-home .sd-featured-comparison strong > span::after { height: 7px; }
.sd-home .sd-featured-stat-home { --gauge-color: #56bcff; }
.sd-home .sd-featured-stat-away { --gauge-color: #ff7382; }
.sd-home .sd-upcoming-premium .sd-featured-action {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 8px;
    border: 1px solid #c7a45c;
    border-radius: 8px;
    background: linear-gradient(#e7cb84, #d8b35c 60%, #c9a14d);
    color: #10100c;
    font-weight: 900;
    line-height: 1.3;
    text-shadow: none;
    box-shadow: inset 0 1px 0 #fff4d226, 0 2px 5px #00000024;
}
.sd-home .sd-upcoming-premium .sd-featured-action:hover {
    background: linear-gradient(#efd696, #e2bf6c 60%, #d3ad58);
    color: #10100c;
}
.sd-home .sd-upcoming-premium .sd-featured-action:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
    color: #10100c;
}

.sd-home .sd-featured-carousel-dot.active {
    background: var(--arena-gold);
    box-shadow: 0 0 8px #ffbf42a0;
}

/* Calendar header, controls and timeline. Existing fixture markup sets team order. */
.sd-home #matches .sd-calendar-banner {
    min-height: clamp(112px, 15vw, 170px);
    box-sizing: border-box;
    align-items: center;
    flex-wrap: nowrap;
    overflow: hidden;
    margin: 0 0 10px;
    padding: 16px clamp(10px, 4vw, 56px);
    background-position: center, center, center 32%;
    background-blend-mode: screen, screen, normal, normal;
}

.sd-home #matches .sd-calendar-banner::before {
    top: 35%;
    right: 9%;
    width: clamp(98px, 22vw, 270px);
}

.sd-home #matches .sd-calendar-banner .eyebrow { color: var(--arena-gold); }

.sd-home #matches .sd-calendar-banner h2 {
    color: #fff;
    font-size: clamp(22px, 4.1vw, 47px);
    line-height: 1.05;
    text-shadow: 0 2px 10px #000;
}

.sd-home #matches .sd-calendar-banner > span {
    flex: none;
    padding: 7px 10px;
    border: 1px solid #e2af56;
    border-radius: 999px;
    color: #fff;
    background: #080e13ed;
    font-weight: 700;
}

.sd-home #matches .sd-calendar-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 9px;
    margin: 0 0 8px;
}

.sd-home #matches .sd-calendar-controls .sd-date-strip {
    grid-column: 1 / -1;
    grid-row: 1;
    grid-template-columns: 30px minmax(0, 1fr) 30px;
    grid-template-rows: 56px !important;
    width: 100%;
    max-width: none;
    min-height: 0 !important;
    border: 1px solid #b68c50;
    border-radius: 14px;
    background: linear-gradient(#142638, #090e14 62%);
    box-shadow: inset 0 -1px 7px #d38b273d;
}

.sd-home #matches .sd-date-strip > .sd-date-track { gap: 4px; }

.sd-home #matches .sd-date-strip > .sd-date-track > .sd-date-day {
    border: 1px solid #4a5460 !important;
    border-radius: 9px !important;
    background: linear-gradient(#19232b, #0c141a) !important;
    color: #f4f7fa;
}

.sd-home #matches .sd-date-strip > .sd-date-track > .sd-date-day.active {
    border-color: #ffe297 !important;
    background: linear-gradient(#ffe484, #ffca3e 65%, #f0a70f) !important;
    box-shadow: 0 0 10px #ffc74577 !important;
}

.sd-home #matches .sd-date-day strong { font-weight: 750; }
.sd-home #matches .sd-date-day span { color: #b4c2d2; }
.sd-home #matches .sd-date-day.active :is(strong, span) { color: #181002; }
.sd-home #matches .sd-date-day.active::after { background: var(--arena-glint); }
.sd-home #matches .sd-date-arrow { color: var(--arena-gold); }

.sd-home #matches .sd-calendar-controls > .sd-date-picker,
.sd-home #matches .sd-calendar-controls .sd-leagues summary {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    border: 1px solid #b68c50;
    border-radius: 10px;
    padding: 7px 12px;
    color: #f7e5bc;
    background: linear-gradient(#101d2a, #090e14);
    box-shadow: inset 0 -1px 6px #d38b273d;
}

.sd-home #matches .sd-calendar-controls > .sd-date-picker {
    grid-column: 1;
    grid-row: 2;
}
.sd-home #matches .sd-calendar-controls > .sd-competition-filter {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
}
.sd-home #matches .sd-date-picker input { color: #fff; }

.sd-home #matches .sd-all-matches-heading { margin: 14px 0 0; }
.sd-home #matches .sd-all-matches-heading .eyebrow { margin: 0; }
.sd-home #matches .sd-all-matches-heading h2 { margin: 4px 0; font-size: 18px; }
.sd-home #matches .sd-leagues summary { font-weight: 700; }

html body.sd-v12-home #matches .sd-timeline {
    --arena-rail-inset: 5px;
    --arena-card-inset: 19px;
    --arena-card-padding: 16px;
    position: relative;
    gap: 12px;
    padding-left: var(--arena-card-inset);
}

html body.sd-v12-home #matches .sd-timeline::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 calc(var(--arena-rail-inset) - 1px);
    width: 2px;
    background: linear-gradient(transparent, #ffe59e 6%, #e8ab37 94%, transparent);
    box-shadow: 0 0 9px #ffad268c;
    pointer-events: none;
}

html body.sd-v12-home #matches .sd-timeline .sd-match,
html body.sd-v12-home #matches .sd-timeline .sd-match + .sd-match {
    isolation: isolate;
    container-type: inline-size;
    overflow: visible;
    border-color: #b58a45;
    border-radius: 14px;
    background:
        radial-gradient(ellipse, #ffe8a8 0, #ffc04580 20%, transparent 68%) 61% top / 46% 4px no-repeat,
        var(--arena-glint) center bottom / 84% 2px no-repeat,
        radial-gradient(ellipse at 78% 0, #153252 0, transparent 65%),
        linear-gradient(155deg, #101a29, #06080d 60%);
    box-shadow: inset 0 0 14px #ffcb7520, 0 3px 12px #0009, 0 0 10px #e6a12b21;
}

html body.sd-v12-home #matches .sd-timeline .sd-match {
    grid-template-columns: max-content minmax(0, 1fr) minmax(0, 3.8fr) minmax(110px, 1fr);
    padding: 12px var(--arena-card-padding);
}

#matches .sd-timeline :is(.sd-arena-flag, .sd-arena-pattern) {
    position: absolute;
    inset: 0 auto 0 0;
    z-index: -1;
    width: 33%;
    overflow: hidden;
    border-radius: 13px 0 0 13px;
    pointer-events: none;
    opacity: .38;
    mask-image: linear-gradient(to right, #000 5%, #000a 35%, transparent 98%);
}

#matches .sd-timeline .sd-arena-flag {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    mask-image: linear-gradient(to right, #000 5%, #000a 35px, transparent min(100%, 220px));
    font: clamp(108px, 34cqw, 220px)/1 "Apple Color Emoji", "Noto Color Emoji", "Segoe UI Emoji", sans-serif;
}

#matches .sd-timeline .sd-arena-pattern {
    background:
        repeating-linear-gradient(128deg, transparent 0 17px, #e7b95570 18px 19px, transparent 20px 27px),
        radial-gradient(ellipse at left, #a8752c, #102b48 76%);
}

html body.sd-v12-home #matches .sd-timeline .sd-timeline-league {
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-start;
    color: #ffe4a9;
    font-size: 13px;
    line-height: 1.25;
    text-shadow: 0 1px 4px #000;
}

html body.sd-v12-home #matches .sd-timeline-teams {
    grid-column: 3;
}

html body.sd-v12-home #matches .sd-timeline-time strong {
    --arena-connector: calc(var(--arena-card-inset) - var(--arena-rail-inset) + var(--arena-card-padding) + 2px);
    position: relative;
    display: inline-block;
    padding: 4px 8px;
    border: 1px solid #e8b84d;
    border-radius: 999px;
    color: #ffe193;
    background: linear-gradient(#121b28, #0b0c10);
    box-shadow: inset 0 0 7px #ffba3a30, 0 0 8px #ffba3a35;
    white-space: nowrap;
}

html body.sd-v12-home #matches .sd-timeline-time strong::before,
html body.sd-v12-home #matches .sd-timeline-time strong::after {
    content: "";
    position: absolute;
    top: 50%;
    left: calc(-1 * var(--arena-connector));
    pointer-events: none;
}

html body.sd-v12-home #matches .sd-timeline-time strong::before {
    width: var(--arena-connector);
    height: 1px;
    background: #ffd367;
    box-shadow: 0 0 5px #ffba3a;
}

html body.sd-v12-home #matches .sd-timeline-time strong::after {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: #fff0ba;
    box-shadow: 0 0 8px 2px #ffb52ad0;
}

html body.sd-v12-home #matches .sd-timeline-versus {
    color: #ffda77;
    text-shadow: 0 0 8px #ffba3a80;
}

html body.sd-v12-home #matches .sd-timeline .sd-team {
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
    gap: 3px;
}

html body.sd-v12-home #matches .sd-timeline .sd-team-home,
html body.sd-v12-home #matches .sd-timeline .sd-team-away {
    width: min(100%, 145px);
}

html body.sd-v12-home #matches .sd-timeline .sd-team-home { justify-self: end; }
html body.sd-v12-home #matches .sd-timeline .sd-team-away { justify-self: start; }

html body.sd-v12-home #matches .sd-timeline .sd-team :is(img, svg) {
    order: -1;
    width: 68px;
    height: 68px;
    max-width: 100%;
    flex: none;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px #0009);
}

html body.sd-v12-home #matches .sd-timeline .access-badge.premium {
    color: #201600;
    background: #f9c449;
    border-color: #f9c449;
}

.sd-home #matches .sd-match-load-more {
    border-color: #e7b53d;
    background: linear-gradient(#172431, #0b1319);
    color: var(--arena-gold);
    box-shadow: inset 0 -1px 8px #e7a83245;
}

@media (max-width: 850px) {
    html body.sd-v12-home #matches .sd-timeline {
        --arena-card-padding: 11px;
    }
    html body.sd-v12-home #matches .sd-timeline .sd-match {
        grid-template-columns: max-content minmax(0, 1fr);
        gap: 8px 10px;
        padding: 10px var(--arena-card-padding) 4px !important;
    }
    html body.sd-v12-home #matches .sd-timeline-teams {
        grid-column: 1 / -1;
        grid-row: 2;
    }
    html body.sd-v12-home #matches .sd-timeline-access {
        grid-column: 1 / -1;
        grid-row: 3;
    }
    html body.sd-v12-home #matches .sd-timeline .sd-team :is(img, svg) {
        width: 53px;
        height: 53px;
    }
}

#matches .sd-timeline .sd-arena-fabric {
    position: absolute;
    inset: 0 auto 0 0;
    z-index: -1;
    width: min(54%, 310px);
    border-radius: 13px 0 0 13px;
    pointer-events: none;
    opacity: .59;
    background: var(--arena-fabric) left center / 100% 100% no-repeat;
    mask-image: linear-gradient(to right, #000 13%, #000b 49%, #0006 72%, transparent);
}

#matches .sd-timeline .sd-arena-serie-a {
    --arena-fabric: url('/ui/arena-flags/serie-a.webp');
}

#matches .sd-timeline .sd-arena-ligue-1 {
    --arena-fabric: url('/ui/arena-flags/ligue-1.webp');
}

#matches .sd-timeline .sd-arena-premier-league {
    --arena-fabric: url('/ui/arena-flags/premier-league.webp');
}

#matches .sd-timeline .sd-arena-la-liga {
    --arena-fabric: url('/ui/arena-flags/la-liga.webp');
}

#matches .sd-timeline .sd-arena-bundesliga {
    --arena-fabric: url('/ui/arena-flags/bundesliga.webp');
}

/* Validated European Arena artwork; preserve the complete composition at every width. */
.sd-home #matches .sd-european-arena {
    overflow: hidden;
    margin: 0 0 10px;
    border: 1px solid #b98a39;
    border-radius: 14px;
    background: #030d14;
}
.sd-home #matches .sd-european-arena-art {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 30 / 7;
    object-fit: contain;
}
.sd-home #matches .sd-european-arena .sd-calendar-banner {
    min-height: 0;
    margin: 0;
    padding: 12px 18px;
    border: 0;
    border-radius: 0;
    background: #07131e;
    box-shadow: none;
    gap: 10px;
}
.sd-home #matches .sd-european-arena .sd-calendar-banner::before,
.sd-home #matches .sd-european-arena .sd-calendar-banner::after { display: none; }
.sd-home #matches .sd-european-arena .sd-calendar-banner h2 {
    font-size: clamp(18px, 2vw, 26px);
    margin: 0;
}
@media (max-width: 600px) {
    .sd-home #matches .sd-european-arena .sd-calendar-banner { padding: 10px; }
    .sd-home #matches .sd-european-arena .eyebrow { font-size: 9px; }
    .sd-home #matches .sd-european-arena .sd-calendar-banner > span { padding: 5px 7px; }
}

/* Full-width artwork; crop only peripheral scenery, never stretch the logo. */
.sd-home #matches .sd-european-arena { container-type: inline-size; }
html body.sd-v12-home #matches .sd-timeline .sd-match::before { display:none; }
.sd-home #matches .sd-european-arena-art {
    height: calc(70cqw / 3 + 19.8px);
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center 15%;
}
.sd-home #matches .sd-european-arena .sd-calendar-banner {
    box-sizing: border-box;
    height: 44px;
    padding: 4px 12px;
}
.sd-home #matches .sd-european-arena .sd-calendar-banner .eyebrow { margin: 0; }
.sd-home #matches .sd-european-arena .sd-calendar-banner h2 { font-size: 22px; }
.sd-home #matches .sd-calendar-controls > .sd-competition-filter {
    margin: 0;
    min-width: 0;
}
@media(min-width: 1000px) {
    .sd-home #matches .sd-calendar-controls {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 10px;
    }
    .sd-home #matches .sd-calendar-controls > .sd-date-strip {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
    }
    .sd-home #matches .sd-calendar-controls > .sd-date-picker,
    .sd-home #matches .sd-calendar-controls > .sd-competition-filter {
        flex: 0 0 auto;
        width: auto;
    }
}
@media(max-width:600px) {
    .sd-home #matches .sd-european-arena-art { height: calc(70cqw / 3 + 5.8px); }
    .sd-home #matches .sd-european-arena .sd-calendar-banner { height: 44px; padding: 4px 8px; }
    .sd-home #matches .sd-european-arena .sd-calendar-banner h2 { font-size: 16px; }
}

@media(max-width:999px) {
    .sd-home #matches .sd-calendar-controls > .sd-competition-filter { grid-column: 1 / -1; }
    .sd-home #matches .sd-calendar-controls .sd-competition-filter .sd-leagues,
    .sd-home #matches .sd-calendar-controls .sd-competition-filter summary { width: 100%; box-sizing: border-box; }
}

/* Mobile only: remove the secondary date row and its grid track. */
@media (max-width: 720px) {
    .sd-home #matches .sd-calendar-controls .sd-date-strip > .sd-date-picker { display: none !important; }
    .sd-home #matches .sd-calendar-controls .sd-date-strip { grid-template-rows: 56px !important; }
}

.site-header .sd-match-account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  box-sizing: border-box;
}
.site-header .sd-match-account svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.site-header .sd-match-account:focus-visible {
  outline: 2px solid #ddbf78;
  outline-offset: 2px;
}
@media (max-width: 900px) {
  html body .site-header.sd-secondary-header:has(.sd-match-account) {
    grid-template-columns: minmax(0, 1fr) auto auto auto auto;
    grid-template-rows: 44px;
    column-gap: 4px !important;
  }
  html body .sd-secondary-header .sd-match-account { grid-column: 4; grid-row: 1; }
  html body .sd-secondary-header:has(.sd-match-account) .premium-pill { grid-column: 5; }
}

/* Sports navigation in the shared header and smartphone toolbar. */
:is(.site-header,.account-profile-header) .sd-sport-switch {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 2px;
  padding: 2px;
  border: 1px solid #8f7439;
  border-radius: 10px;
  background: #080808;
}
:is(.site-header,.account-profile-header) .sd-sport-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 36px;
  padding: 0 8px;
  border-radius: 7px;
  color: #f3d383;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}
:is(.site-header,.account-profile-header) .sd-sport-switch a[aria-current=true] {
  background: linear-gradient(#fff0bb, #d9ae52 52%, #f0cd77);
  color: #100c06;
}
:is(.site-header,.account-profile-header) .sd-sport-switch span {
  padding: 1px 3px;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-size: 9px;
  line-height: 1.2;
}
:is(.site-header,.account-profile-header) .sd-sport-switch a:focus-visible {
  outline: 2px solid #fff0bb;
  outline-offset: 2px;
}
@media (max-width: 900px) {
  html body .site-header.sd-secondary-header:has(.sd-match-account) {
    display: flex !important;
    height: auto !important;
    min-height: calc(52px + env(safe-area-inset-top, 0px));
  }
  html body .site-header.sd-secondary-header .site-actions {
    display: flex !important;
  }
}
@media (min-width: 601px) and (max-width: 900px) {
  html body .site-header .site-actions .sd-search-desktop {
    display: none !important;
  }
}
@media (max-width: 600px) {
  html body .site-header .site-actions .sd-search-desktop { display: none !important; }
  .sd-bottom-navigation a[aria-current=true] svg { color: #f3d383; }
}
@media (max-width: 350px) {
  html body .site-header .brand-logo { gap: 3px !important; }
  .site-header .sd-brand-wordmark, .site-header .sd-brand-wordmark > span {
    font-size: 12px !important;
  }
}

.account-profile-header .sd-match-account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  color: #f3d383;
}
.account-profile-header .sd-match-account svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.account-profile-header .sd-match-account:focus-visible {
  outline: 2px solid #f3d383;
  outline-offset: 2px;
}

.account-profile-header:has(.sd-account-header-actions) {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-top: env(safe-area-inset-top, 0px);
}
.sd-account-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
@media (max-width: 600px) {
  .account-profile-header:has(.sd-account-header-actions) {
    padding-inline: max(8px, env(safe-area-inset-left, 0px)) max(8px, env(safe-area-inset-right, 0px));
  }
  .account-profile-header .account-profile-nav { order: 1; }
}
