/* ============================================================
   rugbystats.fr — stylefoot
   Redesign 2025 : sobre, lisible, style journal sportif moderne
   Palette : blanc / gris clair / teal #1a6b5a / vert fonce #124a3f
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: #f0f2f5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 13px;
  color: #222;
  width: 100%;
}

#global {
  position: absolute;
  width: 100%;
  background: #fff;
}

/* ── BANDEAU HAUT ── */
#menuhaut {
  width: 100%;
  background: #124a3f;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 16px;
  border-bottom: 3px solid #1a6b5a;
  text-align: center;
  position: relative;
}

/* ── WRAPPER COLONNES (ancre l'alignement menus/corps) ── */
#content-area {
  position: relative;
}

/* ── MENU GAUCHE ── */
#menugauche {
  position: absolute;
  top: 0;
  margin-top: 0;
  left: 0%;
  width: 13%;
  background-color: #165244;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 12px;
}

#menugauche h2 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  font-size: 11px;
  color: #fff;
  background-color: #1a6b5a;
  border-left: 3px solid rgba(255,255,255,0.3);
  margin: 0;
  padding: 6px 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#menugauche a {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 12px;
  display: block;
  color: rgba(255,255,255,0.85);
  text-align: left;
  line-height: normal;
  height: auto;
  width: auto;
  margin: 0;
  padding: 6px 8px 6px 20px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.15s, color 0.15s, padding-left 0.15s;
}

#menugauche a:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  padding-left: 24px;
  text-decoration: none;
}

#menugauche ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  text-align: left;
}

#menugauche li h2 {
  margin: 0;
  padding: 6px 8px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  background-color: #1a6b5a;
  border-left: 3px solid rgba(255,255,255,0.3);
  width: 100%;
  letter-spacing: 0.5px;
}

#menugauche li {
  margin: 0;
  padding: 0;
}

/* Titres de section menu droite */
#menudroite > ul > li:has(> ul) {
  background-color: #124a3f;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 10px;
  text-align: center;
  border-bottom: none;
}

#menudroite > ul > li:has(> ul) > ul {
  background-color: #fff;
  padding: 4px 0;
  margin: 0 -10px;
}

/* Titres de section menu gauche (li contenant un ul) */
#menugauche > ul > li:has(> ul) {
  background-color: #1a6b5a;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 6px 10px;
  margin-top: 0;
  border-bottom: none;
}

#menugauche > ul > li:has(> ul) > ul {
  background-color: #165244;
  margin: 0 -10px;
}

#menugauche li a {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 12px;
  font-weight: normal;
  color: rgba(255,255,255,0.82);
  text-align: left;
  text-transform: none;
  line-height: normal;
  width: auto;
  margin: 0;
  padding: 7px 8px 7px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

#menugauche li a:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  padding-left: 18px;
  text-decoration: none;
}

#pub {
  margin: auto;
  width: 100%;
  display: none;
  z-index: 4;
}

#corps {
  position: relative;
  margin-top: 0;
  margin-left: 15%;
  width: 70%;
  z-index: 4;
}

#dwindow {
  position: absolute;
  background-color: #f0f7f5;
  border: 1px solid #a8d5c8;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  z-index: 44;
}

#menudroite {
  position: absolute;
  top: 0;
  margin-top: 0;
  right: 0;
  width: 13%;
  background-color: #f7f8fa;
  border-left: 1px solid #dde3ea;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 12px;
}

#menudroite h1 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  background-color: #124a3f;
  border-left: 3px solid #1a6b5a;
  width: 100%;
  margin: 0;
  padding: 6px 8px;
  letter-spacing: 0.5px;
}

#menudroite h2 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  font-size: 11px;
  color: #fff;
  background-color: #124a3f;
  border-left: 3px solid #1a6b5a;
  margin: 0;
  padding: 6px 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#menudroite a {
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 12px;
  color: #333;
  text-align: left;
  line-height: normal;
  height: auto;
  width: auto;
  margin: 0;
  padding: 5px 8px;
  text-decoration: none;
  transition: background 0.15s;
}

#menudroite a:hover {
  color: #1a6b5a;
  text-decoration: none;
}

#menudroite ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  text-align: left;
}

