/* One Punch Night — site public.
   L'identité (noir, orange, blanc) est fixe. --ed, --ed2 et --edt sont redéfinies par édition (classe .ev-N). */
@font-face { font-family: 'Anton'; src: url('../fonts/anton-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('../fonts/barlow-condensed-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('../fonts/barlow-condensed-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  color-scheme: dark;
  --noir: #0E0D0C; --charbon: #1C1917; --trait: #2E2925;
  --blanc: #F5F2EC; --gris: #A8A39C;
  --orange: #FA3303; --orange-clair: #FF6A3D; --orange-brule: #C7300F;
  --or: #D9A93A; --vert: #22C55E; --defaite: #8C8780; --rouge-defaite: #C8102E;
  --ed: #FF6A3D; --ed2: #D9A93A; --edt: #FF6A3D;
  --f-titre: 'Anton', 'Haettenschweiler', 'Impact', 'Arial Narrow Bold', sans-serif;
  --f-label: 'Barlow Condensed', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --f-texte: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--noir); color: var(--blanc); font-family: var(--f-texte); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a.u { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--blanc); outline-offset: 3px; }
h1, h2, h3, p, dl, dd { margin: 0; }
.wrap { max-width: 1120px; margin-inline: auto; padding-inline: 20px; }
.sr, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--blanc); color: var(--noir); padding: 10px 16px; z-index: 50; }
.skip:focus { left: 8px; top: 8px; }
h2, .h { font-family: var(--f-titre); font-weight: 400; text-transform: uppercase; font-size: clamp(30px, 5vw, 46px); line-height: 1.05; letter-spacing: .01em; text-wrap: balance; }
.label { font-family: var(--f-label); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 15px; }
.muted { color: var(--gris); }
.lead { max-width: 62ch; margin-top: 14px; }
section { padding-block: 64px; }
.alt { background: var(--charbon); border-block: 1px solid var(--trait); }
.head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }
.more { font-family: var(--f-label); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--orange-clair); }
.more:hover { color: var(--blanc); }
.emptybox { border: 1px dashed var(--trait); padding: 28px 20px; color: var(--gris); text-align: center; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border: 0; cursor: pointer;
  font-family: var(--f-label); font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: .06em; text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%); transition: background .2s, color .2s; }
.btn-1 { background: var(--orange); color: var(--noir); }
a.btn-1:hover, button.btn-1:hover { background: var(--orange-brule); color: #fff; }
.btn-1.off { background: var(--trait); color: var(--gris); cursor: default; }
.btn-2 { background: transparent; color: var(--blanc); box-shadow: inset 0 0 0 1.5px var(--blanc); clip-path: none; }
.btn-2:hover { background: var(--blanc); color: var(--noir); }

/* En-tête */
header.top { position: sticky; top: 0; z-index: 20; background: rgba(14, 13, 12, .95); border-bottom: 1px solid var(--trait); }
header.top .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: 72px; }
nav.main { display: flex; gap: 28px; font-family: var(--f-label); font-weight: 700; font-size: 17px; text-transform: uppercase; letter-spacing: .06em; }
nav.main.r { justify-content: flex-end; }
nav.main a:hover, nav.main a[aria-current] { color: var(--orange-clair); }
.logo { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; line-height: 1; }
.logo svg { width: 26px; height: 22px; fill: var(--blanc); }
.wordmark { font-family: var(--f-titre); font-size: 34px; letter-spacing: .02em; transform: skewX(-12deg); display: inline-block;
  background: linear-gradient(var(--blanc) 0 47%, transparent 47% 54%, var(--blanc) 54%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wordmark.sm { font-size: 26px; }
.logo small { font-family: var(--f-label); font-weight: 700; font-size: 10px; letter-spacing: .5em; padding-left: .5em; color: var(--blanc); }

/* Bandeau prochain événement */
.band { background: var(--charbon); border-bottom: 1px solid var(--trait); }
.band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 36px; padding-block: 14px; }
.band-name { font-family: var(--f-titre); font-size: 26px; text-transform: uppercase; line-height: 1; }
.band-name span { display: block; font-family: var(--f-label); font-weight: 700; font-size: 13px; letter-spacing: .1em; color: var(--gris); margin-top: 4px; }
.count { display: flex; gap: 22px; font-variant-numeric: tabular-nums; }
.count div { font-family: var(--f-titre); font-size: 34px; line-height: 1; }
.count small { font-family: var(--f-label); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); margin-left: 4px; }

