/* ===== HUB DES AVENTURIERS ===== */

.hub-hero,
.hub-section {
  --gold: #6a785f;
}

/* ── Hero ── */
.hub-hero {
  position: relative;
  max-width: none;
  margin: 0;
  padding: 7rem 2rem 3rem;
  margin-bottom: -35vh;
  text-align: center;
  background: #120000;
  overflow: hidden;
  min-height: 60vh;
}

.hub-hero .hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hub-hero .hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px) brightness(0.75) saturate(0.9);
}

.hub-hero .hero-video-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, #120000, transparent);
  pointer-events: none;
}

.hub-hero .hero-content {
  position: relative;
  z-index: 1;
}

.hub-title {
  font-family: var(--font-body);
  font-size: 2.8rem;
  color: #a78a7f;
  letter-spacing: 2px;
  margin-bottom: 0.4rem;
}

.hub-subtitle {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.15rem;
  color: #b09a82;
  margin-bottom: 1rem;
}

.hub-divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 1rem auto;
  opacity: 0.5;
  position: relative;
  z-index: 1;
}

.hub-intro {
  max-width: 700px;
  margin: 0 auto;
  font-family: 'MedievalSharp', cursive;
  font-size: 1.05rem;
  color: #a89080;
  line-height: 1.7;
}

/* ── Sections ── */
.hub-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  position: relative;
  z-index: 1;
}

.hub-section h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: #a78a7f;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 0.3rem;
}

.hub-divider-small {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 0.5rem auto 2rem;
  opacity: 0.4;
}

/* ── Stats Grid ── */
.hub-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.hub-stat-card {
  background: rgba(60, 30, 40, 0.4);
  border: 1px solid rgba(180, 140, 100, 0.15);
  border-radius: 8px;
  padding: 20px 16px;
  text-align: center;
  transition: border-color 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hub-stat-card:hover {
  border-color: rgba(180, 140, 100, 0.35);
}

/* Picto en fond complet de card */
.hub-stat-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 15%;
  opacity: 0.08;
  pointer-events: none;
  transition: opacity 0.4s;
}

.hub-stat-card:hover .hub-stat-card-bg {
  opacity: 0.18;
}

