/* Tennis Saga — thème « court & night session ». Polices auto-hébergées (RGPD). */
@font-face { font-family: 'Inter'; src: url(fonts/inter-latin-wght-normal.woff2) format('woff2'); font-weight: 100 900; 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: 'Barlow Condensed'; src: url(fonts/barlow-condensed-latin-800-normal.woff2) format('woff2'); font-weight: 800; font-display: swap; }

:root {
  --bg: #f2efe6; --bg2: #e9e5d8; --card: #ffffff; --ink: #11241a; --muted: #64705f; --line: #e3dfd1;
  --deep: #0b2e21; --deep2: #124833; --brand: #17803f; --brand-ink: #ffffff;
  --ball: #d6f24a; --clay: #dc5a2b; --gold: #e5b53b; --silver: #aab4ad; --bronze: #c27a45;
  --hard: #2f6fc4; --indoor: #6a4fc9; --grass: #3a9a47; --good: #1f9d55; --warn: #d9962b; --bad: #d23f3f;
  --radius: 16px; --shadow: 0 1px 0 rgba(0,0,0,.03), 0 6px 22px rgba(24,40,28,.07);
  --display: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --court: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='300' viewBox='0 0 520 300' fill='none' stroke='%23ffffff' stroke-opacity='.10' stroke-width='3'%3E%3Crect x='20' y='20' width='480' height='260'/%3E%3Cpath d='M20 62h480M20 238h480M260 62v176M130 62v176M390 62v176M130 150h260'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #08130d; --bg2: #0d1d15; --card: #101f17; --ink: #e9f1ea; --muted: #94a597; --line: #1f3326; --brand: #35b868; --brand-ink: #06150c; --shadow: 0 1px 0 rgba(255,255,255,.03), 0 8px 28px rgba(0,0,0,.35); --deep: #06180f; --deep2: #0d3322; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.55 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-decoration: none; } a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0 0 .5em; letter-spacing: .2px; text-transform: uppercase; }
h1 { font-size: 2.3rem; font-weight: 800; } h2 { font-size: 1.45rem; font-weight: 700; } h3 { font-size: 1.1rem; font-weight: 700; color: var(--muted); }
.card h2 { display: flex; align-items: center; gap: 10px; } .card > h2::before { content: ''; width: 5px; height: 1em; border-radius: 3px; background: var(--ball); box-shadow: 0 0 0 1px rgba(0,0,0,.08); flex: none; }

/* ── En-tête ── */
.top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding: 12px 18px; background: linear-gradient(180deg, var(--deep), var(--deep2)); color: #fff; position: sticky; top: 0; z-index: 6; box-shadow: 0 2px 0 rgba(0,0,0,.18); }
.brand { color: #fff; display: flex; align-items: center; gap: 10px; font: 800 1.45rem/1 var(--display); text-transform: uppercase; letter-spacing: .6px; }
.brand:hover { text-decoration: none; }
.brand small { display: block; font: 600 .62rem/1 'Inter', sans-serif; letter-spacing: 2.4px; opacity: .65; margin-top: 3px; }
.ball { width: 28px; height: 28px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #f3ff97, var(--ball) 55%, #b6d62b); display: inline-block; position: relative; flex: none; box-shadow: 0 2px 6px rgba(0,0,0,.35); }
.ball::before, .ball::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; border: 2px solid rgba(255,255,255,.85); border-color: rgba(255,255,255,.85) transparent transparent transparent; transform: rotate(-35deg); }
.ball::after { transform: rotate(145deg); }
nav { display: flex; flex-wrap: wrap; gap: 0; flex: 1 1 auto; }
nav a { color: #fff; opacity: .78; padding: 7px 9px; border-radius: 10px; font: 700 1.02rem/1 var(--display); text-transform: uppercase; letter-spacing: .5px; position: relative; white-space: nowrap; }
nav a:hover { opacity: 1; background: rgba(255,255,255,.1); text-decoration: none; }
nav a.on { opacity: 1; background: rgba(255,255,255,.12); }
nav a.on::after { content: ''; position: absolute; left: 9px; right: 9px; bottom: 1px; height: 3px; border-radius: 3px; background: var(--ball); }
.who { display: flex; gap: 8px; align-items: center; font-size: 14px; color: #fff; }
.who .btn { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.25); }

/* ── Bandeau « tableau d'affichage » ── */
.weekbar { background: var(--deep); color: #d5e3d9; padding: 7px 22px; font-size: 13px; display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.08); }
.weekbar b { background: var(--ball); color: #11241a; padding: 2px 11px; border-radius: 999px; font: 800 .95rem/1.3 var(--display); text-transform: uppercase; letter-spacing: .6px; }
.weekbar .btn { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.2); }

main { max-width: 1120px; margin: 0 auto; padding: 24px 18px 48px; min-height: 70vh; }
.foot { text-align: center; color: var(--muted); font-size: 12px; padding: 22px 16px 34px; border-top: 1px solid var(--line); }

/* ── Cartes ── */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); margin-bottom: 18px; }
.grid { display: grid; gap: 18px; } .g2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); } .g3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid > .card, .grid > div > .card { margin-bottom: 0; }
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .sp { justify-content: space-between; }
.muted { color: var(--muted); } .small { font-size: 13px; } .right { text-align: right; } .nowrap { white-space: nowrap; }
hr { border: 0; border-top: 1px solid var(--line); margin: 14px 0; }
.notice { padding: 12px 16px; border-radius: 12px; background: color-mix(in srgb, var(--gold) 16%, var(--card)); border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--line)); margin-bottom: 16px; }

/* ── Boutons & champs ── */
.btn { appearance: none; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); padding: 8px 18px; border-radius: 999px; cursor: pointer; font: 700 .95rem/1.2 'Inter', sans-serif; transition: transform .08s, box-shadow .15s, border-color .15s; }
.btn:hover { border-color: var(--brand); text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: none; }
.btn.pri { background: linear-gradient(180deg, var(--brand), color-mix(in srgb, var(--brand) 80%, #000)); color: var(--brand-ink); border-color: transparent; box-shadow: 0 4px 12px color-mix(in srgb, var(--brand) 35%, transparent); }
.btn.pri:hover { box-shadow: 0 6px 16px color-mix(in srgb, var(--brand) 45%, transparent); }
.btn.cta { background: var(--ball); color: #11241a; border-color: transparent; font-weight: 800; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.btn.sm { padding: 4px 12px; font-size: 13px; } .btn.danger { color: var(--bad); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
input, select, textarea { font: inherit; color: inherit; background: var(--card); border: 1.5px solid var(--line); border-radius: 12px; padding: 8px 12px; max-width: 100%; }
input:focus, select:focus, textarea:focus, .btn:focus-visible, a:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 40%, transparent); outline-offset: 1px; }
textarea { width: 100%; min-height: 96px; }
label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); margin: 10px 0 4px; }

/* ── Tableaux ── */
table { width: 100%; border-collapse: collapse; } th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font: 700 .82rem/1 var(--display); text-transform: uppercase; letter-spacing: 1.2px; color: var(--muted); background: color-mix(in srgb, var(--bg2) 60%, var(--card)); }
tr:last-child td { border-bottom: 0; } tbody tr:hover td, table tr:hover td { background: color-mix(in srgb, var(--ball) 9%, transparent); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; padding: 0; } .card.table-wrap { padding: 0; overflow: hidden; } .card.table-wrap table th:first-child, .card.table-wrap table td:first-child { padding-left: 18px; }
table td:first-child { font: 800 1.15rem/1 var(--display); color: var(--muted); }