#menudroite li h2 {
  margin: 0;
  padding: 6px 8px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  background-color: #124a3f;
  width: 100%;
}

#menudroite li {
  display: block;
  margin: 0;
  padding: 0;
  border-bottom: none;
}

#menudroite li a {
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 12px;
  font-weight: normal;
  color: #2c3e50;
  text-transform: none;
  text-align: left;
  line-height: normal;
  width: auto;
  margin: 0;
  padding: 3px 8px;
  text-decoration: none;
}

#patience {
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: #f0f7f5;
  padding: 10px;
  width: 80px;
  height: 80px;
  background-position: center center;
  border: 2px solid #1a6b5a;
  border-radius: 6px;
  z-index: 4;
}

/* ── LIENS ── */
a, a:visited, a:link, a:active {
  color: #2980b9;
  text-decoration: none;
}

a.normal, a.normal:active, a.normal:hover, a.normal:link, a.normal:visited {
  text-decoration: underline;
}

a:hover {
  color: #1a6b5a;
  text-decoration: underline;
}

a.retour {
  display: block;
  position: absolute;
  left: 50%;
  text-decoration: none;
  color: #2980b9;
  width: 70px;
}

a.retour:link {
  display: block;
  position: absolute;
  left: 50%;
  color: #2980b9;
  text-decoration: none;
  width: 70px;
}

a.retour:hover {
  display: block;
  position: absolute;
  left: 50%;
  color: #1a6b5a;
  text-decoration: underline;
  width: 70px;
}

a.retour:active {
  display: block;
  position: absolute;
  left: 50%;
  color: #2980b9;
  text-decoration: none;
  width: 70px;
}

/* ── TITRES GLOBAUX ── */
h1 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  background-color: #1a6b5a;
  width: 100%;
  margin: 0 0 8px 0;
  padding: 7px 12px;
  border-radius: 2px;
}

h2 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-weight: 600;
  text-align: left;
  font-size: 12px;
  color: #fff;
  background-color: #1e7a62;
  margin: 0 0 5px 0;
  padding: 5px 10px;
  border-radius: 2px;
}

th {
  background-color: #1a6b5a;
  color: #fff;
  font-weight: 600;
  padding: 6px 8px;
  font-size: 11px;
  text-transform: uppercase;
}

td.division2 {
  background-color: #e0f2ee;
}

td.division3 {
  background-color: #f0f7f5;
}

select {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 3px 6px;
  font-size: 12px;
  color: #333;
  z-index: -3;
}

option {
  z-index: -3;
}

img {
  border: 0;
}

p {
  line-height: normal;
  text-align: center;
  height: auto;
  width: auto;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 1px;
  margin-left: 1px;
}

/* ── CLASSES UTILITAIRES ── */
.lien {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 11px;
  font-style: italic;
  color: #2980b9;
  text-decoration: underline;
  height: auto;
  width: auto;
  white-space: normal;
  list-style-type: circle;
  text-align: left;
  list-style-position: inside;
  cursor: pointer;
}

.imagecote {
  position: relative;
  float: right;
}

.menuitem {
  background-color: #eef7f4;
  border: 1px solid #a8d5c8;
}

#menu {
  position: relative;
  width: 10%;
  height: 70%;
  z-index: 4;
  left: 0%;
  top: 2%;
  float: left;
}

#haut {
  position: relative;
  width: 100%;
  height: 10%;
  z-index: 3;
  left: 0%;
  top: 0%;
}

#bas {
  position: relative;
  width: 100%;
  height: 10%;
  z-index: 3;
  left: 0%;
  top: 2%;
  clear: left;
}

.liens {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 11px;
  color: #2980b9;
  text-decoration: underline;
}

.club-navbox {
  display: block !important;
  flex-wrap: unset !important;
  gap: unset !important;
  border: 1px solid #1a6b5a;
  border-radius: 4px;
  margin-bottom: 10px;
  font-size: 13px;
  width: 100%;
}

.club-navbox-header {
  background-color: #124a3f;
  color: #fff;
  padding: 7px 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 3px 3px 0 0;
  user-select: none;
}

.club-navbox-header:hover {
  background-color: #1a6b5a;
}

