/* RESET GLOBAL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

html, body {
  height: 100%;
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(120deg, rgba(37,99,235,0.7) 0%, rgba(236,72,153,0.6) 100%),
    url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1500&q=80') center/cover no-repeat fixed;
  color: #f3f4f6;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

/* GLASSMORPHISM EFFECT */
.glass {
  background: rgba(255,255,255,0.18);
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.37);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 18px;
  border: 1.5px solid rgba(255,255,255,0.25);
}

/* HEADER */
.main-header {
  background: linear-gradient(90deg, rgba(37,99,235,0.85) 0%, rgba(236,72,153,0.7) 100%);
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.18);
  border-bottom: 2px solid rgba(255,255,255,0.18);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 3.5rem;
  max-width: 100%;
  min-height: 90px;
}

.header-title {
  display: flex;
  flex-direction: row;
  align-items: center;
}

#header-logo {
  width: 56px;
  margin-right: 1.5rem;
  filter: drop-shadow(0 2px 8px rgba(37,99,235,0.25));
}

.header-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.header-left h1 {
  font-weight: 900;
  font-size: 2.5rem;
  color: #fff;
  letter-spacing: -2px;
  margin-bottom: 0;
  text-shadow: 0 2px 24px rgba(37,99,235,0.25), 0 1px 0 #fff;
  background: linear-gradient(90deg, #fff 60%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-left #warning {
  font-size: 1.1rem;
  color: #fff;
  background: linear-gradient(90deg, #ef4444 60%, #f59e42 100%);
  border-radius: 10px;
  padding: 0.35rem 1rem;
  font-weight: 600;
  margin-top: 0.7rem;
  box-shadow: 0 2px 12px rgba(239,68,68,0.18);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border: 1.5px solid rgba(255,255,255,0.25);
}

.header-right {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.header-right button {
  background: linear-gradient(90deg, #2563eb 60%, #ec4899 100%);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-weight: 700;
  padding: 0.8rem 2.2rem;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(37,99,235,0.18);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  backdrop-filter: blur(2px);
}

.header-right button:hover {
  background: linear-gradient(90deg, #3b82f6 60%, #f472b6 100%);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 32px rgba(236,72,153,0.18);
}

.header-right button:active {
  background: linear-gradient(90deg, #1e40af 60%, #be185d 100%);
  transform: scale(0.98);
}

.btn-icon {
  width: 22px;
  height: 22px;
  color: inherit;
  margin-right: 0;
  filter: drop-shadow(0 2px 8px rgba(37,99,235,0.18));
}

/* CONTAINER */
.container {
  flex: 1;
  padding: 3.5rem 2rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 3.5rem;
  background: transparent;
  position: relative;
  z-index: 1;
}

/* FEATURE GRID */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
  width: 100%;
  max-width: 1200px;
}

.feature-card {
  background: rgba(255,255,255,0.13);
  border: 1.5px solid rgba(255,255,255,0.22);
  border-radius: 18px;
  padding: 2.5rem 2rem;
  text-align: left;
  transition: box-shadow 0.3s, border 0.3s, transform 0.2s;
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.18);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(37,99,235,0.08) 0%, rgba(236,72,153,0.08) 100%);
  z-index: 0;
  pointer-events: none;
}

.feature-card:hover {
  border-color: #ec4899;
  box-shadow: 0 12px 48px 0 rgba(236,72,153,0.18);
  transform: translateY(-4px) scale(1.03);
}

.feature-icon {
  width: 40px;
  height: 40px;
  color: #ec4899;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 2px 8px rgba(236,72,153,0.18));
  z-index: 1;
}

.feature-card h3 {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  z-index: 1;
  text-shadow: 0 2px 8px rgba(37,99,235,0.12);
}

.feature-card p {
  color: #f3f4f6;
  font-size: 1.05rem;
  line-height: 1.6;
  z-index: 1;
}

/* SIDEBAR */
.sidebar {
  width: 340px;
  background: rgba(255,255,255,0.13);
  border-radius: 18px;
  border: 1.5px solid rgba(255,255,255,0.22);
  padding: 2.5rem 2rem;
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.18);
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

.sidebar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(37,99,235,0.08) 0%, rgba(236,72,153,0.08) 100%);
  z-index: 0;
  pointer-events: none;
}

.sidebar h3 {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  z-index: 1;
  text-shadow: 0 2px 8px rgba(37,99,235,0.12);
}

/* SEARCH PANEL */
.search-panel {
  margin-bottom: 2rem;
  z-index: 1;
}

.search-form {
  display: flex;
  gap: 0.7rem;
}

.search-form input {
  background: rgba(255,255,255,0.22);
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  color: #22223b;
  padding: 0.8rem 1.2rem;
  font-size: 1.05rem;
  transition: border 0.2s, background 0.2s;
  width: 100%;
  backdrop-filter: blur(2px);
}

.search-form input:focus {
  outline: none;
  border-color: #ec4899;
  background: rgba(255,255,255,0.35);
}

.search-form button {
  background: linear-gradient(90deg, #2563eb 60%, #ec4899 100%);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-weight: 600;
  padding: 0.8rem 1.6rem;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 2px 8px rgba(37,99,235,0.12);
}

.search-form button:hover {
  background: linear-gradient(90deg, #3b82f6 60%, #f472b6 100%);
  transform: scale(1.04);
}

/* CONTROLS PANEL */
.controls-panel {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  z-index: 1;
}

.controls-panel button {
  background: rgba(255,255,255,0.18);
  border: 1.5px solid rgba(255,255,255,0.22);
  border-radius: 10px;
  color: #fff;
  font-weight: 600;
  padding: 0.8rem 1.6rem;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background 0.2s, border 0.2s, color 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 2px 8px rgba(37,99,235,0.08);
  backdrop-filter: blur(2px);
}

.controls-panel button:hover {
  background: linear-gradient(90deg, #2563eb 60%, #ec4899 100%);
  border-color: #ec4899;
  color: #fff;
  transform: scale(1.03);
}

.controls-panel button.active {
  background: linear-gradient(90deg, #2563eb 60%, #ec4899 100%);
  color: #fff;
  border-color: #ec4899;
  box-shadow: 0 4px 16px rgba(236,72,153,0.18);
}

/* STATISTICS PANEL */
.stats-panel {
  margin-bottom: 2rem;
  z-index: 1;
}

.stats-grid {
  display: grid;
  gap: 1rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.4rem;
  background: rgba(255,255,255,0.13);
  border-radius: 12px;
  border: 1.5px solid rgba(255,255,255,0.22);
  box-shadow: 0 2px 8px rgba(37,99,235,0.08);
  backdrop-filter: blur(4px);
}

.stat-icon {
  width: 28px;
  height: 28px;
  color: #ec4899;
  filter: drop-shadow(0 2px 8px rgba(236,72,153,0.18));
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 8px rgba(37,99,235,0.12);
}

.stat-label {
  font-size: 0.95rem;
  color: #f3f4f6;
  opacity: 0.8;
}

/* LEGEND PANEL */
.legend-panel {
  margin-bottom: 1.2rem;
  z-index: 1;
}

.legend-items {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.legend-item {
  display: flex;
  align-items: center;
  font-size: 1.05rem;
  color: #f3f4f6;
  opacity: 0.9;
}

.legend-color {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin-right: 0.7rem;
  flex-shrink: 0;
  border: 1.5px solid rgba(255,255,255,0.22);
}

.legend-color.red {
  background: #ef4444;
}

.legend-color.black {
  background: #22223b;
}

/* MAP */
#map {
  flex: 1;
  height: 100%;
  border-radius: 18px;
  background: rgba(224,231,239,0.25);
  backdrop-filter: blur(6px);
}

/* MAP CONTAINER & MAP (spécifique br.html) */
.map-container,
#map {
  width: 100%;
  height: 100%;
  min-height: 300px;
  margin: 0;
  padding: 0;
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(37,99,235,0.10) 0%, rgba(236,72,153,0.10) 100%);
  transition: box-shadow 0.3s, border 0.3s;
}

/* Ajoute-les uniquement sur .map-container */
.map-container {
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.18), 0 0 0 4px rgba(236,72,153,0.08);
  border: 2px solid rgba(37,99,235,0.18);
  padding-bottom: 2rem;
}

/* Cacher attribution Leaflet */
.leaflet-control-attribution {
  display: none !important;
}

/* Cacher les contrôles de zoom Leaflet (sécurité) */
.leaflet-control-zoom {
  display: none !important;
}

/* FOOTER */
footer {
  background: linear-gradient(90deg, rgba(37,99,235,0.85) 0%, rgba(236,72,153,0.7) 100%);
  color: #fff;
  text-align: center;
  padding: 1.5rem 0;
  border-top: 2px solid rgba(255,255,255,0.18);
  font-size: 1.05rem;
  box-shadow: 0 -4px 24px rgba(236,72,153,0.08);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem;
}

footer a {
  color: #fff;
  text-decoration: underline;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
}

footer a:hover {
  color: #ec4899;
}

/* BLUR OVERLAY */
#blur-overlay {
  position: fixed;
  inset: 0;
  background: rgba(34, 34, 59, 0.85);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 2rem;
  text-align: center;
  color: #fff;
  animation: fadeIn 0.8s cubic-bezier(.4,2,.6,1);
}

#blur-overlay.hidden {
  display: none;
}

