/* ============================================================
   ActuLFC — Design System v3
   Structure : FootMarseille · Qualité UI : Footactu · Couleurs : Liverpool
   Mobile-first · App-like · Épuré
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=Bebas+Neue&display=swap');

/* ── Variables ── */
:root {
  /* Palette Liverpool */
  --red:        #C8102E;
  --red-dk:     #a00d24;
  --red-lt:     #fdf0f2;
  --red-mid:    rgba(200,16,46,.12);

  /* Neutres */
  --bg:         #f2f2f5;
  --surface:    #ffffff;
  --surface2:   #f0f0f4;
  --border:     #e4e4ea;
  --text:       #111116;
  --text2:      #42424a;
  --muted:      #86868e;

  /* Typo */
  --font:         'Figtree', system-ui, sans-serif;
  --font-display: 'Bebas Neue', 'Figtree', sans-serif;

  /* Rayons */
  --radius-sm:  8px;
  --radius:     14px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  /* Ombres */
  --shadow-sm:  0 1px 4px rgba(0,0,0,.05), 0 1px 2px rgba(0,0,0,.04);
  --shadow:     0 6px 20px rgba(0,0,0,.07), 0 2px 6px rgba(0,0,0,.04);
  --shadow-lg:  0 16px 48px rgba(0,0,0,.10), 0 4px 16px rgba(0,0,0,.06);

  /* Layout */
  --nav-h:      56px;
  --tab-h:      64px;
  --max-w:      720px;
  --side-w:     300px;

  /* Transitions */
  --ease:        cubic-bezier(.25,.1,.25,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  padding-bottom: var(--tab-h);
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 1024px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── Conteneur ── */
.lfc-container {
  max-width: calc(var(--max-w) + var(--side-w) + 48px);
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px)  { .lfc-container { padding: 0 24px; } }
@media (min-width: 1200px) { .lfc-container { padding: 0 48px; } }

/* compatibilité ancien .container */
.container { max-width: calc(var(--max-w) + var(--side-w) + 48px); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px)  { .container { padding: 0 24px; } }
@media (min-width: 1200px) { .container { padding: 0 48px; } }

/* ── Layout principal ── */
.lfc-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding-top: calc(var(--nav-h) + 16px);
  padding-bottom: 24px;
}
@media (min-width: 1024px) {
  .lfc-layout {
    grid-template-columns: var(--max-w) var(--side-w);
    gap: 24px;
    align-items: start;
  }
}

/* ============================================================
   TOP NAV
   ============================================================ */
.lfc-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background .2s, box-shadow .2s;
}
.lfc-header.scrolled {
  background: rgba(255,255,255,.96);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.lfc-header__inner {
  width: 100%;
  max-width: calc(var(--max-w) + var(--side-w) + 48px);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
@media (min-width: 768px)  { .lfc-header__inner { padding: 0 24px; } }
@media (min-width: 1200px) { .lfc-header__inner { padding: 0 48px; } }

/* Logo */
.lfc-header__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}
.lfc-header__logo-mark {
  width: 32px; height: 32px;
  background: var(--red);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  color: #fff;
  font-size: .85rem;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px rgba(200,16,46,.35);
  flex-shrink: 0;
}
.lfc-header__logo-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 1.5px;
  color: var(--text);
  line-height: 1;
}
.lfc-header__logo-text span { color: var(--red); }

/* Nav desktop */
.lfc-nav { display: none; align-items: center; gap: 2px; margin-left: auto; }
@media (min-width: 1024px) { .lfc-nav { display: flex; } }

