/* ========== PANEL PROPHÉTIES ACCOMPLIES - ÉLÉGANT & ÉDIFIANT ========== */
/* Design épuré, spirituel et professionnel - Une expérience divine */

/* === OVERLAY - Atmosphère sacrée === */
#prophecies-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.9) 0%,
    rgba(30, 27, 75, 0.85) 50%,
    rgba(15, 23, 42, 0.9) 100%
  );
  backdrop-filter: blur(8px);
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.4s ease;
}

#prophecies-overlay.active {
  opacity: 1;
}

#prophecies-overlay[hidden] {
  display: none;
}

/* === MAIN PANEL - CENTRÉ, LUMINEUX === */
#prophecies-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 92%;
  max-width: 680px;
  height: 85vh;
  max-height: 900px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  z-index: 10001;
  overflow: hidden;
  box-shadow: 
    0 25px 80px rgba(15, 23, 42, 0.25),
    0 10px 30px rgba(15, 23, 42, 0.15);
  font-family: 'DM Sans', Roboto, sans-serif !important;
  color: #1e293b;
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#prophecies-panel.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

#prophecies-panel[hidden] {
  display: none;
}

/* === HEADER - GRADIENT VIOLET ROYAL === */
.prophecies-header {
  padding: 24px 28px;
  background: linear-gradient(135deg, #3a38b2 0%, #2d2b8a 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  border: none;
  border-bottom: none;
}

.prophecies-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.prophecies-header-content {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.prophecies-header-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.prophecies-header-icon svg {
  width: 24px;
  height: 24px;
  color: #ffffff;
}

.prophecies-header-info h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.3px;
}

.prophecies-header-info p {
  margin: 4px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}

/* === CLOSE BUTTON === */
.prophecies-close-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: rgba(255, 255, 255, 0.9);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  z-index: 1;
}

.prophecies-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: scale(1.05);
}

.prophecies-close-btn svg {
  width: 20px;
  height: 20px;
}

/* === CONTENT AREA === */
.prophecies-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0;
  background: #ffffff;
  border: none;
  outline: none;
}

.prophecies-content::-webkit-scrollbar {
  width: 6px;
}

.prophecies-content::-webkit-scrollbar-track {
  background: transparent;
}

.prophecies-content::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.prophecies-content::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* === WELCOME SCREEN === */
.prophecies-welcome {
  padding: 32px 28px;
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  overflow: hidden;
  animation: welcomeFadeIn 0.5s ease-out;
}

@keyframes welcomeFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.prophecies-welcome h3 {
  font-size: 22px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 20px;
  line-height: 1.3;
  font-family: 'DM Sans', Roboto, sans-serif !important;
  animation: welcomeFadeIn 0.5s ease-out 0.1s both;
}

.prophecies-welcome-text {
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
  margin: 0 0 16px;
  text-align: left;
  font-family: 'DM Sans', Roboto, sans-serif !important;
  animation: welcomeFadeIn 0.5s ease-out 0.2s both;
}

.prophecies-welcome-text strong {
  color: #1e293b;
  font-weight: 700;
}

.prophecies-welcome-verse {
  background: linear-gradient(135deg, #f8f8ff 0%, #eef0ff 100%);
  border-left: 4px solid #3a38b2;
  padding: 16px 20px;
  margin: 20px 0;
  border-radius: 0 4px 4px 0;
  text-align: left;
  animation: welcomeFadeIn 0.5s ease-out 0.3s both;
  position: relative;
}

/* Petite croix décorative */
.prophecies-welcome-verse::before {
  content: '✝';
  position: absolute;
  top: -8px;
  right: 16px;
  font-size: 18px;
  color: #3a38b2;
  background: #ffffff;
  padding: 0 8px;
}

.prophecies-welcome-verse p {
  font-size: 14px;
  color: #334155;
  line-height: 1.6;
  margin: 0 0 8px;
  font-family: 'DM Sans', Roboto, sans-serif !important;
}

.prophecies-welcome-verse cite {
  font-size: 12px;
  color: #3a38b2;
  font-weight: 700;
  font-style: normal;
  display: block;
  font-family: 'DM Sans', Roboto, sans-serif !important;
}

.prophecies-welcome-cta {
  background: linear-gradient(135deg, #3a38b2 0%, #2d2b8a 100%);
  color: #ffffff;
  border: none;
  padding: 14px 28px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s ease;
  box-shadow: none;
  width: 100%;
  font-family: 'DM Sans', Roboto, sans-serif !important;
  animation: welcomeFadeIn 0.5s ease-out 0.4s both;
  position: relative;
  overflow: hidden;
}

/* Effet de brillance au survol */
.prophecies-welcome-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 100%
  );
  transition: left 0.5s ease;
}

.prophecies-welcome-cta:hover::before {
  left: 100%;
}

.prophecies-welcome-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(58, 56, 178, 0.35);
}

.prophecies-welcome-cta svg {
  width: 18px;
  height: 18px;
}

/* === NAVIGATION BAR === */
.prophecies-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.prophecies-back-btn {
  background: none;
  border: none;
  color: #3a38b2;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.prophecies-back-btn:hover {
  background: #f8f8ff;
}

.prophecies-back-btn svg {
  width: 16px;
  height: 16px;
}

.prophecies-counter {
  margin-left: auto;
  font-size: 13px;
  color: #3a38b2;
  background: #f8f8ff;
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: 500;
}

/* === BARRE DE RECHERCHE === */
.prophecies-search-bar {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 24px 16px;
  background: #ffffff;
  position: relative;
}

.prophecies-search-icon {
  position: absolute;
  left: 38px;
  width: 18px;
  height: 18px;
  color: #94a3b8;
  pointer-events: none;
  transition: color 0.2s ease;
}

.prophecies-search-input:focus + .prophecies-search-icon,
.prophecies-search-input:not(:placeholder-shown) ~ .prophecies-search-icon {
  color: #3a38b2;
}

.prophecies-search-input {
  flex: 1;
  padding: 10px 12px 10px 42px;
  border: 1px solid #e2e8f0;
  border-radius: 4px 0 0 4px;
  border-right: none;
  font-size: 14px;
  font-family: 'DM Sans', Roboto, sans-serif;
  color: #1e293b;
  background: #f8fafc;
  transition: all 0.25s ease;
}

.prophecies-search-input:focus {
  outline: none;
  border-color: #3a38b2;
  background: #ffffff;
  box-shadow: 0 0 0 2px rgba(58, 56, 178, 0.1) inset;
}

.prophecies-search-input:not(:placeholder-shown) {
  background: #ffffff;
  border-color: #3a38b2;
}

.prophecies-search-input::placeholder {
  color: #94a3b8;
}

/* Bouton effacer la recherche */
.prophecies-clear-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
  margin-right: -8px;
}

.prophecies-clear-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.prophecies-clear-btn svg {
  width: 18px;
  height: 18px;
}

.prophecies-clear-btn:hover {
  background: #fee2e2;
  color: #ef4444;
}

.prophecies-voice-btn {
  width: 42px;
  height: 38px;
  border: 1px solid #e2e8f0;
  border-radius: 0 4px 4px 0;
  background: #f8fafc;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.prophecies-voice-btn svg {
  width: 20px;
  height: 20px;
}

.prophecies-voice-btn:hover {
  background: #f8f8ff;
  border-color: #3a38b2;
  color: #3a38b2;
}

.prophecies-voice-btn.active {
  background: #3a38b2;
  border-color: #3a38b2;
  color: #ffffff;
  animation: pulse-voice 1s ease-in-out infinite;
}

