/* =========================================================
   Ligue de Normandie d'Ultimate — Feuille de style
   ========================================================= */

:root {
  --navy: #0b1d3a;
  --navy-2: #13294f;
  --blue: #1d4ed8;
  --coral: #ff5a36;
  --coral-dark: #e2431f;
  --sun: #ffc53d;
  --mint: #4dd4ac;

  --outdoor: #2f9e44;
  --indoor: #e8590c;
  --beach: #e0a800;

  --bg: #f6f7fb;
  --surface: #ffffff;
  --text: #1b2437;
  --muted: #5b6679;
  --border: #e3e7ef;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(11, 29, 58, .18);
  --shadow-lg: 0 24px 60px -20px rgba(11, 29, 58, .35);

  --font-title: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; } /* un élément masqué l'est toujours, quel que soit son style */
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-title); line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -.02em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* ---------- Boutons & utilitaires ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .9em 1.6em;
  background: var(--coral); color: #fff;
  font: 600 1rem var(--font-title);
  border: 2px solid var(--coral); border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: transform .2s, background .2s, box-shadow .2s;
  box-shadow: 0 8px 20px -8px rgba(255, 90, 54, .7);
}
.btn:hover { background: var(--coral-dark); border-color: var(--coral-dark); transform: translateY(-2px); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.5); box-shadow: none; }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--small { padding: .55em 1.2em; font-size: .95rem; }
.btn--full { width: 100%; }

.eyebrow {
  display: inline-block;
  font: 700 .8rem var(--font-title);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--coral);
  margin-bottom: .8rem;
}
.eyebrow--light { color: var(--sun); }