.lfc-nav__list { display: flex; align-items: center; gap: 2px; list-style: none; }
.lfc-nav__item { position: relative; }
.lfc-nav__link {
  display: block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: .84rem;
  font-weight: 500;
  color: var(--text2);
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.lfc-nav__link:hover,
.lfc-nav__item.current-menu-item .lfc-nav__link {
  background: var(--surface2);
  color: var(--text);
}
.lfc-nav__item.current-menu-item .lfc-nav__link { font-weight: 700; }

/* Sous-menu */
.lfc-nav__sub {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  list-style: none;
  min-width: 180px;
  box-shadow: var(--shadow-lg);
  z-index: 200;
  padding: 6px;
}
.lfc-nav__item:hover .lfc-nav__sub { display: block; }
.lfc-nav__sub .lfc-nav__link { color: var(--text2); border-radius: var(--radius-sm); }
.lfc-nav__sub .lfc-nav__link:hover { background: var(--surface2); color: var(--red); }

/* Actions header */
.lfc-header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
@media (min-width: 1024px) { .lfc-header__actions { margin-left: 0; } }

.lfc-search-toggle {
  display: flex; align-items: center; gap: 6px;
  background: var(--surface2);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: .84rem;
  color: var(--muted);
  cursor: pointer;
  transition: background .15s;
  border: none;
}
.lfc-search-toggle:hover { background: var(--border); }

/* ============================================================
   BOTTOM NAV MOBILE
   ============================================================ */
.lfc-mobile-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--tab-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid var(--border);
  z-index: 100;
  display: flex;
  align-items: stretch;
  padding-bottom: env(safe-area-inset-bottom);
}
@media (min-width: 1024px) { .lfc-mobile-nav { display: none !important; } }

.lfc-mobile-nav__list { display: flex; width: 100%; list-style: none; }
.lfc-mobile-nav__item { flex: 1; }

.lfc-mobile-nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 3px;
  text-decoration: none;
  color: var(--muted);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  padding: 6px 4px;
  transition: color .18s var(--ease);
  position: relative;
  -webkit-tap-highlight-color: transparent;
  background: none;
  border: none;
  cursor: pointer;
  width: 100%;
}
.lfc-mobile-nav__link svg { transition: transform .2s var(--ease-spring); }
.lfc-mobile-nav__item.active .lfc-mobile-nav__link,
.lfc-mobile-nav__link:hover { color: var(--red); }
.lfc-mobile-nav__item.active .lfc-mobile-nav__link::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 28px; height: 3px;
  background: var(--red);
  border-radius: 0 0 3px 3px;
}
.lfc-mobile-nav__item.active .lfc-mobile-nav__link svg { transform: scale(1.12); }

/* ============================================================
   SEARCH OVERLAY
   ============================================================ */
.lfc-search-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(17,17,22,.6);
  backdrop-filter: blur(6px);
  z-index: 999;
  padding: calc(var(--nav-h) + 16px) 16px 0;
}
.lfc-search-overlay.open { display: block; }

.lfc-search-overlay__box { max-width: 600px; margin: 0 auto; }
.lfc-search-overlay__input {
  width: 100%;
  font-family: var(--font);
  font-size: 1rem;
  padding: 14px 18px;
  border: none;
  border-radius: var(--radius) var(--radius) 0 0;
  outline: none;
  background: var(--surface);
  color: var(--text);
}
.lfc-search-results {
  background: var(--surface);
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.lfc-search-result-item {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 18px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: background .12s;
  font-size: .88rem;
  font-weight: 500;
}
.lfc-search-result-item:hover { background: var(--surface2); }
.lfc-search-result-item:last-child { border-bottom: none; }
.lfc-search-result-item img {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface2);
  flex-shrink: 0;
  border: 1.5px solid var(--border);
}

/* ============================================================
   CARDS ARTICLES
   ============================================================ */
.lfc-posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 640px) {
  .lfc-posts-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Card standard */
.lfc-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
}
.lfc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.lfc-card:active { transform: translateY(-1px); transition-duration: .08s; }

.lfc-card__thumb {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--surface2);
  position: relative;
  flex-shrink: 0;
}
.lfc-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s var(--ease);
}
.lfc-card:hover .lfc-card__thumb img { transform: scale(1.04); }

.lfc-card__cat {
  position: absolute; top: 10px; left: 10px;
  background: var(--red);
  color: #fff;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 20px;
}

.lfc-card__body {
  padding: 14px 16px 16px;
  flex: 1; display: flex; flex-direction: column;
}

