
html { padding-block: env(safe-area-inset-top, 0px) env(safe-area-inset-bottom, 0px); }
body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
/* Layout: one narrow scoreboard column (max 880px), sticky brand bar with three tabs, rows of results like a stadium board */
:root {
  --bg: #0A0F0D; --surface: #131A16; --line: rgba(244, 246, 240, 0.16);
  --fg: #F4F6F0; --muted: #8A9690;
  --accent: #D4FF3A; --on-accent: #0A0F0D; --accent-text: #D4FF3A;
  --up: #D4FF3A; --down: #FF6B4A; --mark: #D4FF3A;
  --display: 'Barlow Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #F4F6F0; --surface: #FFFFFF; --line: rgba(10, 15, 13, 0.16);
    --fg: #0A0F0D; --muted: #56615B;
    --accent: #D4FF3A; --on-accent: #0A0F0D; --accent-text: #3D5200;
    --up: #3D5200; --down: #B8320F; --mark: #4C6600;
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #F4F6F0; --surface: #FFFFFF; --line: rgba(10, 15, 13, 0.16);
  --fg: #0A0F0D; --muted: #56615B;
  --accent: #D4FF3A; --on-accent: #0A0F0D; --accent-text: #3D5200;
  --up: #3D5200; --down: #B8320F; --mark: #4C6600;
  color-scheme: light;
}
* { box-sizing: border-box; }
body { background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 1rem; line-height: 1.45; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 2px; }
.wrap { max-width: 880px; margin: 0 auto; padding-inline: 16px; }
.num { font-family: var(--display); font-variant-numeric: tabular-nums; }

/* brand bar */
.bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--bg); border-bottom: 2px solid var(--line); }
.bar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand svg { display: block; }
.brand .ring { stroke: var(--accent-text); }
.brand .ink { fill: var(--fg); }
.brand .ink-s { stroke: var(--fg); }
.brand .soft { fill: var(--muted); }
.brand .soft-s { stroke: var(--muted); }
.left { display: flex; align-items: center; gap: 16px; }
.divs { display: flex; border: 2px solid var(--line); border-radius: 999px; overflow: hidden; }
.divs a { font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.06em; min-width: 44px; padding: 8px 10px; text-align: center; color: var(--muted); }
.divs a[aria-current] { background: var(--accent); color: var(--on-accent); }
.select { min-height: 44px; padding: 0 14px; border: 2px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--fg); font: inherit; }
@media (max-width: 560px) { .left { gap: 10px; } .brand { gap: 8px; } .brand .mk { width: 32px; height: 32px; } .brand .wm { width: 150px; height: 18px; } .divs a { min-width: 40px; padding: 8px 6px; } }
.tabs { display: flex; gap: 4px; min-width: 0; }
.tabs a { font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 10px 14px; color: var(--muted); border-bottom: 3px solid transparent; }
.tabs a[aria-current="page"] { color: var(--fg); border-bottom-color: var(--accent-text); }
@media (max-width: 560px) {
  .tabs { width: 100%; }
  .tabs { justify-content: space-between; gap: 0; }
  .tabs a { flex: 0 1 auto; min-width: 0; text-align: center; padding: 10px 4px; font-size: 0.92rem; letter-spacing: 0.02em; }
  .name { font-size: 1.25rem; }
  .match { grid-template-columns: 2rem minmax(0, 1fr) auto 2.6rem; gap: 8px; }
  .match .opp { font-size: 1.15rem; }
  .prono .teams { font-size: 1.15rem; }
}

main { padding-block: 28px 56px; display: flex; flex-direction: column; gap: 24px; }
.eyebrow { font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); }
h1 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 7.5vw, 3.25rem); line-height: 0.96; text-transform: uppercase; text-wrap: balance; }
h1 em { font-style: normal; color: var(--accent-text); }
h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: 0.06em; text-transform: uppercase; }
.lede { margin: 0; color: var(--muted); font-size: 1.05rem; max-width: 60ch; }
.head { display: flex; flex-direction: column; gap: 10px; }

.scoop { display: flex; flex-direction: column; gap: 6px; padding: 16px; background: var(--surface); }
.scoop-t { font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 5vw, 2.1rem); line-height: 1.05; text-transform: uppercase; text-wrap: balance; }
.scoop .sub { font-size: 0.98rem; max-width: 60ch; }
/* controls */
.controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.chips { display: flex; gap: 8px; }
.chip { font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.08em; text-transform: uppercase; min-height: 44px; padding: 0 16px; border: 2px solid var(--line); border-radius: 999px; background: transparent; color: var(--fg); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.search { flex: 1; min-width: 200px; min-height: 44px; padding: 0 14px; border: 2px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--fg); font: inherit; }
.search::placeholder { color: var(--muted); }