/* Héros */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--trait);
  background: radial-gradient(120% 90% at 85% 0%, color-mix(in srgb, var(--ed) 26%, transparent), transparent 60%),
              radial-gradient(90% 80% at 0% 100%, color-mix(in srgb, var(--ed2) 22%, transparent), transparent 60%), var(--noir); }
.hero .wrap { position: relative; padding-block: 72px 80px; display: grid; gap: 22px; justify-items: start; }
.motif { position: absolute; inset: 0; pointer-events: none; }
.motif svg { position: absolute; right: -30px; top: 50%; transform: translateY(-50%); width: min(430px, 36%); height: auto; opacity: .9; }
.motif .m1, .motif .m2 { fill: none; stroke-width: 14; stroke-linecap: round; stroke-linejoin: round; }
.motif .m1 { stroke: var(--ed); } .motif .m2 { stroke: var(--ed2); }
.motif .f1 { fill: var(--ed); opacity: .8; } .motif .f2 { fill: var(--ed2); opacity: .8; }
.tag { display: inline-block; background: var(--ed); color: var(--noir); padding: 5px 14px; transform: skewX(-8deg); font-family: var(--f-label); font-weight: 700; font-size: 16px; letter-spacing: .1em; text-transform: uppercase; }
.hero h1, .hero .h1 { font-family: var(--f-titre); font-weight: 400; text-transform: uppercase; font-size: clamp(76px, 17vw, 210px); line-height: .86; letter-spacing: .01em; transform: skewX(-8deg); transform-origin: left bottom; }
.hero h1 b, .hero .h1 b, .ed .n b { font-weight: 400; color: var(--ed); }
.theme { font-family: var(--f-titre); font-size: clamp(26px, 4.4vw, 48px); text-transform: uppercase; line-height: 1; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 28px; font-family: var(--f-label); font-weight: 600; font-size: 20px; text-transform: uppercase; letter-spacing: .05em; }
.facts span + span::before { content: ''; display: inline-block; width: 10px; height: 2px; background: var(--ed); margin-right: 28px; vertical-align: middle; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

/* Bandeaux image seule et slider d'accueil */
.banner, .slide a { display: block; }
.banner img, .slide img { display: block; width: 100%; height: auto; }
.banner, .slider { background: var(--charbon); border-bottom: 1px solid var(--trait); }
.slider { position: relative; }
.track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; min-width: 0; }
.s-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: 0; cursor: pointer; background: rgba(14, 13, 12, .72); color: var(--blanc); font: 400 28px/1 var(--f-titre); display: grid; place-items: center; }
.s-arrow:hover { background: var(--orange); color: var(--noir); }
.s-prev { left: 12px; } .s-next { right: 12px; }
.s-bar { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; align-items: center; gap: 4px; pointer-events: none; }
.s-bar button { pointer-events: auto; border: 0; cursor: pointer; background: none; padding: 0; width: 28px; height: 28px; display: grid; place-items: center; }
.s-dot::before { content: ''; width: 22px; height: 4px; background: rgba(245, 242, 236, .45); box-shadow: 0 0 0 1px rgba(14, 13, 12, .5); }
.s-dot[aria-current]::before { background: var(--orange); }
.s-bar .s-pause { color: var(--blanc); font: 700 13px/1 var(--f-label); background: rgba(14, 13, 12, .72); margin-left: 6px; }