.lfc-card__cats {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-bottom: 7px;
}
.lfc-card__cat-label {
  font-size: .65rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.lfc-card__title {
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.38;
  letter-spacing: -.01em;
  color: var(--text);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lfc-card__title a { color: inherit; }
.lfc-card__title a:hover { color: var(--red); }

.lfc-card__excerpt {
  font-size: .82rem;
  color: var(--text2);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
}

.lfc-card__meta {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: .72rem;
  color: var(--muted);
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.lfc-card__meta-dot {
  width: 3px; height: 3px;
  background: var(--border);
  border-radius: 50%;
}
.lfc-card__author { font-weight: 600; color: var(--red); }

/* Card featured — 1er article (pleine largeur, image à gauche) */
.lfc-card--featured {
  grid-column: 1 / -1;
  flex-direction: row;
}
@media (max-width: 540px) { .lfc-card--featured { flex-direction: column; } }

.lfc-card--featured .lfc-card__thumb {
  aspect-ratio: auto;
  flex: 0 0 46%;
  min-height: 200px;
}
.lfc-card--featured .lfc-card__body { padding: 22px; }
.lfc-card--featured .lfc-card__title {
  font-size: 1.15rem;
  -webkit-line-clamp: 4;
}
.lfc-card--featured .lfc-card__excerpt { display: block; }

/* Article row (liste latérale) */
.lfc-article-row {
  display: flex; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: opacity .15s;
}
.lfc-article-row:last-child { border-bottom: none; }
.lfc-article-row:hover { opacity: .85; }

.lfc-article-row__thumb {
  width: 72px; height: 54px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--surface2);
}
.lfc-article-row__title {
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 3px;
}
.lfc-article-row__meta { font-size: .7rem; color: var(--muted); }

/* ============================================================
   HERO ARTICLE (page d'accueil)
   ============================================================ */
.lfc-hero-article {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--surface2);
  margin-bottom: 12px;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  display: block;
}
.lfc-hero-article::after {
  content: '';
  position: absolute; inset: 0;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  pointer-events: none;
}
.lfc-hero-article img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease);
}
.lfc-hero-article:hover img { transform: scale(1.03); }

.lfc-hero-article__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.25) 55%, transparent 100%);
}
.lfc-hero-article__body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 22px;
}
.lfc-hero-article__cat {
  display: inline-block;
  font-size: .62rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  color: #fff;
  background: var(--red);
  padding: 3px 10px; border-radius: 20px;
  margin-bottom: 8px;
}
.lfc-hero-article__title {
  font-size: clamp(1rem, 3.5vw, 1.4rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -.025em;
  color: #fff;
  margin-bottom: 8px;
}
.lfc-hero-article__meta {
  font-size: .72rem;
  color: rgba(255,255,255,.65);
}

/* ============================================================
   BARRE MATCH (accueil)
   ============================================================ */
.lfc-match-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.lfc-match-bar__inner {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.lfc-match-bar__inner::-webkit-scrollbar { display: none; }

.lfc-match-bar__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
}
.lfc-match-bar__item:last-child { border-right: none; }

.lfc-match-bar__label {
  font-size: .6rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); white-space: nowrap;
}
.lfc-match-bar__teams {
  display: flex; align-items: center; gap: 7px;
  font-size: .82rem;
}
.lfc-match-bar__teams img {
  width: 16px; height: 16px;
  object-fit: contain; flex-shrink: 0;
}
.lfc-match-bar__score {
  font-family: var(--font-display);
  font-size: .95rem;
  color: var(--text);
  white-space: nowrap;
}
.lfc-match-bar__date {
  font-size: .62rem;
  color: var(--red);
  font-weight: 700;
  white-space: nowrap;
}

/* ============================================================
   PAGE JOUEUR
   ============================================================ */
.lfc-player-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding-top: calc(var(--nav-h) + 24px);
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
}
/* Décor fond droit subtil */
.lfc-player-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 100% at 100% 50%, var(--red-lt), transparent 70%);
  opacity: .5;
  pointer-events: none;
}

.lfc-player-header__inner {
  max-width: calc(var(--max-w) + var(--side-w) + 48px);
  margin: 0 auto;
  padding: 0 16px;
  display: flex; gap: 0;
  align-items: stretch;
  position: relative;
}
@media (min-width: 768px) { .lfc-player-header__inner { padding: 0 24px; } }
@media (min-width: 1200px) { .lfc-player-header__inner { padding: 0 48px; } }

.lfc-player-header__photo {
  width: 160px; flex-shrink: 0;
  background: var(--surface2);
  display: flex; align-items: flex-end; justify-content: center;
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin-top: 16px;
  align-self: flex-end;
}
@media (min-width: 640px) { .lfc-player-header__photo { width: 200px; } }

