/* ==========================================================================
   ABALLOU — thème clair "manga" (issu de idees/aballou-maquette.html)
   Chargé après mycss1_new.css : il redéfinit les tokens globaux et
   surcharge les composants de layout (topbar, shell, footer, cookies…).
   ========================================================================== */

:root {
    --ink: #0c1a37;
    --blue: #1166f2;
    --blue2: #2f86ff;
    --red: #ff3f46;
    --line: #e7edf7;
    --paper: #f8fbff;
    --white: #fff;
    --round: 14px;

    /* Tokens hérités de l'ancien thème, remappés en clair */
    --bg: var(--paper);
    --panel: #fff;
    --card: #fff;
    --border: var(--line);
    --text: var(--ink);
    --muted: #71809b;
    --accent: var(--blue);
    --accent-2: var(--blue2);
    --shadow: 0 10px 28px rgba(25,66,138,.075);
    --radius: 14px;
}

html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 15px/1.45 Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #78abff; outline-offset: 3px; }

/* ---------- Enveloppe du site + rayures manga sur les côtés ---------- */
.site { position: relative; min-height: 100vh; isolation: isolate; overflow-x: clip; }
.site:before, .site:after {
    content: ""; position: absolute; z-index: -1; pointer-events: none;
    width: 240px; height: 680px; opacity: .6; top: 55px;
    background: repeating-linear-gradient(113deg, transparent 0 12px, #2a81ff 12px 14px, transparent 14px 22px, #0b3775 22px 24px, transparent 24px 34px);
    clip-path: polygon(0 0, 100% 0, 48% 100%, 0 100%);
}
.site:before { left: -155px; }
.site:after { right: -175px; transform: scaleX(-1); }
html[lang="ar"] .site:before, html[lang="ar"] .site:after { display: none; }

.container { width: min(1300px, calc(100% - 64px)); margin-inline: auto; }
.bleed { width: 100vw; margin-left: calc(50% - 50vw); }

/* ---------- Typo "Impact" italique de la maquette ---------- */
.impact, .hero-title, .section-heading, .brand, .trending-title, .mini-head h2 {
    font-family: Impact, "Arial Black", Arial, sans-serif; font-weight: 900; font-style: italic;
}

/* ==========================================================================
   TOPBAR
   ========================================================================== */
.hamburger { display: none !important; }

.topbar {
    display: block; padding: 0; gap: 0; margin: 0;
    height: 70px; background: rgba(255,255,255,.96);
    border-bottom: 1px solid #e4eaf3; position: relative; z-index: 20;
}
.topbar-inner { height: 100%; display: flex; align-items: center; gap: 26px; }
.topbar .brand, .brand {
    display: inline-block; margin: 0; gap: 0; flex: 0 0 auto;
    color: #ff434b; font-size: 32px; letter-spacing: .25px; line-height: 1; transform: skew(-6deg);
}
.tagline { color: #7688a7; font-size: 11px; white-space: nowrap; margin-left: 2px; }
.nav { display: flex; align-items: center; gap: 31px; margin: auto; font-weight: 800; font-size: 13px; height: 100%; white-space: nowrap; }
.nav a { position: relative; display: flex; height: 100%; align-items: center; transition: color .2s; }
.nav a:hover, .nav a.active { color: var(--blue); }
.nav a.active:after { content: ""; position: absolute; bottom: 11px; left: 0; right: 0; height: 4px; background: var(--blue); border-radius: 8px; }

.search-box {
    display: flex; align-items: center; gap: 10px; margin: 0;
    border: 1px solid #dae6f7; background: #f3f7fe; border-radius: 30px; padding: 0 15px;
    height: 37px; max-width: 230px; flex: 1; color: #6887b8; box-shadow: none;
}
.search-box svg { flex: none; }
.search-box input { width: 100%; background: transparent; border: none; outline: none; min-width: 30px; font-size: 11px; color: var(--ink); }
.search-box input::placeholder { color: #8ca0be; }
.search-box button { display: none; }

.lang-wrap { position: relative; flex: none; }
.lang-menu-btn, .menu-btn, #search-toggle {
    width: 38px; height: 38px; flex: none; border: 0; background: #113b7d; color: #fff;
    border-radius: 50%; display: grid; place-items: center; padding: 0; box-shadow: none; font-size: 16px;
    transition: background .2s, transform .2s;
}
.lang-menu-btn:hover, .menu-btn:hover { background: var(--blue); color: #fff; transform: none; box-shadow: none; }
.lang-menu-btn svg, .menu-btn svg { pointer-events: none; }
.menu-btn { display: none; border-radius: 9px; }

.lang-switch {
    display: none; flex-direction: row; flex-wrap: wrap; gap: 6px; width: 200px;
    position: absolute; top: 46px; right: 0; padding: 10px;
    background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 30px rgba(20,60,130,.14);
    z-index: 9999; opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .25s ease, transform .25s ease;
}
.lang-switch.open { display: flex; opacity: 1; transform: translateY(0); pointer-events: auto; }
.lang-switch a { width: 34px; height: 34px; border: 2px solid transparent; box-shadow: none; }
.lang-switch a:hover, .lang-switch a.active { border-color: var(--blue); box-shadow: none; }
html[lang="ar"] .lang-switch { right: auto; left: 0; }

/* Navigation mobile (drawer piloté par allJs.js : #mobile-drawer / #btn-open-drawer / #drawer-overlay) */
.mobile-nav, #mobile-drawer.mobile-nav { display: none !important; }
.drawer-overlay { z-index: 15; background: rgba(12,26,55,.35); backdrop-filter: none; }

/* ---------- Barre des pays (ancien menu gauche) ---------- */
.leagues-bar { background: #fff; border-bottom: 1px solid #e4eaf3; position: relative; z-index: 10; }
.leagues-bar .container { display: flex; align-items: center; gap: 8px; height: 46px; overflow-x: auto; scrollbar-width: none; }
.leagues-bar .container::-webkit-scrollbar { display: none; }
.chip {
    display: inline-flex; align-items: center; gap: 7px; flex: none; height: 30px; padding: 0 12px 0 6px;
    border-radius: 999px; background: #f3f7fe; border: 1px solid #e3ebf8; color: #4e6081;
    font-size: 11px; font-weight: 800; white-space: nowrap; transition: background .2s, color .2s, transform .2s;
}
.chip img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.chip:hover { background: #e6efff; color: var(--blue); transform: translateY(-1px); }
.chip.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip.chip-games img, .chip.chip-quiz img { border-radius: 0; }
.chip.chip-footflix img { filter: invert(21%) sepia(97%) saturate(7000%) hue-rotate(0deg) brightness(95%) contrast(105%); border-radius: 0; }
.chip.active.chip-footflix img { filter: brightness(0) invert(1); }

/* ==========================================================================
   SHELL (contenu + aside optionnel)
   ========================================================================== */
.shell {
    display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px;
    width: min(1300px, calc(100% - 64px)); max-width: none; margin: 0 auto; padding: 32px 0 56px;
}
.shell.has-aside { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
.main, main.main { display: grid; gap: 24px; min-width: 0; }
.layout-page { min-width: 0; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--round); box-shadow: var(--shadow); backdrop-filter: none; }

.rightbar { position: sticky; top: 16px; height: fit-content; padding: 16px; }
.rightbar h3, .rightbar h4 { font-family: Impact, "Arial Black", Arial, sans-serif; font-style: italic; font-weight: 900; font-size: 22px !important; margin: 0 0 12px; letter-spacing: -.3px; }
.newslist .news-card { background: #fff; border: 1px solid #eef2f9; color: var(--ink); }
.newslist .news-card:hover { background: #f6f9ff; transform: translateY(-2px); }
.newslist .news-card .thumb { background: #e9f0fb; }
.newslist .news-card .info h4, .newslist .news-card .info h5 { color: var(--ink); font-size: 13px !important; font-weight: 800; }
.newslist .see-all { border: 1px dashed #8eb9ff; color: var(--blue); font-weight: 800; font-size: 12px; }
.newslist .see-all:hover { background: #edf4ff; color: var(--blue); }

/* ---------- Composants génériques repris en clair ---------- */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0,1fr)); }
.card { background: #fff; border: 1px solid #eef2f9; border-radius: 12px; box-shadow: var(--shadow); }
.thumb { background: #e9f0fb; }
.tag { background: var(--blue); color: #fff; font-size: 10px; letter-spacing: .6px; font-weight: 900; text-transform: uppercase; padding: 5px 9px; border-radius: 6px; }
.excerpt { color: #55719c; }
.meta { font-size: 12px; color: var(--muted); }
.card .content h2, .card .content h3 { color: var(--ink) !important; }

.btn-link { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--blue); font-weight: 800; white-space: nowrap; transition: gap .2s; }
.btn-link:hover { gap: 12px; }
.pill { display: inline-block; border-radius: 6px; background: var(--blue); padding: 5px 9px; font-size: 10px; font-weight: 900; color: #fff; line-height: 1.1; border: 0; }
.pill.red { background: #ff4148; }

/* ==========================================================================
   HERO — MATCHS DU JOUR
   ========================================================================== */
.hero { position: relative; overflow: hidden; background: linear-gradient(116deg, #eff6ff 0%, #fff 49%, #f1f7ff 100%); border-bottom: 1px solid #e0e9f7; border-top: 1px solid #e0e9f7; }
.hero:before, .hero:after, .manga-dots { content: ""; position: absolute; pointer-events: none; }
.hero:before { width: 235px; height: 310px; left: -40px; top: -72px; opacity: .34; transform: skewX(-24deg); background: repeating-linear-gradient(90deg, #0d66ef 0 12px, transparent 12px 20px, #0d66ef 20px 23px, transparent 23px 40px); }
.hero:after { width: 170px; height: 340px; right: -35px; top: -55px; opacity: .29; transform: skewX(-27deg); background: repeating-linear-gradient(90deg, #0b357d 0 12px, transparent 12px 23px, #1682fa 23px 27px, transparent 27px 45px); }
.manga-dots { width: 200px; height: 200px; right: 6%; top: -50px; opacity: .2; background-image: radial-gradient(#0568eb 1.1px, transparent 1.1px); background-size: 7px 7px; mask-image: linear-gradient(125deg, transparent 0%, #000 80%); -webkit-mask-image: linear-gradient(125deg, transparent 0%, #000 80%); }
.hero-inner { padding: 23px 0 25px; display: grid; grid-template-columns: 330px minmax(0, 1fr); align-items: center; gap: 30px; position: relative; z-index: 1; }
.hero-copy { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding-left: 12px; }
.hero-title, .section-heading { line-height: .95; letter-spacing: -1.2px; text-transform: uppercase; background: none; -webkit-text-fill-color: currentColor; color: var(--ink); }
.hero-title { font-size: clamp(40px, 4.2vw, 58px); transform: skew(-6deg); margin: 0; }
.hero-title span { display: block; white-space: nowrap; }
.hero-title span + span { color: var(--blue); }
.brush-underline { height: 9px; width: 180px; position: relative; margin: 18px 0 23px 21px; transform: skew(-30deg) rotate(-4deg); background: var(--red); clip-path: polygon(0 43%, 100% 0, 90% 67%, 1% 100%); }
.hero-copy p { font-size: 15px; color: #55719c; line-height: 1.35; margin: 0; max-width: 240px; }
.hero-copy .btn-link { margin-top: 14px; }

.match-list { display: flex; flex-direction: column; gap: 7px; }
.match-row {
    display: grid; grid-template-columns: 122px 67px minmax(110px, 1fr) 56px minmax(110px, 1fr) 112px 14px; align-items: center; gap: 12px;
    height: 46px; background: rgba(255,255,255,.94); padding: 0 15px; border: 1px solid #f0f3f9; border-radius: 10px;
    box-shadow: 0 3px 12px rgba(26,83,173,.035); transition: transform .18s, box-shadow .18s; color: var(--ink);
}
.match-row:hover { transform: translateX(3px); box-shadow: 0 7px 20px rgba(20,72,148,.12); }
.match-row .league { display: flex; align-items: center; gap: 9px; color: #4e6081; font-size: 11px; border-right: 1px solid #e3e9f4; height: 26px; min-width: 0; }
.match-row .league span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.match-row .league-logo { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 6px; background: #fff; border: 1px solid #e3e9f4; padding: 2px; object-fit: contain; }
.match-time { font-weight: 900; font-size: 15px; white-space: nowrap; color: var(--ink); }
.match-time.live { color: var(--red); }
.match-row .team { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; min-width: 0; }
.match-row .team.home { justify-content: flex-end; text-align: right; }
.match-row .team.away { justify-content: flex-start; }
.team-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crest { flex: none; width: 29px; height: 29px; border-radius: 50%; background: #fff; object-fit: contain; padding: 2px; box-shadow: 0 0 0 1px #dfe7f4; }
.match-row .vs {
    height: 28px; display: grid; place-items: center; background: var(--red); color: #fff; padding: 0;
    font-family: Impact, "Arial Black", sans-serif; font-style: italic; font-size: 18px; letter-spacing: 1px;
    transform: skew(-17deg); clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%); font-weight: 400;
}
.match-row .vs > span { transform: skew(17deg); white-space: nowrap; }
.match-row .vs.score { background: var(--ink); font-size: 15px; }
.match-row .vs.score.live { background: var(--red); }
.match-action { justify-self: end; border: none; background: #eaf2ff; color: #1266ef; border-radius: 99px; padding: 7px 11px; font-weight: 800; font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 112px; }
.match-action.live { background: #ffe9ea; color: #e3202a; }
.match-action.live:before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #ff3f46; margin-right: 5px; vertical-align: 1px; animation: blink-red 1.2s ease-in-out infinite; }
@keyframes blink-red { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.match-action.finished { background: #eef1f6; color: #5a6b8a; }
.chevron { color: #1f4884; font-size: 25px; font-weight: 400; line-height: 1; text-align: center; }
.hero-note { font-size: 10px; color: #9aa9c0; margin: 7px 3px 0; text-align: right; }
.no-match { background: rgba(255,255,255,.9); border: 1px dashed #8eb9ff; border-radius: 12px; padding: 28px; color: #61799d; text-align: center; font-weight: 700; }
/* Pas de match aujourd'hui : à la place du grand hero, une simple ligne discrète vers le calendrier. */
.hero-slim { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 14px; margin: 14px auto 6px; padding: 8px 14px; width: fit-content; max-width: 100%; border: 1px solid #e0e9f7; border-radius: 999px; background: #fff; font-size: 13px; color: #61799d; box-shadow: var(--shadow-xs, 0 1px 2px rgba(12,26,55,.06)); }
.hero-slim .hero-slim-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--blue); text-decoration: none; }
.hero-slim .hero-slim-link:hover { text-decoration: underline; }
.hero-slim .hero-slim-link span { transition: transform var(--fast, .16s) var(--ease, ease); }
.hero-slim .hero-slim-link:hover span { transform: translateX(3px); }

/* ==========================================================================
   SECTIONS ÉDITORIALES
   ========================================================================== */
.main-content { padding: 32px 0 56px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-heading { margin: 0; font-size: 34px; position: relative; display: inline-flex; gap: 10px; align-items: center; }
.section-heading:after { content: ""; height: 26px; width: 7px; background: var(--red); transform: skew(-29deg) rotate(20deg); margin-left: 4px; }
.section-heading.small { font-size: 25px; }
.section-heading.small:after { height: 21px; width: 5px; }

.latest-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.07fr) minmax(250px, .95fr); gap: 14px; align-items: stretch; }
.featured { position: relative; min-height: 323px; border-radius: var(--round); overflow: hidden; display: block; box-shadow: var(--shadow); background: #142343; }
.featured:after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3,13,34,.96) 0%, rgba(4,16,37,.81) 25%, rgba(7,22,48,.1) 73%); pointer-events: none; }
.featured img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; transition: transform .5s; }
.featured:hover img { transform: scale(1.06); }
.featured-content { position: absolute; z-index: 1; bottom: 0; left: 0; right: 0; padding: 21px; color: #fff; }
.featured h3 { font-size: clamp(21px, 2vw, 27px); line-height: 1.12; margin: 9px 0 7px; letter-spacing: -.65px; font-weight: 900; color: #fff; }
.featured p { color: #ecf2fa; font-size: 12px; line-height: 1.35; margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.featured .meta { color: #e1e9f5; display: flex; align-items: center; gap: 10px; font-size: 11px; }

.stories { display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 10px; }
.story { display: grid; grid-template-columns: 40% 1fr; gap: 11px; background: #fff; box-shadow: var(--shadow); border: 1px solid #eef2f9; border-radius: 12px; overflow: hidden; min-width: 0; transition: transform .2s; }
.story:hover, .actu-card:hover { transform: translateY(-3px); }
.story img { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.story-body { padding: 11px 11px 9px 0; display: flex; flex-direction: column; min-width: 0; }
.category { color: var(--red); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.story h3 { font-size: 13px; line-height: 1.25; margin: 4px 0 8px; font-weight: 900; letter-spacing: -.1px; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.story .meta { margin-top: auto; font-size: 10px; }

.trending { background: #fff; border-radius: var(--round); border: 1px solid #edf1f8; padding: 18px 15px 8px; box-shadow: var(--shadow); min-width: 0; }
.trending-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 8px; }
.trending-title { display: flex; align-items: center; gap: 7px; font-size: 24px; white-space: nowrap; }
.trending-title .fire { font-family: Arial, sans-serif; font-style: normal; font-size: 20px; }
.trending .btn-link { font-size: 10px; }
.trend { display: grid; grid-template-columns: 22px 70px 1fr 10px; gap: 9px; align-items: center; padding: 12px 0; border-top: 1px solid #eff2f8; }
.trend:first-of-type { border-top: 0; }
.number { display: grid; place-items: center; background: #edf4ff; border-radius: 50%; height: 23px; width: 23px; color: var(--blue); font-weight: 900; font-size: 12px; }
.trend img { width: 70px; height: 56px; object-fit: cover; border-radius: 8px; }
.trend p { font-weight: 800; font-size: 11px; line-height: 1.28; margin: 0 0 5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.trend small { color: #8596b4; font-size: 10px; }
.trend .chevron { font-size: 18px; }

.block-space { margin-top: 32px; }
.actu-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 13px; }
.actu-card { background: #fff; border-radius: 11px; overflow: hidden; border: 1px solid #eaf0f8; box-shadow: var(--shadow); display: block; min-width: 0; transition: transform .2s; }
.actu-card img { display: block; width: 100%; height: 110px; object-fit: cover; }
.actu-card-body { padding: 11px; }
.actu-card .category { font-size: 9px; }
.actu-card h3 { font-size: 12px; font-weight: 900; line-height: 1.23; margin: 5px 0 9px; min-height: 45px; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.actu-card .meta { font-size: 10px; gap: 7px; }

/* ---------- Dashboard : classements / podcasts / jeux ---------- */
.dashboard { display: grid; grid-template-columns: 1.13fr .88fr .96fr; gap: 16px; margin-top: 35px; }
.mini-head { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin-bottom: 13px; }
.mini-head h2 { font-size: 22px; line-height: 1; margin: 0; white-space: nowrap; color: var(--ink); }
.mini-head h2 b { font-family: Arial, sans-serif; font-style: normal; color: var(--blue); font-size: 21px; margin-right: 5px; }
.mini-head h2 b.red { color: #ff4247; }
.mini-head .btn-link { font-size: 10px; }
.widget { min-width: 0; }
.widget-body { background: #fff; border: 1px solid #edf1f8; border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; }
.tabs { display: flex; gap: 5px; overflow: auto; padding: 9px; scrollbar-width: thin; }
.tab { background: #edf4ff; color: #5a759e; border: 0; border-radius: 6px; padding: 8px 9px; white-space: nowrap; font-size: 10px; font-weight: 800; flex: 1; }
.tab[aria-selected="true"] { background: var(--blue); color: #fff; }
.widget-body table { width: 100%; border-collapse: collapse; text-align: left; font-size: 11px; }
.standings-table { padding: 1px 10px 11px; }
.standings-table[hidden] { display: none; }
.widget-body th { font-size: 10px; font-weight: 800; color: #8292af; padding: 6px 7px; }
.widget-body td { border-top: 1px solid #f0f3f9; padding: 6px 7px; font-weight: 800; }
.widget-body tbody tr:nth-child(odd) { background: #fafcff; }
.widget-body .rank { display: inline; width: auto; height: auto; background: none; box-shadow: none; color: var(--blue); font-weight: 900; }
.standings-team { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.standings-team span { overflow: hidden; text-overflow: ellipsis; max-width: 130px; }
.tiny-crest { height: 18px; width: 18px; border-radius: 50%; display: grid; place-items: center; flex: none; object-fit: contain; background: #fff; }
.table-right { text-align: right; }
.widget-empty { padding: 20px; color: #8596b4; font-size: 12px; text-align: center; }

.podcast-list { list-style: none; margin: 0; padding: 4px 0; }
.podcast-list li { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-top: 1px solid #f0f3f9; }
.podcast-list li:first-child { border-top: 0; }
.podcast-list .play { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #edf4ff; color: var(--blue); font-size: 11px; }
.podcast-list .ep-title { font-weight: 800; font-size: 11px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.podcast-list time { font-size: 10px; color: #8596b4; white-space: nowrap; }

.promo-card { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; padding: 14px; border-top: 1px solid #f0f3f9; transition: background .2s; }
.promo-card:first-child { border-top: 0; }
.promo-card:hover { background: #f6f9ff; }
.promo-icon { width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; background: #edf4ff; }
.promo-icon img { width: 30px; height: 30px; }
.promo-card h3 { margin: 0 0 3px; font-size: 14px; font-weight: 900; color: var(--ink); }
.promo-card p { margin: 0; font-size: 11px; color: #6680a6; line-height: 1.35; }

/* ---------- Prochains matchs ---------- */
.all-fixtures { margin-top: 30px; }
.fixtures { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.fixture { display: block; border: 1px solid #e8eff9; background: #fff; padding: 12px; border-radius: 10px; box-shadow: var(--shadow); transition: transform .2s; min-width: 0; }
.fixture:hover { transform: translateY(-3px); }
.fixture time { color: #859ab9; font-size: 10px; display: block; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fixture-line { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; margin-top: 6px; white-space: nowrap; min-width: 0; }
.fixture-line span { overflow: hidden; text-overflow: ellipsis; }
.fixture .tiny-crest { width: 21px; height: 21px; }

/* ---------- Pagination ---------- */
.pagination { grid-column: 1 / -1; margin-top: 10px; }
.pagination ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 10px 0 0; }
.pagination a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: #fff; border: 1px solid #e3ebf8; color: #5a759e; font-size: 13px; font-weight: 800; transition: .2s ease; box-shadow: none; }
.pagination a:hover, .pagination a.active { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(17,102,242,.25); transform: none; }
.pagination a.prev, .pagination a.next { font-size: 17px; font-weight: 900; }

/* ==========================================================================
   FOOTER + COOKIES
   ========================================================================== */
.footer, footer.footer { margin: 0; padding: 23px 0; background: #fff; border: 0; border-top: 1px solid #e5edf7; border-radius: 0; box-shadow: none; text-align: left; font-size: 11px; color: #8091ad; }
.footer-inner { display: flex; align-items: center; gap: 20px; justify-content: space-between; }
.footer .brand { font-size: 25px; }
.footer p, .footer nav, .footer small { margin: 0; color: #8091ad; font-size: 11px; }
.footer nav, .footer .footer-links { display: flex; flex-wrap: wrap; gap: 23px; justify-content: flex-start; }
.footer nav a, .footer-links a { color: #8091ad; }
.footer nav a:hover, .footer-links a:hover { color: var(--blue); }
.socials { display: flex; gap: 9px; }
.socials a { width: 27px; height: 27px; background: #edf4ff; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 12px; color: var(--ink); }

.cookie-banner { background: #fff; border: 1px solid var(--line); color: var(--ink); box-shadow: 0 14px 40px rgba(20,60,130,.18); border-radius: var(--round); }
.cookie-banner a { color: var(--blue); }
#accept-cookies { background: var(--blue); color: #fff; }
#decline-cookies { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.cookie-actions button:hover { box-shadow: 0 6px 16px rgba(17,102,242,.2); }

/* ==========================================================================
   PAGES EXISTANTES : remise en clair
   ========================================================================== */

.league-title { color: var(--ink); }
.ranking-table, .ranking-row, .ranking-header { color: var(--ink); }
.week-date { color: var(--ink); }
.layout-page > div > h2:first-child, .layout-page > h2 { font-family: Impact, "Arial Black", Arial, sans-serif; font-style: italic; font-weight: 900; text-transform: uppercase; letter-spacing: -.8px; font-size: 30px; margin: 0 0 16px; }
.icon { color: currentColor; }

/* Lecteur podcast (podcasts.css) en clair */
.episode-list { background: #fff; scrollbar-color: #c9d6ea transparent; border-color: var(--line); }
.episode-list::-webkit-scrollbar-thumb { background: #c9d6ea; }
.episode-item { background: #fff; border-bottom: 1px solid #eef2f9; color: var(--ink); }
.episode-item:hover { background: #f6f9ff; }
.episode-item.active { background: #edf4ff; }
.newslist .news-card .info h4, .newslist .news-card .info h5 { font-family: Arial, Helvetica, sans-serif; letter-spacing: 0; }

/* ==========================================================================
   MODERN POLISH — profondeur, ombres en couches, micro-animations (≤ 250 ms)
   ========================================================================== */
:root {
    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --shadow-xs: 0 1px 2px rgba(12,26,55,.05);
    --shadow-sm: 0 1px 2px rgba(12,26,55,.05), 0 4px 12px rgba(25,66,138,.06);
    --shadow: 0 1px 2px rgba(12,26,55,.04), 0 8px 24px rgba(25,66,138,.08);
    --shadow-md: 0 2px 4px rgba(12,26,55,.05), 0 14px 32px rgba(25,66,138,.12);
    --shadow-lg: 0 6px 12px rgba(12,26,55,.06), 0 24px 56px rgba(25,66,138,.16);
    --ring: 0 0 0 1px rgba(17,102,242,.10);
    --ease: cubic-bezier(.2,.7,.2,1);
    --fast: .16s;
    --quick: .24s;
}
body { font-family: var(--font); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body:before {
    content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
    background:
        radial-gradient(900px 480px at 8% -10%, rgba(17,102,242,.10), transparent 60%),
        radial-gradient(700px 420px at 100% 0%, rgba(255,63,70,.07), transparent 60%),
        var(--paper);
}
::selection { background: rgba(17,102,242,.18); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

/* ---------- Apparition en fondu (rapide, décalée) ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hero-inner, .section-head, .latest-grid, .actu-cards, .dashboard, .all-fixtures, .layout-page > div > *:not(.hero), .rightbar {
    animation: rise .45s var(--ease) both;
}
.latest-grid { animation-delay: .05s; }
.actu-cards { animation-delay: .08s; }
.dashboard { animation-delay: .1s; }
.match-row { animation: rise .4s var(--ease) both; }
.match-row:nth-child(2) { animation-delay: .05s; } .match-row:nth-child(3) { animation-delay: .1s; }
.match-row:nth-child(4) { animation-delay: .15s; } .match-row:nth-child(5) { animation-delay: .2s; }
.actu-card:nth-child(n+2) { animation: rise .4s var(--ease) both; }
.actu-card:nth-child(2) { animation-delay: .04s; } .actu-card:nth-child(3) { animation-delay: .08s; }
.actu-card:nth-child(4) { animation-delay: .12s; } .actu-card:nth-child(5) { animation-delay: .16s; } .actu-card:nth-child(6) { animation-delay: .2s; }

/* ---------- Topbar flottante translucide ---------- */
.topbar {
    position: sticky; top: 0; z-index: 40;
    background: rgba(255,255,255,.78);
    -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid rgba(228,234,243,.9);
    box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 8px 24px rgba(25,66,138,.06);
}
.brand { transition: transform var(--fast) var(--ease), filter var(--fast); text-shadow: 0 2px 0 rgba(255,67,75,.12), 0 8px 18px rgba(255,67,75,.18); }
.brand:hover { transform: skew(-6deg) translateY(-1px); filter: brightness(1.05); }
.nav a { font-weight: 700; color: #3b4b6b; }
.nav a:after { content: ""; position: absolute; bottom: 12px; left: 0; right: 0; height: 3px; border-radius: 8px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform var(--quick) var(--ease); }
.nav a:hover:after, .nav a.active:after { transform: scaleX(1); }
.nav a.active { color: var(--blue); }
.search-box { background: #f3f6fc; border-color: #e3eaf6; transition: box-shadow var(--fast), border-color var(--fast), background var(--fast); }
.search-box:focus-within { background: #fff; border-color: #9cc0ff; box-shadow: 0 0 0 4px rgba(17,102,242,.12); }
.lang-menu-btn, .menu-btn { background: linear-gradient(135deg, #0f3f8c, #1a5fd0); box-shadow: 0 6px 14px rgba(17,102,242,.28); transition: transform var(--fast) var(--ease), box-shadow var(--fast); }
.lang-menu-btn:hover, .menu-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 20px rgba(17,102,242,.35); background: linear-gradient(135deg, #1166f2, #2f86ff); }
.lang-menu-btn:active, .menu-btn:active { transform: translateY(0) scale(.96); }
.lang-switch { box-shadow: var(--shadow-lg); border-radius: 14px; }
.lang-switch a { transition: transform var(--fast) var(--ease); }
.lang-switch a:hover { transform: scale(1.12); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
#mobile-drawer.mobile-nav.open { animation: drop var(--quick) var(--ease) both; box-shadow: var(--shadow-lg); border-radius: 0 0 16px 16px; }

/* ---------- Chips pays ---------- */
.leagues-bar { background: rgba(255,255,255,.85); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.chip { box-shadow: var(--shadow-xs); transition: transform var(--fast) var(--ease), box-shadow var(--fast), background var(--fast), color var(--fast); }
.chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.chip:active { transform: translateY(0) scale(.97); }
.chip.active { background: linear-gradient(135deg, #1166f2, #2f86ff); box-shadow: 0 6px 16px rgba(17,102,242,.3); }
.chip img { transition: transform var(--fast) var(--ease); }
.chip:hover img { transform: scale(1.12) rotate(-4deg); }

/* ---------- Hero ---------- */
.hero { border-top: 0; background: linear-gradient(116deg, #eef5ff 0%, #ffffff 48%, #f0f6ff 100%); }
.hero-title { text-shadow: 0 2px 0 rgba(12,26,55,.06), 0 14px 30px rgba(12,26,55,.14); }
.hero-title span + span { text-shadow: 0 2px 0 rgba(17,102,242,.1), 0 14px 30px rgba(17,102,242,.25); }
.brush-underline { box-shadow: 0 8px 18px rgba(255,63,70,.3); }
.match-row {
    position: relative; overflow: hidden;
    background: rgba(255,255,255,.92); border: 1px solid rgba(231,237,247,.9);
    box-shadow: var(--shadow-sm);
    transition: transform var(--fast) var(--ease), box-shadow var(--fast), border-color var(--fast);
}
.match-row:before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--blue), var(--blue2)); transform: scaleY(0); transition: transform var(--fast) var(--ease); }
.match-row:hover { transform: translateX(4px); box-shadow: var(--shadow-md); border-color: #d9e6fb; }
.match-row:hover:before { transform: scaleY(1); }
.match-row .chevron { transition: transform var(--fast) var(--ease), color var(--fast); }
.match-row:hover .chevron { transform: translateX(3px); color: var(--blue); }
.match-row .vs { box-shadow: 0 6px 14px rgba(255,63,70,.28); }
.match-row .vs.score { box-shadow: 0 6px 14px rgba(12,26,55,.22); }
.match-row .vs.score.live { box-shadow: 0 6px 14px rgba(255,63,70,.32); animation: glow 1.6s ease-in-out infinite; }
@keyframes glow { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.12); } }
.crest { transition: transform var(--fast) var(--ease); }
.match-row:hover .crest { transform: scale(1.08); }
.match-action { transition: background var(--fast), color var(--fast); }
.match-row:hover .match-action { background: var(--blue); color: #fff; }
.match-row:hover .match-action.live { background: #e3202a; }

/* ---------- Titres de section ---------- */
.section-heading { text-shadow: 0 2px 0 rgba(12,26,55,.05); }
.section-heading:after { box-shadow: 0 4px 10px rgba(255,63,70,.35); }
.btn-link { position: relative; padding-bottom: 2px; }
.btn-link span, .btn-link:after { transition: transform var(--fast) var(--ease); }
.btn-link:hover { gap: 6px; color: #0b55d6; }
.btn-link:hover span { transform: translateX(5px); }

/* ---------- Cartes ---------- */
.featured, .story, .actu-card, .trending, .widget-body, .fixture, .panel, .card, .newslist .news-card {
    box-shadow: var(--shadow); border-color: rgba(231,237,247,.9);
    transition: transform var(--fast) var(--ease), box-shadow var(--fast), border-color var(--fast);
}
.featured { box-shadow: var(--shadow-md); }
.featured:after { background: linear-gradient(0deg, rgba(5,14,36,.96) 0%, rgba(6,18,42,.78) 30%, rgba(7,22,48,.08) 72%); }
.featured:before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.14) 50%, transparent 65%); transform: translateX(-60%); transition: transform .5s var(--ease), opacity .3s; }
.featured:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.featured:hover:before { opacity: 1; transform: translateX(60%); }
.featured h3 { text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.story:hover, .actu-card:hover, .fixture:hover, .newslist .news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d9e6fb; }
.story img, .actu-card img, .trend img, .newslist .news-card .thumb img { transition: transform .35s var(--ease); }
.story:hover img, .actu-card:hover img, .trend:hover img, .newslist .news-card:hover .thumb img { transform: scale(1.06); }
.actu-card { position: relative; }
.actu-card img { position: relative; }
.actu-card-body { position: relative; }
.actu-card:after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--blue2)); transform: scaleX(0); transform-origin: left; transition: transform var(--quick) var(--ease); }
.actu-card:hover:after { transform: scaleX(1); }
.story h3, .actu-card h3, .trend p { transition: color var(--fast); }
.story:hover h3, .actu-card:hover h3, .trend:hover p { color: var(--blue); }
.category { letter-spacing: .4px; }
.pill { box-shadow: 0 4px 12px rgba(17,102,242,.3); }
.trend { transition: background var(--fast), transform var(--fast) var(--ease); border-radius: 10px; margin: 0 -8px; padding-left: 8px; padding-right: 8px; }
.trend:hover { background: #f5f8ff; }
.trend .number { transition: transform var(--fast) var(--ease), background var(--fast), color var(--fast); }
.trend:hover .number { background: var(--blue); color: #fff; transform: scale(1.08); }
.trending-title .fire { display: inline-block; animation: flicker 2.4s ease-in-out infinite; }
@keyframes flicker { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.12) rotate(-6deg); } }

/* ---------- Widgets ---------- */
.widget-body { overflow: hidden; }
.tab { transition: background var(--fast), color var(--fast), transform var(--fast) var(--ease), box-shadow var(--fast); }
.tab:hover { background: #e2edff; color: var(--blue); }
.tab[aria-selected="true"] { background: linear-gradient(135deg, #1166f2, #2f86ff); box-shadow: 0 6px 14px rgba(17,102,242,.3); }
.widget-body tbody tr { transition: background var(--fast); }
.widget-body tbody tr:hover { background: #eef4ff; }
.tiny-crest { transition: transform var(--fast) var(--ease); }
.widget-body tbody tr:hover .tiny-crest { transform: scale(1.2); }
.promo-card, .podcast-list li { transition: background var(--fast), transform var(--fast) var(--ease); }
.promo-card:hover { background: #f3f7ff; }
.promo-card .promo-icon { transition: transform var(--fast) var(--ease), box-shadow var(--fast); background: linear-gradient(135deg, #e7efff, #f6f9ff); box-shadow: inset 0 0 0 1px rgba(17,102,242,.08); }
.promo-card:hover .promo-icon { transform: scale(1.06) rotate(-3deg); box-shadow: 0 8px 18px rgba(17,102,242,.18); }
.promo-card .chevron { transition: transform var(--fast) var(--ease), color var(--fast); }
.promo-card:hover .chevron { transform: translateX(4px); color: var(--blue); }
.podcast-list li:hover { background: #f6f9ff; }
.podcast-list .play { transition: transform var(--fast) var(--ease), background var(--fast), color var(--fast); }
.podcast-list li:hover .play { background: var(--blue); color: #fff; transform: scale(1.1); }
.fixture time { font-weight: 700; }

/* ---------- Pagination / boutons ---------- */
.pagination a { transition: transform var(--fast) var(--ease), box-shadow var(--fast), background var(--fast), color var(--fast); box-shadow: var(--shadow-xs); }
.pagination a:hover { transform: translateY(-2px); }
.pagination a.active { background: linear-gradient(135deg, #1166f2, #2f86ff); }
.see-all-button, .newslist .see-all { transition: transform var(--fast) var(--ease), background var(--fast); }
.newslist .see-all:hover { transform: translateY(-2px); }

/* ---------- Footer / cookies ---------- */
.footer { background: linear-gradient(180deg, #fff, #f6f9ff); }
.footer nav a, .footer-links a { transition: color var(--fast), transform var(--fast) var(--ease); display: inline-block; }
.footer nav a:hover, .footer-links a:hover { transform: translateY(-1px); }
@keyframes slideUp { from { opacity: 0; transform: translate(-50%, 16px); } to { opacity: 1; transform: translate(-50%, 0); } }
.cookie-banner { box-shadow: var(--shadow-lg); animation: slideUp .35s var(--ease) both; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); background: rgba(255,255,255,.92); }
/* Bannière masquée : l'animation ci-dessus (fill-mode both) imposait opacity:1 et rendait la bannière visible
   mais non cliquable (pointer-events:none de .hidden). On coupe l'animation et on la sort du flux de clic. */
.cookie-banner.hidden { animation: none !important; opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; transform: translate(-50%, 16px) !important; transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s; }
.cookie-actions button { transition: transform var(--fast) var(--ease), box-shadow var(--fast); }
.cookie-actions button:hover { transform: translateY(-2px); }
#accept-cookies { background: linear-gradient(135deg, #1166f2, #2f86ff); box-shadow: 0 6px 14px rgba(17,102,242,.3); }

/* ---------- Pages existantes ---------- */
.layout-page > div > h2:first-child, .layout-page > h2 { text-shadow: 0 2px 0 rgba(12,26,55,.05); }
.week-date { transition: transform var(--fast) var(--ease), box-shadow var(--fast); }
.week-date:hover { transform: translateY(-2px); }
.rightbar { box-shadow: var(--shadow); }
.episode-item { transition: background var(--fast), transform var(--fast) var(--ease); }

@media (prefers-reduced-motion: reduce) {
    .hero-inner, .section-head, .latest-grid, .actu-cards, .dashboard, .all-fixtures, .layout-page > div > *, .rightbar, .match-row, .actu-card, .cookie-banner, #mobile-drawer.mobile-nav.open { animation: none !important; opacity: 1; transform: none; }
}

/* ==========================================================================
   CLASSEMENTS "NÉON" (idees/classement-light-neon.html) — fragment classementBoard
   ========================================================================== */
.neon-table {
    --nb-ink: #071b51; --nb-royal: #0754f3; --nb-electric: #06bcff; --nb-red: #ff2852;
    --row-height: 76px;
    --cols: 80px minmax(235px, 1fr) repeat(4, 59px) 88px 72px 80px;
    color: var(--nb-ink);
}
.neon-table .table-scroll { overflow-x: auto; padding: 28px 16px 30px; scrollbar-color: #96c7f8 transparent; scrollbar-width: thin; margin: -10px -16px 0; }
.neon-table .board {
    position: relative; isolation: isolate; min-width: 895px; padding: 13px 14px 16px;
    border: 2px solid transparent; border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(248,252,255,.96), rgba(255,255,255,.99)) padding-box,
        linear-gradient(112deg, #ff2448 1%, #72d9ff 26%, #0152eb 56%, #00bbff 75%, #ff2852 100%) border-box;
    box-shadow:
        0 0 0 1px rgba(26,124,255,.18), 0 0 18px rgba(0,177,255,.55), 0 0 40px rgba(0,132,255,.19),
        -12px 0 31px -15px rgba(255,21,65,.7), 12px 0 35px -15px rgba(0,114,255,.9), inset 0 0 23px rgba(66,170,255,.15);
}
.neon-table .board::before, .neon-table .board::after {
    content: ""; position: absolute; pointer-events: none; z-index: -1; left: 4%; width: 92%; height: 5px; border-radius: 50%;
    background: linear-gradient(90deg, transparent, #f9fbff 10%, #00deff 25%, #fcffff 50%, #2180ff 73%, #ff5475 91%, transparent);
    box-shadow: 0 0 9px #fff, 0 0 21px #00b8ff, 0 0 42px rgba(13,128,255,.6);
}
.neon-table .board::before { top: -4px; }
.neon-table .board::after { bottom: -4px; }
.neon-table .thead, .neon-table .rank-row { display: grid; grid-template-columns: var(--cols); align-items: center; }
.neon-table .thead {
    position: relative; z-index: 1; height: 60px; padding: 0 7px; font-size: 16px; font-weight: 850;
    background: linear-gradient(180deg, rgba(239,249,255,.95), rgba(226,240,255,.8));
    border: 1px solid #8fd2ff; border-bottom: 3px solid #3acbff; border-radius: 10px 10px 4px 4px;
    box-shadow: 0 5px 10px rgba(0,114,255,.13), inset 0 0 18px rgba(255,255,255,.9), 0 0 13px rgba(0,170,255,.32);
    text-shadow: 0 1px 0 #fff;
}
.neon-table .thead > div { text-align: center; }
.neon-table .thead > div:nth-child(2) { text-align: left; padding-left: 4px; }
.neon-table .thead > div:first-child { font-size: 21px; }
.neon-table .rank-row {
    position: relative; z-index: 0; min-height: var(--row-height); margin-top: 5px; padding: 0 7px;
    border: 1px solid transparent; border-radius: 10px;
    background:
        linear-gradient(105deg, #f9fcff, #eff8ff 42%, #fbfdff 65%, #eaf5ff) padding-box,
        linear-gradient(90deg, rgba(255,60,101,.67) 0%, #53caff 14%, #7caaff 43%, #02c3ff 75%, #0261ff) border-box;
    box-shadow: 0 1px 0 #fff, 0 0 8px rgba(0,129,255,.30), 0 0 15px rgba(37,161,255,.13), inset 0 1px 7px rgba(255,255,255,.98), inset 0 -2px 7px rgba(30,124,255,.09);
    transition: transform .2s ease, box-shadow .2s ease; overflow: hidden;
    animation: rise .4s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms);
}
.neon-table .rank-row::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: .75;
    background: linear-gradient(118deg, rgba(255,255,255,.9) 3%, transparent 16%, rgba(255,255,255,.35) 48%, transparent 62%), linear-gradient(0deg, rgba(0,140,255,.12), transparent 38%);
}
.neon-table .rank-row::after {
    content: ""; position: absolute; left: 2%; right: 2%; bottom: -2px; height: 2px; pointer-events: none;
    background: linear-gradient(90deg, transparent, #04d8ff 28%, #fff 45%, #0086ff 66%, transparent);
    box-shadow: 0 0 8px #02beff, 0 0 16px rgba(0,123,255,.55);
}
.neon-table .rank-row > * { position: relative; z-index: 1; }
.neon-table .rank-row:hover { z-index: 2; transform: translateY(-1px); box-shadow: 0 0 11px rgba(3,160,255,.5), 0 0 28px rgba(2,117,255,.2), inset 0 1px 9px #fff; }
.neon-table .rank-row.first {
    min-height: 88px; color: #fff; border: 2px solid transparent;
    background:
        linear-gradient(100deg, #ed003d 0%, #ed103c 17%, #e93962 34%, #053bd2 51%, #0078ff 79%, #0044d4 100%) padding-box,
        linear-gradient(90deg, #ff3452, #fff 25%, #00e8ff 54%, #fff 78%, #0083ff) border-box;
    box-shadow: 0 0 0 1px rgba(255,255,255,.85), -8px 0 18px rgba(255,31,78,.48), 8px 0 18px rgba(0,135,255,.51), 0 0 20px rgba(12,148,255,.65), inset 0 1px 14px rgba(255,255,255,.27);
    text-shadow: 0 1px 3px rgba(1,32,110,.3);
}
.neon-table .rank-row.first::before {
    opacity: 1;
    background: radial-gradient(ellipse at 35% 7%, rgba(255,255,255,.4), transparent 23%), radial-gradient(ellipse at 70% 100%, rgba(20,235,255,.7), transparent 30%), linear-gradient(110deg, rgba(255,255,255,.17), transparent 20%, rgba(255,255,255,.20) 50%, transparent 66%);
}
.neon-table .rank-row.first::after { background: linear-gradient(90deg, #ff4267, #fff 24%, #03eaff 50%, #fff 77%, #0a85ff); height: 3px; box-shadow: 0 0 12px #fff, 0 0 22px #2fe0ff; }
.neon-table .rank { display: flex; justify-content: center; align-items: center; position: relative; width: auto; height: auto; background: none; box-shadow: none; color: inherit; font-size: 31px; font-weight: 950; font-style: italic; letter-spacing: -.07em; }
.neon-table .first .rank { font-size: 47px; filter: drop-shadow(0 0 9px #ffb1bf); }
.neon-table .crown { position: absolute; width: 36px; height: 31px; top: -15px; left: 2px; color: #fff5b9; filter: drop-shadow(0 0 8px #ffb6c6); transform: rotate(-12deg); }
.neon-table .team { display: flex; align-items: center; gap: 18px; min-width: 0; font-weight: 850; }
.neon-table .team strong { font-size: 21px; font-weight: 850; letter-spacing: -.035em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.neon-table .first .team strong { font-size: 26px; }
.neon-table .crest { display: block; width: 59px; height: 59px; object-fit: contain; flex: none; padding: 0; border-radius: 0; background: none; box-shadow: none; filter: drop-shadow(0 1px 1px rgba(10,53,127,.12)); }
.neon-table .first .crest { width: 65px; height: 65px; filter: drop-shadow(0 1px 7px rgba(255,255,255,.5)); }
.neon-table .num { font-size: 21px; font-weight: 780; text-align: center; font-variant-numeric: tabular-nums; letter-spacing: -.05em; }
.neon-table .num.goals { font-size: 19px; color: inherit; font-family: inherit; }
.neon-table .num.points { font-size: 35px; font-weight: 950; font-style: italic; letter-spacing: -.05em; color: #0036ad; text-shadow: 0 0 12px rgba(0,99,255,.20); }
.neon-table .first .num.points { font-size: 49px; color: #fff; text-shadow: 0 0 8px rgba(255,255,255,.94), 0 0 23px rgba(143,222,255,.6); }
.neon-table .stars { position: absolute; inset: 0; z-index: 5; pointer-events: none; overflow: visible; }
.neon-table .star {
    position: absolute; top: var(--y); left: var(--x); width: var(--s, 12px); height: var(--s, 12px); transform: translate(-50%,-50%);
    border-radius: 50%; background: #fff;
    box-shadow: 0 0 7px 2px #fff, 0 0 12px 4px var(--glow, #22caff), 0 0 28px 6px var(--glow, #22caff);
    animation: twinkle var(--t, 3.1s) ease-in-out infinite alternate; animation-delay: var(--delay, 0s);
}
.neon-table .star::before, .neon-table .star::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); border-radius: 60%; background: linear-gradient(90deg, transparent, var(--glow, #69ddff) 28%, #fff 50%, var(--glow, #69ddff) 72%, transparent); filter: drop-shadow(0 0 3px #fff); }
.neon-table .star::before { width: var(--ray, 75px); height: 3px; }
.neon-table .star::after { height: var(--ray, 75px); width: 3px; }
.neon-table .star.red { --glow: #ff3f68; }
.neon-table .star.small { --s: 5px; --ray: 36px; }
.neon-table .star.big { --s: 13px; --ray: 94px; }
@keyframes twinkle { from { opacity: .48; filter: brightness(.9); transform: translate(-50%,-50%) scale(.75); } to { opacity: 1; filter: brightness(1.15); transform: translate(-50%,-50%) scale(1.09); } }

/* Variante compacte : onglet livematch et widget de l'accueil */
.neon-table.compact { --row-height: 46px; --cols: 40px minmax(110px, 1fr) 38px 50px 56px; }
.neon-table.compact .table-scroll { padding: 16px 10px 18px; margin: 0; }
.neon-table.compact .board { min-width: 0; padding: 8px 8px 10px; border-radius: 14px; }
.neon-table.compact .full { display: none; }
.neon-table.compact .thead { height: 38px; font-size: 11px; padding: 0 4px; }
.neon-table.compact .thead > div:first-child { font-size: 14px; }
.neon-table.compact .rank-row { margin-top: 4px; padding: 0 4px; border-radius: 8px; }
.neon-table.compact .rank-row.first { min-height: 54px; }
.neon-table.compact .rank { font-size: 17px; }
.neon-table.compact .first .rank { font-size: 24px; }
.neon-table.compact .crown { width: 20px; height: 17px; top: -9px; left: 0; }
.neon-table.compact .team { gap: 8px; }
.neon-table.compact .team strong { font-size: 13px; }
.neon-table.compact .first .team strong { font-size: 15px; }
.neon-table.compact .crest { width: 26px; height: 26px; }
.neon-table.compact .first .crest { width: 32px; height: 32px; }
.neon-table.compact .num { font-size: 13px; }
.neon-table.compact .num.points { font-size: 19px; }
.neon-table.compact .first .num.points { font-size: 24px; }
.neon-table.compact .star.small, .neon-table.compact .star:not(.big) { display: none; }
.neon-table.compact .star.big { --s: 8px; --ray: 48px; }

.league-picker { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.neon-league-title { display: flex; align-items: center; gap: 12px; margin: 0 0 6px; font-family: Impact, "Arial Black", Arial, sans-serif; font-style: italic; font-size: 26px; text-transform: uppercase; letter-spacing: -.5px; }
.neon-league-title::before, .neon-league-title::after { display: none; }
.neon-league-title .league-logo { width: 42px; height: 42px; object-fit: contain; }
.neon-league-title small { font-family: var(--font); font-style: normal; text-transform: none; letter-spacing: 0; font-size: 12px; color: #71809b; font-weight: 700; margin-left: 6px; }
.classement-tab .league-title { display: flex; align-items: center; gap: 10px; margin: 10px 0 0; font-weight: 800; }
.classement-tab .league-logo { width: 32px; height: 32px; object-fit: contain; }

@media (max-width: 1050px) { .neon-table .table-scroll { padding: 22px 12px; } .neon-table .board { padding: 10px; } .neon-table .team strong { font-size: 18px; } }
@media (max-width: 1100px) {
    .neon-table:not(.compact) { --row-height: 60px; --cols: 52px minmax(130px, 1fr) 40px 40px 40px 40px 60px 64px; }
    .neon-table:not(.compact) .board { min-width: 0; }
    .neon-table:not(.compact) .goals { display: none; }
    .neon-table:not(.compact) .rank { font-size: 24px; }
    .neon-table:not(.compact) .first .rank { font-size: 34px; }
    .neon-table:not(.compact) .crest { width: 42px; height: 42px; }
    .neon-table:not(.compact) .first .crest { width: 48px; height: 48px; }
    .neon-table:not(.compact) .num { font-size: 17px; }
    .neon-table:not(.compact) .num.points { font-size: 26px; }
    .neon-table:not(.compact) .first .num.points { font-size: 34px; }
    .neon-table:not(.compact) .rank-row.first { min-height: 72px; }
}
@media (max-width: 560px) {
    .neon-table:not(.compact) { --cols: 40px minmax(100px, 1fr) 36px 48px 54px; --row-height: 52px; }
    .neon-table:not(.compact) .full { display: none; }
    .neon-table:not(.compact) .team strong { font-size: 14px; }
    .neon-table:not(.compact) .crest { width: 32px; height: 32px; }
    .neon-table:not(.compact) .thead { font-size: 12px; height: 44px; }
}
@media (max-width: 650px) { .neon-table .table-scroll { padding: 20px 10px; } }
@media (prefers-reduced-motion: reduce) { .neon-table .star { animation: none; } .neon-table .rank-row { transition: none; animation: none; } }

/* ==========================================================================
   PAGES ARTICLE (.art2 / .art3) — version claire et moderne
   ========================================================================== */
.art2.art2, .art3.art3, .layout-page .art2, .layout-page .art3 {
    --navy: #fff; --panel: #fff; --card: #fff; --surface: #fff; --bg: var(--paper);
    --green: #1166f2; --green2: #2f86ff; --cyan: #1166f2; --purple: #2f86ff; --pink: #ff3f46; --gold: #e0a100;
    --white: var(--ink); --text: var(--ink); --muted: #6b7a99; --border: #e7edf7;
    --glow-c: rgba(17,102,242,.14); --glow-p: rgba(47,134,255,.14); --r: 16px; --rSm: 8px;
    font-family: var(--font);
}
.art2 article.panel, .art3 article.panel, .art2 .faq.panel, .art3 .game-panel, .art3 .related-wrap {
    background: #fff !important; background-image: none !important; border: 1px solid #e7edf7 !important; border-radius: 18px !important;
    box-shadow: var(--shadow) !important; animation: rise .45s var(--ease) both !important;
}
.art2 article.panel::before, .art3 article.panel::before, .art2 .faq.panel::before { animation: none !important; }
.art2 article.panel::before { height: 4px; background: linear-gradient(90deg, var(--red), var(--blue) 60%, var(--blue2)); }
.art3 article.panel::before { height: 4px; opacity: 1 !important; background: linear-gradient(90deg, var(--red), var(--blue) 60%, var(--blue2)); animation: none !important; top: 0 !important; }
.art2 article.panel::after, .art3 article.panel::after { display: none !important; }
.art2 .faq.panel::before { width: 4px; background: linear-gradient(180deg, var(--blue), var(--blue2)); }
.art2 .breadcrumb { color: #8091ad; letter-spacing: .8px; font-size: 11px; }
.art2 .breadcrumb a { color: var(--blue); }
/* Titre d'article : lisibilité avant tout (Inter très gras, casse normale, interligne confortable,
   pas d'ombre). Le trait rouge en dessous garde la touche manga du site. */
.art2 article.panel h1, .art3 article.panel h1 {
    font-family: var(--font), Inter, "Segoe UI", Arial, sans-serif !important; font-style: normal !important; font-weight: 800 !important;
    text-transform: none !important; letter-spacing: -.02em !important; font-size: clamp(1.75rem, 1.1rem + 1.9vw, 2.6rem) !important;
    color: var(--ink) !important; -webkit-text-fill-color: var(--ink) !important; text-shadow: none !important; filter: none !important;
    animation: none !important; line-height: 1.18 !important; text-align: left !important; margin: 0 0 18px !important; max-width: 30ch !important;
    text-wrap: balance; overflow-wrap: anywhere;
}
.art2 article.panel h1::after { display: block; width: 72px; height: 6px; margin: 16px 0 0 !important; border-radius: 0; background: var(--red); clip-path: polygon(0 43%, 100% 0, 90% 67%, 1% 100%); transform: skew(-30deg) rotate(-3deg); box-shadow: 0 6px 14px rgba(255,63,70,.3); animation: none; }
.art2 header { text-align: left !important; padding: 0; }
.art2 .published-date, .art3 .hud-bar { font-family: var(--font) !important; letter-spacing: 0 !important; text-transform: none !important; color: #71809b !important; font-size: 14px !important; font-weight: 600 !important; text-shadow: none; }
.art2 .published-date::before { background: var(--blue); animation: none; box-shadow: 0 0 0 4px rgba(17,102,242,.15); }
.art3 .hud-bar { border-bottom: 1px solid #eef2f9; padding-bottom: 10px; margin-bottom: 16px; }
.art3 .hud-live { color: var(--red); animation: none; text-shadow: none; }
.art3 .hud-section { color: var(--blue); text-shadow: none; }
.art3 .xp-row { display: none; }
.art2 .imageZoomable, .art3 .imageZoomable { border-radius: 16px !important; box-shadow: var(--shadow-md) !important; transition: transform var(--quick) var(--ease), box-shadow var(--quick) !important; }
.art2 .imageZoomable::before, .art3 .imageZoomable::before, .art3 .imageZoomable::after { display: none !important; }
.art2 .imageZoomable::after { background: linear-gradient(to top, rgba(12,26,55,.28), transparent 50%); }
.art2 .imageZoomable:hover, .art3 .imageZoomable:hover { transform: translateY(-4px) !important; box-shadow: var(--shadow-lg) !important; }
.art2 figcaption, .art3 figcaption { color: #8091ad; font-size: 12px; font-style: italic; letter-spacing: 0; }
.art2 .share-btn, .art3 .share-btn {
    width: auto !important; height: 40px !important; padding: 0 16px !important; border-radius: 999px !important; gap: 8px;
    background: linear-gradient(135deg, #1166f2, #2f86ff) !important; color: #fff !important; border: 0 !important;
    box-shadow: 0 8px 18px rgba(17,102,242,.3) !important; font-weight: 800; font-size: 12px; text-shadow: none;
    transition: transform var(--fast) var(--ease), box-shadow var(--fast) !important; clip-path: none !important;
}
.art2 .share-btn::before, .art3 .share-btn::before { display: none !important; }
.art2 .share-btn:hover, .art3 .share-btn:hover { transform: translateY(-2px) !important; box-shadow: 0 12px 24px rgba(17,102,242,.38) !important; color: #fff !important; }
.art2 .share-btn::after { content: "Partager"; }
.art2 .article-content p, .art3 .article-content p { color: #1f2c4a !important; -webkit-text-fill-color: #1f2c4a !important; font-size: 17px; line-height: 1.8; }
.art2 .article-content h2, .art3 .article-content h2 {
    font-family: Impact, "Arial Black", Arial, sans-serif !important; font-style: italic; letter-spacing: -.5px !important; text-transform: uppercase;
    color: var(--ink) !important; -webkit-text-fill-color: var(--ink) !important; border-left: 5px solid var(--red) !important; padding-left: 14px !important;
    box-shadow: none !important; text-shadow: none !important; animation: none !important; margin: 36px 0 16px !important;
}
.art2 .article-content h2::before, .art3 .article-content h2::before { display: none !important; }
.art2 .article-content a, .art3 .article-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.art2 .article-content img, .art3 .article-content img { max-width: 100%; height: auto; border-radius: 14px; box-shadow: var(--shadow); }
.art2 .section-title, .art3 .section-title, .art2 .related-heading, .art3 .related-heading {
    font-family: Impact, "Arial Black", Arial, sans-serif !important; font-style: italic; font-size: 22px !important; letter-spacing: -.5px !important;
    text-transform: uppercase; color: var(--ink) !important; -webkit-text-fill-color: var(--ink) !important; text-shadow: none !important;
    border-bottom: 1px solid #eef2f9 !important; padding-bottom: 12px !important; margin-bottom: 18px !important; display: flex !important; align-items: center; gap: 10px;
}
.art2 .section-title::after, .art3 .section-title::after, .art2 .related-heading::after, .art3 .related-heading::after {
    content: "" !important; display: block !important; height: 18px; width: 5px; background: var(--red); transform: skew(-29deg) rotate(20deg); box-shadow: 0 4px 10px rgba(255,63,70,.35);
}
.art3 .section-title::before, .art3 .related-heading::before { display: none !important; }
.art2 .pitch-line { background: linear-gradient(90deg, var(--blue), rgba(17,102,242,.25) 60%, transparent); }
.art2 .faq-item, .art3 .faq-item { border-bottom: 1px solid #eef2f9 !important; border-radius: 10px; padding: 14px 10px !important; margin: 0 -10px 6px !important; transition: background var(--fast); }
.art2 .faq-item:hover, .art3 .faq-item:hover { background: #f6f9ff !important; }
.art2 .faq-item h3, .art3 .faq-item h3 { color: var(--ink) !important; -webkit-text-fill-color: var(--ink) !important; font-family: var(--font) !important; font-weight: 800; font-size: 15px !important; text-shadow: none !important; }
.art2 .faq-item h3::before { background: var(--blue); color: #fff; border-radius: 6px; font-family: var(--font); }
.art3 .faq-item::before { color: var(--blue) !important; }
.art2 .faq-item p, .art3 .faq-item p { color: #55719c !important; -webkit-text-fill-color: #55719c !important; font-family: var(--font) !important; }
.art2 .author-row, .art3 .player-card { background: #f6f9ff !important; border: 1px solid #e7edf7 !important; border-radius: 14px !important; padding: 16px !important; box-shadow: none !important; }
.art3 .player-card::after, .art3 .avatar-ring::after { display: none !important; }
.art2 .avatar, .art3 .avatar { border: 3px solid #fff !important; box-shadow: 0 8px 20px rgba(17,102,242,.22), 0 0 0 2px var(--blue) !important; animation: none !important; }
.art2 .author-name.manga, .art3 .author-name.manga { color: var(--ink) !important; -webkit-text-fill-color: var(--ink) !important; font-family: Impact, "Arial Black", Arial, sans-serif !important; font-style: italic; text-shadow: none !important; }
.art2 .author-row p, .art3 .player-card p { color: #55719c !important; font-family: var(--font) !important; }
.art2 .article-grid, .art3 .article-grid { gap: 14px; }
.art2 .article-box, .art3 .article-box {
    background: #fff !important; background-image: none !important; border: 1px solid #eaf0f8 !important; border-radius: 12px !important; box-shadow: var(--shadow) !important;
    transition: transform var(--fast) var(--ease), box-shadow var(--fast), border-color var(--fast) !important; clip-path: none !important;
}
.art2 .article-box::before, .art3 .article-box::before, .art2 .article-box::after, .art3 .article-box::after { display: none !important; }
.art2 .article-link:is(:hover,:focus-visible) .article-box, .art3 .article-link:is(:hover,:focus-visible) .article-box { transform: translateY(-4px) !important; box-shadow: var(--shadow-md) !important; border-color: #d9e6fb !important; }
.art2 .article-image, .art3 .article-image { background: #e9f0fb !important; }
.art2 .article-image img, .art3 .article-image img { filter: none !important; transition: transform .35s var(--ease) !important; }
.art2 .article-link:is(:hover,:focus-visible) .article-image img, .art3 .article-link:is(:hover,:focus-visible) .article-image img { transform: scale(1.06); filter: none !important; }
.art2 .article-body, .art3 .article-body { border-top: 0 !important; padding: 11px 12px 14px !important; }
.art2 .article-label, .art3 .article-label { font-family: var(--font) !important; font-size: 9px !important; letter-spacing: .4px !important; color: var(--red) !important; background: none !important; border: 0 !important; padding: 0 !important; text-shadow: none !important; }
.art2 .article-title, .art3 .article-title { color: var(--ink) !important; -webkit-text-fill-color: var(--ink) !important; font-family: var(--font) !important; font-weight: 900 !important; font-size: 13px !important; line-height: 1.3 !important; text-shadow: none !important; transition: color var(--fast); }
.art2 .article-link:hover .article-title, .art3 .article-link:hover .article-title { color: var(--blue) !important; -webkit-text-fill-color: var(--blue) !important; }
.art3 .article-cta { color: var(--blue) !important; font-family: var(--font) !important; text-shadow: none !important; }
.art2 .fullwidth-video, .art3 .fullwidth-video { border-radius: 14px !important; box-shadow: var(--shadow-md) !important; border: 1px solid #e7edf7 !important; }
.art3 .fullwidth-video::before { display: none !important; }
.art2 .faq.panel > *, .art2 article.panel > *, .art3 article.panel > * { position: relative; z-index: 1; }
@media (max-width: 600px) { .art2 article.panel h1, .art3 article.panel h1 { font-size: clamp(1.4rem, 5.6vw, 1.8rem) !important; letter-spacing: -.01em !important; line-height: 1.22 !important; max-width: none !important; } }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
    .container, .shell { width: min(1120px, calc(100% - 40px)); }
    .tagline { display: none; }
    .hero-inner { grid-template-columns: 290px 1fr; gap: 15px; }
    .match-row { grid-template-columns: 100px 52px minmax(80px, 1fr) 43px minmax(80px, 1fr) 82px 10px; gap: 7px; padding: 0 9px; }
    .match-row .team { font-size: 11px; gap: 6px; }
    .crest { width: 26px; height: 26px; }
    .match-action { font-size: 9px; padding: 7px 8px; max-width: 82px; }
    .latest-grid { grid-template-columns: 1.5fr 1fr 0.95fr; }
    .trend { grid-template-columns: 20px 52px 1fr; gap: 7px; }
    .trend .chevron { display: none; }
    .trend img { width: 52px; height: 49px; }
    .trending-title { font-size: 21px; }
    .mini-head h2 { font-size: 18px; }
    .mini-head .btn-link { font-size: 9px; }
}
@media (max-width: 1024px) {
    .shell.has-aside { grid-template-columns: minmax(0, 1fr); }
    .rightbar { position: static; }
}
@media (max-width: 900px) {
    .topbar-inner { gap: 14px; }
    .nav { gap: 16px; font-size: 12px; }
    .search-box { max-width: 160px; }
    .hero-inner { grid-template-columns: 1fr; padding: 25px 0; }
    .hero-copy { align-items: flex-start; padding: 0 6px; position: relative; }
    .hero-title { font-size: 46px; display: flex; gap: 12px; }
    .brush-underline { position: absolute; top: 54px; left: 30px; width: 145px; margin: 0; }
    .hero-copy p { max-width: none; margin: 22px 0 11px; }
    .latest-grid { grid-template-columns: 1.4fr 1fr; }
    .trending { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
    .trending-head { grid-column: 1 / -1; }
    .trend:nth-of-type(2) { border-top: none; }
    .dashboard { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dashboard .widget:last-child { grid-column: 1 / -1; }
    .fixtures { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer-inner { flex-wrap: wrap; }
}
@media (max-width: 768px) {
    .nav { display: none; }
    .menu-btn { display: grid; background: #eaf2ff; color: #12458a; }
    .search-box { margin-left: auto; }
    #mobile-drawer.mobile-nav.open {
        display: flex !important; position: absolute; top: 100%; left: 0; right: 0; background: #fff;
        flex-direction: column; box-shadow: 0 15px 25px rgba(0,0,0,.07); padding: 14px 22px; gap: 14px;
        font-size: 14px; font-weight: 800; border-bottom: 1px solid #e4eaf3; z-index: 30; max-height: calc(100vh - 70px); overflow: auto;
    }
    .mobile-nav a { display: flex; align-items: center; gap: 10px; }
    .mobile-nav a.active { color: var(--blue); }
    .mobile-nav img { width: 22px; height: 22px; border-radius: 50%; }
    .mobile-nav .mobile-sep { height: 1px; background: #eef2f9; }
}
@media (max-width: 650px) {
    .container, .shell { width: calc(100% - 28px); }
    .topbar { height: 62px; }
    .brand { font-size: 29px; }
    .search-box { max-width: 43px; padding: 0 11px; }
    .search-box:focus-within { max-width: 180px; position: absolute; right: 108px; left: 103px; background: #fff; z-index: 10; }
    .search-box input { width: 0; }
    .search-box:focus-within input { width: 100%; }
    .lang-menu-btn, .menu-btn { width: 35px; height: 35px; }
    .hero:before { left: -155px; }
    .hero:after { right: -140px; }
    .hero-title { font-size: 41px; }
    .hero-copy p { font-size: 13px; }
    .brush-underline { top: 48px; }
    .match-row { grid-template-columns: 52px minmax(0, 1fr) 36px minmax(0, 1fr) 14px; gap: 5px; height: 63px; padding: 6px 9px; }
    .match-row .league { grid-row: 1 / 3; display: flex; flex-direction: column; gap: 3px; align-items: center; justify-content: center; font-size: 8px; line-height: 1; border-right: 1px solid #e7edf7; padding-right: 4px; height: 46px; text-align: center; }
    .match-row .league span:last-child { max-width: 46px; }
    .match-row .league-logo { height: 20px; width: 20px; }
    .match-time { grid-column: 2 / 5; grid-row: 1; font-size: 10px; color: #7d91af; justify-self: center; margin-top: 1px; }
    .match-row .team { grid-row: 2; font-size: 10px; gap: 4px; }
    .match-row .team.home { grid-column: 2; }
    .match-row .team.away { grid-column: 4; }
    .crest { width: 23px; height: 23px; }
    .match-row .vs { grid-column: 3; grid-row: 2; height: 24px; font-size: 14px; }
    .match-row .vs.score { font-size: 12px; }
    .match-action { display: none; }
    .match-row > .chevron { grid-row: 1 / 3; grid-column: 5; font-size: 20px; }
    .hero-note { font-size: 9px; }
    .main-content, .shell { padding: 25px 0 40px; }
    .section-heading { font-size: 26px; }
    .section-heading:after { height: 20px; }
    .section-heading.small { font-size: 25px; }
    .section-head { align-items: center; }
    .section-head > .btn-link { font-size: 10px; }
    .latest-grid { grid-template-columns: 1fr; }
    .featured { min-height: 360px; }
    .featured h3 { font-size: 24px; }
    .story { grid-template-columns: 39% 1fr; min-height: 100px; }
    .stories { grid-template-rows: repeat(3, minmax(100px, auto)); }
    .story h3 { font-size: 14px; }
    .trending { display: block; }
    .trend:nth-of-type(2) { border-top: 1px solid #eff2f8; }
    .actu-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .actu-card img { height: 112px; }
    .dashboard { grid-template-columns: 1fr; }
    .dashboard .widget:last-child { grid-column: auto; }
    .fixtures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-inner { justify-content: center; text-align: center; gap: 11px; }
    .footer nav, .footer .footer-links { justify-content: center; gap: 10px 17px; width: 100%; }
    .grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *:before, *:after { transition: none !important; animation: none !important; }
}