/* Carte des combats */
.fight { display: grid; grid-template-columns: 1fr minmax(120px, auto) 1fr; align-items: center; gap: 16px; background: var(--charbon); border: 1px solid var(--trait); padding: 20px 24px; }
.alt .fight { background: var(--noir); }
.fight + .fight { margin-top: 12px; }
.fight.main { border-color: var(--or); }
/* Combat annulé : reste lisible, noms barrés, étiquette rouge */
.fight.off { border-style: dashed; }
.fight.off .corner strong { color: var(--defaite); text-decoration: line-through; text-decoration-thickness: 2px; }
.fight.off .sil { opacity: .45; }
.fight.off .vs b { color: var(--defaite); }
.cancelled { display: inline-block; justify-self: center; padding: 2px 10px; background: var(--rouge-defaite); color: #fff; font-family: var(--f-label); font-weight: 700; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.corner { display: flex; align-items: center; gap: 16px; min-width: 0; }
.corner.b { flex-direction: row-reverse; text-align: right; }
.corner > div { min-width: 0; }
.corner strong { display: block; font-family: var(--f-titre); font-weight: 400; font-size: clamp(18px, 2.6vw, 26px); text-transform: uppercase; line-height: 1.1; overflow-wrap: anywhere; }
.corner a:hover strong { color: var(--orange-clair); }
.corner .muted { display: block; font-size: 14px; }
.corner.lost strong { color: var(--defaite); }
.corner .pill { margin-top: 6px; }
.sil { flex: none; width: 104px; height: 120px; background: var(--trait); clip-path: polygon(30% 0, 70% 0, 78% 22%, 70% 40%, 100% 58%, 100% 100%, 0 100%, 0 58%, 30% 40%, 22% 22%); }
/* Vraie photo : cadre qui recadre sur le haut de l'image (visage et épaules), pour que le combattant soit reconnaissable en petit */
.sil.ph { clip-path: none; background: none; overflow: hidden; display: block; }
.sil.ph img { display: block; width: 100%; height: 215%; max-width: none; object-fit: cover; object-position: 50% 0; }
/* Fiche combattant : la photo entière, sans cadre, pour les portraits détourés sur fond transparent */
.sil.xl.ph img { height: 100%; object-fit: contain; object-position: center bottom; }
.sil.big.ph img { height: 165%; }
.corner.r .sil { box-shadow: -4px 0 0 #D8342B; margin-left: 4px; } .corner.b .sil { box-shadow: 4px 0 0 #3B7BD9; margin-right: 4px; }
.corner .sil:not(.ph) { box-shadow: none; border-left: 0; }
.corner.r .sil:not(.ph) { filter: drop-shadow(-4px 0 0 #D8342B); } .corner.b .sil:not(.ph) { filter: drop-shadow(4px 0 0 #3B7BD9); }
.vs { text-align: center; display: grid; gap: 2px; }
.vs b { font-family: var(--f-titre); font-weight: 400; font-size: 30px; color: var(--edt); line-height: 1; }
.vs .label { font-size: 13px; color: var(--gris); }
.fight.main .vs .label { color: var(--or); }
.how { color: var(--gris); font-size: 14px; font-variant-numeric: tabular-nums; }
.how em { font-style: normal; color: var(--or); font-family: var(--f-label); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-right: 8px; }

/* Résultats */
.pill { width: 32px; height: 32px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--vert); color: var(--noir); font-family: var(--f-label); font-weight: 700; font-size: 17px; }
.pill.d { background: var(--rouge-defaite); color: #fff; }
.pill.n { background: transparent; color: var(--blanc); box-shadow: inset 0 0 0 1.5px var(--gris); }
.res { display: grid; grid-template-columns: 34px minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, 1.3fr); gap: 6px 18px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--trait); }
.res strong { font-family: var(--f-label); font-weight: 700; font-size: 20px; text-transform: uppercase; letter-spacing: .03em; }
.res a:hover strong, .res a.lose:hover { color: var(--orange-clair); }
.res .lose { color: var(--defaite); font-family: var(--f-label); font-weight: 600; font-size: 18px; text-transform: uppercase; }
.nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--trait); border: 1px solid var(--trait); margin-top: 36px; }
.nums div { background: var(--noir); padding: 24px 20px; }
.nums b { display: block; font-family: var(--f-titre); font-weight: 400; font-size: clamp(40px, 7vw, 72px); line-height: 1; color: var(--orange-clair); font-variant-numeric: tabular-nums; }
.nums span { color: var(--gris); font-size: 14px; }