/* ── Onglets, pastilles ── */
.tabs { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.tab { padding: 7px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); cursor: pointer; font: 700 1rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .6px; color: var(--ink); }
.tab:hover { text-decoration: none; border-color: var(--brand); } .tab.on { background: var(--deep); color: #fff; border-color: var(--deep); }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font: 700 .78rem/1.35 'Inter', sans-serif; background: var(--bg2); color: var(--ink); letter-spacing: .2px; vertical-align: middle; }
.pill.hard { background: var(--hard); color: #fff; } .pill.indoor { background: var(--indoor); color: #fff; } .pill.clay { background: var(--clay); color: #fff; } .pill.grass { background: var(--grass); color: #fff; }
.pill.GS { background: linear-gradient(135deg, #111, #2b2b38); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(229,181,59,.45); } .pill.M { background: #7a1f2b; color: #fff; } .pill.FINALS { background: var(--gold); color: #1d1503; }
.pill.good { background: var(--good); color: #fff; } .pill.bad { background: var(--bad); color: #fff; } .pill.warn { background: var(--warn); color: #fff; }

/* ── Bandeau « à la une » ── */
.hero { background: var(--court) center/520px, radial-gradient(120% 140% at 100% 0%, #1f7a4b 0%, transparent 55%), linear-gradient(135deg, var(--deep), var(--deep2)); color: #fff; border-radius: 22px; padding: 34px 32px 30px; margin-bottom: 20px; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.hero::after { content: ''; position: absolute; right: -50px; bottom: -70px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #f3ff97, var(--ball) 55%, #b6d62b); opacity: .95; box-shadow: -10px -6px 0 rgba(0,0,0,.08) inset; }
.hero > * { position: relative; z-index: 1; max-width: 640px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); margin: 6px 0 10px; text-shadow: 0 2px 12px rgba(0,0,0,.25); } .hero h1 a { color: #fff; }
.hero .kicker { display: inline-block; background: var(--ball); color: #11241a; font: 800 .8rem/1 var(--display); text-transform: uppercase; letter-spacing: 2px; padding: 5px 12px; border-radius: 999px; }
.hero a { color: #fff; text-decoration: underline; text-underline-offset: 3px; } .hero .btn.cta { color: #11241a; text-decoration: none; }
.hero .pill { background: rgba(255,255,255,.16); color: #fff; }
.hero .meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 4px; opacity: .95; }

/* ── Top 10 : podium ── */
.top10 { counter-reset: r; list-style: none; margin: 0; padding: 0; }
.top10 li { counter-increment: r; display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.top10 li:last-child { border-bottom: 0; }
.top10 li::before { content: counter(r); min-width: 28px; font: 800 1.45rem/1 var(--display); color: var(--muted); }
.top10 li:nth-child(1)::before { color: var(--gold); } .top10 li:nth-child(2)::before { color: var(--silver); } .top10 li:nth-child(3)::before { color: var(--bronze); }
.top10 li:nth-child(1) a { font-weight: 800; font-size: 1.08rem; }
.top10 .pts { margin-left: auto; font: 700 1.1rem/1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }
.top10 a { color: var(--ink); font-weight: 600; } .top10 a:hover { color: var(--brand); }

/* ── Jauges ── */
.bar { height: 10px; border-radius: 6px; background: var(--bg2); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--brand), var(--ball)); }
.bar.warn > i { background: linear-gradient(90deg, var(--warn), #f0cf6a); } .bar.bad > i { background: linear-gradient(90deg, var(--bad), #ec8d6a); }
.stat { display: grid; grid-template-columns: 120px 1fr 36px; gap: 10px; align-items: center; margin: 7px 0; font-size: 14px; }
.stat b { font: 800 1.15rem/1 var(--display); }
.stepper { display: inline-flex; align-items: center; gap: 4px; } .stepper button { min-width: 28px; height: 28px; padding: 0 6px; }
.avatar { width: 76px; height: 76px; border-radius: 50%; flex: none; box-shadow: 0 0 0 3px var(--card), 0 0 0 5px var(--ball), var(--shadow); }

/* ── Listes, matchs ── */
.feed { list-style: none; padding: 0; margin: 0; } .feed li { padding: 10px 0 10px 16px; border-bottom: 1px solid var(--line); position: relative; } .feed li:last-child { border-bottom: 0; }
.feed li::before { content: ''; position: absolute; left: 0; top: 17px; width: 7px; height: 7px; border-radius: 50%; background: var(--ball); box-shadow: 0 0 0 2px color-mix(in srgb, var(--ball) 35%, transparent); } .feed .t { font-weight: 700; }
.round { margin: 20px 0 8px; font: 800 1.3rem/1 var(--display); text-transform: uppercase; letter-spacing: 1px; color: var(--brand); display: flex; align-items: center; gap: 10px; }
.round::after { content: ''; flex: 1; height: 2px; background: var(--line); }
.match { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 10px; cursor: pointer; align-items: center; } .match:hover { background: color-mix(in srgb, var(--ball) 12%, transparent); }
.match .w { font-weight: 800; } .seed { font-size: 11px; color: var(--muted); }
.trow { padding: 9px 0 9px 14px; border-bottom: 1px solid var(--line); border-left: 5px solid var(--line); margin-bottom: 2px; }
.trow.hard { border-left-color: var(--hard); } .trow.indoor { border-left-color: var(--indoor); } .trow.clay { border-left-color: var(--clay); } .trow.grass { border-left-color: var(--grass); }
.hl { border-left: 4px solid var(--ball); padding: 4px 12px; margin: 6px 0; font-size: 14px; background: color-mix(in srgb, var(--ball) 8%, transparent); border-radius: 0 8px 8px 0; }
.scorebox { font: 800 1.5rem/1 var(--display); font-variant-numeric: tabular-nums; }
.scorebug { background: var(--deep); color: #fff; border-color: transparent; } .scorebug td, .scorebug th { border-color: rgba(255,255,255,.1); color: #fff; } .scorebug a { color: #fff; } .scorebug td:first-child { font: 700 1.2rem/1.2 'Inter', sans-serif; color: #fff; }
.scorebug .scorebox { font-size: 2rem; color: var(--ball); } .scorebug tr:hover td { background: transparent; }
.rankbig { font: 800 3rem/1 var(--display); color: var(--brand); }

/* ── Fenêtre & message ── */
.modal { position: fixed; inset: 0; background: rgba(6,20,13,.62); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 20; }
.modal .card { width: 100%; max-width: 400px; margin: 0; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); opacity: 0; background: var(--deep); color: #fff; padding: 11px 20px; border-radius: 999px; transition: .25s; pointer-events: none; z-index: 30; max-width: 90vw; font-weight: 600; box-shadow: 0 8px 24px rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.12); }
.toast.show { opacity: 1; transform: translate(-50%, 0); } .toast.err { background: var(--bad); }

@media (max-width: 700px) {
  main { padding: 14px 12px 36px; } .top { padding: 10px 12px; gap: 6px 10px; } .weekbar { padding: 6px 12px; }
  .stat { grid-template-columns: 96px 1fr 32px; } nav a { padding: 6px 9px; font-size: .95rem; } h1 { font-size: 1.8rem; }
  .hero { padding: 24px 20px; border-radius: 18px; } .hero::after { width: 150px; height: 150px; right: -40px; bottom: -50px; }
  nav { flex-wrap: nowrap; overflow-x: auto; width: 100%; order: 3; scrollbar-width: none; } nav::-webkit-scrollbar { display: none; } .who { margin-left: auto; } .weekbar span { display: none; } .card { padding: 16px; } .grid { gap: 14px; } .g2 { grid-template-columns: 1fr; } .brand small { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ── Bandeau de résultats défilant ── */
.ticker { background: var(--card); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; margin-bottom: 16px; box-shadow: var(--shadow); }
.ticker-track { display: flex; gap: 34px; width: max-content; padding: 8px 20px; animation: tick 60s linear infinite; font-size: 14px; white-space: nowrap; }
.ticker:hover .ticker-track { animation-play-state: paused; } .ticker a { color: var(--ink); } .ticker b { font-weight: 800; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ── Fenêtre de connexion / inscription ── */
.modal { overflow-y: auto; }
.auth { display: grid; grid-template-columns: 5fr 6fr; width: 100%; max-width: 820px; background: var(--card); border-radius: 22px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.45); animation: pop .22s ease-out; margin: auto; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.auth-art { background: var(--court) center/420px, radial-gradient(120% 120% at 0% 0%, #1f7a4b 0%, transparent 60%), linear-gradient(160deg, var(--deep), var(--deep2)); color: #fff; padding: 30px 28px; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; min-height: 420px; }
.auth-art .brand-mini { display: flex; align-items: center; gap: 10px; font: 800 1.2rem/1 var(--display); text-transform: uppercase; letter-spacing: .6px; } .auth-art .ball { width: 24px; height: 24px; }
.auth-art h2 { font-size: 2.1rem; line-height: 1; margin: 18px 0 4px; color: #fff; } .auth-art h2::before { display: none; }
.auth-art ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; position: relative; z-index: 1; }
.auth-art li { padding-left: 24px; position: relative; opacity: .92; } .auth-art li::before { content: ''; position: absolute; left: 0; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--ball); }
.auth-ball { position: absolute; right: -60px; bottom: -70px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #f3ff97, var(--ball) 55%, #b6d62b); }
.auth-body { padding: 28px 30px 24px; position: relative; display: flex; flex-direction: column; gap: 4px; }
.auth-body h2 { font-size: 1.9rem; margin: 10px 0 14px; } .auth-body h2::before { display: none; }
.auth-x { position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: transparent; font-size: 24px; line-height: 1; cursor: pointer; color: var(--muted); } .auth-x:hover { background: var(--bg2); color: var(--ink); }
.seg { display: inline-grid; grid-auto-flow: column; background: var(--bg2); border-radius: 999px; padding: 4px; width: max-content; }
.seg button { border: 0; background: transparent; padding: 7px 16px; border-radius: 999px; font: 700 .95rem/1 var(--display); text-transform: uppercase; letter-spacing: .6px; color: var(--muted); cursor: pointer; }
.seg button.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
#gwrap { display: flex; justify-content: center; min-height: 44px; } #gbtn { display: flex; justify-content: center; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; margin: 14px 0 2px; text-transform: uppercase; letter-spacing: .8px; font-weight: 700; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.auth-body input { width: 100%; padding: 11px 14px; } .auth-body label { margin-top: 12px; } .hint { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--muted); margin-left: 6px; }
.pwrap { position: relative; } .pwrap input { padding-right: 46px; } .eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; cursor: pointer; font-size: 17px; padding: 6px 8px; opacity: .65; } .eye:hover { opacity: 1; }
.btn.wide { width: 100%; margin-top: 16px; padding: 12px 18px; font-size: 1rem; }
.aerr { margin-top: 12px; padding: 9px 13px; border-radius: 10px; background: color-mix(in srgb, var(--bad) 12%, var(--card)); color: var(--bad); font-size: 14px; font-weight: 600; border: 1px solid color-mix(in srgb, var(--bad) 35%, var(--line)); }
.aerr[hidden] { display: none; } .fine { text-align: center; color: var(--muted); font-size: 13px; margin: 14px 0 0; }
@media (max-width: 700px) { .auth { grid-template-columns: 1fr; max-width: 420px; } .auth-art { display: none; } .auth-body { padding: 24px 20px 20px; } }

/* ── Vraie balle de tennis (feutre, couture, volume) ── */
.ball { background: url(ball.svg) center/contain no-repeat; border-radius: 0; box-shadow: none; filter: drop-shadow(0 2px 3px rgba(0,0,0,.4)); }
.ball::before, .ball::after { display: none; }
.hero::after, .auth-ball { background: url(ball.svg) center/contain no-repeat; border-radius: 0; box-shadow: none; opacity: 1; filter: drop-shadow(-10px 12px 16px rgba(0,0,0,.4)); transform: rotate(-24deg); }
.weekbar b::before { content: ''; display: inline-block; width: .8em; height: .8em; margin-right: 6px; background: url(ball.svg) center/contain no-repeat; vertical-align: -1px; }

/* ── Lignes de tournoi alignées ── */
.titem { display: grid; grid-template-columns: 1fr auto; gap: 3px 12px; padding: 10px 0 10px 14px; border-left: 4px solid var(--line); border-bottom: 1px solid var(--line); align-items: baseline; }
.titem:last-of-type { border-bottom: 0; }
.titem.hard { border-left-color: var(--hard); } .titem.indoor { border-left-color: var(--indoor); } .titem.clay { border-left-color: var(--clay); } .titem.grass { border-left-color: var(--grass); }
.titem .tname { font-weight: 700; color: var(--ink); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .titem .tname:hover { color: var(--brand); text-decoration: none; }
.titem .tmeta { font-size: 13px; color: var(--muted); white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.titem .tpills { grid-column: 1 / -1; display: flex; gap: 6px; flex-wrap: wrap; } .titem .pill { font-size: .72rem; padding: 1px 9px; }
.card h3 + .titem, .card .titem + h3 { margin-top: 4px; } .card h3 { margin-top: 18px; }

/* ── Créateur de joueur ── */
.creator-head { margin-bottom: 20px; } .creator-head h1 { margin-bottom: 6px; }
.kicker-y { display: inline-block; background: var(--ball); color: #11241a; font: 800 .8rem/1 var(--display); text-transform: uppercase; letter-spacing: 2px; padding: 5px 12px; border-radius: 999px; margin-bottom: 8px; }
.creator { display: grid; grid-template-columns: 340px 1fr; gap: 20px; align-items: start; padding-bottom: 80px; }
.cprev { position: sticky; top: 84px; } .cprev-card { margin: 0; background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--brand) 14%, var(--card)), var(--card) 65%); text-align: center; }
.cprev-top { display: flex; flex-direction: column; align-items: center; gap: 10px; } .avatar.big { width: 112px; height: 112px; }
.cprev-name { font: 800 1.9rem/1.05 var(--display); text-transform: uppercase; margin-top: 12px; word-break: break-word; }
#radar { width: 100%; height: auto; margin-top: 6px; color: var(--ink); }
.surfs { display: grid; gap: 8px; text-align: left; } .srow { display: grid; grid-template-columns: 70px 1fr 44px; gap: 10px; align-items: center; } .srow b { font: 800 1.1rem/1 var(--display); text-align: right; }
.cmain .card { margin-bottom: 18px; } .stepnum { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--deep); color: var(--ball); font: 800 1rem/1 var(--display); flex: none; }
.card > h2:has(.stepnum)::before { display: none; }
.seg2 { display: inline-grid; grid-auto-flow: column; background: var(--bg2); border-radius: 999px; padding: 4px; } .seg2 button { border: 0; background: transparent; padding: 7px 20px; border-radius: 999px; font: 700 .95rem/1 'Inter', sans-serif; color: var(--muted); cursor: pointer; } .seg2 button.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.14); }
.presets { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 14px 0 18px; }
.preset { display: grid; gap: 2px; text-align: left; padding: 11px 12px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--card); cursor: pointer; color: var(--ink); font: inherit; transition: transform .1s, border-color .15s, box-shadow .15s; } .preset:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow); } .preset .pi { font-size: 1.3rem; } .preset b { font: 800 1.1rem/1 var(--display); text-transform: uppercase; }
.crow { display: grid; grid-template-columns: 190px 1fr auto; gap: 14px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); } .crow:last-of-type { border-bottom: 0; }
.cl { display: flex; flex-direction: column; gap: 3px; } .coef { display: flex; gap: 4px; } .coef i { font-style: normal; font-size: 11px; font-weight: 800; color: #fff; width: 20px; text-align: center; border-radius: 6px; padding: 1px 0; } .coef i.hard { background: var(--hard); } .coef i.grass { background: var(--grass); } .coef i.clay { background: var(--clay); }
.cbar .bar { height: 12px; } .cbar .bar i { transition: width .2s ease; } .av { min-width: 34px; text-align: center; font: 800 1.25rem/1 var(--display); }
.dgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; margin-top: 12px; }
.dcard { border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; display: grid; gap: 10px; background: color-mix(in srgb, var(--bg2) 35%, var(--card)); } .dtop { display: flex; gap: 10px; align-items: flex-start; } .dic { font-size: 1.5rem; line-height: 1; }
.dctl { display: flex; justify-content: space-between; align-items: center; } .pips { display: flex; gap: 4px; flex-wrap: wrap; max-width: 160px; } .pips i { width: 12px; height: 12px; border-radius: 50%; background: var(--bg2); border: 1.5px solid var(--line); } .pips i.on { background: var(--ball); border-color: color-mix(in srgb, var(--ball) 60%, #000); box-shadow: 0 0 0 2px color-mix(in srgb, var(--ball) 30%, transparent); }
.actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 7; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 22px; background: linear-gradient(180deg, var(--deep2), var(--deep)); box-shadow: 0 -6px 24px rgba(0,0,0,.25); }
.actionbar .pill.warn { background: var(--gold); color: #1d1503; }
@media (max-width: 900px) { .creator { grid-template-columns: 1fr; } .cprev { position: static; } .crow { grid-template-columns: 1fr; gap: 6px; } .actionbar { padding: 10px 14px; } }

body:has(.actionbar) .toast { bottom: 86px; }

/* ── Page tournoi ── */
.tbanner { position: relative; border-radius: 22px; overflow: hidden; min-height: 250px; padding: 24px 28px 22px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; background-size: cover; background-position: center; box-shadow: var(--shadow); margin-bottom: 18px; isolation: isolate; }
.tbanner::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,20,13,.88) 0%, rgba(6,20,13,.55) 55%, rgba(6,20,13,.15) 100%), linear-gradient(0deg, rgba(6,20,13,.6), transparent 55%); }
.tbanner h1 { font-size: clamp(2rem, 6vw, 3.6rem); margin: 0; text-shadow: 0 3px 16px rgba(0,0,0,.45); }
.tb-top { position: absolute; top: 20px; left: 28px; display: flex; gap: 8px; flex-wrap: wrap; } .tb-top .pill:not(.GS):not(.M):not(.FINALS) { background: rgba(255,255,255,.18); color: #fff; backdrop-filter: blur(4px); }
.pill.state.drawn { background: var(--ball) !important; color: #11241a !important; } .pill.state.done { background: rgba(255,255,255,.9) !important; color: #11241a !important; }
.tb-meta { display: flex; gap: 8px 22px; flex-wrap: wrap; font-size: 14px; opacity: .95; align-items: center; }
.tbanner.cat-GS { box-shadow: 0 0 0 3px var(--gold), var(--shadow); } .tbanner.cat-GS h1 { letter-spacing: 1.5px; }
.tinfo .card { margin: 0; } .champ { background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 14%, var(--card)), var(--card) 60%); } .champ-name { font: 800 1.5rem/1.05 var(--display); text-transform: uppercase; }
.ptrow { display: flex; flex-wrap: wrap; gap: 8px; } .ptc { display: grid; text-align: center; background: var(--bg2); border-radius: 12px; padding: 6px 10px; min-width: 64px; } .ptc b { font: 800 1.3rem/1 var(--display); } .ptc small { font-size: 11px; color: var(--muted); }
.seedlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; } .seedlist li { display: flex; gap: 10px; align-items: baseline; } .seedlist i { font: 800 1.1rem/1 var(--display); font-style: normal; color: var(--muted); min-width: 20px; }
.bracket { display: flex; gap: 18px; overflow-x: auto; padding: 4px 2px 14px; align-items: stretch; }
.bcol { flex: 0 0 250px; display: flex; flex-direction: column; } .bhead { font: 800 1.05rem/1 var(--display); text-transform: uppercase; letter-spacing: 1px; color: var(--brand); padding: 4px 4px 10px; }
.bbody { display: flex; flex-direction: column; justify-content: space-around; gap: 10px; flex: 1; }
.bmatch { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; cursor: pointer; box-shadow: var(--shadow); transition: transform .1s, border-color .15s; } .bmatch:hover { transform: translateY(-2px); border-color: var(--brand); }
.brow { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; font-size: 14px; color: var(--muted); } .brow + .brow { border-top: 1px solid var(--line); }
.brow.win { color: var(--ink); font-weight: 800; background: color-mix(in srgb, var(--ball) 14%, var(--card)); } .brow .bs { font: 800 .95rem/1.2 var(--display); white-space: nowrap; font-variant-numeric: tabular-nums; }
.bn { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .bn i { font-style: normal; font-size: 11px; color: var(--muted); margin-right: 6px; font-weight: 700; }
.cthumb { display: inline-block; width: 46px; height: 30px; border-radius: 7px; background-size: cover; background-position: center; margin-right: 10px; vertical-align: middle; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
[hidden] { display: none !important; }
@media (max-width: 700px) { .tbanner { min-height: 230px; padding: 20px 18px 18px; border-radius: 18px; } .tb-top { left: 18px; top: 16px; } .bcol { flex-basis: 220px; } }

/* ── Scores : tableaux set par set ── */
.bsets { display: flex; gap: 11px; align-items: baseline; font: 800 1.05rem/1.2 var(--display); } .bsets em { font: 600 .7rem/1 'Inter', sans-serif; color: var(--muted); }
.sc { min-width: 12px; text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; } .sc.w { color: var(--ink); } .brow.win .sc.w { color: var(--brand); } .sc sup, .mset sup { font-size: .55em; margin-left: 1px; vertical-align: .55em; opacity: .85; }
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
/* ── Page match ── */
.mbanner { position: relative; border-radius: 22px; overflow: hidden; padding: 22px 22px 18px; color: #fff; background-size: cover; background-position: center; box-shadow: var(--shadow); margin-bottom: 18px; isolation: isolate; display: grid; gap: 16px; }
.mbanner::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 120% at 50% 40%, rgba(6,20,13,.55), rgba(6,20,13,.85)); }
.mb-top { display: flex; gap: 8px; flex-wrap: wrap; } .mb-top .pill:not(.GS):not(.M):not(.FINALS):not(.hard):not(.clay):not(.grass):not(.indoor) { background: rgba(255,255,255,.18); color: #fff; }
.mboard { background: rgba(6,20,13,.78); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; overflow: hidden; backdrop-filter: blur(6px); box-shadow: 0 10px 30px rgba(0,0,0,.35); max-width: 720px; width: 100%; margin: 0 auto; }
.mrow { display: grid; grid-template-columns: 48px 1fr auto 34px; align-items: center; gap: 14px; padding: 12px 18px; } .mrow + .mrow { border-top: 1px solid rgba(255,255,255,.12); } .mrow.win { background: linear-gradient(90deg, rgba(214,242,74,.16), transparent 70%); }
.avatar.sm { width: 48px; height: 48px; box-shadow: 0 0 0 2px rgba(255,255,255,.25); } .mrow.win .avatar.sm { box-shadow: 0 0 0 3px var(--ball); }
.mpl { display: grid; line-height: 1.15; } .mpl a { color: #fff; font: 800 1.45rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .4px; } .mpl small { color: rgba(255,255,255,.7); font-size: 12.5px; }
.msets { display: flex; gap: 6px; } .mset { display: grid; place-items: center; min-width: 46px; height: 52px; border-radius: 10px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.7); font: 800 2rem/1 var(--display); font-variant-numeric: tabular-nums; } .mset.w { background: var(--ball); color: #11241a; box-shadow: 0 4px 12px rgba(0,0,0,.3); }
.mtick { text-align: center; color: var(--ball); font: 800 1.4rem/1 var(--display); }
.mfoot { text-align: center; font-size: 14px; color: rgba(255,255,255,.85); }
.cmphead { display: flex; justify-content: space-between; margin-bottom: 8px; font: 700 .95rem/1 var(--display); text-transform: uppercase; letter-spacing: .8px; color: var(--muted); }
.cmp { display: grid; grid-template-columns: 58px 1fr 58px; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); } .cmp:last-child { border-bottom: 0; }
.cmp-l, .cmp-r { font: 800 1.25rem/1 var(--display); color: var(--muted); font-variant-numeric: tabular-nums; } .cmp-r { text-align: right; } .cmp .lead { color: var(--ink); }
.cmp-mid { display: grid; gap: 5px; text-align: center; font-size: 12.5px; color: var(--muted); font-weight: 600; } .cmp-bar { display: flex; gap: 3px; height: 8px; } .cmp-bar i { display: block; border-radius: 6px; } .cmp-bar .l { background: var(--brand); } .cmp-bar .r { background: var(--clay); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 6px; position: relative; } .timeline::before { content: ''; position: absolute; left: 22px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { display: flex; gap: 14px; padding: 8px 0; align-items: flex-start; position: relative; } .mi { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--card); border: 2px solid var(--ball); font-size: 15px; flex: none; z-index: 1; }
@media (max-width: 700px) { .mrow { grid-template-columns: 40px 1fr auto 20px; gap: 8px; padding: 10px 10px; } .avatar.sm { width: 40px; height: 40px; } .mpl a { font-size: 1.1rem; } .mset { min-width: 34px; height: 44px; font-size: 1.5rem; border-radius: 8px; } .msets { gap: 4px; } }

/* ── Joueurs engagés ── */
.card > summary { cursor: pointer; font-size: 1.05rem; } .card > summary + * { margin-top: 12px; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.pchip { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); background: color-mix(in srgb, var(--bg2) 35%, var(--card)); } .pchip:hover { text-decoration: none; border-color: var(--brand); transform: translateY(-1px); }
.avatar.xs { width: 38px; height: 38px; box-shadow: 0 0 0 2px var(--card), 0 0 0 3px var(--line); }
.pc-n { display: grid; line-height: 1.2; min-width: 0; flex: 1; } .pc-n b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pc-n small { color: var(--muted); font-size: 12px; }
.pc-r { display: flex; align-items: center; gap: 6px; } .pc-r em { font: 800 1rem/1 var(--display); font-style: normal; color: var(--muted); } .sd { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ball); color: #11241a; font: 800 .8rem/1 var(--display); font-style: normal; }

/* ── Fiche joueur ── */
.g4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.phero { position: relative; border-radius: 22px; overflow: hidden; color: #fff; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 28px 30px; background-size: cover; background-position: center; box-shadow: var(--shadow); margin-bottom: 18px; isolation: isolate; }
.phero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(6,20,13,.92) 0%, rgba(6,20,13,.72) 55%, rgba(6,20,13,.45) 100%); }
.avatar.huge { width: 132px; height: 132px; box-shadow: 0 0 0 4px rgba(255,255,255,.2), 0 0 0 7px var(--ball), 0 16px 34px rgba(0,0,0,.4); }
.ph-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; } .ph-tags .pill { background: rgba(255,255,255,.16); color: #fff; } .ph-tags .pill.good { background: var(--ball); color: #11241a; }
.phero h1 { font-size: clamp(2.2rem, 6vw, 4rem); margin: 0 0 6px; text-shadow: 0 3px 16px rgba(0,0,0,.4); }
.ph-meta { display: flex; gap: 8px 20px; flex-wrap: wrap; opacity: .92; } .ph-meta span + span::before { content: '•'; margin-right: 20px; color: var(--ball); }
.ph-rank { text-align: right; display: grid; line-height: 1; } .ph-rank small { text-transform: uppercase; letter-spacing: 2px; font-size: 11px; opacity: .75; } .ph-rank b { font: 800 clamp(3rem, 8vw, 5.2rem)/1 var(--display); color: var(--ball); text-shadow: 0 4px 18px rgba(0,0,0,.4); } .ph-rank span { opacity: .85; font-size: 14px; }
.ptiles .card { margin: 0; } .tile { display: flex; align-items: center; gap: 14px; } .tile b { display: block; font: 800 2.1rem/1 var(--display); } .tile small { color: var(--muted); font-size: 13px; } .ti { font-size: 2rem; }
.tile.ring svg { width: 74px; height: 74px; flex: none; } .rbg { fill: none; stroke: var(--bg2); stroke-width: 9; } .rfg { fill: none; stroke: var(--brand); stroke-width: 9; stroke-linecap: round; }
.tile.form { flex-direction: column; align-items: flex-start; gap: 8px; } .dots { display: flex; gap: 7px; } .fd { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font: 800 .95rem/1 var(--display); font-style: normal; color: #fff; } .fd.w { background: var(--good); } .fd.l { background: var(--bad); }
.pmlist { display: grid; gap: 8px; } .pm { display: grid; grid-template-columns: 30px 38px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 14px; border: 1px solid var(--line); cursor: pointer; transition: transform .1s, border-color .15s; } .pm:hover { transform: translateY(-1px); border-color: var(--brand); }
.pm.won { background: linear-gradient(90deg, color-mix(in srgb, var(--good) 11%, var(--card)), var(--card) 55%); } .pm.lost { background: linear-gradient(90deg, color-mix(in srgb, var(--bad) 8%, var(--card)), var(--card) 55%); }
.pm-r { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; color: #fff; font: 800 .95rem/1 var(--display); } .pm.won .pm-r { background: var(--good); } .pm.lost .pm-r { background: var(--bad); }
.pm-n { display: grid; line-height: 1.2; min-width: 0; } .pm-n b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pm-n small { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-s { display: flex; gap: 4px; align-items: center; } .ms { display: grid; place-items: center; min-width: 26px; height: 30px; border-radius: 7px; background: var(--bg2); color: var(--muted); font: 800 1.05rem/1 var(--display); } .ms.w { background: var(--deep); color: var(--ball); } .ms sup { font-size: .55em; vertical-align: .5em; } .pm-s em { font: 600 .7rem/1 'Inter', sans-serif; color: var(--muted); }
.trophies { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.trophy { display: grid; gap: 4px; padding: 12px 14px; border-radius: 14px; color: var(--ink); background: linear-gradient(145deg, color-mix(in srgb, var(--gold) 22%, var(--card)), var(--card) 70%); border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--line)); } .trophy:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); } .trophy .cup { font-size: 1.5rem; } .trophy b { font: 800 1.1rem/1.15 var(--display); text-transform: uppercase; }
.rp { display: inline-block; padding: 2px 11px; border-radius: 999px; font: 700 .78rem/1.4 'Inter', sans-serif; background: var(--bg2); } .rp.W { background: var(--gold); color: #1d1503; } .rp.F { background: var(--silver); color: #10201a; } .rp.SF { background: var(--bronze); color: #fff; }
@media (max-width: 760px) { .phero { grid-template-columns: auto 1fr; padding: 22px 18px; gap: 16px; } .ph-rank { grid-column: 1 / -1; text-align: left; grid-auto-flow: column; justify-content: space-between; align-items: end; } .avatar.huge { width: 92px; height: 92px; } .pm { grid-template-columns: 26px 34px 1fr; } .pm-s { grid-column: 2 / -1; } }

/* ── Bandeau d'accueil avec illustration ── */
.hero.hero-img { background: linear-gradient(90deg, rgba(6,20,13,.94) 0%, rgba(6,20,13,.72) 36%, rgba(6,20,13,.08) 70%), var(--hero) right center / cover no-repeat, var(--deep); min-height: 340px; display: flex; flex-direction: column; justify-content: center; }
.hero.hero-img::after { display: none; }
@media (max-width: 700px) { .hero.hero-img { background: linear-gradient(180deg, rgba(6,20,13,.6), rgba(6,20,13,.92)), var(--hero) 72% center / cover no-repeat, var(--deep); min-height: 300px; } }

.hero.hero-img .kicker { align-self: flex-start; } .hero.hero-img .row { align-self: flex-start; }

.tbanner::before { background: linear-gradient(90deg, rgba(6,20,13,.72) 0%, rgba(6,20,13,.3) 55%, rgba(6,20,13,.05) 100%), linear-gradient(0deg, rgba(6,20,13,.62), transparent 60%); }
.mbanner::before { background: radial-gradient(90% 120% at 50% 40%, rgba(6,20,13,.4), rgba(6,20,13,.78)); }

/* ── Visages issus des planches de nation ── */
img.avatar, img.avatar.big, img.avatar.sm, img.avatar.xs, img.avatar.huge { object-fit: cover; background: var(--bg2); }
.cfaces { display: flex; gap: 8px; flex-wrap: wrap; } .cface { padding: 0; border: 3px solid transparent; border-radius: 50%; background: none; cursor: pointer; line-height: 0; } .cface img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; } .cface:hover { border-color: var(--line); } .cface.on { border-color: var(--ball); box-shadow: 0 0 0 2px var(--deep); }

/* ── Forum ── */
.empty { text-align: center; padding: 34px 20px; display: grid; gap: 8px; justify-items: center; } .empty > span { font-size: 2.4rem; }
.fhero { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; background: var(--court) center/520px, linear-gradient(135deg, var(--deep), var(--deep2)); color: #fff; border-radius: 22px; padding: 26px 28px; margin-bottom: 18px; box-shadow: var(--shadow); }
.fhero h1 { margin: 4px 0 6px; font-size: clamp(2rem, 5vw, 3rem); } .fhero p { margin: 0 0 10px; opacity: .88; max-width: 520px; } .fstats { display: flex; gap: 18px; font-size: 14px; opacity: .9; } .fstats b { font: 800 1.3rem/1 var(--display); color: var(--ball); margin-right: 4px; }
.fhero .btn:not(.cta) { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.3); }
.tlist { display: grid; gap: 10px; } .topic { display: grid; grid-template-columns: 46px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; color: var(--ink); box-shadow: var(--shadow); transition: transform .1s, border-color .15s; } .topic:hover { text-decoration: none; transform: translateY(-2px); border-color: var(--brand); }
.ini { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; flex: none; background: hsl(var(--h) 55% 38%); color: #fff; font: 800 1.2rem/1 var(--display); box-shadow: 0 0 0 2px var(--card), 0 0 0 3px var(--line); } .ini.big { width: 48px; height: 48px; }
.tb { display: grid; gap: 2px; min-width: 0; } .tb b { font: 800 1.2rem/1.15 var(--display); text-transform: uppercase; letter-spacing: .3px; } .tx { color: var(--muted); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .tm { color: var(--muted); font-size: 12px; }
.tc { text-align: center; display: grid; line-height: 1; } .tc b { font: 800 1.5rem/1 var(--display); color: var(--brand); } .tc small { color: var(--muted); font-size: 11px; }
.thead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; } .thead h1 { margin: 0; }
.posts { display: grid; gap: 12px; margin-bottom: 18px; } .post { display: grid; grid-template-columns: 52px 1fr; gap: 12px; } .pa { display: flex; justify-content: center; padding-top: 6px; }
.pb { background: var(--card); border: 1px solid var(--line); border-radius: 4px 18px 18px 18px; padding: 12px 16px; box-shadow: var(--shadow); } .ph { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; align-items: center; } .pn { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .ptext { white-space: pre-wrap; overflow-wrap: anywhere; }
.reply h2::before { display: none; } .reply textarea, .reply input, .reply select { width: 100%; }
.msgs { display: grid; gap: 10px; } .msg { background: var(--card); border: 1px solid var(--line); border-radius: 4px 16px 16px 16px; padding: 10px 14px; } .msg.mine { background: color-mix(in srgb, var(--ball) 14%, var(--card)); border-radius: 16px 4px 16px 16px; } .mh { font-weight: 700; font-size: 13px; margin-bottom: 3px; }
/* ── Règles ── */
.rhero { background: var(--court) center/520px, linear-gradient(135deg, var(--deep), var(--deep2)); color: #fff; border-radius: 22px; padding: 28px; margin-bottom: 18px; box-shadow: var(--shadow); } .rhero h1 { margin: 4px 0 6px; font-size: clamp(2rem, 5vw, 3rem); } .rhero p { margin: 0 0 14px; opacity: .9; }
.rnav { display: flex; gap: 8px; flex-wrap: wrap; } .rnav a { color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 13px; } .rnav a:hover { background: var(--ball); color: #11241a; text-decoration: none; }
.rule { scroll-margin-top: 86px; } .rule h2 { gap: 12px; } .rule > h2::before { display: none; } .rico { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--deep); font-size: 1.2rem; }
.rule h3 { margin-top: 16px; } .rule ul { padding-left: 20px; display: grid; gap: 6px; } .rgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 12px 0; } .steps > div { background: var(--bg2); border-radius: 14px; padding: 12px 14px; display: grid; gap: 2px; } .steps b { font: 800 1.6rem/1 var(--display); color: var(--brand); } .steps span { font-size: 13px; color: var(--muted); }
.coeft th, .coeft td { padding: 5px 8px; } .coeft td:first-child { font: 600 .95rem/1.2 'Inter', sans-serif; color: var(--ink); } .coefc { display: inline-block; min-width: 24px; text-align: center; border-radius: 7px; color: #fff; font: 800 .9rem/1.6 var(--display); } .coefc.hard { background: var(--hard); } .coefc.grass { background: var(--grass); } .coefc.clay { background: var(--clay); }
.ladder { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .styles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; } .styles > div { background: var(--bg2); border-radius: 14px; padding: 10px 12px; display: grid; gap: 2px; } .styles span { font-size: 13px; color: var(--muted); }
.cmp2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; } .cmp2 > div { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; } .cmp2 .prem { background: linear-gradient(145deg, color-mix(in srgb, var(--gold) 16%, var(--card)), var(--card)); border-color: color-mix(in srgb, var(--gold) 45%, var(--line)); }
/* ── Inscription ── */
.sec { margin: 6px 0 12px; } .sec::before { display: none; }
.wks { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; } .wk { border: 1.5px dashed var(--line); border-radius: 12px; padding: 8px 10px; display: grid; gap: 2px; min-height: 58px; } .wk b { font: 800 1.1rem/1 var(--display); color: var(--muted); } .wk span { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wk.on { border-style: solid; color: #fff; } .wk.on b, .wk.on span { color: #fff; } .wk.on.hard { background: var(--hard); border-color: var(--hard); } .wk.on.clay { background: var(--clay); border-color: var(--clay); } .wk.on.grass { background: var(--grass); border-color: var(--grass); } .wk.on.indoor { background: var(--indoor); border-color: var(--indoor); } .wk.now { box-shadow: 0 0 0 3px var(--ball); }
.warn-t { color: var(--bad); } .egrid { display: grid; gap: 12px; }
.ecard { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); } .ebanner { height: 54px; background-size: cover; background-position: center; } .ebody { padding: 12px 14px; display: grid; gap: 8px; }
.bet { display: grid; gap: 4px; } .bet input[type=range] { width: 100%; padding: 0; accent-color: var(--brand); }
.tgroup + .tgroup { margin-top: 14px; } .tgroup h3 { margin: 0 0 8px; } .tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.tcard { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); display: grid; } .tcard.reg { border-color: var(--good); } .tbanner2 { height: 66px; background-size: cover; background-position: center; position: relative; } .tcat { position: absolute; left: 8px; top: 8px; } .tinner { padding: 10px 12px 12px; display: grid; gap: 6px; justify-items: start; } .tinner b { font: 800 1.05rem/1.15 var(--display); text-transform: uppercase; }

/* ── Drapeaux ── */
.flag { width: 20px; height: 15px; border-radius: 3px; object-fit: cover; vertical-align: -2px; margin-right: 7px; box-shadow: 0 0 0 1px rgba(0,0,0,.18); flex: none; display: inline-block; }
h1 .flag, .champ-name .flag { width: 38px; height: 28px; border-radius: 5px; vertical-align: -3px; margin-right: 10px; } .brow .flag, .pc-n .flag { width: 16px; height: 12px; margin-right: 6px; } .mpl .flag { width: 22px; height: 16px; }
.rk { font-weight: 500; color: var(--muted); font-size: .85em; white-space: nowrap; }

/* ── Offre : 1er mois offert ── */
.offer { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 22px; margin-bottom: 18px; border-radius: 18px; background: linear-gradient(135deg, color-mix(in srgb, var(--ball) 28%, var(--card)), var(--card) 70%); border: 2px solid var(--ball); box-shadow: var(--shadow); }
.offer b { font: 800 1.6rem/1.1 var(--display); text-transform: uppercase; margin-left: 8px; } .offer p { margin: 4px 0 0; color: var(--muted); max-width: 520px; } .gift { font-size: 1.6rem; vertical-align: -2px; }
.pill.gold { background: var(--ball); color: #11241a; font-size: .85rem; padding: 3px 12px; }
.weekbar .pill.good { background: var(--ball); color: #11241a; }

/* ── Page « Joueur » : actions et guide ── */
.ph-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; } .ph-links .btn:not(.cta) { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.3); }
.firststeps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; } .firststeps li { display: flex; gap: 12px; align-items: center; padding: 8px 12px; border-radius: 12px; background: var(--bg2); } .firststeps li.done { opacity: .6; text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--good) 60%, transparent); }
.firststeps li span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--deep); color: var(--ball); font: 800 .95rem/1 var(--display); flex: none; } .firststeps li.done span { background: var(--good); color: #fff; } .firststeps small { color: var(--muted); }

/* ── Pages légales et compte ── */
.legal { max-width: 820px; margin: 0 auto; } .legal .card h2::before { display: none; } .legal .card { margin-bottom: 12px; } .legal ul { padding-left: 20px; display: grid; gap: 8px; } .todo { color: var(--bad); font-weight: 700; background: color-mix(in srgb, var(--bad) 10%, transparent); border-radius: 6px; padding: 0 6px; }
.foot a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; } .foot a:hover { color: var(--brand); }
.who a.whoa { color: #fff; font-weight: 600; } .kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; align-items: center; } .kv span { color: var(--muted); font-size: 13px; }
.danger-zone { border-color: color-mix(in srgb, var(--bad) 45%, var(--line)); } .danger-zone h2 { color: var(--bad); } .danger-zone h2::before { background: var(--bad); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; text-transform: none; letter-spacing: 0; color: var(--ink); font-weight: 500; margin: 6px 0 12px; line-height: 1.4; } .consent input { margin-top: 3px; flex: none; }

/* ── Panthéon ── */
.tabs.sub { margin-top: -6px; } .recs .rec { display: flex; align-items: center; gap: 14px; margin: 0; background: linear-gradient(145deg, color-mix(in srgb, var(--gold) 14%, var(--card)), var(--card) 65%); } .rec .ri { font-size: 2rem; } .rec small { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .8px; font-weight: 700; } .rec b { display: block; font: 800 2rem/1 var(--display); } .rec a { font-weight: 600; font-size: 13.5px; }
.champs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; } .champc { display: grid; gap: 3px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg2); color: var(--ink); } .champc:hover { text-decoration: none; border-color: var(--gold); } .champc b { font: 800 1rem/1.15 var(--display); text-transform: uppercase; } .champc span { color: var(--muted); font-size: 13px; }
td .avatar.xs { width: 26px; height: 26px; vertical-align: middle; margin-right: 4px; box-shadow: none; }

.forgot { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 600; }

/* ── Déroulé du match ── */
.flowcard h2 { margin: 0; } .legend { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin: 10px 0; font-size: 14px; } .dot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; } .dot.p0 { background: var(--brand); } .dot.p1 { background: var(--clay); }
.fstrip { display: grid; gap: 8px; } .fset { display: grid; grid-template-columns: 110px 1fr; gap: 10px; align-items: center; } .fl { font-size: 13px; color: var(--muted); } .fl b { color: var(--ink); } .fgames { display: flex; flex-wrap: wrap; gap: 4px; }
.gq { display: inline-grid; place-items: center; min-width: 26px; height: 26px; border-radius: 7px; font: 800 .8rem/1 var(--display); font-style: normal; color: #fff; transition: opacity .2s, transform .2s, box-shadow .2s; } .gq.p0 { background: var(--brand); } .gq.p1 { background: var(--clay); }
.gq.brk { box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--ink); } .gq.tbq { padding: 0 8px; border-radius: 999px; } .gq.future { opacity: .18; } .gq.cur { transform: scale(1.25); box-shadow: 0 0 0 3px var(--ball), 0 0 0 5px var(--deep); }
.momentum { width: 100%; height: auto; color: var(--ink); display: block; } .rbug { background: var(--deep); color: #fff; border-radius: 14px; padding: 8px 14px; margin: 8px 0 12px; display: grid; gap: 4px; max-width: 460px; } .rr { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 700; }
.rs { display: inline-flex; gap: 5px; } .rs b { display: inline-grid; place-items: center; min-width: 28px; height: 30px; border-radius: 7px; background: rgba(255,255,255,.1); color: rgba(255,255,255,.8); font: 800 1.2rem/1 var(--display); } .rs b.cg { background: var(--ball); color: #11241a; }
@media (max-width: 700px) { .fset { grid-template-columns: 1fr; gap: 4px; } }

/* ── Tableau : tirage, exempts, matchs à venir ── */
.bmatch.pending { border-style: dashed; box-shadow: none; cursor: default; } .bmatch.pending:hover { transform: none; border-color: var(--line); }
.bmatch.bye { background: var(--bg2); box-shadow: none; cursor: default; opacity: .8; } .bmatch.bye:hover { transform: none; border-color: var(--line); }
.brow.tbd { color: var(--muted); font-style: italic; opacity: .7; } .brow .rk { font-weight: 600; font-size: .8rem; color: var(--muted); }

/* ── Match en direct (vue de dessus) ── */
.liveCtl { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .spd { display: inline-flex; background: var(--bg2); border-radius: 999px; padding: 3px; } .spd button { border: 0; background: transparent; padding: 3px 10px; border-radius: 999px; font: 700 .8rem/1.4 'Inter', sans-serif; color: var(--muted); cursor: pointer; } .spd button.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.lwrap { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 6px 22px rgba(0,0,0,.25); margin-top: 10px; } .lwrap svg { display: block; width: 100%; height: auto; }
.lcap { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%) translateY(8px); background: rgba(6,20,13,.88); color: #fff; padding: 8px 18px; border-radius: 999px; font: 800 1.1rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .6px; opacity: 0; transition: opacity .2s, transform .2s; white-space: nowrap; max-width: 94%; overflow: hidden; text-overflow: ellipsis; } .lcap.show { opacity: 1; transform: translateX(-50%); } .lcap.good { background: var(--good); } .lcap.bad { background: var(--bad); }
.lscore { background: var(--deep); color: #fff; border-radius: 14px; padding: 8px 14px; margin: 8px 0 0; display: grid; gap: 4px; } .lrow { display: grid; grid-template-columns: 1fr auto 54px; gap: 12px; align-items: center; } .ln { font-weight: 700; display: flex; align-items: center; } .srvb { color: var(--ball); margin-left: 6px; }
.lsets { display: inline-flex; gap: 5px; } .lsets b { display: inline-grid; place-items: center; min-width: 28px; height: 28px; border-radius: 7px; background: rgba(255,255,255,.1); font: 800 1.1rem/1 var(--display); } .lsets b.cg { background: rgba(255,255,255,.2); } .lpt { text-align: center; background: var(--ball); color: #11241a; border-radius: 8px; font: 800 1.2rem/1.6 var(--display); }
@media (max-width: 700px) { .lcap { font-size: .9rem; padding: 6px 12px; } }

/* ── TV / direct ── */
.onair { display: inline-flex; align-items: center; background: #e5322d; color: #fff; font: 800 .78rem/1 var(--display); letter-spacing: .8px; padding: 6px 12px; border-radius: 999px; animation: onair 1.6s ease-in-out infinite; } .onair.off { background: var(--muted); animation: none; } .onair.sm { font-size: .66rem; padding: 4px 8px; margin-left: auto; }
@keyframes onair { 50% { opacity: .55; } }
.tvh { margin: 0 0 12px; font: 800 1.8rem/1.1 var(--display); text-transform: uppercase; } .tvh2 { margin: 22px 0 10px; } .tvtitle { margin: 0 0 8px; font-size: 1.05rem; }
.tvlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 10px; }
.tvcard { display: block; background: var(--card); border-radius: 14px; padding: 10px 12px; color: var(--ink); border: 2px solid transparent; box-shadow: 0 1px 4px rgba(0,0,0,.08); text-decoration: none; } .tvcard:hover { border-color: var(--ball); } .tvcard.sel { border-color: var(--brand); }
.tvt { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; } .tvt small { color: var(--muted); }
.tvr { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 3px 0; } .tvn { font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tvs { display: inline-flex; gap: 4px; } .tvs b { min-width: 24px; text-align: center; background: var(--bg2); border-radius: 6px; padding: 2px 4px; font: 800 .95rem/1.3 var(--display); } .tvs b.pt { background: var(--ball); color: #11241a; }
.tvempty p { max-width: 60ch; }

.srvb { font: 700 .72rem/1 'Inter', sans-serif; color: var(--ball); background: rgba(217,242,58,.14); padding: 3px 7px; border-radius: 999px; margin-left: 8px; white-space: nowrap; } .tvsrv { font-style: normal; margin-left: 2px; }
.lrk { opacity: .65; font-weight: 600; margin-left: 4px; } .ln .flag { margin-right: 6px; }

/* ── Bandeau : mon match en direct ── */
.livebar { background: linear-gradient(90deg, #7a1410, #b3261e); color: #fff; } .livebar a { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; max-width: 1180px; margin: 0 auto; padding: 9px 16px; color: #fff; text-decoration: none; } .livebar a:hover { background: rgba(255,255,255,.08); } .livebar small { opacity: .8; } .livebar .btn { margin-left: auto; } .livebar .onair { background: #fff; color: #b3261e; animation: onair 1.6s ease-in-out infinite; } .livebar[hidden] { display: none; }

/* ── Fiche nation (modale) ── */
.flag[data-nat] { cursor: pointer; } .natlink { color: inherit; text-decoration: none; border-bottom: 1px dotted currentColor; } .natlink:hover { color: var(--brand); }
.modal .natcard { max-width: 760px; width: 100%; position: relative; max-height: 92vh; overflow-y: auto; padding: 0; border-radius: 22px; background: var(--card); }
.nclose { position: absolute; top: 12px; right: 12px; z-index: 3; border: 0; background: rgba(255,255,255,.18); color: #fff; width: 36px; height: 36px; border-radius: 50%; font-size: 1.5rem; line-height: 1; cursor: pointer; backdrop-filter: blur(4px); } .nclose:hover { background: rgba(255,255,255,.32); }
.nhero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(135deg, #0b2e21, #11402e); padding: 26px 24px 54px; }
.nbg { position: absolute; inset: -30px; background-size: cover; background-position: center; filter: blur(26px) saturate(1.2); opacity: .5; transform: scale(1.2); }
.nhero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,20,13,.2), rgba(6,20,13,.78)); }
.nhin { position: relative; z-index: 2; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.nflag img { width: 96px; height: auto; display: block; border-radius: 10px; box-shadow: 0 8px 26px rgba(0,0,0,.45), 0 0 0 3px rgba(255,255,255,.85); }
.nht { flex: 1; min-width: 160px; } .nht small { text-transform: uppercase; letter-spacing: 1.4px; font-weight: 700; font-size: .72rem; opacity: .75; } .nht h2 { margin: 2px 0 4px; font: 800 2.6rem/1 var(--display); text-transform: uppercase; color: #fff; letter-spacing: .5px; } .nsub { opacity: .8; font-size: .9rem; }
.nrank { text-align: center; background: var(--ball); color: #11241a; border-radius: 18px; padding: 8px 16px; box-shadow: 0 6px 20px rgba(0,0,0,.35); margin-right: 36px; } .nrank small { display: block; text-transform: uppercase; letter-spacing: 1px; font-size: .64rem; font-weight: 800; } .nrank b { display: block; font: 800 2.4rem/1 var(--display); } .nrank span { font-size: .72rem; opacity: .75; }
.nbody { padding: 0 20px 22px; position: relative; z-index: 2; margin-top: -30px; }
.nstrip { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--card); border-radius: 16px; box-shadow: 0 8px 26px rgba(0,0,0,.16); overflow: hidden; margin-bottom: 20px; } .nstrip div { padding: 12px 8px; text-align: center; border-right: 1px solid var(--line, #e7e3d6); } .nstrip div:last-child { border-right: 0; } .nstrip b { display: block; font: 800 1.7rem/1 var(--display); color: var(--ink); } .nstrip small { color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .6px; font-weight: 700; }
.ncols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; } @media (max-width: 680px) { .ncols { grid-template-columns: 1fr; } .nhero { padding-bottom: 50px; } .nht h2 { font-size: 2rem; } .nrank { margin-right: 0; } }
.ncol h3, .nh3 { margin: 0 0 10px; font: 800 1.05rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .8px; display: flex; align-items: baseline; gap: 8px; } .ncol h3 small { font: 600 .74rem 'Inter', sans-serif; color: var(--muted); text-transform: none; letter-spacing: 0; } .nh3 { margin-top: 22px; }
.nbest { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 16px; background: linear-gradient(135deg, #0b2e21, #14472f); color: #fff; text-decoration: none; margin-bottom: 8px; box-shadow: 0 6px 18px rgba(11,46,33,.28); } .nbest:hover { filter: brightness(1.08); }
.nbav { position: relative; flex: none; } .nbav .avatar { width: 68px; height: 68px; border: 3px solid var(--ball); display: block; } .nbav i { position: absolute; right: -6px; bottom: -6px; background: var(--ball); color: #11241a; font: 800 .74rem/1 var(--display); font-style: normal; padding: 4px 7px; border-radius: 999px; box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.nbt { display: flex; flex-direction: column; min-width: 0; } .nbt small { text-transform: uppercase; letter-spacing: 1px; font-size: .62rem; font-weight: 800; color: var(--ball); } .nbt b { font: 800 1.2rem/1.15 var(--display); } .nbt em { font-style: normal; font-size: .78rem; opacity: .8; }
.nrows { display: grid; gap: 2px; } .nrow { display: flex; align-items: center; gap: 10px; padding: 5px 8px; border-radius: 12px; color: var(--ink); text-decoration: none; } .nrow:hover { background: var(--bg2); } .nrow .avatar { width: 34px; height: 34px; flex: none; } .nrow .nn { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; font-size: .92rem; } .nrow .nr { color: var(--muted); font: 800 .85rem var(--display); }
.ntro { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; } .ntro a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--bg2); color: var(--ink); text-decoration: none; } .ntro a:hover { background: #ebe6d4; } .ntro .cup { font-size: 1.5rem; } .ntro b { display: block; font-size: .9rem; line-height: 1.2; } .ntro small { color: var(--muted); font-size: .74rem; }
.nhost { margin-top: 18px; } .nhost summary { cursor: pointer; font: 800 1.05rem var(--display); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 8px; } .natrow { display: flex; flex-wrap: wrap; gap: 6px; } .natrow a { text-decoration: none; } .ntrnone { margin-top: 18px; }

.brk { color: var(--muted); font-weight: 600; font-size: .78em; margin-left: 2px; } .brow.win .brk { color: inherit; opacity: .7; }

/* ── Échelle des points d'un tournoi ── */
.ptscard h3 { margin-bottom: 12px; } .ptladder { display: grid; gap: 7px; }
.ptl { display: grid; grid-template-columns: 118px 1fr 44px; align-items: center; gap: 10px; font-size: .86rem; } .ptl .ptn { color: var(--muted); font-weight: 600; white-space: nowrap; } .ptl .ptb { height: 14px; background: var(--bg2); border-radius: 999px; overflow: hidden; display: block; } .ptl .ptb i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #1f6f43, #3fae6a); } .ptl .ptv { text-align: right; font: 800 1.1rem/1 var(--display); color: var(--ink); }
.ptl.ptop .ptn { color: var(--ink); font-weight: 800; } .ptl.ptop .ptb i { background: linear-gradient(90deg, #c9a400, #d9f23a); box-shadow: 0 0 10px rgba(217,242,58,.6); } .ptl.ptop .ptv { font-size: 1.4rem; }
.ptnote { margin: 12px 0 0; }
@media (max-width: 420px) { .ptl { grid-template-columns: 96px 1fr 38px; } }

/* ── Modale des statistiques d'un match ── */
.modal .statcard { max-width: 600px; width: 100%; position: relative; max-height: 92vh; overflow-y: auto; padding: 0; border-radius: 22px; background: var(--bg); }
.statcard .nclose { position: absolute; top: 12px; right: 12px; z-index: 3; border: 0; background: rgba(255,255,255,.18); color: #fff; width: 34px; height: 34px; border-radius: 50%; font-size: 1.4rem; line-height: 1; cursor: pointer; } .statcard .nclose:hover { background: rgba(255,255,255,.32); }
.sthead { background: linear-gradient(135deg, #0b2e21, #14472f); color: #fff; padding: 16px 18px 14px; }
.sttop { display: flex; align-items: center; gap: 10px; padding-right: 44px; } .sttop h2 { margin: 0; font: 800 1.25rem/1 var(--display); text-transform: uppercase; letter-spacing: 1.2px; opacity: .9; } .sttop .onair.sm { margin-left: 0; }
.stduel { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin: 12px 0 6px; }
.stp { display: flex; align-items: center; gap: 10px; min-width: 0; } .stp.p1 { flex-direction: row-reverse; text-align: right; } .stav .avatar { width: 54px; height: 54px; border: 3px solid var(--brand); display: block; } .stp.p1 .stav .avatar { border-color: var(--clay); } .stn { font: 800 1.05rem/1.15 var(--display); min-width: 0; } .stn .flag { margin-right: 6px; vertical-align: -2px; } .stp.p1 .stn .flag { margin: 0 0 0 0; margin-right: 6px; }
.stscore { display: grid; gap: 4px; justify-items: center; } .stscore > div { display: flex; gap: 4px; } .stscore b { min-width: 26px; text-align: center; background: rgba(255,255,255,.14); border-radius: 7px; padding: 4px 5px; font: 800 1.1rem/1 var(--display); } .stscore b.cg { background: var(--ball); color: #11241a; }
.stsub { margin: 0; text-align: center; font-size: .78rem; opacity: .75; }
.stbody { padding: 14px 16px 16px; display: grid; gap: 12px; }
.stsec { background: var(--card); border-radius: 16px; padding: 12px 14px 8px; box-shadow: 0 1px 4px rgba(0,0,0,.06); } .stsec h3 { margin: 0 0 8px; display: flex; align-items: center; gap: 8px; font: 800 .9rem/1 var(--display); text-transform: uppercase; letter-spacing: 1px; color: var(--muted); } .stsec h3 span { font-size: 1.05rem; }
.strow { padding: 6px 0 8px; } .strow + .strow { border-top: 1px solid var(--bg2); }
.strow .stl { text-align: center; font-size: .74rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 5px; }
.stline { display: grid; grid-template-columns: 78px 1fr 78px; align-items: center; gap: 12px; } .stline b { font: 800 1.15rem/1 var(--display); color: var(--ink); padding: 3px 8px; border-radius: 999px; white-space: nowrap; font-variant-numeric: tabular-nums; } .stline .sa { text-align: left; justify-self: start; } .stline .sb { text-align: right; justify-self: end; }
.stline b.lead.p0 { background: rgba(31,111,67,.14); color: #14472f; } .stline b.lead.p1 { background: rgba(224,97,47,.16); color: #a8421a; }
.sbars { display: flex; height: 9px; background: var(--bg2); border-radius: 999px; overflow: hidden; } .sbars i { display: block; height: 100%; } .sbl { background: var(--brand); } .sbr { background: var(--clay); } .sbars i + i { border-left: 2px solid var(--card); }
.sextra { display: flex; gap: 14px; flex-wrap: wrap; justify-content: space-between; padding: 4px 6px 0; font-size: .82rem; color: var(--muted); } .sextra b { color: var(--ink); font: 800 1rem var(--display); }
.liveCtl .btn { white-space: nowrap; }
@media (max-width: 520px) { .stduel { grid-template-columns: 1fr; justify-items: center; } .stp.p1 { flex-direction: row; text-align: left; } .stline { grid-template-columns: 64px 1fr 64px; gap: 8px; } }

/* ── Calendrier de la saison (modale) ── */
.wkbtn { cursor: pointer; } .wkbtn:hover { filter: brightness(1.08); } .wkbtn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.modal .calcard { max-width: 1000px; width: 100%; position: relative; max-height: 94vh; overflow-y: auto; padding: 0; border-radius: 22px; background: var(--card); }
.calcard .nclose { position: absolute; top: 12px; right: 12px; z-index: 3; border: 0; background: rgba(255,255,255,.2); color: #fff; width: 34px; height: 34px; border-radius: 50%; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.chead { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 20px 56px 18px 22px; color: #fff; background: linear-gradient(135deg, #0b2e21, #14472f); }
.ctitle small { text-transform: uppercase; letter-spacing: 1.4px; font-weight: 700; font-size: .7rem; opacity: .7; } .ctitle h2 { margin: 2px 0 0; font: 800 2.2rem/1 var(--display); text-transform: uppercase; color: #fff; }
.cprog { min-width: 240px; flex: 1; max-width: 360px; } .cpt { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; } .cpt b { font: 800 1.2rem var(--display); color: var(--ball); } .cpt span { opacity: .75; font-size: .85rem; } .cprog small { display: block; margin-top: 6px; opacity: .75; font-size: .78rem; }
.cpb { height: 9px; border-radius: 999px; background: rgba(255,255,255,.18); overflow: hidden; } .cpb i { display: block; height: 100%; background: linear-gradient(90deg, #c9a400, var(--ball)); border-radius: 999px; }
.cnote { margin: 14px 22px 0; font-size: .86rem; color: var(--muted); } .cnote b { color: var(--ink); }
.clegend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 22px 12px; font-size: .78rem; color: var(--muted); } .clegend span { display: inline-flex; align-items: center; gap: 6px; }
.lg { display: inline-block; width: 12px; height: 12px; border-radius: 4px; flex: none; }
.tGS { --tc: #d4a000; --tt: #fbf1cc; } .tFINALS { --tc: #c0392b; --tt: #f7dcd8; } .tM { --tc: #6a4fc8; --tt: #e6e0f7; } .t500 { --tc: #e0612f; --tt: #fbe1d4; } .t250 { --tc: #2f9e5b; --tt: #d9f0e1; }
.tDAVIS { --tc: #0b7a75; --tt: #d3f0ee; } .tCLUBCUP { --tc: #b8437a; --tt: #f6dbe8; }
.lg.tGS, .lg.tFINALS, .lg.tM, .lg.t500, .lg.t250, .lg.tDAVIS, .lg.tCLUBCUP { background: var(--tc); }
.cmonths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 0 22px; } @media (max-width: 900px) { .cmonths { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 580px) { .cmonths { grid-template-columns: 1fr; } .ctitle h2 { font-size: 1.7rem; } }
.cmonth h3 { margin: 0 0 6px; font: 800 1.05rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .8px; } .cmonth h3 span { color: var(--muted); font-weight: 600; }
.cgrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; } .cw { text-align: center; font: 800 .68rem var(--display); color: var(--muted); padding: 2px 0; }
.cday { position: relative; border: 0; border-radius: 10px; padding: 4px 4px 5px; text-align: left; aspect-ratio: 1 / 1.08; cursor: pointer; font: inherit; color: var(--ink); display: flex; flex-direction: column; justify-content: space-between; background: var(--tt, var(--bg2)); box-shadow: inset 0 -3px 0 var(--tc, transparent); min-width: 0; }
.cday em { font-style: normal; font-size: .66rem; color: var(--muted); line-height: 1; } .cday b { font: 800 1.25rem/1 var(--display); color: var(--ink); text-align: center; margin: auto 0; } .cday small { position: absolute; top: 3px; right: 4px; font: 800 .62rem/1 var(--display); color: var(--tc, var(--muted)); }
.cday:hover { filter: brightness(.96); transform: translateY(-1px); } .cday.past { opacity: .5; } .cday.now { opacity: 1; background: var(--ball); box-shadow: 0 0 0 2px #11241a, 0 4px 10px rgba(0,0,0,.25); } .cday.now em, .cday.now small { color: #3a4a10; } .cday.sel { outline: 2px solid var(--ink); outline-offset: 1px; } .cday.off { background: transparent; box-shadow: none; pointer-events: none; }
.cdetail { margin: 18px 22px 22px; padding: 14px 16px; border-radius: 16px; background: var(--bg2); } .cdetail h3 { margin: 0 0 10px; font: 800 1.05rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .7px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; } .cdetail h3 span { font: 600 .85rem 'Inter', sans-serif; text-transform: none; letter-spacing: 0; color: var(--muted); } .cnow { font-style: normal; background: var(--ball); color: #11241a; border-radius: 999px; padding: 2px 9px; font: 800 .66rem var(--display); letter-spacing: .6px; text-transform: uppercase; }
.clist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); } .clist li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 12px; background: var(--card); } .clist a { color: var(--ink); text-decoration: none; display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; min-width: 0; } .clist a .lg { grid-row: 1 / 3; } .clist a b { font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .clist a small { color: var(--muted); font-size: .72rem; }
/* ── Répartition des points d'expérience ── */
.xpbox { display: grid; gap: 4px; margin: 10px 0 6px; }
.xrow { display: grid; grid-template-columns: 104px 1fr 62px auto; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 12px; } .xrow:nth-child(odd) { background: var(--bg2); }
.xl { font-weight: 700; font-size: .9rem; }
.xbar { display: flex; height: 11px; background: rgba(0,0,0,.08); border-radius: 999px; overflow: hidden; } .xbar i { display: block; height: 100%; transition: width .18s; } .xcur { background: linear-gradient(90deg, #1f6f43, #3fae6a); } .xadd { background: repeating-linear-gradient(135deg, var(--ball), var(--ball) 5px, #b8d11c 5px, #b8d11c 10px); }
.xv { display: inline-flex; align-items: baseline; justify-content: flex-end; gap: 4px; font-variant-numeric: tabular-nums; } .xv b { font: 800 1.15rem/1 var(--display); } .xv em { font-style: normal; font-weight: 800; font-size: .78rem; color: #4d7a00; min-width: 22px; text-align: left; }
.stepper { display: inline-flex; align-items: center; gap: 6px; } .stepper > b { min-width: 18px; text-align: center; font: 800 1rem/1 var(--display); color: var(--muted); }
.xbtn { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--card); color: var(--ink); font: 800 1.2rem/1 var(--display); cursor: pointer; box-shadow: 0 1px 3px rgba(0,0,0,.18); } .xbtn:hover { background: var(--ball); } .xbtn:active { transform: scale(.94); }
.xfoot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 12px; } .xleft { font-size: .95rem; color: var(--muted); } .xleft b { font: 800 1.3rem var(--display); color: var(--ink); } .xact { display: inline-flex; gap: 8px; } .xact .btn:disabled { opacity: .45; cursor: default; }
@media (max-width: 460px) { .xrow { grid-template-columns: 80px 1fr 52px auto; gap: 6px; padding: 6px 4px; } .xbtn { width: 30px; height: 30px; } }

/* ── Analyse approfondie ── */
.an-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0 4px; } .an-kpis.four { grid-template-columns: repeat(4, 1fr); } .an-kpis div { background: var(--bg2); border-radius: 14px; padding: 10px 6px; text-align: center; } .an-kpis b { display: block; font: 800 1.5rem/1.05 var(--display); color: var(--ink); } .an-kpis small { color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .5px; font-weight: 700; }
.an-h { margin: 16px 0 8px; font: 800 .88rem/1 var(--display); text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.an-form { display: flex; flex-wrap: wrap; gap: 5px; } .an-form i { width: 28px; height: 28px; display: inline-grid; place-items: center; border-radius: 8px; font: 800 .85rem var(--display); font-style: normal; color: #fff; } .an-form i.w { background: #2f9e5b; } .an-form i.l { background: #d4543a; }
.an-row { display: grid; grid-template-columns: 112px 1fr 70px; align-items: center; gap: 10px; padding: 5px 0; } .an-n { font-weight: 700; font-size: .88rem; } .an-v { text-align: right; display: flex; flex-direction: column; line-height: 1.1; } .an-v b { font: 800 .98rem var(--display); } .an-v small { font-size: .7rem; color: var(--muted); }
.an-bar { display: flex; height: 10px; background: var(--bg2); border-radius: 999px; overflow: hidden; } .an-bar i { display: block; height: 100%; } .an-bar .win { background: linear-gradient(90deg, #1f6f43, #3fae6a); } .an-bar .loss { background: #e8b7aa; } .an-bar.thick { height: 14px; }
.an-progs { display: grid; gap: 12px; } .an-prog .an-ph { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; font-weight: 700; font-size: .88rem; } .an-prog .an-ph b { font: 800 1.35rem var(--display); }
.an-note { margin: 8px 0 0; }
@media (max-width: 420px) { .an-row { grid-template-columns: 92px 1fr 60px; } .an-kpis.four { grid-template-columns: repeat(2, 1fr); } }

/* ── TV : matchs prévus ── */
.uph { margin: 18px 0 8px; font: 800 1.05rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .8px; } .uph .muted { font: 600 .85rem 'Inter', sans-serif; text-transform: none; letter-spacing: 0; }
.upt { margin-bottom: 14px; } .uptitle { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; } .uptitle a { color: var(--ink); text-decoration: none; } .uptitle small { margin-left: auto; }
.upgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 6px; }
.upm { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; padding: 8px 10px; background: var(--bg2); border-radius: 12px; } .upm i { font: 600 .72rem 'Inter', sans-serif; font-style: normal; color: var(--muted); }
.upr { display: flex; align-items: center; gap: 5px; min-width: 0; } .upr:last-child { justify-content: flex-end; text-align: right; } .upn { font-weight: 700; font-size: .85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .upr small { color: var(--muted); font-size: .7rem; flex: none; }
@media (max-width: 520px) { .upm { grid-template-columns: 1fr; } .upm i { display: none; } .upr:last-child { justify-content: flex-start; text-align: left; } }

.firststeps li.info { background: rgba(217,242,58,.22); text-decoration: none; color: var(--ink); } .firststeps li.info small { text-decoration: none; color: var(--ink); opacity: .85; }

/* Fiche statistiques : l'en-tête reste fixe, seul le contenu défile ; barre de défilement fine aux couleurs du jeu */
.modal .statcard { display: flex; flex-direction: column; overflow: hidden; max-height: 92vh; }
.statcard .sthead { flex: none; }
.statcard .stbody { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #1f6f43 transparent; padding-right: 10px; }
.statcard .stbody::-webkit-scrollbar { width: 10px; } .statcard .stbody::-webkit-scrollbar-track { background: transparent; margin: 6px 0; }
.statcard .stbody::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #3fae6a, #1f6f43); border-radius: 999px; border: 2px solid var(--bg); } .statcard .stbody::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #4fc87c, #17803f); }

/* ── Widget « Aujourd'hui » ── */
.today { margin-bottom: 14px; border: 2px solid var(--ball); background: linear-gradient(180deg, #fff, #fbfdf0); } .today h2 { display: flex; align-items: baseline; gap: 8px; } .today h2 small { font: 600 .8rem 'Inter', sans-serif; color: var(--muted); text-transform: none; letter-spacing: 0; }
.tdh { margin: 12px 0 6px; font: 800 .82rem var(--display); text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.tdl { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; } .tdl li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: var(--bg2); } .tdl li.info { background: #e9f3dc; } .tdl li.todo { background: #fff6e3; }
.tdi { width: 30px; height: 30px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--card); font-size: 1rem; flex: none; } .tdt { flex: 1; min-width: 0; font-size: .9rem; } .tdc { font-style: normal; font-weight: 800; color: var(--brand); white-space: nowrap; }
.tdok { margin: 10px 0 0; font-weight: 600; color: #2f7a4b; }
.remind { display: flex; gap: 8px; align-items: center; margin-top: 10px; font-size: .85rem; color: var(--muted); cursor: pointer; } .remind input { width: 18px; height: 18px; accent-color: var(--brand); }
.tdt, .tdt b { color: var(--ink); }

/* ── Mobile : tableau de score du direct, sans débordement ── */
@media (max-width: 520px) {
  .lscore { padding: 8px 10px; } .lrow { grid-template-columns: minmax(0, 1fr) auto 46px; gap: 6px; }
  .lrow .ln { min-width: 0; flex-wrap: wrap; font-size: .9rem; line-height: 1.2; } .lsets { gap: 3px; } .lsets b { min-width: 24px; height: 24px; font-size: .95rem; border-radius: 6px; } .lpt { font-size: 1rem; line-height: 1.55; min-width: 0; }
  .srvb { font-size: 0; padding: 0; background: none; margin-left: 6px; } .srvb::before { content: '🎾'; font-size: .95rem; }
  .liveCtl { gap: 6px; } .liveCtl .btn.sm { padding: 6px 10px; }
}

.verifbar { background: #fff3cd; color: #5c4400; } .verifbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 8px 16px; font-size: .88rem; } .verifbar[hidden] { display: none; } .verifbar .btn { margin-left: auto; }

/* ── Progression et rivalités ── */
.prog-sum { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 4px; flex-wrap: wrap; } .prog-sum b { font: 800 1.8rem/1 var(--display); } .prog-sum small { color: var(--muted); } .up { color: #1f8a4c; font-weight: 800; } .down { color: #c0392b; font-weight: 800; }
.prog-svg { width: 100%; height: auto; display: block; } .pg-t { font: 600 11px Inter, sans-serif; fill: #7b8a7a; }
.rivals { display: grid; gap: 6px; } .rv { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 12px; background: var(--bg2); color: var(--ink); text-decoration: none; } .rv:hover { background: #ebe6d4; } .rv .avatar { width: 34px; height: 34px; flex: none; } .rvn { flex: 1; min-width: 0; font-weight: 700; font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .rvs { font: 800 1.1rem var(--display); }

/* ── Commentaire écrit et moments forts ── */
.lfeedwrap { margin-top: 10px; } .lfeedh { margin: 0 0 6px; font: 800 .8rem/1 var(--display); text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.lfeed { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; max-height: 280px; overflow: hidden; } .lfeed li { padding: 6px 10px; border-radius: 10px; background: var(--bg2); font-size: .86rem; line-height: 1.3; animation: lfin .35s ease-out; } .lfeed li small { color: var(--muted); }
.lfeed li:nth-child(n+5) { opacity: .6; } .lfeed li:nth-child(n+7) { opacity: .35; }
.lfeed .fn { display: inline-block; min-width: 26px; margin-right: 6px; color: var(--muted); font: 700 .72rem var(--display); }
.lfeed .fp.ace, .lfeed .fp.win { border-left: 4px solid #2f9e5b; } .lfeed .fp.df, .lfeed .fp.err { border-left: 4px solid #d4543a; }
.lfeed .fe { background: var(--ball); color: #11241a; font-weight: 700; } .lfeed .fe.brk { background: #e5322d; color: #fff; } .lfeed .fe.set { background: #0b2e21; color: var(--ball); }
@keyframes lfin { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.lmoments { margin-top: 12px; } .lchips { display: flex; flex-wrap: wrap; gap: 6px; } .lchip { border: 0; border-radius: 999px; padding: 6px 12px; font: 700 .78rem Inter, sans-serif; cursor: pointer; background: var(--bg2); color: var(--ink); } .lchip:hover { filter: brightness(.95); } .lchip.brk { background: #fbd9d6; color: #8f1d17; } .lchip.set { background: #0b2e21; color: var(--ball); } .lchip.long { background: #e6e0f7; color: #3d2f8f; }

/* Grands portraits : on dézoome un peu le visage (cadre serré dans les planches) */
img.avatar.huge, img.avatar.big { box-sizing: border-box; padding: 0; object-fit: cover; background: #4b6153; }
img.avatar.huge { padding: 9px; } img.avatar.big { padding: 7px; }

/* ── Consigne tactique ── */
.stances { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; } .stance { display: grid; gap: 6px; text-align: left; align-content: start; padding: 12px; border: 2px solid var(--line); border-radius: 16px; background: var(--card); color: var(--ink); font: inherit; cursor: pointer; } .stance:hover { border-color: var(--brand); } .stance.on { border-color: var(--brand); background: #eaf5ec; box-shadow: 0 0 0 3px rgba(31,111,67,.15); }
.stance .sti { font-size: 1.5rem; } .stance b { font: 800 1rem var(--display); text-transform: uppercase; } .stance small { color: var(--muted); font-size: .78rem; line-height: 1.3; } .stm { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; } .stm i { font: 700 .72rem Inter, sans-serif; font-style: normal; padding: 2px 7px; border-radius: 999px; background: var(--bg2); }
@media (max-width: 640px) { .stances { grid-template-columns: 1fr; } }

/* ── Succès ── */
.badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 8px; }
.bdg { display: grid; gap: 3px; justify-items: center; text-align: center; padding: 12px 8px; border-radius: 14px; background: var(--bg2); opacity: .55; filter: grayscale(.8); } .bdg.on { opacity: 1; filter: none; background: #eaf5ec; box-shadow: inset 0 0 0 2px rgba(31,111,67,.25); }
.bdg .bi { font-size: 1.7rem; } .bdg b { font: 800 .86rem/1.15 var(--display); text-transform: uppercase; } .bdg small { color: var(--muted); font-size: .72rem; line-height: 1.25; } .bdg .bar { width: 80%; height: 5px; margin-top: 3px; } .bdg em { font: 700 .68rem Inter, sans-serif; font-style: normal; color: var(--muted); }

/* ── Bandeau de score incrusté (vues 3D) ── */
.lbug { display: none; position: absolute; left: 10px; top: 10px; background: rgba(6,20,13,.84); color: #fff; border-radius: 10px; padding: 5px 10px; backdrop-filter: blur(3px); box-shadow: 0 4px 14px rgba(0,0,0,.35); pointer-events: none; font-family: var(--display); }
.lwrap.v3d .lbug { display: grid; gap: 1px; } .lbr { display: grid; grid-template-columns: minmax(70px, 1fr) auto 30px; align-items: center; gap: 10px; font-size: .95rem; line-height: 1.5; } .lbn { display: flex; align-items: center; gap: 6px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; } .lbn em { color: var(--ball); font-style: normal; font-size: .7rem; }
.lbs { display: flex; gap: 6px; } .lbs b { min-width: 14px; text-align: center; color: #c7d3c8; } .lbs b.cg { color: #fff; background: rgba(255,255,255,.14); border-radius: 4px; padding: 0 4px; } .lbp { text-align: right; font-weight: 800; color: var(--ball); }
@media (max-width: 520px) { .lbug { left: 6px; top: 6px; padding: 3px 7px; } .lbr { font-size: .8rem; gap: 6px; grid-template-columns: minmax(54px, 1fr) auto 24px; } }

/* ── Clubs ── */
.clubme { border-left: 5px solid var(--ball); } .cmembers { display: grid; gap: 12px; } .cmem { padding: 12px; border-radius: 14px; background: var(--bg2); } .cmn { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; } .cmn small { margin-left: auto; } .cpl { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px; } .cpl .rv { background: var(--card); }

.card.frozen { background: #e8f1fb; border-left: 5px solid #3b78c4; color: #123a63; }

/* ── Guide ── */
.gtoc { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; } .gtoc a { padding: 6px 12px; border-radius: 999px; background: var(--bg2); color: var(--ink); text-decoration: none; font: 700 .82rem Inter, sans-serif; } .gtoc a:hover { background: #ebe6d4; }
.gsec { padding: 0; } .gsec summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 16px 20px; font: 800 1.15rem var(--display); text-transform: uppercase; letter-spacing: .5px; } .gsec summary::-webkit-details-marker { display: none; } .gsec summary::after { content: '＋'; margin-left: auto; color: var(--muted); } .gsec[open] summary::after { content: '－'; }
.gbody { padding: 0 20px 18px; line-height: 1.55; } .gbody h3 { margin: 16px 0 6px; font: 800 1rem var(--display); text-transform: uppercase; } .gbody ul { padding-left: 20px; display: grid; gap: 6px; } .gbody table { width: 100%; margin: 10px 0; font-size: .88rem; }

/* ── Choix du circuit ── */
.circs { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 14px; margin-top: 16px; max-width: 760px; }
.circ { position: relative; display: flex; align-items: center; gap: 16px; padding: 22px 22px; border-radius: 20px; color: #fff; text-decoration: none; overflow: hidden; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; background: linear-gradient(135deg, #0b2e21, #1f6f43); }
.circ.wta { background: linear-gradient(135deg, #3a1d44, #b8437a); }
.circ::after { content: ''; position: absolute; right: -30px; top: -30px; width: 130px; height: 130px; border-radius: 50%; background: rgba(217,242,58,.14); }
.circ:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.25); }
.circ .cic { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font: 800 1.9rem/1 var(--display); background: var(--ball); color: #11241a; }
.circ .ctx { display: grid; gap: 3px; min-width: 0; } .circ b { font: 800 1.3rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .5px; } .circ small { color: rgba(255,255,255,.78); font-size: .85rem; }
.circ .cgo { margin-left: auto; font-size: 1.6rem; color: var(--ball); transition: transform .15s; } .circ:hover .cgo { transform: translateX(4px); }

/* Les boutons-liens (cartes, onglets, pastilles) ne se soulignent jamais au survol */
a.circ:hover, a.stance:hover, a.tab:hover, a.btn:hover, a.rv:hover, a.preset:hover, a.pill:hover, .gtoc a:hover, .upt a:hover, a.nrow:hover, a.whoa:hover, .brand:hover { text-decoration: none; }

/* ── Têtes de série ── */
.seedlist2 { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.seedlist2 li { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 14px; background: var(--bg2); }
.seedlist2 .sdn { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 800 .95rem/1 var(--display); background: #fff; color: var(--muted); box-shadow: inset 0 0 0 2px var(--line); }
.seedlist2 .sd1 { background: linear-gradient(90deg, #fbf3c0, var(--bg2) 70%); } .seedlist2 .sd1 .sdn { background: var(--ball); color: #11241a; box-shadow: none; }
.seedlist2 .sd2 { background: linear-gradient(90deg, #e8ecee, var(--bg2) 70%); } .seedlist2 .sd2 .sdn { background: #cfd6da; color: #1c2b33; box-shadow: none; }
.seedlist2 .avatar.xs { width: 36px; height: 36px; flex: none; box-shadow: 0 0 0 2px #fff; }
.seedlist2 .sdt { display: grid; min-width: 0; line-height: 1.2; } .seedlist2 .sdt a { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .seedlist2 .sdt small { color: var(--muted); font-size: .76rem; display: flex; align-items: center; gap: 5px; }
.seedlist2 .sdt small .flag { height: 11px; width: auto; border-radius: 2px; }

/* ── Coupe des clubs ── */
.cupcard { border-top: 5px solid var(--ball); } .cuphead { display: flex; gap: 14px; align-items: center; margin-bottom: 6px; } .cuphead h2 { margin: 0 0 2px; } .cuphead p { margin: 0; } .cupic { font-size: 2rem; flex: none; }
.cround { margin-top: 14px; } .cround h3 { margin: 0 0 6px; font: 800 .9rem var(--display); text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.tie { background: var(--bg2); border-radius: 14px; margin-bottom: 6px; } .tie > summary, .tie.pend { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 10px 14px; cursor: pointer; list-style: none; } .tie > summary::-webkit-details-marker { display: none; } .tie.pend { cursor: default; opacity: .75; }
.tn { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .tn.r { text-align: right; } .tn.w { font-weight: 800; color: var(--brand); } .ts { font: 800 1.1rem var(--display); background: #fff; border-radius: 999px; padding: 2px 12px; box-shadow: inset 0 0 0 2px var(--line); }
.rubs { padding: 0 14px 12px; display: grid; gap: 4px; } .rub { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; padding: 6px 10px; border-radius: 10px; background: var(--card); color: var(--ink); font-size: .86rem; } .rub .r { text-align: right; } .rub .w { font-weight: 800; color: var(--brand); } .rub em { font: 700 .82rem Inter, sans-serif; font-style: normal; color: var(--muted); } .rub small { color: var(--muted); font-weight: 400; }
@media (max-width: 520px) { .rub { grid-template-columns: 1fr; text-align: center; } .rub .r { text-align: center; } }

/* ── Analyse approfondie (v2) ── */
.dn { position: relative; flex: none; } .dn svg { width: 100%; height: 100%; display: block; } .dnt { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; } .dnt b { font: 800 1.5rem/1 var(--display); } .dnt small { color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .5px; }
.an2-hero { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin: 10px 0 4px; } .an2-hs { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; min-width: 180px; } .an2-hs > div { flex: 1; min-width: 80px; background: var(--bg2); border-radius: 14px; padding: 10px 12px; display: grid; gap: 2px; } .an2-hs b { font: 800 1.3rem/1 var(--display); } .an2-hs small { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .5px; }
.an2-hs .an2-formbox { flex-basis: 100%; background: transparent; padding: 0; } .an2-form { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 4px; } .an2-form i { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font: 800 .8rem var(--display); font-style: normal; color: #fff; } .an2-form i.w { background: #1f8a4c; } .an2-form i.l { background: #d4543a; }
.an2-surf { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; } .an2-s { background: var(--bg2); border-radius: 14px; padding: 12px; display: grid; gap: 4px; border-top: 4px solid var(--c); } .an2-si { font-size: 1.1rem; } .an2-s b { font: 800 .9rem var(--display); text-transform: uppercase; } .an2-sv { font: 800 1.5rem/1 var(--display); } .an2-s small { color: var(--muted); }
.an2-press { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .an2-press > div { display: grid; justify-items: center; gap: 6px; background: var(--bg2); border-radius: 14px; padding: 14px 8px; text-align: center; } .an2-press span { font-weight: 700; font-size: .88rem; } .an2-press small { color: var(--muted); } .an2-press .dnt b { font-size: 1.2rem; }
.an2-avg { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; } .an2-avg > div { background: var(--bg2); border-radius: 14px; padding: 12px 8px; display: grid; justify-items: center; gap: 2px; } .an2-avg span { font-size: 1.2rem; } .an2-avg b { font: 800 1.6rem/1 var(--display); } .an2-avg small { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .4px; text-align: center; }
.an2-bal { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; margin-top: 10px; font-size: .78rem; color: var(--muted); } .an2-balbar { height: 10px; border-radius: 999px; background: #d4543a; overflow: hidden; } .an2-balbar i { display: block; height: 100%; background: #1f8a4c; }

/* ── Consigne tactique : pastilles d'icône ── */
.stance .sti { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 4px 10px rgba(0,0,0,.2); font-size: 0; } .sti.agressif { background: linear-gradient(135deg, #ff8a3d, #d92d20); } .sti.equilibre { background: linear-gradient(135deg, #3fae6a, #1f6f43); } .sti.defensif { background: linear-gradient(135deg, #4f9be8, #1c4fa0); }
.stance.on .sti { box-shadow: 0 0 0 3px var(--ball), 0 4px 10px rgba(0,0,0,.25); }
/* ── Succès : icônes illustrées ── */
.bdg .bi { display: grid; place-items: center; width: 72px; height: 72px; font-size: 2.2rem; } .bdg .bi img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; box-shadow: 0 4px 12px rgba(0,0,0,.22); }
.bdg.on .bi img { box-shadow: 0 0 0 3px var(--ball), 0 6px 16px rgba(0,0,0,.3); } .bdg:not(.on) .bi img { box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.badges { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }

/* Espacement régulier : une grille de cartes est suivie du même vide qu'une carte seule */
.grid { margin-bottom: 18px; } .grid > .card { margin-bottom: 0; } .card .grid { margin-bottom: 0; }

/* ── Ordres de la semaine ── */
.ords { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin: 8px 0 12px; }
.ord { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 16px; background: var(--card); color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, transform .15s, box-shadow .15s; }
.ord:hover { border-color: var(--brand); transform: translateY(-1px); } .ord.on { border-color: var(--brand); background: #eaf5ec; box-shadow: 0 0 0 3px rgba(31,111,67,.15); }
.ord .oi { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #6b7a70, #3d4a42); box-shadow: 0 3px 8px rgba(0,0,0,.2); }
.ord.train .oi { background: linear-gradient(135deg, #ff8a3d, #d9531e); } .ord.rest .oi { background: linear-gradient(135deg, #7b8cf0, #4a4fc4); }
.ord.hard .oi { background: linear-gradient(135deg, #4f9be8, #1c4fa0); } .ord.clay .oi { background: linear-gradient(135deg, #f08a52, #c4501e); } .ord.grass .oi { background: linear-gradient(135deg, #5fc283, #1f8a4c); }
.ord .ot { display: grid; gap: 2px; min-width: 0; } .ord b { font: 800 .98rem/1.15 var(--display); text-transform: uppercase; letter-spacing: .3px; } .ord small { color: var(--muted); font-size: .76rem; line-height: 1.25; }
.ord .ock { position: absolute; right: 10px; top: 8px; width: 20px; height: 20px; border-radius: 50%; background: var(--brand); color: #fff; font-style: normal; font-size: .72rem; display: grid; place-items: center; }

/* ── Niveau technique ── */
.tech { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); } .tech-h { font: 800 .8rem var(--display); text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 8px; }
.tech-g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .tl { border-radius: 14px; padding: 10px 8px; text-align: center; color: #fff; display: grid; gap: 2px; box-shadow: 0 3px 10px rgba(0,0,0,.12); } .tl b { font: 800 1.6rem/1 var(--display); } .tl small { font-size: .72rem; text-transform: uppercase; letter-spacing: .5px; opacity: .9; }
.tl.hard { background: linear-gradient(135deg, #4f9be8, #1c4fa0); } .tl.clay { background: linear-gradient(135deg, #f08a52, #c4501e); } .tl.grass { background: linear-gradient(135deg, #5fc283, #1f8a4c); }

/* ── Analyse approfondie : version épurée (tuiles blanches, sans icônes) ── */
.an2-hs > div, .an2-s, .an2-press > div, .an2-avg > div { background: #fff; border: 1px solid var(--line); box-shadow: none; }
.an2-hs b { font-size: 1.5rem; } .an2-hs .an2-formbox { border: 0; }
.an2-s { border-top: 1px solid var(--line); border-left: 5px solid var(--c); padding: 12px 14px; } .an2-s b { color: var(--c); } .an2-sv { font-size: 1.7rem; }
.an2-press > div { padding: 16px 8px; } .an2-press .dn svg circle:first-child { stroke: #eee9db; }
.an2-avg > div { position: relative; padding: 14px 8px 12px; border-bottom: 4px solid var(--c, var(--line)); } .an2-avg .c1 { --c: #7a4fd0; } .an2-avg .c2 { --c: #d4a017; } .an2-avg .c3 { --c: #1f8a4c; } .an2-avg .c4 { --c: #d4543a; } .an2-avg b { font-size: 1.9rem; color: var(--c); }
.an2-hero .dn svg circle:first-child { stroke: #eee9db; }
.an-bar { background: #eee9db; }

/* Sélecteur de langue */
.langsel { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 10px; padding: 4px 8px; font: 700 .85rem Inter, sans-serif; cursor: pointer; } .langsel option { color: #11241a; }

/* ── Coupes dans le calendrier ── */
.pill.DAVIS { background: #0b7a75; color: #fff; } .pill.CLUBCUP { background: #b8437a; color: #fff; }
.trow.cupcal { align-items: center; } .cupi { font-style: normal; display: inline-grid; place-items: center; width: 46px; height: 32px; margin-right: 8px; border-radius: 8px; background: linear-gradient(135deg, #0b7a75, #11433f); font-size: 1.1rem; vertical-align: middle; } .trow.cupcal.CLUBCUP .cupi { background: linear-gradient(135deg, #b8437a, #6a1f47); }

/* ── Progression (v2) ── */
.prog-sum .pgtag { font: 800 .85rem Inter, sans-serif; padding: 3px 10px; border-radius: 999px; background: var(--bg2); color: var(--muted); } .prog-sum .pgtag.up { background: #dff2e5; color: #1f7a42; } .prog-sum .pgtag.down { background: #f9dcd6; color: #b8321f; }
.pg { position: relative; height: 190px; margin-top: 10px; padding: 6px 0 26px 38px; }
.pgc { position: relative; height: 100%; border-radius: 12px; background: linear-gradient(#fbfaf5, #fff); box-shadow: inset 0 0 0 1px var(--line); } .pgc svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; border-radius: 12px; overflow: hidden; }
.pgy { position: absolute; left: 0; top: 6px; bottom: 26px; width: 34px; } .pgy span { position: absolute; right: 4px; transform: translateY(-50%); font: 700 .72rem Inter, sans-serif; color: var(--muted); }
.pgd { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; border: 3px solid #1f6f43; box-sizing: border-box; } .pgd.last { width: 18px; height: 18px; margin: -9px 0 0 -9px; background: var(--ball); box-shadow: 0 0 0 4px rgba(217,242,58,.35); }
.pgd em { position: absolute; bottom: 24px; right: -6px; background: #11241a; color: #fff; font: 800 .75rem Inter, sans-serif; font-style: normal; padding: 3px 8px; border-radius: 8px; white-space: nowrap; }
.pgx { position: absolute; left: 38px; right: 0; bottom: 4px; display: flex; justify-content: space-between; font: 700 .72rem Inter, sans-serif; color: var(--muted); padding: 0 4%; }

.stm i.lock { background: #fff3cd; color: #7a5c00; }

/* ── Icônes illustrées de l'interface ── */
.uic { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; box-shadow: 0 3px 8px rgba(0,0,0,.2); display: block; }
.preset .pi { display: block; margin-bottom: 4px; font-size: 1.6rem; } .dic { display: inline-grid; place-items: center; width: 46px; height: 46px; flex: none; font-size: 1.6rem; }

.rub .dbl { background: var(--ball); color: #11241a; font: 800 .62rem Inter, sans-serif; padding: 1px 6px; border-radius: 999px; margin-right: 4px; }

nav a[hidden] { display: none; }

/* ───────── Polish général ───────── */
::selection { background: var(--ball); color: #11241a; }
html { scroll-behavior: smooth; }
* { scrollbar-width: thin; scrollbar-color: #c9c2a8 transparent; }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid rgba(217,242,58,.85); outline-offset: 2px; border-radius: 8px; }
/* entrée en douceur des pages */
@keyframes pgin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
#app > * { animation: pgin .28s ease-out both; } #app > *:nth-child(2) { animation-delay: .03s; } #app > *:nth-child(3) { animation-delay: .06s; } #app > *:nth-child(n+4) { animation-delay: .09s; }
@media (prefers-reduced-motion: reduce) { #app > * { animation: none; } html { scroll-behavior: auto; } }
/* boutons et cartes : réactions au survol */
.btn { transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease, border-color .12s ease; } .btn:hover { transform: translateY(-1px); } .btn:active { transform: translateY(0) scale(.98); }
.card { transition: box-shadow .2s ease; }
/* tableaux : lignes plus lisibles */
table tbody tr, table tr:not(:first-child) { transition: background-color .12s ease; } table tr:not(:first-child):hover td { background: color-mix(in srgb, var(--bg2) 55%, transparent); }
/* états vides */
.empty { background: linear-gradient(180deg, #fff, #faf8f0); border-style: dashed; } .empty > span { filter: drop-shadow(0 4px 6px rgba(0,0,0,.15)); } .empty h2 { margin: 0; }
/* formulaires */
input, select, textarea { transition: border-color .15s, box-shadow .15s; } input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(31,111,67,.14); outline: none; }
/* tableaux sur petit écran : défilement horizontal plutôt que débordement */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
/* pied de page */
footer { opacity: .85; }
/* tuiles d'information : blanches avec liseré, plus de gros aplats beige */
.steps > div, .an-kpis > div { background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.steps > div b { color: var(--brand); }

/* ── Accueil visiteurs : héros spectaculaire ── */
.land { overflow: hidden; } .landgrid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); gap: 28px; align-items: center; } @media (max-width: 860px) { .landgrid { grid-template-columns: 1fr; } .landcards { order: 2; } }
.land h1 { font-size: clamp(2.4rem, 6.4vw, 4.6rem); line-height: .96; margin: 10px 0 14px; } .land h1 em { font-style: normal; background: linear-gradient(90deg, var(--ball), #8be06a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.livedot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #ff4d3d; margin-right: 8px; box-shadow: 0 0 0 0 rgba(255,77,61,.7); animation: livep 1.6s infinite; vertical-align: 1px; } @keyframes livep { 70% { box-shadow: 0 0 0 10px rgba(255,77,61,0); } 100% { box-shadow: 0 0 0 0 rgba(255,77,61,0); } }
.land .btn.cta { font-size: 1.05rem; padding: 14px 26px; animation: ctap 2.4s ease-in-out infinite; } @keyframes ctap { 0%, 100% { box-shadow: 0 6px 18px rgba(0,0,0,.28), 0 0 0 0 rgba(217,242,58,.55); } 50% { box-shadow: 0 6px 18px rgba(0,0,0,.28), 0 0 0 12px rgba(217,242,58,0); } }
.landcards { position: relative; height: 330px; perspective: 900px; } .lcard { position: absolute; width: 190px; padding: 14px 12px 12px; border-radius: 20px; color: #fff; text-decoration: none; display: grid; justify-items: center; gap: 3px; text-align: center; background: linear-gradient(160deg, #1f6f43, #0b2e21 70%); border: 1px solid rgba(255,255,255,.28); box-shadow: 0 18px 40px rgba(0,0,0,.45); overflow: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.lcard .avatar.big { width: 96px; height: 96px; margin-top: 6px; box-shadow: 0 0 0 3px var(--ball), 0 8px 18px rgba(0,0,0,.4); } .lcard b { font: 800 1.05rem/1.1 var(--display); text-transform: uppercase; margin-top: 8px; } .lcnat { display: flex; align-items: center; gap: 6px; font-size: .78rem; opacity: .85; } .lcpts { margin-top: 4px; font: 800 1rem var(--display); color: var(--ball); background: rgba(0,0,0,.3); padding: 2px 12px; border-radius: 999px; }
.lcrank { position: absolute; left: 10px; top: 8px; font: 800 1.35rem/1 var(--display); color: var(--ball); display: grid; text-align: left; } .lcrank small { font: 700 .6rem Inter, sans-serif; color: #fff; opacity: .8; letter-spacing: 1px; }
.lcshine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.16) 50%, transparent 65%); transform: translateX(-120%); animation: shine 5s ease-in-out infinite; pointer-events: none; } @keyframes shine { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.lc0 { left: 4%; top: 10px; transform: rotate(-7deg); z-index: 2; animation: fl0 6s ease-in-out infinite; } .lc1 { right: 2%; top: 42px; transform: rotate(6deg); background: linear-gradient(160deg, #b8437a, #3a1d44 70%); z-index: 3; animation: fl1 7s ease-in-out infinite; } .lc2 { left: 28%; top: 150px; transform: rotate(-2deg); background: linear-gradient(160deg, #1c4fa0, #0b1f3a 70%); z-index: 4; animation: fl2 6.5s ease-in-out infinite; }
@keyframes fl0 { 50% { transform: rotate(-5deg) translateY(-10px); } } @keyframes fl1 { 50% { transform: rotate(8deg) translateY(-12px); } } @keyframes fl2 { 50% { transform: rotate(0deg) translateY(-8px); } }
.lcard:hover { transform: scale(1.06) rotate(0deg); box-shadow: 0 24px 50px rgba(0,0,0,.55); z-index: 9; animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .lcard, .lcshine, .livedot, .land .btn.cta { animation: none; } }
.landfeat .lf { transition: transform .2s ease, box-shadow .2s ease; } .landfeat .lf:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.12); }

/* ── Page d'accueil des visiteurs ── */
.land { padding-bottom: 28px; } .land h1 { max-width: 760px; } .land .meta { max-width: 640px; font-size: 1.05rem; line-height: 1.5; }
.landstats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; } .landstats > div { background: rgba(255,255,255,.12); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,.2); border-radius: 14px; padding: 10px 16px; display: grid; gap: 2px; min-width: 120px; } .landstats b { font: 800 1.6rem/1 var(--display); color: var(--ball); } .landstats span { font-size: .78rem; opacity: .9; }
.landfeat { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 14px; margin: 18px 0; } .lf { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 8px; align-content: start; box-shadow: var(--shadow); } .lf b { font: 800 1.1rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .4px; } .lf p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.lfi { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; box-shadow: 0 4px 10px rgba(0,0,0,.18); } .lfi.c1 { background: linear-gradient(135deg, #ff8a3d, #d9531e); } .lfi.c2 { background: linear-gradient(135deg, #7b8cf0, #4a4fc4); } .lfi.c3 { background: linear-gradient(135deg, #3fae6a, #1f6f43); } .lfi.c4 { background: linear-gradient(135deg, #e5b53b, #b8860b); } .lfi.c5 { background: linear-gradient(135deg, #4f9be8, #1c4fa0); } .lfi.c6 { background: linear-gradient(135deg, #e8719b, #b8437a); }
.landsteps ol { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; } .landsteps li { display: flex; gap: 12px; align-items: flex-start; } .landsteps li > b { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ball); color: #11241a; font: 800 1.1rem var(--display); } .landsteps li div { display: grid; gap: 2px; } .landsteps li span { color: var(--muted); font-size: .88rem; line-height: 1.4; }
.landh { margin: 26px 0 10px; font: 800 1.3rem var(--display); text-transform: uppercase; letter-spacing: .6px; }
.weekbar[hidden], #weekbar[hidden] { display: none !important; }
/* accueil visiteurs : texte seul, pleine largeur ; boutons non soulignés */
.landgrid { grid-template-columns: 1fr !important; } .landtxt { max-width: 720px; }
.land a.btn, .land a.btn:hover { text-decoration: none; }
/* bandeau d'accroche : toujours sur une seule ligne */
.land .kicker { white-space: nowrap; max-width: 100%; } @media (max-width: 520px) { .land .kicker { font-size: .66rem; letter-spacing: 1px; padding: 6px 10px; } }

/* ── Icônes illustrées : ordres, coupes ── */
.ord .oi { width: 52px; height: 52px; background: none; box-shadow: none; } .ord .oi .uic { width: 52px; height: 52px; }
.cupic { width: 56px; height: 56px; display: grid; place-items: center; } .cupic .uic { width: 56px; height: 56px; }
.cupi { background: none !important; width: 44px; height: 44px; } .cupi .uic { width: 40px; height: 40px; }

/* ── Tournois de double ── */
.pill.DBL { background: #1c4fa0; color: #fff; } .tDBL { --tc: #1c4fa0; --tt: #d6e4f7; } .lg.tDBL { background: var(--tc); } .pslash { color: var(--muted); font-style: normal; margin: 0 2px; }
.dcard2 .dreg { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 0; border-top: 1px dashed var(--line); margin-top: 10px; } .dcard2 .dreg .dn { font-weight: 700; min-width: 140px; } .dcard2 .dreg select { flex: 1; min-width: 180px; }
.dtie { color: var(--ink); text-decoration: none; } .dtie:hover { text-decoration: none; background: #ebe6d4; }

/* ───────── En-tête : une seule ligne, menus de droite ───────── */
header.top { display: flex; align-items: center; gap: 14px; flex-wrap: nowrap; }
header.top .brand { flex: none; }
#nav { flex: 1 1 auto; min-width: 0; display: flex; flex-wrap: nowrap; gap: 2px; overflow-x: auto; scrollbar-width: none; } #nav::-webkit-scrollbar { display: none; } #nav a { flex: none; white-space: nowrap; }
header.top .who { flex: none; margin-left: 0; gap: 8px; }
.langsel { flex: none; padding: 5px 8px; }
.hmenu { position: relative; } .hbtn { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 6px 12px; font: 700 .9rem Inter, sans-serif; cursor: pointer; transition: background .15s; } .hbtn:hover, .hbtn.on, .hmenu.open .hbtn { background: rgba(255,255,255,.24); } .hbtn i { font-style: normal; font-size: .7rem; opacity: .8; }
.hbtn-user { padding: 4px 12px 4px 4px; } .hav { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ball); color: #11241a; font: 800 .95rem var(--display); } .hname { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbadge { background: #e5322d; color: #fff; font: 800 .7rem Inter, sans-serif; padding: 1px 7px; border-radius: 999px; }
.hdrop { display: none; position: absolute; top: calc(100% + 8px); left: 0; min-width: 210px; background: #fff; color: var(--ink); border-radius: 14px; box-shadow: 0 16px 40px rgba(0,0,0,.28); padding: 6px; z-index: 60; border: 1px solid var(--line); } .hdrop-r { left: auto; right: 0; } .hmenu.open .hdrop { display: block; animation: pgin .15s ease-out; }
.hdrop a, .hdrop button { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 9px 12px; border: 0; background: none; border-radius: 9px; color: var(--ink); font: 600 .92rem Inter, sans-serif; text-align: left; text-decoration: none; cursor: pointer; } .hdrop a:hover, .hdrop button:hover { background: var(--bg2); text-decoration: none; } .hdrop hr { border: 0; border-top: 1px solid var(--line); margin: 5px 4px; }
@media (max-width: 900px) { header.top { flex-wrap: wrap; } #nav { order: 3; flex-basis: 100%; } header.top .who { margin-left: auto; } .hname { display: none; } }

/* ── Encadré « Aujourd'hui » : lignes nettes, icônes dessinées, couleur par type de tâche ── */
.tdl { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.tdl li { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 10px; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--k, #bbb); border-radius: 14px; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.tdl li.k-xp { --k: #1f8a4c; } .tdl li.k-order { --k: #4a6ee0; } .tdl li.k-register { --k: #e0801f; } .tdl li.k-match { --k: #7a4fd0; } .tdl li.k-live { --k: #e5322d; }
.tdl .tdi { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--k, #888); box-shadow: 0 3px 8px rgba(0,0,0,.18); font-size: 0; background-image: linear-gradient(135deg, rgba(255,255,255,.28), transparent 60%); }
.tdl .tdt { flex: 1; min-width: 0; line-height: 1.35; } .tdl .tdt b { display: inline-block; background: var(--bg2); border-radius: 999px; padding: 1px 10px; margin-right: 6px; font-weight: 800; font-size: .85rem; }
.tdl .btn { flex: none; }
@media (max-width: 560px) { .tdl li { flex-wrap: wrap; } .tdl .btn { margin-left: 52px; } }

/* ── Sélecteur de langue : drapeaux ── */
.langm .lbtn { padding: 5px 10px; gap: 7px; } .langm .lbtn b { font: 800 .82rem Inter, sans-serif; letter-spacing: .5px; }
.lflag { width: 22px; height: 16px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.18); flex: none; }
.langm .hdrop { min-width: 190px; } .langm .lopt { justify-content: flex-start; gap: 10px; } .langm .lopt span { flex: 1; } .langm .lopt em { font-style: normal; color: var(--brand); font-weight: 800; } .langm .lopt.on { background: #eaf5ec; }

/* ── Filtres des résultats ── */
.rfilters { display: grid; gap: 8px; margin: 0 0 14px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.rf { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; } .rfl { font: 800 .72rem var(--display); text-transform: uppercase; letter-spacing: 1px; color: var(--muted); min-width: 74px; }
.fchip { border: 1px solid var(--line); background: var(--bg2); color: var(--ink); border-radius: 999px; padding: 5px 13px; font: 700 .82rem Inter, sans-serif; cursor: pointer; transition: background .15s, color .15s, transform .12s; } .fchip:hover { transform: translateY(-1px); background: #ebe6d4; } .fchip.on { background: var(--deep, #0b2e21); color: #fff; border-color: transparent; }

/* ── Classement de double sur les fiches ── */
.dblrank { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px; margin-top: 8px; } .dr { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; align-items: center; padding: 10px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); border-left: 5px solid #1c4fa0; color: var(--ink); text-decoration: none; } .dr:hover { text-decoration: none; background: #f4f8fd; } .drk { grid-row: span 2; font: 800 1.6rem/1 var(--display); color: #1c4fa0; } .drn { font-weight: 700; } .drp { color: var(--muted); font-size: .82rem; }
.tab.sm { font-size: .85rem; padding: 6px 14px; }

/* ── Panthéon : cartes de records ── */
.recs .rec { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); padding: 16px 16px 16px 14px; gap: 14px; transition: transform .15s, box-shadow .15s; } .recs .rec:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(0,0,0,.12); }
.recs .rec::after { content: ''; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, rgba(229,181,59,.22), transparent 70%); pointer-events: none; }
.recs .rec .ri { flex: none; } .recs .rec .ri .uic { width: 64px; height: 64px; box-shadow: 0 6px 14px rgba(0,0,0,.25); } .recb { display: grid; gap: 2px; min-width: 0; }
.recs .rec small { font-size: .68rem; letter-spacing: 1.2px; } .recs .rec b { font-size: 2.4rem; color: var(--deep, #0b2e21); }
.recp { display: inline-flex; align-items: center; gap: 6px; background: var(--bg2); border-radius: 999px; padding: 3px 12px 3px 8px; width: fit-content; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-decoration: none; } .recp:hover { text-decoration: none; background: #ebe6d4; }

/* ── Panthéon : tableau du hall of fame ── */
.pantable { border-collapse: separate; border-spacing: 0; } .pantable th { position: sticky; top: 0; background: #f6f2e6; } .pantable td { padding: 10px; } .pantable tr:not(:first-child):hover td { background: #faf8ef; }
.pantable .prk { display: inline-grid; place-items: center; min-width: 30px; height: 30px; border-radius: 50%; font: 800 1rem var(--display); color: var(--muted); }
.pantable .pod1 .prk { background: linear-gradient(135deg, #f5d36a, #d4a017); color: #3d2d00; box-shadow: 0 2px 6px rgba(212,160,23,.5); } .pantable .pod2 .prk { background: linear-gradient(135deg, #e3e8eb, #a9b3b9); color: #1c2b33; } .pantable .pod3 .prk { background: linear-gradient(135deg, #e5b48a, #b8743c); color: #3a1d08; }
.pantable .pod1 td { background: linear-gradient(90deg, #fdf6dc, transparent 45%); } .pantable .pod1 td:first-child, .pantable .pod2 td:first-child, .pantable .pod3 td:first-child { padding-left: 14px; }
.pantable .pname { white-space: nowrap; } .pantable .pname a { font-weight: 700; margin-left: 4px; }
.pantable td.nil { color: #cfc8b0; } .pantable td.hot { font-weight: 800; color: var(--deep, #0b2e21); } .pantable td.tit b { display: inline-block; min-width: 28px; text-align: center; background: var(--ball); color: #11241a; border-radius: 999px; padding: 2px 9px; }

/* ── Classement de double : état vide et podium ── */
.dempty { padding: 36px 24px; } .dempty .dei .uic { width: 84px; height: 84px; } .dempty h2 { font-size: 1.4rem; } .dempty p { max-width: 520px; margin: 0; }
.dnext { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 6px 0 8px; } .dn1 { display: grid; gap: 1px; text-align: left; padding: 8px 14px; border-radius: 12px; background: var(--bg2); color: var(--ink); text-decoration: none; border-left: 4px solid #1c4fa0; } .dn1:hover { text-decoration: none; background: #ebe6d4; } .dn1 small { color: var(--muted); }
.pantable .prk.pm1 { background: linear-gradient(135deg, #f5d36a, #d4a017); color: #3d2d00; } .pantable .prk.pm2 { background: linear-gradient(135deg, #e3e8eb, #a9b3b9); color: #1c2b33; } .pantable .prk.pm3 { background: linear-gradient(135deg, #e5b48a, #b8743c); color: #3a1d08; }
.tabs.sub .tab.sm { font-size: .8rem; }

/* ── Bulles d'aide et visite guidée ── */
.tip { position: relative; display: inline-grid; place-items: center; width: 16px; height: 16px; margin-left: 4px; border-radius: 50%; background: var(--bg2); color: var(--muted); font: 800 .68rem Inter, sans-serif; cursor: help; vertical-align: 1px; box-shadow: inset 0 0 0 1px var(--line); text-transform: none; letter-spacing: 0; }
.tip:hover, .tip:focus { background: var(--brand); color: #fff; outline: none; }
.tip::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); width: 240px; max-width: 70vw; padding: 9px 11px; border-radius: 10px; background: #11241a; color: #fff; font: 500 .78rem/1.4 Inter, sans-serif; text-align: left; box-shadow: 0 10px 26px rgba(0,0,0,.3); opacity: 0; pointer-events: none; transition: opacity .15s; z-index: 30; white-space: normal; font-weight: 500; }
.tip:hover::after, .tip:focus::after { opacity: 1; }
.tourbtn { vertical-align: middle; margin-left: 10px; font-size: .75rem; }
.tourcard { max-width: 420px; width: 100%; text-align: center; padding: 28px 24px 22px; display: grid; gap: 10px; } .tourcard h2 { justify-content: center; margin: 0; } .tourcard h2::before { display: none; } .tourcard p { margin: 0; color: var(--muted); line-height: 1.5; }
.touric { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center; font-size: 2rem; background: linear-gradient(135deg, #1f6f43, #0b2e21); box-shadow: 0 8px 20px rgba(0,0,0,.25); overflow: hidden; background: none; } .touric .uic { width: 76px; height: 76px; } .tourdots { display: flex; gap: 6px; justify-content: center; } .tourdots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); } .tourdots i.on { background: var(--brand); width: 22px; border-radius: 999px; }

/* ── Statistiques du coach ── */
.statshero { display: grid; gap: 14px; } .sh-l { display: flex; align-items: center; gap: 14px; } .sh-l .avatar.big { width: 76px; height: 76px; }
.sh-k { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; } .sk { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; display: grid; gap: 2px; } .sk b { font: 800 1.5rem/1 var(--display); color: var(--deep, #0b2e21); } .sk small { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .4px; }
.trophies { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; margin-top: 8px; } .trophy { display: grid; grid-template-columns: auto 1fr; gap: 0 10px; align-items: center; padding: 8px 12px; border-radius: 14px; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--gold, #e5b53b); color: var(--ink); text-decoration: none; } .trophy:hover { text-decoration: none; background: #fbf8ea; } .trophy .uic { grid-row: span 2; width: 44px; height: 44px; } .trophy small { color: var(--muted); }

/* ── Visite guidée détaillée ── */
.tourcard { max-width: 560px !important; max-height: 92vh; overflow-y: auto; text-align: left !important; padding: 20px 22px 18px !important; gap: 12px !important; }
.tourtop { display: flex; justify-content: space-between; align-items: center; } .tourstep { font: 800 .75rem var(--display); text-transform: uppercase; letter-spacing: 1.2px; color: var(--muted); } .tourx { border: 0; background: var(--bg2); width: 30px; height: 30px; border-radius: 50%; font-size: 1.2rem; line-height: 1; cursor: pointer; color: var(--muted); } .tourx:hover { background: #ebe6d4; }
.tourdots { justify-content: flex-start !important; } .tourdots i { cursor: pointer; } .tourdots i.done { background: #9cc9ae; }
.tourhead { display: flex; align-items: center; gap: 14px; } .tourhead h2 { justify-content: flex-start !important; font-size: 1.5rem; margin: 0; } .tourhead .touric { margin: 0 !important; flex: none; width: 64px !important; height: 64px !important; } .tourhead .touric .uic { width: 64px !important; height: 64px !important; }
.tourintro { margin: 0; line-height: 1.55; color: var(--ink) !important; }
.tourbox { border-radius: 14px; padding: 12px 14px; } .tourbox h3 { margin: 0 0 6px !important; font: 800 .8rem var(--display); text-transform: uppercase; letter-spacing: 1px; } .tourbox ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; } .tourbox li { position: relative; padding-left: 22px; line-height: 1.45; font-size: .92rem; }
.tourbox.todo { background: #eaf5ec; } .tourbox.todo h3 { color: #1f6f43; } .tourbox.todo li::before { content: '✓'; position: absolute; left: 0; color: #1f6f43; font-weight: 800; }
.tourbox.imp { background: #fdf6e0; } .tourbox.imp h3 { color: #8a6500; } .tourbox.imp li::before { content: '→'; position: absolute; left: 0; color: #b8860b; font-weight: 800; }
.tourbtns { margin-top: 4px; } .tourbtns .btn[disabled] { opacity: .4; cursor: default; }

.pantable tr.me td { background: #f0fae0 !important; } .cpl2 { display: inline-flex; align-items: center; gap: 5px; margin-right: 10px; white-space: nowrap; }

.chlink { flex: 1; min-width: 200px; font-size: .8rem; }

/* ── Objectifs, sponsors, prochain adversaire ── */
.goal { display: flex; align-items: center; gap: 12px; padding: 10px 12px; margin-top: 8px; border-radius: 14px; background: #fff; border: 1px solid var(--line); border-left: 5px solid #4a6ee0; } .goal.done { border-left-color: #1f8a4c; background: #f4fbf5; } .goal .gl { flex: 1; min-width: 0; display: grid; gap: 4px; } .goal small { font-size: .78rem; }
.sponsors { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin-top: 10px; } .spon { display: grid; justify-items: center; gap: 3px; padding: 12px; border: 2px solid var(--line); border-radius: 16px; background: #fff; font: inherit; color: var(--ink); cursor: pointer; transition: border-color .15s, transform .15s; } .spon:hover:not([disabled]) { border-color: var(--brand); transform: translateY(-2px); } .spon.on { border-color: var(--brand); background: #eaf5ec; } .spon[disabled]:not(.on) { opacity: .5; cursor: default; } .spon .uic { width: 52px; height: 52px; } .spon b { font: 800 .95rem var(--display); text-transform: uppercase; } .spon small { color: var(--muted); }
.nextopp { border-left: 5px solid #e5322d; } .nopp { display: flex; gap: 14px; align-items: center; } .nopp .avatar.big { width: 72px; height: 72px; flex: none; } .nopp-t { display: grid; gap: 4px; min-width: 0; } .nopp-t a { font-size: 1.05rem; } .nopp-s { display: flex; flex-wrap: wrap; gap: 5px; }

/* petites icônes illustrées dans les menus et titres */
.navic { width: 22px; height: 22px; border-radius: 50%; vertical-align: -6px; margin-right: 6px; box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.tvh .uic, h2 .uic.inl { width: 34px; height: 34px; vertical-align: -9px; margin-right: 6px; display: inline-block; } .gift .uic, .pill.gold .uic { width: 22px; height: 22px; display: inline-block; vertical-align: -6px; box-shadow: none; } .gift .uic { width: 34px; height: 34px; }

/* ── Signalements ── */
.repbtn { border: 0; background: none; color: var(--muted); font: 600 .72rem Inter, sans-serif; cursor: pointer; padding: 2px 0; text-decoration: underline; text-underline-offset: 2px; opacity: .7; } .repbtn:hover { color: #c0392b; opacity: 1; }
.rep { border-left: 5px solid #e0801f; } .repq { margin: 10px 0; padding: 10px 14px; background: var(--bg2); border-radius: 12px; font-size: .92rem; } .repq small { display: block; margin-top: 4px; color: var(--muted); }

/* ── Bannière des classements (champion et trophée) ── */
.rankhero { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; min-height: 230px; padding: 26px 28px; margin-bottom: 16px; } .rankhero h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin: 6px 0 4px; } .rankhero p { margin: 0; max-width: 520px; opacity: .92; }
.rhtxt { max-width: 560px; }
.rleader { display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 18px; background: rgba(6,20,13,.62); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.22); color: #fff; text-decoration: none; transition: transform .15s; } .rleader:hover { text-decoration: none; transform: translateY(-2px); } .rleader .uic { width: 56px; height: 56px; } .rleader span { display: grid; gap: 1px; } .rleader small { font: 700 .66rem Inter, sans-serif; text-transform: uppercase; letter-spacing: 1.2px; color: var(--ball); } .rleader b { font: 800 1.15rem var(--display); display: flex; align-items: center; gap: 6px; } .rleader em { font-style: normal; font-size: .8rem; opacity: .85; }
@media (max-width: 600px) { .rankhero { min-height: 200px; padding: 20px; align-items: flex-start; } }
/* bannière classements : texte à gauche (zone sombre), pastille du N°1 sous le texte */
.hero.hero-img.rankhero { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 14px; min-height: 260px; } .rankhero .rhtxt { max-width: 440px; } .rankhero p { font-size: .95rem; }
.rankhero .rleader, .rankhero .rleader * { text-decoration: none !important; } .rankhero .rleader .uic { flex: none; width: 48px; height: 48px; background-size: contain; }
/* ── Circuit amateur ── */
.pill.CH { background: #2f6f8f; color: #fff; } .pill.ITF { background: #6b7a72; color: #fff; }
.tCH { --tc: #2f6f8f; --tt: #d8e8f0; } .tITF { --tc: #6b7a72; --tt: #e4e9e6; } .lg.tCH, .lg.tITF { background: var(--tc); }

/* ── Chat du club ── */
.chatcard h2 { margin-top: 0; } .chatlist { display: flex; flex-direction: column; gap: 6px; max-height: 480px; min-height: 160px; overflow-y: auto; padding: 8px 4px; scroll-behavior: smooth; }
.kdate { align-self: center; margin: 8px 0 2px; padding: 2px 12px; border-radius: 999px; background: var(--bg2); color: var(--muted); font: 600 .72rem Inter, sans-serif; text-transform: capitalize; }
.cm { display: flex; gap: 8px; align-items: flex-end; max-width: 88%; } .cm.mine { align-self: flex-end; flex-direction: row-reverse; }
.cav { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--deep); color: #fff; font: 800 .85rem var(--display); }
.cbub { position: relative; background: var(--bg2); border-radius: 16px 16px 16px 4px; padding: 8px 12px 6px; min-width: 90px; } .cm.mine .cbub { background: #dff3c4; border-radius: 16px 16px 4px 16px; } .cm.gone .cbub { opacity: .65; }
.kmeta { display: flex; gap: 8px; align-items: baseline; justify-content: space-between; } .kmeta b { font-size: .8rem; } .kmeta small { color: var(--muted); font-size: .68rem; }
.cbody { margin-top: 2px; word-break: break-word; font-size: .93rem; line-height: 1.4; }
.cimg { display: block; max-width: min(320px, 100%); max-height: 320px; border-radius: 12px; margin-top: 6px; cursor: zoom-in; } .cbig { max-width: 94vw; max-height: 90vh; border-radius: 12px; }
.cquote { display: grid; gap: 1px; margin: 4px 0; padding: 4px 8px; border-left: 3px solid var(--deep2, #1f7a4b); background: rgba(0,0,0,.05); border-radius: 6px; color: inherit; text-decoration: none; font-size: .78rem; } .cquote b { font-size: .74rem; } .cquote span { opacity: .8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 260px; }
.crs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; } .cr { border: 1px solid rgba(0,0,0,.12); background: #fff; border-radius: 999px; padding: 1px 8px; cursor: pointer; font-size: .85rem; } .cr.mine { background: #e8f6d6; border-color: #8cc84b; } .cr small { font-weight: 700; }
.cacts { position: absolute; top: -14px; right: 8px; display: none; gap: 2px; background: #fff; border-radius: 999px; padding: 2px 6px; box-shadow: 0 2px 8px rgba(0,0,0,.18); } .cm.mine .cacts { right: auto; left: 8px; } .cbub:hover .cacts, .cbub:focus-within .cacts { display: flex; }
@media (hover: none) { .cacts { display: flex; position: static; box-shadow: none; background: none; padding: 4px 0 0; justify-content: flex-end; } }
.cacts button, .cpick button { border: 0; background: none; cursor: pointer; font-size: .95rem; padding: 2px 5px; border-radius: 8px; } .cacts button:hover, .cpick button:hover { background: var(--bg2); }
.cpick { display: flex; gap: 2px; margin-top: 6px; padding: 4px; background: #fff; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.18); width: fit-content; } .cpick button { font-size: 1.2rem; }
.replybar { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 10px; margin-top: 8px; border-left: 3px solid var(--deep2, #1f7a4b); background: var(--bg2); border-radius: 8px; font-size: .82rem; } .replybar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chatbar { display: flex; gap: 8px; align-items: flex-end; margin-top: 10px; } .chatbar textarea { flex: 1; resize: none; min-height: 38px; max-height: 140px; border-radius: 14px; padding: 8px 12px; font: inherit; border: 1px solid rgba(0,0,0,.18); }
.cpv { display: inline-flex; gap: 6px; align-items: flex-start; margin-top: 8px; } .cpv img { max-height: 90px; border-radius: 10px; } .cedit { width: 100%; font: inherit; border-radius: 10px; padding: 6px 8px; border: 1px solid rgba(0,0,0,.2); }
.cm.flash .cbub { box-shadow: 0 0 0 3px var(--ball, #d6f542); } .invcode { font: 800 1.1rem var(--display); letter-spacing: 2px; padding: 2px 10px; border-radius: 8px; background: var(--bg2); }
/* ── Accueil : joueurs en lumière ── */
.spotgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; margin-top: 12px; } .spotp { display: grid; gap: 8px; align-content: start; } .spoth { display: flex; gap: 10px; align-items: center; } .spoth span { display: grid; line-height: 1.25; }
/* ── États vides des classements de double ── */
.dempty h2 { margin-bottom: 8px; } .dem { display: grid; justify-items: center; gap: 4px; text-align: center; padding: 14px 10px 8px; border: 2px dashed rgba(0,0,0,.12); border-radius: 14px; background: linear-gradient(180deg, #fff, #faf8f0); } .dem > span { font-size: 2rem; filter: drop-shadow(0 3px 5px rgba(0,0,0,.15)); } .dem small { color: var(--muted); max-width: 320px; line-height: 1.4; }
/* ── Ordres : choix par défaut non confirmé ── */
.ord.dflt { border-style: dashed; border-color: #8cc84b; } .ordwarn { margin: 8px 0; padding: 8px 12px; border-radius: 10px; background: #fff4d6; color: #7a5200; font-size: .85rem; font-weight: 600; }

/* ── Bulle de chat et fenêtre plein écran ── */
.chatfab { position: fixed; right: 20px; bottom: 20px; z-index: 900; width: 60px; height: 60px; border-radius: 50%; border: 0; background: linear-gradient(145deg, #1f7a4b, #0f3d26); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 22px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.25); transition: transform .15s; } .chatfab:hover { transform: scale(1.08); } .chatfab::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--ball, #d6f542); opacity: .75; pointer-events: none; }
.chatbadge { position: absolute; top: -5px; right: -5px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #e0432f; color: #fff; font: 800 .72rem/22px Inter, sans-serif; text-align: center; box-shadow: 0 2px 6px rgba(0,0,0,.3); } .chatbadge[hidden] { display: none; }
body.chatopen { overflow: hidden; } body.chatopen .chatfab { display: none; }
.chatfs { position: fixed; inset: 0; z-index: 1000; background: rgba(6,20,13,.78); backdrop-filter: blur(6px); display: grid; animation: cfsIn .18s ease-out; } @keyframes cfsIn { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }
.cfs-in { display: flex; flex-direction: column; width: 100%; height: 100%; max-width: 1000px; margin: 0 auto; background: var(--bg, #f3f0e8); box-shadow: 0 0 60px rgba(0,0,0,.45); }
.cfs-h { display: flex; align-items: center; gap: 14px; padding: 12px 16px; color: #fff; background: radial-gradient(120% 200% at 0% 0%, #1f7a4b 0%, transparent 60%), linear-gradient(135deg, #0f3d26, #0a2a1a); }
.cfs-title { display: grid; line-height: 1.15; margin-right: 6px; } .cfs-title b { font: 800 1.3rem var(--display, Inter, sans-serif); letter-spacing: .5px; text-transform: uppercase; } .cfs-title small { opacity: .75; font-size: .75rem; }
.cfs-tabs { display: flex; gap: 6px; overflow-x: auto; flex: 1; } .cfs-tabs button { border: 0; border-radius: 999px; padding: 8px 16px; background: rgba(255,255,255,.12); color: #fff; font: 700 .88rem var(--display, Inter, sans-serif); cursor: pointer; white-space: nowrap; transition: background .15s; } .cfs-tabs button:hover { background: rgba(255,255,255,.22); } .cfs-tabs button.on { background: var(--ball, #d6f542); color: #12321f; }
.cfs-n { font-style: normal; display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 4px; border-radius: 999px; background: #e0432f; color: #fff; font-size: .7rem; text-align: center; }
.cfs-x { flex: none; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; } .cfs-x:hover { background: rgba(255,255,255,.28); }
.cfs-b { flex: 1; min-height: 0; padding: 14px; display: flex; } .cfs-b .chatcard { flex: 1; display: flex; flex-direction: column; min-height: 0; background: #fff; border-radius: 18px; padding: 16px; box-shadow: 0 2px 10px rgba(0,0,0,.08); } .cfs-b .chatcard h2 { margin: 0 0 6px; } .cfs-b .chatlist { flex: 1; max-height: none; min-height: 0; }
@media (max-width: 640px) { .chatfab { right: 14px; bottom: 14px; width: 54px; height: 54px; } .cfs-b { padding: 6px; } .cfs-b .chatcard { border-radius: 14px; padding: 10px; } .cfs-title small { display: none; } .cfs-h { padding: 10px; gap: 8px; } }
/* ── Fenêtre de confirmation ── */
.cfm { z-index: 1200; } .cfm-card { max-width: 380px; text-align: center; padding: 24px 22px 20px; animation: cfsIn .15s ease-out; } .cfm-card h2 { margin: 6px 0 4px; font-size: 1.25rem; } .cfm-card p { margin: 0; } .cfm-ic { width: 54px; height: 54px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; background: #fde7e3; } .cfm-ok { background: #d9402a; border-color: #d9402a; color: #fff; }
.cfm-card .btn.cfm-ok { background: #d9402a; border-color: #d9402a; color: #fff; box-shadow: 0 4px 12px rgba(217,64,42,.35); } .cfm-card .btn.cfm-ok:hover { background: #bf3320; }

/* ── Téléphone : en-tête compact + barre d'icônes en bas ── */
.bshort { display: none; } .tabbar { display: none; }
@media (max-width: 700px) {
  .top { flex-wrap: nowrap; padding: 8px 12px; gap: 8px; align-items: center; } .brand { font-size: 1.2rem; gap: 8px; flex: none; } .bfull { display: none; } .bshort { display: inline; letter-spacing: 1.2px; }
  #nav { display: none; } .langm { margin-left: auto; } .who { margin-left: 0; gap: 6px; } .lbtn b, .lbtn i { display: none; } .lbtn { padding: 6px 8px; } #helpm { display: none; } .hname { display: none; } .hbtn-user { padding: 4px; } .hbtn-user i { display: none; }
  .weekbar { flex-wrap: nowrap; overflow-x: auto; gap: 8px; padding: 6px 12px; scrollbar-width: none; white-space: nowrap; } .weekbar::-webkit-scrollbar { display: none; } .weekbar > * { flex: none; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); } .chatfab { display: none !important; } .toast { bottom: calc(82px + env(safe-area-inset-bottom)); }
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, var(--deep), var(--deep2)); box-shadow: 0 -6px 18px rgba(0,0,0,.28); }
  .tabbar a, .tabbar button { position: relative; display: grid; justify-items: center; gap: 3px; padding: 5px 0 3px; border: 0; background: none; color: #fff; opacity: .68; font: 700 .62rem var(--display); text-transform: uppercase; letter-spacing: .5px; cursor: pointer; text-decoration: none; -webkit-tap-highlight-color: transparent; }
  .tabbar a.on, .tabbar button.on { opacity: 1; color: var(--ball, #d6f542); } .tabbar a.on::before, .tabbar button.on::before { content: ''; position: absolute; top: -6px; width: 28px; height: 3px; border-radius: 0 0 3px 3px; background: var(--ball, #d6f542); }
  .tbadge { position: absolute; top: 0; left: calc(50% + 6px); min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: #e0432f; color: #fff; font: 800 .62rem/17px Inter, sans-serif; text-align: center; font-style: normal; } .tbadge[hidden] { display: none; }
  body.chatopen .tabbar { display: none; }
}
.moresheet { position: fixed; inset: 0; z-index: 1100; background: rgba(6,20,13,.6); display: flex; align-items: flex-end; animation: msFade .16s ease-out; } .moresheet.bye { opacity: 0; transition: opacity .16s; }
.ms-in { width: 100%; max-width: 560px; margin: 0 auto; background: var(--bg, #f3f0e8); border-radius: 22px 22px 0 0; padding: 10px 14px calc(18px + env(safe-area-inset-bottom)); animation: msUp .2s ease-out; box-shadow: 0 -10px 30px rgba(0,0,0,.3); }
.ms-grip { display: block; width: 42px; height: 4px; border-radius: 4px; background: rgba(0,0,0,.2); margin: 0 auto 12px; }
.ms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; } .ms-i { display: grid; justify-items: center; gap: 6px; padding: 14px 6px; border-radius: 16px; background: #fff; color: var(--ink); text-decoration: none; font: 700 .78rem var(--display); text-transform: uppercase; letter-spacing: .4px; box-shadow: 0 1px 4px rgba(0,0,0,.07); } .ms-i svg { color: var(--deep2, #1f7a4b); }
.ms-out { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 14px; padding: 12px; border: 0; border-radius: 14px; background: #fde7e3; color: #b3261e; font: 700 .95rem Inter, sans-serif; cursor: pointer; } .ms-login { width: 100%; margin-top: 14px; }
@keyframes msUp { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } } @keyframes msFade { from { opacity: 0; } to { opacity: 1; } }

/* ── Notifications et mini messagerie ── */
.cname { border: 0; background: none; padding: 0; cursor: pointer; color: inherit; font: inherit; } .cname:hover b { text-decoration: underline; }
.cfs-b .chatcard.plain { padding: 0; overflow: hidden; } .nt-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px 8px; } .nt-h h2 { margin: 0; } .nt-l { flex: 1; min-height: 0; overflow-y: auto; padding: 4px 10px 12px; display: grid; gap: 8px; align-content: start; }
.nt { display: grid; grid-template-columns: 38px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--bg2, #f1eee4); color: var(--ink); text-decoration: none; border-left: 4px solid transparent; } .nt:hover { text-decoration: none; filter: brightness(.97); }
.nt.new { background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,.1); } .nt.win { border-left-color: #2f9e5b; } .nt.loss { border-left-color: #c0392b; } .nt.bad { border-left-color: #e0612f; } .nt.warn { border-left-color: #e0a31f; } .nt.info { border-left-color: #2f6f8f; }
.nt-i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.06); font-size: 1.15rem; } .nt-b { display: grid; gap: 2px; min-width: 0; } .nt-b b { font-size: .92rem; } .nt-b small { color: var(--muted); font-size: .8rem; line-height: 1.35; } .nt time { color: var(--muted); font-size: .7rem; white-space: nowrap; align-self: start; } .nt.new .nt-b b::after { content: ''; display: inline-block; width: 8px; height: 8px; margin-left: 6px; border-radius: 50%; background: #e0432f; }
.dm { display: grid; grid-template-columns: 300px 1fr; height: 100%; min-height: 0; } .dm-l { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid rgba(0,0,0,.08); } .dm-s { position: relative; padding: 12px; } .dm-s input { width: 100%; border-radius: 999px; padding: 9px 14px; border: 1px solid rgba(0,0,0,.18); font: inherit; }
.dm-res { position: absolute; left: 12px; right: 12px; top: 100%; z-index: 5; display: grid; background: #fff; border-radius: 12px; box-shadow: 0 6px 20px rgba(0,0,0,.2); overflow: hidden; } .dm-res button { text-align: left; border: 0; background: none; padding: 10px 14px; font: inherit; cursor: pointer; } .dm-res button:hover { background: var(--bg2); } .dm-res span { padding: 10px 14px; }
.dm-ls { flex: 1; overflow-y: auto; padding: 0 6px 8px; } .dm-c { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; width: 100%; padding: 9px 8px; border: 0; background: none; border-radius: 12px; text-align: left; cursor: pointer; font: inherit; } .dm-c:hover, .dm-c.on { background: var(--bg2); } .dm-c .cav { width: 34px; height: 34px; } .dm-cb { display: grid; min-width: 0; } .dm-cb b { font-size: .9rem; } .dm-cb small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .dm-cm { display: grid; justify-items: end; gap: 3px; } .dm-cm time { color: var(--muted); font-size: .68rem; }
.dm-t { display: flex; flex-direction: column; min-height: 0; } .dm-th { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid rgba(0,0,0,.08); } .dm-back { display: none; } .dm-ms { flex: 1; overflow-y: auto; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; } .dm-t .chatbar { padding: 10px 12px; margin: 0; border-top: 1px solid rgba(0,0,0,.08); } .dm-tm { display: block; text-align: right; color: var(--muted); font-size: .65rem; margin-top: 2px; }
@media (max-width: 700px) { .dm { grid-template-columns: 1fr; } .dm-t { display: none; } .dm.thread-open .dm-l { display: none; } .dm.thread-open .dm-t { display: flex; } .dm-back { display: inline-flex; } .cfs-title b { display: none; } .cfs-tabs button { padding: 7px 12px; font-size: .8rem; } }
/* en-tête mobile : la langue à droite, juste avant le compte */
@media (max-width: 700px) { .top > .langm { order: 2; margin-left: auto !important; } .top > .who { order: 3; margin-left: 0 !important; flex: none; } }
.cfs-tabs { min-width: 0; scrollbar-width: none; } .cfs-tabs::-webkit-scrollbar { display: none; } .cfs-title { flex: none; }
.chatfs { grid-template-columns: minmax(0, 1fr); } .cfs-in { min-width: 0; }

/* ── En-tête : cloche de notifications, langue dans le menu du compte ── */
body.logged #langsel { display: none; }
.hbell { position: relative; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; cursor: pointer; } .hbell:hover { background: rgba(255,255,255,.22); }
.hbell .bn { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #e0432f; color: #fff; font: 800 .65rem/18px Inter, sans-serif; text-align: center; font-style: normal; box-shadow: 0 1px 4px rgba(0,0,0,.3); } .hbell .bn[hidden] { display: none; }
.hlang { padding: 6px 12px 8px; } .hlang span { display: block; margin-bottom: 6px; font: 700 .68rem Inter, sans-serif; text-transform: uppercase; letter-spacing: 1px; opacity: .6; } .hflags { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; min-width: 200px; } .hfl { border: 2px solid transparent; background: none; border-radius: 8px; padding: 2px; cursor: pointer; line-height: 0; } .hfl:hover { background: rgba(0,0,0,.06); } .hfl.on { border-color: var(--ball, #d6f542); background: rgba(0,0,0,.06); } .hfl img { width: 100%; height: auto; border-radius: 3px; display: block; }
@media (max-width: 700px) { .hbell { width: 36px; height: 36px; } }
@media (max-width: 700px) { body.logged .top > .who { margin-left: auto !important; } .hdrop-r { max-width: calc(100vw - 16px); } }

/* ── Accueil : cartes illustrées ── */
.landfeat .lfp { padding: 0; gap: 0; overflow: hidden; display: flex; flex-direction: column; border-radius: 20px; }
.lfimg { position: relative; aspect-ratio: 16 / 9; background: #12432b center / cover no-repeat; transition: transform .6s ease; } .lfp:hover .lfimg { transform: scale(1.06); }
.lfp .lfimg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,20,13,0) 55%, rgba(6,20,13,.35)); }
.lfp .lfb { position: relative; z-index: 1; background: #fff; padding: 16px 18px 20px; display: grid; gap: 6px; align-content: start; flex: 1; } .lfp .lfb b { font: 800 1.12rem var(--display); text-transform: uppercase; letter-spacing: .5px; } .lfp .lfb p { margin: 0; color: var(--muted); line-height: 1.5; font-size: .92rem; }
/* ── Fond : tribunes et spectateurs, en douceur ── */
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: url(img/bg-stade.webp) center / cover no-repeat; opacity: .38; }
@media (max-width: 700px) { body::before { opacity: .3; } }
/* ── Accueil : « Démarrer en 3 étapes » ── */
.card.landsteps { position: relative; overflow: hidden; border: 0; padding: 28px 28px 24px; color: #fff; background: radial-gradient(120% 170% at 0% 0%, #1f7a4b 0%, transparent 55%), radial-gradient(90% 120% at 100% 100%, rgba(214,245,66,.14) 0%, transparent 60%), linear-gradient(135deg, #0f3d26, #0a2a1a); box-shadow: var(--shadow); }
.landsteps h2 { color: #fff; font-size: 1.7rem; margin: 0; } .landsteps h2::before { background: var(--ball, #d6f542); }
.landsteps ol { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; padding: 0; margin: 22px 0 0; }
.landsteps ol::before { content: ''; position: absolute; top: 27px; left: 17%; right: 17%; border-top: 2px dashed rgba(214,245,66,.38); }
.landsteps li { position: relative; display: grid; justify-items: center; text-align: center; gap: 12px; align-content: start; }
.landsteps li > b { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ball, #d6f542); color: #12321f; font: 800 1.6rem/1 var(--display); box-shadow: 0 0 0 7px rgba(214,245,66,.16), 0 8px 18px rgba(0,0,0,.4); }
.landsteps li > div { display: grid; gap: 6px; } .landsteps li strong { color: #fff; font: 800 1.15rem var(--display); text-transform: uppercase; letter-spacing: .6px; } .landsteps li span { color: rgba(255,255,255,.78); line-height: 1.5; font-size: .94rem; max-width: 300px; margin: 0 auto; }
.landsteps .row { justify-content: center; margin-top: 24px; } .landsteps .btn.cta { padding: 14px 30px; font-size: 1.05rem; box-shadow: 0 8px 22px rgba(0,0,0,.35); }
.lsnote { margin: 12px 0 0; text-align: center; font-size: .8rem; color: rgba(255,255,255,.6); letter-spacing: .4px; }
@media (max-width: 700px) { .card.landsteps { padding: 22px 18px 20px; } .landsteps ol { grid-template-columns: 1fr; gap: 18px; } .landsteps ol::before { display: none; } .landsteps li { grid-template-columns: 56px 1fr; justify-items: start; text-align: left; gap: 14px; align-items: start; } .landsteps li span { margin: 0; } .landsteps h2 { font-size: 1.4rem; } }

/* ── Classement : podium et leaderboard ── */
.lpodium { display: grid; grid-template-columns: 1fr 1.12fr 1fr; gap: 14px; align-items: end; margin: 6px 0 16px; }
.lpod { position: relative; display: grid; justify-items: center; gap: 6px; padding: 38px 12px 18px; border-radius: 22px; color: #fff; text-decoration: none; text-align: center; background: radial-gradient(120% 120% at 50% 0%, rgba(255,255,255,.14), transparent 60%), linear-gradient(160deg, #1b6b43, #0b2d1c); box-shadow: 0 10px 26px rgba(0,0,0,.22); transition: transform .18s; } .lpod:hover { transform: translateY(-4px); text-decoration: none; }
.lpod.gold { padding-top: 52px; padding-bottom: 24px; background: radial-gradient(120% 120% at 50% 0%, rgba(255,214,102,.38), transparent 62%), linear-gradient(160deg, #1f7a4b, #0b2d1c); box-shadow: 0 14px 34px rgba(0,0,0,.28), 0 0 0 2px rgba(229,181,59,.55); }
.lpm { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 800 1.2rem var(--display); color: #231800; background: linear-gradient(145deg, #f7d56a, #c9971c); box-shadow: 0 4px 10px rgba(0,0,0,.3); } .lpod.silver .lpm { background: linear-gradient(145deg, #eef1f4, #aab3bd); } .lpod.bronze .lpm { background: linear-gradient(145deg, #e8b184, #b0703c); color: #2a1303; }
.lpav .avatar { width: 84px; height: 84px; border: 3px solid rgba(255,255,255,.85); box-shadow: 0 6px 16px rgba(0,0,0,.35); } .lpod.gold .lpav .avatar { width: 104px; height: 104px; border-color: #f2cd5a; } .lpod.silver .lpav .avatar { border-color: #cfd6dd; } .lpod.bronze .lpav .avatar { border-color: #d99a6c; }
.lpn { font: 800 1.12rem var(--display); text-transform: uppercase; letter-spacing: .4px; line-height: 1.15; } .lpnat { display: flex; align-items: center; gap: 6px; font-size: .78rem; opacity: .82; } .lpp { font: 800 1.5rem var(--display); color: var(--ball, #d6f542); } .lpp small { margin-left: 4px; font: 600 .7rem Inter, sans-serif; opacity: .7; }
.lpc { font-style: normal; font: 700 .62rem Inter, sans-serif; text-transform: uppercase; letter-spacing: .6px; padding: 2px 8px; border-radius: 999px; background: var(--ball, #d6f542); color: #12321f; }
.lboard { display: grid; gap: 8px; margin-bottom: 14px; }
.lrow { display: grid; grid-template-columns: 38px 40px minmax(0, 1.2fr) minmax(60px, 1fr) 70px; gap: 12px; align-items: center; padding: 10px 16px 10px 10px; border-radius: 16px; background: rgba(255,255,255,.78); backdrop-filter: blur(4px); border: 1px solid rgba(0,0,0,.06); color: var(--ink); text-decoration: none; box-shadow: 0 1px 4px rgba(0,0,0,.05); transition: transform .15s, box-shadow .15s; } .lrow:hover { transform: translateX(4px); box-shadow: 0 6px 16px rgba(0,0,0,.1); text-decoration: none; } .lrow.mine { background: linear-gradient(90deg, #f1fbd6, rgba(255,255,255,.85) 60%); border-color: #bfe05a; }
.lrk { text-align: center; font: 800 1.15rem var(--display); color: var(--muted); } .lnm { display: grid; gap: 1px; min-width: 0; } .lnm b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .lnm small { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: .76rem; }
.lbar { height: 8px; border-radius: 999px; background: rgba(0,0,0,.07); overflow: hidden; } .lbar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #2f9e5b, #b6e04a); } .lpts { text-align: right; font: 800 1.05rem var(--display); }
@media (max-width: 700px) { .lpodium { gap: 8px; } .lpod { padding: 34px 6px 12px; border-radius: 16px; } .lpod.gold { padding-top: 42px; } .lpav .avatar { width: 56px; height: 56px; } .lpod.gold .lpav .avatar { width: 70px; height: 70px; } .lpn { font-size: .78rem; } .lpp { font-size: 1.05rem; } .lpnat { font-size: .66rem; } .lpm { width: 32px; height: 32px; font-size: 1rem; top: -12px; }
  .lrow { grid-template-columns: 30px 36px minmax(0, 1fr) 62px; gap: 9px; padding: 8px 12px 8px 8px; } .lbar { display: none; } }
/* ── Accueil : top 10 ── */
.hlead { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px 14px 16px; margin: 6px 0 12px; border-radius: 18px; color: #fff; text-decoration: none; background: radial-gradient(120% 140% at 0% 0%, rgba(255,214,102,.3), transparent 60%), linear-gradient(160deg, #1f7a4b, #0b2d1c); box-shadow: 0 8px 20px rgba(0,0,0,.2); transition: transform .15s; } .hlead:hover { transform: translateY(-2px); text-decoration: none; }
.hlead .lpm { position: absolute; top: -10px; left: 14px; width: 30px; height: 30px; font-size: 1rem; }
.hlead .avatar { width: 70px; height: 70px; border: 3px solid #f2cd5a; box-shadow: 0 5px 14px rgba(0,0,0,.35); flex: none; } .hl-t { display: grid; gap: 3px; flex: 1; min-width: 0; } .hl-t b { font: 800 1.15rem var(--display); text-transform: uppercase; letter-spacing: .4px; line-height: 1.1; } .hl-t small { display: flex; align-items: center; gap: 6px; font-size: .78rem; opacity: .85; } .hl-p { font: 800 1.6rem var(--display); color: var(--ball, #d6f542); text-align: right; } .hl-p small { display: block; font: 600 .66rem Inter, sans-serif; opacity: .7; }
.lboard.lcompact { gap: 2px; margin: 0; } .lboard.lcompact .lrow { grid-template-columns: 26px 34px minmax(0, 1.3fr) minmax(36px, .7fr) 62px; gap: 10px; padding: 6px 8px 6px 4px; background: transparent; border: 0; box-shadow: none; border-radius: 12px; backdrop-filter: none; } .lboard.lcompact .lrow:hover { background: var(--bg2, #f1eee4); transform: none; box-shadow: none; } .lboard.lcompact .lrk { font-size: 1rem; } .lboard.lcompact .lpts { font-size: .95rem; }
@media (max-width: 700px) { .lboard.lcompact .lrow { grid-template-columns: 24px 32px minmax(0, 1fr) 58px; } .hlead .avatar { width: 56px; height: 56px; } .hl-t b { font-size: 1rem; } .hl-p { font-size: 1.3rem; } }

/* ── Drapeaux et initiales dans les classements ── */
.lpav .lflagbig, .lflagbig { display: grid; place-items: center; width: 96px; height: 70px; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 6px 16px rgba(0,0,0,.35); border: 3px solid rgba(255,255,255,.85); } .lflagbig .flag { width: 100%; height: 100%; margin: 0; border-radius: 0; object-fit: cover; box-shadow: none; } .lpod.gold .lflagbig { width: 116px; height: 82px; border-color: #f2cd5a; }
.lflagsm { display: grid; place-items: center; width: 40px; height: 30px; border-radius: 6px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.25); } .lflagsm .flag { width: 100%; height: 100%; margin: 0; border-radius: 0; object-fit: cover; box-shadow: none; }
.lpav .ini { width: 84px; height: 84px; font-size: 2.2rem; box-shadow: 0 6px 16px rgba(0,0,0,.35), 0 0 0 3px rgba(255,255,255,.85); } .lpod.gold .lpav .ini { width: 104px; height: 104px; font-size: 2.8rem; box-shadow: 0 6px 16px rgba(0,0,0,.35), 0 0 0 3px #f2cd5a; } .lrow .ini { width: 38px; height: 38px; font-size: 1.05rem; }
.lpnat, .lnm small { flex-wrap: wrap; justify-content: center; } .lnm small { justify-content: flex-start; } .lpnat .flag, .lnm small .flag { margin-right: 4px; }
div.lrow[data-nat] { cursor: pointer; } div.lpod[data-nat] { cursor: pointer; }
@media (max-width: 700px) { .lpav .lflagbig { width: 62px; height: 46px; } .lpod.gold .lflagbig { width: 76px; height: 54px; } .lpav .ini { width: 56px; height: 56px; font-size: 1.5rem; } .lpod.gold .lpav .ini { width: 70px; height: 70px; } }
/* ── Visages dans les lignes : taille fixe, aucun débordement sur le nom ── */
.lrow .avatar, .lrow .ini, .lrow .lflagsm { flex: none; } .lrow .avatar { width: 40px; height: 40px; } .lboard.lcompact .lrow .avatar { width: 34px; height: 34px; } .lrow .lnm { padding-left: 2px; }
.lrow .avatar .flag, .lrow .avatar img.flag { width: 14px; height: 10px; }
.lpod .avatar .flag { width: 22px; height: 16px; }
.lrow { overflow: hidden; }

/* ── Résultats : tuiles de tournois par semaine ── */
.wkblock { margin: 0 0 22px; } .wkh { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font: 800 1.25rem var(--display); text-transform: uppercase; letter-spacing: .6px; } .wkh small { margin-left: auto; font: 600 .75rem Inter, sans-serif; color: var(--muted); text-transform: none; letter-spacing: 0; }
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.tcard { --sc: #8a9a90; position: relative; display: grid; gap: 7px; align-content: start; padding: 14px 16px 14px; border-radius: 18px; background: rgba(255,255,255,.9); border: 1px solid rgba(0,0,0,.07); border-top: 5px solid var(--sc); color: var(--ink); text-decoration: none; box-shadow: 0 1px 5px rgba(0,0,0,.06); transition: transform .15s, box-shadow .15s; } .tcard:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0,0,0,.13); text-decoration: none; }
.tcard.s-hard { --sc: #3d7fd6; } .tcard.s-clay { --sc: #d9703f; } .tcard.s-grass { --sc: #4fa653; } .tcard.s-indoor { --sc: #5f4fc8; } .tcard.s-cup { --sc: #c9971c; }
.tcard.c-GS { background: linear-gradient(160deg, #fff7dc, #fff 55%); border-color: #e5b53b; } .tcard.c-FINALS { background: linear-gradient(160deg, #fdeceb, #fff 55%); } .tcard.c-CH, .tcard.c-ITF { background: rgba(255,255,255,.7); } .tcard.cont { opacity: .72; }
.tc-top { display: flex; gap: 6px; flex-wrap: wrap; } .tc-n { font: 800 1.12rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .3px; } .tc-m { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: .78rem; } .tc-m .flag { margin-right: 4px; }
.tc-w { font-weight: 700; font-size: .88rem; color: #7a5200; background: #fff2cf; padding: 4px 10px; border-radius: 10px; width: fit-content; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tc-s { width: fit-content; padding: 3px 10px; border-radius: 999px; font: 700 .72rem Inter, sans-serif; text-transform: uppercase; letter-spacing: .5px; background: var(--bg2, #f1eee4); color: var(--muted); } .tc-s.drawn { background: #e2f6b8; color: #29501a; } .tc-s.done { background: #e5e8e6; }
@media (max-width: 700px) { .tgrid { grid-template-columns: 1fr; gap: 10px; } .tcard { padding: 12px 14px; } }

/* ── Colonne d'action (bouton Rejoindre) ── */
.lboard.hasx .lrow { grid-template-columns: 38px 40px minmax(0, 1.2fr) minmax(60px, 1fr) 70px auto; } .lx { display: flex; justify-content: flex-end; min-width: 0; } .lpod .lx { margin-top: 4px; } .lpod .lx .btn { background: var(--ball, #d6f542); color: #12321f; border: 0; }
div.lrow[data-go], div.lpod[data-go] { cursor: pointer; } .lrow .lpc, .lpod .lpc { font-style: normal; }
@media (max-width: 700px) { .lboard.hasx .lrow { grid-template-columns: 30px 36px minmax(0, 1fr) 62px; } .lboard.hasx .lx { grid-column: 3 / -1; justify-content: flex-start; } .lboard.hasx .lx:empty { display: none; } }

.lbsent { display: grid; place-items: center; padding: 18px 0 10px; } .lbdots { display: inline-flex; gap: 6px; } .lbdots i { width: 9px; height: 9px; border-radius: 50%; background: var(--deep2, #1f7a4b); opacity: .35; animation: lbd 1s infinite ease-in-out; } .lbdots i:nth-child(2) { animation-delay: .15s; } .lbdots i:nth-child(3) { animation-delay: .3s; } @keyframes lbd { 0%, 100% { transform: translateY(0); opacity: .3; } 50% { transform: translateY(-5px); opacity: 1; } }
.nb { white-space: nowrap; }

/* ── Invitation à se connecter ── */
.logcta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 0 0 16px; padding: 22px 24px; border-radius: 20px; color: #fff; background: radial-gradient(120% 180% at 0% 0%, #1f7a4b 0%, transparent 58%), radial-gradient(80% 140% at 100% 100%, rgba(214,245,66,.16), transparent 60%), linear-gradient(135deg, #0f3d26, #0a2a1a); box-shadow: var(--shadow); }
.lc-i { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: rgba(255,255,255,.12); font-size: 1.9rem; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); } .lc-i .uic { width: 44px; height: 44px; }
.lc-t { flex: 1; min-width: 230px; } .lc-t h2 { margin: 0 0 4px; color: #fff; font-size: 1.35rem; } .lc-t h2::before { display: none; } .lc-t p { margin: 0; color: rgba(255,255,255,.8); line-height: 1.45; }
.lc-b { display: flex; gap: 10px; flex-wrap: wrap; } .lc-ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.3); } .lc-ghost:hover { background: rgba(255,255,255,.24); }
@media (max-width: 700px) { .logcta { padding: 18px; } .lc-b { width: 100%; } .lc-b .btn { flex: 1; justify-content: center; } }

/* ── Blasons de clubs ── */
.crest { display: block; object-fit: contain; border-radius: 0; background: none; box-shadow: none; filter: drop-shadow(0 4px 6px rgba(0,0,0,.4)); } .lpav .crest { width: 92px; height: 92px; } .lpod.gold .lpav .crest { width: 112px; height: 112px; } .lrow .crest { width: 40px; height: 40px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.3)); }
@media (max-width: 700px) { .lpav .crest { width: 60px; height: 60px; } .lpod.gold .lpav .crest { width: 76px; height: 76px; } }

/* ── Fiche joueur : palmarès en cartes, derniers matchs et en-tête mieux composés (téléphone) ── */
.pal-l { display: grid; gap: 8px; margin-top: 10px; }
.pal { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--bg2, #f1eee4); color: var(--ink); text-decoration: none; transition: transform .12s; } .pal:hover { transform: translateY(-1px); text-decoration: none; filter: brightness(.98); }
.pal .rp { justify-self: stretch; text-align: center; white-space: normal; line-height: 1.2; padding: 5px 6px; font-size: .72rem; }
.pal-b { display: grid; gap: 3px; min-width: 0; } .pal-b b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .93rem; } .pal-b small { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; color: var(--muted); font-size: .74rem; }
.pal-p { font: 800 1.2rem var(--display); text-align: right; line-height: 1; } .pal-p small { display: block; margin-top: 2px; font: 600 .6rem Inter, sans-serif; color: var(--muted); letter-spacing: .5px; }
@media (max-width: 760px) {
  .phero { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 12px; padding: 24px 16px 16px; } .phero .avatar.huge { width: 108px; height: 108px; }
  .ph-main { display: grid; justify-items: center; } .ph-tags { justify-content: center; } .phero h1 { font-size: 2.3rem; line-height: 1.05; margin: 2px 0 8px; }
  .ph-meta { justify-content: center; gap: 6px 14px; } .ph-meta span + span::before { margin-right: 14px; }
  .ph-rank { grid-column: 1; width: 100%; grid-auto-flow: column; grid-template-columns: 1fr auto 1fr; justify-content: space-between; align-items: center; text-align: left; padding: 12px 4px 0; border-top: 1px solid rgba(255,255,255,.2); } .ph-rank small { order: 1; } .ph-rank b { order: 2; font-size: 2.8rem; text-align: center; } .ph-rank span { order: 3; text-align: right; }
  .pm { grid-template-columns: 26px 34px minmax(0, 1fr) auto; gap: 8px; padding: 8px 10px; } .pm-s { grid-column: auto; flex-wrap: nowrap; gap: 3px; } .ms { min-width: 21px; height: 26px; font-size: .9rem; } .pm-n small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pal { grid-template-columns: 84px minmax(0, 1fr) auto; gap: 8px; padding: 9px 10px; } .pal .rp { font-size: .68rem; padding: 4px 4px; }
}

/* ── Sélecteur de blason ── */
.crestm { z-index: 1150; } .cpk { max-width: 760px !important; width: 100%; max-height: 90vh; display: flex; flex-direction: column; padding: 18px; } .cpk-h { display: flex; justify-content: space-between; align-items: center; } .cpk-h h2 { margin: 0; } .cpk .nclose { position: static; }
.cpk-bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 12px 0; } .cpk-bar .muted { margin-left: auto; }
.cpk-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; overflow-y: auto; padding: 4px; min-height: 0; }
.cpk-i { aspect-ratio: 1; display: grid; place-items: center; padding: 6px; border: 2px solid transparent; border-radius: 14px; background: var(--bg2, #f1eee4); cursor: pointer; transition: transform .12s, border-color .12s; } .cpk-i:hover { transform: scale(1.07); border-color: var(--deep2, #1f7a4b); } .cpk-i.on { border-color: var(--ball, #d6f542); background: #eef8cf; } .cpk-i img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 2px 3px rgba(0,0,0,.3)); }
.cpk-btn { width: 46px; height: 46px; border-radius: 14px; border: 2px dashed rgba(0,0,0,.25); background: rgba(255,255,255,.6); cursor: pointer; display: grid; place-items: center; padding: 3px; flex: none; } .cpk-btn:hover { border-color: var(--deep2, #1f7a4b); } .cpk-btn.set { border-style: solid; border-color: var(--ball, #d6f542); } .cpk-btn img { width: 100%; height: 100%; object-fit: contain; } .cpk-ph { font: 700 .62rem Inter, sans-serif; color: var(--muted); text-transform: uppercase; }
.crest-prev { width: 52px; height: 52px; display: grid; place-items: center; } .crest-prev .crest { width: 52px; height: 52px; } .ph-av .crest.hero { width: 120px; height: 120px; filter: drop-shadow(0 8px 14px rgba(0,0,0,.45)); }
@media (max-width: 700px) { .ph-av .crest.hero { width: 96px; height: 96px; } .cpk { padding: 14px; max-height: 94vh; } .cpk-g { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); } }

/* ── Traduction à la demande ── */
.tr-btn { border: 0; background: none; padding: 2px 0; margin-top: 4px; cursor: pointer; color: var(--deep2, #1f7a4b); font: 600 .72rem Inter, sans-serif; opacity: .85; } .tr-btn:hover { opacity: 1; text-decoration: underline; }
.ctr { margin-top: 4px; padding: 6px 10px; border-left: 3px solid var(--deep2, #1f7a4b); background: rgba(31,122,75,.08); border-radius: 8px; font-size: .88rem; line-height: 1.4; } .ctr small { display: block; margin-top: 3px; color: var(--muted); font-size: .66rem; }
.trpbox:empty { display: none; } .trpbox { margin-top: 6px; }
/* ── Fiche joueur (téléphone) : seulement le N° du classement, centré ── */
@media (max-width: 760px) { .ph-rank { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 2px; } .ph-rank small { display: none; } .ph-rank b { font-size: 3.1rem; } .ph-rank span { text-align: center; font-size: .8rem; opacity: .8; } }
/* ── Fiche joueur (téléphone) : visage à gauche, classement et points à droite, infos dessous ── */
@media (max-width: 760px) {
  .phero { grid-template-columns: auto 1fr; grid-template-areas: "av rk" "mn mn"; justify-items: stretch; text-align: center; gap: 10px 16px; align-items: center; }
  .phero .ph-av { grid-area: av; justify-self: start; } .phero .ph-main { grid-area: mn; } .phero .ph-rank { grid-area: rk; grid-column: auto; width: auto; border-top: 0; padding: 0; justify-items: end; text-align: right; align-content: center; gap: 4px; }
  .ph-rank b { font-size: 3.6rem; text-align: right; } .ph-rank span { text-align: right; font-size: .9rem; opacity: .9; }
}

/* ── Palmarès : médailles, couleurs par résultat, saisons ── */
.pal-s { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 8px; font: 800 1.05rem var(--display); text-transform: uppercase; letter-spacing: .6px; } .pal-s:first-child { margin-top: 8px; } .pal-s small { margin-left: auto; font: 600 .72rem Inter, sans-serif; color: var(--muted); text-transform: none; letter-spacing: 0; }
.pal2 { --c: #b9b3a3; display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 12px; align-items: center; margin-bottom: 8px; padding: 10px 12px 10px 10px; border-radius: 16px; background: #fff; border: 1px solid rgba(0,0,0,.07); border-left: 5px solid var(--c); color: var(--ink); text-decoration: none; box-shadow: 0 1px 4px rgba(0,0,0,.06); transition: transform .12s, box-shadow .12s; } .pal2:hover { transform: translateX(3px); box-shadow: 0 6px 14px rgba(0,0,0,.1); text-decoration: none; }
.pal2.r-W { --c: #e5b53b; background: linear-gradient(90deg, #fff4cf, #fff 60%); } .pal2.r-F { --c: #a9b3bd; background: linear-gradient(90deg, #eef1f4, #fff 60%); } .pal2.r-SF { --c: #c47f4d; background: linear-gradient(90deg, #f8e8dc, #fff 60%); }
.pal2-m { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #efece3; font: 800 .86rem var(--display); color: var(--muted); font-size: 1.5rem; } .pal2.r-QF .pal2-m, .pal2.r-R16 .pal2-m, .pal2.r-R32 .pal2-m, .pal2.r-R64 .pal2-m, .pal2.r-R128 .pal2-m { font-size: .92rem; } .pal2.r-W .pal2-m { background: radial-gradient(circle at 30% 25%, #fff2b8, #e0a92a); box-shadow: 0 3px 8px rgba(201,151,28,.5); } .pal2.r-F .pal2-m { background: radial-gradient(circle at 30% 25%, #fff, #b7c0c9); } .pal2.r-SF .pal2-m { background: radial-gradient(circle at 30% 25%, #fbe3d1, #cf8d5a); }
.pal2-b { display: grid; gap: 3px; min-width: 0; } .pal2-b b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .95rem; } .pal2-b small { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--muted); font-size: .74rem; } .pal2-b em { font-style: normal; font: 700 .7rem Inter, sans-serif; text-transform: uppercase; letter-spacing: .6px; color: var(--c); filter: brightness(.7); }
.pal2-p { display: grid; justify-items: end; padding: 6px 10px; border-radius: 12px; background: var(--deep, #12432b); color: var(--ball, #d6f542); font: 800 1.1rem/1 var(--display); } .pal2-p small { font: 600 .56rem Inter, sans-serif; letter-spacing: .6px; opacity: .8; text-transform: uppercase; margin-top: 2px; }
@media (max-width: 760px) { .pal2 { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; } .pal2-m { width: 40px; height: 40px; font-size: 1.3rem; } }
@media (max-width: 760px) { .phero .ph-rank { grid-auto-flow: row; grid-template-columns: 1fr; } }
/* ── Fiche joueur (téléphone) : visage centré, classement en macaron dans le coin ── */
@media (max-width: 760px) {
  .phero { position: relative; grid-template-columns: 1fr; grid-template-areas: none; justify-items: center; text-align: center; padding: 26px 16px 18px; gap: 10px; }
  .phero .ph-av { grid-area: auto; justify-self: center; } .phero .avatar.huge { width: 116px; height: 116px; } .phero .ph-main { grid-area: auto; width: 100%; }
  .phero .ph-rank { position: absolute; top: 12px; right: 12px; grid-area: auto; grid-column: auto; width: auto; padding: 8px 14px; border-radius: 16px; background: rgba(6,20,13,.55); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(6px); grid-auto-flow: row; grid-template-columns: auto; justify-items: center; text-align: center; gap: 1px; }
  .phero .ph-rank b { font-size: 2.2rem; line-height: 1; text-align: center; } .phero .ph-rank span { font-size: .72rem; text-align: center; opacity: .85; }
}
/* ── Matchs en 4 ou 5 sets (téléphone) : les scores passent sous le nom ── */
@media (max-width: 760px) { .pm.long { grid-template-columns: 26px 34px minmax(0, 1fr); row-gap: 6px; } .pm.long .pm-s { grid-column: 3 / -1; justify-content: flex-start; } }
/* ── Résultats : menus déroulants sur téléphone, puces sur ordinateur ── */
.rfsel { display: none; }
@media (max-width: 700px) { .rfchips { display: none !important; } .rfsel { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; } .rfsl { display: grid; gap: 4px; font: 700 .64rem Inter, sans-serif; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); } .rfsl select { width: 100%; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(0,0,0,.18); background-color: #fff; font: 600 .92rem Inter, sans-serif; color: var(--ink); text-transform: none; letter-spacing: 0; } }
/* ── Menus déroulants : même style partout (arrondi, flèche verte, couleurs du site) ── */
select { appearance: none; -webkit-appearance: none; background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none' stroke='%231f7a4b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 1.5 7 7l5.5-5.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; background-size: 14px 9px; padding-right: 40px; cursor: pointer; border: 1px solid rgba(0,0,0,.12); border-radius: 999px; box-shadow: 0 2px 6px rgba(0,0,0,.06); transition: border-color .15s, box-shadow .15s; }
select:hover { border-color: var(--deep2, #1f7a4b); } select:focus-visible { outline: none; border-color: var(--deep2, #1f7a4b); box-shadow: 0 0 0 3px rgba(214,245,66,.65); }
@media (max-width: 700px) {
  .rfilters { background: none; border: 0; box-shadow: none; padding: 0 0 4px; }
  .rfsl { color: var(--deep2, #1f7a4b); padding-left: 6px; } .rfsl select { padding: 12px 40px 12px 18px; border-radius: 999px; font: 700 .92rem var(--display); text-transform: uppercase; letter-spacing: .5px; color: var(--deep, #12432b); background-color: #fff; box-shadow: 0 3px 10px rgba(0,0,0,.08); }
}
/* ── Invitation à se connecter (téléphone) : boutons en pleine largeur, l'un sous l'autre ── */
@media (max-width: 700px) {
  .logcta { gap: 14px; padding: 18px 16px; } .lc-i { width: 54px; height: 54px; border-radius: 16px; } .lc-t { min-width: 0; flex: 1 1 calc(100% - 70px); } .lc-t h2 { font-size: 1.2rem; }
  .lc-b { flex-direction: column; width: 100%; gap: 10px; } .lc-b .btn { width: 100%; justify-content: center; padding: 14px 18px; font-size: 1.02rem; white-space: nowrap; border-radius: 999px; }
  .lc-b .btn.cta { box-shadow: 0 8px 20px rgba(0,0,0,.35); } .lc-b .lc-ghost { background: transparent; border: 1px solid rgba(255,255,255,.45); }
}

/* ── Mon compte : choix de la langue ── */
.langgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.langopt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 2px solid transparent; background: var(--bg2, #f1eee4); color: var(--ink); font: 600 .95rem Inter, sans-serif; cursor: pointer; text-align: left; transition: transform .12s, border-color .12s, background .12s; } .langopt:hover { transform: translateY(-1px); border-color: var(--deep2, #1f7a4b); }
.langopt.on { border-color: var(--deep2, #1f7a4b); background: #e4f4d3; } .langopt.on::after { content: '✓'; margin-left: auto; color: var(--deep2, #1f7a4b); font-weight: 800; } .langopt .lflag { width: 30px; height: 22px; border-radius: 4px; object-fit: cover; box-shadow: 0 1px 3px rgba(0,0,0,.3); flex: none; }
@media (max-width: 700px) { .langgrid { grid-template-columns: 1fr 1fr; gap: 8px; } .langopt { padding: 11px 12px; font-size: .88rem; } }

/* ── Coupe des clubs : composition ── */
.cupform { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; } .cupform label { display: grid; gap: 4px; font: 700 .7rem Inter, sans-serif; text-transform: uppercase; letter-spacing: .8px; color: var(--deep2, #1f7a4b); } .cupform select { width: 100%; padding: 11px 40px 11px 14px; font: 600 .92rem Inter, sans-serif; text-transform: none; letter-spacing: 0; color: var(--ink); }
.cupteam { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; } .cupteam > div { display: grid; gap: 3px; padding: 10px 14px; border-radius: 14px; background: var(--bg2, #f1eee4); } .cupteam small { font: 700 .66rem Inter, sans-serif; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); } .cupteam b { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.k-clubcup .tdi { background: linear-gradient(135deg, #d4a000, #b07d10); }

/* ── Clubs : divisions ── */
.divsec { margin: 0 0 26px; } .divh { display: flex; align-items: baseline; gap: 12px; margin: 22px 0 8px; font: 800 1.5rem var(--display); text-transform: uppercase; letter-spacing: .6px; } .divh::before { content: ''; align-self: stretch; width: 6px; border-radius: 3px; background: var(--ball, #d6f542); } .divh small { margin-left: auto; font: 600 .78rem Inter, sans-serif; color: var(--muted); text-transform: none; letter-spacing: 0; }

.cupsub { margin: 16px 0 8px; font: 800 1rem var(--display); text-transform: uppercase; letter-spacing: .6px; } .cupsub small { font: 500 .74rem Inter, sans-serif; color: var(--muted); text-transform: none; letter-spacing: 0; }

.cupnext { margin: 10px 0 14px; padding: 10px 14px; border-radius: 10px; background: rgba(214,245,66,.12); border-left: 4px solid var(--ball, #d6f542); line-height: 1.5; }
.cround h3 small { font: 500 .78rem Inter, sans-serif; text-transform: none; letter-spacing: 0; }

/* Défier un ami : lien de défi bien rangé */
.dchal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0; padding: 10px 12px; border-radius: 14px; background: rgba(15,61,42,.06); border: 1px solid rgba(15,61,42,.12); }
.dchal .chlink { flex: 1 1 240px; min-width: 0; height: 40px; padding: 0 12px; border-radius: 10px; font-size: .82rem; text-overflow: ellipsis; }
.dchal .btn { height: 40px; }
.dchnew { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; } .dchnew select { min-width: 150px; }

/* Onglets en liste déroulante sur téléphone */
label.tabsel { display: none; }
@media (max-width: 700px) { label.tabsel { display: block !important; margin: 0 0 14px; } .tabs.hasel { display: none !important; } }