/* Picto principal visible */
.hub-stat-picto {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.hub-stat-picto-link {
  cursor: pointer;
  transition: transform 0.2s;
}

.hub-stat-picto-link:hover {
  transform: scale(1.1);
}

.hub-stat-value {
  font-family: 'MedievalSharp', cursive;
  font-size: 1.2rem;
  color: #e8dcc8;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.hub-stat-label {
  font-family: var(--font-accent);
  font-size: 0.65rem;
  color: #a89080;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── Rankings Grid ── */
.hub-rankings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.hub-ranking-card {
  background: rgba(60, 30, 40, 0.4);
  border: 1px solid rgba(180, 140, 100, 0.15);
  border-radius: 8px;
  padding: 20px;
}

.hub-ranking-icon {
  display: block;
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin: 0 auto 8px;
}

.hub-ranking-card h3 {
  font-family: var(--font-title);
  font-size: 1rem;
  color: #a78a7f;
  text-align: center;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hub-ranking-subtitle {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.85rem;
  color: #7a6a60;
  text-align: center;
  margin-bottom: 14px;
}

.hub-ranking-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hub-ranking-entry {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 8px;
  border-radius: 6px;
  margin-bottom: 4px;
  transition: background 0.2s;
}

.hub-ranking-entry:last-child {
  margin-bottom: 0;
}

.hub-ranking-entry.rank-gold {
  background: rgb(212 168 67 / 29%);
  border: 1px solid rgba(212, 168, 67, 0.25);
}

.hub-ranking-entry.rank-silver {
  background: rgb(177 177 177 / 39%);
  border: 1px solid rgba(168, 168, 168, 0.2);
}

.hub-ranking-entry.rank-bronze {
  background: rgb(205 127 50 / 29%);
  border: 1px solid rgba(205, 127, 50, 0.2);
}

.hub-ranking-entry:not(.rank-gold):not(.rank-silver):not(.rank-bronze) {
  border-bottom: 1px solid rgba(180, 140, 100, 0.08);
  border-radius: 0;
}

.hub-ranking-rank {
  font-family: 'MedievalSharp', cursive;
  font-size: 0.9rem;
  color: #a89080;
  font-weight: 700;
  min-width: 22px;
  text-align: center;
  flex-shrink: 0;
}

.rank-gold .hub-ranking-rank { color: #d4a843; }
.rank-silver .hub-ranking-rank { color: #a8a8a8; }
.rank-bronze .hub-ranking-rank { color: #cd7f32; }

.hub-ranking-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(180, 140, 100, 0.3);
  object-fit: cover;
}

.hub-ranking-name {
  flex: 1;
  font-family: var(--font-body);
  font-size: 1rem;
  color: #e8dcc8;
}

.hub-ranking-name a {
  color: #e8dcc8;
  text-decoration: none;
  transition: color 0.2s;
}

.hub-ranking-name a:hover {
  color: var(--gold);
}

.hub-ranking-value {
  font-family: 'MedievalSharp', cursive;
  font-size: 1rem;
  color: #b09a82;
  font-weight: 400;
}

/* ── Carte interactive ── */
.hub-map-section {
  max-width: 1300px;
}

.hub-map-intro {
  font-family: 'MedievalSharp', cursive;
  font-size: 1rem;
  color: #a89080;
  text-align: center;
  margin-bottom: 1.5rem;
}

.hub-map-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hub-map-tabs-sep {
  width: 1px;
  height: 24px;
  background: rgba(180, 140, 100, 0.3);
  margin: 0 6px;
}

.hub-map-tabs-label {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.85rem;
  color: #7a6a60;
}

.hub-map-tabs-sep ~ .hub-map-tab {
  padding: 5px 12px;
  font-size: 0.8rem;
}

.hub-map-tab {
  padding: 8px 18px;
  background: rgba(60, 30, 40, 0.5);
  border: 1px solid rgba(180, 140, 100, 0.2);
  border-radius: 6px;
  color: #a89080;
  font-family: var(--font-body);
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s;
}

.hub-map-tab:hover {
  border-color: rgba(180, 140, 100, 0.4);
  color: #e8dcc8;
}

.hub-map-tab.active {
  background: rgba(106, 120, 95, 0.3);
  border-color: var(--gold);
  color: #e8dcc8;
  font-weight: 600;
}

#map {
  width: 100%;
  height: 700px;
  border-radius: 8px;
  border: 1px solid rgba(180, 140, 100, 0.2);
  background: #1a1118;
}

/* ── Leaflet popup custom ── */
.leaflet-popup-content-wrapper {
  background: rgba(30, 18, 24, 0.95) !important;
  border: 1px solid rgba(180, 140, 100, 0.3) !important;
  border-radius: 8px !important;
  color: #e8dcc8 !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5) !important;
}

.leaflet-popup-tip {
  background: rgba(30, 18, 24, 0.95) !important;
  border: 1px solid rgba(180, 140, 100, 0.3) !important;
}

.leaflet-popup-content {
  margin: 14px 16px !important;
  font-family: var(--font-body) !important;
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
}

.popup-lieu-name {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: #d68b57;
  font-weight: 700;
  margin-bottom: 4px;
}

.popup-lieu-type {
  font-size: 0.8rem;
  color: #689096;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.popup-lieu-desc {
  color: #b09a82;
  font-style: italic;
  margin-bottom: 10px;
}

.popup-lieu-discoverer {
  font-size: 0.85rem;
  color: #a89080;
  margin-bottom: 6px;
}

.popup-lieu-discoverer strong {
  color: #e8dcc8;
}

.popup-lieu-status {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.popup-lieu-status.secure {
  background: rgba(106, 120, 95, 0.3);
  color: #8fad7a;
  border: 1px solid rgba(106, 120, 95, 0.4);
}

.popup-lieu-status.unstable {
  background: rgba(180, 60, 60, 0.2);
  color: #d47070;
  border: 1px solid rgba(180, 60, 60, 0.3);
}

.popup-lieu-status.unknown {
  background: rgba(100, 100, 100, 0.2);
  color: #888;
  border: 1px solid rgba(100, 100, 100, 0.3);
}

.popup-lieu-mystery {
  text-align: center;
  padding: 8px;
}

.popup-lieu-mystery .popup-lieu-name {
  color: #888;
}

.popup-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.popup-link {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(106, 120, 95, 0.2);
  border: 1px solid rgba(106, 120, 95, 0.3);
  border-radius: 4px;
  color: #b09a82;
  text-decoration: none;
  font-size: 0.8rem;
  transition: all 0.2s;
}

.popup-link:hover {
  background: rgba(106, 120, 95, 0.4);
  color: #e8dcc8;
}

/* ── Marqueur label ── */
/* ── Hide Leaflet default marker shadow ── */
.leaflet-marker-shadow {
  display: none !important;
}

/* ── Combined marker (icon + label) ── */
.lieu-marker {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

.lieu-marker-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  cursor: pointer;
}

.lieu-marker-icon {
  transition: filter 0.3s;
}

.lieu-marker-wrap:hover .lieu-marker-icon {
  filter: drop-shadow(0 0 10px rgba(214, 139, 87, 0.6));
}

.lieu-label-text {
  display: inline-block;
  background: rgba(0, 0, 0, 0.7);
  padding: 2px 8px;
  border-radius: 4px;
  color: #e8dcc8;
  font-family: var(--font-title);
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.5px;
  transition: background 0.2s, color 0.2s;
}

.lieu-marker-wrap:hover .lieu-label-text {
  background: rgba(214, 139, 87, 0.3);
  color: #fff;
}

.lieu-marker-mystery {
  opacity: 0.5;
  filter: grayscale(80%);
}

.lieu-marker-mystery .lieu-label-text {
  color: #777;
  font-style: italic;
  background: rgba(0, 0, 0, 0.5);
}

/* ── Role icon in stats ── */
.hub-stat-role-wrap {
  position: relative;
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
}

.hub-stat-role-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  transition: transform 0.2s;
}

.hub-stat-role-wrap:hover .hub-stat-role-icon {
  transform: scale(1.1);
}

.hub-stat-role-tooltip {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(30, 18, 24, 0.95);
  border: 1px solid rgba(180, 140, 100, 0.3);
  border-radius: 6px;
  padding: 6px 14px;
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: #e8dcc8;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 600;
}

.hub-stat-role-wrap:hover .hub-stat-role-tooltip {
  opacity: 1;
}

.hub-stat-role-count {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: #e8dcc8;
  font-weight: 600;
  display: block;
  margin-top: 2px;
  position: relative;
  z-index: 1;
}

/* ── Discoverer links ── */
.popup-discoverer-link {
  color: #d68b57;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.popup-discoverer-link:hover {
  color: #e8dcc8;
  text-decoration: underline;
}

/* ── Mystery marker opacity ── */
.mystery-marker {
  opacity: 0.5;
  filter: grayscale(80%);
}

/* ── Quest buttons ── */
.hub-quest-section {
  text-align: center;
  padding-bottom: 1rem;
}

.hub-quest-intro {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.1rem;
  color: #b09a82;
  margin-bottom: 1.2rem;
}

.hub-quest-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hub-quest-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: rgba(60, 30, 40, 0.5);
  border: 1px solid rgba(180, 140, 100, 0.2);
  border-radius: 8px;
  color: #e8dcc8;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s;
}

.hub-quest-btn:hover {
  background: rgba(106, 120, 95, 0.25);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.hub-quest-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  opacity: 0.8;
}

/* ── Stat link ── */
.hub-stat-link-value {
  color: #e8dcc8;
  text-decoration: none;
  transition: color 0.2s;
}

.hub-stat-link-value:hover {
  color: #d68b57;
}

.hub-stat-adventurer-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.hub-stat-adventurer-card:hover {
  opacity: 0.8;
}

.hub-stat-adventurer-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(180, 140, 100, 0.3);
  object-fit: cover;
}

.hub-stat-adventurer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.3;
}

.hub-stat-adventurer-info strong {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #e8dcc8;
}

.hub-stat-adventurer-role {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.7rem;
  color: #689096;
  margin-bottom: 4px;
}

/* ── Map whisper phrase ── */
.hub-map-whisper {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.9rem;
  color: #6a5a50;
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

/* ── Map container with texture + vignette + cursor ── */
#map {
  position: relative;
  transition: opacity 0.3s ease;
  cursor: url('../img/curseur-map-32.png') 16 16, crosshair;
}

/* Map wrapper for overlays */
.hub-map-section {
  position: relative;
}

.hub-map-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

/* Parchment vignette overlay */
.hub-map-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 8px;
  box-shadow: inset 0 0 80px 30px rgba(18, 10, 14, 0.6);
  z-index: 500;
}

