/* stadetunisien.tn — feuille de style publique */
:root{--green:#0E5A32;--red:#C8102E;--ink:#15171A;--muted:#5B615B;--line:#E2E5E2;--bg:#F4F5F2;--card:#fff;--dark:#101511;--dark2:#1C241D;--radius:12px}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,system-ui,sans-serif;color:var(--ink);background:var(--bg);line-height:1.5;-webkit-font-smoothing:antialiased}
[dir=rtl] body{font-family:Cairo,Inter,system-ui,sans-serif}
img{max-width:100%;display:block}
a{color:var(--green);text-decoration:none}
a:hover{color:var(--red)}
h1,h2,h3{line-height:1.15;margin:0 0 .4em}
h1,h2,.h-sec{font-family:Oswald,Cairo,sans-serif;font-weight:600}
h1{font-size:clamp(28px,4vw,42px)}
.container{max-width:1280px;margin:0 auto;padding:0 24px}
.narrow{max-width:900px}
.section{padding-top:40px;padding-bottom:16px}
.section-gap{margin-top:40px}
.sr-only,.hp{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;border:0!important;margin:-1px!important;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip-link{position:absolute;top:-60px;inset-inline-start:8px;background:#fff;padding:8px 12px;z-index:100}
.skip-link:focus{top:8px}
:focus-visible{outline:3px solid var(--red);outline-offset:2px}
.muted{color:var(--muted)}
.muted-light{color:#B9C0B9}
.text-green{color:var(--green);font-weight:600}
.text-red{color:var(--red);font-weight:600}
.center{text-align:center}
.empty{padding:40px 0;color:var(--muted);text-align:center}

/* Boutons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 18px;border-radius:8px;border:0;font:700 14px Inter,Cairo,sans-serif;cursor:pointer;text-align:center;transition:filter .15s,transform .15s}
.btn:hover{filter:brightness(1.08)}
.btn:active{transform:translateY(1px)}
.btn-red{background:var(--red);color:#fff}.btn-red:hover{color:#fff}
.btn-green{background:var(--green);color:#fff}.btn-green:hover{color:#fff}
.btn-outline{background:#fff;color:var(--ink);border:1px solid var(--line)}
.btn-disabled{background:#E2E5E2;color:var(--muted);cursor:not-allowed}
.btn-block{width:100%}
.btn-lg{min-height:52px;padding:14px 26px;font-size:16px}
.link-btn{background:none;border:0;color:var(--red);cursor:pointer;font:600 13px Inter,sans-serif;padding:8px}
.link-light{color:#fff;font-weight:700}.link-light:hover{color:#fff;text-decoration:underline}
.icon-btn{position:relative;width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;border:1px solid rgba(255,255,255,.45);color:#fff}
.icon-btn:hover{color:#fff;background:rgba(255,255,255,.1)}
.badge{position:absolute;top:-4px;inset-inline-end:-4px;background:var(--red);color:#fff;font-size:11px;font-weight:700;min-width:20px;height:20px;border-radius:10px;display:flex;align-items:center;justify-content:center;padding:0 5px}

/* Header */
.site-header{background:var(--green);color:#fff;position:sticky;top:0;z-index:50;box-shadow:0 2px 12px rgba(0,0,0,.15)}
.header-inner{display:flex;align-items:center;gap:24px;padding-top:12px;padding-bottom:12px}
.brand{display:flex;align-items:center;gap:12px;color:#fff;flex-shrink:0}
.brand:hover{color:#fff}
.brand img{width:56px;height:56px;object-fit:contain;border-radius:50%;background:#fff}
.brand-text{display:flex;flex-direction:column;line-height:1.1}
.brand-text strong{font-family:Oswald,Cairo,sans-serif;font-size:22px;letter-spacing:.03em}
.brand-text small{font-size:12px;opacity:.85}
.main-nav{display:flex;gap:18px;flex:1;flex-wrap:nowrap;white-space:nowrap;font-weight:600;font-size:15px}
.main-nav a{color:#fff;padding:6px 0;border-bottom:3px solid transparent;display:inline-flex;align-items:center;gap:6px}
.main-nav a:hover{border-bottom-color:rgba(255,255,255,.5);color:#fff}
.main-nav a.active{border-bottom-color:var(--red)}
.dot{width:8px;height:8px;border-radius:50%;background:#9AA09A;display:inline-block}
.dot.on{background:#FF4D4D;animation:pulse 1.4s infinite}
@keyframes pulse{50%{opacity:.35}}
.header-actions{display:flex;align-items:center;gap:10px}
.lang-switch{color:#fff;border:1px solid rgba(255,255,255,.45);border-radius:8px;padding:10px 12px;font-weight:600;font-size:13px;min-height:44px;display:inline-flex;align-items:center}
.lang-switch:hover{color:#fff;background:rgba(255,255,255,.1)}
.header-stripe{height:5px;background:var(--red)}
.nav-lang{display:none!important}
.nav-toggle{display:none;background:none;border:1px solid rgba(255,255,255,.45);color:#fff;width:44px;height:44px;border-radius:8px;cursor:pointer;align-items:center;justify-content:center}

/* Alertes */
.alert{padding:12px 16px;border-radius:8px;margin:16px 0 0;font-weight:500}
.alert-success{background:#E3F2E8;color:#0B4A28}
.alert-error{background:#FCE8EA;color:#8E0D20}
.alert-info{background:#E8EEF7;color:#1D3D6B}

/* Publicités */
.ad{display:flex;flex-direction:column;align-items:center;gap:6px;margin:24px auto}
.ad-label{font-size:11px;letter-spacing:.12em;color:var(--muted);text-transform:uppercase}
.ad img{border-radius:6px;height:auto}
.ad-banner img{max-width:970px;width:100%}
.ad-inline{margin:28px auto}.ad-inline img{max-width:728px;width:100%}
.ad-box img{width:300px;max-width:100%}
.ad-box.dark .ad-label{color:#B9C0B9}
.only-mobile{display:none!important}
@media (max-width:768px){.only-mobile{display:flex!important}.only-desktop{display:none!important}}

/* Hero */
.hero{display:grid;grid-template-columns:2fr 1fr;gap:24px;padding-top:28px}
.hero-feature{position:relative;min-height:480px;border-radius:16px;overflow:hidden;background:#0B3D22;display:flex;align-items:flex-end}
.hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(0deg,rgba(5,20,12,.92) 0%,rgba(5,20,12,.45) 45%,rgba(5,20,12,0) 75%)}
.hero-empty{background:var(--green)}
.hero-content{position:relative;padding:36px;color:#fff;display:flex;flex-direction:column;gap:14px;max-width:760px}
.hero-content h1{font-size:clamp(30px,4.2vw,50px);margin:0}
.hero-content h1 a{color:#fff}
.hero-content p{margin:0;font-size:17px;opacity:.92}
.tag{display:inline-block;align-self:flex-start;padding:5px 10px;border-radius:4px;font-size:12px;font-weight:700;letter-spacing:.06em;background:#E9EAE6;color:var(--ink)}
.tag-red,.tag-live{background:var(--red);color:#fff}
.tag-finished{background:var(--green);color:#fff}
.tag-postponed{background:#FFF1D6;color:#7A4B00}
.tag-o-paid,.tag-o-delivered{background:#E3F2E8;color:#0B4A28}
.tag-o-cancelled{background:#FCE8EA;color:#8E0D20}
.tag-o-pending{background:#FFF1D6;color:#7A4B00}

.card{background:var(--card);border-radius:var(--radius);box-shadow:0 1px 2px rgba(0,0,0,.04),0 4px 16px rgba(0,0,0,.04)}
.pad{padding:24px}
.next-match{padding:24px;display:flex;flex-direction:column;gap:16px;border-top:6px solid var(--red)}
.eyebrow{font-size:12px;font-weight:700;letter-spacing:.1em;color:var(--muted)}
.eyebrow.red{color:var(--red)}
.eyebrow.light{color:rgba(255,255,255,.85)}
.nm-teams{display:flex;align-items:center;justify-content:space-between;gap:10px}
.nm-team{display:flex;flex-direction:column;align-items:center;gap:8px;flex:1;text-align:center;font-size:15px}
.nm-vs{font-family:Oswald,sans-serif;font-size:28px;color:var(--muted)}
.nm-info{background:var(--bg);border-radius:10px;padding:14px;font-size:14px;display:flex;flex-direction:column;gap:2px;text-align:center;color:#3B403B}
.nm-info strong{color:var(--ink)}
.badge-team{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#fff;border:1px solid var(--line);overflow:hidden;flex-shrink:0;font-family:Oswald,sans-serif;font-weight:700;color:var(--green)}
.badge-team img{width:80%;height:80%;object-fit:contain}
.badge-sm{width:34px;height:34px;font-size:12px}
.badge-md{width:48px;height:48px}
.badge-lg{width:76px;height:76px;font-size:20px}
.badge-xl{width:110px;height:110px;font-size:28px}
.countdown{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;text-align:center}
.countdown div{background:var(--green);color:#fff;border-radius:8px;padding:10px 0}
.countdown b{display:block;font-family:Oswald,sans-serif;font-size:26px;font-weight:600}
.countdown small{font-size:11px}
.live-pill{display:inline-flex;align-items:center;gap:8px;align-self:flex-start;background:#E01E2D;color:#fff;padding:6px 12px;border-radius:4px;font-weight:700;font-size:13px;letter-spacing:.08em}
.live-pill .dot{background:#fff}
.center-link{text-align:center;font-weight:600;font-size:14px}

/* Sections */
.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:20px}
.section-head h1,.section-head h2{margin:0;color:var(--green)}
.section-head h2{font-size:32px}
.section-head a:not(.btn){font-weight:600;font-size:14px}
.h-sec{font-size:26px;color:var(--green);margin:0 0 14px}
.h-small{font-size:17px;margin:0 0 12px;font-family:Inter,Cairo,sans-serif;font-weight:700}
.grid{display:grid;gap:20px}
.grid-2{grid-template-columns:repeat(2,1fr)}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-4{grid-template-columns:repeat(4,1fr)}
.grid>*{min-width:0}
.band-white{background:#fff;padding:44px 0;margin-top:40px}
.band-green{background:var(--green);color:#fff;padding:44px 0;margin-top:48px}
.band-dark{background:var(--dark);color:#fff;padding:36px 0 48px}

/* Cartes article / produit */
.card-media{display:block;aspect-ratio:16/10;overflow:hidden;background:#DCE5DE;border-radius:var(--radius) var(--radius) 0 0}
.card-media img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.card:hover .card-media img{transform:scale(1.04)}
.ph{width:100%;height:100%;min-height:160px;background:repeating-linear-gradient(135deg,#DCE5DE 0 12px,#E5ECE7 12px 24px)}
.ph.tall{min-height:420px}
.card-body{padding:18px;display:flex;flex-direction:column;gap:8px}
.card-body h3{font-size:18px;margin:0}
.card-body h3 a{color:var(--ink)}
.card-body h3 a:hover{color:var(--red)}
.meta{font-size:13px;color:var(--muted)}
.sponsored{outline:1px dashed #C9CFC9}
.price{color:var(--red);font-weight:700}
.price s{color:var(--muted);font-weight:400;font-size:.85em}
.price.big{font-size:26px}
.product-card .card-media{aspect-ratio:1/1;background:#EFF1EE}

/* Résultats */
.result-card{padding:18px 20px;display:flex;flex-direction:column;gap:12px;color:var(--ink);border-top:4px solid var(--line)}
.result-card:hover{color:var(--ink)}
.result-card.win{border-top-color:var(--green)}
.result-card.loss{border-top-color:var(--red)}
.result-card.draw{border-top-color:#9AA09A}
.result-card .link{font-size:13px;font-weight:600;color:var(--green)}
.result-line{display:flex;align-items:center;gap:10px;justify-content:space-between}
.team{display:flex;align-items:center;gap:8px;flex:1;min-width:0;font-size:15px}
.team strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.team-right{justify-content:flex-end;text-align:end}
.score{font-family:Oswald,sans-serif;font-size:24px;background:var(--green);color:#fff;padding:3px 14px;border-radius:6px;white-space:nowrap}
.match-list{display:flex;flex-direction:column;gap:12px}
.match-row{display:grid;grid-template-columns:120px 170px 1fr 110px;align-items:center;gap:16px;padding:16px 20px;color:var(--ink);border-inline-start:4px solid var(--line)}
.match-row:hover{color:var(--ink)}
.match-row.win{border-inline-start-color:var(--green)}.match-row.loss{border-inline-start-color:var(--red)}
.mr-date,.mr-comp{display:flex;flex-direction:column;font-size:14px;min-width:0}
.match-row>*{min-width:0}
.mr-comp small,.mr-date small{color:var(--muted)}
.match-row .tag{justify-self:end}
.match-hero{padding:32px;display:flex;flex-direction:column;align-items:center;gap:20px;text-align:center;border-top:6px solid var(--red)}
.nm-teams.big{width:100%;max-width:720px}
.big-score{font-family:Oswald,sans-serif;font-size:56px;color:var(--green)}

/* Tableaux et stats */
.table-wrap{overflow-x:auto;border-radius:10px;border:1px solid var(--line);background:#fff}
.table{width:100%;border-collapse:collapse;font-size:14px}
.table th{background:var(--green);color:#fff;text-align:start;padding:11px 12px;font-weight:600;white-space:nowrap}
.table th a{color:#fff}.table th a.sorted{text-decoration:underline}
.table td{padding:11px 12px;border-top:1px solid var(--line)}
.table tr.is-st td{background:#FCEBEC;font-weight:700}
.team-cell{display:flex;align-items:center;gap:8px}
.team-cell img{width:22px;height:22px;object-fit:contain}
.small-link{display:inline-block;margin-top:10px;font-weight:600;font-size:14px}
.stat-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.stat-grid.wide{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}
.stat{background:var(--bg);border-radius:10px;padding:16px}
.band-white .stat{background:var(--bg)}
.stat-grid.wide .stat{background:#fff}
.stat b{display:block;font-family:Oswald,sans-serif;font-size:34px;color:var(--green);font-weight:600}
.stat span{font-size:13px;color:#4A504A}
.scorers{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.scorers li{display:flex;align-items:center;gap:12px;background:var(--bg);border-radius:10px;padding:12px}
.scorers img,.avatar{width:44px;height:44px;border-radius:50%;object-fit:cover;background:#DCE5DE;flex-shrink:0}
.scorers div{flex:1;display:flex;flex-direction:column}
.scorers small{color:var(--muted)}
.scorers b{font-family:Oswald,sans-serif;font-size:22px;color:var(--red)}

/* Équipe */
.player-photo{position:relative;aspect-ratio:4/5;background:linear-gradient(180deg,#E5ECE7,#CFDDD3);border-radius:var(--radius) var(--radius) 0 0;overflow:hidden;display:flex;align-items:flex-end;justify-content:center}
.player-photo img{width:100%;height:100%;object-fit:cover}
.avatar.big{width:120px;height:120px;margin-bottom:40px}
.player-num{position:absolute;top:12px;inset-inline-start:12px;font-family:Oswald,sans-serif;font-size:34px;color:var(--green);font-weight:700}
.mini-stats{display:flex;gap:14px;font-size:12px;color:var(--muted)}
.mini-stats b{display:block;font-size:18px;color:var(--ink)}
.squad{margin-bottom:32px}

/* Chips, recherche, pagination */
.chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}
.chip{padding:10px 16px;border-radius:22px;background:#fff;border:1px solid #D5D9D5;color:var(--ink);font-weight:600;font-size:13px;min-height:40px;display:inline-flex;align-items:center}
.chip.active,.chip:hover{background:var(--green);color:#fff;border-color:var(--green)}
.search-form input{padding:11px 14px;border:1px solid #D5D9D5;border-radius:8px;min-width:240px;font:14px Inter,sans-serif}
.pagination{display:flex;gap:6px;justify-content:center;margin:32px 0}
.pagination a,.pagination span{min-width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;background:#fff;border:1px solid var(--line);font-weight:600}
.pagination .current{background:var(--green);color:#fff;border-color:var(--green)}
.breadcrumb{font-size:13px;color:var(--muted);margin-bottom:12px}

/* Article */
.article-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:40px}
.article h1{font-size:clamp(28px,4vw,44px);margin:8px 0}
.lead{font-size:19px;color:#3B403B;margin:16px 0}
.article-img{margin:20px 0}
.article-img img{width:100%;border-radius:12px}
.prose{font-size:17px;line-height:1.75}
.prose h2{font-size:26px;color:var(--green);margin:28px 0 10px}
.prose p{margin:0 0 1em}
.video-frame{position:relative;aspect-ratio:16/9;margin:24px 0;border-radius:12px;overflow:hidden;background:#000}
.video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.share{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:28px 0;padding-top:20px;border-top:1px solid var(--line)}
.share-btn{padding:10px 14px;border-radius:8px;background:#fff;border:1px solid var(--line);font:600 13px Inter,sans-serif;color:var(--ink);cursor:pointer;min-height:40px}
.share-btn:hover{border-color:var(--green);color:var(--green)}
.article-side{display:flex;flex-direction:column;gap:20px}
.article-side .ad{margin:0}
.side-list{display:flex;flex-direction:column;gap:16px}

/* Vidéos */
.video-thumb{position:relative;display:block;width:100%;aspect-ratio:16/9;border:0;padding:0;cursor:pointer;background:#000;border-radius:var(--radius) var(--radius) 0 0;overflow:hidden}
.video-thumb img{width:100%;height:100%;object-fit:cover;opacity:.88}
.video-thumb iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.play{position:absolute;inset:0;margin:auto;width:64px;height:64px;border-radius:50%;background:var(--red);color:#fff;display:flex;align-items:center;justify-content:center}

/* Live */
.live-head{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:20px}
.live-head h1{margin:0;font-size:32px}
.live-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(300px,1fr);gap:20px}
.player{position:relative;aspect-ratio:16/9;background:var(--dark2);border-radius:12px;overflow:hidden}
.player-stage,.player-stage iframe,.player-stage video{position:absolute;inset:0;width:100%;height:100%;border:0;background:#000}
.paywall{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center;padding:24px;font-size:18px}
.preroll{position:absolute;inset:0;background:#000;z-index:5}
.preroll video{width:100%;height:100%;object-fit:contain;cursor:pointer}
.preroll-label{position:absolute;top:12px;inset-inline-start:12px;background:#FFD54A;color:#000;font-weight:700;font-size:12px;padding:4px 8px;border-radius:4px}
.preroll-skip{position:absolute;bottom:20px;inset-inline-end:0;background:rgba(0,0,0,.75);color:#fff;border:1px solid rgba(255,255,255,.4);border-inline-end:0;padding:12px 18px;font:600 14px Inter,sans-serif;cursor:pointer;min-height:44px}
.preroll-skip:disabled{opacity:.75;cursor:default}
.score-bug{position:absolute;top:14px;inset-inline-start:14px;z-index:4;background:rgba(0,0,0,.72);padding:8px 12px;border-radius:6px;font-family:Oswald,sans-serif;font-size:18px;display:flex;gap:10px;align-items:center;pointer-events:none}
.score-bug em{color:#FF6B6B;font-style:normal;font-size:14px}
.logo-ad{position:absolute;top:14px;inset-inline-end:14px;z-index:4;pointer-events:none}
.logo-ad img{max-height:44px;max-width:140px;opacity:.9}
.overlay-ad{position:absolute;bottom:56px;left:50%;transform:translateX(-50%);z-index:4;width:72%;max-width:728px}
.overlay-ad img{width:100%;border-radius:6px;box-shadow:0 4px 18px rgba(0,0,0,.4)}
.overlay-close{position:absolute;top:-14px;inset-inline-end:-14px;width:32px;height:32px;border-radius:50%;border:0;background:#fff;color:#000;font-size:20px;line-height:1;cursor:pointer}
.live-side{display:flex;flex-direction:column;gap:16px}
.live-side .ad{margin:0}
.card-dark{background:var(--dark2);border-radius:12px;padding:16px}
.live-off{padding:32px;font-size:17px}
.timeline{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;font-size:14px;max-height:340px;overflow:auto}
.timeline li{display:flex;gap:10px;align-items:baseline}
.timeline b{min-width:36px}
.timeline.dark{color:#CDD3CD}.timeline.dark b{color:#fff}
.chat-list{list-style:none;margin:0 0 12px;padding:0;height:260px;overflow-y:auto;display:flex;flex-direction:column;gap:8px;font-size:14px;color:#E5E9E5}
.chat-list strong{color:#fff;margin-inline-end:6px}
.chat-list small{color:#8B938B;margin-inline-start:6px}
.chat-form{display:flex;gap:8px}
.chat-form input{flex:1;background:var(--dark);border:1px solid #3A443B;color:#fff;padding:12px;border-radius:8px;font:14px Inter,sans-serif;min-width:0}

/* Boutique */
.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start}
.product-media{overflow:hidden}
.product-media img{width:100%}
.product-info h1{margin:6px 0 10px}
.buy-form{display:flex;flex-direction:column;gap:16px;margin-top:20px;align-items:flex-start}
.sizes{border:0;padding:0;margin:0;display:flex;gap:8px;flex-wrap:wrap}
.sizes legend{font-weight:600;margin-bottom:8px;width:100%}
.size-opt input{position:absolute;opacity:0}
.size-opt span{display:inline-flex;min-width:48px;height:44px;align-items:center;justify-content:center;border:1px solid #C9CFC9;border-radius:8px;font-weight:600;cursor:pointer;padding:0 12px;background:#fff}
.size-opt input:checked+span{background:var(--green);color:#fff;border-color:var(--green)}
.size-opt input:focus-visible+span{outline:3px solid var(--red)}
.cart-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:18px}
.cart-total{font-size:20px;font-weight:700}
.qty-input{width:72px;padding:8px;border:1px solid #C9CFC9;border-radius:6px}
.checkout{display:grid;grid-template-columns:1.4fr 1fr;gap:24px;align-items:start}
.summary-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.summary-list li{display:flex;justify-content:space-between;gap:12px;font-size:14px;border-bottom:1px solid var(--line);padding-bottom:8px}

/* Formulaires */
.form{display:flex;flex-direction:column;gap:16px}
.field{display:flex;flex-direction:column;gap:6px;border:0;padding:0;margin:0}
.field.small{max-width:140px}
.field label,.field legend{font-weight:600;font-size:14px}
.field input,.field textarea,.field select{padding:12px;border:1px solid #C9CFC9;border-radius:8px;font:15px Inter,Cairo,sans-serif;background:#fff;width:100%}
.field input[type=radio],.field input[type=checkbox],.radio input{width:auto;padding:0;margin:0;flex-shrink:0;accent-color:var(--green);width:18px;height:18px}
.radio{display:flex;align-items:center;gap:8px;font-weight:500;min-height:36px}
.auth{max-width:460px}
.contact-list{font-size:16px}

/* Newsletter / sponsors / footer */
.newsletter{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;align-items:center}
.newsletter h2{font-size:30px;margin:0 0 6px}
.newsletter p{margin:0;opacity:.9}
.newsletter-form{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap}
.newsletter-form label{font-size:13px;font-weight:500}
.newsletter-form input{width:290px;border:0}
.sponsors{margin-top:32px;display:flex;flex-direction:column;gap:12px}
.sponsor-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}
.sponsor{height:76px;background:#fff;border-radius:8px;display:flex;align-items:center;justify-content:center;padding:10px;color:var(--ink);font-weight:600}
.sponsor img{max-height:56px;max-width:100%;object-fit:contain}
.site-footer{background:#0A2416;color:#C9D3CC;padding:26px 0;font-size:13px}
.footer-inner{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
.footer-inner nav{display:flex;gap:18px;flex-wrap:wrap}
.footer-inner a{color:#C9D3CC}.footer-inner a:hover{color:#fff}

/* Pop-up */
.popup{position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:100;display:flex;align-items:center;justify-content:center;padding:20px}
.popup[hidden]{display:none}
.popup-box{position:relative;background:#fff;border-radius:12px;padding:16px;max-width:520px;display:flex;flex-direction:column;align-items:center;gap:8px}
.popup-close{position:absolute;top:-14px;inset-inline-end:-14px;width:40px;height:40px;border-radius:50%;border:0;background:var(--red);color:#fff;font-size:22px;cursor:pointer}

/* Responsive */
@media (max-width:1280px){.main-nav{gap:13px;font-size:14px}.header-inner{gap:16px}}
@media (max-width:1100px){
  .main-nav{gap:14px;font-size:14px}
  .grid-4{grid-template-columns:repeat(2,1fr)}
  .live-grid{grid-template-columns:1fr}
}
@media (max-width:1180px){
  .nav-toggle{display:inline-flex;order:3}
  .header-actions{margin-inline-start:auto}
  .main-nav{display:none;position:absolute;top:100%;left:0;right:0;background:var(--green);flex-direction:column;gap:0;padding:8px 24px 16px;box-shadow:0 8px 16px rgba(0,0,0,.2);white-space:normal}
  .main-nav.open{display:flex}
  .main-nav a{padding:12px 0;border-bottom:1px solid rgba(255,255,255,.12);font-size:15px}
  .main-nav a.hl{align-self:flex-start;padding:10px 14px;margin-top:8px}
  .header-inner{flex-wrap:wrap;position:relative}
}
@media (max-width:960px){
  .btn-shop span{display:none}
  .hero{grid-template-columns:1fr}
  .grid-3{grid-template-columns:1fr}
  .article-layout,.product-detail,.checkout{grid-template-columns:1fr}
  .match-row{grid-template-columns:1fr;gap:8px}
  .match-row .tag{justify-self:start}
}
@media (max-width:620px){
  .container{padding:0 16px}
  .grid-4,.grid-2{grid-template-columns:1fr}
  .brand-text small{display:none}
  .brand-text strong{font-size:18px}
  .brand img{width:46px;height:46px}
  .header-inner{gap:10px}
  .btn-shop,.lang-switch{display:none}
  .nav-lang{display:flex!important}
  .header-inner{flex-wrap:nowrap}
  .brand{min-width:0}
  .brand-text strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .score{font-size:20px;padding:3px 10px}
  .header-actions{gap:6px}
  .lang-switch{padding:8px}
  .hero-feature{min-height:380px}
  .hero-content{padding:22px}
  .newsletter-form input{width:100%}
  .search-form input{min-width:0;width:100%}
  .overlay-ad{width:92%;bottom:48px}
  .big-score{font-size:40px}
  .badge-xl{width:72px;height:72px}
}

/* ===== v2 : menu, notifications, billetterie, carte, dons, paiement ===== */
.main-nav a.hl{background:var(--red);border-radius:6px;padding:6px 10px;border-bottom-color:transparent}
.btn-outline-light{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.6)}
.btn-outline-light:hover{background:rgba(255,255,255,.12);color:#fff}
.btn-outline-light:disabled{opacity:.75;cursor:default}
.newsletter-actions{display:flex;flex-direction:column;gap:12px;align-items:flex-end}
[dir=rtl] .newsletter-actions{align-items:flex-start}
.small{font-size:13px}
.section-gap-s{margin-top:18px}
.alert-info a{font-weight:700}

.progress{height:12px;border-radius:6px;background:#E2E5E2;overflow:hidden}
.progress span{display:block;height:100%;background:var(--green);border-radius:6px}
.progress-meta{display:flex;justify-content:space-between;gap:8px;font-size:13px;color:var(--muted);margin-top:6px}
.progress-meta strong{color:var(--ink);font-size:16px}
.campaign-card .card-body{gap:12px}
.donate-box{display:flex;flex-direction:column;gap:12px}
.amounts{border:0;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:8px}
.amounts legend{font-weight:600;margin-bottom:8px;width:100%;font-size:14px}
.donors{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;font-size:14px}
.donors li{display:flex;justify-content:space-between;gap:8px;border-bottom:1px solid var(--line);padding-bottom:6px}

.ticket-row{display:grid;grid-template-columns:150px 1fr 280px;align-items:center;gap:20px;padding:18px 20px;border-inline-start:4px solid var(--red)}
.ticket-row>*{min-width:0}
.ticket-cta{display:flex;flex-direction:column;align-items:flex-end;gap:8px;text-align:end}
.stand-list{display:flex;flex-direction:column;gap:12px}
.stand{display:grid;grid-template-columns:1fr auto 90px;gap:16px;align-items:center;padding:18px 20px}
.stand h3{margin:0 0 4px;font-size:18px}
.stand.disabled{opacity:.55}
.qty-select{padding:10px;border:1px solid #C9CFC9;border-radius:8px;font:600 16px Inter,sans-serif;min-height:44px;background:#fff}
.ticket-form{display:grid;grid-template-columns:1.5fr 1fr;gap:20px;align-items:start}
.ticket-buyer{position:sticky;top:100px}

.eticket{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 8px 30px rgba(0,0,0,.08);max-width:560px;margin:0 auto;border-top:8px solid var(--red)}
.eticket-head{display:flex;align-items:center;gap:12px;background:var(--green);color:#fff;padding:16px 22px}
.eticket-head img{border-radius:50%;background:#fff}
.eticket-head div{display:flex;flex-direction:column}
.eticket-head small{opacity:.85}
.eticket-body{padding:22px}
.eticket-body h1{font-size:28px;margin:0}
.eticket-body h1 span{color:var(--muted);font-size:18px}
.eticket-info{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0 0}
.eticket-info div{background:var(--bg);border-radius:8px;padding:10px 12px}
.eticket-info dt{font-size:12px;color:var(--muted)}
.eticket-info dd{margin:2px 0 0;font-weight:700}
.eticket-qr{border-top:2px dashed var(--line);padding:22px;display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center}
.qr{width:240px;max-width:100%;aspect-ratio:1;background:#fff}
.qr svg,.mc-qr svg{width:100%;height:100%;display:block}
.ticket-code{font-size:16px;letter-spacing:.08em;font-weight:700}
.ticket-state{font-size:20px;font-weight:700;padding:12px 18px;border-radius:8px;background:#FFF1D6;color:#7A4B00}
.ticket-state.used{background:#E9EAE6;color:var(--ink)}
.ticket-state.cancelled{background:#FCE8EA;color:#8E0D20}
.ticket-links{list-style:none;padding:0;display:flex;flex-direction:column;gap:8px;align-items:center}
.my-ticket{display:flex;flex-direction:column;gap:6px;color:var(--ink);border-inline-start:4px solid var(--green)}
.my-ticket.used{border-inline-start-color:#9AA09A;opacity:.8}

.member-card{aspect-ratio:1.586;max-width:480px;border-radius:18px;padding:22px;color:#fff;display:flex;flex-direction:column;justify-content:space-between;
  background:radial-gradient(circle at 85% 15%,rgba(255,255,255,.14),transparent 40%),var(--green);box-shadow:0 14px 40px rgba(14,90,50,.35);border-bottom:8px solid var(--red)}
.member-card.preview{opacity:.6}
.mc-top{display:flex;align-items:center;gap:12px}
.mc-top img{border-radius:50%;background:#fff}
.mc-top div{display:flex;flex-direction:column;line-height:1.2}
.mc-top strong{font-family:Oswald,Cairo,sans-serif;font-size:20px;letter-spacing:.04em}
.mc-top small{opacity:.85}
.mc-name{font-family:Oswald,Cairo,sans-serif;font-size:26px;letter-spacing:.03em}
.mc-bottom{display:flex;justify-content:space-between;align-items:flex-end;gap:12px}
.mc-bottom>div:first-child{display:flex;flex-direction:column}
.mc-bottom small{font-size:11px;opacity:.8;text-transform:uppercase;letter-spacing:.08em;margin-top:4px}
.mc-qr{width:110px;height:110px;background:#fff;border-radius:8px;padding:6px;flex-shrink:0}
.ph-qr{background:repeating-linear-gradient(45deg,#fff 0 6px,#ddd 6px 12px)}
.benefits{padding-inline-start:20px;font-size:16px;line-height:1.8}
.plans{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:14px;margin-top:16px}
.plan{display:flex;flex-direction:column;gap:6px;border-top:4px solid var(--red)}
.plan h3{margin:0;font-size:18px}

.pay-result{display:flex;flex-direction:column;align-items:center;gap:10px}
.pay-icon{width:72px;height:72px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:38px;font-weight:700;color:#fff;background:var(--green)}
.pay-result.ko .pay-icon{background:var(--red)}

@media (max-width:960px){
  .ticket-row{grid-template-columns:1fr}
  .ticket-cta{align-items:flex-start;text-align:start}
  .ticket-form{grid-template-columns:1fr}
  .ticket-buyer{position:static}
  .newsletter-actions{align-items:stretch}
}
@media (max-width:620px){
  .stand{grid-template-columns:1fr auto;}
  .stand .qty-select{grid-column:1/-1}
  .eticket-info{grid-template-columns:1fr}
  .mc-name{font-size:20px}
  .mc-qr{width:86px;height:86px}
}
@media print{
  .site-header,.site-footer,.band-green,.ad,.no-print,.skip-link,.popup{display:none!important}
  body{background:#fff}
  .eticket{box-shadow:none;border:1px solid #ccc}
}

/* ===== v3 : paiement D17 / izi / virement ===== */
.wallet-pay{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:20px;align-items:start}
.wallet-card{overflow:hidden;border-top:6px solid var(--wallet,#0E5A32)}
.wallet-head{display:flex;align-items:center;gap:12px;padding:18px 20px;border-bottom:1px solid var(--line)}
.wallet-head div{display:flex;flex-direction:column}
.wallet-head small{color:var(--muted)}
.wallet-badge{display:inline-flex;align-items:center;justify-content:center;min-width:56px;height:40px;padding:0 10px;border-radius:8px;
  background:var(--wallet,#0E5A32);color:#111;font:800 16px Inter,sans-serif;letter-spacing:.02em}
.wallet-amount{display:flex;flex-direction:column;align-items:center;gap:4px;padding:18px 20px;background:var(--bg)}
.wallet-amount small,.wallet-line small{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}
.wallet-amount strong{font-family:Oswald,Cairo,sans-serif;font-size:38px;color:var(--ink)}
.wallet-qr{margin:0;padding:18px 20px 6px;display:flex;flex-direction:column;align-items:center;gap:8px}
.wallet-qr img{width:240px;max-width:100%;border-radius:10px;border:1px solid var(--line);background:#fff}
.wallet-qr figcaption{font-size:13px;color:var(--muted)}
.wallet-line{display:flex;flex-direction:column;align-items:center;gap:4px;padding:14px 20px;border-top:1px solid var(--line);text-align:center}
.wallet-number{font-size:24px;letter-spacing:.04em}
.wallet-details{padding:14px 20px;border-top:1px solid var(--line);font-size:15px}
.copy-btn{min-height:36px;padding:6px 14px;border-radius:18px;border:1px solid var(--line);background:#fff;font:600 13px Inter,Cairo,sans-serif;cursor:pointer}
.copy-btn:hover{border-color:var(--green);color:var(--green)}
.pay-steps{padding-inline-start:20px;line-height:1.7;margin:0 0 14px}
.switch-method{margin-top:20px;display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.pay-result.wait .pay-icon{background:#E0A100;font-size:30px}
.pay-opt{padding:10px 12px;border:1px solid var(--line);border-radius:8px;margin-bottom:6px;background:#fff;cursor:pointer;align-items:flex-start;line-height:1.35}
.pay-opt:has(input:checked){border-color:var(--green);background:#F1F8F3}
@media (max-width:860px){.wallet-pay{grid-template-columns:1fr}}

/* ===== v4 : types de carte, privilèges, carte physique ===== */
.priv-summary{display:flex;align-items:center;gap:14px;color:var(--ink);margin-bottom:14px;border-inline-start:4px solid var(--red)}
.priv-summary strong{font-family:Oswald,sans-serif;font-size:36px;color:var(--red)}
.priv-summary span{font-weight:700}
.phys-box{margin-top:16px}
.compact-form{gap:10px}
.tier-plans{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}
.tier-plan{position:relative;display:flex;flex-direction:column;gap:6px;padding:20px;border-top:6px solid var(--tier);cursor:pointer;transition:box-shadow .15s,transform .15s}
.tier-plan:hover{transform:translateY(-2px)}
.tier-plan input{position:absolute;top:16px;inset-inline-end:16px;width:20px;height:20px;accent-color:var(--green)}
.tier-plan:has(input:checked){box-shadow:0 0 0 3px var(--tier),0 8px 24px rgba(0,0,0,.12)}
.tier-plan .tier-chip{align-self:flex-start}
.plan-name{font-size:18px}
.plan-desc{font-size:14px;color:#3B403B}
.plan-priv{font-size:13px;font-weight:700;color:var(--green)}
.buy-options{margin-top:18px;max-width:640px}
.card-format .pay-opt{display:flex;gap:10px}
.delivery-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.delivery-fields label{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:14px}
.partner-logos{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}
.partner-logo{background:#fff;border-radius:10px;padding:14px;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;filter:grayscale(.6)}
.partner-logo img{height:48px;width:auto;object-fit:contain}
.partner-logo span{font-weight:700}
.partner-logo small{color:var(--muted);font-size:12px}
.priv-locked{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:20px;border-inline-start:4px solid var(--red)}
.priv{display:flex;flex-direction:column;gap:10px;padding:18px}
.priv.locked{opacity:.7}
.priv.locked .priv-title{filter:blur(0)}
.priv-head{display:flex;align-items:center;gap:12px}
.priv-head div{display:flex;flex-direction:column;min-width:0}
.priv-head small{color:var(--muted);font-size:13px}
.priv-logo{width:52px;height:52px;border-radius:10px;background:var(--bg);display:flex;align-items:center;justify-content:center;overflow:hidden;flex-shrink:0;font-weight:800;color:var(--green)}
.priv-logo img{width:100%;height:100%;object-fit:contain}
.priv-title{font-size:19px;margin:0;color:var(--red)}
.priv-tiers{font-size:12px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.04em;margin:0}
.priv-contact{list-style:none;padding:0;margin:0;font-size:14px;display:flex;flex-direction:column;gap:4px}
.priv-action{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:auto}
.promo-code{font-family:ui-monospace,Menlo,monospace;font-size:18px;letter-spacing:.08em;background:#FFF6D6;border:2px dashed #E0A100;border-radius:8px;padding:8px 14px}
.priv-lock-msg{margin:auto 0 0;font-weight:600;color:var(--muted)}
.verify-box{background:#fff;border-radius:16px;padding:36px 24px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px;border-top:10px solid #0B7A3B}
.verify-box.ko{border-top-color:#A30F22}
.verify-box.ko .pay-icon{background:#A30F22}
.verify-box h1{margin:6px 0}
.verify-name{font-size:24px;font-weight:700;margin:0}
@media (max-width:620px){.delivery-fields{grid-template-columns:1fr}}
@media print{
  body:has(.printable-card) main>*:not(.card-layout),body:has(.printable-card) .card-layout>div:not(.printable-card){display:none!important}
  .printable-card .member-card{width:85.6mm;height:54mm;max-width:none;box-shadow:none;-webkit-print-color-adjust:exact;print-color-adjust:exact}
}
.tier-plan{background:#fff;color:var(--ink)}
.tier-plan .plan-desc{color:#3B403B}
.promo-code.promo-msg{font-family:inherit;font-size:15px;letter-spacing:0;font-weight:600}

/* ===== v5 : vidéos, albums, centre de match ===== */
.video-frame.vertical{aspect-ratio:9/16;max-width:380px;margin-inline:auto}
.video-frame video{position:absolute;inset:0;width:100%;height:100%;background:#000}
.video-thumb.vertical{aspect-ratio:16/9}
.video-thumb video{position:absolute;inset:0;width:100%;height:100%;background:#000}
.video-thumb.playing .prov-badge{display:none}
.video-ph{position:absolute;inset:0;background:linear-gradient(135deg,var(--green),#062716)}
.prov-badge{position:absolute;top:10px;inset-inline-start:10px;background:rgba(0,0,0,.7);color:#fff;font-size:11px;font-weight:700;padding:4px 8px;border-radius:4px;letter-spacing:.04em}
.prov-facebook .prov-badge{background:#1877F2}
.prov-youtube .prov-badge{background:#FF0000}
.prov-tiktok .prov-badge{background:#000}
.prov-instagram .prov-badge{background:#C13584}
.chip-photo{border-style:dashed}
.albums-strip{margin-bottom:28px}
.album-card .card-media{position:relative}
.album-count{position:absolute;bottom:10px;inset-inline-end:10px;background:rgba(0,0,0,.72);color:#fff;font-size:12px;font-weight:700;padding:4px 10px;border-radius:14px}
.gallery{columns:4 220px;column-gap:10px;margin-top:18px}
.gallery-item{display:block;margin-bottom:10px;break-inside:avoid;border-radius:8px;overflow:hidden;background:#DCE5DE}
.gallery-item img{width:100%;height:auto;transition:transform .3s}
.gallery-item:hover img{transform:scale(1.03)}
.lightbox{position:fixed;inset:0;z-index:200;background:rgba(5,10,7,.95);display:flex;align-items:center;justify-content:center}
.lightbox[hidden]{display:none}
.lightbox figure{margin:0;max-width:92vw;max-height:84vh;display:flex;flex-direction:column;align-items:center;gap:10px}
.lightbox img{max-width:92vw;max-height:78vh;object-fit:contain;border-radius:4px}
.lightbox figcaption{color:#E5E9E5;font-size:15px;text-align:center}
.lb-close,.lb-prev,.lb-next{position:absolute;background:rgba(255,255,255,.12);color:#fff;border:0;width:52px;height:52px;border-radius:50%;font-size:30px;line-height:1;cursor:pointer}
.lb-close{top:16px;inset-inline-end:16px}
.lb-prev{inset-inline-start:16px;top:50%;transform:translateY(-50%)}
.lb-next{inset-inline-end:16px;top:50%;transform:translateY(-50%)}
[dir=rtl] .lb-prev,[dir=rtl] .lb-next{transform:translateY(-50%) scaleX(-1)}
.lb-bar{position:absolute;bottom:14px;left:0;right:0;display:flex;justify-content:center;gap:18px;color:#CDD3CD;font-size:14px}
.lb-download{color:#fff;text-decoration:underline}

/* Centre de match */
.mc-head{padding:22px 24px;border-top:6px solid var(--red);display:flex;flex-direction:column;gap:14px}
.mc-comp{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:13px;color:var(--muted)}
.mc-score-row{display:grid;grid-template-columns:1fr auto 1fr;align-items:start;gap:16px}
.mc-team{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;min-width:0}
.mc-team strong{font-size:18px}
.mc-scorers{list-style:none;margin:0;padding:0;font-size:13px;color:var(--muted);line-height:1.6}
.mc-center{display:flex;flex-direction:column;align-items:center;gap:6px;padding-top:10px;min-width:150px}
.mc-score{font-family:Oswald,sans-serif;font-size:58px;line-height:1;color:var(--ink)}
.mc-status{font-size:12px;font-weight:800;letter-spacing:.12em;color:var(--muted);text-transform:uppercase}
.mc-status.is-live{color:#fff;background:#E01E2D;padding:3px 10px;border-radius:4px;animation:pulse 2s infinite}
.mc-clock{font-family:Oswald,sans-serif;font-size:22px;color:#E01E2D;min-height:28px}
.mc-pens{font-size:14px;font-weight:700}
.mc-watch{align-self:center}
.mc-tracker{margin-top:14px;padding:12px}
.pitch{position:relative;aspect-ratio:600/340;border-radius:10px;overflow:hidden;background:#1E7A3C}
.pitch svg{position:absolute;inset:0;width:100%;height:100%}
.pitch-grass{fill:url(#none);fill:#1E7A3C}
.pitch-lines{stroke:rgba(255,255,255,.55)}
.pitch::before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(90deg,rgba(255,255,255,.04) 0 8.33%,transparent 8.33% 16.66%)}
.zone{position:absolute;border-radius:12px;transition:all .6s cubic-bezier(.3,.7,.2,1);background:radial-gradient(ellipse at center,rgba(255,255,255,.55),rgba(255,255,255,.08) 70%);animation:zonepulse 1.4s infinite}
.zone.team-home{background:radial-gradient(ellipse at center,rgba(255,214,0,.75),rgba(255,214,0,.1) 70%)}
.zone.team-away{background:radial-gradient(ellipse at center,rgba(91,176,255,.75),rgba(91,176,255,.1) 70%)}
.zone.act-danger,.zone.act-penalty,.zone.act-shot_on,.zone.act-goal{animation-duration:.7s}
.zone.act-goal{background:radial-gradient(ellipse at center,rgba(255,255,255,.95),rgba(255,40,40,.25) 70%)}
.zone.neutral{opacity:.5}
@keyframes zonepulse{50%{opacity:.55;transform:scale(.96)}}
.ball{position:absolute;width:14px;height:14px;margin:-7px 0 0 -7px;border-radius:50%;background:#fff;box-shadow:0 0 0 3px rgba(0,0,0,.25),0 0 14px #fff;transition:all .6s cubic-bezier(.3,.7,.2,1)}
.tr-label{position:absolute;top:10px;left:50%;transform:translateX(-50%);background:rgba(0,0,0,.72);color:#fff;padding:6px 14px;border-radius:8px;text-align:center;display:flex;flex-direction:column;min-width:170px}
.tr-label strong{font-size:15px;letter-spacing:.06em;text-transform:uppercase}
.tr-label span{font-size:12px;opacity:.85}
.tr-label.team-home strong{color:#FFD600}
.tr-label.team-away strong{color:#7CC2FF}
.pitch-side{position:absolute;bottom:8px;color:rgba(255,255,255,.85);font:700 12px Inter,sans-serif;letter-spacing:.08em}
.pitch-side.left{left:14px}.pitch-side.right{right:14px}
.mc-tabs{display:flex;gap:4px;margin-top:16px;border-bottom:2px solid var(--line);flex-wrap:wrap}
.mc-tabs button{background:none;border:0;padding:12px 18px;font:700 14px Inter,Cairo,sans-serif;color:var(--muted);cursor:pointer;border-bottom:3px solid transparent;margin-bottom:-2px;min-height:44px}
.mc-tabs button[aria-selected=true]{color:var(--green);border-bottom-color:var(--red)}
.mc-full{margin-inline-start:auto;align-self:center;font-size:13px;font-weight:700}
.mc-panel{padding:16px 18px;margin-top:0;border-top-left-radius:0;border-top-right-radius:0}
.mc-timeline{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.mc-timeline.two-sided .ev{display:grid;grid-template-columns:1fr 54px 1fr;align-items:center;min-height:46px;border-bottom:1px solid var(--line)}
.mc-timeline .ev-min{grid-column:2;grid-row:1;justify-self:center;font-family:Oswald,sans-serif;font-size:15px;background:var(--bg);border-radius:14px;padding:2px 10px}
.mc-timeline .ev-body{display:flex;align-items:center;gap:10px;padding:6px 4px;grid-row:1}
.mc-timeline .t-home .ev-body{grid-column:1;justify-content:flex-end;text-align:end;flex-direction:row-reverse}
.mc-timeline .t-away .ev-body,.mc-timeline .t-none .ev-body{grid-column:3}
.mc-timeline .t-none .ev-body{grid-column:1/-1;justify-content:center;grid-row:2}
.ev-txt{display:flex;flex-direction:column;min-width:0}
.ev-txt strong{font-size:15px}
.ev-txt small{font-size:12px;color:var(--muted)}
.ev-icon{width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;font-size:15px;flex-shrink:0;font-weight:800}
.ev-yellow .ev-icon{width:14px;height:19px;background:#F5C400;border-radius:2px}
.ev-red .ev-icon,.d-second_yellow .ev-icon{width:14px;height:19px;background:#E01E2D;border-radius:2px}
.ev-sub .ev-icon{color:#0B7A3B}
.ev-var .ev-icon{font-size:10px;background:#15171A;color:#fff;border-radius:4px;width:30px}
.ev-goal{background:linear-gradient(90deg,transparent,rgba(14,90,50,.07),transparent)}
.ev-goal .ev-txt strong{color:var(--green)}
.ev-period{text-align:center;padding:10px 0;font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);display:flex;align-items:center;gap:10px}
.ev-period::before,.ev-period::after{content:"";flex:1;height:1px;background:var(--line)}
.empty-ev{color:var(--muted);text-align:center;padding:20px}
.st-head{display:flex;justify-content:space-between;font-family:Oswald,sans-serif;font-size:16px;margin-bottom:10px}
.st-row{padding:8px 0}
.st-top{display:flex;justify-content:space-between;align-items:center;font-size:14px}
.st-top b{font-size:16px;min-width:40px}
.st-top b:last-child{text-align:end}
.st-bars{display:flex;gap:4px;height:8px;margin-top:6px}
.st-bars span{display:block;height:100%;border-radius:4px;background:#C9CFC9;transition:width .6s}
.st-bars .bh{background:#9AB3A2}.st-bars .ba{background:#B9C3CF}
.st-bars .bh.lead{background:var(--green)}.st-bars .ba.lead{background:#3D6FA8}
.lu-pitch{position:relative;display:grid;grid-template-columns:1fr 1fr;background:#1E7A3C;border-radius:10px;overflow:hidden;min-height:340px;
  background-image:linear-gradient(90deg,transparent calc(50% - 1px),rgba(255,255,255,.5) calc(50% - 1px),rgba(255,255,255,.5) calc(50% + 1px),transparent calc(50% + 1px))}
.lu-half{position:relative;display:flex;justify-content:space-around;padding:20px 6px 34px}
.lu-away{flex-direction:row-reverse}
.lu-col{display:flex;flex-direction:column;justify-content:space-around;align-items:center;gap:6px}
.lu-p{display:flex;flex-direction:column;align-items:center;gap:3px;width:70px;text-align:center}
.lu-n{width:30px;height:30px;border-radius:50%;background:#FFD600;color:#111;display:flex;align-items:center;justify-content:center;font:800 13px Inter,sans-serif;box-shadow:0 2px 6px rgba(0,0,0,.35)}
.lu-away .lu-n{background:#5BB0FF}
.lu-name{color:#fff;font-size:11px;font-weight:600;line-height:1.15;text-shadow:0 1px 2px rgba(0,0,0,.6);word-break:break-word}
.lu-form{position:absolute;bottom:8px;left:0;right:0;text-align:center;color:rgba(255,255,255,.9);font:700 12px Inter,sans-serif}
.lu-benches{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:16px}
.lu-bench ul{list-style:none;padding:0;margin:0;font-size:14px;line-height:1.8}
.mc-goal{position:fixed;inset:0;z-index:150;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:radial-gradient(circle,rgba(14,90,50,.92),rgba(0,0,0,.85));color:#fff;pointer-events:none}
.mc-goal[hidden]{display:none}
.mc-goal strong{font-family:Oswald,sans-serif;font-size:clamp(60px,14vw,160px);letter-spacing:.06em;color:#FFD600;text-shadow:0 6px 30px rgba(0,0,0,.5)}
.mc-goal span{font-size:20px;font-weight:700}
.mc-goal.show strong{animation:goalpop .8s cubic-bezier(.2,1.6,.4,1)}
@keyframes goalpop{0%{transform:scale(.2);opacity:0}100%{transform:scale(1);opacity:1}}
/* Version sombre sous la vidéo (page Live) */
.mc.compact{margin-top:14px}
.mc.dark .mc-tabs{border-bottom-color:#2A352B}
.mc.dark .mc-tabs button{color:#AAB3AA}
.mc.dark .mc-tabs button[aria-selected=true]{color:#fff}
.mc.dark .mc-panel{background:var(--dark2);color:#E5E9E5;border-radius:0 0 12px 12px}
.mc.dark .mc-timeline .ev{border-bottom-color:#2A352B}
.mc.dark .ev-min{background:#101511;color:#fff}
.mc.dark .ev-txt small,.mc.dark .ev-period{color:#99A399}
.mc.dark .ev-goal .ev-txt strong{color:#7EE2A0}
.mc.dark .mc-full{color:#fff}
@media (max-width:620px){
  .mc-score{font-size:44px}
  .mc-center{min-width:110px}
  .mc-team strong{font-size:15px}
  .badge-xl{width:60px;height:60px}
  .lu-p{width:52px}.lu-name{font-size:10px}.lu-n{width:24px;height:24px;font-size:11px}
  .lu-pitch{min-height:300px}
  .lu-benches{grid-template-columns:1fr}
  .mc-timeline.two-sided .ev{grid-template-columns:1fr 46px 1fr}
  .ev-txt strong{font-size:13px}
  .tr-label{min-width:130px}.tr-label strong{font-size:12px}
}
.mc-tracker .pitch{max-width:760px;margin-inline:auto}
@media (max-width:620px){
  .mc-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
  .mc-tabs::-webkit-scrollbar{display:none}
  .mc-tabs button{padding:12px 12px;white-space:nowrap;font-size:13px}
  .mc-full{display:none}
}