@keyframes pulse-voice {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* === ÉTAT VIDE (RECHERCHE SANS RÉSULTATS) === */
.prophecies-empty-state {
  text-align: center;
  padding: 60px 24px;
  color: #64748b;
}

.prophecies-empty-state svg {
  width: 64px;
  height: 64px;
  color: #cbd5e1;
  margin-bottom: 20px;
}

.prophecies-empty-state p {
  font-size: 15px;
  margin: 0 0 20px;
  color: #64748b;
}

.prophecies-empty-state button {
  background: #3a38b2;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'DM Sans', Roboto, sans-serif;
}

.prophecies-empty-state button:hover {
  background: #2d2b8a;
}

/* === LIKES SUR LES CARTES === */
.prophecy-card-likes {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #3a38b2;
  font-size: 13px;
  font-weight: 500;
  padding: 4px 8px;
  background: transparent;
  margin-left: auto;
  flex-shrink: 0;
}

.prophecy-card-likes svg {
  width: 16px;
  height: 16px;
}

/* === PROPHECIES LIST === */
.prophecies-list {
  padding: 16px 24px;
  transition: opacity 0.2s ease;
}

.prophecies-list.searching {
  opacity: 0.6;
}

.prophecy-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  overflow: hidden;
  animation: cardFadeIn 0.25s ease-out both;
}

.prophecy-card:nth-child(1) { animation-delay: 0.02s; }
.prophecy-card:nth-child(2) { animation-delay: 0.04s; }
.prophecy-card:nth-child(3) { animation-delay: 0.06s; }
.prophecy-card:nth-child(4) { animation-delay: 0.08s; }
.prophecy-card:nth-child(5) { animation-delay: 0.1s; }
.prophecy-card:nth-child(6) { animation-delay: 0.12s; }
.prophecy-card:nth-child(7) { animation-delay: 0.14s; }
.prophecy-card:nth-child(8) { animation-delay: 0.16s; }

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.prophecy-card:hover {
  border-color: #3a38b2;
  box-shadow: 0 4px 16px rgba(58, 56, 178, 0.2);
  transform: translateY(-2px);
}

.prophecy-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
}

.prophecy-number {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #3a38b2 0%, #2d2b8a 100%);
  color: #ffffff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.prophecy-card-info {
  flex: 1;
  min-width: 0;
}

.prophecy-card-title {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 4px;
  line-height: 1.3;
}

.prophecy-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.prophecy-card-ref {
  font-size: 11px;
  color: #64748b;
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 3px;
}

.prophecy-card-type {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 6px;
  border-radius: 3px;
}

.prophecy-type-nouveau {
  background: #dcfce7;
  color: #166534;
}

.prophecy-type-histoire {
  background: #ede9fe;
  color: #5b21b6;
}

.prophecy-type-contemporaine {
  background: #dbeafe;
  color: #1e40af;
}