/* Éditions */
.eds { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.ed { position: relative; overflow: hidden; display: grid; gap: 8px; align-content: end; min-height: 260px; padding: 22px; border: 1px solid var(--trait);
  background: linear-gradient(160deg, color-mix(in srgb, var(--ed) 34%, var(--noir)), var(--noir) 62%, color-mix(in srgb, var(--ed2) 30%, var(--noir))); }
.ed:hover { border-color: var(--ed); }
.ed .n { font-family: var(--f-titre); font-size: 64px; line-height: .9; text-transform: uppercase; transform: skewX(-8deg); transform-origin: left bottom; }
.ed .label { color: var(--edt); }
.ed p { color: var(--gris); font-size: 14px; }
.ed .state { position: absolute; top: 16px; right: 16px; font-family: var(--f-label); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; padding: 3px 10px; border: 1px solid var(--blanc); }

/* Fiche événement, lieu */
.info { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 36px; align-items: start; }
.info > div:only-child { grid-column: 1 / -1; }
.poster { width: 100%; border: 1px solid var(--trait); }
.dl { display: grid; gap: 14px; }
.dl.row { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 18px 28px; margin-top: 26px; }
.dl dt { font-family: var(--f-label); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); }
.dl dd { font-family: var(--f-label); font-weight: 600; font-size: 22px; line-height: 1.25; }
.dl dd .muted { font-family: var(--f-texte); font-size: 15px; font-weight: 400; }