.blur-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#blur-overlay p {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 2.5rem;
  color: #fff;
  text-shadow: 0 2px 24px rgba(37,99,235,0.25);
}

#login-prompt button {
  padding: 1.2rem 2.8rem;
  font-size: 1.2rem;
  border-radius: 12px;
  border: none;
  background: linear-gradient(90deg, #2563eb 60%, #ec4899 100%);
  color: white;
  font-weight: 800;
  box-shadow: 0 8px 32px rgba(37,99,235,0.18);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

#login-prompt button:hover {
  background: linear-gradient(90deg, #3b82f6 60%, #f472b6 100%);
  transform: scale(1.04);
}

/* BATTLE ROYALE PAGE (br.html) */
.br-container {
  margin: 2rem 2rem 2rem 2rem;
  padding: 2.5rem 1.5rem;
  background: rgba(255,255,255,0.10);
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.18);
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  backdrop-filter: blur(8px);
}

.br-section {
  background: rgba(255,255,255,0.13);
  border-radius: 14px;
  border: 1.5px solid rgba(255,255,255,0.22);
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 16px rgba(37,99,235,0.08);
  margin-bottom: 0.5rem;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.br-section h2 {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 8px rgba(37,99,235,0.12);
}

.br-section i {
  color: #ec4899;
  width: 28px;
  height: 28px;
}

#players-list, #history-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}

#players-list li, #history-list li {
  background: rgba(37,99,235,0.13);
  border-radius: 8px;
  padding: 0.7rem 1.2rem;
  color: #fff;
  font-weight: 600;
  font-size: 1.07rem;
  box-shadow: 0 2px 8px rgba(236,72,153,0.08);
  width: 100%;
  box-sizing: border-box;
}

