/* Teamazo · Après-match « tableau de fin de match » et onglet « Saison » : TOUTES leurs règles. */

/* --- Après-match (11 octobre 2026, « tableau de fin de match ») : bandeau « Qui a gagné ? » (3 choix de même
   poids), une seule liste de tous les joueurs (rang en gros chiffres, liseré d’équipe, prénom, poste, note, poignée),
   carte « Blason » du n°1 à droite avec « Archiver », « Image » et un résumé du match. Sobre : ni lueur, ni particule,
   l’or, l’argent et le bronze en fines touches. La page défile ; sur téléphone, « Archiver » reste collé en bas
   (au-dessus de la barre des modes, --pm-tabs posé par fitPostmatch). --- */
.mt-view {
  display: grid;
  gap: 18px;
  max-width: 1120px;
  margin: 14px auto 0;
}
.mt-view[hidden] {
  display: none;
}

/* Bandeau « Qui a gagné ? » : un tableau de score sombre (dans les 2 thèmes), dégradés aux couleurs des équipes. */
.rb {
  overflow: hidden;
  border: 1px solid #222a22;
  border-radius: 10px;
  background: var(--board, #0b0f0c);
  color: #f1f4ed;
}
.rb-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid #1d241d;
}
.rb-head h2 {
  margin: 0;
  color: #8f998e;
  font: 700 13px/1 var(--display);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.rb-verdict {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: var(--lime);
  font: 800 18px/1 var(--display);
  letter-spacing: 1px;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.rb.has-winner .rb-verdict {
  color: #f1f4ed;
}
.rb-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: #1d241d;
}
.rb-choice {
  --team: #f1f4ed;
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  min-width: 0;
  min-height: 98px;
  margin: 0;
  padding: 14px 16px;
  overflow: hidden;
  border: 0;
  background: #0d110e;
  color: #f1f4ed;
  font: inherit;
  text-align: center;
  cursor: pointer;
  transition: opacity 0.15s;
}
.rb-choice::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--team), transparent 78%);
  opacity: 0.18;
  transition: opacity 0.15s;
}
#rb-b::before {
  background: linear-gradient(225deg, var(--team), transparent 78%);
}
.rb-draw::before {
  background: linear-gradient(180deg, #ffffff, transparent 85%);
  opacity: 0.05;
}
.rb-choice::after {
  content: '';
  position: absolute;
  inset: 0;
  border-bottom: 4px solid transparent;
  pointer-events: none;
}
.rb-choice > * {
  position: relative;
  max-width: 100%;
}
.rb-choice small {
  color: #8f998e;
  font: 700 11px/1 var(--font);
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
.rb-choice strong {
  overflow: hidden;
  font: 800 25px/1.05 var(--display);
  letter-spacing: 0.5px;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.rb-tag {
  visibility: hidden;
  padding: 4px 9px 3px;
  border-radius: 3px;
  background: #f1f4ed;
  color: #0b0e0c;
  font: 800 12px/1 var(--display);
  font-style: normal;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
@media (hover: hover) {
  .rb-choice:not(.is-winner):hover::before {
    opacity: 0.32;
  }
  .rb-draw:not(.is-winner):hover::before {
    opacity: 0.1;
  }
}
.rb-choice:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: -2px;
}
/* Le choix fait : dégradé plus franc, cadre et filet du bas à sa couleur, étiquette visible. */
.rb-choice.is-winner::before {
  opacity: 0.55;
}
.rb-draw.is-winner::before {
  opacity: 0.16;
}
.rb-choice.is-winner::after {
  border-bottom-color: var(--team);
  box-shadow: inset 0 0 0 2px var(--team);
}
.rb-choice.is-winner .rb-tag {
  visibility: visible;
}
.rb.has-winner .rb-choice:not(.is-winner) {
  opacity: 0.5;
}
.rb.has-winner .rb-choice:not(.is-winner):hover {
  opacity: 0.8;
}

/* Corps : le classement à gauche, l’homme du match à droite. */
.mt-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: start;
  gap: 28px;
}
.mt-board {
  position: relative;
  min-width: 0;
}
.mt-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.mt-head h2 {
  margin: 0;
  font: 800 22px/1 var(--display);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.mt-note {
  color: var(--muted);
  font: 600 13px/1 var(--font);
}
.mt-note.is-done {
  color: var(--lime);
}
.mt-tools {
  display: flex;
  gap: 2px;
  margin-left: auto;
}
.mt-tools .subtle-btn {
  min-height: 32px;
  padding: 0 9px;
  font-size: 13px;
}
.mt-tools .icon {
  width: 15px;
  height: 15px;
}

/* La liste : rang en gros chiffres condensés, liseré d’équipe, prénom, poste, note du palier, poignée. */
.mt-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mt-row {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 56px 58px 34px;
  align-items: center;
  height: 52px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--team);
  border-radius: 6px;
  background: var(--raised);
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.mt-rank {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  margin: 0;
  padding: 0;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.mt-rank b {
  font: 800 30px/1 var(--display);
  letter-spacing: 0.5px;
  font-variant-numeric: tabular-nums;
}
@media (hover: hover) {
  .mt-rank:hover {
    background: #ffffff0a;
    color: var(--white);
  }
}
.mt-rank:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: -2px;
}
.mt-who {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding-left: 16px;
}
.mt-who strong {
  min-width: 0;
  overflow: hidden;
  font: 700 21px/1 var(--display);
  letter-spacing: 0.8px;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.mt-role {
  color: var(--muted);
  font: 700 12px/1 var(--display);
  letter-spacing: 1.2px;
  text-align: center;
}
.mt-row .pm-rate {
  justify-self: center;
  min-width: 40px;
  padding: 5px 6px 4px;
  border-radius: 4px;
  font: 800 15px/1 var(--display);
  text-align: center;
}
.mt-grip {
  display: grid;
  place-items: center;
  align-self: stretch;
  color: var(--muted);
  opacity: 0.6;
  touch-action: none;
}
.mt-grip .icon {
  width: 16px;
  height: 16px;
}
/* Top 3 : lignes un peu plus hautes, numéro et fin liseré en métal (or, argent, bronze). */
.mt-row.medal-gold {
  --metal: linear-gradient(180deg, #fff2c2 0%, #e8c15c 48%, #a87a22 100%);
  --metal-line: linear-gradient(90deg, #e8c15c, #e8c15c00 70%);
}
.mt-row.medal-silver {
  --metal: linear-gradient(180deg, #ffffff 0%, #c9d1da 50%, #8794a1 100%);
  --metal-line: linear-gradient(90deg, #c9d1da, #c9d1da00 70%);
}
.mt-row.medal-bronze {
  --metal: linear-gradient(180deg, #ffdcbd 0%, #d38f56 50%, #8e5126 100%);
  --metal-line: linear-gradient(90deg, #d38f56, #d38f5600 70%);
}
:root[data-theme='light'] .mt-row.medal-gold {
  --metal: linear-gradient(180deg, #d9a93a 0%, #a87a22 55%, #6d4c10 100%);
}
:root[data-theme='light'] .mt-row.medal-silver {
  --metal: linear-gradient(180deg, #9aa6b2 0%, #6b7784 55%, #46505b 100%);
  --metal-line: linear-gradient(90deg, #8794a1, #8794a100 70%);
}
:root[data-theme='light'] .mt-row.medal-bronze {
  --metal: linear-gradient(180deg, #c98547 0%, #9a5a28 55%, #6b3a16 100%);
}
.mt-row.is-top {
  height: 62px;
}
.mt-row.is-top::before {
  content: '';
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: var(--metal-line);
}
.mt-row.is-top .mt-rank b {
  background: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 36px;
}
.mt-row.is-top .mt-who strong {
  font-size: 24px;
}
.mt-mvp {
  flex: none;
  padding: 4px 7px 3px;
  border: 1px solid #c9a24a99;
  border-radius: 3px;
  color: #c9a24a;
  font: 700 11px/1 var(--display);
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
:root:not([data-theme='light']) .mt-mvp {
  border-color: #e8c15c80;
  color: #e8c15c;
}
/* Petit filet après le 3e. */
.mt-row.is-third {
  margin-bottom: 12px;
}
.mt-row.is-third::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 1px;
  background: var(--line);
}
/* Ligne attrapée : elle se soulève à peine, sans lueur. */
.mt-row.is-lifted {
  z-index: 5;
  box-shadow: 0 12px 26px #0000008c;
  cursor: grabbing;
}
.mt-view.is-dragging,
.mt-view.is-dragging * {
  cursor: grabbing;
}
@media (prefers-reduced-motion: no-preference) {
  .mt-view.is-dragging .mt-row:not(.is-lifted) {
    transition: transform 0.15s cubic-bezier(0.2, 0.7, 0.3, 1);
  }
}
.room-readonly .mt-row {
  cursor: default;
}
.room-readonly .mt-grip {
  visibility: hidden;
}
.mt-empty {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 30px 12px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}
.mt-empty .icon {
  width: 34px;
  height: 34px;
}
.mt-empty strong {
  color: var(--white);
  font: 800 20px/1.1 var(--display);
  text-transform: uppercase;
}

/* « Placer X à la place … » : petite grille 1 … N sous le numéro touché. */
.mt-picker {
  position: absolute;
  left: 0;
  z-index: 30;
  width: min(100%, 300px);
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 40px #00000073;
}
.mt-picker[hidden] {
  display: none;
}
.mt-picker header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 10px;
  color: var(--muted);
  font: 600 13px/1 var(--font);
}
.mt-picker header strong {
  color: var(--white);
  font: 700 17px/1 var(--display);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.mt-picker-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 5px;
}
.mt-picker-grid button {
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--raised);
  color: var(--white);
  font: 800 18px/1 var(--display);
  cursor: pointer;
}
.mt-picker-grid .medal-gold {
  color: #c9a24a;
}
.mt-picker-grid .medal-silver {
  color: #8f9aa6;
}
.mt-picker-grid .medal-bronze {
  color: #c07a42;
}
.mt-picker-grid button:focus {
  outline: none;
}
.mt-picker-grid button:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 1px;
}
.mt-picker-grid button[aria-current] {
  border-color: var(--lime);
  box-shadow: inset 0 0 0 1px var(--lime);
}
@media (hover: hover) {
  .mt-picker-grid button:hover {
    border-color: var(--muted);
  }
}

/* Homme du match : la carte du n°1, sobre (ni reflet ni montée au survol), mise à jour en direct. */
.mt-side {
  position: sticky;
  top: 12px;
  display: grid;
  gap: 14px;
}
.mt-side[hidden] {
  display: none;
}
.mt-mvp-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid #c9a24a59;
  color: #c9a24a;
  font: 700 13px/1 var(--display);
  letter-spacing: 2px;
  text-transform: uppercase;
}
:root:not([data-theme='light']) .mt-mvp-head {
  border-bottom-color: #e8c15c59;
  color: #e8c15c;
}
.mt-mvp-head small {
  color: var(--muted);
  font: 600 12px/1 var(--font);
  letter-spacing: 0;
  text-transform: none;
}
.mt-mvp-head small[hidden] {
  display: none;
}
.mt-card {
  width: 270px;
  margin: 0 auto;
}
.mt-card .tc {
  --w: 100%;
}
.mt-card .tc-gloss {
  display: none;
}
.mt-card .tc:hover .tc-body {
  transform: none;
}
.mt-mvp-name,
.mt-card.is-small {
  display: none;
}
.mt-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}
.mt-actions .primary-btn,
.mt-actions .outline-btn {
  justify-content: center;
  min-height: 50px;
  border-radius: 6px;
  box-shadow: none;
}
.mt-actions .primary-btn {
  font: 800 18px/1 var(--display);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.mt-actions .primary-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.mt-actions .primary-btn.is-saved:not(:disabled) {
  border: 1px solid var(--lime);
  background: transparent;
  color: var(--lime);
}
.mt-actions .icon {
  width: 18px;
  height: 18px;
}
/* Petit résumé du match : vainqueur, date, joueurs, format. */
.mt-summary {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--line);
}
.mt-summary div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.mt-summary dt {
  color: var(--muted);
  font: 700 12px/1.2 var(--display);
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.mt-summary dd {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  font: 700 14px/1.2 var(--display);
  letter-spacing: 0.4px;
  text-align: right;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Téléphone et tablette (< 900 px) : bandeau, carte du n°1 en petit, liste, résumé, « Archiver » collé en bas. */
@media (max-width: 899px) {
  .mt-view {
    gap: 12px;
    margin-top: 4px;
  }
  .rb-head {
    padding: 9px 12px;
  }
  .rb-head h2 {
    font-size: 11px;
    letter-spacing: 1.4px;
  }
  .rb-verdict {
    font-size: 14px;
  }
  .rb-choice {
    min-height: 72px;
    padding: 10px 6px;
    gap: 5px;
  }
  .rb-choice small {
    display: none;
  }
  .rb-choice strong {
    display: -webkit-box;
    font-size: 16px;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .rb-tag {
    padding: 3px 6px 2px;
    font-size: 10px;
    letter-spacing: 1px;
  }
  .mt-body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .mt-side {
    display: contents;
  }
  .mt-mvp-head {
    display: none;
  }
  .mt-mvp-main {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    order: -1;
    padding: 12px;
    border: 1px solid var(--line);
    border-top-color: #c9a24a80;
    border-radius: 8px;
    background: var(--panel);
  }
  .mt-card {
    width: 104px;
  }
  .mt-card.is-full {
    display: none;
  }
  .mt-card.is-small {
    display: block;
  }
  .mt-mvp-name {
    display: grid;
    gap: 6px;
    min-width: 0;
  }
  .mt-mvp-name strong {
    overflow: hidden;
    font: 800 28px/1 var(--display);
    letter-spacing: 0.6px;
    text-overflow: ellipsis;
    text-transform: uppercase;
  }
  .mt-mvp-name small {
    color: var(--muted);
    font: 600 12px/1.3 var(--font);
  }
  .mt-mvp-name .mt-mvp-tag {
    color: #c9a24a;
    font: 700 11px/1 var(--display);
    letter-spacing: 2px;
    text-transform: uppercase;
  }
  .mt-summary {
    order: 1;
  }
  .mt-view .partner-strip {
    order: 2;
  }
  /* « Archiver » collé en bas de l’écran, au-dessus de la barre des modes. Il est le dernier du flux : en bas de la
     page, il se pose sous le résumé et ne cache jamais le dernier joueur. */
  .mt-actions {
    position: sticky;
    bottom: calc(var(--pm-tabs, 0px) + 8px);
    z-index: 15;
    order: 3;
    padding-top: 10px;
    background: linear-gradient(180deg, transparent, var(--bg) 26%);
  }
  .mt-head {
    gap: 6px 10px;
  }
  .mt-head h2 {
    font-size: 19px;
  }
  .mt-note {
    font-size: 12px;
  }
  .mt-tools {
    width: 100%;
    margin-left: 0;
  }
  .mt-tools .subtle-btn {
    padding: 0 8px 0 0;
  }
  .mt-row {
    grid-template-columns: 46px minmax(0, 1fr) 36px 46px 30px;
    height: 48px;
  }
  .mt-row.is-top {
    height: 54px;
  }
  .mt-rank b {
    font-size: 24px;
  }
  .mt-row.is-top .mt-rank b {
    font-size: 28px;
  }
  .mt-who {
    gap: 8px;
    padding-left: 10px;
  }
  .mt-who strong,
  .mt-row.is-top .mt-who strong {
    font-size: 18px;
  }
  .mt-mvp {
    padding: 3px 5px 2px;
    font-size: 9px;
    letter-spacing: 1px;
  }
  .mt-role {
    font-size: 11px;
  }
  .mt-row .pm-rate {
    min-width: 34px;
    padding: 4px 4px 3px;
    font-size: 13px;
  }
  .mt-picker {
    width: 100%;
  }
}
@media (max-width: 899px) and (min-width: 600px) {
  .mt-mvp-main {
    grid-template-columns: 130px minmax(0, 1fr);
  }
  .mt-card {
    width: 130px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rb-choice,
  .rb-choice::before {
    transition: none;
  }
}

/* Notes aux couleurs des 5 paliers (comme le vestiaire et la feuille de match). */
.pm-rate.tier-bronze {
  background: linear-gradient(160deg, #f8d3ae, #c47c46 55%, #7a3f1d);
  color: #2b1206;
}
.pm-rate.tier-silver {
  background: linear-gradient(160deg, #ffffff, #c9d1da 55%, #8996a4);
  color: #17202a;
}
.pm-rate.tier-gold {
  background: linear-gradient(160deg, #fff3c4, #e8bf55 55%, #a6761b);
  color: #2a1b02;
}
.pm-rate.tier-platinum {
  background: linear-gradient(160deg, #ffffff, #b8f0f7 50%, #5fd0e6);
  box-shadow: inset 0 0 0 1px #ffffffb3;
  color: #0a1f4d;
}
.pm-rate.tier-elite {
  background: linear-gradient(160deg, #2e2412, #120e07 60%, #020202);
  box-shadow: inset 0 0 0 1px #ffcf4a;
  color: #ffcf4a;
}

/* --- Onglet « Saison » (11 octobre 2026) : récompenses en tuiles, tableau façon jeu, bilan et forme comme
   sur la carte « Blason ». --- */
.season-page {
  margin-top: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}
.season-page[hidden] {
  display: none;
}
.season-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.season-top .season-muted {
  margin: 0;
  color: var(--muted);
  font: 800 italic 15px/1.2 var(--display);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.season-page .season-award {
  border-left: 0;
  background: linear-gradient(135deg, #f2c14e2b, var(--raised) 60%);
  transform: skewX(-4deg);
}
.season-page .season-award > * {
  transform: skewX(4deg);
}
.season-page .season-award::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--gold);
}
.season-page .award-leader {
  background: linear-gradient(135deg, var(--soft, #26321b), var(--raised) 60%);
}
.season-page .award-leader::before {
  background: var(--lime);
}
.season-page .award-leader small,
.season-page .award-leader .icon {
  color: var(--lime);
}
.season-page .award-hot {
  background: linear-gradient(135deg, #ff7a3d2b, var(--raised) 60%);
}
.season-page .award-hot::before {
  background: #ff8a4c;
}
.season-page .award-hot small,
.season-page .award-hot .icon {
  color: #ff8a4c;
}
.season-page .season-row {
  grid-template-columns: 34px minmax(0, 1fr) 40px minmax(110px, 190px) 44px 44px 118px;
  gap: 8px;
}
.season-page .season-head {
  font: 800 italic 13px/1 var(--display);
}
.season-page .season-rank {
  display: grid;
  place-items: center;
  height: 28px;
  border-radius: 6px;
  background: var(--line);
  color: var(--white);
  transform: skewX(-10deg);
}
.season-page .top-1 .season-rank {
  background: linear-gradient(160deg, #fff3c4, #f2c14e 55%, #a6761b);
  color: #2a1b02;
}
.season-page .top-2 .season-rank {
  background: linear-gradient(160deg, #ffffff, #c9d1da 55%, #8996a4);
  color: #17202a;
}
.season-page .top-3 .season-rank {
  background: linear-gradient(160deg, #f8d3ae, #c47c46 55%, #7a3f1d);
  color: #2b1206;
}
.season-page .season-row.top {
  box-shadow: none;
}
.season-page .season-player strong {
  font: 800 italic 17px/1.1 var(--display);
  text-transform: uppercase;
}
.season-num {
  font: 800 italic 18px/1 var(--display);
}
/* Bilan V / N / D et forme en 5 pastilles, comme sur la carte (bilanBar, formPills). */
.bilan {
  position: relative;
  display: flex;
  height: 20px;
  overflow: hidden;
  border-radius: 5px;
  isolation: isolate;
}
.bilan.is-empty::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--muted);
  opacity: 0.25;
}
.bilan i {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #fff;
  font: 800 13px/1 var(--display);
  font-style: normal;
}
.bilan i + i {
  box-shadow: inset 1px 0 #00000047;
}
.bilan small {
  font: 700 10px/1 var(--display);
  opacity: 0.85;
}
.form-pills {
  display: inline-flex;
  gap: 3px;
}
.form-pills i {
  display: grid;
  place-items: center;
  width: 20px;
  height: 18px;
  border-radius: 4px;
  color: #fff;
  font: 800 12px/1 var(--display);
  font-style: normal;
}
.form-pills .f-x {
  background: var(--line);
}
.bilan .f-v,
.form-pills .f-v {
  background: #1fae55;
}
.bilan .f-n,
.form-pills .f-n {
  background: #8b948d;
}
.bilan .f-d,
.form-pills .f-d {
  background: #e0434e;
}
@media (max-width: 760px) {
  .season-page {
    margin-top: 0;
    padding: 10px;
  }
  .season-top {
    align-items: flex-start;
  }
  .season-page .season-row {
    grid-template-columns: 28px minmax(0, 1fr) 30px 38px 30px;
    grid-template-areas:
      'rank player mj pts hdm'
      '. bilan form form form';
    gap: 6px;
  }
  .season-page .season-row > :nth-child(1) {
    grid-area: rank;
  }
  .season-page .season-row > :nth-child(2) {
    grid-area: player;
  }
  .season-page .season-row > :nth-child(3) {
    grid-area: mj;
  }
  .season-page .season-row > :nth-child(4) {
    grid-area: bilan;
  }
  .season-page .season-row > :nth-child(5) {
    grid-area: pts;
  }
  .season-page .season-row > :nth-child(6) {
    grid-area: hdm;
  }
  .season-page .season-row > :nth-child(7) {
    grid-area: form;
    justify-self: end;
  }
  .season-page .form-pills {
    gap: 2px;
  }
  .season-page .form-pills i {
    width: 18px;
  }
  .season-page .season-head > :nth-child(4),
  .season-page .season-head > :nth-child(7) {
    display: none;
  }
}