.club-navbox-body {
  display: none;
  flex-wrap: wrap;
  padding: 6px;
  gap: 4px;
  background: #fff;
  z-index: 200;
}

.club-navbox-body.open {
  display: flex;
}

.club-navbox-body a {
  display: inline-block;
  padding: 4px 8px;
  background-color: #124a3f;
  color: #fff;
  text-decoration: none;
  border-radius: 3px;
  font-size: 11px;
  white-space: nowrap;
}

.club-navbox-body a:hover {
  background-color: #1a6b5a;
  text-decoration: none;
}

.club-navbox-body a.active {
  background-color: #1a6b5a;
  border: 2px solid #fff;
}

.cnb-selected-label {
  padding: 4px 8px;
  font-size: 11px;
  font-style: italic;
  color: #555;
}

.soustitre {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  color: #124a3f;
  background-color: #e0f2ee;
  border-left: 3px solid #1a6b5a;
  padding: 4px 10px;
}

.titre {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  background-color: #1a6b5a;
  padding: 5px 10px;
  border-radius: 2px;
}

/* ── TABLE .classement (coupe d'europe, classements poules) ── */
table.classement {
  border-collapse: separate;
  border-spacing: 3px 0;
  width: 75%;
  font-size: 12px;
  margin-bottom: 14px;
}

table.classement tr {
  background-color: #fff;
  transition: background 0.1s;
}

table.classement tr:nth-child(even) {
  background-color: #f0f7f5;
}

table.classement tr:hover {
  background-color: #e0f2ee;
}

table.classement td {
  padding: 5px 8px;
  border-bottom: 1px solid #eee;
  color: #333;
}

table.classement tr.titre td {
  background-color: #1a5248;
  color: #ecf0f1;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 5px 10px;
  border: none;
  border-radius: 3px;
  text-align: center;
}

/* ── TABLE .coupe (principale) ── */
table.coupe {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  margin-bottom: 14px;
  border: 1px solid #dde3ea;
}

table.coupe tr {
  background-color: #fff;
  transition: background 0.1s;
}

table.coupe tr:nth-child(even) {
  background-color: #f9fafb;
}

table.coupe tr:hover {
  background-color: #f0f7f5;
}

table.coupe td {
  padding: 5px 8px;
  border-bottom: 1px solid #eee;
  border-right: 1px solid #eee;
  color: #333;
}

table.coupe tr.titre {
  background-color: #fff;
  color: #fff;
  font-weight: 700;
  text-align: center;
}

table.coupe tr.titre td {
  background-color: #1a5248;
  color: #ecf0f1;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 12px;
  border: none;
  text-align: center;
}

table.coupe tr.soustitre,
table.coupe tr.soustitre th {
  background-color: #1e7a62;
  color: #fff;
  font-weight: 600;
  text-align: left;
}

table.coupe tr.soustitre td {
  background-color: #1e7a62;
  color: #fff;
  font-weight: 600;
  padding: 5px 8px;
  font-size: 11px;
}

table.coupe tr.titreintermediaire {
  background-color: #145244;
  color: #fff;
  font-weight: 600;
  text-align: left;
}

table.coupe tr.titreintermediaire td {
  background-color: #145244;
  color: #fff;
  padding: 5px 8px;
  font-size: 11px;
}

table.coupe td.division2 {
  background-color: #e0f2ee;
  border-color: #fff;
}

table.coupe td.division3 {
  background-color: #f0f7f5;
  border-color: #fff;
}

table.coupe tr.classement {
  background-color: #e0f2ee;
}

table.coupe tr.classement td {
  background-color: #e0f2ee;
}

/* ── NAVIGATION ANNEES ── */
#listeannee {
  background-color: #f0f7f5 !important;
  width: 100% !important;
  max-width: 100% !important;
  color: #333;
  padding: 8px 10px;
  margin-bottom: 10px;
  border: 1px solid #a8d5c8;
  border-radius: 3px;
  text-align: center;
  font-size: 13px;
  line-height: 1.9;
  box-sizing: border-box;
}

#listeannee a {
  color: #2980b9;
  margin: 0 3px;
  text-decoration: none;
}

#listeannee a:hover {
  color: #1a6b5a;
  text-decoration: underline;
}