#leaderboard {
  list-style: decimal inside;
  padding-left: 0.5rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

#leaderboard li {
  background: rgba(236,72,153,0.13);
  border-radius: 8px;
  padding: 0.7rem 1.2rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.07rem;
  box-shadow: 0 2px 8px rgba(37,99,235,0.08);
}

#game-status, #server-info {
  list-style: decimal inside;
  padding-left: 0.5rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.dynmap-container {
  width: 100%;
  max-width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(37,99,235,0.12);
  margin-bottom: 0.5rem;
}

.dynmap-container iframe {
  width: 100%;
  min-height: 350px;
  border: none;
  border-radius: 12px;
  background: #22223b;
}

/* BATTLE ROYALE PAGE (br.html) - GRID LAYOUT */
.br-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;      /* Infos à gauche, map plus large à droite */
  gap: 2.5rem;
  align-items: flex-start;
  width: 100%;
  max-width: 98vw;                      /* Prend presque toute la largeur de l'écran */
  margin: 0 auto;
  padding: 0 1.5vw;                     /* Petit écart sur les côtés */
  box-sizing: border-box;
}

.br-main-sections {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.br-map-section {
  /* Dynmap à droite */
  display: flex;
  flex-direction: column;
  gap: 2rem;
  height: 100%;
}

@media (max-width: 1100px) {
  .br-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 100vw;
    padding: 0 0.2rem;
  }
  .br-map-section {
    order: 2;
  }
  .br-main-sections {
    order: 1;
  }
  .server-info-full {
    order: 3;
    grid-column: 1 / -1;
    padding-left: 0.2rem;
    padding-right: 0.2rem;
    max-width: 100vw;
  }
}

@media (max-width: 900px) {
  .br-container {
    padding: 1.2rem 0.2rem;
    margin: 1.5rem 0.2rem;
  }
  .br-section {
    padding: 1.2rem 0.7rem;
  }
  .dynmap-container iframe {
    min-height: 220px;
  }
}

@media (max-width: 700px) {
  .header-content {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.2rem;
  }
  .header-left h1 {
    font-size: 1.5rem;
    text-align: center;
  }
  .header-right {
    justify-content: center;
    flex-wrap: wrap;
  }
  .sidebar {
    padding: 1rem 0.5rem;
  }
  .feature-card {
    padding: 1.2rem 0.7rem;
  }
  .container {
    padding: 1rem 0.2rem;
  }
}

/* SCROLLBAR */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.08);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(120deg, #2563eb 0%, #ec4899 100%);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(120deg, #3b82f6 0%, #f472b6 100%);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.sidebar, .discord-widget, .feature-card, .stats-panel, .legend-panel {
  animation: fadeIn 0.8s;
}