/* Combattants */
.search { display: flex; flex-wrap: wrap; gap: 10px; }
.search input, .join input[type=email] { flex: 1 1 220px; min-width: 0; min-height: 48px; padding: 0 14px; background: var(--noir); color: var(--blanc); border: 1px solid var(--trait); font: 16px var(--f-texte); }
.search input::placeholder, .join input::placeholder { color: var(--defaite); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chips a { font-family: var(--f-label); font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; padding: 6px 14px; border: 1px solid var(--trait); color: var(--gris); }
.chips a span { color: var(--defaite); margin-left: 4px; }
.chips a:hover, .chips a[aria-current] { color: var(--noir); background: var(--blanc); border-color: var(--blanc); }
.chips a[aria-current] span, .chips a:hover span { color: var(--noir); }
.roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.fcard { display: grid; gap: 4px; justify-items: start; background: var(--charbon); border: 1px solid var(--trait); padding: 16px; }
.fcard:hover { border-color: var(--orange-clair); }
.fcard strong { font-family: var(--f-titre); font-weight: 400; font-size: 22px; text-transform: uppercase; line-height: 1.1; overflow-wrap: anywhere; }
.fcard .label { color: var(--orange-clair); font-size: 13px; }
.sil.big { width: 100%; height: 250px; margin-bottom: 8px; }
.sil.big:not(.ph) { clip-path: polygon(34% 0, 66% 0, 72% 20%, 66% 38%, 96% 56%, 100% 100%, 0 100%, 4% 56%, 34% 38%, 28% 20%); }
.profile { border-bottom: 1px solid var(--trait); background: radial-gradient(110% 100% at 0% 0%, color-mix(in srgb, var(--orange) 18%, transparent), transparent 60%), var(--noir); }
.profile .wrap { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 40px; align-items: center; padding-block: 56px 0; }
/* La photo descend jusqu'au séparateur : un portrait coupé à la taille paraît posé dessus, pas tronqué */
.profile .wrap > .sil { align-self: end; display: block; }
.profile .wrap > div:last-child { padding-bottom: 56px; }
.profile h1 { font-family: var(--f-titre); font-weight: 400; text-transform: uppercase; font-size: clamp(44px, 8vw, 92px); line-height: .95; overflow-wrap: anywhere; }
.profile .theme { color: var(--orange-clair); font-size: clamp(20px, 3vw, 30px); margin-top: 8px; }
.sil.xl { width: 100%; height: 360px; }
/* Vraie photo : grand format, comme sur les fiches des grandes ligues */
.sil.xl.ph { height: clamp(420px, 44vw, 580px); }
.sil.xl:not(.ph) { max-width: 300px; justify-self: center; }

/* Partenaires */
.tier { border: 1px solid var(--trait); padding: 34px 20px 22px; margin-top: 30px; position: relative; }
.tier > .label { position: absolute; top: -13px; left: 50%; transform: translateX(-50%) skewX(-8deg); background: var(--blanc); color: var(--noir); padding: 2px 14px; white-space: nowrap; }
.tier.gold > .label { background: var(--or); }
.slots { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.slot { width: 200px; max-width: 100%; height: 90px; padding: 12px; display: grid; place-items: center; border: 1px solid var(--trait); background: var(--noir); font-family: var(--f-label); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-align: center; }
a.slot:hover { border-color: var(--blanc); }
.slot img { max-height: 64px; width: auto; object-fit: contain; }

/* Inscription */
.join { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; }
.join form { display: flex; flex-wrap: wrap; gap: 10px; }
.note { font-size: 14px; color: var(--blanc); margin-top: 10px; min-height: 22px; }

footer { border-top: 1px solid var(--trait); padding-block: 40px 110px; color: var(--gris); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 48px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a:hover { color: var(--blanc); }

.sticky { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--noir); border-top: 1px solid var(--trait); padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); }
.sticky .btn { width: 100%; }

@media (max-width: 860px) {
  header.top { position: static; }
  header.top .wrap { grid-template-columns: 1fr; justify-items: center; gap: 8px; padding-block: 10px; }
  nav.main, nav.main.r { gap: 20px; font-size: 16px; flex-wrap: wrap; justify-content: center; }
  .logo { order: -1; }
  .join, .info, .profile .wrap { grid-template-columns: 1fr; }
  .res { grid-template-columns: 34px 1fr; }
  .res > :nth-child(n+3) { grid-column: 2; }
  .fight { grid-template-columns: 1fr; text-align: center; padding: 18px; }
  .corner, .corner.b { flex-direction: column; text-align: center; gap: 8px; }
  .motif svg { opacity: .35; width: 90%; right: -20%; }
  .band .btn { display: none; }
  .sticky { display: block; }
  section { padding-block: 48px; }
  .hero .wrap { padding-block: 48px 56px; }
  .nums { grid-template-columns: 1fr; }
  .sil.xl { height: 260px; max-width: 260px; }
  .roster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sil.big { height: 190px; }
  .fcard { padding: 12px; }
  .sil.xl.ph { height: min(118vw, 520px); }
  .profile .wrap { padding-top: 28px; gap: 24px; }
  .profile .wrap > .sil.ph { border-bottom: 1px solid var(--trait); max-width: none; justify-self: stretch; }
  .s-arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.how.ref { display: block; }

/* Page d'un combat */
.vslink:hover b { color: var(--blanc); }
.more.sm { font-size: 13px; margin-top: 4px; }
a.how:hover { color: var(--blanc); }
.duel { border-bottom: 1px solid var(--trait); background: radial-gradient(110% 100% at 50% 0%, color-mix(in srgb, var(--ed) 20%, transparent), transparent 62%), var(--noir); }
.duel .wrap { padding-block: 44px 40px; display: grid; gap: 18px; justify-items: center; text-align: center; }
.duel-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 24px; align-items: center; width: 100%; max-width: 900px; }
.duel .side { display: grid; gap: 6px; justify-items: center; }
.duel .side .sil.big { height: 300px; max-width: 320px; }
.duel .side strong { font-family: var(--f-titre); font-weight: 400; font-size: clamp(22px, 4vw, 44px); text-transform: uppercase; line-height: 1; overflow-wrap: anywhere; }
.duel .side:hover strong { color: var(--orange-clair); }
.duel .side.lost strong { color: var(--defaite); }
.duel .vs b { font-size: clamp(34px, 6vw, 64px); }
.verdict { font-family: var(--f-label); font-weight: 700; font-size: clamp(18px, 2.6vw, 26px); text-transform: uppercase; letter-spacing: .05em; }
.tape { width: 100%; max-width: 760px; margin-inline: auto; border-collapse: collapse; table-layout: fixed; }
.tape td, .tape th { padding: 14px 10px; border-bottom: 1px solid var(--trait); text-align: center; }
.tape td { font-family: var(--f-label); font-weight: 600; font-size: 22px; overflow-wrap: anywhere; }
.tape th { font-family: var(--f-label); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); }
.gblock + .gblock { margin-top: 40px; }
.gblock h3 { margin: 0 0 14px; font-size: 17px; }
.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.gal figure { margin: 0; position: relative; background: var(--charbon); }
.gal a { display: block; }
.gal img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: opacity .2s; }
.gal a:hover img { opacity: .82; }
.gal figcaption { position: absolute; left: 0; bottom: 0; padding: 3px 8px; font-size: 12px; background: rgba(14, 13, 12, .78); color: var(--blanc); pointer-events: none; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; display: none; }
.lightbox[open] { display: grid; place-items: center; grid-template-rows: 1fr auto; }
.lightbox::backdrop { background: rgba(8, 7, 6, .94); }
.lightbox img { max-width: 94vw; max-height: 84vh; object-fit: contain; }
.lightbox p { color: var(--blanc); font-size: 14px; margin: 10px 0 18px; }
.lightbox button { position: fixed; border: 0; cursor: pointer; background: rgba(28, 25, 23, .85); color: var(--blanc); width: 48px; height: 48px; font: 400 28px/1 var(--f-titre); }
.lightbox button:hover { background: var(--orange); color: var(--noir); }
.lb-close { top: 12px; right: 12px; } .lb-prev { left: 12px; top: 50%; } .lb-next { right: 12px; top: 50%; }
@media (max-width: 860px) {
  .duel-grid { gap: 8px; }
  .duel .side .sil.big { height: 170px; }
  .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .tape td { font-size: 17px; padding: 12px 4px; }
}