/* Fil d'Aura — subtle gradient pulse on map edges */
@keyframes aura-pulse {
  0%, 100% { opacity: 0.15; }
  50% { opacity: 0.3; }
}

.hub-map-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 8px;
  background: linear-gradient(135deg,
    rgba(106, 120, 95, 0.15) 0%,
    transparent 30%,
    transparent 70%,
    rgba(106, 120, 95, 0.1) 100%
  );
  animation: aura-pulse 8s ease-in-out infinite;
  z-index: 501;
}

#map.map-fading {
  opacity: 0;
}

/* Map focused state (blur behind focus panel) */
#map.map-focused .leaflet-tile-pane,
#map.map-focused .leaflet-overlay-pane {
  filter: brightness(0.6);
  transition: filter 0.4s;
}

/* ── Leaflet zoom controls ── */
.leaflet-control-zoom a {
  background: #e8dcc8 !important;
  color: #1a1118 !important;
  border: 1px solid rgba(180, 140, 100, 0.3) !important;
  border-radius: 6px !important;
  width: 30px !important;
  height: 30px !important;
  line-height: 30px !important;
  font-size: 16px !important;
  transition: background 0.2s;
}

.leaflet-control-zoom-in {
  margin-bottom: 2px !important;
}

.leaflet-control-zoom a:hover {
  background: #d4a843 !important;
}