/* ranking rows */
.board { border-top: 2px solid var(--line); }
.row { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr) 4rem 3.2rem; align-items: center; gap: 12px; min-height: 60px; padding-block: 8px; border-bottom: 2px solid var(--line); }
a.row:hover .name { color: var(--accent-text); }
.rank { font-family: var(--display); font-weight: 800; font-size: 1.9rem; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.name { font-family: var(--display); font-weight: 700; font-size: 1.45rem; line-height: 1.05; text-transform: uppercase; overflow-wrap: anywhere; }
.sub { color: var(--muted); font-size: 0.9rem; }
.idx { font-family: var(--display); font-weight: 800; font-size: 1.8rem; text-align: right; font-variant-numeric: tabular-nums; }
.evo { font-family: var(--display); font-weight: 700; font-size: 1.25rem; text-align: right; font-variant-numeric: tabular-nums; }
.evo.up { color: var(--up); } .evo.down { color: var(--down); } .evo.flat { color: var(--muted); }
.spark, .bilan { display: none; }
.colhead { min-height: 0; padding-block: 8px; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.colhead > * { font: inherit; color: inherit; }
.colhead .r { text-align: right; }
@media (min-width: 640px) {
  .row { grid-template-columns: 2.6rem minmax(0, 1fr) 96px 6.5rem 4.2rem 3.4rem; gap: 16px; }
  .spark, .bilan { display: block; }
  .bilan { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 0.95rem; text-align: right; }
}
.spark polyline { fill: none; stroke: var(--mark); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.spark line { stroke: var(--line); stroke-width: 1; }
.empty { padding-block: 24px; color: var(--muted); }

/* club page */
.back { font-family: var(--display); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 0; border-block: 2px solid var(--line); }
.fact { padding: 14px 0; display: flex; flex-direction: column; gap: 2px; }
.fact .v { font-family: var(--display); font-weight: 800; font-size: 2.6rem; line-height: 1; font-variant-numeric: tabular-nums; }
.fact .k { color: var(--muted); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; }
.chart { position: relative; background: var(--surface); padding: 16px 12px 8px; }
.chart svg { display: block; width: 100%; height: auto; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .base { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 4 5; }
.chart .ln { fill: none; stroke: var(--mark); stroke-width: 2; stroke-linejoin: round; }
.chart .pt { fill: var(--mark); stroke: var(--surface); stroke-width: 2; }
.chart text { fill: var(--muted); font-family: var(--body); font-size: 13px; }
.chart text.val { fill: var(--fg); font-family: var(--display); font-weight: 700; font-size: 18px; }
.chart .cross { stroke: var(--muted); stroke-width: 1; }
.tip { position: absolute; pointer-events: none; background: var(--fg); color: var(--bg); padding: 6px 10px; font-size: 0.85rem; font-weight: 600; white-space: nowrap; transform: translate(-50%, -130%); }
.match { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) auto 3.4rem; gap: 12px; align-items: center; min-height: 56px; padding-block: 8px; border-bottom: 2px solid var(--line); }
.match .j { font-family: var(--display); font-weight: 700; color: var(--muted); font-size: 1.1rem; }

.match .opp { overflow-wrap: anywhere; font-family: var(--display); font-weight: 700; font-size: 1.3rem; text-transform: uppercase; line-height: 1.05; }
.match .sc { font-family: var(--display); font-weight: 800; font-size: 1.5rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tag { display: inline-block; font-family: var(--display); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 1px 7px; border: 2px solid var(--line); color: var(--muted); margin-right: 6px; }

/* pronos */
.prono { display: flex; flex-direction: column; gap: 8px; padding-block: 14px; border-bottom: 2px solid var(--line); }
.prono .teams { display: flex; justify-content: space-between; gap: 16px; font-family: var(--display); font-weight: 700; font-size: 1.35rem; line-height: 1.05; text-transform: uppercase; }
.prono .teams a:last-child { text-align: right; }
.prono .dim { color: var(--muted); }
.prono .teams .right { text-align: right; }
.tag.lv { margin: 0 0 0 4px; vertical-align: 0.15em; color: var(--accent-text); }
.prono .meter { display: flex; align-items: center; gap: 12px; }
.prono .p { font-family: var(--display); font-weight: 800; font-size: 1.5rem; width: 2.2rem; font-variant-numeric: tabular-nums; }
.prono .p.r { text-align: right; }
.prono .p.fav { color: var(--accent-text); }
.prono .track { flex: 1; display: flex; gap: 2px; height: 12px; }
.prono .seg { background: var(--line); }
.prono .seg.fav { background: var(--mark); }
.prono .seg.even { background: var(--muted); }

/* méthode */
.steps { display: flex; flex-direction: column; gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 12px; counter-increment: s; }
.steps li::before { content: counter(s); font-family: var(--display); font-weight: 800; font-size: 3.2rem; line-height: 0.85; color: var(--accent-text); }
.steps p { margin: 0; font-size: 1.1rem; max-width: 58ch; }
.note { color: var(--muted); max-width: 65ch; margin: 0; }
footer { border-top: 2px solid var(--line); padding-block: 20px 28px; color: var(--muted); font-size: 0.9rem; }
@media (prefers-reduced-motion: no-preference) { .chip, .tabs a, .name { transition: color 0.15s, background-color 0.15s, border-color 0.15s; } }

/* partage, mentions légales */
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.share { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 2px solid var(--accent-text); border-radius: 999px; background: transparent; color: var(--accent-text); font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; }
.share svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.share:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.flink { text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
a.share { text-decoration: none; }
img.ig { display: inline-block; vertical-align: middle; width: 24px; height: 24px; }
.flink img.ig { margin-right: 6px; }
.igfoot { vertical-align: middle; margin-left: 10px; }
/* ===== Habillage « appli de sport » ===== */
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) { --edge: rgba(10, 15, 13, 0.10); --sheen: linear-gradient(180deg, rgba(10, 15, 13, 0.02), rgba(10, 15, 13, 0) 45%); } }
:root[data-theme="light"] { --edge: rgba(10, 15, 13, 0.10); --sheen: linear-gradient(180deg, rgba(10, 15, 13, 0.02), rgba(10, 15, 13, 0) 45%); }
:root { --gold: #F2C94C; --silver: #C9D1D5; --bronze: #D9895B; --radius: 16px; --edge: rgba(255, 255, 255, 0.07); --sheen: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0) 45%); }
.scoop, .video, .topbox, #card-box, .chart, .board, .pod, .install { border-radius: var(--radius); border: 1px solid var(--edge); background: var(--sheen), var(--surface); }
.install { border-radius: 0; border-width: 0 0 1px; }
.head { position: relative; isolation: isolate; }
.head::before { content: ""; position: absolute; z-index: -1; left: -120px; top: -90px; width: 520px; height: 300px; background: radial-gradient(closest-side, rgba(212, 255, 58, 0.13), rgba(212, 255, 58, 0)); pointer-events: none; }
html, body { overflow-x: clip; }
@media (max-width: 639px) { .head::before { left: -16px; width: 100vw; } }
a.scoop { position: relative; overflow: hidden; }
a.scoop::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--accent); }
a.scoop:hover { border-color: rgba(212, 255, 58, 0.35); }
/* classement en carte */
.board { border-top: 1px solid var(--edge); padding: 2px 14px; }
.row { border-bottom: 1px solid var(--line); margin-inline: -8px; padding-inline: 8px; border-radius: 10px; }
.board > .row:last-child, .board > .match:last-child, .board > .prono:last-child { border-bottom: 0; }
a.row:hover { background: rgba(212, 255, 58, 0.05); }
.rank { display: flex; flex-direction: column; line-height: 1; gap: 3px; }
.rank.m1 { color: var(--gold); } .rank.m2 { color: var(--silver); } .rank.m3 { color: var(--bronze); }
.mv { font-family: var(--text, inherit); font-size: 0.7rem; font-weight: 700; letter-spacing: 0; }
.mv.up { color: var(--up); } .mv.down { color: var(--down); } .mv.flat { color: var(--muted); opacity: 0.6; }
.cl { display: flex; flex-direction: column; min-width: 0; }
.ibar { display: block; height: 4px; margin-top: 6px; max-width: 220px; border-radius: 2px; background: var(--line); overflow: hidden; }
.ibar i { display: block; height: 100%; border-radius: 2px; background: linear-gradient(90deg, rgba(212, 255, 58, 0.45), var(--mark)); transform-origin: left; }
.evo.up, .evo.down { justify-self: end; padding: 2px 8px; border-radius: 999px; }
.evo.up { background: rgba(212, 255, 58, 0.12); } .evo.down { background: rgba(255, 107, 74, 0.12); }
/* podium */
.podium:empty { display: none; }
.podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: end; margin-top: 14px; }
.pod { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 10px 14px; text-align: center; min-width: 0; }
.pod.p1 { order: 2; padding-top: 30px; border-color: rgba(242, 201, 76, 0.45); box-shadow: 0 14px 40px rgba(242, 201, 76, 0.08); }
.pod.p2 { order: 1; } .pod.p3 { order: 3; }
.pod:hover { border-color: rgba(212, 255, 58, 0.4); }
.pod .medal { position: absolute; top: -13px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1rem; color: #0A0F0D; background: var(--gold); box-shadow: 0 0 0 4px var(--bg); }
.pod.p2 .medal { background: var(--silver); } .pod.p3 .medal { background: var(--bronze); }
.pod .bdg { width: 54px; height: 54px; font-size: 1rem; }
.pod.p1 .bdg { width: 70px; height: 70px; font-size: 1.2rem; }
.pod .bdg img { inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); }
.pod .pn { font-family: var(--display); font-weight: 700; font-size: 1.05rem; line-height: 1.05; text-transform: uppercase; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pod .pi { font-family: var(--display); font-weight: 800; font-size: 2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.pod.p1 .pi { font-size: 2.6rem; color: var(--accent-text); }
.pod .evo { font-size: 1rem; justify-self: auto; }
.pod .sub { font-size: 0.8rem; }
@media (min-width: 640px) { .podium { gap: 16px; } .pod .pn { font-size: 1.25rem; } .pod .bdg { width: 64px; height: 64px; } .pod.p1 .bdg { width: 84px; height: 84px; } .pod.p1 .pi { font-size: 3.1rem; } }
@media (max-width: 639px) {
  .row { grid-template-columns: 2.1rem minmax(0, 1fr) auto auto; gap: 10px; }
  .row .name { font-size: 1.1rem; overflow-wrap: normal; word-break: normal; }
  .club > .bdg { width: 28px; height: 28px; }
  .idx { font-size: 1.5rem; }
  .evo.up, .evo.down { padding: 1px 6px; font-size: 1.05rem; }
  .ibar { max-width: 160px; }
}
@media (prefers-reduced-motion: no-preference) {
  .board > a.row { animation: rowin 0.4s ease-out both; animation-delay: calc(var(--i, 0) * 28ms); }
  .ibar i { animation: grow 0.8s 0.15s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  .pod { animation: rowin 0.5s ease-out both; } .pod.p2 { animation-delay: 0.08s; } .pod.p1 { animation-delay: 0.16s; } .pod.p3 { animation-delay: 0.24s; }
}
/* fiche club « profil » */
.profile { padding: 18px; border-radius: var(--radius); border: 1px solid var(--edge); background: radial-gradient(120% 140% at 0% 0%, rgba(212, 255, 58, 0.10), rgba(212, 255, 58, 0) 55%), var(--sheen), var(--surface); }
.profile::before { display: none; }
.pr-top { display: flex; align-items: center; gap: 18px; }
.pr-id { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.bdg.xl { width: 88px; height: 88px; font-size: 1.5rem; box-shadow: 0 0 0 4px rgba(212, 255, 58, 0.25); }
.bdg.xl img { inset: 9px; width: calc(100% - 18px); height: calc(100% - 18px); }
.form { display: flex; gap: 6px; }
.fm { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 0.95rem; color: #0A0F0D; background: var(--muted); }
.fm.v { background: var(--accent); } .fm.d { background: #FF6B4A; }
@media (max-width: 520px) { .bdg.xl { width: 64px; height: 64px; font-size: 1.1rem; } .pr-top { gap: 12px; } }
.facts { border: 0; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.fact .evo { background: none; padding: 0; justify-self: auto; }
.fact { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--edge); background: var(--sheen), var(--surface); }
.note.small { font-size: 0.85rem; margin-top: -6px; }
.clubpage { position: relative; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--edge); background: radial-gradient(110% 160% at 0% 50%, rgba(212, 255, 58, 0.16), rgba(212, 255, 58, 0) 55%), var(--sheen), var(--surface); color: inherit; text-decoration: none; transition: border-color .15s, transform .15s; }
.clubpage::after { content: ""; position: absolute; right: -40px; top: -60px; width: 160px; height: 160px; border-radius: 50%; border: 26px solid var(--accent); opacity: 0.07; pointer-events: none; }
.clubpage:hover { border-color: var(--accent-text); transform: translateY(-2px); }
.clubpage:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 2px; }
.clubpage .bdg.lg { width: 64px; height: 64px; font-size: 1.1rem; box-shadow: 0 0 0 4px rgba(212, 255, 58, 0.22); }
.clubpage .bdg.lg img { inset: 7px; width: calc(100% - 14px); height: calc(100% - 14px); }
.cp-ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #0A0F0D; font-family: var(--display); font-weight: 800; }
.cp-tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cp-k { display: inline-flex; align-items: center; gap: 6px; font-family: var(--display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-text); }
.cp-k svg { fill: none; stroke: currentColor; stroke-width: 2; }
.cp-n { font-family: var(--display); font-weight: 800; font-size: 1.4rem; text-transform: uppercase; line-height: 1.05; overflow-wrap: anywhere; }
.cp-u { font-size: 0.95rem; color: var(--muted); overflow-wrap: anywhere; } .cp-u b { color: var(--fg); font-weight: 600; }
.cp-go { position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: var(--on-accent); }
.cp-go svg { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 520px) { .clubpage { gap: 12px; padding: 14px; } .clubpage .bdg.lg, .cp-ic { width: 48px; height: 48px; } .cp-n { font-size: 1.15rem; } .cp-go { width: 38px; height: 38px; } .clubpage .sub { display: none; } }
.fav svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.fav[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.fav[aria-pressed="true"] svg { fill: currentColor; }
.myhint { display: flex; align-items: center; gap: 6px; margin-top: 0; }
.myhint svg { flex: none; fill: none; stroke: var(--accent-text); stroke-width: 2; }
#my-slot:empty { display: none; }
a.myclub { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--accent); background: radial-gradient(120% 160% at 0% 0%, rgba(212, 255, 58, 0.14), rgba(212, 255, 58, 0) 60%), var(--sheen), var(--surface); color: inherit; text-decoration: none; }
a.myclub:hover { transform: translateY(-1px); } a.myclub:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 2px; }
.my-k { display: inline-flex; align-items: center; gap: 6px; font-family: var(--display); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-text); }
.my-k svg, .star svg { fill: var(--accent-text); }
.my-row { display: flex; align-items: center; gap: 12px; min-width: 0; }
.my-n { flex: 1; min-width: 0; font-family: var(--display); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; line-height: 1.05; overflow-wrap: anywhere; }
.my-r { font-family: var(--display); font-weight: 800; font-size: 2rem; color: var(--accent-text); font-variant-numeric: tabular-nums; } .my-r small { font-size: 1rem; color: var(--muted); }
.row.mine { background: color-mix(in srgb, var(--accent) 14%, transparent); box-shadow: inset 4px 0 0 var(--accent); }
.star { display: inline-flex; vertical-align: -2px; margin-right: 5px; } .star svg { width: 15px; height: 15px; }
.fact .sub { color: var(--muted); font-size: 0.85rem; }
.season .fact.up .v { color: var(--up); } .season .fact.down .v { color: var(--down); }
.season .fact.up { box-shadow: inset 4px 0 0 var(--up); } .season .fact.down { box-shadow: inset 4px 0 0 var(--down); }
.recs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
a.fact.rec { min-width: 0; color: inherit; text-decoration: none; gap: 6px; transition: border-color .15s, transform .15s; }
a.fact.rec:hover { border-color: var(--accent-text); transform: translateY(-2px); }
a.fact.rec:focus-visible, a.ss:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 2px; }
.fact.rec .v { font-size: 2.2rem; color: var(--accent-text); }
.rt { display: flex; align-items: center; gap: 8px; min-width: 0; }
.rt .bdg { width: 28px; height: 28px; font-size: 0.6rem; }
.rt .bdg img { inset: 3px; width: calc(100% - 6px); height: calc(100% - 6px); }
.rt .name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sstrip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sstrip:empty { display: none; }
a.ss { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "k v" "t v"; align-items: center; gap: 4px 10px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--edge); background: var(--sheen), var(--surface); color: inherit; text-decoration: none; min-width: 0; }
a.ss .k { grid-area: k; color: var(--muted); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }
a.ss .rt { grid-area: t; }
a.ss .v { grid-area: v; font-family: var(--display); font-weight: 800; font-size: 1.8rem; font-variant-numeric: tabular-nums; }
a.ss.up { box-shadow: inset 4px 0 0 var(--up); } a.ss.up .v { color: var(--up); }
a.ss.down { box-shadow: inset 4px 0 0 var(--down); } a.ss.down .v { color: var(--down); }
@media (max-width: 639px) { .sstrip { grid-template-columns: minmax(0, 1fr); } .recs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fact.rec .v { font-size: 1.7rem; } .fact.rec .sub { font-size: 0.78rem; } }
@media (max-width: 380px) { .recs { grid-template-columns: 1fr; } }
.chart .area { fill: url(#gfill); }
.chart .s0 { stop-color: var(--mark); stop-opacity: 0.32; } .chart .s1 { stop-color: var(--mark); stop-opacity: 0; }
.chart .ln { stroke-width: 3; }
.match { border-bottom: 1px solid var(--line); margin-inline: -8px; padding-inline: 8px; border-radius: 10px; }
a.match:hover { background: rgba(212, 255, 58, 0.05); }
.match.w .sc { color: var(--up); } .match.l .sc { color: var(--down); }
/* pronos en face-à-face */
.prono .teams a { display: flex; align-items: center; gap: 10px; min-width: 0; }
.prono .teams a:last-child { justify-content: flex-end; }
.prono .teams a > span { min-width: 0; overflow-wrap: anywhere; }
.prono .teams .bdg { width: 36px; height: 36px; }
.prono .dim .bdg { opacity: 0.6; }
.prono .track { border-radius: 999px; overflow: hidden; height: 10px; }
@media (max-width: 520px) { .prono .teams .bdg { width: 28px; height: 28px; } .prono .teams a { gap: 7px; } }
@keyframes rowin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.video { display: flex; flex-direction: column; gap: 10px; padding: 16px; background: var(--surface); }
.yt, .yt-frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: 6px; overflow: hidden; background: #000; }
.yt { cursor: pointer; }
.yt img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--accent); box-shadow: 0 6px 24px rgba(0,0,0,0.45); }
.yt-play::after { content: ""; position: absolute; left: 31px; top: 23px; border-style: solid; border-width: 15px 0 15px 24px; border-color: transparent transparent transparent var(--on-accent); }
.yt:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) { .yt-play { transition: transform 0.15s; } .yt:hover .yt-play { transform: scale(1.08); } }
.install { background: var(--surface); border-bottom: 2px solid var(--line); }
.install .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-block: 10px; }
.install-t { flex: 1 1 16rem; font-size: 0.98rem; }
.install-b { display: flex; align-items: center; gap: 6px; }
.install .chip { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.flinkbtn { padding: 0; margin-left: 12px; color: inherit; font-weight: inherit; text-underline-offset: 3px; }
.igtop { flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; border-radius: 10px; font-family: var(--display); font-weight: 700; color: var(--accent-text); }
.igtop img.ig { width: 30px; height: 30px; }
.igtop:has(img) span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 520px) { .bar .left { gap: 8px; flex-wrap: nowrap; min-width: 0; } .brand { gap: 8px; min-width: 0; } .brand .mk { width: 32px; height: 32px; } .brand .wm { width: 142px; height: 17px; } .divs a { min-width: 38px; padding: 8px 6px; } .igtop { min-width: 30px; height: 30px; } .igtop img.ig { width: 28px; height: 28px; } }
.bar .wrap > .left { order: 1; } .bar .wrap > .tabs { order: 2; margin-left: auto; } .bar .wrap > .igtop { order: 3; margin-left: 8px; }
@media (max-width: 560px) { .bar .wrap { column-gap: 8px; } .bar .wrap > .igtop { order: 2; margin-left: 0; } .bar .wrap > .tabs { order: 3; margin-left: 0; } }
@media (max-width: 360px) { .brand .wm { width: 108px; height: 13px; } .divs a { min-width: 32px; padding: 8px 4px; } }
.igtop:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) { .igtop img.ig { transition: transform 0.15s; } .igtop:hover img.ig { transform: scale(1.08); } }
.todo { background: var(--accent); color: var(--on-accent); padding: 0 6px; font-weight: 600; }
/* surtitre de page mis en valeur */
.head .eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: clamp(1.2rem, 4.4vw, 1.65rem); font-weight: 800; letter-spacing: 0.1em; line-height: 1.1; }
.eyebrow .hl { background: var(--accent); color: var(--on-accent); padding: 4px 12px; }
.eyebrow .rest { color: var(--fg); }
/* bandeau des derniers résultats */
.ticker { overflow: hidden; background: var(--surface); border-bottom: 2px solid var(--line); }
.ticker-track { display: flex; width: max-content; animation: tick var(--dur, 60s) linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
.ticker-set { display: flex; flex: none; }
.tk { display: inline-flex; align-items: baseline; gap: 8px; padding: 9px 20px; white-space: nowrap; font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.03em; text-transform: uppercase; color: var(--muted); border-right: 2px solid var(--line); }
.tk .w { color: var(--fg); }
.bdg { position: relative; flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; overflow: hidden; font-family: var(--display); font-weight: 800; font-size: 0.8rem; font-style: normal; letter-spacing: 0; color: #0A0F0D; line-height: 1; box-shadow: inset 0 0 0 1px rgba(10, 15, 13, 0.18); }
.bdg img { position: absolute; inset: 5px; width: calc(100% - 10px); height: calc(100% - 10px); object-fit: contain; background: #fff; }
.tk .bdg { width: 26px; height: 26px; font-size: 0.6rem; align-self: center; }
.tk .bdg img { inset: 3px; width: calc(100% - 6px); height: calc(100% - 6px); }
.bdg.sm { width: 26px; height: 26px; font-size: 0.6rem; vertical-align: middle; margin-right: 8px; }
.bdg.sm img { inset: 3px; width: calc(100% - 6px); height: calc(100% - 6px); }
.pub { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; padding-top: 10px; border-top: 1px dashed var(--line); }
.pub-h { font-family: var(--display); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-text); }
.pub-b { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pv { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 44px; padding: 6px 4px; border: 2px solid var(--line); border-radius: 10px; background: transparent; color: var(--fg); font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; }
.pv b { white-space: nowrap; font-weight: 800; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.pv:hover:not(:disabled) { border-color: var(--accent-text); }
.pv[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.pv:disabled { cursor: default; opacity: 0.85; }
.pv:focus-visible, .linkbtn:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 2px; }
.pub-err:empty { display: none; }
.pub-err { color: var(--down, #FF6B4A); }
#card-box { display: flex; flex-direction: column; gap: 12px; padding: 16px; background: var(--surface); }
.card-img { display: block; width: min(100%, 360px); height: auto; border-radius: 6px; }
#top-slot:empty, #side:empty, #video-slot:empty { display: none; }
#top-poule { margin-top: 4px; align-self: flex-start; }
#side { padding-bottom: 32px; }
@media (min-width: 1180px) {
  .wrap { max-width: 1232px; }
  .shell { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
  #side { display: flex !important; flex-direction: column; gap: 16px; padding-block: 28px; }
  #side .top-row { grid-template-columns: minmax(0, 7.5rem) minmax(0, 1fr) 3.6rem; }
  .prono .pv { font-size: 0.88rem; letter-spacing: 0.02em; }
  .prono { display: grid; grid-template-columns: minmax(0, 1fr) 300px; column-gap: 24px; row-gap: 8px; }
  .prono > .teams, .prono > .meter, .prono > .sub { grid-column: 1; }
  .prono > .pub { grid-column: 2; grid-row: 1 / span 3; align-self: center; margin-top: 0; padding: 0 0 0 20px; border-top: 0; border-left: 1px dashed var(--line); }
}
.top-hint { margin: 0; }
.topbox { cursor: default; }
#top-vote { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.top-form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.top-form .select { flex: 1 1 14rem; min-width: 0; }
.linkbtn { background: none; border: 0; padding: 8px 4px; color: var(--accent-text); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.top-res { display: flex; flex-direction: column; gap: 6px; }
.top-row { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr) 3.2rem; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; text-transform: uppercase; }
.top-row .tn { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top-row .track { display: block; height: 10px; background: var(--line); }
.top-row .seg { display: block; height: 100%; background: var(--mark); }
.top-row b { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 520px) { .top-row { grid-template-columns: minmax(0, 7.5rem) minmax(0, 1fr) 3.6rem; } }
.club { display: flex; align-items: center; gap: 12px; min-width: 0; }
@media (max-width: 520px) { .club { gap: 8px; } .club > .bdg { width: 28px; height: 28px; font-size: 0.62rem; } .club > .bdg img { inset: 3px; width: calc(100% - 6px); height: calc(100% - 6px); } }
.tk b { font-weight: 800; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.tk-lab { color: var(--on-accent); background: var(--accent); border-right: 0; }
@keyframes tick { to { transform: translateX(-50%); } }
/* logo : l'anneau se trace, puis les deux barres montent */
.brand .mk circle { stroke-dasharray: 943; transform-origin: center; transform: rotate(-90deg); animation: ring 0.7s ease-out both; }
.brand .mk rect { transform-box: fill-box; transform-origin: bottom; animation: rise 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.2) both; }
.brand .mk rect:nth-of-type(1) { animation-delay: 0.55s; }
.brand .mk rect:nth-of-type(2) { animation-delay: 0.75s; }
@keyframes ring { from { stroke-dashoffset: 943; } to { stroke-dashoffset: 0; } }
@keyframes rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) {
  .ticker { overflow-x: auto; } .ticker-track { animation: none; } .ticker-set[aria-hidden] { display: none; }
  .brand .mk circle, .brand .mk rect { animation: none; }
}

/* ===== Charte 3 « Nuit de match » (octobre 2026) : bleu nuit, citron réservé aux accents, en-têtes façon stade ===== */
:root {
  --bg: #07101D; --surface: #0E1A2C; --surface-2: #12223A; --line: rgba(226, 234, 246, 0.10);
  --fg: #F2F5FA; --muted: #8E9CB3;
  --accent: #D4FF3A; --on-accent: #07101D; --accent-text: #D4FF3A;
  --up: #C8F53A; --down: #FF6464; --mark: #D4FF3A;
  --edge: rgba(226, 234, 246, 0.08); --sheen: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0) 40%);
  --navy: #07101D; --navy-2: #0D1F38; --radius: 14px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.25), 0 8px 24px rgba(0, 0, 0, 0.18);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #F2F4F8; --surface: #FFFFFF; --surface-2: #F7F9FC; --line: rgba(9, 22, 40, 0.10);
    --fg: #0A1628; --muted: #5A6880;
    --accent: #D4FF3A; --on-accent: #07101D; --accent-text: #3B6400;
    --up: #2F7D10; --down: #D23B3B; --mark: #3B6400;
    --edge: rgba(9, 22, 40, 0.09); --sheen: none;
    --shadow: 0 1px 2px rgba(9, 22, 40, 0.06), 0 8px 24px rgba(9, 22, 40, 0.06);
  }
}
:root[data-theme="light"] {
  --bg: #F2F4F8; --surface: #FFFFFF; --surface-2: #F7F9FC; --line: rgba(9, 22, 40, 0.10);
  --fg: #0A1628; --muted: #5A6880;
  --accent: #D4FF3A; --on-accent: #07101D; --accent-text: #3B6400;
  --up: #2F7D10; --down: #D23B3B; --mark: #3B6400;
  --edge: rgba(9, 22, 40, 0.09); --sheen: none;
  --shadow: 0 1px 2px rgba(9, 22, 40, 0.06), 0 8px 24px rgba(9, 22, 40, 0.06);
}
body { background: var(--bg); }

/* -- bandeau du haut : toujours bleu nuit, comme une tribune */
.bar { background: var(--navy); border-bottom: 0; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06); }
.bar .brand .ink { fill: #F2F5FA; } .bar .brand .ink-s { stroke: #F2F5FA; } .bar .brand .soft { fill: #8E9CB3; } .bar .brand .soft-s { stroke: #8E9CB3; } .bar .brand .ring { stroke: #D4FF3A; }
.bar .tabs a { color: #A9B6CA; font-size: 1.05rem; letter-spacing: 0.1em; border-bottom-width: 4px; }
.bar .tabs a:hover { color: #FFFFFF; }
.bar .tabs a[aria-current="page"] { color: #FFFFFF; border-bottom-color: #D4FF3A; }
.bar .divs { border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.04); }
.bar .divs a { color: #A9B6CA; }
.bar .divs a[aria-current] { background: #D4FF3A; color: #07101D; }
.bar .igtop { color: #D4FF3A; }

/* -- bandeau des résultats : cartes de match */
.ticker { background: var(--navy-2); border-bottom: 0; }
.tk { color: #A9B6CA; border-right: 1px solid rgba(255, 255, 255, 0.08); padding: 11px 22px; }
.tk .w { color: #FFFFFF; } .tk b { color: #D4FF3A; }
.tk-lab { background: #D4FF3A; color: #07101D; }

/* -- en-têtes de page : bandeau de stade (lignes de terrain, gazon tondu) */
.head { --fg: #F2F5FA; --muted: #A9B6CA; --accent-text: #D4FF3A; --line: rgba(255, 255, 255, 0.14); color: var(--fg);
  padding: 26px 26px 24px; border-radius: var(--radius); overflow: hidden;
  background:
    radial-gradient(circle at 100% 50%, transparent 0 86px, rgba(255, 255, 255, 0.07) 87px 89px, transparent 90px),
    linear-gradient(90deg, transparent calc(100% - 1px), rgba(255, 255, 255, 0.07) 0) right / 100% 100% no-repeat,
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 56px, rgba(255, 255, 255, 0) 56px 112px),
    linear-gradient(135deg, #12305A 0%, #0B1D36 55%, #07101D 100%);
  box-shadow: var(--shadow); }
.head::before { display: none; }
.head h1 { color: #FFFFFF; } .head h1 em { color: #D4FF3A; }
.head .lede { color: #C4CEDD; }
.head .eyebrow .hl { background: #D4FF3A; color: #07101D; }
.head .eyebrow .rest { color: #FFFFFF; }
.profile { background:
    radial-gradient(circle at 100% 50%, transparent 0 86px, rgba(255, 255, 255, 0.07) 87px 89px, transparent 90px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 56px, rgba(255, 255, 255, 0) 56px 112px),
    linear-gradient(135deg, #12305A 0%, #0B1D36 55%, #07101D 100%); border: 0; }
.head .share { color: #D4FF3A; border-color: rgba(212, 255, 58, 0.7); }
.head .share:hover { background: #D4FF3A; color: #07101D; }
.head .fav[aria-pressed="true"] { background: #D4FF3A; color: #07101D; border-color: #D4FF3A; }
.head .fm.n { background: #5E6B80; color: #FFFFFF; }

/* -- titres de rubrique : barre citron + chevron, façon « STORIES › » */
h2 { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.45rem; letter-spacing: 0.05em; }
h2::before { content: ""; flex: none; width: 5px; height: 0.95em; border-radius: 2px; background: var(--accent); }
.head h2::before, .cp-hero h2::before { display: none; }

/* -- cartes : plus nettes, ombre légère, coins réguliers */
.scoop, .video, .topbox, #card-box, .chart, .board, .pod, .install, .fact, .clubpage, a.myclub, a.ss, .cp-t, .cp-vs, .cp-hero { border-radius: var(--radius); border: 1px solid var(--edge); background: var(--surface); box-shadow: var(--shadow); }
a.scoop::after { width: 5px; }
.scoop .eyebrow, .topbox .eyebrow { color: var(--accent-text); }

/* -- classement : tableau propre, façon tableau de ligue */
.board { padding: 0; overflow: hidden; }
.board > .row, .board > .match { margin-inline: 0; padding-inline: 16px; border-radius: 0; border-bottom: 1px solid var(--line); }
.board > .row:nth-of-type(even) { background: var(--surface-2); }
.board > .row:hover, .board > .match:hover { background: color-mix(in srgb, var(--accent) 7%, var(--surface)); }
.colhead { background: var(--surface-2); border-bottom: 1px solid var(--line) !important; padding-block: 10px; font-weight: 600; font-size: 0.72rem; letter-spacing: 0.12em; }
.rank { color: var(--fg); font-size: 1.6rem; }
.rank.m1 { color: var(--gold); } .rank.m2 { color: var(--silver); } .rank.m3 { color: var(--bronze); }
.name { font-size: 1.3rem; }
.idx { font-size: 1.6rem; }
.ibar { background: var(--line); } .ibar i { background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #3EE0B0)); }
.row.mine { background: color-mix(in srgb, var(--accent) 13%, var(--surface)) !important; box-shadow: inset 4px 0 0 var(--accent); }

/* -- podium */
.pod.p1 { border-color: rgba(242, 201, 76, 0.55); }
.pod .medal { box-shadow: 0 0 0 4px var(--bg); }

/* -- filtres et boutons : pastilles fines, flèche ronde */
.chip { border-width: 1px; font-size: 0.98rem; background: var(--surface); }
.chip[aria-pressed="true"] { background: var(--fg); border-color: var(--fg); color: var(--bg); box-shadow: inset 0 -3px 0 #D4FF3A; }
.select, .search { border-width: 1px; background: var(--surface); }
.share { border-width: 1.5px; }
.cp-go { box-shadow: 0 6px 16px rgba(212, 255, 58, 0.25); }

/* -- pied de page bleu nuit */
footer { background: var(--navy); color: #A9B6CA; border-top: 0; margin-top: 24px; }
footer a, footer .flink, footer .linkbtn { color: #E3E9F2; }

/* -- pages des clubs : même bandeau de stade que le site */
.cp-hero { --fg: #F2F5FA; --muted: #A9B6CA; --accent-text: #D4FF3A; --line: rgba(255, 255, 255, 0.14); color: var(--fg); border: 0 !important;
  background: radial-gradient(circle at 100% 50%, transparent 0 86px, rgba(255, 255, 255, 0.07) 87px 89px, transparent 90px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 56px, rgba(255, 255, 255, 0) 56px 112px),
    linear-gradient(135deg, #12305A 0%, #0B1D36 55%, #07101D 100%) !important; }
.cp-hero h1 { color: #FFFFFF; }

/* -- barre de division sous le menu : Régional 1 · 2 · 3 */
.dvbar { background: #0D1F38; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.dvbar .wrap { padding-block: 12px; }
.dvbar .divs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; border: 0; border-radius: 0; overflow: visible; background: none; padding: 0; }
.dvbar .divs a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 62px; min-width: 0; padding: 6px 8px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.03); color: #C4CEDD; text-decoration: none; font-family: var(--display); text-align: center; transition: background .15s, border-color .15s, color .15s; }
.dvbar .divs a b { font-size: 1.5rem; font-weight: 800; letter-spacing: 0.06em; line-height: 1; text-transform: uppercase; }
.dvbar .divs a span { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.8; }
.dvbar .divs a:hover { border-color: #D4FF3A; color: #FFFFFF; }
.dvbar .divs a[aria-current] { background: #D4FF3A; border-color: #D4FF3A; color: #07101D; box-shadow: 0 8px 24px rgba(212, 255, 58, 0.25); }
.dvbar .divs a:focus-visible { outline: 3px solid #D4FF3A; outline-offset: 2px; }
body[data-view="coupe"] .dvbar, body[data-view="coupe-prev"] .dvbar, body[data-view="methode"] .dvbar, body[data-view="mentions"] .dvbar, body[data-view="recits"] .dvbar, body[data-view="actu"] .dvbar, body[data-view="actu-art"] .dvbar { display: none; }
@media (max-width: 520px) { .dvbar .wrap { padding-block: 10px; } .dvbar .divs { gap: 8px; } .dvbar .divs a { min-height: 54px; border-radius: 12px; } .dvbar .divs a b { font-size: 1.12rem; letter-spacing: 0.03em; } .dvbar .divs a span { font-size: 0.66rem; letter-spacing: 0.08em; } }
@media (max-width: 360px) { .dvbar .divs a b { font-size: 0.98rem; } }

/* -- classement officiel FFF, affiché discrètement à côté de l'indice */
.offi { color: var(--muted); opacity: 0.85; white-space: nowrap; }
.offnote { margin: 0; padding: 10px 16px 12px; font-size: 0.8rem; color: var(--muted); border-top: 1px solid var(--line); }
.offline { margin: 0; font-size: 0.92rem; color: var(--muted); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.offline .k { font-family: var(--display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg); }
.offi .os { display: none; }
@media (max-width: 520px) { .offi .ol { display: none; } .offi .os { display: inline; } }

/* ---- Coupe : cartes de match (23 octobre 2026) ---- */
h2.fx-day { display: flex; align-items: center; gap: 10px; margin: 30px 0 14px; padding: 0; }
h2.fx-day span { flex: 1; min-width: 0; }
h2.fx-day small { flex: none; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--edge); background: var(--surface); font-family: var(--display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; color: var(--muted); }
.fxs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 760px) { .fxs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fx { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 14px 14px 12px; border-radius: var(--radius); border: 1px solid var(--edge); background: var(--surface); background-image: var(--sheen); box-shadow: var(--shadow); }
.fx-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 22px; }
.fx-when { font-family: var(--display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.fx-tag { flex: none; padding: 3px 8px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-family: var(--display); font-weight: 800; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; }
.fx-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: start; gap: 8px; }
.fx-t { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; text-align: center; color: var(--fg); text-decoration: none; }
a.fx-t:hover b { color: var(--accent-text); }
.fx-t b { font-family: var(--display); font-weight: 800; font-size: 0.98rem; line-height: 1.12; text-transform: uppercase; letter-spacing: 0.01em; overflow-wrap: anywhere; hyphens: auto; }
.fx-t .tag.lv { white-space: nowrap; }
.fx-t.dim { opacity: 0.5; }
.fx-t.win b { color: var(--accent-text); }
.bdg.fx { width: 52px; height: 52px; font-size: 0.9rem; }
.bdg.fx img { inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); }
.fx-mid { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 72px; padding-top: 10px; }
.fx-time, .fx-score { font-family: var(--display); font-weight: 800; font-size: 1.6rem; line-height: 1; color: var(--fg); font-variant-numeric: tabular-nums; }
.fx-score i { font-style: normal; margin: 0 6px; color: var(--muted); }
.fx-sub { margin-top: 5px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.fx .meter { margin: 0; }
.fx-lieu { display: flex; align-items: center; gap: 6px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--muted); }
.fx-lieu svg { flex: none; fill: none; stroke: currentColor; stroke-width: 2; }
.fx-res { font-size: 0.85rem; color: var(--muted); }
.fx-res strong { color: var(--fg); }
@media (min-width: 760px) { .fx-t b { font-size: 1.02rem; } }

/* ---- Actualités (24 octobre 2026) ---- */
.news { margin: 18px 0 20px; border-radius: var(--radius); border: 1px solid var(--edge); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.news-h { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: var(--navy); }
.news-k { font-family: var(--display); font-weight: 800; font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.news-k::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--accent); vertical-align: 1px; }
.news-i { display: grid; grid-template-columns: minmax(0, 1fr); }
.news-i + .news-i { border-top: 1px solid var(--line); }
@media (min-width: 640px) { .news-i.has-img { grid-template-columns: 220px minmax(0, 1fr); } }
.news-ph { margin: 0; background: #000; }
.news-ph img { display: block; width: 100%; height: 100%; max-height: 300px; object-fit: cover; object-position: 50% 20%; }
@media (min-width: 640px) { .news-ph img { max-height: none; min-height: 100%; } }
.news-b { padding: 16px 18px 18px; min-width: 0; }
.news-b .eyebrow { display: block; margin-bottom: 6px; }
h2.news-t { margin: 0 0 10px; font-size: 1.4rem; line-height: 1.1; }
h2.news-t::before { display: none; }
.news-b > p { margin: 0 0 10px; font-size: 0.95rem; line-height: 1.55; color: var(--fg); }
.news-i:has(.news-q) .news-b > p:last-of-type { font-weight: 600; }
.news-q { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; padding: 12px 14px; border-left: 4px solid var(--accent); border-radius: 0 10px 10px 0; background: var(--surface-2); }
.news-q svg { flex: none; margin-top: 3px; fill: none; stroke: var(--accent-text); stroke-width: 2; }
.news-q p { margin: 0; font-size: 0.95rem; line-height: 1.5; font-style: italic; color: var(--fg); }
#side .news { margin: 0 0 16px; }
#side .news-i.has-img { grid-template-columns: minmax(0, 1fr); }
#side .news-ph img { max-height: 280px; min-height: 0; }
#side h2.news-t { font-size: 1.2rem; }
#side .news-b > p, #side .news-q p { font-size: 0.9rem; }
#app > #news-box .news { margin: 0 0 16px; }
/* carrousel des actualités */
.news-h { justify-content: space-between; }
.news-track { transition: height .25s; display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; align-items: flex-start; }
.news-track::-webkit-scrollbar { display: none; }
.news-track > .news-i { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.news-track > .news-i + .news-i { border-top: 0; }
.news-nav { display: flex; align-items: center; gap: 6px; }
.news-prev, .news-next { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.22); background: transparent; color: #fff; cursor: pointer; }
.news-prev:hover, .news-next:hover { border-color: var(--accent); color: var(--accent); }
.news-prev svg, .news-next svg { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.news-dots { display: flex; gap: 6px; padding: 0 2px; }
.news-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.3); cursor: pointer; transition: width .2s, background .2s; }
.news-dot[aria-current="true"] { width: 20px; background: var(--accent); }
.news-i.fit .news-ph { background: #0b1220; }
.news-i.fit .news-ph img { height: auto; max-height: none; min-height: 0; object-fit: contain; }
@media (min-width: 640px) { .news-i.fit.has-img { grid-template-columns: minmax(0, 1fr); } }
#side .news-i.fit .news-ph img { max-height: none; }
.news-a { display: inline-flex; gap: 6px; margin-top: 4px; font-family: var(--display); font-weight: 800; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); text-decoration: none; }
.news-a:hover { text-decoration: underline; }

/* ---- Onglet Actu (27 octobre 2026) ---- */
.news-k { text-decoration: none; }
.news-t a { color: inherit; text-decoration: none; }
.news-t a:hover { color: var(--accent-text); }
.news-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 4px; }
.actus { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 18px; }
@media (min-width: 640px) { .actus { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.actu-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--edge); background: var(--surface); box-shadow: var(--shadow); color: var(--fg); text-decoration: none; transition: transform .15s, border-color .15s; }
.actu-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 45%, var(--edge)); }
.actu-cph { display: block; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.actu-cph img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.actu-cph.fit { background: #0b1220; }
.actu-cph.fit img { object-fit: contain; }
.actu-cb { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.actu-cb b { font-family: var(--display); font-weight: 800; font-size: 1.25rem; line-height: 1.12; text-transform: uppercase; }
.actu-cb .sub { font-size: 0.9rem; line-height: 1.45; color: var(--muted); }
.actu-back { margin: 6px 0 14px; }
.actu-art { max-width: 760px; }
.actu-art h1 { margin: 6px 0 16px; font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: 1.05; }
.actu-ph { margin: 0 0 18px; border-radius: var(--radius); overflow: hidden; background: #000; }
.actu-ph img { display: block; width: 100%; max-height: 520px; object-fit: cover; object-position: 50% 25%; }
.actu-ph.fit { background: #0b1220; }
.actu-ph.fit img { max-height: none; object-fit: contain; }
.actu-txt p { margin: 0 0 14px; font-size: 1.05rem; line-height: 1.65; color: var(--fg); }
.actu-art .news-q { margin: 6px 0 18px; }
.actu-art .actions { flex-wrap: wrap; }

/* ===== Fond animé : le logo et le nom Onzo Foot, derrière tout le site ===== */
.bgfx { position: fixed; inset: 0; z-index: -1; pointer-events: none; display: grid; place-items: center; opacity: 0.075; overflow: hidden; }
.bgfx svg { width: min(92vw, 92vh, 980px); height: auto; animation: bgfx-drift 28s ease-in-out infinite alternate; }
.bgfx-ring { stroke: #D4FF3A; stroke-dasharray: 943; stroke-dashoffset: 943; transform-origin: 200px 200px; transform: rotate(-90deg); animation: bgfx-ring 14s cubic-bezier(.6,0,.2,1) infinite; }
.bgfx-bar { fill: var(--fg); transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); animation: bgfx-bar 14s cubic-bezier(.2,.9,.3,1.2) infinite; }
.bgfx-bar.b2 { animation-delay: .25s; }
.bgfx-wm { opacity: 0; animation: bgfx-wm 14s ease-out infinite; }
.bgfx-wm .bw-ink { fill: var(--fg); } .bgfx-wm .bw-ink-s { stroke: var(--fg); } .bgfx-wm .bw-ring { stroke: #D4FF3A; } .bgfx-wm .bw-soft { fill: var(--muted); } .bgfx-wm .bw-soft-s { stroke: var(--muted); }
.bgfx-glow { opacity: 0; transform-origin: 500px 400px; animation: bgfx-glow 14s ease-in-out infinite; }
@keyframes bgfx-ring { 0% { stroke-dashoffset: 943; opacity: 1; } 16% { stroke-dashoffset: 0; } 86% { stroke-dashoffset: 0; opacity: 1; } 96%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes bgfx-bar { 0%, 14% { transform: scaleY(0); opacity: 1; } 22% { transform: scaleY(1); } 86% { transform: scaleY(1); opacity: 1; } 96%, 100% { transform: scaleY(1); opacity: 0; } }
@keyframes bgfx-wm { 0%, 22% { opacity: 0; transform: translate(120px, 790px) scale(0.455); } 34% { opacity: 1; transform: translate(120px, 760px) scale(0.455); } 86% { opacity: 1; transform: translate(120px, 760px) scale(0.455); } 96%, 100% { opacity: 0; transform: translate(120px, 760px) scale(0.455); } }
@keyframes bgfx-glow { 0%, 20% { opacity: 0; transform: scale(.7); } 32% { opacity: 1; transform: scale(1); } 60% { opacity: .45; transform: scale(1.12); } 86% { opacity: .8; transform: scale(1); } 96%, 100% { opacity: 0; } }
@keyframes bgfx-drift { from { transform: scale(1) rotate(0deg); } to { transform: scale(1.06) rotate(-2deg); } }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .bgfx { opacity: 0.06; } }
:root[data-theme="light"] .bgfx { opacity: 0.06; }
@media (prefers-reduced-motion: reduce) {
  .bgfx svg, .bgfx-ring, .bgfx-bar, .bgfx-wm, .bgfx-glow { animation: none; }
  .bgfx-ring { stroke-dashoffset: 0; } .bgfx-bar { transform: none; } .bgfx-wm { opacity: 1; } .bgfx-glow { opacity: .6; }
}
/* cartes légèrement dépolies : le logo animé se devine à travers */
.bgfx { opacity: 0.14; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .bgfx { opacity: 0.08; } }
:root[data-theme="light"] .bgfx { opacity: 0.08; }
@supports (backdrop-filter: blur(4px)) {
  .scoop, .video, .topbox, .chart, .board, .pod, .install, .fact, .clubpage, a.myclub, a.ss, .cp-t, .cp-vs, .chip, .select, .search {
    background: color-mix(in srgb, var(--surface) 78%, transparent); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
  .board > .row:nth-of-type(even), .colhead { background: color-mix(in srgb, var(--fg) 3%, transparent); }
}

/* pages des clubs : texte hors carte, le filigrane reste plus discret */
.page ~ .bgfx, body:has(main.page) .bgfx { opacity: 0.07; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) body:has(main.page) .bgfx { opacity: 0.05; } }

/* ===== Tranches de vie ===== */
.rform { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: var(--radius); border: 1px solid var(--edge); background: var(--surface); box-shadow: var(--shadow); }
.rform label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 0.95rem; }
.rform input:not([type=checkbox]), .rform textarea, .rform select { width: 100%; box-sizing: border-box; min-height: 44px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--fg); font: inherit; font-weight: 400; }
.rform textarea { resize: vertical; line-height: 1.5; }
.rform input:focus-visible, .rform textarea:focus-visible, .rform select:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 1px; }
.rgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rform .check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 0.92rem; }
.rform .check input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--accent); }
.rform .trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.rmsg { margin: 0; font-weight: 600; color: var(--down); } .rmsg:empty { display: none; }
.rthanks { margin: 0; padding: 12px 16px; border-radius: 12px; background: var(--accent); color: var(--on-accent); font-weight: 600; }
.recits { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.recit { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--edge); background: var(--surface); box-shadow: var(--shadow); border-top: 4px solid var(--accent); }
.recit h3 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 1.45rem; line-height: 1.05; text-transform: uppercase; }
.recit p { margin: 0; line-height: 1.55; }
.recit.empty { grid-column: 1 / -1; text-align: center; align-items: center; }
.rby { margin-top: auto; display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 0.95rem; }
.rav { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--navy, #07101D); color: #D4FF3A; font-family: var(--display); font-weight: 800; font-size: 1.1rem; }
.rdate { margin-left: auto; text-align: right; }
@media (max-width: 520px) { .rgrid { grid-template-columns: 1fr; } .recits { grid-template-columns: 1fr; } }

/* accès discret à l'espace éditeur (pied de page) */
.adm { display: inline-flex; align-items: center; gap: 6px; margin-left: 12px; padding: 4px 10px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px; color: #A9B6CA; font-size: 0.8rem; text-decoration: none; vertical-align: middle; }
.adm svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.adm:hover { color: #07101D; background: #D4FF3A; border-color: #D4FF3A; }
.adm:focus-visible { outline: 3px solid #D4FF3A; outline-offset: 2px; }

/* ===== Photos de couverture ===== */
.head.profile.has-cover { background: linear-gradient(90deg, rgba(7, 16, 29, 0.94) 0%, rgba(7, 16, 29, 0.72) 55%, rgba(7, 16, 29, 0.35) 100%), var(--cover) center 40% / cover no-repeat, #0B1D36; min-height: 260px; }
@media (max-width: 639px) { .head.profile.has-cover { background: linear-gradient(180deg, rgba(7, 16, 29, 0.45) 0%, rgba(7, 16, 29, 0.92) 70%), var(--cover) center / cover no-repeat, #0B1D36; } }
.cover-credit { margin: -6px 0 0; text-align: right; font-size: 0.78rem; color: var(--muted); }
.pdrop { position: relative; display: grid !important; place-items: center; gap: 8px; min-height: 120px; padding: 14px; border: 2px dashed var(--line); border-radius: 14px; cursor: pointer; text-align: center; color: var(--muted); font-weight: 600; }
.pdrop:hover, .pdrop:focus-within { border-color: var(--accent-text); color: var(--fg); }
.pdrop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; min-height: 0 !important; }
.pdrop img { width: 100%; max-height: 260px; object-fit: cover; border-radius: 10px; }

.ptab { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ptab caption { text-align: left; color: var(--muted); font-size: 0.85rem; padding-bottom: 8px; }
.ptab th, .ptab td { padding: 9px 8px; text-align: right; border-bottom: 1px solid var(--line); }
.ptab th[scope=row], .ptab thead th:nth-child(2) { text-align: left; font-weight: 600; }
.ptab thead th { color: var(--muted); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.ptab a { color: inherit; text-decoration: none; } .ptab a:hover { text-decoration: underline; }
.ptab tr.me { background: color-mix(in srgb, var(--accent) 16%, transparent); } .ptab tr.me th a { color: var(--accent-text); }
.cb { position: relative; flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(10, 15, 13, 0.18); }
.cb b { font-family: var(--display); font-weight: 800; font-size: 0.6rem; color: #0A0F0D; letter-spacing: 0; }
.cb i { position: absolute; inset: 12%; background: transparent center / contain no-repeat; }
.cb.lg { width: 64px; height: 64px; } .cb.lg b { font-size: 1.1rem; }
.cb.xxl { width: 132px; height: 132px; box-shadow: 0 0 0 6px rgba(212, 255, 58, 0.22), 0 18px 40px rgba(0, 0, 0, 0.35); } .cb.xxl b { font-size: 2.2rem; }
.cp-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 28px; border-radius: var(--radius); border: 1px solid var(--edge); background: radial-gradient(90% 140% at 0% 0%, rgba(212, 255, 58, 0.16), rgba(212, 255, 58, 0) 60%), var(--sheen), var(--surface); }
.cp-hero::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; border: 36px solid var(--accent); opacity: 0.07; pointer-events: none; }
.cp-id { display: flex; align-items: center; gap: 24px; min-width: 0; }
.cp-nm { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.cp-nm h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 0.95; overflow-wrap: anywhere; }
.cp-rank { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 2px; padding-left: 20px; border-left: 1px solid var(--line); }
.cp-k { color: var(--muted); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
.cp-big { font-family: var(--display); font-weight: 800; font-size: 4.2rem; line-height: 0.9; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.cp-of { font-family: var(--display); font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.04em; }
.cp-mv { margin-top: 6px; font-family: var(--display); font-weight: 700; font-size: 0.95rem; } .cp-mv.up { color: var(--up); } .cp-mv.down { color: var(--down); } .cp-mv.flat { color: var(--muted); }
.cp-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.cp-t { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--edge); background: var(--sheen), var(--surface); }
.cp-v { font-family: var(--display); font-weight: 800; font-size: 2.1rem; line-height: 1; font-variant-numeric: tabular-nums; } .cp-v small { font-size: 1.1rem; color: var(--muted); }
.cp-t .evo { font-size: 0.95rem; }
.cp-vs { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: var(--radius); border: 1px solid var(--edge); background: var(--sheen), var(--surface); }
.cp-when { color: var(--muted); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; text-align: center; }
.cp-duel { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: start; gap: 12px; }
.cp-side { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: inherit; text-decoration: none; min-width: 0; }
.cp-sn { font-family: var(--display); font-weight: 800; font-size: 1.25rem; text-transform: uppercase; line-height: 1.05; overflow-wrap: anywhere; }
.cp-side.me .cp-sn { color: var(--accent-text); } .cp-side:hover .cp-sn { text-decoration: underline; }
.cp-x { align-self: center; font-family: var(--display); font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.85rem; }
.cp-meter { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
.cp-p { font-family: var(--display); font-weight: 800; font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.cp-bar { height: 12px; border-radius: 999px; overflow: hidden; background: var(--line); } .cp-bar i { display: block; height: 100%; background: var(--accent); border-radius: 999px 0 0 999px; }
.cp-cap { text-align: center; }
.cp-op { display: flex; align-items: center; gap: 12px; min-width: 0; } .cp-op .cb { width: 34px; height: 34px; }
.ptab th[scope=row] a { display: inline-flex; align-items: center; gap: 10px; }
.ptab-card { border-radius: var(--radius); border: 1px solid var(--edge); background: var(--surface); box-shadow: var(--shadow); padding: 4px 14px 6px; overflow: hidden; }
.ptab-card .ptab caption { padding: 10px 0 8px; }
.ptab tbody tr:last-child th, .ptab tbody tr:last-child td { border-bottom: 0; }
.cp-hero.cv { background: linear-gradient(90deg, rgba(7, 16, 29, 0.94) 0%, rgba(7, 16, 29, 0.66) 55%, rgba(7, 16, 29, 0.4) 100%), var(--cover) center 40% / cover no-repeat, linear-gradient(135deg, #12305A 0%, #0B1D36 55%, #07101D 100%) !important; }
@media (max-width: 700px) { .cp-hero.cv { background: linear-gradient(180deg, rgba(7, 16, 29, 0.5) 0%, rgba(7, 16, 29, 0.93) 75%), var(--cover) center / cover no-repeat, linear-gradient(135deg, #12305A 0%, #0B1D36 55%, #07101D 100%) !important; } }
.cp-photo { margin: -12px 0 0; text-align: right; font-size: 0.85rem; } .cp-photo a { color: var(--muted); }
.page { display: flex; flex-direction: column; gap: 22px; padding-block: 24px 48px; max-width: 860px; }
.crumbs { font-size: 0.85rem; color: var(--muted); } .crumbs a { color: inherit; }
.cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-family: var(--display); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; }
@media (max-width: 700px) { .cp-hero { grid-template-columns: 1fr; padding: 20px; } .cp-rank { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; text-align: left; padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--line); } .cp-rank .cp-k { width: 100%; } .cp-big { font-size: 3rem; } .cp-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cb.xxl { width: 84px; height: 84px; } .cb.xxl b { font-size: 1.4rem; } .cp-id { gap: 14px; } .cb.lg { width: 52px; height: 52px; } .cp-sn { font-size: 1.05rem; } .ptab .cb { width: 22px; height: 22px; } .cp-op { gap: 8px; } .cp-op .cb { width: 26px; height: 26px; } .match .opp { font-size: 1.05rem; } .ptab th[scope=row] a { gap: 7px; } }
@media (max-width: 520px) { .ptab th, .ptab td { padding: 8px 4px; font-size: 0.9rem; } .ptab td:nth-child(4) { display: none; } .ptab thead th:nth-child(4) { display: none; } }