/* Carte découpée par niveau : main event, co-main, carte principale, préliminaires */
.cardgroup + .cardgroup { margin-top: 44px; }
.cardgroup h3 { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; font-family: var(--f-titre); font-weight: 400; font-size: clamp(20px, 3vw, 28px); text-transform: uppercase; letter-spacing: .02em; line-height: 1; }
.cardgroup h3 span { flex: none; padding: 6px 14px; background: var(--blanc); color: var(--noir); transform: skewX(-8deg); }
.cardgroup h3::after { content: ''; flex: 1; height: 1px; background: var(--trait); }
.cardgroup h3 small { order: 2; flex: none; font-family: var(--f-label); font-weight: 700; font-size: 13px; letter-spacing: .1em; color: var(--gris); }
.cg-main h3 span { background: var(--or); }
.cg-main h3::after { background: var(--or); }
.cg-comain .fight { border-color: var(--gris); }
.cg-prelim h3 span { background: transparent; color: var(--gris); box-shadow: inset 0 0 0 1.5px var(--gris); }
.cg-main .fight { padding-block: 28px; }
.cg-main .corner strong { font-size: clamp(22px, 3.4vw, 36px); }

/* Niveau du combat */
.lvl { display: inline-block; justify-self: center; padding: 1px 8px; font-family: var(--f-label); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; line-height: 1.5; color: var(--blanc); box-shadow: inset 0 0 0 1.5px var(--blanc); }
.lvl.am { color: var(--noir); background: var(--gris); box-shadow: none; }

/* Miniature d'événement personnalisée : image seule, même gabarit que les cartes colorées */
.ed.img { padding: 0; min-height: 0; display: block; background: var(--charbon); }
.ed.img img { display: block; width: 100%; height: 100%; min-height: 260px; aspect-ratio: 4 / 3; object-fit: cover; transition: opacity .2s; }
.ed.img:hover img { opacity: .88; }
.ed:not(.img) { aspect-ratio: 4 / 3; }
