/* Palmarès : même langage que l'accueil, les actualités et l'effectif */
.tnk-palm { max-width: 1180px; margin: 0 auto; padding: 40px 24px 56px; font-family: 'Barlow', system-ui, sans-serif; color: #fff; }
.tnk-palm h1 { margin: 0; font-family: 'Big Shoulders Display', 'Arial Narrow', sans-serif; font-weight: 900; font-size: 3.4rem; line-height: .95; text-transform: uppercase; color: #fff; }
.tnk-palm__head p { margin: 8px 0 0; color: gray; }
.tnk-palm__section { margin-top: 44px; }
.tnk-palm__titre { display: flex; align-items: baseline; gap: 10px; padding-bottom: 14px; margin-bottom: 20px; border-bottom: 1px solid #1d2026; }
.tnk-palm__titre h2 { margin: 0; font-family: 'Big Shoulders Display', 'Arial Narrow', sans-serif; font-weight: 800; font-size: 1.9rem; text-transform: uppercase; line-height: 1; color: #fff; }
.tnk-palm__compte { font-family: 'Big Shoulders Display', 'Arial Narrow', sans-serif; font-weight: 800; font-size: 1.3rem; color: #daf37c; }
.tnk-palm .v { color: #daf37c; }
.tnk-palm .d { color: #e38585; }

/* Trophées */
.tnk-trophees { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.tnk-trophee { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 18px 22px; background: #0d0f13; border: 1px solid #1d2026; border-radius: 14px; text-align: center; overflow: hidden; }
.tnk-trophee img { width: 96px; height: 96px; object-fit: contain; margin-bottom: 6px; filter: grayscale(1); opacity: .35; }
.tnk-trophee__nb { font-family: 'Big Shoulders Display', 'Arial Narrow', sans-serif; font-weight: 900; font-size: 3rem; line-height: 1; color: #3a3f48; }
.tnk-trophee__nom { font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .03em; }
.tnk-trophee__type { color: #6b6f77; font-size: .85rem; }
.tnk-trophee--gagne { border-color: rgba(218, 243, 124, .45); }
.tnk-trophee--gagne::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: #daf37c; }
.tnk-trophee--gagne img { filter: none; opacity: 1; }
.tnk-trophee--gagne .tnk-trophee__nb { color: #daf37c; }
.tnk-trophee--gagne .tnk-trophee__type { color: #daf37c; font-weight: 600; }

/* Bilan global */
.tnk-global { padding: 24px; background: #0d0f13; border: 1px solid #1d2026; border-radius: 14px; }
.tnk-global__chiffres { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 22px; }
.tnk-global__chiffres div { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 6px; background: #0a0c0f; border: 1px solid #1d2026; border-radius: 10px; text-align: center; }
.tnk-global__chiffres span:first-child { font-family: 'Big Shoulders Display', 'Arial Narrow', sans-serif; font-weight: 800; font-size: 2.4rem; line-height: 1; }
.tnk-global__chiffres span:last-child { color: #9da1a8; font-size: .85rem; font-weight: 600; }
.tnk-vnd { display: flex; height: 38px; border-radius: 8px; overflow: hidden; gap: 3px; }
.tnk-vnd span { display: grid; place-items: center; min-width: 44px; font-weight: 800; font-size: .95rem; white-space: nowrap; }
.tnk-vnd__v { background: #daf37c; color: #0a0c0f; }
.tnk-vnd__n { background: #3a3f48; color: #fff; }
.tnk-vnd__d { background: #c25151; color: #fff; }
.tnk-global__resume { margin: 14px 0 0; color: #9da1a8; font-size: .92rem; line-height: 1.6; }

/* Saison par saison */
.tnk-table-wrap { overflow-x: auto; background: #0d0f13; border: 1px solid #1d2026; border-radius: 14px; }
.tnk-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tnk-table th, .tnk-table td { padding: 13px 14px; text-align: center; border-top: 1px solid #1d2026; white-space: nowrap; }
.tnk-table thead th { border-top: 0; color: #6b6f77; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.tnk-table tbody th { text-align: left; font-family: 'Big Shoulders Display', 'Arial Narrow', sans-serif; font-weight: 800; font-size: 1.2rem; }
.tnk-table thead th:first-child { text-align: left; }
.tnk-table tbody tr:hover { background: #111419; }
.tnk-table__pct { min-width: 130px; text-align: right !important; font-weight: 700; }
.tnk-mini { display: inline-block; width: 60px; height: 5px; margin-right: 10px; vertical-align: middle; background: #1d2026; border-radius: 999px; overflow: hidden; }
.tnk-mini span { display: block; height: 100%; background: #daf37c; }

/* Records */
.tnk-records { display: grid; gap: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tnk-record { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 16px; background: #0d0f13; border: 1px solid #1d2026; border-radius: 14px; color: #fff; text-decoration: none; text-align: center; transition: border-color .2s, transform .2s; }
a.tnk-record:hover { border-color: #daf37c; transform: translateY(-3px); }
.tnk-record__titre { color: #daf37c; font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.tnk-record__affiche { display: flex; align-items: center; gap: 10px; }
.tnk-record__affiche img { width: 44px; height: 44px; object-fit: contain; }
.tnk-record__score { font-family: 'Big Shoulders Display', 'Arial Narrow', sans-serif; font-weight: 900; font-size: 2.3rem; line-height: 1; white-space: nowrap; }
.tnk-record__score i { font-style: normal; color: #6b6f77; margin: 0 4px; }
.tnk-record--win .tnk-record__score { color: #daf37c; }
.tnk-record--loss .tnk-record__score { color: #e38585; }
.tnk-record__adv { font-weight: 700; }
.tnk-record__date { color: #6b6f77; font-size: .82rem; }
.tnk-record--series { justify-content: center; }
.tnk-serie { color: #9da1a8; }
.tnk-serie strong { display: block; font-family: 'Big Shoulders Display', 'Arial Narrow', sans-serif; font-weight: 900; font-size: 2.3rem; line-height: 1; color: #fff; }

/* Classements joueurs */
.tnk-classements { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.tnk-classement { padding: 20px 20px 10px; background: #0d0f13; border: 1px solid #1d2026; border-radius: 14px; }
.tnk-classement h3 { margin: 0 0 8px; font-family: 'Big Shoulders Display', 'Arial Narrow', sans-serif; font-weight: 800; font-size: 1.4rem; text-transform: uppercase; }
.tnk-classement ol { margin: 0; padding: 0; list-style: none; }
.tnk-classement li a { display: grid; grid-template-columns: 30px 1fr auto; grid-template-rows: auto auto; align-items: center; column-gap: 12px; row-gap: 6px; padding: 12px 0; border-top: 1px solid #1d2026; color: #fff; text-decoration: none; }
.tnk-classement li:first-child a { border-top: 0; }
.tnk-classement li a:hover .tnk-classement__nom { color: #daf37c; }
.tnk-classement__rang { grid-row: span 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: #1d2026; font-weight: 800; font-size: .9rem; }
.tnk-classement li:first-child .tnk-classement__rang { background: #daf37c; color: #0a0c0f; }
.tnk-classement--simple .tnk-classement__rang { background: #1d2026 !important; color: #daf37c !important; }
.tnk-classement__nom { font-weight: 700; transition: color .2s; }
.tnk-classement__nom small { color: #6b6f77; font-weight: 600; margin-right: 2px; }
.tnk-classement__nom em { display: block; font-style: normal; font-weight: 500; font-size: .82rem; color: #6b6f77; }
.tnk-classement__val { font-family: 'Big Shoulders Display', 'Arial Narrow', sans-serif; font-weight: 800; font-size: 1.4rem; line-height: 1; }
.tnk-classement__val small { font-family: 'Barlow', sans-serif; font-weight: 500; font-size: .8rem; color: #9da1a8; }
.tnk-classement__barre { grid-column: 2 / -1; height: 4px; background: #1d2026; border-radius: 999px; overflow: hidden; }
.tnk-classement__barre span { display: block; height: 100%; background: #daf37c; border-radius: inherit; }

/* Adversaires */
.tnk-adversaires { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.tnk-adv { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 16px; background: #0d0f13; border: 1px solid #1d2026; border-radius: 14px; text-align: center; }
.tnk-adv img { width: 56px; height: 56px; object-fit: contain; margin-bottom: 4px; }
.tnk-adv__nom { font-weight: 700; text-transform: uppercase; }
.tnk-adv__nb { font-family: 'Big Shoulders Display', 'Arial Narrow', sans-serif; font-weight: 800; font-size: 1.5rem; color: #daf37c; }
.tnk-adv__bilan { color: #9da1a8; font-size: .9rem; }

@media (max-width: 960px) {
    .tnk-records { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tnk-global__chiffres { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .tnk-palm { padding: 28px 16px 44px; }
    .tnk-palm h1 { font-size: 2.6rem; }
    .tnk-palm__titre h2 { font-size: 1.6rem; }
    .tnk-global { padding: 16px; }
    .tnk-global__chiffres span:first-child { font-size: 1.9rem; }
    .tnk-records { grid-template-columns: 1fr; }
    .tnk-trophees, .tnk-adversaires { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .tnk-trophee img { width: 64px; height: 64px; }
    .tnk-trophee__nom { font-size: .9rem; }
    .tnk-table th, .tnk-table td { padding: 11px 9px; }
    .tnk-mini { display: none; }
    .tnk-table th:nth-child(6), .tnk-table td:nth-child(6), .tnk-table th:nth-child(7), .tnk-table td:nth-child(7) { display: none; }
    .tnk-table__pct { min-width: 0; }
}
@media (prefers-reduced-motion: reduce) { .tnk-record { transition: none; } a.tnk-record:hover { transform: none; } }

/* Classements par saison */
.tnk-palm__chips { display: flex; gap: 8px; margin: -6px 0 18px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.tnk-palm__chips::-webkit-scrollbar { display: none; }
.tnk-palm__chips button { flex-shrink: 0; padding: 8px 16px; border: 1px solid #1d2026; border-radius: 999px; background: #0d0f13; color: #9da1a8; font: 600 .9rem 'Barlow', system-ui, sans-serif; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.tnk-palm__chips button:hover { color: #fff; border-color: #3a3f48; }
.tnk-palm__chips button[aria-selected="true"] { background: #daf37c; border-color: #daf37c; color: #0a0c0f; }
.tnk-palm__chips button:focus-visible { outline: 2px solid #daf37c; outline-offset: 2px; }
.tnk-classements[hidden] { display: none; }
.tnk-classement__vide { margin: 4px 0 12px; color: #6b6f77; font-size: .9rem; }

/* Lien vers le récap de saison */
.tnk-palm__recap { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 10px 18px; border-radius: 999px; background: #daf37c; color: #0a0c0f; font-weight: 700; text-decoration: none; transition: transform .2s; }
.tnk-palm__recap:hover { transform: translateY(-2px); }
.tnk-palm__recap i { font-size: 1.2rem; }
.tnk-palm__gerer { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; padding: 6px 12px; border: 1px dashed #2a2e36; border-radius: 999px; color: #daf37c; font-weight: 700; font-size: .85rem; text-decoration: none; }
.tnk-palm__gerer:hover { border-color: #daf37c; }
.tnk-trophee__annees { color: #f0c450; font-size: .8rem; font-weight: 700; letter-spacing: .04em; }