.leaflet-control-zoom {
  border: none !important;
  border-radius: 8px !important;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
}

/* (glow now handled via .lieu-marker-wrap hover) */

/* ── Custom tooltip ── */
.map-tooltip-custom {
  background: rgba(30, 18, 24, 0.92) !important;
  border: 1px solid rgba(180, 140, 100, 0.3) !important;
  border-radius: 6px !important;
  padding: 8px 14px !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4) !important;
}

.map-tooltip-custom::before {
  display: none !important;
}

.map-tooltip-rp {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.85rem;
  color: #b09a82;
  line-height: 1.4;
}

/* ── Focus Panel ── */
#focus-panel {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 320px;
  max-height: 540px;
  z-index: 600;
  opacity: 0;
  transform: translateX(20px);
  pointer-events: none;
  transition: all 0.4s ease;
}

#focus-panel.visible {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.focus-panel-inner {
  position: relative;
  background: rgba(30, 18, 24, 0.95);
  border: 1px solid rgba(180, 140, 100, 0.3);
  border-radius: 10px;
  padding: 24px 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  overflow: hidden;
  max-height: 520px;
  overflow-y: auto;
}

.focus-cover-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
}

.focus-panel-inner > *:not(.focus-cover-bg):not(.focus-close) {
  position: relative;
  z-index: 1;
}