/* ── TRI DE COLONNES ── */
.sortcol {
  cursor: pointer;
  padding-right: 20px;
  background-repeat: no-repeat;
  background-position: right center;
}

.sortasc {
  background-color: #e0f2ee;
  background-image: url(up.gif);
}

.sortdesc {
  background-color: #e0f2ee;
  background-image: url(down.gif);
}

.nosort {
  cursor: default;
}

/* ── CONTENEUR BLOCS (page d'accueil) ── */
#corps > div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

/* ── BLOCS ── */
.bloc {
  background-color: #fff;
  border: 1px solid #dde3ea;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  flex: 1 1 0;
  min-width: 180px;
  text-align: left;
  color: #333;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 12px;
  transition: box-shadow 0.2s;
}

.bloc:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.13);
}

.bloc h2 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  background-color: #1a6b5a;
  width: 100%;
  margin: 0 0 8px 0;
  padding: 9px 10px;
  border-radius: 6px 6px 0 0;
  letter-spacing: 0.8px;
}

.bloc h2::before {
  content: "\25CF  ";
  font-size: 8px;
  vertical-align: middle;
  opacity: 0.7;
}

.bloc ul {
  list-style-type: none;
  margin: 0;
  padding: 0 12px 8px 12px;
}

.bloc li {
  list-style-type: none;
  padding: 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 12px;
  line-height: 1.4;
}

.bloc li:last-child {
  border-bottom: none;
}

.bloc li a {
  display: block;
  color: #1a4a3c;
  padding: 6px 8px 6px 20px;
  position: relative;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, padding-left 0.15s;
}

.bloc li a::before {
  content: "\203A";
  position: absolute;
  left: 8px;
  color: #1a6b5a;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  top: 5px;
}

.bloc li a:hover {
  background: #f0f7f5;
  color: #1a6b5a;
  padding-left: 24px;
  text-decoration: none;
}

/* ── TABLEAU CROISE (resultats Top14, attributs bgcolor legacy) ── */
[bgcolor="#990000"] {
  background-color: #124a3f !important;
}
[bgcolor="blue"] {
  background-color: #0d3328 !important;
}
[bgcolor="silver"] {
  background-color: #e0f2ee !important;
}
[bgcolor="silver"] font {
  color: #333 !important;
}

/* ── TABLE PALMARES COUPE (centree, largeur limitee) ── */
table.coupe-palmares {
  width: fit-content !important;
  max-width: 300px !important;
  margin: 16px auto !important;
  display: table !important;
}

/* ── PAGE LIENS ── */
.liens-liste h2 {
  font-size: 13px;
  color: #fff;
  background-color: #165244;
  padding: 6px 10px;
  margin: 16px 0 4px;
  border-left: 3px solid #1a6b5a;
}

.lien-item {
  border-bottom: 1px solid #dde3ea;
  padding: 8px 4px;
}

.lien-item a {
  display: block;
  font-weight: 600;
  color: #2980b9;
  margin-bottom: 4px;
  word-break: break-all;
}

.lien-item p {
  margin: 0;
  font-size: 12px;
  color: #333;
  line-height: 1.5;
}

/* ── TABLE HISTORIQUE COUPE (centree, largeur naturelle) ── */
table.coupe-centree {
  display: inline-table !important;
  width: auto !important;
}

