/* Page match : même langage que l'accueil, l'effectif et le palmarès */
.tnk-match { max-width: 1180px; margin: 0 auto; padding: 24px 24px 56px; font-family: 'Barlow', system-ui, sans-serif; color: #fff; }
.tnk-match .v { color: #daf37c; }
.tnk-match .d { color: #e38585; }
.tnk-match__nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; font-size: .92rem; }
.tnk-match__nav span { display: flex; gap: 18px; }
.tnk-match__nav a { color: #9da1a8; text-decoration: none; font-weight: 600; }
.tnk-match__nav a:hover { color: #daf37c; }
.tnk-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #daf37c; color: #0a0c0f; font-weight: 700; font-size: .78rem; line-height: 1.3; }

/* Tableau d'affichage */
.tnk-score { position: relative; padding: 26px 28px 30px; background: #0d0f13; border: 1px solid #1d2026; border-radius: 16px; overflow: hidden; }
.tnk-score::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: #3a3f48; }
.tnk-score--win::before { background: #daf37c; }
.tnk-score--loss::before { background: #c25151; }
.tnk-score__contexte { display: flex; justify-content: center; align-items: center; gap: 8px 16px; flex-wrap: wrap; margin: 0 0 22px; color: #9da1a8; font-size: .9rem; font-weight: 500; }
.tnk-score__contexte i { vertical-align: -2px; }
.tnk-score__affiche { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.tnk-score__equipe { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; min-width: 0; }
.tnk-score__equipe img { width: 110px; height: 110px; object-fit: contain; }
.tnk-score__nom { font-family: 'Big Shoulders Display', 'Arial Narrow', sans-serif; font-weight: 800; font-size: 1.8rem; line-height: 1; text-transform: uppercase; overflow-wrap: anywhere; }
.tnk-score__centre { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 220px; }
.tnk-score__chiffres { font-family: 'Big Shoulders Display', 'Arial Narrow', sans-serif; font-weight: 900; font-size: 6rem; line-height: .9; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tnk-score__chiffres i { font-style: normal; color: #3a3f48; margin: 0 .12em; }
.tnk-score--win .tnk-score__chiffres { color: #daf37c; }
.tnk-score--loss .tnk-score__chiffres { color: #e38585; }
.tnk-score__vs { font-family: 'Big Shoulders Display', 'Arial Narrow', sans-serif; font-weight: 900; font-size: 4.5rem; line-height: .9; color: #3a3f48; }
.tnk-score__statut { padding: 4px 12px; border-radius: 999px; border: 1px solid #3a3f48; font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: #d4d6da; }
.tnk-score--win .tnk-score__statut { border-color: rgba(218, 243, 124, .5); color: #daf37c; }
.tnk-score--loss .tnk-score__statut { border-color: rgba(194, 81, 81, .6); color: #e38585; }
.tnk-score--upcoming .tnk-score__statut { background: #daf37c; border-color: #daf37c; color: #0a0c0f; }
.tnk-score__date { color: #9da1a8; font-size: .95rem; }
.tnk-score__buteurs { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid #1d2026; text-align: center; color: #9da1a8; line-height: 1.7; }
.tnk-score__buteurs i { color: #daf37c; margin-right: 6px; }
.tnk-score__buteurs a { color: #fff; font-weight: 600; text-decoration: none; }
.tnk-score__buteurs a:hover { color: #daf37c; }
.tnk-score__buteurs b { color: #daf37c; }

/* Sections */
.tnk-match__section { margin-top: 40px; }
.tnk-match__titre { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-bottom: 14px; margin-bottom: 20px; border-bottom: 1px solid #1d2026; }
.tnk-match__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-match__compte { font-family: 'Big Shoulders Display', 'Arial Narrow', sans-serif; font-weight: 800; font-size: 1.25rem; color: #daf37c; text-transform: uppercase; }

/* Feuille de match */


.tnk-vide { padding: 32px; text-align: center; color: gray; border: 1px dashed #1d2026; border-radius: 12px; }

/* Face-à-face */
.tnk-h2h { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tnk-h2h__bilan, .tnk-h2h__liste { padding: 20px 22px; background: #0d0f13; border: 1px solid #1d2026; border-radius: 14px; }
.tnk-h2h__chiffres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; text-align: center; }
.tnk-h2h__chiffres strong { display: block; font-family: 'Big Shoulders Display', 'Arial Narrow', sans-serif; font-weight: 900; font-size: 2.6rem; line-height: 1; }
.tnk-h2h__chiffres span { color: #9da1a8; font-size: .85rem; font-weight: 600; }
.tnk-vnd { display: flex; height: 10px; gap: 3px; border-radius: 999px; overflow: hidden; }
.tnk-vnd__v { background: #daf37c; }
.tnk-vnd__n { background: #3a3f48; }
.tnk-vnd__d { background: #c25151; }
.tnk-h2h__resume { margin: 14px 0 0; color: #9da1a8; font-size: .9rem; text-align: center; }
.tnk-h2h__liste { padding: 6px 22px; }
.tnk-h2h__m { display: grid; grid-template-columns: 1fr auto 30px; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid #1d2026; color: #fff; text-decoration: none; }
.tnk-h2h__m:first-child { border-top: 0; }
.tnk-h2h__m:hover .tnk-h2h__date { color: #daf37c; }
.tnk-h2h__date { color: #d4d6da; font-weight: 600; transition: color .2s; }
.tnk-h2h__score { font-family: 'Big Shoulders Display', 'Arial Narrow', sans-serif; font-weight: 800; font-size: 1.35rem; white-space: nowrap; }
.tnk-h2h__res { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; font-weight: 800; font-size: .82rem; }
.tnk-h2h__res--win { background: #daf37c; color: #0a0c0f; }
.tnk-h2h__res--draw { background: #3a3f48; }
.tnk-h2h__res--loss { background: #c25151; }
.tnk-h2h__premier { margin: 14px 0; color: #9da1a8; }

/* Gestion (admin) */
.tnk-btn { display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 20px; border-radius: 8px; border: 1px solid #daf37c; background: #daf37c; color: #0a0c0f; font: 700 .92rem 'Barlow', system-ui, sans-serif; text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.tnk-btn:hover { background: transparent; color: #daf37c; }
.tnk-btn--danger { background: #c25151; border-color: #c25151; color: #fff; }
.tnk-btn--danger:hover { background: transparent; color: #e38585; }
.tnk-btn--ghost { background: transparent; border-color: #3a3f48; color: #fff; }
.tnk-btn--ghost:hover { border-color: #fff; color: #fff; }
.tnk-admin__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.tnk-admin__actions form { margin: 0; }
.tnk-admin__forms { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tnk-admin__form { padding: 20px 22px; background: #0d0f13; border: 1px solid #1d2026; border-radius: 14px; }
.tnk-admin__form h3 { margin: 0 0 14px; color: #daf37c; font-size: 1.1rem; }
.tnk-admin__ligne { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid #1d2026; }
.tnk-admin__ligne label { font-weight: 600; }
.tnk-admin__ligne input, .tnk-admin__ligne select { height: 36px; padding: 0 10px; border-radius: 6px; border: 1px solid #2a2e36; background: #0a0c0f; color: #fff; font: inherit; }
.tnk-admin__ligne input { width: 80px; text-align: center; }
.tnk-admin__ligne select { width: 220px; max-width: 60%; }
.tnk-admin__form .tnk-btn { margin-top: 16px; }
.tnk-admin__erreur { margin: 0 0 12px; padding: 10px 12px; border-radius: 8px; background: rgba(194, 81, 81, .15); color: #e38585; font-weight: 600; }
.tnk-admin__erreur[hidden] { display: none; }
.tnk-confirm { padding: 24px; max-width: 380px; border: 1px solid #1d2026; border-radius: 14px; background: #0d0f13; color: #fff; font-family: 'Barlow', system-ui, sans-serif; }
.tnk-confirm::backdrop { background: rgba(0, 0, 0, .7); }
.tnk-confirm p { margin: 0 0 18px; font-size: 1.05rem; font-weight: 600; }
.tnk-confirm div { display: flex; gap: 10px; }

/* ---------- Feuille de match ---------- */
.tnk-fm__resume { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.tnk-fm__resume > div { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; background: #0d0f13; border: 1px solid #1d2026; border-radius: 12px; min-width: 0; }
.tnk-fm__resume span { color: #6b6f77; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.tnk-fm__resume strong { font-family: 'Big Shoulders Display', 'Arial Narrow', sans-serif; font-weight: 800; font-size: 1.7rem; line-height: 1; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tnk-fm__resume small { font-family: 'Barlow', sans-serif; font-weight: 500; font-size: .85rem; color: #9da1a8; }
.tnk-fm__homme { border-color: rgba(218, 243, 124, .45) !important; }
.tnk-fm__homme a { text-decoration: none; }
.tnk-fm__homme strong { color: #daf37c; }

.tnk-feuille { display: grid; grid-template-columns: minmax(300px, 440px) 1fr; gap: 24px; align-items: start; }
.tnk-feuille--seule { grid-template-columns: 1fr; max-width: 680px; }

/* Terrain dessiné */
.tnk-pitch { position: relative; width: 100%; aspect-ratio: 400 / 560; border-radius: 14px; overflow: hidden; border: 1px solid #1d2026;
    background: repeating-linear-gradient(to bottom, #11151a 0, #11151a 10%, #0e1216 10%, #0e1216 20%); }
.tnk-pitch::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, rgba(218, 243, 124, .05), transparent 45%); }
.tnk-pitch__lignes { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(218, 243, 124, .22); stroke-width: 2; }
.tnk-pitch__lignes .plein { fill: rgba(218, 243, 124, .35); stroke: none; }
.tnk-pitch__lignes .but { stroke: rgba(255, 255, 255, .25); }
.tnk-pitch__sens { position: absolute; right: 12px; top: 50%; transform: translateY(-50%) rotate(90deg); transform-origin: right center; margin-top: -40px; color: rgba(218, 243, 124, .35); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; white-space: nowrap; }
.tnk-pitch__j { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 4px; color: #fff; text-decoration: none; z-index: 1; }
.tnk-pitch__maillot { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: #0a0c0f; border: 3px solid #0a0c0f; box-shadow: 0 0 0 2px rgba(255, 255, 255, .25), 0 6px 16px rgba(0, 0, 0, .5); font-family: 'Big Shoulders Display', 'Arial Narrow', sans-serif; font-weight: 900; font-size: 1.4rem; transition: transform .2s, background .2s; }
.tnk-pitch__j--homme .tnk-pitch__maillot { background: #daf37c; box-shadow: 0 0 0 2px #daf37c, 0 0 22px rgba(218, 243, 124, .45); }
.tnk-pitch__etoile { position: absolute; top: -10px; right: -10px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #0a0c0f; border: 1px solid #daf37c; color: #daf37c; font-style: normal; font-size: .75rem; }
.tnk-pitch__nom { padding: 2px 8px; border-radius: 4px; background: rgba(10, 12, 15, .88); font-weight: 700; font-size: .8rem; white-space: nowrap; }
.tnk-pitch__buts { display: flex; align-items: center; gap: 2px; color: #daf37c; font-size: .7rem; font-weight: 800; }
.tnk-pitch__j:hover .tnk-pitch__maillot, .tnk-pitch__j.is-actif .tnk-pitch__maillot { transform: scale(1.12); }
/* Grand terrain (foot à 8 et à 11) : maillots plus petits */
.tnk-pitch--grand .tnk-pitch__maillot { width: 32px; height: 32px; font-size: .95rem; border-width: 2px; }
.tnk-pitch--grand .tnk-pitch__nom { font-size: .68rem; padding: 1px 5px; }
.tnk-pitch--grand .tnk-pitch__etoile { top: -8px; right: -8px; width: 18px; height: 18px; font-size: .62rem; }
.tnk-pitch--grand .tnk-pitch__buts { font-size: .6rem; }

/* Composition par ligne */
.tnk-compo { display: flex; flex-direction: column; gap: 14px; }
.tnk-compo__ligne { padding: 14px 18px 4px; background: #0d0f13; border: 1px solid #1d2026; border-radius: 14px; }
.tnk-compo__ligne h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; color: #6b6f77; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.tnk-compo__ligne h3 span { color: #daf37c; }
.tnk-compo ol { margin: 0; padding: 0; list-style: none; }
.tnk-compo li a { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 14px; padding: 11px 0; border-top: 1px solid #1d2026; color: #fff; text-decoration: none; }
.tnk-compo li:first-child a { border-top: 0; }
.tnk-compo__num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #1d2026; font-family: 'Big Shoulders Display', 'Arial Narrow', sans-serif; font-weight: 800; font-size: 1.2rem; transition: background .2s, color .2s; }
.tnk-compo__nom { font-weight: 700; font-size: 1.05rem; transition: color .2s; min-width: 0; }
.tnk-compo__nom small { display: block; font-weight: 500; font-size: .82rem; color: #6b6f77; }
.tnk-compo__homme { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: rgba(218, 243, 124, .12); border: 1px solid rgba(218, 243, 124, .4); color: #daf37c; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; vertical-align: 2px; }
.tnk-compo__buts { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; color: #9da1a8; font-size: .85rem; white-space: nowrap; }
.tnk-compo__buts strong { font-family: 'Big Shoulders Display', 'Arial Narrow', sans-serif; font-weight: 800; font-size: 1.35rem; color: #daf37c; margin-right: 2px; }
.tnk-compo__buts--zero { color: #3a3f48; }
.tnk-compo__part { display: block; width: 70px; height: 4px; background: #1d2026; border-radius: 999px; overflow: hidden; }
.tnk-compo__part span { display: block; height: 100%; background: #daf37c; }
.tnk-compo a:hover .tnk-compo__nom, .tnk-compo a.is-actif .tnk-compo__nom { color: #daf37c; }
.tnk-compo a:hover .tnk-compo__num, .tnk-compo a.is-actif .tnk-compo__num { background: #daf37c; color: #0a0c0f; }
.tnk-compo__note { margin: 0; color: #6b6f77; font-size: .85rem; }

@media (max-width: 900px) {
    .tnk-feuille, .tnk-h2h, .tnk-admin__forms { grid-template-columns: 1fr; }
    .tnk-pitch { max-width: 440px; width: 100%; margin: 0 auto; }
    .tnk-fm__resume { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .tnk-match { padding: 16px 16px 44px; }
    .tnk-score { padding: 20px 14px 22px; }
    .tnk-score__affiche { gap: 8px; }
    .tnk-score__equipe img { width: 64px; height: 64px; }
    .tnk-score__nom { font-size: 1.1rem; }
    .tnk-score__centre { min-width: 0; }
    .tnk-score__chiffres { font-size: 3.4rem; }
    .tnk-score__vs { font-size: 3rem; }
    .tnk-score__date { font-size: .82rem; text-align: center; max-width: 15ch; }
    .tnk-match__titre h2 { font-size: 1.6rem; }
}
@media (prefers-reduced-motion: reduce) { .tnk-pitch__maillot { transition: none; } }

@media (max-width: 600px) {
    .tnk-fm__resume strong { font-size: 1.35rem; }
    .tnk-pitch__maillot { width: 40px; height: 40px; font-size: 1.15rem; }
    .tnk-pitch__nom { font-size: .72rem; }
    .tnk-pitch__sens { display: none; }
}

/* Compte à rebours avant le match */
.tnk-score__statut--cd { background: none !important; padding: 0 !important; border: 0 !important; text-transform: none !important; letter-spacing: 0 !important; }
.tnk-cd--blocs { display: inline-flex; gap: 8px; font-variant-numeric: tabular-nums; }
.tnk-cd--blocs .tnk-cd__bloc { display: flex; flex-direction: column; align-items: center; min-width: 56px; padding: 8px 6px 6px; border: 1px solid #2a2e36; border-radius: 10px; background: #0a0c0f; }
.tnk-cd--blocs b { font-family: 'Big Shoulders Display', 'Arial Narrow', sans-serif; font-weight: 900; font-size: 1.9rem; line-height: 1; color: #daf37c; }
.tnk-cd--blocs small { margin-top: 3px; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #9da1a8; }
.tnk-cd--fixe { display: inline-block; padding: 5px 12px; border-radius: 999px; background: #daf37c; color: #0a0c0f; font-weight: 700; font-size: .9rem; }
/* Boutons agenda */
.tnk-score__agenda { display: flex; justify-content: center; margin-top: 22px; }
.tnk-agenda { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tnk-agenda__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 1px solid #daf37c; border-radius: 10px; background: #daf37c; color: #0a0c0f !important; font-weight: 700; font-size: .92rem; text-decoration: none; transition: background .2s, color .2s; }
.tnk-agenda__btn i { font-size: 1.2rem; }
.tnk-agenda__btn:hover, .tnk-agenda__btn:focus-visible { background: transparent; color: #daf37c !important; }
.tnk-agenda__btn--google { background: transparent; border-color: #3a3f47; color: #fff !important; }
.tnk-agenda__btn--google:hover, .tnk-agenda__btn--google:focus-visible { border-color: #daf37c; }
@media (max-width: 600px) {
    .tnk-cd--blocs { gap: 4px; }
    .tnk-cd--blocs .tnk-cd__bloc { min-width: 36px; padding: 5px 3px 4px; border-radius: 8px; }
    .tnk-cd--blocs .tnk-cd__bloc:last-child { display: none; } /* secondes masquées sur téléphone */
    .tnk-cd--blocs b { font-size: 1.2rem; }
    .tnk-cd--blocs small { font-size: .52rem; letter-spacing: .03em; }
}
.tnk-admin__note { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; color: #9da1a8; font-size: .92rem; }
.tnk-admin__note i { color: #daf37c; font-size: 1.2rem; }
.tnk-admin__note a { color: #daf37c; font-weight: 700; }

/* Image du résultat à partager */
.tnk-score__partage { display: flex; justify-content: center; margin-top: 18px; }
.tnk-partage__ouvrir { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border: 1px solid #2a2e36; border-radius: 999px; background: transparent; color: #fff; font: 700 .92rem 'Barlow', system-ui, sans-serif; cursor: pointer; transition: border-color .2s, color .2s; }
.tnk-partage__ouvrir i { color: #daf37c; font-size: 1.15rem; }
.tnk-partage__ouvrir:hover, .tnk-partage__ouvrir:focus-visible { border-color: #daf37c; color: #daf37c; outline: none; }
.tnk-partage { width: min(560px, calc(100% - 24px)); max-height: calc(100% - 24px); padding: 18px; border: 1px solid #2a2e36; border-radius: 16px; background: #0d0f13; color: #fff; font-family: 'Barlow', system-ui, sans-serif; box-shadow: 0 24px 60px rgba(0, 0, 0, .6); }
.tnk-partage::backdrop { background: rgba(0, 0, 0, .7); }
.tnk-partage__tete { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.tnk-partage h2 { margin: 0; font-family: 'Big Shoulders Display', 'Arial Narrow', sans-serif; font-weight: 800; font-size: 1.5rem; text-transform: uppercase; }
.tnk-partage__formats { display: flex; gap: 6px; }
.tnk-partage__formats button { padding: 6px 12px; border: 1px solid #2a2e36; border-radius: 999px; background: transparent; color: #d4d6da; font: 700 .82rem 'Barlow', system-ui, sans-serif; cursor: pointer; }
.tnk-partage__formats button[aria-pressed="true"] { background: #daf37c; border-color: #daf37c; color: #0a0c0f; }
.tnk-partage canvas { display: block; width: 100%; height: auto; max-height: 62vh; object-fit: contain; margin: 0 auto; border-radius: 10px; background: #0a0c0f; }
.tnk-partage canvas.is-story { width: auto; max-width: 100%; }
.tnk-partage__actions { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.tnk-partage__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 1px solid #daf37c; border-radius: 10px; background: #daf37c; color: #0a0c0f; font: 700 .9rem 'Barlow', system-ui, sans-serif; cursor: pointer; }
.tnk-partage__btn[hidden] { display: none; }
.tnk-partage__btn--ghost { background: transparent; border-color: #2a2e36; color: #fff; }
.tnk-partage__note { margin: 10px 0 0; color: #6b6f77; font-size: .82rem; }

/* Vote : homme du match */
.tnk-vote__intro { margin: -6px 0 14px; color: #9da1a8; font-size: .92rem; }
.tnk-vote__connexion { padding: 0; border: 0; background: none; color: #daf37c; font: 700 .92rem 'Barlow', system-ui, sans-serif; text-decoration: underline; cursor: pointer; }
.tnk-vote__liste { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.tnk-vote__choix { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 14px; overflow: hidden; border: 1px solid #1d2026; border-radius: 12px; background: #0d0f13; color: #fff; text-align: left; font: inherit; cursor: pointer; transition: border-color .2s; }
.tnk-vote__choix:hover:not(:disabled) { border-color: #daf37c; }
.tnk-vote__choix:disabled { cursor: default; }
.tnk-vote__choix > span:not(.tnk-vote__barre) { position: relative; }
.tnk-vote__barre { position: absolute; inset: 0 auto 0 0; background: rgba(218, 243, 124, .08); transition: width .4s; }
.tnk-vote__choix.is-tete .tnk-vote__barre { background: rgba(218, 243, 124, .16); }
.tnk-vote__choix.is-mien { border-color: #daf37c; }
.tnk-vote__num { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px; background: #1d2026; font-family: 'Big Shoulders Display', 'Arial Narrow', sans-serif; font-weight: 900; font-size: 1.2rem; }
.tnk-vote__choix.is-tete .tnk-vote__num { background: #daf37c; color: #0a0c0f; }
.tnk-vote__nom { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.tnk-vote__nom small { color: #9da1a8; font-size: .8rem; }
.tnk-vote__choix.is-mien .tnk-vote__nom small { color: #daf37c; }
.tnk-vote__score { display: flex; flex-direction: column; align-items: flex-end; font-weight: 800; color: #daf37c; }
.tnk-vote__score small { color: #6b6f77; font-size: .74rem; font-weight: 600; }
.tnk-vote__retirer { margin-top: 10px; }
.tnk-vote__retirer button { padding: 0; border: 0; background: none; color: #9da1a8; font: 600 .85rem 'Barlow', system-ui, sans-serif; text-decoration: underline; cursor: pointer; }

/* Commentaires */
.tnk-com__form { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px; }
.tnk-com__avatar { display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; background: #1d2026; color: #daf37c; font-weight: 800; font-size: .82rem; }
.tnk-com__avatar.is-admin { background: #daf37c; color: #0a0c0f; }
.tnk-com__saisie { flex: 1; min-width: 0; }
.tnk-com__saisie textarea { width: 100%; box-sizing: border-box; min-height: 64px; padding: 10px 12px; border: 1px solid #2a2e36; border-radius: 12px; background: #0d0f13; color: #fff; font: 500 .95rem/1.45 'Barlow', system-ui, sans-serif; resize: vertical; }
.tnk-com__saisie textarea:focus { outline: none; border-color: #daf37c; }
.tnk-com__bas { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.tnk-com__bas small { color: #6b6f77; font-size: .78rem; }
.tnk-com__bas button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border: 1px solid #daf37c; border-radius: 999px; background: #daf37c; color: #0a0c0f; font: 700 .9rem 'Barlow', system-ui, sans-serif; cursor: pointer; }
.tnk-com__erreur { display: flex; align-items: flex-start; gap: 6px; margin: 0 0 8px; padding: 9px 12px; border-radius: 10px; border: 1px solid rgba(194, 81, 81, .45); background: rgba(194, 81, 81, .1); color: #e38585; font-size: .88rem; font-weight: 600; }
.tnk-com__invite, .tnk-com__vide { display: flex; align-items: center; gap: 6px; margin: 0 0 14px; color: #9da1a8; }
.tnk-com__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tnk-com__item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid #1d2026; border-radius: 12px; background: #0d0f13; }
.tnk-com__item > div { flex: 1; min-width: 0; }
.tnk-com__tete { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 4px; font-size: .9rem; }
.tnk-com__tete time { color: #6b6f77; font-size: .8rem; }
.tnk-com__joueur { display: inline-flex; align-items: center; gap: 3px; padding: 1px 8px; border-radius: 999px; border: 1px solid rgba(218, 243, 124, .4); color: #daf37c !important; font-size: .74rem; font-weight: 700; text-decoration: none; }
.tnk-com__texte { margin: 0; color: #e6e8eb; line-height: 1.5; overflow-wrap: anywhere; }
.tnk-com__suppr { margin: 0; }
.tnk-com__suppr button { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid transparent; border-radius: 8px; background: none; color: #6b6f77; font-size: 1.1rem; cursor: pointer; }
.tnk-com__suppr button:hover { border-color: #c25151; color: #e38585; }
.tnk-match__tout { margin-left: auto; color: #daf37c; font-weight: 700; font-size: .9rem; text-decoration: none; } .tnk-match__tout:hover { text-decoration: underline; }

/* Notes des joueurs (sur 10) */
.tnk-notes__liste { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.tnk-notes__j { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid #1d2026; border-radius: 12px; background: #0d0f13; }
.tnk-notes__moy { display: grid; place-items: center; flex: none; width: 46px; height: 34px; border-radius: 8px; background: #1d2026; color: #9da1a8; font: 900 1.15rem/1 'Big Shoulders Display', 'Arial Narrow', sans-serif; }
.tnk-notes__moy.is-top { background: #daf37c; color: #0a0c0f; }
.tnk-notes__moy.is-bien { background: #5fbf6a; color: #0a0c0f; }
.tnk-notes__moy.is-moyen { background: #e3b341; color: #0a0c0f; }
.tnk-notes__moy.is-faible { background: #c25151; color: #fff; }
.tnk-notes__nom { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.tnk-notes__nom strong { color: #fff; }
.tnk-notes__nom small { color: #9da1a8; font-size: .82rem; }
.tnk-notes__choix { flex: none; height: 36px; padding: 0 8px; border: 1px solid #2a2e36; border-radius: 9px; background: #0a0c0f; color: #fff; font: 700 .92rem 'Barlow', system-ui, sans-serif; cursor: pointer; }
.tnk-notes__choix:focus { outline: 2px solid #daf37c; outline-offset: 1px; }
.tnk-notes__toi { flex: none; color: #9da1a8; font-size: .82rem; font-weight: 700; }
.tnk-notes__actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; }
.tnk-notes__btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; border: 1px solid #daf37c; border-radius: 999px; background: #daf37c; color: #0a0c0f; font: 700 .95rem 'Barlow', system-ui, sans-serif; cursor: pointer; }