.focus-close {
  position: absolute !important;
  top: 10px !important;
  right: 14px !important;
  z-index: 10 !important;
  background: none;
  border: none;
  color: #a89080;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
}

.focus-close:hover {
  color: #e8dcc8;
}

.focus-name {
  font-family: var(--font-title);
  font-size: 1.2rem;
  color: #d68b57;
  margin-bottom: 4px;
}

.focus-name.mystery {
  color: #777;
}

.focus-type {
  font-family: 'MedievalSharp', cursive;
  font-size: 0.8rem;
  color: #689096;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.focus-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #b09a82;
  line-height: 1.6;
  margin-bottom: 8px;
}

.focus-hint {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.85rem;
  color: #7a6a60;
  margin-bottom: 12px;
}

.focus-discoverer-label {
  font-family: 'MedievalSharp', cursive;
  font-size: 0.85rem;
  color: #a89080;
  margin-bottom: 6px;
}

.focus-disc-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.focus-disc-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(60, 30, 40, 0.4);
  border: 1px solid rgba(180, 140, 100, 0.15);
  border-radius: 6px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.focus-disc-card:hover {
  border-color: rgba(180, 140, 100, 0.35);
  background: rgba(60, 30, 40, 0.6);
}

.focus-disc-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(180, 140, 100, 0.3);
  object-fit: cover;
  flex-shrink: 0;
}

.focus-disc-info {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.focus-disc-info strong {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #e8dcc8;
}

.focus-disc-role {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.75rem;
  color: #689096;
}

.focus-status {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
}

.focus-status.unknown {
  background: rgba(100, 100, 100, 0.2);
  color: #888;
  border: 1px solid rgba(100, 100, 100, 0.3);
}

.focus-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.focus-btn {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(106, 120, 95, 0.35);
  border: 1px solid rgba(106, 120, 95, 0.5);
  border-radius: 6px;
  color: #b09a82;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.85rem;
  transition: all 0.2s;
}

.focus-btn:hover {
  background: rgba(106, 120, 95, 0.4);
  color: #e8dcc8;
}

/* ── Dividers ── */
.section-divider {
  text-align: center;
  padding: 0.5rem 0;
}

.divider-img {
  max-width: 200px;
  opacity: 1;
}

/* ── Footer ── */
.footer {
  text-align: center;
  padding: 2rem;
  color: #5a4a40;
  font-family: var(--font-body);
  font-size: 0.85rem;
}

/* ── Responsive ── */
/* ── Journal du monde ── */
.hub-journal-section {
  padding: 8px 20px;
}

@media (max-width: 768px) {
  .hub-title { font-size: 1.8rem; }
  .hub-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hub-rankings-grid { grid-template-columns: 1fr; }
  #map { height: 400px; }
  .hub-map-tab { font-size: 0.8rem; padding: 6px 12px; }
  .hub-map-tabs-group { flex-wrap: wrap; }
  .hub-map-tabs-label { font-size: 0.7rem; }
  .hub-quest-btns { flex-direction: column; align-items: center; }
  .hub-quest-btn { width: 100%; max-width: 300px; }
  .focus-panel { width: 280px; font-size: 0.85rem; }
  .hub-section h2 { font-size: 1.2rem; }
  .hub-stat-card { padding: 12px 8px; }
  .hub-stat-value { font-size: 1rem; }
}

@media (max-width: 480px) {
  .hub-title { font-size: 1.4rem; }
  .hub-stats-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  #map { height: 300px; }
  .hub-map-tabs { flex-direction: column; align-items: center; }
  .focus-panel { width: 250px; left: 50%; transform: translateX(-50%); right: auto; }
}