/* Bouton retour header sur br.html */
.header-btn {
  background: linear-gradient(90deg, #2563eb 60%, #ec4899 100%);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-weight: 700;
  padding: 0.8rem 2.2rem;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(37,99,235,0.18);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  backdrop-filter: blur(2px);
  margin-left: 2rem;
}

.header-btn:hover {
  background: linear-gradient(90deg, #3b82f6 60%, #f472b6 100%);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 32px rgba(236,72,153,0.18);
}

.header-btn:active {
  background: linear-gradient(90deg, #1e40af 60%, #be185d 100%);
  transform: scale(0.98);
}

/* Bouton générique inspiré du header-btn */
.btn {
  background: linear-gradient(90deg, #2563eb 60%, #ec4899 100%);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-weight: 700;
  padding: 0.8rem 2.2rem;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(37,99,235,0.18);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  backdrop-filter: blur(2px);
}

.btn:hover {
  background: linear-gradient(90deg, #3b82f6 60%, #f472b6 100%);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 32px rgba(236,72,153,0.18);
}

.btn:active {
  background: linear-gradient(90deg, #1e40af 60%, #be185d 100%);
  transform: scale(0.98);
}

/* Fond spécifique pour la page Battle Royale */
.br-bg {
  background: linear-gradient(120deg, rgba(37,99,235,0.7) 0%, rgba(236,72,153,0.6) 100%),
    url('assets/br.gif') center/cover no-repeat fixed !important;
}

/* Ajoute ceci à la fin de styles.css */

/* Uniformise le style des enfants des listes et panels */
#players-list li,
#leaderboard li,
#leaderboard li,
#history-list li,
#game-status > *,
#server-info > * {
  background: rgba(255,255,255,0.10);
  border-radius: 8px;
  padding: 0.7rem 1.2rem;
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(37,99,235,0.08);
  margin-bottom: 0.5rem;
  border: none;
  /* Optionnel : pour éviter les doubles marges sur la dernière ligne */
  margin-right: 0.5rem;
}

#players-list li:last-child,
#leaderboard li:last-child,
#history-list li:last-child {
  margin-bottom: 0;
}

/* Pour que chaque li prenne toute la largeur */
#players-list,
#history-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

#players-list li,
#history-list li {
  width: 100%;
  box-sizing: border-box;
}

/* Pour les spoilers */
.spoiler {
  background: #444;
  color: #444;
  border-radius: 3px;
  padding: 0 4px;
  cursor: pointer;
  transition: color 0.2s;
}
.spoiler:hover {
  color: #fff;
}

/* Pour les liens markdown */
#server-info a {
  color: #4ea1d3;
  text-decoration: underline;
}
#server-info a:visited {
  color: #357094;
}

.little {
  font-size: 0.85em;
  color: #b2b0bd;
}

/* Ajoute un espace en bas de la carte pour l'uniformité */
.map-container {
  padding-bottom: 2rem;      /* Ajoute cette ligne */
}

.server-info-full {
  grid-column: 1 / -1;
  width: 100%;
  box-sizing: border-box;
  margin-left: auto;       /* Centre horizontalement */
  margin-right: auto;
  padding-left: 1.5vw;     /* Comme .br-grid */
  padding-right: 1.5vw;
}

/* Ajoute à la fin de styles.css */
.news-images {
  display: flex;
  gap: 6px;
  margin-top: 1rem;
  width: 100%;
}

.news-images img {
  flex: 1 1 0;
  width: 100%;
  height: auto;
  border-radius: 10px; 
  margin: 0;
  /* Optionnel : pour éviter les espaces blancs entre images */
  object-fit: cover;
}

.news-images pre {
  background: #23272a;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 8px 0;
  width: 100%;
  box-sizing: border-box;
}

.discord-quote {
  border-radius: 6px;
  padding: 8px 12px;
  margin: 8px 0;
  font-size: 0.98em;
  position: relative;
  background: none;
  border-left: none; /* Supprime l'ancien trait */
}

.discord-quote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  border-radius: 3px;
  background: #252525;
}

.mention {
  color: #94a4e3; /* bleu Discord */
  background-color: rgb(44,44,84);
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 600;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s ease;
  display: inline-block;
}

.mention.user:hover {
  background-color: rgba(0, 175, 244, 0.2);
}

.mention.role {
  color: #ff7b00; /* orange rôles Discord */
  background-color: rgba(255, 123, 0, 0.1);
}

.mention.role:hover {
  background-color: rgba(255, 123, 0, 0.2);
}

.subtext {
  font-size: 0.75rem;          /* Texte plus petit */
  color: rgba(255, 255, 255, 0.6); /* Blanc semi-transparent comme Discord */
  font-weight: 500;            /* Pas trop fin, ni gras */
  line-height: 1.2;            /* Un peu plus serré */
  letter-spacing: 0.02em;      /* Légère espace entre lettres */
  user-select: none;           /* Optionnel : pas sélectionnable */
}