/* Badge "Médité" pour les cartes évaluées */
.prophecy-card-meditated {
  font-size: 10px;
  font-weight: 600;
  color: #166534;
  background: #dcfce7;
  padding: 2px 6px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.prophecy-card.meditated {
  border-left: 3px solid #22c55e;
  background: linear-gradient(90deg, #f0fdf4 0%, #ffffff 20%);
}

.prophecy-card-arrow {
  color: #cbd5e1;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.prophecy-card:hover .prophecy-card-arrow {
  color: #3a38b2;
  transform: translateX(4px);
}

/* === PROPHECY DETAIL === */
.prophecy-detail {
  padding: 0;
  animation: fadeInDetail 0.4s ease-out;
}

@keyframes fadeInDetail {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.prophecy-detail-header {
  background: linear-gradient(135deg, #3a38b2 0%, #2d2b8a 100%);
  padding: 16px 24px 24px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

/* Navigation intégrée dans le header */
.prophecy-detail-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.prophecy-nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.prophecy-detail-number {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.prophecy-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 4px;
  font-family: 'DM Sans', Roboto, sans-serif;
  transition: all 0.2s ease;
}

.prophecy-back-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.prophecy-back-btn svg {
  width: 14px;
  height: 14px;
}

.prophecy-counter {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 500;
}

.prophecy-detail-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  position: relative;
  z-index: 1;
  color: #ffffff;
}

/* Effet de lumière divine subtile */
.prophecy-detail-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.15) 0%,
    transparent 60%
  );
  animation: divineLight 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes divineLight {
  0%, 100% {
    transform: translate(-30%, -30%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(30%, 30%) scale(1.2);
    opacity: 0.8;
  }
}

/* Pattern subtil */
.prophecy-detail-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

/* === SÉLECTEUR DE VERSION BIBLIQUE === */
.prophecy-version-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 24px;
  background: linear-gradient(135deg, #f8f8ff 0%, #eef2ff 100%);
  border-bottom: 1px solid #e2e8f0;
}

.prophecy-version-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

.prophecy-version-label svg {
  width: 16px;
  height: 16px;
  color: #3a38b2;
}

.prophecy-version-select {
  flex: 1;
  max-width: 220px;
  padding: 8px 12px;
  border: 1px solid #c7d2fe;
  border-radius: 6px;
  background: #ffffff;
  color: #1e293b;
  font-size: 13px;
  font-weight: 500;
  font-family: 'DM Sans', Roboto, sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%233a38b2' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 32px;
}

.prophecy-version-select:hover {
  border-color: #3a38b2;
}

.prophecy-version-select:focus {
  outline: none;
  border-color: #3a38b2;
  box-shadow: 0 0 0 3px rgba(58, 56, 178, 0.1);
}

/* Loading state for verse text */
.loading-text {
  color: #94a3b8;
  font-style: italic;
}

/* === PROPHECY SECTIONS === */
.prophecy-section {
  padding: 24px;
  border-bottom: 1px solid #e2e8f0;
  background: #ffffff;
}

.prophecy-section:first-of-type {
  padding-top: 24px;
}

.prophecy-section:last-child {
  border-bottom: none;
}

.prophecy-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.prophecy-section-icon {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.prophecy-section-icon svg {
  width: 18px;
  height: 18px;
}

.prophecy-section-icon.prophecy-icon {
  background: linear-gradient(135deg, #f8f8ff 0%, #e8e8ff 100%);
  color: #3a38b2;
}

.prophecy-section-icon.accomplishment-icon {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  color: #166534;
}

.prophecy-section-icon.meditation-icon {
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
  color: #3730a3;
}

.prophecy-section-title {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.prophecy-section-subtitle {
  font-size: 12px;
  color: #64748b;
  margin: 2px 0 0;
}

/* === PROPHECY TEXT BOX === */
.prophecy-text-box {
  background: #f8f8ff;
  border-radius: 4px;
  padding: 18px 20px;
  margin-bottom: 16px;
}

.prophecy-reference {
  font-size: 13px;
  font-weight: 700;
  color: #3a38b2;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.prophecy-reference svg {
  width: 14px;
  height: 14px;
}

.prophecy-text {
  font-size: 15px;
  color: #334155;
  line-height: 1.7;
  margin: 0;
  font-weight: 500;
  font-family: 'DM Sans', Roboto, sans-serif !important;
}

.prophecy-context {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px dashed #e2e8f0;
}

.prophecy-context p {
  margin: 0 0 12px;
  line-height: 1.7;
}

.prophecy-context p:last-child {
  margin-bottom: 0;
}

.prophecy-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.prophecy-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #64748b;
  background: #ffffff;
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
}

.prophecy-meta-item svg {
  width: 14px;
  height: 14px;
  color: #94a3b8;
}

.prophecy-meta-item strong {
  color: #475569;
  font-weight: 600;
}

/* === ACCOMPLISHMENT SECTION === */
.accomplishment-box {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-radius: 4px;
  padding: 18px 20px;
  border-left: 4px solid #22c55e;
}

.accomplishment-type {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.accomplishment-type.type-nouveau {
  background: #ffffff;
  color: #166534;
}

.accomplishment-type.type-histoire {
  background: #ede9fe;
  color: #5b21b6;
}

.accomplishment-type.type-contemporaine {
  background: #ffffff;
  color: #1e40af;
}

.accomplishment-ref {
  font-size: 13px;
  font-weight: 700;
  color: #166534;
  margin-bottom: 10px;
}

.accomplishment-text {
  font-size: 15px;
  color: #166534;
  line-height: 1.7;
  margin: 0 0 12px;
  font-weight: 500;
}

.accomplishment-description {
  font-size: 14px;
  color: #334155;
  line-height: 1.6;
  margin: 0;
  padding-top: 12px;
  border-top: 1px dashed rgba(34, 197, 94, 0.3);
}

.accomplishment-description p {
  margin: 0 0 12px;
  line-height: 1.7;
}

.accomplishment-description p:last-child {
  margin-bottom: 0;
}

/* === MEDITATION SECTION === */
.meditation-box {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  border-radius: 4px;
  padding: 22px 24px;
  border-left: 4px solid #8b5cf6;
  position: relative;
}

/* Icône décorative méditation */
.meditation-box::before {
  content: '🕊️';
  position: absolute;
  top: -10px;
  right: 20px;
  font-size: 20px;
  background: #ffffff;
  padding: 0 6px;
  border-radius: 50%;
}

.meditation-text {
  font-size: 15px;
  color: #3730a3;
  line-height: 1.8;
  margin: 0;
  font-style: normal;
}

.meditation-text p {
  margin: 0 0 16px;
  line-height: 1.8;
  text-align: justify;
}

.meditation-text p:last-child {
  margin-bottom: 0;
}

.meditation-text p:first-child::first-letter {
  font-size: 1.4em;
  font-weight: 700;
  color: #6d28d9;
}

/* === BARRE D'ACTIONS (J'AIME + PARTAGE) === */
.prophecy-actions-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  background: linear-gradient(180deg, #fafbfc 0%, #f1f5f9 100%);
  border-top: 1px solid #e2e8f0;
}

.prophecy-like-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  cursor: pointer;
  color: #64748b;
  font-size: 14px;
  font-weight: 500;
  font-family: 'DM Sans', Roboto, sans-serif;
  transition: all 0.2s ease;
}

.prophecy-like-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.prophecy-like-btn:hover {
  border-color: #3a38b2;
  color: #3a38b2;
}

.prophecy-like-btn.liked {
  background: linear-gradient(135deg, #f8f8ff 0%, #eef0ff 100%);
  border-color: #3a38b2;
  color: #3a38b2;
}

.prophecy-like-btn.liked svg {
  color: #3a38b2;
}

.prophecy-like-btn.animate svg {
  animation: heartBeat 0.4s ease-in-out;
}

@keyframes heartBeat {
  0% { transform: scale(1); }
  25% { transform: scale(1.3); }
  50% { transform: scale(1); }
  75% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.like-count {
  font-weight: 700;
  min-width: 24px;
}

.like-label {
  color: inherit;
}

.prophecy-share-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  font-family: 'DM Sans', Roboto, sans-serif;
  transition: all 0.2s ease;
  margin-left: auto;
}

.prophecy-share-btn svg {
  width: 20px;
  height: 20px;
}

.prophecy-share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

/* === BOUTONS DE NAVIGATION DÉTAIL === */
.prophecy-nav-buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 24px 24px;
}

.prophecy-nav-prev,
.prophecy-nav-next {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'DM Sans', Roboto, sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
}

.prophecy-nav-prev svg,
.prophecy-nav-next svg {
  width: 18px;
  height: 18px;
}

.prophecy-nav-prev {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.prophecy-nav-prev:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
}

.prophecy-nav-next {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  border: none;
}

.prophecy-nav-next:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

/* === FOOTER === */
.prophecies-footer {
  padding: 16px 24px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.prophecies-footer-copyright {
  font-size: 9px;
  color: #94a3b8;
}

.prophecies-footer-copyright a {
  color: #64748b;
  text-decoration: none;
}

.prophecies-footer-copyright a:hover {
  color: #f59e0b;
}

/* === AMBIENT RADIO CONTROL === */
.prophecies-ambient-control {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(245, 158, 11, 0.02) 100%);
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.prophecies-ambient-control:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(245, 158, 11, 0.05) 100%);
  border-color: #f59e0b;
}

.prophecies-ambient-control.playing {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  border-color: #f59e0b;
}

.prophecies-ambient-control.playing .prophecies-ambient-title,
.prophecies-ambient-control.playing .prophecies-ambient-station {
  color: white;
}

.prophecies-ambient-control.playing .prophecies-ambient-btn {
  background: white;
  color: #f59e0b;
}

.prophecies-ambient-control.playing .prophecies-ambient-waves span {
  background: white;
}

.prophecies-ambient-waves {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}

.prophecies-ambient-waves span {
  width: 2px;
  background: #f59e0b;
  border-radius: 1px;
  animation: none;
}

.prophecies-ambient-waves span:nth-child(1) { height: 4px; }
.prophecies-ambient-waves span:nth-child(2) { height: 8px; }
.prophecies-ambient-waves span:nth-child(3) { height: 12px; }
.prophecies-ambient-waves span:nth-child(4) { height: 6px; }
.prophecies-ambient-waves span:nth-child(5) { height: 10px; }

.prophecies-ambient-control.playing .prophecies-ambient-waves span {
  animation: propheciesWave 0.8s ease-in-out infinite;
}

.prophecies-ambient-control.playing .prophecies-ambient-waves span:nth-child(1) { animation-delay: 0s; }
.prophecies-ambient-control.playing .prophecies-ambient-waves span:nth-child(2) { animation-delay: 0.1s; }
.prophecies-ambient-control.playing .prophecies-ambient-waves span:nth-child(3) { animation-delay: 0.2s; }
.prophecies-ambient-control.playing .prophecies-ambient-waves span:nth-child(4) { animation-delay: 0.3s; }
.prophecies-ambient-control.playing .prophecies-ambient-waves span:nth-child(5) { animation-delay: 0.4s; }

@keyframes propheciesWave {
  0%, 100% { height: 4px; }
  50% { height: 14px; }
}

.prophecies-ambient-label {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.prophecies-ambient-title {
  font-size: 9px;
  font-weight: 600;
  color: #1e293b;
}

.prophecies-ambient-station {
  font-size: 8px;
  color: #f59e0b;
  font-weight: 500;
}

.prophecies-ambient-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: #f59e0b;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.prophecies-ambient-btn:hover {
  transform: scale(1.1);
}

.prophecies-ambient-btn .prophecies-icon-pause {
  display: none;
}

.prophecies-ambient-control.playing .prophecies-ambient-btn .prophecies-icon-play {
  display: none;
}

.prophecies-ambient-control.playing .prophecies-ambient-btn .prophecies-icon-pause {
  display: block;
}

.prophecies-share-btn {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff;
  border: none;
  padding: 10px 16px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.prophecies-share-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.prophecies-share-btn svg {
  width: 16px;
  height: 16px;
}

/* === BODY LOCK === */
body.prophecies-panel-open {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
  height: 100% !important;
}

/* ============================================
   RESPONSIVE DESIGN - TOUS ÉCRANS
   ============================================ */

/* === LAPTOPS et TABLETTES (601px - 1366px) - POPUP CENTRÉ === */
@media (min-width: 601px) and (max-width: 1366px) {
  #prophecies-panel {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 92% !important;
    max-width: 680px !important;
    height: 85vh !important;
    max-height: 85vh !important;
    border-radius: 16px !important;
    margin: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
  }
  
  /* Conteneur scrollable */
  .prophecies-content {
    flex: 1 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  
  .prophecies-welcome {
    justify-content: flex-start !important;
    overflow-y: auto !important;
  }
  
  .prophecies-list {
    overflow-y: auto !important;
    max-height: none !important;
  }
  
  #prophecies-panel.active {
    transform: translate(-50%, -50%) scale(1) !important;
  }
  
  /* Overlay caché par défaut */
  #prophecies-overlay {
    display: none !important;
  }
  /* Afficher l'overlay seulement quand actif */
  #prophecies-overlay.active {
    display: flex !important;
  }
  /* Panel caché par défaut */
  #prophecies-panel {
    display: none !important;
  }
  #prophecies-panel.active {
    display: flex !important;
  }
}