.lfc-player-header__photo img {
  width: 100%; height: auto;
  object-fit: cover;
  object-position: top;
  display: block;
}
.lfc-player-header__photo-ph {
  width: 100%; height: 220px;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem; color: var(--border);
}
.lfc-player-header__number {
  position: absolute; bottom: 8px; right: 8px;
  font-family: var(--font-display);
  font-size: 5rem; line-height: 1;
  color: rgba(0,0,0,.06);
  user-select: none;
}

.lfc-player-header__info {
  flex: 1; min-width: 0;
  padding: 24px 0 0 20px;
  display: flex; flex-direction: column; gap: 10px;
}

.lfc-player-header__supra {
  font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted);
}

.lfc-player-header__name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: 1px;
  line-height: 1.05;
  color: var(--text);
}
.lfc-player-header__firstname {
  display: block;
  font-family: var(--font);
  font-size: .5em;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}

.lfc-player-header__tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  align-items: center;
}
.lfc-player-header__tag {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--surface2);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: .72rem; font-weight: 600;
  color: var(--text2); white-space: nowrap;
  border: 1px solid var(--border);
}
.lfc-player-header__tag.accent {
  background: var(--red-lt);
  color: var(--red);
  border-color: rgba(200,16,46,.2);
}

/* Stats bar */
.lfc-stats-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--border);
  margin-top: 16px;
  background: linear-gradient(180deg, var(--surface) 0%, #fafafa 100%);
}
@media (max-width: 400px) {
  .lfc-stats-bar { grid-template-columns: repeat(3, 1fr); }
}
.lfc-stat-pill {
  padding: 16px 8px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.lfc-stat-pill:last-child { border-right: none; }
.lfc-stat-pill__val {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--red);
  line-height: 1;
  margin-bottom: 3px;
}
.lfc-stat-pill__lbl {
  font-size: .62rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
  color: var(--muted);
}

/* ============================================================
   FICHE JOUEUR — bio rows
   ============================================================ */
.lfc-bio-row {
  display: flex; gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.lfc-bio-row:last-child { border-bottom: none; }
.lfc-bio-key {
  flex: 0 0 110px;
  font-size: .75rem; color: var(--muted); font-weight: 500;
}
.lfc-bio-val {
  font-size: .88rem; font-weight: 600; color: var(--text);
  display: flex; align-items: center; gap: 6px;
}

/* ============================================================
   EFFECTIF — squad list style FM
   ============================================================ */
.lfc-squad-pos {
  padding: 8px 16px;
  font-size: .68rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted);
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
}

.lfc-player-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  transition: background .12s;
  text-decoration: none; color: inherit;
}
.lfc-player-row:hover { background: var(--surface2); }
.lfc-player-row:last-child { border-bottom: none; }

.lfc-player-row__photo {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover; object-position: top;
  flex-shrink: 0;
  background: var(--surface2);
  border: 1.5px solid var(--border);
}
.lfc-player-row__ph {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--surface2);
  border: 1.5px solid var(--border);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--border);
}
.lfc-player-row__num {
  flex: 0 0 28px;
  font-family: var(--font-display);
  font-size: 1.2rem; color: var(--border);
  text-align: right; flex-shrink: 0;
}
.lfc-player-row__name {
  font-size: .88rem; font-weight: 700; color: var(--text);
}
.lfc-player-row__nat {
  font-size: .72rem; color: var(--muted); margin-top: 1px;
}
.lfc-player-row__right {
  margin-left: auto;
  display: flex; align-items: center; gap: 8px;
}
.lfc-player-row__stat {
  font-size: .72rem; font-weight: 700; color: var(--red);
  background: var(--red-lt);
  padding: 2px 8px; border-radius: 20px;
}