.link-arrow { color: var(--coral); font-weight: 600; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.dot--outdoor { background: var(--outdoor); }
.dot--indoor { background: var(--indoor); }
.dot--beach { background: var(--beach); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 1000;
  height: var(--nav-h);
  transition: background .3s, box-shadow .3s;
}
.nav.is-scrolled { background: rgba(11, 29, 58, .92); backdrop-filter: blur(12px); box-shadow: 0 4px 20px rgba(0,0,0,.15); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: #fff; }
.logo__disc { width: 42px; height: 42px; }
.logo__text { font: 500 1.2rem var(--font-title); }
.logo__text strong { font-weight: 800; }

.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a { color: #fff; text-decoration: none; font-weight: 500; position: relative; }
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--sun); transition: width .25s;
}
.nav__links a:not(.btn):hover::after, .nav__links a.is-active::after { width: 100%; }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 26px; height: 2px; background: #fff; margin: 6px 0; transition: .3s; border-radius: 2px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 80px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, rgba(77, 212, 172, .25), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(255, 90, 54, .25), transparent 45%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, #1a3a6e 100%);
}
.hero__field {
  position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background-image:
    linear-gradient(90deg, #fff 2px, transparent 2px),
    linear-gradient(0deg, #fff 2px, transparent 2px);
  background-size: 120px 120px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); font-weight: 800; letter-spacing: -.03em; }
.highlight {
  background: linear-gradient(90deg, var(--sun), var(--coral));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { font-size: 1.15rem; color: rgba(255,255,255,.82); max-width: 540px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 44px; }

.hero__stats { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 36px; }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font: 800 2.2rem var(--font-title); color: var(--sun); line-height: 1; }
.hero__stats span { font-size: .9rem; color: rgba(255,255,255,.7); }

.hero__svg { width: 100%; overflow: visible; }
.player--b { animation: bob 3.4s ease-in-out infinite; transform-origin: 372px 300px; }
@keyframes bob { 0%, 60% { transform: translateY(0); } 80% { transform: translateY(-12px); } 100% { transform: translateY(0); } }

.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 20px;
}
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 2px; animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section--alt { background: #eef1f8; }
.section--dark { background: var(--navy); color: #fff; }
.section--dark .section__head p { color: rgba(255,255,255,.72); }

.section__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section__head p { color: var(--muted); font-size: 1.08rem; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; text-align: left; flex-wrap: wrap; gap: 12px; }

/* Apparition au scroll */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Règles ---------- */
.rules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 80px; }
.rule {
  background: var(--surface); border-radius: var(--radius); padding: 28px 24px;
  box-shadow: var(--shadow); border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s;
}
.rule:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.rule__icon { width: 84px; height: 84px; border-radius: 22px; background: var(--bg); display: grid; place-items: center; margin-bottom: 18px; }
.rule__icon svg { width: 66px; height: 66px; }
.rule p { color: var(--muted); margin: 0; font-size: .96rem; }

/* ---------- Disciplines (onglets) ---------- */
.tabs {
  display: flex; gap: 8px; justify-content: center;
  background: var(--surface); padding: 6px; border-radius: 999px;
  width: fit-content; margin: 0 auto 36px; box-shadow: var(--shadow); border: 1px solid var(--border);
}
.tab {
  display: flex; align-items: center; gap: 8px;
  padding: .75em 1.6em; border: 0; border-radius: 999px; background: none; cursor: pointer;
  font: 600 1rem var(--font-title); color: var(--muted); transition: .25s;
}
.tab:hover { color: var(--text); }
.tab.is-active { background: var(--navy); color: #fff; }

.panel {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center;
  background: var(--surface); border-radius: 28px; padding: 44px;
  box-shadow: var(--shadow); border: 1px solid var(--border);
  animation: fadeIn .45s ease;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.panel__visual { background: var(--bg); border-radius: var(--radius); padding: 20px; }
.panel__text h3 { font-size: 2rem; margin-top: 12px; }
.panel__text p { color: var(--muted); }
.panel__tip { background: #fff8e6; border-left: 4px solid var(--sun); padding: 12px 16px; border-radius: 8px; font-size: .95rem; margin: 0; }

.badge { display: inline-block; padding: .35em .9em; border-radius: 999px; font: 600 .8rem var(--font-title); }
.badge--outdoor { background: #e3f6e7; color: var(--outdoor); }
.badge--indoor { background: #ffece0; color: var(--indoor); }
.badge--beach { background: #fff5d1; color: #a07800; }

.facts { list-style: none; padding: 0; margin: 22px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.facts li { background: var(--bg); border-radius: var(--radius-sm); padding: 12px 14px; display: flex; flex-direction: column; }
.facts span { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.facts strong { font-family: var(--font-title); font-size: 1.1rem; }

/* ---------- Actualités ---------- */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-card--featured { grid-column: 1 / -1; flex-direction: row; }
.news-card--featured .news-card__img { flex: 1 1 50%; min-height: 300px; }
.news-card--featured .news-card__body { flex: 1 1 50%; padding: 40px; justify-content: center; }
.news-card--featured h3 { font-size: 1.8rem; }

.news-card__img { height: 170px; position: relative; overflow: hidden; }
.news-card__img svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.news-card__img--1 { background: linear-gradient(135deg, var(--coral), #ff8f5c 50%, var(--sun)); }
.news-card__img--2 { background: linear-gradient(135deg, #7048e8, #9775fa); }
.news-card__img--3 { background: linear-gradient(180deg, #48c1d9, #7fd6e8); }
.news-card__img--4 { background: linear-gradient(135deg, var(--outdoor), #69db7c); }

.news-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.news-card__body p { color: var(--muted); font-size: .96rem; }
.news-card h3 a { text-decoration: none; }
.news-card h3 a:hover { color: var(--coral); }
.news-card__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: .85rem; color: var(--muted); }

.tag { padding: .25em .75em; border-radius: 999px; background: #ffe6df; color: var(--coral-dark); font: 600 .75rem var(--font-title); }
.tag--violet { background: #efe9ff; color: #6741d9; }
.tag--sand { background: #fff5d1; color: #a07800; }
.tag--green { background: #e3f6e7; color: var(--outdoor); }

/* ---------- Compétitions ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: .6em 1.2em; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--border); background: var(--surface);
  font: 600 .95rem var(--font-title); color: var(--text); transition: .2s;
}
.chip:hover { border-color: var(--navy); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.comps { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 22px; }
.comp {
  position: relative; display: flex; gap: 20px;
  background: var(--surface); border-radius: var(--radius); padding: 22px;
  box-shadow: var(--shadow); border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s;
  animation: fadeIn .4s ease both;
}
.comp:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.comp::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px; border-radius: 0 4px 4px 0; background: var(--c); }
.comp--outdoor { --c: var(--outdoor); --c-soft: #e3f6e7; }
.comp--indoor { --c: var(--indoor); --c-soft: #ffece0; }
.comp--beach { --c: var(--beach); --c-soft: #fff5d1; }
.comp.is-past { opacity: .55; }

.comp__date {
  flex-shrink: 0; width: 84px; border-radius: 14px; background: var(--c-soft);
  display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px 6px;
  text-align: center; font-family: var(--font-title);
}
.comp__days { font-size: 1.5rem; font-weight: 800; color: var(--text); line-height: 1.1; }
.comp__month { font-size: .8rem; font-weight: 700; text-transform: uppercase; color: var(--c); letter-spacing: .06em; }
.comp__year { font-size: .75rem; color: var(--muted); }

.comp__body { flex: 1; min-width: 0; }
.comp__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; }
.comp__type { display: inline-flex; align-items: center; gap: 6px; font: 600 .78rem var(--font-title); text-transform: uppercase; letter-spacing: .06em; color: var(--c); }
.comp h3 { font-size: 1.12rem; margin-bottom: 8px; }
.comp__info { list-style: none; padding: 0; margin: 0; font-size: .9rem; color: var(--muted); display: grid; gap: 3px; }

.status { font: 600 .72rem var(--font-title); padding: .3em .7em; border-radius: 999px; white-space: nowrap; }
.status--open { background: #e3f6e7; color: var(--outdoor); }
.status--soon { background: #e7edff; color: var(--blue); }
.status--full { background: #ffe6df; color: var(--coral-dark); }
.status--past { background: #eceef3; color: var(--muted); }

.comps__empty { grid-column: 1 / -1; text-align: center; color: var(--muted); }

/* ---------- Clubs / Carte ---------- */
.clubs { display: grid; grid-template-columns: 1fr 340px; gap: 20px; height: 580px; }
.clubs__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: #dfe7f1; z-index: 0; }
.clubs__list {
  background: var(--navy-2); border-radius: var(--radius); padding: 16px;
  display: flex; flex-direction: column; min-height: 0;
}
.clubs__search input {
  width: 100%; padding: .8em 1em; border-radius: 12px; border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.08); color: #fff; font: inherit; margin-bottom: 12px;
}
.clubs__search input::placeholder { color: rgba(255,255,255,.55); }
.clubs__search input:focus { outline: 2px solid var(--sun); outline-offset: 1px; }
.clubs__list ul { list-style: none; padding: 0; margin: 0; overflow-y: auto; display: grid; gap: 8px; align-content: start; }
.club-item {
  width: 100%; text-align: left; cursor: pointer;
  display: flex; align-items: center; gap: 12px;
  padding: 12px; border-radius: 12px; border: 1px solid transparent;
  background: rgba(255,255,255,.05); color: #fff; font: inherit; transition: .2s;
}
.club-item:hover, .club-item.is-active { background: rgba(255,255,255,.12); border-color: rgba(255,197,61,.5); }
.club-item__pin { width: 36px; height: 36px; border-radius: 50%; background: var(--coral); display: grid; place-items: center; font: 700 .8rem var(--font-title); flex-shrink: 0; }
.club-item strong { display: block; font-family: var(--font-title); font-weight: 600; }
.club-item small { color: rgba(255,255,255,.6); }

/* Pins Leaflet */
.pin { background: none; border: 0; }
.pin__disc {
  width: 38px; height: 38px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: var(--coral); border: 3px solid #fff; box-shadow: 0 6px 14px rgba(0,0,0,.35);
  display: grid; place-items: center; transition: transform .2s;
}
.pin__disc::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.pin:hover .pin__disc, .pin.is-active .pin__disc { transform: rotate(-45deg) scale(1.2); background: var(--sun); }

.leaflet-popup-content-wrapper { border-radius: 16px; padding: 0; overflow: hidden; box-shadow: var(--shadow-lg); }
.leaflet-popup-content { margin: 0; width: 270px !important; font-family: var(--font-body); }
.popup__head { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; padding: 16px 18px; }
.popup__head h4 { margin: 0; font: 700 1.1rem var(--font-title); }
.popup__head span { font-size: .85rem; opacity: .75; }
.popup__body { padding: 14px 18px 18px; font-size: .88rem; color: var(--text); }
.popup__body p { margin: 0 0 8px; }
.popup__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.popup__tags span { font: 600 .72rem var(--font-title); padding: .25em .6em; border-radius: 999px; }
.popup__tags .t-outdoor { background: #e3f6e7; color: var(--outdoor); }
.popup__tags .t-indoor { background: #ffece0; color: var(--indoor); }
.popup__tags .t-beach { background: #fff5d1; color: #a07800; }
.popup__btn { display: block; text-align: center; margin-top: 12px; padding: .6em; border-radius: 999px; background: var(--coral); color: #fff !important; font: 600 .9rem var(--font-title); text-decoration: none; }
.popup__btn:hover { background: var(--coral-dark); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.contact__info p { color: var(--muted); font-size: 1.05rem; }
.contact__list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 18px; }
.contact__list li { display: flex; gap: 14px; align-items: center; }
.contact__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); display: grid; place-items: center; font-size: 1.3rem; flex-shrink: 0; }
.contact__list strong { display: block; font-family: var(--font-title); }
.contact__list a { color: var(--coral); text-decoration: none; }
.contact__list div > span, .socials { color: var(--muted); }

.form { background: var(--surface); border-radius: 24px; padding: 36px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font: 600 .9rem var(--font-title); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: .85em 1em; font: inherit; color: var(--text);
  border: 1.5px solid var(--border); border-radius: 12px; background: var(--bg);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(29, 78, 216, .12);
}
.field__error { display: none; color: #d6336c; font-size: .82rem; margin-top: 4px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #d6336c; }
.field.has-error .field__error { display: block; }

.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); margin-bottom: 22px; cursor: pointer; }
.checkbox input { margin-top: 4px; accent-color: var(--coral); width: 18px; height: 18px; flex-shrink: 0; }
.checkbox.has-error span { color: #d6336c; }

.form__alert { margin: 16px 0 0; padding: 14px; border-radius: 12px; background: #ffe3e3; color: #c92a2a; font-weight: 600; text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form button[disabled] { opacity: .7; cursor: wait; }
.club-empty { color: rgba(255,255,255,.6); padding: 8px; }
.form__success {margin: 16px 0 0; padding: 14px; border-radius: 12px; background: #e3f6e7; color: #1e6f30; font-weight: 600; text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 60px 0 24px; }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__desc { margin-top: 12px; max-width: 320px; font-size: .92rem; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 12px 28px; align-content: center; }
.footer__nav a { text-decoration: none; }
.footer__nav a:hover { color: var(--sun); }
.footer__copy { text-align: center; font-size: .85rem; margin: 24px 0 0; }

/* Carte entièrement cliquable */
.news-card { position: relative; }
.news-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.news-card .link-arrow { position: relative; z-index: 2; }

/* =========================================================
   Pages intérieures (actualités / articles)
   ========================================================= */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  padding: calc(var(--nav-h) + 56px) 0 64px;
  background:
    radial-gradient(circle at 85% 10%, rgba(77, 212, 172, .22), transparent 40%),
    radial-gradient(circle at 5% 100%, rgba(255, 90, 54, .25), transparent 45%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 70%, #1a3a6e 100%);
}
.page-hero .hero__field { opacity: .06; }
.page-hero__inner { position: relative; max-width: 820px; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.3rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: .4em; }
.page-hero p { color: rgba(255,255,255,.78); font-size: 1.12rem; max-width: 640px; margin: 0; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: rgba(255,255,255,.6); margin-bottom: 22px; }
.breadcrumb a { color: rgba(255,255,255,.85); text-decoration: none; }
.breadcrumb a:hover { color: var(--sun); }

.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-size: .92rem; color: rgba(255,255,255,.72); }
.article-meta .tag { font-size: .8rem; }

/* Bandeau illustré sous l'en-tête */
.article-cover { width: min(1000px, 100% - 32px); margin: -34px auto 0; position: relative; border-radius: 24px; overflow: hidden; height: clamp(200px, 32vw, 360px); box-shadow: var(--shadow-lg); }
.article-cover svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Corps d'article */
.article { width: min(720px, 100% - 32px); margin: 56px auto 0; font-size: 1.08rem; line-height: 1.8; }
.article > p:first-of-type { font-size: 1.22rem; line-height: 1.7; color: var(--text); font-weight: 500; }
.article h2 { font-size: 1.7rem; margin: 1.8em 0 .6em; }
.article h3 { font-size: 1.25rem; margin: 1.5em 0 .5em; }
.article p, .article li { color: #2e3a50; }
.article ul, .article ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.article li { margin-bottom: .4em; }
.article li::marker { color: var(--coral); font-weight: 700; }
.article a { color: var(--coral); }
.article blockquote {
  margin: 2em 0; padding: 22px 26px; border-radius: var(--radius);
  background: var(--surface); border-left: 5px solid var(--coral); box-shadow: var(--shadow);
  font: 500 1.2rem/1.6 var(--font-title); color: var(--text);
}
.article blockquote cite { display: block; margin-top: 10px; font: 400 .9rem var(--font-body); color: var(--muted); font-style: normal; }
.callout { display: flex; gap: 14px; background: #fff8e6; border: 1px solid #ffe3a3; border-radius: var(--radius); padding: 18px 20px; margin: 2em 0; }
.callout__icon { font-size: 1.5rem; line-height: 1.2; }
.callout p { margin: 0; color: var(--text); font-size: 1rem; }
.callout strong { font-family: var(--font-title); }

.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 1.6em 0; }
.info-grid div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; }
.info-grid span { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.info-grid strong { font-family: var(--font-title); font-size: 1.1rem; }

.podium { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.podium li { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 16px; margin: 0; }
.podium__medal { font-size: 1.6rem; }
.podium strong { font-family: var(--font-title); display: block; color: var(--text); }
.podium small { color: var(--muted); }

/* Partage + navigation d'article */
.article-footer { width: min(720px, 100% - 32px); margin: 48px auto 0; padding-top: 28px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.author { display: flex; align-items: center; gap: 12px; }
.author__avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--coral), var(--sun)); display: grid; place-items: center; color: #fff; font: 700 1rem var(--font-title); }
.author strong { display: block; font-family: var(--font-title); }
.author small { color: var(--muted); }
.share { display: flex; gap: 8px; align-items: center; }
.share__btn {
  display: inline-flex; align-items: center; gap: 6px; padding: .55em 1em; border-radius: 999px;
  border: 1.5px solid var(--border); background: var(--surface); color: var(--text);
  font: 600 .88rem var(--font-title); text-decoration: none; cursor: pointer; transition: .2s;
}
.share__btn:hover { border-color: var(--navy); }

.article-nav { width: min(720px, 100% - 32px); margin: 32px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.article-nav a { display: block; padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); text-decoration: none; transition: .2s; }
.article-nav a:hover { border-color: var(--coral); transform: translateY(-2px); }
.article-nav small { color: var(--muted); display: block; margin-bottom: 4px; }
.article-nav strong { font-family: var(--font-title); line-height: 1.3; display: block; }
.article-nav a:last-child { text-align: right; }
.article-nav .is-empty { visibility: hidden; }

.related { padding: 90px 0 100px; }
.related h2 { font-size: 1.8rem; margin-bottom: 28px; }

.news-card__img--5 { background: linear-gradient(135deg, var(--indoor), #ffa94d); }
.news-card__img--6 { background: linear-gradient(135deg, var(--navy-2), var(--blue)); }
.tag--orange { background: #ffece0; color: var(--indoor); }

/* Page liste des actualités */
.news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* Cartes de compétition cliquables (accueil) */
a.comp { text-decoration: none; color: inherit; }
.comp__more { display: inline-block; margin-top: 10px; font: 600 .85rem var(--font-title); color: var(--coral); opacity: .85; transition: .2s; }
a.comp:hover .comp__more { opacity: 1; transform: translateX(4px); }

/* =========================================================
   Page compétition
   ========================================================= */
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 71, 87, .7); } 70% { box-shadow: 0 0 0 9px rgba(255, 71, 87, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 71, 87, 0); } }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #ff4757; margin-right: 6px; vertical-align: middle; animation: pulse 1.6s infinite; flex-shrink: 0; }

.comp-hero { padding-bottom: 48px; }
.comp-hero__inner { max-width: none; }
.comp-hero__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.status-pill { display: inline-flex; align-items: center; padding: .35em .9em; border-radius: 999px; font: 600 .8rem var(--font-title); background: rgba(255,255,255,.12); color: #fff; }
.status-pill--live { background: rgba(255, 71, 87, .2); color: #ffb3ba; }
.status-pill--soon { background: rgba(255, 197, 61, .18); color: var(--sun); }
.comp-hero h1 { max-width: 900px; }
.comp-hero__meta { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 8px 24px; color: rgba(255,255,255,.85); font-size: 1.02rem; }
.comp-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.comp-hero__actions .btn { padding: .75em 1.3em; font-size: .95rem; }
.comp-stats { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 720px; }
.comp-stats li { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 14px 16px; }
.comp-stats strong { display: block; font: 800 1.8rem var(--font-title); color: var(--sun); line-height: 1.1; }
.comp-stats small { font-size: 1rem; color: rgba(255,255,255,.5); }
.comp-stats span { font-size: .85rem; color: rgba(255,255,255,.7); }

/* --- Bloc en direct --- */
.live { background: #081630; color: #fff; padding: 40px 0 48px; border-top: 1px solid rgba(255,255,255,.06); }
.live__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 24px; }
.live__title { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; font-size: clamp(1.3rem, 3vw, 1.8rem); margin: 0; }
.live-badge { display: inline-flex; align-items: center; padding: .4em .9em; border-radius: 8px; background: #ff4757; font: 800 .8rem var(--font-title); letter-spacing: .12em; }
.live-badge .live-dot { background: #fff; }
.live-badge--next { background: var(--blue); }
.live-badge--done { background: var(--outdoor); }
.live__refresh { display: flex; align-items: center; gap: 12px; font-size: .88rem; color: rgba(255,255,255,.6); }
.live__btn { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: .5em 1em; font: 600 .85rem var(--font-title); cursor: pointer; transition: .2s; }
.live__btn:hover { background: rgba(255,255,255,.2); }
.live__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; }

.scorecard {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #15305e, #0f2247);
  border: 1px solid rgba(255,255,255,.1); border-radius: 22px; padding: 18px 20px 16px;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.6);
}
.scorecard.is-followed { border-color: var(--sun); box-shadow: 0 0 0 2px rgba(255,197,61,.35), 0 20px 40px -20px rgba(0,0,0,.6); }
.scorecard__top { display: flex; justify-content: space-between; gap: 10px; font-size: .82rem; color: rgba(255,255,255,.65); margin-bottom: 14px; }
.scorecard__field { font-weight: 600; color: #fff; }
.scorecard__main { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.scorecard__team { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; min-width: 0; opacity: .8; transition: opacity .3s; }
.scorecard__team.is-leading { opacity: 1; }
.scorecard__team strong { font: 600 .98rem/1.25 var(--font-title); }
.scorecard__score { display: flex; align-items: center; gap: 6px; font: 800 clamp(2.6rem, 6vw, 3.6rem)/1 var(--font-title); font-variant-numeric: tabular-nums; }
.scorecard__score i { font-style: normal; color: rgba(255,255,255,.35); font-size: .7em; }
.scorecard__time { font-size: .55em; color: var(--sun); }
.scorecard__progress { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 16px 0 12px; }
.track { height: 6px; background: rgba(255,255,255,.1); border-radius: 6px; overflow: hidden; display: flex; }
.track--a { justify-content: flex-end; }
.track span { display: block; height: 100%; background: var(--tc); border-radius: 6px; transition: width .6s ease; }
.scorecard__foot { display: flex; align-items: center; justify-content: center; font-size: .82rem; color: rgba(255,255,255,.7); }
.scorecard--upcoming .scorecard__foot { margin-top: 14px; }

.podium-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.podium-card { background: linear-gradient(160deg, #15305e, #0f2247); border: 1px solid rgba(255,255,255,.1); border-radius: 22px; padding: 22px; }
.podium-card h3 { margin-bottom: 14px; color: var(--sun); }
.podium-card ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.podium-card li { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; }
.podium-card strong { font: 600 1.05rem var(--font-title); }

/* --- Avatars d'équipe --- */
.avatar {
  --tc: var(--navy);
  display: inline-grid; place-items: center; flex-shrink: 0;
  width: 38px; height: 38px; border-radius: 12px;
  background: var(--tc); color: #fff;
  font: 800 .72rem var(--font-title); letter-spacing: .04em;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.18);
}
.avatar--sm { width: 30px; height: 30px; border-radius: 9px; font-size: .62rem; }
.avatar--lg { width: 58px; height: 58px; border-radius: 18px; font-size: 1rem; }
.avatar--tbd { background: transparent; border: 2px dashed #b5bdcc; color: #98a2b3; box-shadow: none; }
.live .avatar--tbd { border-color: rgba(255,255,255,.3); color: rgba(255,255,255,.5); }
.tbd { color: var(--muted); font-style: italic; font-weight: 500; }
.live .tbd { color: rgba(255,255,255,.7); }
.star { color: var(--sun); }

/* --- Onglets collants --- */
.comp-tabs { position: sticky; top: var(--nav-h); z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.comp-page .nav { background: rgba(11, 29, 58, .96); }
.comp-tabs__list { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.comp-tabs__list::-webkit-scrollbar { display: none; }
.comp-tab {
  flex-shrink: 0; padding: 18px 18px 16px; border: 0; background: none; cursor: pointer;
  font: 600 .98rem var(--font-title); color: var(--muted); text-decoration: none;
  border-bottom: 3px solid transparent; transition: .2s;
}
.comp-tab:hover { color: var(--text); }
.comp-tab.is-active { color: var(--text); border-bottom-color: var(--coral); }

.comp-content { padding: 32px 0 80px; }
.comp-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 28px; }
.filters--left { justify-content: flex-start; margin: 0; }
.follow { display: flex; align-items: center; gap: 10px; font: 600 .9rem var(--font-title); }
.follow select { padding: .6em 2.2em .6em 1em; border: 1.5px solid var(--border); border-radius: 999px; background: var(--surface); font: 500 .92rem var(--font-body); color: var(--text); cursor: pointer; }
.muted { color: var(--muted); }
.hint { background: var(--surface); border: 1px dashed var(--border); border-radius: var(--radius-sm); padding: 14px 18px; color: var(--muted); margin: 18px 0 0; }

/* --- Planning --- */
.planning-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; }
.day-tabs { display: inline-flex; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 4px; gap: 4px; flex-wrap: wrap; }
.day-tab { border: 0; background: none; padding: .65em 1.2em; border-radius: 10px; font: 600 .95rem var(--font-title); color: var(--muted); cursor: pointer; }
.day-tab.is-active { background: var(--navy); color: #fff; }
.switch { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; cursor: pointer; }
.switch input { accent-color: var(--coral); width: 18px; height: 18px; }

.timeline { display: grid; gap: 0; }
.slot { display: grid; grid-template-columns: 96px 1fr; gap: 18px; position: relative; padding-bottom: 22px; }
.slot::before { content: ""; position: absolute; left: 36px; top: 34px; bottom: 0; width: 2px; background: var(--border); }
.slot:last-child::before { display: none; }
.slot__time { font: 800 1.35rem var(--font-title); color: var(--text); padding-top: 12px; display: flex; flex-direction: column; }
.slot__time small { display: flex; align-items: center; font: 700 .72rem var(--font-title); color: #e03131; text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; }
.slot--done .slot__time { color: var(--muted); }
.slot__items { display: grid; gap: 10px; min-width: 0; }

.event { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px; background: #fff8e6; border: 1px solid #ffe3a3; font: 600 .98rem var(--font-title); }

.mrow {
  display: grid; grid-template-columns: 170px 1fr 120px; align-items: center; gap: 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 12px 18px;
  transition: box-shadow .2s, transform .2s;
}
.mrow:hover { box-shadow: var(--shadow); }
.mrow--live { border-color: #ffc9c9; background: linear-gradient(90deg, #fff5f5, #fff 40%); box-shadow: 0 0 0 1px #ffc9c9; }
.mrow.is-followed { box-shadow: 0 0 0 2px var(--sun); }
.mrow__meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mrow__field { font: 700 .9rem var(--font-title); }
.mrow__phase { font-size: .8rem; color: var(--muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.div-tag { display: inline-block; font: 600 .7rem var(--font-title); padding: .15em .55em; border-radius: 6px; background: #eef1f8; color: var(--navy-2); }
.mrow__teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; min-width: 0; }
.mrow__team { display: flex; align-items: center; gap: 10px; font: 600 .98rem var(--font-title); min-width: 0; }
.mrow__team span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mrow__team--b { justify-content: flex-end; text-align: right; }
.mrow__team.is-loser { color: var(--muted); font-weight: 500; }
.mrow__score { display: flex; align-items: center; gap: 6px; min-width: 76px; justify-content: center; font: 800 1.25rem var(--font-title); font-variant-numeric: tabular-nums; }
.mrow__score i { font-style: normal; color: #b5bdcc; }
.mrow--live .mrow__score { color: #e03131; }
.vs { font: 600 .85rem var(--font-title); color: var(--muted); background: var(--bg); padding: .3em .7em; border-radius: 8px; }
.mstatus { justify-self: end; display: inline-flex; align-items: center; font: 600 .75rem var(--font-title); padding: .35em .75em; border-radius: 999px; white-space: nowrap; }
.mstatus--done { background: #eceef3; color: var(--muted); }
.mstatus--live { background: #ffe3e3; color: #c92a2a; }
.mstatus--upcoming { background: #e7edff; color: var(--blue); }

/* --- Poules --- */
.pools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 22px; }
.pool-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.pool-card__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.pool-card__head h3 { margin: 0; font-size: 1.25rem; }
.pool-card__head span { font-size: .85rem; color: var(--muted); }
.pill { display: inline-flex; align-items: center; font: 600 .75rem var(--font-title); padding: .35em .8em; border-radius: 999px; white-space: nowrap; }
.pill--done { background: #e3f6e7; color: var(--outdoor); }
.pill--live { background: #ffe3e3; color: #c92a2a; }
.table-wrap { overflow-x: auto; }
.standings { width: 100%; border-collapse: collapse; font-size: .95rem; }
.standings th { font: 600 .72rem var(--font-title); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 12px 10px; text-align: center; background: #f8f9fc; }
.standings td { padding: 12px 10px; text-align: center; border-top: 1px solid var(--border); font-variant-numeric: tabular-nums; }
.standings .left { text-align: left; }
.standings .rank { font: 800 1rem var(--font-title); width: 46px; position: relative; }
.standings tr.q .rank::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 4px; border-radius: 0 4px 4px 0; background: var(--qc); }
.standings tr.is-followed td { background: #fffbeb; }
.team-cell { display: flex; align-items: center; gap: 10px; font: 600 .95rem var(--font-title); }
.pos { color: var(--outdoor); font-weight: 600; }
.neg { color: #e03131; font-weight: 600; }
.results { display: inline-flex; gap: 3px; }
.results i { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font: 700 .65rem var(--font-title); font-style: normal; color: #fff; }
.results--w { background: var(--outdoor); }
.results--l { background: #e03131; }
.q-0 { --qc: var(--outdoor); }
.q-1 { --qc: var(--blue); }
.q-2 { --qc: var(--sun); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font-size: .85rem; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.q-swatch { width: 14px; height: 14px; border-radius: 4px; background: var(--qc); }
.pool-card__matches summary { cursor: pointer; padding: 14px 22px; font: 600 .9rem var(--font-title); color: var(--coral); border-top: 1px solid var(--border); list-style: none; }
.pool-card__matches summary::-webkit-details-marker { display: none; }
.pool-card__matches summary::after { content: " ▾"; }
.pool-card__matches[open] summary::after { content: " ▴"; }
.mini-list { display: grid; gap: 8px; padding: 0 16px 16px; }
.mini-list .mrow { grid-template-columns: 1fr; gap: 8px; padding: 10px 14px; }
.mini-list .mrow__meta { flex-direction: row; gap: 10px; align-items: center; }
.mini-list .mstatus { display: none; }

/* --- Phases finales --- */
.bracket-block { margin-bottom: 44px; }
.bracket-block__title { font-size: 1.6rem; display: flex; align-items: center; gap: 10px; }
.bracket-block__title::before { content: ""; width: 6px; height: 26px; border-radius: 4px; background: var(--coral); }
.bracket-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px 24px; margin-bottom: 18px; box-shadow: var(--shadow); }
.bracket-wrap h4 { font: 700 .8rem var(--font-title); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 16px; }
.bracket { display: flex; gap: 48px; overflow-x: auto; padding-bottom: 6px; }
.bracket__col { display: flex; flex-direction: column; min-width: 270px; flex: 1; }
.bracket__round { font: 700 .95rem var(--font-title); margin-bottom: 12px; color: var(--text); }
.bracket__matches { display: flex; flex-direction: column; justify-content: space-around; gap: 18px; flex: 1; }
.bracket__col + .bracket__col .bmatch { position: relative; }
.bracket__col + .bracket__col .bmatch::before { content: ""; position: absolute; right: 100%; top: 50%; width: 48px; height: 2px; background: var(--border); }

.bmatch { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.bmatch--live { border-color: #ffc9c9; box-shadow: 0 0 0 1px #ffc9c9; }
.bmatch--final { border-color: #ffd98a; background: linear-gradient(180deg, #fffaf0, var(--bg)); }
.bmatch.is-followed { box-shadow: 0 0 0 2px var(--sun); }
.bmatch__head { display: flex; justify-content: space-between; gap: 8px; padding: 8px 12px; font: 600 .75rem var(--font-title); color: var(--muted); border-bottom: 1px solid var(--border); background: rgba(255,255,255,.6); }
.bmatch__head span:last-child { display: inline-flex; align-items: center; }
.bmatch__team { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 9px 12px; background: var(--surface); }
.bmatch__team + .bmatch__team { border-top: 1px solid var(--border); }
.bmatch__name { font: 600 .92rem var(--font-title); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bmatch__team b { font: 800 1.05rem var(--font-title); min-width: 22px; text-align: right; font-variant-numeric: tabular-nums; }
.bmatch__team.is-winner b, .bmatch__team.is-winner .bmatch__name { color: var(--outdoor); }
.bmatch__team.is-loser { opacity: .6; }
.bmatch__foot { font-size: .72rem; color: var(--muted); padding: 6px 12px; }

.final-ranking { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.final-ranking h4 { margin: 0 0 12px; font-size: 1.1rem; }
.final-ranking ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.final-ranking li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--bg); font: 600 .95rem var(--font-title); }
.final-ranking__pos { width: 32px; text-align: center; font-size: 1.1rem; }

/* --- Équipes --- */
.teams-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.team-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.team-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--tc); }
.team-card.is-followed { box-shadow: 0 0 0 2px var(--sun), var(--shadow); }
.team-card__top { display: flex; align-items: center; gap: 14px; }
.team-card h3 { margin: 0; font-size: 1.1rem; }
.team-card__top span { font-size: .85rem; color: var(--muted); }
.team-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.team-card__next { font-size: .88rem; color: var(--muted); margin: 0; flex: 1; }
.team-card__next strong { color: var(--text); }
.follow-btn { border: 1.5px solid var(--border); background: none; border-radius: 999px; padding: .55em 1em; font: 600 .88rem var(--font-title); cursor: pointer; color: var(--text); transition: .2s; }
.follow-btn:hover { border-color: var(--sun); }
.follow-btn.is-active { background: var(--sun); border-color: var(--sun); }

/* --- Planning pas encore publié --- */
.empty-card { max-width: 620px; margin: 0 auto; text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 48px 32px; box-shadow: var(--shadow); }
.empty-card__icon { font-size: 3rem; margin-bottom: 8px; }
.empty-card p { color: var(--muted); }

/* --- Infos pratiques --- */
.comp-infos { background: #eef1f8; padding-top: 80px; }
.infos-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: start; }
.infos-map { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
#compMap { height: 400px; z-index: 0; }
.infos-address { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 20px; }
.infos-address strong { display: block; font-family: var(--font-title); }
.infos-address span { font-size: .9rem; color: var(--muted); }
.infos-cards { display: grid; gap: 12px; }
.info-card { display: flex; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; }
.info-card__icon { width: 42px; height: 42px; border-radius: 12px; background: var(--bg); display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; }
.info-card h3 { font-size: 1rem; margin: 0 0 2px; }
.info-card p { font-size: .9rem; color: var(--muted); margin: 0; }

@media (max-width: 1024px) {
  .infos-grid { grid-template-columns: 1fr; }
  .pools-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .comp-stats { grid-template-columns: repeat(2, 1fr); }
  .mrow { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding: 12px 14px; }
  .mrow__meta { flex-direction: row; align-items: center; gap: 10px; }
  .mrow__teams { grid-column: 1 / -1; grid-row: 2; }
  .mstatus { grid-column: 2; grid-row: 1; }
  .slot { grid-template-columns: 1fr; gap: 8px; }
  .slot::before { display: none; }
  .slot__time { flex-direction: row; align-items: center; gap: 12px; padding-top: 0; }
  .hide-sm { display: none; }
  .live__grid { grid-template-columns: 1fr; }
  .bracket { gap: 28px; }
  .bracket__col { min-width: 240px; }
  .bracket__col + .bracket__col .bmatch::before { width: 28px; }
  .comp-toolbar { flex-direction: column; align-items: stretch; }
  .follow { justify-content: space-between; }
}
@media (max-width: 420px) {
  .mrow__team span { font-size: .88rem; }
  .mrow__team .avatar { display: none; }
  .mrow__teams { gap: 8px; }
  .mrow__score { min-width: 60px; }
  .avatar--sm { width: 26px; height: 26px; font-size: .55rem; }
  .scorecard__team strong { font-size: .88rem; }
  .avatar--lg { width: 48px; height: 48px; font-size: .85rem; }
}

/* =========================================================
   Espace membre : bouton compte + fenêtre connexion / inscription
   ========================================================= */
.nav__inner { gap: 18px; }
.nav__links { margin-left: auto; }

.account { position: relative; display: flex; align-items: center; }
.account__btn {
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; padding: 0;
  background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.28); color: #fff;
  transition: background .2s, border-color .2s, transform .2s;
}
.account__btn:hover { background: rgba(255,255,255,.2); border-color: #fff; transform: translateY(-1px); }
.account__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.account__btn--in { background: none; border: 0; }
.account__avatar {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--coral), var(--sun)); color: #fff;
  font: 800 .95rem var(--font-title); box-shadow: 0 0 0 3px rgba(255,255,255,.2);
}
.account__avatar--lg { width: 48px; height: 48px; font-size: 1.05rem; box-shadow: none; flex-shrink: 0; }

.account__menu {
  position: absolute; top: calc(100% + 12px); right: 0; width: 270px;
  background: var(--surface); color: var(--text); border-radius: 18px; padding: 8px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  animation: menuIn .2s ease;
}
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } }
.account__menu::before { content: ""; position: absolute; top: -7px; right: 16px; width: 14px; height: 14px; background: var(--surface); transform: rotate(45deg); border-left: 1px solid var(--border); border-top: 1px solid var(--border); }
.account__head { display: flex; align-items: center; gap: 12px; padding: 12px; margin-bottom: 6px; border-bottom: 1px solid var(--border); }
.account__head strong { display: block; font-family: var(--font-title); }
.account__head small { color: var(--muted); font-size: .82rem; }
.account__menu a, .account__logout {
  display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 10px;
  text-decoration: none; color: var(--text); font: 500 .94rem var(--font-body); background: none; border: 0; cursor: pointer;
}
.account__menu a:hover, .account__logout:hover { background: var(--bg); }
.account__logout { color: #d6336c; border-top: 1px solid var(--border); border-radius: 0 0 10px 10px; margin-top: 6px; }

/* --- Fenêtre --- */
html.auth-open { overflow: hidden; }
.auth { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 20px; }
.auth__backdrop { position: absolute; inset: 0; background: rgba(8, 20, 45, .6); backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s; }
.auth__dialog {
  position: relative; width: min(980px, 100%); max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px);
  display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden;
  background: var(--surface); border-radius: 28px; box-shadow: 0 40px 100px -30px rgba(0,0,0,.6);
  opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .25s, transform .25s;
}
.auth.is-open .auth__backdrop { opacity: 1; }
.auth.is-open .auth__dialog { opacity: 1; transform: none; }

.auth__side {
  position: relative; overflow: hidden; color: #fff; padding: 40px 36px;
  display: flex; flex-direction: column;
  background:
    radial-gradient(circle at 90% 10%, rgba(77, 212, 172, .3), transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(255, 90, 54, .35), transparent 50%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, #1a3a6e 100%);
}
.auth__side::after { content: ""; position: absolute; inset: 0; opacity: .06; pointer-events: none; background-image: linear-gradient(90deg, #fff 2px, transparent 2px), linear-gradient(0deg, #fff 2px, transparent 2px); background-size: 60px 60px; }
.auth__side-art svg { width: 100%; height: auto; overflow: visible; margin-bottom: 12px; }
.auth__side h2 { font-size: 1.75rem; margin-bottom: 20px; }
.auth__perks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.auth__perks li { display: flex; align-items: center; gap: 12px; font-size: .95rem; color: rgba(255,255,255,.85); }
.auth__perks span { width: 36px; height: 36px; border-radius: 11px; background: rgba(255,255,255,.1); display: grid; place-items: center; flex-shrink: 0; }
.auth__side-foot { margin: auto 0 0; padding-top: 28px; font-size: .82rem; color: rgba(255,255,255,.55); }

.auth__main { position: relative; padding: 32px 40px 32px; overflow-y: auto; }
.auth__close { position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--bg); cursor: pointer; display: grid; place-items: center; color: var(--muted); transition: .2s; z-index: 1; }
.auth__close:hover { background: #e8ebf2; color: var(--text); transform: rotate(90deg); }
.auth__close svg, .auth__back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.auth__tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: var(--bg); border-radius: 14px; padding: 4px; margin: 0 52px 26px 0; }
.auth__tab { position: relative; z-index: 1; border: 0; background: none; padding: .7em; font: 600 .95rem var(--font-title); color: var(--muted); cursor: pointer; transition: color .2s; }
.auth__tab.is-active { color: var(--text); }
.auth__tab-ink { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); background: var(--surface); border-radius: 10px; box-shadow: 0 4px 12px -4px rgba(11,29,58,.2); transition: transform .3s cubic-bezier(.4,.2,.2,1); }
.auth__tabs[data-active="register"] .auth__tab-ink { transform: translateX(100%); }

.auth__view { animation: fadeIn .3s ease; }
.auth__title { font-size: 1.7rem; margin-bottom: 6px; }
.auth__sub { color: var(--muted); margin-bottom: 22px; }

.afield { margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.afield label, .afield legend { display: block; font: 600 .88rem var(--font-title); margin-bottom: 6px; padding: 0; }
.optional { font-weight: 400; color: var(--muted); }
.afield-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.afield__input {
  display: flex; align-items: center; gap: 10px; padding: 0 14px;
  border: 1.5px solid var(--border); border-radius: 12px; background: var(--bg);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.afield__input:focus-within { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(29, 78, 216, .12); }
.afield__input > svg { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: #98a2b3; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.afield__input:focus-within > svg { stroke: var(--blue); }
.afield__input input, .afield__input select { flex: 1; min-width: 0; border: 0; background: none; padding: .85em 0; font: inherit; color: var(--text); outline: none; }
.afield__input--select select { cursor: pointer; }
.afield__eye { border: 0; background: none; cursor: pointer; padding: 4px; display: grid; place-items: center; color: #98a2b3; }
.afield__eye svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.afield__eye.is-on { color: var(--blue); }
.afield__error { display: none; color: #d6336c; font-size: .8rem; margin-top: 4px; }
.afield.has-error .afield__input { border-color: #d6336c; background: #fff5f7; }
.afield.has-error .afield__error { display: block; }

.strength { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.strength__bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; width: 120px; }
.strength__bars i { height: 5px; border-radius: 5px; background: var(--border); transition: background .3s; }
.strength__label { font-size: .78rem; color: var(--muted); }
.strength[data-score="1"] i:nth-child(-n+1) { background: #e03131; }
.strength[data-score="2"] i:nth-child(-n+2) { background: #f59f00; }
.strength[data-score="3"] i:nth-child(-n+3) { background: #37b24d; }
.strength[data-score="4"] i { background: var(--outdoor); }

.auth__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 4px 0 20px; flex-wrap: wrap; }
.acheck { display: inline-flex; align-items: flex-start; gap: 8px; font-size: .9rem; color: var(--muted); cursor: pointer; }
.acheck input { accent-color: var(--coral); width: 17px; height: 17px; margin: 2px 0 0; flex-shrink: 0; }
.acheck a { color: var(--coral); }
.acheck--block { display: flex; margin-bottom: 12px; }
.acheck.has-error span { color: #d6336c; }
.auth__link { border: 0; background: none; padding: 0; color: var(--coral); font: 600 .9rem var(--font-body); cursor: pointer; }
.auth__link:hover { text-decoration: underline; }
.auth__submit { margin-top: 4px; }

.auth__divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; color: var(--muted); font-size: .85rem; }
.auth__divider::before, .auth__divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.auth__alt {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: .85em; border-radius: 999px; border: 1.5px solid var(--border); background: var(--surface);
  font: 600 .95rem var(--font-title); color: var(--text); cursor: pointer; transition: .2s;
}
.auth__alt:hover { border-color: var(--navy); }
.auth__alt svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.auth__switch { text-align: center; color: var(--muted); font-size: .92rem; margin: 22px 0 0; }

.steps { display: flex; align-items: center; gap: 10px; margin: 10px 0 24px; }
.steps__item { display: flex; align-items: center; gap: 8px; font: 600 .85rem var(--font-title); color: var(--muted); white-space: nowrap; }
.steps__item b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1.5px solid var(--border); font-size: .8rem; transition: .3s; }
.steps__item.is-active { color: var(--text); }
.steps__item.is-active b { background: var(--navy); border-color: var(--navy); color: #fff; }
.steps__item.is-done b { background: var(--outdoor); border-color: var(--outdoor); }
.steps__bar { flex: 1; height: 3px; border-radius: 3px; background: var(--border); overflow: hidden; }
.steps__bar i { display: block; height: 100%; width: 0; background: var(--outdoor); transition: width .4s ease; }
.steps.is-step2 .steps__bar i { width: 100%; }
.auth__step { animation: fadeIn .3s ease; }

.choice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.choice input, .pill-choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px; text-align: center;
  border: 1.5px solid var(--border); border-radius: 14px; font: 600 .8rem var(--font-title); color: var(--muted);
  cursor: pointer; transition: .2s; background: var(--surface);
}
.choice em { font-style: normal; font-size: 1.4rem; }
.choice span:hover { border-color: #b5bdcc; }
.choice input:checked + span { border-color: var(--coral); background: #fff4f1; color: var(--text); box-shadow: 0 0 0 3px rgba(255, 90, 54, .12); }
.choice input:focus-visible + span, .pill-choice input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.choice-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-choice span { display: inline-block; padding: .55em 1.1em; border-radius: 999px; border: 1.5px solid var(--border); font: 600 .88rem var(--font-title); color: var(--muted); cursor: pointer; transition: .2s; }
.pill-choice input:checked + span { color: #fff; border-color: transparent; }
.pill-choice--outdoor input:checked + span { background: var(--outdoor); }
.pill-choice--indoor input:checked + span { background: var(--indoor); }
.pill-choice--beach input:checked + span { background: var(--beach); }

.auth__actions { display: flex; gap: 12px; align-items: center; margin-top: 8px; }
.auth__actions .btn { flex: 1; margin: 0; }
.auth__back { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; cursor: pointer; font: 600 .92rem var(--font-title); color: var(--muted); padding: .6em .4em; }
.auth__back:hover { color: var(--text); }
.auth__back--top { margin: 0 0 16px -6px; }
.auth__icon-big { width: 64px; height: 64px; border-radius: 20px; background: #fff8e6; display: grid; place-items: center; font-size: 2rem; margin-bottom: 16px; }
.auth__notice { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: #e3f6e7; color: #1e6f30; }
.auth__alert { margin: 4px 0 14px; padding: 12px 14px; border-radius: 12px; background: #ffe3e3; color: #c92a2a; font-size: .9rem; font-weight: 600; }
.auth__submit[disabled] { opacity: .7; cursor: wait; }
.auth-card { max-width: 480px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 36px 32px; box-shadow: var(--shadow-lg); }
.auth__notice svg { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.auth__notice p { margin: 0; font-size: .92rem; }

.auth__success { text-align: center; padding-top: 30px; }
.success-disc { width: 110px; margin: 0 auto 18px; animation: pop .5s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.success-disc path { stroke-dasharray: 80; stroke-dashoffset: 80; animation: draw .5s .35s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 8px 0 22px; }
.success-card { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 18px 12px; border-radius: 16px; background: var(--bg); border: 1px solid var(--border); text-decoration: none; color: var(--text); transition: .2s; }
.success-card:hover { border-color: var(--coral); transform: translateY(-2px); }
.success-card span { font-size: 1.6rem; }
.success-card strong { font-family: var(--font-title); font-size: .95rem; }
.success-card small { color: var(--muted); font-size: .8rem; }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 3000; transform: translate(-50%, 20px);
  background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 999px;
  font: 600 .92rem var(--font-title); box-shadow: var(--shadow-lg);
  width: max-content; max-width: calc(100vw - 32px); text-align: center;
  opacity: 0; pointer-events: none; transition: .3s;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 860px) {
  .auth { padding: 0; place-items: end center; }
  .auth__dialog { grid-template-columns: 1fr; border-radius: 26px 26px 0 0; max-height: 94vh; max-height: 94dvh; transform: translateY(40px); }
  .auth__side { display: none; }
  .auth__main { padding: 26px 20px 28px; }
}
@media (max-width: 820px) {
  .account { margin-left: auto; }
  .account__btn, .account__avatar { width: 40px; height: 40px; }
}
@media (max-width: 480px) {
  .afield-row { grid-template-columns: 1fr; gap: 0; }
  .choice-grid { grid-template-columns: repeat(2, 1fr); }
  .success-cards { grid-template-columns: 1fr; }
  .auth__title { font-size: 1.45rem; }
  .steps__item { font-size: .78rem; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .rules { grid-template-columns: repeat(2, 1fr); }
  .panel { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
  .news, .news-list { grid-template-columns: 1fr 1fr; }
  .clubs { grid-template-columns: 1fr; height: auto; }
  .clubs__map { height: 460px; }
  .clubs__list ul { max-height: 320px; }
  .contact { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 820px) {
  .burger { display: block; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto; flex-direction: column; gap: 0;
    background: var(--navy); padding: 12px 16px 24px;
    transform: translateY(-120%); transition: transform .35s ease; box-shadow: 0 20px 40px rgba(0,0,0,.25);
    z-index: -1;
  }
  .nav__links.is-open { transform: none; }
  .nav__links a { width: 100%; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav__links a.btn { margin-top: 16px; border-bottom: 0; }
  .nav.menu-open { background: var(--navy); }

  .hero { align-items: flex-start; padding-top: calc(var(--nav-h) + 16px); }
  .hero__inner { grid-template-columns: 1fr; gap: 12px; }
  .hero__visual { order: -1; width: 100%; max-width: 260px; margin: 0 auto; }
  .hero__stats { gap: 24px; }
  .section { padding: 80px 0; }
  .news-card--featured { flex-direction: column; }
  .news-card--featured .news-card__img { min-height: 190px; }
  .news-card--featured .news-card__body { padding: 24px; }
  .news-card--featured h3 { font-size: 1.4rem; }
}

@media (max-width: 600px) {
  .rules, .news, .news-list, .article-nav { grid-template-columns: 1fr; }
  .article-nav a:last-child { text-align: left; }
  .article-footer { flex-direction: column; align-items: flex-start; }
  .tabs { width: 100%; }
  .tab { flex: 1; justify-content: center; padding: .7em .6em; font-size: .92rem; }
  .facts { grid-template-columns: 1fr 1fr; }
  .panel { padding: 18px; }
  .panel__visual { padding: 8px; }
  .comps { grid-template-columns: 1fr; }
  .comp { padding: 16px; gap: 14px; }
  .comp__date { width: 70px; }
  .form { padding: 22px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .clubs__map { height: 380px; }
  .hero__scroll { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
.popup__address { color: var(--muted); font-size: .82rem; }

/* Page compétition : phases de poules et nom du week-end sur les onglets de jours */
.pools-phase { font-size: 1.15rem; margin: 28px 0 14px; display: flex; align-items: center; gap: 10px; }
.pools-phase:first-child { margin-top: 0; }
.pools-phase::before { content: ""; width: 6px; height: 20px; border-radius: 4px; background: var(--coral); }
.day-tab small { display: block; font: 500 .72rem var(--font-body); opacity: .75; margin-top: 2px; }
.q-3 { --qc: #7048e8; }
.q-4 { --qc: #98a2b3; }
.level-tag { display: inline-block; vertical-align: middle; margin-right: 6px; padding: .15em .55em; border-radius: 6px; font: 700 .72rem var(--font-title); background: #e7edff; color: var(--blue); }
.level-tag--2 { background: #fff5d1; color: #a07800; }