/* === MOBILE UNIQUEMENT (jusqu'à 600px) - FULLSCREEN === */
@media (max-width: 600px) {
  #prophecies-panel {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    border-radius: 0 !important;
    margin: 0 !important;
  }
  
  #prophecies-panel.active {
    transform: none !important;
  }
  
  #prophecies-overlay {
    display: none !important;
  }
  
  .prophecies-body {
    -webkit-overflow-scrolling: touch;
  }
  
  .prophecies-header {
    padding: 18px 20px;
  }
  
  .prophecies-header-title {
    font-size: 18px;
  }
  
  .prophecies-welcome {
    padding: 32px 24px;
  }
  
  .prophecy-detail-header {
    padding: 16px 20px 20px;
  }
  
  .prophecy-section {
    padding: 20px 24px;
  }
  
  .prophecy-text-box {
    padding: 16px 18px;
  }
  
  .prophecy-text {
    font-size: 15px;
    line-height: 1.7;
  }
}

/* === Tablettes moyennes (jusqu'à 768px) === */
@media (max-width: 768px) {
  .prophecies-header {
    padding: 16px 18px;
  }
  
  .prophecies-header-icon {
    width: 40px;
    height: 40px;
  }
  
  .prophecies-header-title {
    font-size: 17px;
  }
  
  .prophecies-welcome {
    padding: 28px 20px;
  }
  
  .prophecies-welcome h3 {
    font-size: 20px;
  }
  
  .prophecies-welcome p {
    font-size: 14px;
  }
  
  .prophecies-list {
    padding: 14px 16px;
  }
  
  .prophecy-card-header {
    padding: 12px 14px;
    gap: 10px;
  }
  
  .prophecy-number {
    width: 40px;
    height: 40px;
    font-size: 13px;
  }
  
  .prophecy-card-title {
    font-size: 13px;
  }
  
  .prophecy-card-ref {
    font-size: 10px;
  }
  
  .prophecy-detail-header {
    padding: 14px 18px 18px;
  }
  
  .prophecy-detail-title {
    font-size: 18px;
    line-height: 1.35;
  }
  
  .prophecy-detail-number {
    font-size: 10px;
    padding: 4px 8px;
  }
  
  .prophecy-section {
    padding: 18px 16px;
  }
  
  .prophecy-section-header {
    margin-bottom: 14px;
    gap: 8px;
  }
  
  .prophecy-section-icon {
    width: 32px;
    height: 32px;
  }
  
  .prophecy-section-icon svg {
    width: 16px;
    height: 16px;
  }
  
  .prophecy-section-title {
    font-size: 13px;
  }
  
  .prophecy-text-box {
    padding: 14px 16px;
    border-radius: 6px;
  }
  
  .prophecy-reference {
    font-size: 12px;
    margin-bottom: 8px;
  }
  
  .prophecy-text {
    font-size: 14px;
    line-height: 1.65;
  }
  
  .prophecy-version-bar {
    padding: 10px 16px;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .prophecy-version-label {
    font-size: 12px;
    width: 100%;
  }
  
  .prophecy-version-select {
    max-width: 100%;
    width: 100%;
    font-size: 13px;
  }
  
  /* Navigation prophétie */
  .prophecy-detail-nav {
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .prophecy-nav-left {
    gap: 8px;
  }
  
  .prophecy-back-btn {
    font-size: 11px;
    padding: 4px 8px;
  }
  
  .prophecy-counter {
    font-size: 11px;
    padding: 3px 8px;
  }
  
  /* Actions de la prophétie */
  .prophecy-actions {
    padding: 16px;
    gap: 10px;
    flex-wrap: wrap;
  }
  
  .prophecy-action-btn {
    padding: 10px 14px;
    font-size: 12px;
    flex: 1;
    min-width: 120px;
    justify-content: center;
  }
  
  /* Accomplissement */
  .accomplishment-box {
    padding: 14px 16px;
  }
  
  .accomplishment-text {
    font-size: 14px;
    line-height: 1.65;
  }
  
  /* Méditation */
  .meditation-content {
    padding: 14px 16px;
  }
  
  .meditation-text {
    font-size: 14px;
    line-height: 1.65;
  }
  
  /* Barre de recherche */
  .prophecies-search-bar {
    padding: 0 16px 14px;
  }
  
  .prophecies-search-input {
    font-size: 14px;
    padding: 9px 10px 9px 38px;
  }
  
  .prophecies-search-icon {
    left: 28px;
    width: 16px;
    height: 16px;
  }
}

/* === Smartphones (jusqu'à 480px) === */
@media (max-width: 480px) {
  .prophecies-header {
    padding: 14px 16px;
  }
  
  .prophecies-header-icon {
    width: 36px;
    height: 36px;
  }
  
  .prophecies-header-title {
    font-size: 15px;
  }
  
  .prophecies-close-btn {
    width: 36px;
    height: 36px;
  }
  
  .prophecies-close-btn svg {
    width: 20px;
    height: 20px;
  }
  
  .prophecies-welcome {
    padding: 24px 16px;
  }
  
  .prophecies-welcome h3 {
    font-size: 18px;
  }
  
  .prophecies-welcome p {
    font-size: 13px;
  }
  
  .prophecies-welcome-cta {
    padding: 12px 20px;
    font-size: 13px;
  }
  
  .prophecies-list {
    padding: 12px 14px;
  }
  
  .prophecy-card {
    margin-bottom: 6px;
  }
  
  .prophecy-card-header {
    padding: 10px 12px;
    gap: 8px;
  }
  
  .prophecy-number {
    width: 36px;
    height: 36px;
    font-size: 12px;
  }
  
  .prophecy-card-title {
    font-size: 12px;
    line-height: 1.25;
  }
  
  .prophecy-card-meta {
    gap: 4px;
  }
  
  .prophecy-card-ref {
    font-size: 9px;
    padding: 2px 4px;
  }
  
  .prophecy-card-type {
    font-size: 9px;
    padding: 2px 4px;
  }
  
  .prophecy-card-likes {
    font-size: 11px;
    padding: 2px 6px;
  }
  
  .prophecy-card-likes svg {
    width: 14px;
    height: 14px;
  }
  
  .prophecy-detail-header {
    padding: 12px 14px 16px;
  }
  
  .prophecy-detail-title {
    font-size: 16px;
    line-height: 1.3;
  }
  
  .prophecy-detail-number {
    font-size: 9px;
    padding: 3px 6px;
  }
  
  .prophecy-back-btn {
    font-size: 10px;
    padding: 4px 6px;
  }
  
  .prophecy-back-btn svg {
    width: 12px;
    height: 12px;
  }
  
  .prophecy-counter {
    font-size: 10px;
    padding: 3px 6px;
  }
  
  .prophecy-section {
    padding: 16px 14px;
  }
  
  .prophecy-section-header {
    margin-bottom: 12px;
    gap: 8px;
  }
  
  .prophecy-section-icon {
    width: 28px;
    height: 28px;
  }
  
  .prophecy-section-icon svg {
    width: 14px;
    height: 14px;
  }
  
  .prophecy-section-title {
    font-size: 12px;
  }
  
  .prophecy-section-subtitle {
    font-size: 11px;
  }
  
  .prophecy-text-box {
    padding: 12px 14px;
    border-radius: 4px;
  }
  
  .prophecy-reference {
    font-size: 11px;
    margin-bottom: 6px;
  }
  
  .prophecy-reference svg {
    width: 12px;
    height: 12px;
  }
  
  .prophecy-text {
    font-size: 13px;
    line-height: 1.6;
  }
  
  .prophecy-version-bar {
    padding: 10px 14px;
  }
  
  .prophecy-version-label {
    font-size: 11px;
  }
  
  .prophecy-version-select {
    font-size: 12px;
    padding: 7px 10px;
    padding-right: 28px;
  }
  
  /* Actions */
  .prophecy-actions {
    padding: 14px;
    gap: 8px;
  }
  
  .prophecy-action-btn {
    padding: 8px 12px;
    font-size: 11px;
    gap: 6px;
  }
  
  .prophecy-action-btn svg {
    width: 14px;
    height: 14px;
  }
  
  /* Accomplissement */
  .accomplishment-box {
    padding: 12px 14px;
  }
  
  .accomplishment-reference {
    font-size: 11px;
  }
  
  .accomplishment-text {
    font-size: 13px;
    line-height: 1.6;
  }
  
  /* Méditation */
  .meditation-content {
    padding: 12px 14px;
  }
  
  .meditation-text {
    font-size: 13px;
    line-height: 1.6;
  }
  
  /* Barre de recherche */
  .prophecies-search-bar {
    padding: 0 14px 12px;
  }
  
  .prophecies-search-input {
    font-size: 13px;
    padding: 8px 10px 8px 34px;
  }
  
  .prophecies-search-icon {
    left: 24px;
    width: 14px;
    height: 14px;
  }
  
  .prophecies-voice-btn {
    width: 38px;
    height: 36px;
  }
  
  .prophecies-voice-btn svg {
    width: 18px;
    height: 18px;
  }
  
  /* États vides */
  .prophecies-empty-state {
    padding: 40px 16px;
  }
  
  .prophecies-empty-state svg {
    width: 48px;
    height: 48px;
  }
  
  .prophecies-empty-state p {
    font-size: 13px;
  }
  
  .prophecies-empty-state button {
    padding: 8px 16px;
    font-size: 13px;
  }
  
  /* Navigation */
  .prophecies-nav {
    padding: 12px 14px;
    gap: 8px;
  }
  
  /* Hub / Journey */
  .hub-section {
    padding: 16px 14px;
  }
  
  .journey-stats {
    gap: 8px;
  }
  
  .journey-stat {
    padding: 12px 10px;
  }
  
  .journey-stat-value {
    font-size: 22px;
  }
  
  .journey-stat-label {
    font-size: 10px;
  }
  
  .hub-progress-section {
    gap: 10px;
  }
  
  .hub-progress-stats {
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .hub-quote {
    padding: 14px;
    font-size: 13px;
  }
  
  .hub-quote cite {
    font-size: 11px;
  }
}

/* === Très petits écrans (jusqu'à 360px) === */
@media (max-width: 360px) {
  .prophecies-header {
    padding: 12px 14px;
  }
  
  .prophecies-header-icon {
    width: 32px;
    height: 32px;
  }
  
  .prophecies-header-title {
    font-size: 14px;
  }
  
  .prophecies-close-btn {
    width: 32px;
    height: 32px;
  }
  
  .prophecies-welcome {
    padding: 20px 14px;
  }
  
  .prophecies-welcome h3 {
    font-size: 16px;
  }
  
  .prophecies-welcome p {
    font-size: 12px;
  }
  
  .prophecies-welcome-cta {
    padding: 10px 16px;
    font-size: 12px;
  }
  
  .prophecies-list {
    padding: 10px 12px;
  }
  
  .prophecy-card-header {
    padding: 8px 10px;
    gap: 6px;
  }
  
  .prophecy-number {
    width: 32px;
    height: 32px;
    font-size: 11px;
  }
  
  .prophecy-card-title {
    font-size: 11px;
  }
  
  .prophecy-card-ref {
    font-size: 8px;
  }
  
  .prophecy-card-type {
    font-size: 8px;
  }
  
  .prophecy-detail-header {
    padding: 10px 12px 14px;
  }
  
  .prophecy-detail-title {
    font-size: 15px;
  }
  
  .prophecy-section {
    padding: 14px 12px;
  }
  
  .prophecy-section-icon {
    width: 26px;
    height: 26px;
  }
  
  .prophecy-section-title {
    font-size: 11px;
  }
  
  .prophecy-text-box {
    padding: 10px 12px;
  }
  
  .prophecy-text {
    font-size: 12px;
    line-height: 1.55;
  }
  
  .prophecy-reference {
    font-size: 10px;
  }
  
  .prophecy-version-bar {
    padding: 8px 12px;
  }
  
  .prophecy-version-label {
    font-size: 10px;
  }
  
  .prophecy-version-select {
    font-size: 11px;
    padding: 6px 8px;
  }
  
  .prophecy-actions {
    padding: 12px;
    flex-direction: column;
    gap: 6px;
  }
  
  .prophecy-action-btn {
    width: 100%;
    justify-content: center;
    font-size: 11px;
  }
  
  .accomplishment-text,
  .meditation-text {
    font-size: 12px;
    line-height: 1.55;
  }
  
  .prophecies-search-bar {
    padding: 0 12px 10px;
  }
  
  .prophecies-search-input {
    font-size: 12px;
    padding: 7px 8px 7px 30px;
  }
  
  .prophecies-search-icon {
    left: 20px;
    width: 13px;
    height: 13px;
  }
  
  .prophecies-voice-btn {
    width: 34px;
    height: 34px;
  }
  
  /* Hub / Journey */
  .hub-section {
    padding: 14px 12px;
  }
  
  .journey-stat {
    padding: 10px 8px;
  }
  
  .journey-stat-value {
    font-size: 20px;
  }
  
  .journey-stat-label {
    font-size: 9px;
  }
  
  .hub-quote {
    padding: 12px;
    font-size: 12px;
  }
}

/* === BUTTON STYLE FOR NAV === */
.ba-prophecies-nav-btn {
  background: linear-gradient(135deg, #3a38b2 0%, #2d2b8a 100%) !important;
  border: none !important;
  color: #ffffff !important;
  padding: 8px 16px !important;
  border-radius: 4px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  box-shadow: 0 2px 8px rgba(58, 56, 178, 0.35) !important;
}

.ba-prophecies-nav-btn:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(58, 56, 178, 0.5) !important;
  background: linear-gradient(135deg, #4845c7 0%, #3a38b2 100%) !important;
}

.ba-prophecies-nav-btn i,
.ba-prophecies-nav-btn svg {
  width: 16px;
  height: 16px;
}

/* ============================================
   AUTO-ÉVALUATION SPIRITUELLE
   ============================================ */

/* Section Container */
.evaluation-section {
  margin: 0;
  padding: 24px;
  background: #ffffff;
  border-radius: 0;
  border: none;
  border-top: 1px solid #e2e8f0;
  position: relative;
  overflow: visible;
}

.evaluation-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  background: linear-gradient(90deg, #3a38b2, #6366f1, #818cf8);
  border-radius: 0 0 2px 2px;
}

.evaluation-section.evaluated {
  background: #ffffff;
}

.evaluation-section.evaluated::before {
  background: linear-gradient(90deg, #22c55e, #4ade80, #86efac);
}

.evaluation-icon {
  background: linear-gradient(135deg, #3a38b2 0%, #6366f1 100%) !important;
  color: #ffffff !important;
}

.evaluated .evaluation-icon {
  background: linear-gradient(135deg, #22c55e 0%, #4ade80 100%) !important;
}

/* Intro text */
.eval-intro {
  margin-bottom: 16px;
  padding: 12px 14px;
  background: #ffffff;
  border-radius: 4px;
  border-left: 3px solid #3a38b2;
}

.eval-intro p {
  margin: 0;
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
}

/* Completed banner */
.eval-completed-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #dcfce7;
  border-radius: 4px;
  margin-bottom: 16px;
}

.eval-completed-banner svg {
  width: 18px;
  height: 18px;
  color: #22c55e;
  flex-shrink: 0;
}

.eval-completed-banner span {
  font-size: 13px;
  font-weight: 500;
  color: #166534;
}

/* Questions container */
.eval-questions-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

/* Individual question */
.eval-question {
  background: #ffffff;
  border-radius: 4px;
  padding: 14px;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}

.eval-question:hover {
  border-color: #a5b4fc;
  box-shadow: 0 2px 8px rgba(58, 56, 178, 0.08);
}

.eval-question.shake {
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}

.eval-question-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.eval-icon {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.eval-icon svg {
  width: 16px;
  height: 16px;
}

/* Colored icon backgrounds matching journey stats */
.eval-question:nth-child(1) .eval-icon {
  background: linear-gradient(135deg, #3a38b2 0%, #6366f1 100%);
  color: #ffffff;
}

.eval-question:nth-child(2) .eval-icon {
  background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%);
  color: #ffffff;
}

.eval-question:nth-child(3) .eval-icon {
  background: linear-gradient(135deg, #f43f5e 0%, #fb7185 100%);
  color: #ffffff;
}

.eval-question-text {
  font-size: 13px;
  font-weight: 500;
  color: #334155;
  line-height: 1.5;
}

/* Stars rating */
.eval-stars {
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
}

.eval-star {
  width: 32px;
  height: 32px;
  border: none;
  background: #f1f5f9;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  color: #cbd5e1;
}

.eval-star svg {
  width: 18px;
  height: 18px;
  transition: all 0.2s ease;
}

.eval-star:hover:not([disabled]) {
  background: #eef2ff;
  transform: scale(1.05);
}

.eval-star.hover:not([disabled]) {
  color: #6366f1;
}

.eval-star.hover:not([disabled]) svg {
  fill: #6366f1;
}

.eval-star.active {
  background: linear-gradient(135deg, #3a38b2 0%, #6366f1 100%);
  color: #ffffff;
}

.eval-star.active svg {
  fill: #ffffff;
}

.eval-star[disabled] {
  cursor: default;
  opacity: 0.8;
}

.eval-label {
  font-size: 11px;
  color: #94a3b8;
  text-align: center;
  padding-left: 4px;
  transition: all 0.2s ease;
}

.eval-label.selected {
  color: #3a38b2;
  font-weight: 600;
}

/* Note textarea */
.eval-note-container {
  margin-bottom: 16px;
}

.eval-note-container label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #475569;
  margin-bottom: 6px;
}

.eval-note-container label svg {
  width: 14px;
  height: 14px;
  color: #64748b;
}

.eval-note {
  width: 100%;
  min-height: 80px;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.5;
  resize: vertical;
  transition: all 0.2s ease;
  background: #ffffff;
}

.eval-note:focus {
  outline: none;
  border-color: #3a38b2;
  box-shadow: 0 0 0 2px rgba(58, 56, 178, 0.1);
}

.eval-note[readonly] {
  background: #f8fafc;
  cursor: default;
}

/* Submit button */
.eval-submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #3a38b2 0%, #6366f1 100%);
  border: none;
  border-radius: 4px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(58, 56, 178, 0.25);
}

.eval-submit-btn svg {
  width: 18px;
  height: 18px;
}

.eval-submit-btn:hover:not([disabled]) {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(58, 56, 178, 0.35);
}

.eval-submit-btn.success {
  background: linear-gradient(135deg, #22c55e 0%, #4ade80 100%);
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.25);
}

.eval-submit-btn[disabled] {
  cursor: default;
}

/* Actions row (Modifier + Réinitialiser) */
.eval-actions-row {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.eval-modify-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #3a38b2 0%, #6366f1 100%);
  border: none;
  border-radius: 4px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'DM Sans', Roboto, sans-serif;
}

.eval-modify-btn svg {
  width: 16px;
  height: 16px;
}

.eval-modify-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(58, 56, 178, 0.3);
}

.eval-reset-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 16px;
  background: transparent;
  border: 1px solid #fecaca;
  border-radius: 4px;
  color: #dc2626;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'DM Sans', Roboto, sans-serif;
}

.eval-reset-btn svg {
  width: 16px;
  height: 16px;
}

.eval-reset-btn:hover {
  background: #fef2f2;
  border-color: #f87171;
}

/* Redo button (legacy) */
.eval-redo-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  background: transparent;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.eval-redo-btn svg {
  width: 16px;
  height: 16px;
}

.eval-redo-btn:hover {
  border-color: #3a38b2;
  color: #3a38b2;
  background: #f8f8ff;
}

/* Toast message */
.eval-toast {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: #1e1b4b;
  border-radius: 4px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 10;
}

.eval-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.eval-toast .toast-icon {
  width: 20px;
  height: 20px;
  color: #a5b4fc;
  flex-shrink: 0;
}

.eval-toast p {
  margin: 0;
  font-size: 13px;
  color: #ffffff;
  line-height: 1.4;
  flex: 1;
}

.eval-toast button {
  padding: 6px 12px;
  background: #6366f1;
  border: none;
  border-radius: 4px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.eval-toast button:hover {
  background: #818cf8;
}

/* ============================================
   PARCOURS SPIRITUEL (JOURNEY)
   ============================================ */

.spiritual-journey {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Journey Hero - compact */
.journey-hero {
  padding: 12px 16px 14px;
  background: linear-gradient(135deg, #3a38b2 0%, #6366f1 100%);
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.journey-back-btn {
  position: absolute;
  top: 50%;
  right: 50px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 4px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.journey-back-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.journey-back-btn svg {
  width: 14px;
  height: 14px;
}

.journey-hero-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-top: 8px;
}

.journey-hero-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.journey-hero-icon svg {
  width: 20px;
  height: 20px;
  color: #ffffff;
}

.journey-hero h2 {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

/* Journey Content */
.journey-content {
  flex: 1;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  background: #ffffff;
}

/* Ring Progress Section */
.journey-ring-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 10px 0;
}

.journey-ring {
  position: relative;
  width: 90px;
  height: 90px;
}

.journey-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(0deg);
}

.journey-ring-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.journey-ring-percent {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #3a38b2;
  line-height: 1;
}

.journey-ring-label {
  display: block;
  font-size: 7px;
  color: #64748b;
  margin-top: 2px;
  text-transform: none;
  letter-spacing: -0.9px;
  white-space: nowrap;
}

.journey-ring-info {
  text-align: left;
}

.journey-ring-count {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
}

.journey-ring-text {
  display: block;
  font-size: 11px;
  color: #64748b;
}

/* Stats Grid */
.journey-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.journey-stat-card {
  background: #f8fafc;
  border-radius: 4px;
  padding: 10px 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.journey-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #3a38b2, #6366f1);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.journey-stat-card:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(58, 56, 178, 0.15);
}

.journey-stat-card:hover::before {
  opacity: 1;
}

.journey-stat-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #3a38b2 0%, #6366f1 100%);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.journey-stat-card:hover .journey-stat-icon {
  transform: scale(1.1);
}

.journey-stat-icon svg {
  width: 18px;
  height: 18px;
  color: #ffffff;
}

.journey-stat-icon-blue {
  background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%);
}

.journey-stat-icon-rose {
  background: linear-gradient(135deg, #f43f5e 0%, #fb7185 100%);
}

.journey-stat-icon-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
}

.journey-stat-data {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.journey-stat-value {
  font-size: 18px;
  font-weight: 700;
  color: #3a38b2;
  line-height: 1.1;
}

.journey-stat-label {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
}

.journey-stat-desc {
  font-size: 10px;
  color: #94a3b8;
  margin-top: 1px;
}

/* Footer avec dernière méditation */
.journey-footer {
  display: flex;
  gap: 10px;
  align-items: stretch;
  margin-top: auto;
  border: none;
  padding-top: 0;
}

.journey-last {
  flex: 1;
  background: #f8f8ff;
  border-radius: 4px;
  padding: 10px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 0;
}

.journey-last:hover {
  background: #eef2ff;
}

.journey-last-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.journey-last-header svg {
  width: 12px;
  height: 12px;
  color: #3a38b2;
}

.journey-last-header span {
  font-size: 9px;
  font-weight: 600;
  color: #3a38b2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.journey-last-title {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.3;
}

.journey-last-date {
  font-size: 10px;
  color: #64748b;
  margin-top: 2px;
}

.journey-continue-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #3a38b2 0%, #6366f1 100%);
  border: none;
  border-radius: 4px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.journey-continue-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(58, 56, 178, 0.35);
}

.journey-continue-btn svg {
  width: 18px;
  height: 18px;
}

/* Empty State */
.journey-empty-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.journey-empty-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #f8f8ff 0%, #eef2ff 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.journey-empty-icon svg {
  width: 28px;
  height: 28px;
  color: #3a38b2;
}

.journey-empty-state h3 {
  font-size: 17px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 6px;
}

.journey-empty-state p {
  font-size: 13px;
  color: #64748b;
  margin: 0 0 20px;
  line-height: 1.5;
  max-width: 280px;
}

.journey-start-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #3a38b2 0%, #6366f1 100%);
  border: none;
  border-radius: 4px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.journey-start-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(58, 56, 178, 0.35);
}

.journey-start-btn svg {
  width: 18px;
  height: 18px;
}

/* Keep old styles for compatibility but hide them */
.journey-header {
  display: none;
}

.journey-stats {
  display: none;
}

.journey-progress {
  display: none;
}

.journey-recent {
  display: none;
}

.journey-empty {
  display: none;
}

.journey-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #3a38b2, #6366f1);
  border-radius: 4px;
  transition: width 0.5s ease;
}

.journey-progress-text {
  font-size: 11px;
  color: #64748b;
  margin: 0;
}

/* Recent meditations */
.journey-recent {
  margin-bottom: 20px;
}

.journey-recent h3 {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin: 0 0 10px;
}

.journey-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.journey-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: #ffffff;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.journey-item:hover {
  border-color: #3a38b2;
  background: #f8f8ff;
}

.journey-item-info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.journey-item-num {
  font-size: 11px;
  font-weight: 600;
  color: #3a38b2;
  background: #eef2ff;
  padding: 3px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

.journey-item-title {
  font-size: 12px;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.journey-item-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.journey-item-date {
  font-size: 10px;
  color: #94a3b8;
}

.journey-item-score {
  font-size: 11px;
  color: #3a38b2;
  letter-spacing: 1px;
}

/* Continue button */
.journey-continue-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #3a38b2 0%, #4845c7 100%);
  border: none;
  border-radius: 4px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(58, 56, 178, 0.25);
}

.journey-continue-btn svg {
  width: 18px;
  height: 18px;
}

.journey-continue-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(58, 56, 178, 0.35);
}

/* ============================================
   WELCOME BUTTONS
   ============================================ */

.prophecies-welcome-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.prophecies-journey-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  color: #64748b;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.prophecies-journey-btn svg {
  width: 18px;
  height: 18px;
}

.prophecies-journey-btn:hover {
  border-color: #3a38b2;
  color: #3a38b2;
  background: #f8f8ff;
}

.prophecies-journey-btn.has-progress {
  border-color: #3a38b2;
  color: #3a38b2;
  background: linear-gradient(180deg, #f8f8ff 0%, #eef2ff 100%);
}

.journey-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: linear-gradient(135deg, #22c55e 0%, #4ade80 100%);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(34, 197, 94, 0.3);
}

/* Welcome progress */
.prophecies-welcome-progress {
  margin-top: 16px;
  padding: 12px 16px;
  background: linear-gradient(180deg, #f0fdf4 0%, #dcfce7 100%);
  border-radius: 4px;
  border: 1px solid #86efac;
}

.progress-encouragement {
  margin: 0;
  font-size: 13px;
  color: #166534;
  text-align: center;
}

.progress-encouragement strong {
  color: #15803d;
}

/* ============================================
   HUB - PAGE CENTRALE
   ============================================ */

.prophecies-hub {
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: none;
  outline: none;
}

/* Hero Section */
.hub-hero {
  text-align: center;
  padding: 16px 16px 18px;
  background: url('../img/hub-hero-bg.jpg') center top / cover no-repeat;
  position: relative;
  flex-shrink: 0;
  border: none;
  outline: none;
  box-shadow: none;
  margin-top: -1px;
}

.hub-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(58, 56, 178, 0.85) 0%, rgba(99, 102, 241, 0.9) 100%);
  z-index: 0;
}

.hub-hero > * {
  position: relative;
  z-index: 1;
}

/* Bouton Accueil intégré dans le hero */
.hub-back-btn {
  position: absolute;
  top: 10px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 4px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 2;
}

.hub-back-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.hub-back-btn svg {
  width: 16px;
  height: 16px;
}

.hub-hero-image {
  width: 50px;
  height: 50px;
  margin: 0 auto 8px;
}

.hub-hero-image svg {
  width: 100%;
  height: 100%;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.hub-title {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 4px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hub-subtitle {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

/* Hub Content Container */
.hub-content {
  flex: 1;
  overflow: hidden;
  padding: 12px 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #ffffff;
  border-top: none;
}

/* Hub Cards */
.hub-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 92%;
  margin: 0 auto;
  width: 100%;
}

.hub-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #ffffff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.hub-card:hover {
  box-shadow: 0 3px 10px rgba(58, 56, 178, 0.15);
}

.hub-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hub-card-icon svg {
  width: 20px;
  height: 20px;
}

.hub-card-explore .hub-card-icon {
  background: linear-gradient(135deg, #3a38b2 0%, #6366f1 100%);
  color: #ffffff;
}

.hub-card-journey .hub-card-icon {
  background: #f1f5f9;
  color: #64748b;
}

.hub-card-journey.has-progress .hub-card-icon {
  background: linear-gradient(135deg, #22c55e 0%, #4ade80 100%);
  color: #ffffff;
}

.hub-card-content {
  flex: 1;
  min-width: 0;
}

.hub-card-content h3 {
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 3px;
}

.hub-card-content p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  line-height: 1.3;
}

.hub-card-arrow {
  width: 24px;
  height: 24px;
  color: #94a3b8;
  flex-shrink: 0;
  transition: all 0.2s ease;
  background: rgba(58, 56, 178, 0.08);
  border-radius: 50%;
  padding: 4px;
}

.hub-card:hover .hub-card-arrow {
  color: #3a38b2;
  background: rgba(58, 56, 178, 0.15);
  transform: translateX(2px);
}

.hub-card-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: linear-gradient(135deg, #22c55e 0%, #4ade80 100%);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(34, 197, 94, 0.3);
}

/* Hub Progress Section */
.hub-progress-section {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: linear-gradient(180deg, #f0fdf4 0%, #dcfce7 100%);
  border: none;
  border-radius: 4px;
  max-width: 92%;
  margin: 0 auto;
  width: 100%;
  box-shadow: 0 1px 3px rgba(34, 197, 94, 0.1);
}

.hub-progress-visual {
  position: relative;
  width: 55px;
  height: 55px;
  flex-shrink: 0;
}

.hub-progress-ring {
  width: 100%;
  height: 100%;
}

.hub-progress-percent {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
  font-weight: 700;
  color: #166534;
}

.hub-progress-info {
  flex: 1;
}

.hub-progress-info h4 {
  font-size: 14px;
  font-weight: 600;
  color: #166534;
  margin: 0 0 3px;
}

.hub-progress-info p {
  font-size: 12px;
  color: #15803d;
  margin: 0 0 6px;
}

.hub-progress-stats {
  display: flex;
  gap: 12px;
}

.hub-progress-stats span {
  font-size: 11px;
  color: #166534;
}

.hub-progress-stats strong {
  color: #15803d;
}

/* Hub Encouragement */
.hub-encouragement {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: #f8fafc;
  border: none;
  border-radius: 4px;
  max-width: 92%;
  margin: 16px auto 0;
  width: 100%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.hub-encouragement-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hub-encouragement-icon svg {
  width: 20px;
  height: 20px;
  color: #ffffff;
}

.hub-encouragement p {
  font-size: 13px;
  color: #475569;
  margin: 0;
  line-height: 1.55;
}

/* Hub Quote */
.hub-quote {
  position: relative;
  padding: 14px 16px;
  background: #ffffff;
  border: none;
  border-radius: 4px;
  max-width: 92%;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.hub-quote-icon {
  display: none;
  width: 20px;
  height: 20px;
  color: #3a38b2;
}

.hub-quote p {
  font-size: 14px;
  font-style: normal;
  color: #475569;
  margin: 0 0 6px;
  line-height: 1.5;
}

.hub-quote cite {
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  color: #3a38b2;
}

/* Mobile responsive */
@media (max-width: 480px) {
  .evaluation-section {
    padding: 16px;
    margin-top: 16px;
  }
  
  .hub-encouragement {
    margin-top: 12px;
    padding: 12px 14px;
  }
  
  .hub-encouragement-icon {
    width: 36px;
    height: 36px;
  }
  
  .hub-encouragement-icon svg {
    width: 18px;
    height: 18px;
  }
  
  .eval-stars {
    gap: 6px;
    justify-content: center;
  }
  
  .eval-star {
    width: 40px;
    height: 40px;
  }
  
  .journey-stats {
    gap: 8px;
  }
  
  .journey-stat {
    padding: 12px;
  }
  
  .journey-stat-value {
    font-size: 24px;
  }
  
  .journey-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .journey-item-meta {
    width: 100%;
    justify-content: space-between;
  }
  
  .hub-progress-section {
    gap: 10px;
  }
  
  .hub-progress-stats {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

/* ============================================
   MODAL DE CONFIRMATION
   ============================================ */

.prophecy-confirm-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.prophecy-confirm-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.prophecy-confirm-modal {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 40px;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  text-align: center;
  transform: scale(0.9) translateY(-20px);
  transition: transform 0.3s ease;
}

.prophecy-confirm-overlay.visible .prophecy-confirm-modal {
  transform: scale(1) translateY(0);
}

.prophecy-confirm-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.prophecy-confirm-icon svg {
  width: 28px;
  height: 28px;
}

.prophecy-confirm-icon-danger {
  background: #fee2e2;
  color: #dc2626;
}

.prophecy-confirm-icon-warning {
  background: #fef3c7;
  color: #f59e0b;
}

.prophecy-confirm-icon-info {
  background: #dbeafe;
  color: #3b82f6;
}

.prophecy-confirm-icon-success {
  background: #dcfce7;
  color: #22c55e;
}

.prophecy-confirm-title {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 12px;
  font-family: 'DM Sans', Roboto, sans-serif;
}

.prophecy-confirm-message {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 28px;
  line-height: 1.6;
}

.prophecy-confirm-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.prophecy-confirm-btn {
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  font-family: 'DM Sans', Roboto, sans-serif;
}

.prophecy-confirm-cancel {
  background: #f1f5f9;
  color: #64748b;
}

.prophecy-confirm-cancel:hover {
  background: #e2e8f0;
  color: #475569;
}

.prophecy-confirm-ok {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #ffffff;
}

.prophecy-confirm-ok:hover {
  background: linear-gradient(135deg, #b91c1c, #991b1b);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
  transform: translateY(-1px);
}
/* === RESPONSIVE MODAL DE CONFIRMATION === */
@media (max-width: 480px) {
  .prophecy-confirm-modal {
    padding: 24px 20px;
    border-radius: 12px;
    width: 92%;
    max-width: 340px;
  }
  
  .prophecy-confirm-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
  }
  
  .prophecy-confirm-icon svg {
    width: 24px;
    height: 24px;
  }
  
  .prophecy-confirm-title {
    font-size: 18px;
  }
  
  .prophecy-confirm-message {
    font-size: 13px;
    margin-bottom: 24px;
  }
  
  .prophecy-confirm-actions {
    flex-direction: column;
    gap: 10px;
  }
  
  .prophecy-confirm-btn {
    padding: 12px 20px;
    width: 100%;
    font-size: 13px;
  }
}

@media (max-width: 360px) {
  .prophecy-confirm-modal {
    padding: 20px 16px;
    width: 95%;
  }
  
  .prophecy-confirm-icon {
    width: 44px;
    height: 44px;
  }
  
  .prophecy-confirm-title {
    font-size: 16px;
  }
  
  .prophecy-confirm-message {
    font-size: 12px;
  }
  
  .prophecy-confirm-btn {
    padding: 10px 16px;
    font-size: 12px;
  }
}