/* Filtres effectif */
.lfc-filter-row {
  display: flex; gap: 6px; flex-wrap: wrap;
  padding: 14px 0; align-items: center;
}
.lfc-filter-chip {
  padding: 5px 14px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  font-size: .78rem; font-weight: 600;
  cursor: pointer; color: var(--text2);
  transition: all .15s;
}
.lfc-filter-chip.active,
.lfc-filter-chip:hover {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

/* ============================================================
   CLASSEMENT
   ============================================================ */
.lfc-table-wrap {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.lfc-standings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .82rem;
}
.lfc-standings-table thead {
  background: var(--surface2);
  border-bottom: 2px solid var(--border);
}
.lfc-standings-table th {
  padding: 9px 10px;
  text-align: center;
  font-size: .62rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--muted);
}
.lfc-standings-table th:nth-child(2) { text-align: left; }
.lfc-standings-table td {
  padding: 10px 10px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.lfc-standings-table td:nth-child(2) { text-align: left; font-weight: 600; }
.lfc-standings-table tbody tr:last-child td { border-bottom: none; }
.lfc-standings-table tbody tr { transition: background .12s; }
.lfc-standings-table tbody tr:hover { background: var(--surface2); }

/* Liverpool surligné */
.lfc-standings-table tr.lfc-hl {
  background: var(--red-lt) !important;
}
.lfc-standings-table tr.lfc-hl td:nth-child(2) { color: var(--red); }
.lfc-standings-table tr.lfc-hl td { font-weight: 700; }

/* Zones colorées */
.lfc-zone-cl  td:first-child { border-left: 3px solid #2563eb; }
.lfc-zone-el  td:first-child { border-left: 3px solid #ea580c; }
.lfc-zone-ecl td:first-child { border-left: 3px solid #16a34a; }
.lfc-zone-rel td:first-child { border-left: 3px solid var(--red); }

/* Forme */
.lfc-form-dot {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px;
  border-radius: 50%;
  font-size: .58rem; font-weight: 800;
  color: #fff; margin: 0 1px;
}
.lfc-form-dot--W { background: #16a34a; }
.lfc-form-dot--D { background: #ca8a04; }
.lfc-form-dot--L { background: var(--red); }

/* ============================================================
   STATS TABLE JOUEUR
   ============================================================ */
.lfc-stats-table {
  width: 100%; border-collapse: collapse; font-size: .8rem;
}
.lfc-stats-table thead {
  background: var(--surface2);
  border-bottom: 2px solid var(--border);
}
.lfc-stats-table th {
  padding: 9px 10px; text-align: center;
  font-size: .62rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--muted);
}
.lfc-stats-table th:first-child { text-align: left; }
.lfc-stats-table td {
  padding: 10px 10px; text-align: center;
  border-bottom: 1px solid var(--border);
}
.lfc-stats-table td:first-child { text-align: left; font-weight: 500; }
.lfc-stats-table tbody tr:hover { background: var(--surface2); }
.lfc-stats-table .lfc-total-row { font-weight: 700; }
.lfc-stats-table .lfc-total-row td {
  border-top: 2px solid var(--border);
  border-bottom: none;
  background: var(--red-lt) !important;
  color: var(--red);
}

/* Onglets saison */
.lfc-tabs {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-bottom: 14px;
}
.lfc-tab {
  padding: 5px 14px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  font-size: .75rem; font-weight: 600;
  cursor: pointer; background: var(--surface);
  color: var(--muted);
  transition: all .15s;
}
.lfc-tab.active, .lfc-tab:hover {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

/* ============================================================
   BADGES & POSTE
   ============================================================ */
.lfc-badge {
  display: inline-block;
  padding: 3px 10px; border-radius: 20px;
  font-size: .65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
}
.lfc-badge--gk  { background: rgba(245,196,0,.15);  color: #92700a; }
.lfc-badge--def { background: rgba(37,99,235,.1);   color: #2563eb; }
.lfc-badge--mid { background: rgba(22,163,74,.1);   color: #16a34a; }
.lfc-badge--att { background: var(--red-lt);        color: var(--red); }

/* ============================================================
   MAILLOTS
   ============================================================ */
.lfc-kits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.lfc-kit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.lfc-kit-card__season {
  padding: 12px 16px;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.lfc-kit-card__season strong { font-size: .9rem; color: var(--text); font-weight: 800; }
.lfc-kit-card__season span  { font-size: .72rem; color: var(--muted); }
.lfc-kit-card__kits { display: flex; gap: 8px; padding: 16px; }
.lfc-kit-item { flex: 1; text-align: center; }
.lfc-kit-item img { width: 100%; max-width: 110px; margin: 0 auto; border-radius: var(--radius-sm); transition: transform .2s; }
.lfc-kit-item img:hover { transform: scale(1.07); }
.lfc-kit-item__label {
  font-size: .62rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
  color: var(--muted); margin-top: 6px;
}

/* ============================================================
   PAGE HERO (effectif, classement, maillots)
   ============================================================ */
.lfc-page-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: calc(var(--nav-h) + 28px) 0 24px;
}
.lfc-page-hero__inner {
  max-width: calc(var(--max-w) + var(--side-w) + 48px);
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px)  { .lfc-page-hero__inner { padding: 0 24px; } }
@media (min-width: 1200px) { .lfc-page-hero__inner { padding: 0 48px; } }

.lfc-page-hero__kicker {
  font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--red); margin-bottom: 6px;
}
.lfc-page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.5rem);
  letter-spacing: 1.5px; color: var(--text); line-height: 1.05;
}
.lfc-page-hero__sub {
  font-size: .88rem; color: var(--muted); margin-top: 6px;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.lfc-sidebar {
  display: none;
}
@media (min-width: 1024px) {
  .lfc-sidebar {
    display: block;
    position: sticky;
    top: calc(var(--nav-h) + 16px);
  }
}

.lfc-sidebar-widget {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 16px;
}

/* Compat widget WP */
.widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 16px;
}
.widget-title {
  padding: 12px 16px;
  font-size: .68rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface) 0%, #fafafe 100%);
  margin: 0;
  display: flex; align-items: center; justify-content: space-between;
}

/* Entity link (sidebar) */
.lfc-entity-link {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: background .12s; color: var(--text);
}
.lfc-entity-link:last-child { border-bottom: none; }
.lfc-entity-link:hover { background: var(--surface2); }
.lfc-entity-link__img {
  width: 34px; height: 34px;
  border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  background: var(--surface2);
  border: 1.5px solid var(--border);
}
.lfc-entity-link__name { font-size: .84rem; font-weight: 600; }
.lfc-entity-link__sub  { font-size: .72rem; color: var(--muted); margin-top: 1px; }
.lfc-entity-link__arrow { margin-left: auto; color: var(--border); font-size: .72rem; }

/* ============================================================
   SECTION TITLE
   ============================================================ */
.lfc-section-header {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 14px; gap: 12px;
}
.lfc-section-title {
  font-family: var(--font-display);
  font-size: 1.4rem; letter-spacing: 1px;
  color: var(--text);
  display: flex; align-items: center; gap: 8px;
}
.lfc-section-title::after {
  content: '';
  flex: 1; height: 1px;
  background: var(--border);
  margin-left: 4px;
}
.lfc-section-title span { color: var(--red); }
.lfc-section-link {
  font-size: .78rem; font-weight: 700;
  color: var(--red); white-space: nowrap;
  flex-shrink: 0;
}
.lfc-section-link:hover { color: var(--red-dk); }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.lfc-breadcrumb {
  display: flex; align-items: center; gap: 5px;
  font-size: .72rem; color: var(--muted);
  padding: 12px 0 4px;
  overflow-x: auto; white-space: nowrap;
  scrollbar-width: none;
}
.lfc-breadcrumb::-webkit-scrollbar { display: none; }
.lfc-breadcrumb ol { display: flex; align-items: center; gap: 5px; list-style: none; }
.lfc-breadcrumb li + li::before { content: '/'; color: var(--border); margin-right: 5px; }
.lfc-breadcrumb a { color: var(--muted); }
.lfc-breadcrumb a:hover { color: var(--red); }

/* ============================================================
   FOOTER
   ============================================================ */
.lfc-footer {
  background: #0f0f12;
  color: rgba(255,255,255,.55);
  padding: 48px 0 28px;
  margin-top: 48px;
}
.lfc-footer__grid {
  max-width: calc(var(--max-w) + var(--side-w) + 48px);
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
@media (min-width: 768px)  { .lfc-footer__grid { padding: 0 24px; } }
@media (min-width: 1200px) { .lfc-footer__grid { padding: 0 48px; } }
@media (max-width: 768px)  { .lfc-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px)  { .lfc-footer__grid { grid-template-columns: 1fr; } }

.lfc-footer__logo {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.4rem; letter-spacing: 1.5px;
  display: block; margin-bottom: 10px;
  text-decoration: none;
}
.lfc-footer__logo span { color: var(--red); }
.lfc-footer__desc { font-size: .8rem; line-height: 1.7; }

.lfc-footer__col h4 {
  color: rgba(255,255,255,.85);
  font-size: .65rem;
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 14px; font-weight: 700;
}
.lfc-footer__col ul { list-style: none; }
.lfc-footer__col li { margin-bottom: 7px; }
.lfc-footer__col a {
  color: rgba(255,255,255,.4);
  font-size: .8rem; transition: color .15s;
}
.lfc-footer__col a:hover { color: rgba(255,255,255,.85); }

.lfc-footer__bottom {
  max-width: calc(var(--max-w) + var(--side-w) + 48px);
  margin: 0 auto;
  padding: 20px 16px 0;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex; justify-content: space-between;
  align-items: center; font-size: .72rem;
  flex-wrap: wrap; gap: 8px;
}
@media (min-width: 768px)  { .lfc-footer__bottom { padding: 20px 24px 0; } }
@media (min-width: 1200px) { .lfc-footer__bottom { padding: 20px 48px 0; } }

/* ============================================================
   PAGINATION
   ============================================================ */
nav.lfc-pagination ul {
  display: flex; list-style: none;
  gap: 4px; flex-wrap: wrap;
  justify-content: center; margin: 32px 0;
}
nav.lfc-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 600; font-size: .82rem;
  color: var(--text2); transition: all .15s;
  text-decoration: none; background: var(--surface);
}
nav.lfc-pagination .page-numbers.current,
nav.lfc-pagination .page-numbers:hover {
  background: var(--red); border-color: var(--red); color: #fff;
}

/* ============================================================
   LOADING / SKELETON
   ============================================================ */
@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position: 600px 0; }
}
.lfc-skeleton {
  background: linear-gradient(90deg, var(--surface2) 0%, var(--border) 40%, var(--surface2) 80%);
  background-size: 600px 100%;
  animation: shimmer 1.6s ease-in-out infinite;
  border-radius: var(--radius-sm);
}

.lfc-loading {
  display: flex; align-items: center; justify-content: center;
  padding: 28px; gap: 10px;
  color: var(--muted); font-size: .84rem;
}
.lfc-spinner {
  width: 20px; height: 20px;
  border: 2.5px solid var(--border);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: lfc-spin .65s linear infinite;
  flex-shrink: 0;
}
@keyframes lfc-spin { to { transform: rotate(360deg); } }

/* ============================================================
   BARRE DE LECTURE (article single)
   ============================================================ */
.lfc-reading-bar {
  position: fixed; top: 0; left: 0;
  height: 3px; background: var(--red);
  border-radius: 0 2px 2px 0;
  z-index: 200; width: 0%;
  transition: width .1s linear;
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.lfc-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.lfc-reveal.lfc-visible { opacity: 1; transform: none; }

/* ============================================================
   ARTICLE SINGLE
   ============================================================ */
.lfc-article-title {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.03em;
  color: var(--text);
  padding: 14px 16px 16px;
}
.lfc-article-content {
  padding: 0 16px;
  font-size: 1rem; line-height: 1.75; color: var(--text2);
}
.lfc-article-content p { margin-bottom: 1.2em; }
.lfc-article-content h2 { font-size: 1.25rem; font-weight: 700; margin: 1.5em 0 .5em; color: var(--text); }
.lfc-article-content h3 { font-size: 1.05rem; font-weight: 700; margin: 1.2em 0 .4em; color: var(--text); }
.lfc-article-content a { color: var(--red); text-decoration: underline; }
.lfc-article-content strong { color: var(--text); font-weight: 700; }
.lfc-article-content blockquote {
  border-left: 3px solid var(--red);
  padding: 8px 16px; margin: 1em 0;
  background: var(--red-lt);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.lfc-article-content img { border-radius: var(--radius); margin: 1.5em auto; max-width: 100%; }

/* Partage */
.lfc-share-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 16px;
  border-top: 1px solid var(--border); flex-wrap: wrap;
}
.lfc-share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 20px;
  font-size: .78rem; font-weight: 700;
  cursor: pointer; border: none;
  transition: transform .15s var(--ease), filter .15s;
  text-decoration: none;
}
.lfc-share-btn:hover { filter: brightness(1.08); transform: scale(1.03); }
.lfc-share-btn.twitter  { background: #000; color: #fff; }
.lfc-share-btn.facebook { background: #1877f2; color: #fff; }
.lfc-share-btn.copy     { background: var(--surface2); color: var(--text); border: 1px solid var(--border); }
.lfc-share-btn.copy.copied { background: #16a34a; color: #fff; border-color: #16a34a; }

/* ============================================================
   UTILITAIRES
   ============================================================ */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.lfc-mt-12 { margin-top: 12px; }
.lfc-mt-16 { margin-top: 16px; }
.lfc-mt-24 { margin-top: 24px; }
