/* ═══════════════════════════════════════════════════════════════════════════
   Menu hamburger groupé (joueur connecté) — views/_hamburger-nav.pug
   Sections : Jouer (grille de modes) · Classements · Mon compte · Plus
   ═══════════════════════════════════════════════════════════════════════════ */
.hamburger-links.hb-grouped {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 4px 16px 0;
}

.hb-grouped .hb-section {
  margin: 16px 2px 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a93a8;
}

/* Modes de jeu : grille de 2, couleur du mode */
.hb-grouped .hb-modes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.hb-grouped .hb-mode {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--hb, #6378ff) 40%, transparent);
  background: color-mix(in srgb, var(--hb, #6378ff) 8%, #161e33);
  color: #e8eefc;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background 0.15s, border-color 0.15s;
}
.hb-grouped .hb-mode:hover {
  background: color-mix(in srgb, var(--hb, #6378ff) 18%, #161e33);
  border-color: color-mix(in srgb, var(--hb, #6378ff) 70%, transparent);
  color: #fff;
}
.hb-grouped .hb-mode--star {
  color: #ffd77a;
}

/* Autres liens : grille de 2, sans cadre */
.hb-grouped .hb-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 6px;
}
.hb-grouped .hb-link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 8px 8px;
  border-radius: 8px;
  color: #e8eefc;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.25;
  text-decoration: none;
  /* « Top 10 Records » peut passer sur 2 lignes plutôt que d'être coupé */
  white-space: normal;
}
.hb-grouped .hb-link:hover {
  background: rgba(99, 120, 255, 0.1);
  color: #fff;
}
.hb-grouped .hb-ico {
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}

/* Bas du menu : langue + déconnexion sur une ligne */
.hb-grouped .hb-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hb-grouped .hb-foot .hamburger-lang {
  padding: 0;
  justify-content: flex-start;
}
.hb-grouped .hb-logout {
  color: #9aa3b2;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 8px;
}
.hb-grouped .hb-logout:hover {
  color: #fff;
  background: rgba(255, 80, 80, 0.1);
}

/* Visiteur : bouton Connexion bien visible, langue centrée dessous */
.hb-grouped .hb-login {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding: 12px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.hb-grouped .hb-login:hover {
  filter: brightness(1.1);
}
.hb-grouped .hb-foot--center {
  justify-content: center;
  margin-top: 14px;
  padding-top: 0;
  border-top: none;
}