@media only screen and (max-width: 600px) {
  table.coupe-centree {
    width: 100% !important;
  }
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ── HAMBURGER (caché sur desktop) ── */
.btn-menu-toggle { display: none; }

.btn-home {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 22px;
  text-decoration: none;
  line-height: 1;
}
#menu-overlay { display: none; }

/* ── PANEL AFFLUENCE (caché sur desktop) ── */
#panel-affluence { display: none; }
#panel-affluence-overlay { display: none; }

/* ── RESPONSIVE MOBILE ── */
@media only screen and (max-width: 600px) {

  .club-navbox-body.navbox-list.open {
    flex-direction: column;
  }

  .club-navbox-body.navbox-list a {
    white-space: normal;
  }

  html, body {
    max-width: 100%;
    overflow-x: hidden;
  }

  #global {
    width: 100%;
    overflow-x: hidden;
  }

  #corps {
    overflow-x: auto;
  }

  #menuhaut {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: auto;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 11px;
    height: 44px;
    letter-spacing: 1px;
    padding: 0 4px;
    overflow: hidden;
  }

  #menuhaut span {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 60%;
    text-align: center;
    letter-spacing: 1px;
  }

  #menuhaut .btn-menu-toggle:last-child {
    margin-left: auto;
  }

  .btn-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    padding: 0 10px;
    height: 44px;
    line-height: 1;
    flex-shrink: 0;
  }

  #menugauche {
    position: fixed;
    top: 44px;
    left: 0;
    width: 75%;
    max-width: 280px;
    height: calc(100vh - 44px);
    overflow-y: auto;
    z-index: 999;
    margin: 0;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
  }

  #menugauche.open {
    transform: translateX(0);
  }

  #menugauche li {
    display: block;
  }

  #menugauche li a {
    display: block;
  }

  #corps {
    position: relative;
    margin-left: 0;
    margin-top: 44px;
    width: 100%;
    overflow-x: visible;
  }

  #corps table {
    width: 100% !important;
    box-sizing: border-box;
  }

  #corps img {
    width: 98%;
  }

  #menudroite {
    position: fixed;
    top: 44px;
    right: 0;
    width: 75%;
    max-width: 280px;
    height: calc(100vh - 44px);
    overflow-y: auto;
    z-index: 999;
    margin: 0;
    padding: 0;
    transform: translateX(100%);
    transition: transform 0.25s ease;
  }

  #menudroite.open {
    transform: translateX(0);
  }

  #menudroite li {
    display: block;
  }

  #menudroite li a {
    display: block;
  }

  #menu-overlay {
    display: none;
    position: fixed;
    top: 44px;
    left: 0;
    width: 100%;
    height: calc(100vh - 44px);
    background: rgba(0,0,0,0.5);
    z-index: 998;
  }

  #menu-overlay.active {
    display: block;
  }

  #dwindow {
    position: absolute !important;
    opacity: 1;
    background-color: #f0f7f5;
    border: 1px solid #a8d5c8;
    z-index: 44;
  }

  #listeannee {
    font-size: 10px;
  }

  table {
    width: 100% !important;
  }

  table.coupe, sortable, standard, listeItems {
    width: 100% !important;
    font-size: 8px !important;
  }

  table.coupe tr.soustitre, th {
    font-size: 8px !important;
  }

  table.tableaux-classements,
  table.tableaux-classements > tbody,
  table.tableaux-classements > tbody > tr,
  table.tableaux-classements > tbody > tr > td {
    display: block !important;
    width: 100% !important;
  }

  #panel-affluence {
    display: block;
    position: fixed;
    top: 44px;
    right: 0;
    width: 85%;
    max-width: 320px;
    height: auto;
    max-height: calc(100vh - 44px);
    overflow-y: auto;
    z-index: 1001;
    background: #fff;
    border-left: 2px solid #1a6b5a;
    transform: translateX(100%);
    transition: transform 0.25s ease;
  }

  #panel-affluence.open {
    transform: translateX(0);
  }

  #panel-affluence-close {
    background: #124a3f;
    color: #fff;
    padding: 10px 16px;
    font-size: 20px;
    cursor: pointer;
    text-align: right;
  }

  #panel-affluence-content {
    padding: 10px;
    font-size: 12px;
    overflow-x: auto;
  }

  #panel-affluence-overlay {
    position: fixed;
    top: 44px;
    left: 0;
    width: 100%;
    height: calc(100vh - 44px);
    background: rgba(0,0,0,0.5);
    z-index: 1000;
  }

  #panel-affluence-overlay.active {
    display: block;
  }

  .btn-home { display: none; }

  .matrix-scroll {
    overflow-x: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
  }

  .matrix-scroll table {
    width: auto !important;
    font-size: 6px !important;
  }

  .matrix-scroll table th,
  .matrix-scroll table td {
    font-size: 6px !important;
    padding: 1px !important;
  }

  .matrix-scroll table th {
    color: #fff !important;
  }

  .table-scroll {
    overflow-x: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
  }

  .table-scroll table {
    width: auto !important;
  }

}
