/* ===== ARCHIVES — VARIABLES HÉRITÉES DU SITE ===== */
/* Couleurs : #160401 body, #120000 hero, #3f0418/#370617 panels,
   #e7d7c1 text, #a78a7f accents, #735751 muted */

/* ===== LANDING WRAPPER (fond continu landing + header) ===== */
.landing-wrapper {
  position: relative;
  background: #120000;
}

.landing-wrapper-bg {
  position: absolute;
  inset: 0;
  background: url('../../../assets/img/mapmonde.png') center/cover no-repeat;
  background-attachment: fixed;
  opacity: 0.2;
  z-index: 0;
  pointer-events: none;
}

/* ===== LANDING PAGE ===== */
.landing {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 2rem 2rem;
}

.landing-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

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

.landing-tagline {
  color: #e7d7c1;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 0.6rem;
}

.landing-usage {
  font-family: 'MedievalSharp', cursive;
  color: #a78a7f;
  font-size: 0.88rem;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 1.2rem;
}

.landing-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
  color: #c9a84c;
  font-size: 0.8rem;
  opacity: 0.5;
}

.landing-divider::before,
.landing-divider::after {
  content: '';
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c9a84c44, transparent);
}

.landing-prose {
  margin-bottom: 1.5rem;
}

.landing-prose p {
  color: #e7d7c1;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.6rem;
  opacity: 0.9;
}

.landing-prose p:last-child {
  margin-bottom: 0;
  font-style: italic;
  color: #a78a7f;
}

.landing-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 3rem 0 2.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(201, 168, 76, 0.12);
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
}

.landing-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.landing-stat-number {
  font-family: var(--font-title);
  font-size: 2rem;
  color: #c9a84c;
  letter-spacing: 0.04em;
}

.landing-stat-label {
  color: #a78a7f;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.landing-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #e7d7c1;
  font-size: 1rem;
  letter-spacing: 0.04em;
  padding: 0.8rem 2rem;
  border: 1px solid rgba(167, 138, 127, 0.4);
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  background: rgba(63, 4, 24, 0.3);
}

.landing-cta:hover {
  background: rgba(63, 4, 24, 0.6);
  border-color: rgba(167, 138, 127, 0.6);
  color: #a78a7f;
}

.landing-cta .btn-arrow {
  transition: transform 0.3s ease;
}

.landing-cta:hover .btn-arrow {
  transform: translateY(3px);
}

/* Landing responsive */
@media (max-width: 600px) {
  .landing {
    padding: 4rem 1.2rem 1.5rem;
  }

  .landing-title {
    font-size: 2rem;
  }

  .landing-tagline {
    font-size: 1rem;
  }

  .landing-prose p {
    font-size: 0.95rem;
  }

  .landing-stats {
    gap: 1.5rem;
  }

  .landing-stat-number {
    font-size: 1.5rem;
  }
}

/* ===== HEADER AVEC FOND CARTE ===== */
.archives-header {
  text-align: center;
  padding: 1rem 2rem 2rem;
  position: relative;
  overflow: hidden;
}

/* Fond propre uniquement quand le header est seul (sans landing) */
.archives-header:not(.landing-wrapper .archives-header) {
  background: #120000;
}

.archives-header-bg {
  position: absolute;
  inset: 0;
  background: url('../../../assets/img/mapmonde.png') center/cover no-repeat;
  background-attachment: fixed;
  opacity: 0.2;
  z-index: 0;
}

.archives-header > *:not(.archives-header-bg) {
  position: relative;
  z-index: 1;
}

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

.archives-subtitle {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.1rem;
  color: #c9b89a;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

/* User bar */
.archives-user {
  margin-top: 1rem;
}

.user-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

/* User card */
.user-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201, 168, 76, 0.05) 0%, transparent 60%),
    linear-gradient(160deg, rgba(63, 4, 24, 0.6) 0%, rgba(55, 6, 23, 0.6) 100%);
  border: 1px solid rgba(167, 138, 127, 0.3);
  border-radius: 10px;
  padding: 1.2rem 1.8rem;
  margin-top: 1rem;
  gap: 0.6rem;
}

.user-card-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

.user-card-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid rgba(201, 168, 76, 0.3);
  box-shadow: 0 0 12px rgba(201, 168, 76, 0.08);
  flex-shrink: 0;
  object-fit: cover;
}

.user-card-identity {
  display: flex;
  flex-direction: column;
  text-align: left;
  flex: 1;
}

.user-card-name {
  font-family: var(--font-title);
  font-size: 1.15rem;
  color: #e7d7c1;
  letter-spacing: 0.04em;
}

.user-card-role {
  font-size: 1.05rem;
  color: #a78a7f;
  font-style: italic;
}

.user-card-role-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(201, 168, 76, 0.15));
}

.user-card-stat-inline {
  font-size: 1rem;
  color: #a78a7f;
  margin-top: 0.3rem;
  font-style: italic;
}

.user-card-motto {
  font-size: 1rem;
  color: #e7d7c1;
  font-style: italic;
  margin-top: 0.1rem;
  opacity: 0.7;
}

.user-card-stats {
  display: flex;
  gap: 0.8rem;
  width: 100%;
  justify-content: center;
}

.user-card-stat {
  text-align: center;
  padding: 0.3rem 0.8rem;
  background: rgba(115, 87, 81, 0.1);
  border-radius: 4px;
  border: 1px solid rgba(115, 87, 81, 0.15);
  flex: 1;
}

.user-card-stat-value {
  display: block;
  font-family: var(--font-title);
  font-size: 1rem;
  color: #e7d7c1;
}

.user-card-stat-label {
  font-size: 0.6rem;
  color: #a78a7f;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.user-card-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(115, 87, 81, 0.12);
  width: 100%;
}

.user-not-member {
  color: #735751;
  font-size: 0.85rem;
  font-style: italic;
}

.btn-logout {
  color: #735751;
  font-size: 0.75rem;
  text-decoration: none;
  border: 1px solid rgba(115, 87, 81, 0.3);
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  transition: all 0.3s;
}

.btn-logout:hover {
  color: #a78a7f;
  border-color: #a78a7f;
}

/* Brouillons dans la user-card */
.user-card-drafts {
  width: 100%;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(115, 87, 81, 0.12);
}

.user-card-drafts-title {
  font-family: var(--font-title);
  font-size: 0.65rem;
  color: #a78a7f;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.3rem;
}

.drafts-count {
  font-size: 0.6rem;
  background: rgba(201, 168, 76, 0.15);
  color: #c9a84c;
  padding: 0.05rem 0.35rem;
  border-radius: 3px;
  font-weight: bold;
}

.user-card-drafts-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.draft-item {
  display: flex;
  align-items: center;
  gap: 0;
  border-radius: 3px;
  overflow: hidden;
  background: rgba(201, 168, 76, 0.05);
  border: 1px solid rgba(201, 168, 76, 0.12);
  transition: border-color 0.3s;
}

.draft-item:hover {
  border-color: rgba(201, 168, 76, 0.25);
}

.user-card-draft-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.25rem 0.5rem;
  text-decoration: none;
  flex: 1;
  min-width: 0;
  transition: background 0.3s;
}

.user-card-draft-link:hover {
  background: rgba(201, 168, 76, 0.08);
}

.user-card-draft-link .draft-title {
  font-size: 0.8rem;
  color: #e7d7c1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-card-draft-link .draft-category {
  font-family: var(--font-title);
  font-size: 0.55rem;
  color: #735751;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.draft-delete {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 100%;
  min-height: 28px;
  background: none;
  border: none;
  border-left: 1px solid rgba(201, 168, 76, 0.1);
  color: #735751;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.draft-delete:hover {
  background: rgba(164, 22, 26, 0.25);
  color: #d4736e;
}

.drafts-show-all {
  display: block;
  font-size: 0.7rem;
  color: #a78a7f;
  text-decoration: none;
  font-style: italic;
  margin-top: 0.3rem;
  padding-left: 0.5rem;
  transition: color 0.3s;
}

.drafts-show-all:hover {
  color: #e7d7c1;
}

.btn-login {
  display: inline-flex;
}

.btn-write {
  display: inline-flex;
}

/* ===== LAYOUT PRINCIPAL ===== */
.archives-layout {
  display: flex;
  max-width: 1600px;
  margin: 0 auto;
  padding: 2rem;
  gap: 2.5rem;
}

/* ===== SIDEBAR ===== */
.archives-sidebar {
  width: 250px;
  flex-shrink: 0;
}

.sidebar-section {
  margin-bottom: 2rem;
  background: linear-gradient(160deg, rgba(63, 4, 24, 0.3) 0%, rgba(55, 6, 23, 0.3) 100%);
  border: 1px solid rgba(115, 87, 81, 0.15);
  border-radius: 6px;
  padding: 1rem;
}

.sidebar-title {
  font-family: var(--font-title);
  font-size: 0.7rem;
  color: #e7d7c1;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(167, 138, 127, 0.15);
  position: relative;
  font-weight: 700;
}

.sidebar-title::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 30px;
  height: 1px;
  background: rgba(201, 168, 76, 0.4);
}

.sidebar-list {
  list-style: none;
}

.sidebar-list li {
  margin-bottom: 0.15rem;
}

.sidebar-list a {
  color: #e7d7c1;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.35rem 0.6rem;
  display: block;
  border-radius: 3px;
  transition: all 0.3s;
  border-left: 2px solid transparent;
}

.sidebar-list a:hover {
  background: rgba(115, 87, 81, 0.15);
  color: #a78a7f;
  border-left-color: rgba(201, 168, 76, 0.3);
}

.sidebar-list a.active {
  background: rgba(115, 87, 81, 0.2);
  color: #e7d7c1;
  font-weight: 600;
  border-left-color: #e7d7c1;
}

/* Search */
.sidebar-section:has(.search-input) {
  background: none;
  border: none;
  padding: 0;
}

.search-input {
  width: 100%;
  padding: 0.7rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #e7d7c1;
  background: linear-gradient(160deg, rgba(63, 4, 24, 0.5) 0%, rgba(55, 6, 23, 0.5) 100%);
  border: 1px solid rgba(167, 138, 127, 0.2);
  border-radius: 6px;
  outline: none;
  transition: all 0.3s;
}

.search-input::placeholder {
  color: #a78a7f;
  opacity: 0.5;
}

.search-input:focus {
  border-color: #a78a7f;
}

.search-results {
  display: none;
  background: #3f0418;
  border: 1px solid #735751;
  border-top: none;
  border-radius: 0 0 5px 5px;
  max-height: 300px;
  overflow-y: auto;
}

.search-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.8rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(115, 87, 81, 0.15);
  transition: background 0.2s;
}

.search-item:hover {
  background: rgba(115, 87, 81, 0.2);
}

.search-item-title {
  color: #e7d7c1;
  font-size: 0.85rem;
}

.search-item-cat {
  color: #735751;
  font-size: 0.7rem;
  font-family: var(--font-title);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.search-no-result {
  padding: 0.5rem 0.8rem;
  color: #735751;
  font-style: italic;
  font-size: 0.85rem;
}

/* Tags */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  font-family: var(--font-title);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  color: #e7d7c1;
  background: rgba(115, 87, 81, 0.12);
  border: 1px solid rgba(115, 87, 81, 0.25);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  text-decoration: none;
  transition: all 0.3s;
  font-weight: 600;
}

.tag:hover,
.tag.active {
  background: rgba(115, 87, 81, 0.25);
  border-color: #a78a7f;
  color: #e7d7c1;
}

.tag-count {
  opacity: 0.5;
  margin-left: 0.2rem;
}

/* ===== CONTENT ===== */
.archives-content {
  flex: 1;
  min-width: 0;
}

.content-title {
  font-family: var(--font-title);
  font-size: 1.6rem;
  color: #e7d7c1;
  text-align: left;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(167, 138, 127, 0.2);
  position: relative;
  font-weight: 700;
}

.content-title::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 168, 76, 0.5), transparent);
  margin: 0;
  display: block;
}

/* Filter header (tag / category pages) */
.filter-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.6rem;
  padding: 1.2rem 1.5rem;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201, 168, 76, 0.04) 0%, transparent 60%),
    linear-gradient(160deg, rgba(63, 4, 24, 0.5) 0%, rgba(55, 6, 23, 0.5) 100%);
  border: 1px solid rgba(167, 138, 127, 0.2);
  border-radius: 8px;
  position: relative;
}

.filter-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.15), transparent);
}

.filter-icon {
  font-size: 1.8rem;
  line-height: 1;
  color: #e7d7c1;
  opacity: 0.5;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 6px;
  background: rgba(201, 168, 76, 0.04);
}

.filter-header-text {
  flex: 1;
}

.filter-header .content-title {
  margin: 0;
  padding: 0;
  border: none;
  font-size: 1.4rem;
  position: static;
}

.filter-header .content-title::after {
  display: none;
}

.filter-desc {
  font-size: 1.2rem;
  color: #e7d7c1;
  font-style: italic;
  margin-top: 0.2rem;
  opacity: 0.7;
}

.filter-count {
  font-family: var(--font-title);
  font-size: 0.7rem;
  color: #e7d7c1;
  border: 1px solid rgba(167, 138, 127, 0.25);
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  white-space: nowrap;
  font-weight: 600;
}

.filter-back {
  display: inline-block;
  color: #e7d7c1;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  transition: color 0.3s;
  opacity: 0.7;
}

.filter-back:hover {
  color: #e7d7c1;
  opacity: 1;
}

/* Category sections */
.category-section {
  margin-bottom: 3rem;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(167, 138, 127, 0.2);
  position: relative;
}

.category-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 168, 76, 0.5), transparent);
}

.category-icon {
  font-size: 1.6rem;
  line-height: 1;
  opacity: 0.5;
  color: #e7d7c1;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 4px;
  background: rgba(201, 168, 76, 0.04);
}

.category-icon-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(201, 168, 76, 0.15));
}

.filter-icon-img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(201, 168, 76, 0.15));
}

.category-header-text {
  flex: 1;
}

.category-title {
  font-family: var(--font-title);
  font-size: 1.3rem;
  color: #e7d7c1;
  text-align: left;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
  padding: 0;
  border: none;
  font-weight: 700;
}

.category-title::after {
  display: none;
}

.category-desc {
  font-size: 1.2rem;
  color: #e7d7c1;
  font-style: italic;
  margin-top: 0.15rem;
  opacity: 0.7;
}

.category-count {
  font-family: var(--font-title);
  font-size: 0.7rem;
  color: #e7d7c1;
  border: 1px solid rgba(167, 138, 127, 0.25);
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  font-weight: 600;
}

/* Article cards — grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.article-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.4rem 1.4rem 1rem;
  min-height: 180px;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(201, 168, 76, 0.03) 0%, transparent 60%),
    linear-gradient(160deg, rgba(63, 4, 24, 0.55) 0%, rgba(55, 6, 23, 0.55) 100%);
  border: 1px solid rgba(167, 138, 127, 0.18);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.article-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.article-card:hover {
  background:
    radial-gradient(ellipse at 30% 0%, rgba(201, 168, 76, 0.06) 0%, transparent 60%),
    linear-gradient(160deg, #3f0418 0%, #370617 100%);
  border-color: rgba(167, 138, 127, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.article-card:hover::before {
  opacity: 1;
}

.article-card:hover .article-card-watermark {
  opacity: 0.25;
}

.article-card:hover .article-card-arrow {
  opacity: 1;
  transform: translateX(3px);
}

/* Watermark catégorie */
.article-card-watermark {
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 80px;
  height: 80px;
  object-fit: contain;
  opacity: 0.15;
  pointer-events: none;
  transition: opacity 0.3s;
}

.article-card-top {
  flex: 1;
  position: relative;
  z-index: 1;
}

.article-excerpt {
  font-size: 0.82rem;
  color: #e7d7c1;
  opacity: 0.55;
  line-height: 1.5;
  margin-top: 0.5rem;
}

.article-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.6rem;
  position: relative;
  z-index: 1;
}

.article-card-tag {
  font-family: var(--font-title);
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 0.04em;
  color: #a78a7f;
  background: rgba(115, 87, 81, 0.1);
  border: 1px solid rgba(115, 87, 81, 0.2);
  padding: 0.1rem 0.4rem;
  border-radius: 2px;
}

.article-card-bottom {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.8rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(115, 87, 81, 0.12);
  position: relative;
  z-index: 1;
}

.article-card-arrow {
  margin-left: auto;
  color: #a78a7f;
  font-size: 0.85rem;
  opacity: 0.3;
  transition: all 0.3s;
}

.article-card-avatar {
  width: 22px;
  height: 22px;
  min-width: 22px;
  max-width: 22px;
  min-height: 22px;
  max-height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(115, 87, 81, 0.3);
  object-fit: cover;
  flex-shrink: 0;
}

.article-title {
  font-family: var(--font-title);
  font-size: 1rem;
  color: #e7d7c1;
  line-height: 1.35;
}

.article-category-badge {
  font-family: var(--font-title);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e7d7c1;
  background: rgba(167, 138, 127, 0.12);
  border: 1px solid rgba(167, 138, 127, 0.2);
  padding: 0.1rem 0.45rem;
  border-radius: 2px;
  display: inline-block;
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.article-author {
  font-size: 0.85rem;
  color: #e7d7c1;
  font-style: italic;
  cursor: default;
  opacity: 0.7;
}

/* ===== ARCHIVES VIDE ===== */
.archives-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: #735751;
  background: linear-gradient(160deg, rgba(63, 4, 24, 0.3) 0%, rgba(55, 6, 23, 0.3) 100%);
  border: 1px solid rgba(115, 87, 81, 0.15);
  border-radius: 8px;
}

.archives-empty p {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.archives-empty p:first-child {
  font-family: var(--font-title);
  font-size: 1.15rem;
  color: #a78a7f;
}

/* ============================================================
   PAGE ARTICLE — EFFET PARCHEMIN
   ============================================================ */

.article-layout {
  display: flex;
  max-width: 1600px;
  margin: 0 auto;
  padding: 5rem 2rem 2rem;
  gap: 2.5rem;
}

/* --- Parchemin principal --- */
.article-main {
  flex: 1;
  min-width: 0;
  position: relative;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(201, 168, 76, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(201, 168, 76, 0.04) 0%, transparent 50%),
    linear-gradient(180deg,
      rgba(35, 15, 8, 0.95) 0%,
      rgba(40, 18, 10, 0.92) 10%,
      rgba(38, 16, 9, 0.90) 90%,
      rgba(35, 15, 8, 0.95) 100%
    );
  border: 1px solid rgba(167, 138, 127, 0.25);
  border-radius: 4px;
  padding: 3rem 2.5rem;
  box-shadow:
    0 0 40px rgba(0, 0, 0, 0.4),
    inset 0 0 80px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(201, 168, 76, 0.08);
}

/* Ornements de coins du parchemin */
.parchment-corner {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: rgba(167, 138, 127, 0.35);
  border-style: solid;
  z-index: 1;
  pointer-events: none;
}

.parchment-corner-tl {
  top: 12px;
  left: 12px;
  border-width: 2px 0 0 2px;
}

.parchment-corner-tr {
  top: 12px;
  right: 12px;
  border-width: 2px 2px 0 0;
}

.parchment-corner-bl {
  bottom: 12px;
  left: 12px;
  border-width: 0 0 2px 2px;
}

.parchment-corner-br {
  bottom: 12px;
  right: 12px;
  border-width: 0 2px 2px 0;
}

/* --- Bannière article --- */
.article-banner {
  margin: -3rem -2.5rem 2rem;
  border-radius: 4px 4px 0 0;
  overflow: hidden;
  position: relative;
}

.article-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(35, 15, 8, 0.95), transparent);
}

.article-banner-img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  display: block;
  opacity: 0.85;
}

/* --- Header article --- */
.article-header {
  margin-bottom: 2rem;
  text-align: center;
}

.article-page-title {
  font-family: var(--font-title);
  font-size: 2.2rem;
  color: #e7d7c1;
  margin-bottom: 0.8rem;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.article-divider {
  width: 120px;
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgba(167, 138, 127, 0.5), rgba(201, 168, 76, 0.3), rgba(167, 138, 127, 0.5), transparent);
}

.article-divider::after {
  content: '◆';
  display: block;
  text-align: center;
  color: rgba(201, 168, 76, 0.4);
  font-size: 0.6rem;
  margin-top: -0.4rem;
}

/* --- Propriétés de l'archive (style inline) --- */
.article-properties {
  background: rgba(30, 18, 20, 0.5);
  border: 1px solid rgba(167, 138, 127, 0.15);
  border-radius: 8px;
  padding: 0.8rem 1.2rem;
  margin: 1.5rem auto 2rem;
  width: fit-content;
  max-width: 100%;
}

.article-props-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.prop-sep {
  color: rgba(167, 138, 127, 0.3);
  font-size: 0.8rem;
}

.prop-inline {
  font-family: 'MedievalSharp', cursive;
  font-size: 0.85rem;
  color: #c9b89a;
}

.prop-date {
  color: rgba(201, 184, 154, 0.6);
  font-size: 0.8rem;
}

.article-props-links {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(167, 138, 127, 0.1);
}

.prop-tag {
  font-family: var(--font-title, 'Cinzel', serif);
  font-size: 0.65rem;
  color: #c9b89a;
  background: rgba(167, 138, 127, 0.1);
  border: 1px solid rgba(167, 138, 127, 0.2);
  border-radius: 4px;
  padding: 2px 8px;
  text-decoration: none;
  transition: background 0.2s;
}

.prop-tag:hover {
  background: rgba(167, 138, 127, 0.2);
  color: #e7d7c1;
}

/* --- Contenu article — style codex --- */
.article-body {
  color: #e7d7c1;
  line-height: 1.85;
  font-size: 1rem;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.article-body h2 {
  font-family: var(--font-title);
  font-size: 1.6rem;
  color: #a78a7f;
  text-align: center;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.4rem;
  border-bottom: none;
  letter-spacing: 0.04em;
}

.article-body h2::before {
  content: '— ';
  color: #c9a84c;
  opacity: 0.6;
}

.article-body h2::after {
  content: ' —';
  color: #c9a84c;
  opacity: 0.6;
}

/* h2::after déjà stylé ci-dessus */

.article-body h3 {
  font-family: var(--font-title);
  font-size: 1.15rem;
  color: #a78a7f;
  margin: 1.5rem 0 0.8rem;
}

.article-body h4 {
  font-family: var(--font-title);
  font-size: 1rem;
  color: #a78a7f;
  margin: 1rem 0 0.5rem;
}

.article-body p {
  margin-bottom: 1rem;
  color: #e7d7c1;
}

/* Lettrine codex : premier paragraphe de texte après le séparateur ornemental */
.article-body > p:first-child::first-letter,
.article-body .article-divider-ornament + p::first-letter,
.article-body .article-divider-ornament + figure + p::first-letter {
  font-family: var(--font-title);
  font-size: 3.6em;
  float: left;
  line-height: 0.75;
  margin-right: 0.1em;
  margin-top: 0.05em;
  padding-right: 0.05em;
  color: #c9a84c;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(201, 168, 76, 0.15);
}

/* --- Figures codex (images isolées) --- */
.article-body .article-figure {
  margin: 1.5rem 0;
  text-align: center;
}

/* --- Images inline style codex --- */
.article-body img {
  max-width: 100%;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(167, 138, 127, 0.2);
}

.article-body img:not(.mention-avatar):not(.zorbin-dialogue-avatar) {
  border-radius: 39px;
  margin: 1rem 0;
}

/* --- Séparateur codex (hr dans le contenu) --- */
.article-body hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 138, 127, 0.4), rgba(201, 168, 76, 0.3), rgba(167, 138, 127, 0.4), transparent);
  margin: 2rem auto;
  max-width: 60%;
}

.article-body ul {
  margin: 0.5rem 0 1rem 1.5rem;
  color: #e7d7c1;
}

.article-body li {
  margin-bottom: 0.3rem;
}

.article-body li::marker {
  color: #a78a7f;
}

.article-body strong {
  color: #e7d7c1;
  font-weight: 700;
}

.article-inline-img {
  max-width: 100%;
  border-radius: 6px;
  margin: 1rem 0;
  border: 1px solid rgba(167, 138, 127, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.article-body em {
  color: #a78a7f;
}

.article-blockquote {
  margin: 1.2rem 0;
  padding: 1rem 1.5rem;
  border-left: 3px solid rgba(201, 168, 76, 0.4);
  background: rgba(201, 168, 76, 0.04);
  border-radius: 0 6px 6px 0;
  color: #e7d7c1;
  font-style: italic;
  line-height: 1.7;
  opacity: 0.85;
}

/* --- Collapsible/details blocks --- */
.article-details {
  margin: 1.2rem 0;
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 6px;
  background: rgba(201, 168, 76, 0.04);
  overflow: hidden;
}

.article-details summary {
  padding: 0.8rem 1.2rem;
  cursor: pointer;
  color: #c9a84c;
  font-weight: bold;
  user-select: none;
  transition: background 0.2s;
}

.article-details summary:hover {
  background: rgba(201, 168, 76, 0.08);
}

.article-details .details-content {
  padding: 0.8rem 1.2rem 1rem;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  color: #e7d7c1;
  line-height: 1.7;
}

/* --- Strikethrough & underline --- */
.article-body del {
  color: #a78a7f;
  text-decoration: line-through;
}

.article-body u {
  text-decoration-color: #c9a84c;
  text-underline-offset: 3px;
}

/* --- Divider ornament (---) --- */
.article-divider-ornament {
  display: flex;
  align-items: center;
  max-width: 400px;
  margin: 2rem auto;
  gap: 0;
}

.article-divider-ornament::before,
.article-divider-ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 138, 127, 0.5), rgba(201, 168, 76, 0.3));
}

.article-divider-ornament::after {
  background: linear-gradient(90deg, rgba(201, 168, 76, 0.3), rgba(167, 138, 127, 0.5), transparent);
}

.article-divider-ornament span {
  color: rgba(201, 168, 76, 0.4);
  font-size: 0.6rem;
  padding: 0 0.5rem;
}

/* --- Meta links (frontmatter Obsidian) --- */
.article-meta-links {
  display: inline-flex;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 0.8rem 1.2rem;
  background: rgba(30, 20, 15, 0.5);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 6px;
}

.meta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: #c9a84c;
  text-decoration: none;
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 4px;
  transition: all 0.3s;
}

.meta-link:hover {
  background: rgba(201, 168, 76, 0.1);
  border-color: rgba(201, 168, 76, 0.5);
  color: #e7d7c1;
}

.meta-link-video {
  color: #e7d7c1;
  border-color: rgba(231, 215, 193, 0.2);
}

.meta-link-video:hover {
  background: rgba(231, 215, 193, 0.08);
  border-color: rgba(231, 215, 193, 0.4);
}

/* --- Callout labels ([!important] etc.) --- */
.callout-label {
  display: block;
  font-weight: bold;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
  font-style: normal;
  color: #c9a84c;
}

/* --- Ordered lists --- */
.article-body ol {
  list-style: none;
  counter-reset: custom-counter;
  padding-left: 1.5rem;
  margin: 1rem 0;
}

.article-body ol li {
  counter-increment: custom-counter;
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.article-body ol li::before {
  content: counter(custom-counter) ".";
  color: #c9a84c;
  font-weight: bold;
  margin-right: 0.5rem;
}

.wiki-link {
  color: #c9a84c;
  text-decoration: none;
  border-bottom: 1px dotted #c9a84c;
  transition: all 0.3s;
}

.wiki-link:hover {
  color: #e7d7c1;
  border-bottom-color: #e7d7c1;
}

/* Mention links (@username) - fallback simple */
.mention-link {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 4px;
  color: #c9a84c;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.mention-link:hover {
  background: rgba(201, 168, 76, 0.2);
  border-color: #c9a84c;
  color: #e7d7c1;
}

/* Mention mini-cards (@username avec avatar + rôle) */
.mention-card {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.7rem 0.3rem 0.3rem;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s;
  vertical-align: middle;
  margin: 0.15rem 0.2rem;
}

.mention-card:hover {
  background: rgba(201, 168, 76, 0.18);
  border-color: #c9a84c;
  transform: translateY(-1px);
}

.mention-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(201, 168, 76, 0.3);
}

.mention-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.mention-name {
  color: #e7d7c1;
  font-size: 0.85rem;
  font-weight: bold;
}

.mention-role {
  color: #a78a7f;
  font-size: 0.7rem;
  font-style: italic;
}

/* Article tags */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 2.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(115, 87, 81, 0.2);
}

/* Article actions */
.article-actions {
  margin-top: 2rem;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.btn-delete-article {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #735751;
  background: none;
  border: 1px solid rgba(115, 87, 81, 0.3);
  padding: 0.4rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-delete-article:hover {
  color: #e7d7c1;
  background: rgba(164, 22, 26, 0.3);
  border-color: #a4161a;
}

/* --- Bouton dépublier/republier --- */
.btn-status-article {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #a78a7f;
  background: none;
  border: 1px solid rgba(167, 138, 127, 0.3);
  padding: 0.4rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-status-article:hover {
  color: #e7d7c1;
  background: rgba(167, 138, 127, 0.15);
  border-color: rgba(167, 138, 127, 0.5);
}

.btn-republish {
  color: #6b9c5a;
  border-color: rgba(107, 156, 90, 0.3);
}

.btn-republish:hover {
  color: #e7d7c1;
  background: rgba(107, 156, 90, 0.15);
  border-color: rgba(107, 156, 90, 0.5);
}

/* --- Bouton brouillon (éditeur) --- */
.btn-draft {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #a78a7f;
  background: none;
  border: 1px solid rgba(167, 138, 127, 0.3);
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-draft:hover {
  color: #e7d7c1;
  background: rgba(167, 138, 127, 0.1);
  border-color: rgba(167, 138, 127, 0.5);
}

/* --- Cards brouillon/dépublié --- */
.article-card--draft,
.article-card--unpublished {
  opacity: 0.5;
  filter: grayscale(0.4);
}

.article-card--draft:hover,
.article-card--unpublished:hover {
  opacity: 0.75;
  filter: grayscale(0.2);
}

.article-status-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
}

.article-status-draft {
  background: rgba(201, 168, 76, 0.2);
  color: #c9a84c;
  border: 1px solid rgba(201, 168, 76, 0.3);
}

.article-status-unpublished {
  background: rgba(164, 22, 26, 0.2);
  color: #d4736e;
  border: 1px solid rgba(164, 22, 26, 0.3);
}

/* --- Status banner dans l'article --- */
.article-status-banner {
  text-align: center;
  padding: 0.6rem 1rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-style: italic;
}

.article-status-banner--draft {
  background: rgba(201, 168, 76, 0.1);
  color: #c9a84c;
  border: 1px solid rgba(201, 168, 76, 0.2);
}

.article-status-banner--unpublished {
  background: rgba(164, 22, 26, 0.1);
  color: #d4736e;
  border: 1px solid rgba(164, 22, 26, 0.2);
}

/* ===== FICHE SCRIBE (sidebar article) ===== */
.article-sidebar {
  width: 260px;
  flex-shrink: 0;
  padding-top: 0;
}

.scribe-card {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201, 168, 76, 0.06) 0%, transparent 60%),
    linear-gradient(160deg, rgba(63, 4, 24, 0.7) 0%, rgba(55, 6, 23, 0.7) 100%);
  border: 1px solid rgba(167, 138, 127, 0.3);
  border-radius: 8px;
  overflow: hidden;
}

.scribe-card-header {
  background: linear-gradient(90deg, rgba(201, 168, 76, 0.12), rgba(167, 138, 127, 0.08));
  padding: 0.5rem 1rem;
  border-bottom: 1px solid rgba(167, 138, 127, 0.2);
  text-align: center;
}

.scribe-card-label {
  font-family: var(--font-title);
  font-size: 0.9rem;
  color: #a78a7f;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.scribe-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1rem 1rem;
  gap: 0.3rem;
}

.scribe-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid rgba(201, 168, 76, 0.3);
  box-shadow: 0 0 16px rgba(201, 168, 76, 0.1);
  object-fit: cover;
  margin-bottom: 0.5rem;
}

.scribe-avatar-placeholder {
  background: rgba(115, 87, 81, 0.2);
}

.scribe-name {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: #e7d7c1;
  letter-spacing: 0.04em;
}

.scribe-role {
  font-size: 1.2rem;
  color: #a78a7f;
  font-style: italic;
}

.scribe-motto {
  font-size: 1rem;
  color: #a78a7f;
  font-style: italic;
  font-weight: bold;
  margin-top: 0.2rem;
  text-align: center;
  line-height: 1.4;
}

.scribe-stats {
  display: flex;
  gap: 1rem;
  margin-top: 0.8rem;
  width: 100%;
  justify-content: center;
}

.scribe-stat {
  text-align: center;
  padding: 0.4rem 0.6rem;
  background: rgba(115, 87, 81, 0.1);
  border-radius: 4px;
  border: 1px solid rgba(115, 87, 81, 0.12);
  min-width: 60px;
}

.scribe-stat-value {
  display: block;
  font-family: var(--font-title);
  font-size: 1rem;
  color: #e7d7c1;
}

.scribe-stat-label {
  font-size: 0.6rem;
  color: #a78a7f;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.scribe-card-footer {
  text-align: center;
  padding: 0.6rem;
  border-top: 1px solid rgba(167, 138, 127, 0.15);
  background: rgba(0, 0, 0, 0.1);
}

.scribe-quill-icon {
  width: 80px;
  height: 80px;
  opacity: 0.4;
}

.scribe-follow-date {
  display: block;
  font-size: 0.7rem;
  color: #a78a7f;
  font-style: italic;
  margin-top: 0.5rem;
}

/* Navigation liens sidebar */
.sidebar-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 30px;
}

.sidebar-nav-link {
  display: block;
  color: #e7d7c1;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: bold;
  padding: 0.3rem 0;
  transition: color 0.3s;
}

.sidebar-nav-link:hover {
  color: #a78a7f;
}

/* 404 */
.article-not-found {
  text-align: center;
  padding: 8rem 2rem 4rem;
  color: #735751;
}

.article-not-found h1 {
  font-family: var(--font-title);
  font-size: 2rem;
  color: #a78a7f;
  margin-bottom: 1rem;
}

.article-not-found p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.article-not-found .btn {
  margin: 0 0.5rem;
}

/* ===== TOOLTIP AUTEUR ===== */
.author-tooltip {
  position: absolute;
  z-index: 3000;
  background: linear-gradient(160deg, #3f0418 0%, #370617 100%);
  border: 2px solid #735751;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  min-width: 200px;
  max-width: 300px;
  pointer-events: none;
}

.tooltip-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.tooltip-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #735751;
}

.tooltip-name {
  font-family: var(--font-title);
  font-size: 0.9rem;
  color: #e7d7c1;
}

.tooltip-role {
  font-size: 0.75rem;
  color: #a78a7f;
  font-style: italic;
}

.tooltip-motto {
  font-size: 0.8rem;
  color: #735751;
  font-style: italic;
  margin-top: 0.4rem;
}

/* ===== ÉDITEUR ===== */
.editor-back {
  display: inline-block;
  color: #a78a7f;
  text-decoration: none;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  transition: color 0.3s;
}

.editor-back:hover {
  color: #a78a7f;
}

.editor-layout {
  max-width: 900px;
  margin: 0 auto;
  padding: 5rem 2rem 2rem;
}

.editor-title {
  font-family: var(--font-title);
  font-size: 1.8rem;
  color: #a78a7f;
  margin-bottom: 1rem;
}

.editor-title::after {
  display: none;
}

.editor-user {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 2rem;
  padding: 0.8rem 1rem;
  background: linear-gradient(160deg, rgba(63, 4, 24, 0.4) 0%, rgba(55, 6, 23, 0.4) 100%);
  border: 1px solid rgba(115, 87, 81, 0.25);
  border-radius: 8px;
  display: inline-flex;
}

.editor-user-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid #735751;
  object-fit: cover;
  flex-shrink: 0;
}

.editor-user-info {
  display: flex;
  flex-direction: column;
}

.editor-user-name {
  font-family: var(--font-title);
  font-size: 0.95rem;
  color: #e7d7c1;
  letter-spacing: 0.04em;
}

.editor-user-role {
  font-size: 0.75rem;
  color: #a78a7f;
  font-style: italic;
}

/* Form */
.form-row {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-title);
  font-size: 0.75rem;
  color: #e7d7c1;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.form-hint {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: normal;
  color: #a78a7f;
  font-size: 0.8rem;
}

.form-input {
  width: 100%;
  padding: 0.7rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: #e7d7c1;
  background: rgba(63, 4, 24, 0.5);
  border: 1px solid #735751;
  border-radius: 5px;
  outline: none;
  transition: border-color 0.3s;
}

.form-input::placeholder {
  color: #e7d7c1;
  opacity: 0.4;
}

.form-input:focus {
  border-color: #a78a7f;
}

/* Category buttons */
.category-select {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.category-btn {
  font-family: var(--font-title);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  padding: 0.5rem 1rem;
  background: transparent;
  color: #e7d7c1;
  border: 1px solid #735751;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}

.category-btn:hover {
  background: rgba(115, 87, 81, 0.2);
}

.category-btn.active {
  background: #735751;
  color: #e7d7c1;
  border-color: #a78a7f;
}

/* Toolbar */
.editor-toolbar {
  display: flex;
  gap: 0.3rem;
  align-items: center;
  padding: 0.5rem;
  background: rgba(63, 4, 24, 0.3);
  border: 1px solid #735751;
  border-bottom: none;
  border-radius: 5px 5px 0 0;
}

.toolbar-btn {
  font-family: var(--font-title);
  font-size: 0.7rem;
  padding: 0.3rem 0.6rem;
  background: transparent;
  color: #e7d7c1;
  border: 1px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s;
}

.toolbar-btn:hover {
  background: rgba(115, 87, 81, 0.2);
  border-color: #735751;
}

.toolbar-separator {
  width: 1px;
  height: 18px;
  background: rgba(115, 87, 81, 0.3);
  margin: 0 0.3rem;
}

/* Editor panels */
.editor-panels {
  position: relative;
}

.editor-textarea {
  width: 100%;
  min-height: 400px;
  padding: 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: #e7d7c1;
  background: rgba(63, 4, 24, 0.5);
  border: 1px solid #735751;
  border-top: none;
  border-radius: 0 0 5px 5px;
  outline: none;
  resize: vertical;
  transition: border-color 0.3s;
}

.editor-textarea:focus {
  border-color: #a78a7f;
}

.editor-textarea::placeholder {
  color: #e7d7c1;
  opacity: 0.4;
}

.editor-preview {
  min-height: 400px;
  padding: 1rem;
  background: rgba(63, 4, 24, 0.5);
  border: 1px solid #735751;
  border-top: none;
  border-radius: 0 0 5px 5px;
  color: #e7d7c1;
  line-height: 1.7;
}

.editor-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.3rem;
}

.char-count {
  font-size: 0.75rem;
  color: #a78a7f;
}

/* Form actions */
.form-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.btn-cancel {
  color: #735751;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.btn-cancel:hover {
  color: #a78a7f;
}

/* Error */
.editor-error {
  background: rgba(164, 22, 26, 0.2);
  border: 1px solid #a4161a;
  color: #e7d7c1;
  padding: 0.6rem 1rem;
  border-radius: 5px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* ===== COVER UPLOAD ===== */
.cover-upload {
  position: relative;
  border: 2px dashed rgba(167, 138, 127, 0.25);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(63, 4, 24, 0.3);
}

.cover-upload:hover,
.cover-upload.dragover {
  border-color: #a78a7f;
  background: rgba(63, 4, 24, 0.5);
}

.cover-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 2rem;
  color: #a78a7f;
}

.cover-placeholder-icon {
  font-size: 2rem;
  opacity: 0.5;
}

.cover-placeholder-text {
  font-size: 0.85rem;
  font-style: italic;
  opacity: 0.7;
}

.cover-preview-img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  display: block;
}

.cover-remove {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(167, 138, 127, 0.3);
  background: rgba(22, 4, 1, 0.8);
  color: #e7d7c1;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 2;
}

.cover-remove:hover {
  background: rgba(164, 22, 26, 0.6);
  border-color: #a4161a;
}

.cover-uploading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(22, 4, 1, 0.7);
  color: #e7d7c1;
  font-style: italic;
  font-size: 0.9rem;
  z-index: 3;
}

/* ===== CARD COVER IMAGE ===== */
.article-card-cover {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 6px 6px 0 0;
  margin: -1.4rem -1.4rem 1rem;
  width: calc(100% + 2.8rem);
  opacity: 0.85;
  transition: opacity 0.3s;
}

.article-card:hover .article-card-cover {
  opacity: 1;
}

.article-card:has(.article-card-cover) {
  padding-top: 0;
}

.article-card:has(.article-card-cover) .article-card-top {
  padding: 0 0.2rem;
}

.article-card:has(.article-card-cover) .article-card-watermark {
  opacity: 0.1;
}

/* ===== VUE INVITÉ (blur teaser) ===== */
.guest-view .archives-layout {
  position: relative;
}

.guest-view .article-card {
  filter: blur(6px);
  pointer-events: none;
  user-select: none;
}

.guest-view .article-card:hover {
  transform: none;
  box-shadow: none;
}

.guest-view .category-header,
.guest-view .filter-header {
  filter: blur(3px);
  pointer-events: none;
}

.guest-view .archives-sidebar {
  filter: blur(4px);
  pointer-events: none;
  user-select: none;
}

.guest-overlay {
  position: sticky;
  bottom: 0;
  z-index: 10;
  margin-top: -300px;
  padding: 8rem 2rem 3rem;
  text-align: center;
  background: linear-gradient(to bottom,
    rgba(22, 4, 1, 0) 0%,
    rgba(22, 4, 1, 0.85) 30%,
    rgba(22, 4, 1, 0.98) 100%
  );
}

.guest-overlay-content {
  max-width: 500px;
  margin: 0 auto;
}

.guest-overlay-title {
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: #e7d7c1;
  margin-bottom: 0.8rem;
  letter-spacing: 0.04em;
}

.guest-overlay-title::after {
  display: none;
}

.guest-overlay-text {
  color: #a78a7f;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.guest-overlay .btn-login {
  font-size: 1.05rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .archives-layout {
    flex-direction: column;
  }

  .archives-sidebar {
    width: 100%;
    order: -1;
  }

  .article-layout {
    flex-direction: column;
  }

  .article-sidebar {
    width: 100%;
  }

  .article-main {
    padding: 2rem 1.5rem;
  }

  .article-banner {
    margin: -2rem -1.5rem 2rem;
  }

  .archives-header h1 {
    font-size: 1.8rem;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .category-header {
    flex-wrap: wrap;
  }

  .scribe-card {
    max-width: 300px;
    margin: 0 auto;
  }
}

/* ── Zorbin sidebar bubble (dialogue style) ── */
.zorbin-sidebar-block {
  margin-bottom: 16px;
}

.zorbin-speaker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.zorbin-bubble-avatar {
  width: 50px !important;
  height: 50px !important;
  min-width: 50px;
  max-width: 50px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid rgba(167, 138, 127, 0.35);
  object-fit: cover;
  image-rendering: pixelated;
}

.zorbin-bubble-label {
  font-family: var(--font-title, 'Cinzel', serif);
  font-size: 0.7rem;
  color: #c9b89a;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.zorbin-bubble {
  position: relative;
  background: rgba(45, 25, 30, 0.55);
  border: 1px solid rgba(167, 138, 127, 0.25);
  border-radius: 12px 12px 12px 0;
  padding: 14px 16px;
}

.zorbin-bubble-arrow {
  position: absolute;
  bottom: -8px;
  left: 12px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid rgba(45, 25, 30, 0.55);
}

.zorbin-bubble-arrow::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: -9px;
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 9px solid rgba(167, 138, 127, 0.25);
  z-index: -1;
}

.zorbin-bubble-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.zorbin-bubble-text {
  font-family: 'MedievalSharp', cursive;
  font-size: 0.85rem;
  color: #c9b89a;
  font-style: italic;
  line-height: 1.55;
  position: relative;
  padding-left: 14px;
  margin: 0;
}

.zorbin-bubble-text::before {
  content: '\201C';
  position: absolute;
  left: 0;
  top: -2px;
  font-size: 1.2rem;
  color: #a78a7f;
  opacity: 0.6;
}

.zorbin-bubble-text::after {
  content: '\201D';
  font-size: 1.2rem;
  color: #a78a7f;
  opacity: 0.6;
  margin-left: 2px;
}

/* ── Like sur le banner ─────────────────────── */
.like-btn-banner {
  position: absolute;
  top: 23px;
  right: 23px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(20, 10, 15, 0.7);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(167, 138, 127, 0.3);
  border-radius: 16px;
  padding: 5px 12px;
  cursor: pointer;
  font-family: var(--font-title, 'Cinzel', serif);
  font-size: 0.85rem;
  color: #c9b89a;
  transition: all 0.25s;
}

.like-btn-banner:hover {
  background: rgba(20, 10, 15, 0.85);
  border-color: rgba(167, 138, 127, 0.5);
  transform: scale(1.05);
}

.like-btn-banner.liked {
  border-color: rgba(201, 168, 76, 0.5);
  background: rgba(201, 168, 76, 0.15);
}

.like-picto-banner {
  width: 22px;
  height: 22px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.25s;
}

.like-btn-banner:hover .like-picto-banner,
.like-btn-banner.liked .like-picto-banner {
  opacity: 1;
}

/* ── Likes ──────────────────────────────────── */
.like-picto,
.like-picto-mini {
  width: 16px;
  height: 16px;
  object-fit: contain;
  vertical-align: middle;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.like-picto-mini {
  width: 14px;
  height: 14px;
}

/* Bouton like dans article-properties */
.like-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: 1px solid rgba(167, 138, 127, 0.2);
  border-radius: 4px;
  padding: 2px 10px;
  cursor: pointer;
  font-family: var(--font-title, 'Cinzel', serif);
  font-size: 0.8rem;
  color: #c9b89a;
  transition: all 0.2s;
}

.like-btn:hover {
  border-color: rgba(167, 138, 127, 0.5);
  background: rgba(167, 138, 127, 0.08);
}

.like-btn:hover .like-picto {
  opacity: 0.9;
}

.like-btn.liked {
  border-color: rgba(201, 168, 76, 0.4);
  background: rgba(201, 168, 76, 0.1);
}

.like-btn.liked .like-picto {
  opacity: 1;
}

.like-count-static {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-title, 'Cinzel', serif);
  font-size: 0.8rem;
  color: rgba(201, 184, 154, 0.6);
}

/* Likes sur les cartes (index) — badge overlay haut-gauche */
.article-card-like-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(20, 10, 15, 0.7);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(167, 138, 127, 0.25);
  border-radius: 12px;
  padding: 3px 9px;
  font-family: var(--font-title, 'Cinzel', serif);
  font-size: 0.7rem;
  color: #c9b89a;
}

.like-picto-card {
  width: 14px;
  height: 14px;
  object-fit: contain;
  opacity: 0.7;
}

/* ── Commentaires ───────────────────────────── */
.comments-section {
  margin-top: 2rem;
}

.comments-section .divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 138, 127, 0.3), transparent);
  margin-bottom: 1.5rem;
}

.comments-title {
  font-family: var(--font-title, 'Cinzel', serif);
  font-size: 1rem;
  color: #a78a7f;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
}

.comments-count {
  font-weight: 400;
  color: rgba(167, 138, 127, 0.5);
  font-size: 0.85rem;
}

/* Formulaire de commentaire */
.comment-form {
  margin-bottom: 1.5rem;
}

.comment-form-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.comment-avatar-small {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}

.comment-input {
  flex: 1;
  background: rgba(30, 18, 20, 0.5);
  border: 1px solid rgba(167, 138, 127, 0.2);
  border-radius: 6px;
  padding: 10px 12px;
  color: #c9b89a;
  font-family: 'MedievalSharp', cursive;
  font-size: 0.9rem;
  resize: vertical;
  min-height: 50px;
}

.comment-input::placeholder {
  color: rgba(167, 138, 127, 0.4);
}

.comment-input:focus {
  outline: none;
  border-color: rgba(167, 138, 127, 0.4);
}

.btn-comment-submit {
  margin-top: 8px;
  float: right;
  background: rgba(167, 138, 127, 0.15);
  border: 1px solid rgba(167, 138, 127, 0.3);
  border-radius: 4px;
  padding: 6px 18px;
  color: #c9b89a;
  font-family: var(--font-title, 'Cinzel', serif);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-comment-submit:hover {
  background: rgba(167, 138, 127, 0.25);
  border-color: rgba(167, 138, 127, 0.5);
}

/* Liste de commentaires */
.comments-list {
  clear: both;
}

.comment {
  padding: 12px 0;
  border-bottom: 1px solid rgba(167, 138, 127, 0.08);
}

.comment:last-child {
  border-bottom: none;
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.comment-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.comment-author {
  font-family: var(--font-title, 'Cinzel', serif);
  font-size: 0.8rem;
  color: #a78a7f;
  font-weight: 600;
}

.comment-date {
  font-size: 0.75rem;
  color: rgba(167, 138, 127, 0.4);
  margin-left: auto;
}

.comment-delete {
  background: none;
  border: none;
  color: rgba(167, 138, 127, 0.3);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0 4px;
  line-height: 1;
  transition: color 0.2s;
}

.comment-delete:hover {
  color: #d4384b;
}

.comment-body {
  font-family: 'MedievalSharp', cursive;
  font-size: 0.9rem;
  color: #c9b89a;
  line-height: 1.5;
  padding-left: 36px;
}

/* ══════════════════════════════════════════════
   BOUTON VOIR PLUS — Categories
   ══════════════════════════════════════════════ */

.btn-see-more {
  display: block;
  margin: 1rem auto 0;
  padding: 8px 24px;
  background: rgba(167, 138, 127, 0.08);
  border: 1px solid rgba(167, 138, 127, 0.2);
  border-radius: 4px;
  color: #a78a7f;
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn-see-more:hover {
  background: rgba(167, 138, 127, 0.15);
  border-color: rgba(167, 138, 127, 0.35);
  color: #e7d7c1;
}

.btn-see-more .btn-arrow {
  display: inline-block;
  margin-left: 4px;
  transition: transform 0.2s;
}

.btn-see-more:hover .btn-arrow {
  transform: translateY(2px);
}

/* ══════════════════════════════════════════════
   SERRURES DU FIL D'AURA — Section Archives
   ══════════════════════════════════════════════ */

.sealed-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(126, 200, 200, 0.12);
}

.sealed-header {
  position: relative;
}

.sealed-icon-circle {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  background: rgba(126, 200, 200, 0.08);
  border: 1px solid rgba(126, 200, 200, 0.2);
  border-radius: 50%;
  flex-shrink: 0;
}

.sealed-title {
  color: #7ec8c8 !important;
  text-shadow: 0 0 8px rgba(126, 200, 200, 0.25);
}

/* ── Grille de cartes ────────────────────────── */
.sealed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.sealed-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 160px;
  padding: 1.2rem 1.4rem;
  background: radial-gradient(ellipse at top left, rgba(126, 200, 200, 0.06), rgba(63, 4, 24, 0.45));
  border: 1px solid rgba(126, 200, 200, 0.18);
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.sealed-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(126, 200, 200, 0.12);
}

.sealed-card--active {
  border-color: rgba(126, 200, 200, 0.35);
  box-shadow: 0 0 15px rgba(126, 200, 200, 0.08);
}

.sealed-badge-active {
  position: absolute;
  top: 10px;
  right: 12px;
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 3px;
}

.sealed-badge-active {
  color: #7ec8c8;
  background: rgba(126, 200, 200, 0.12);
  border: 1px solid rgba(126, 200, 200, 0.3);
}

.sealed-card-title {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #e7d7c1;
  margin: 0 0 6px 0;
}

.sealed-card--active .sealed-card-title {
  color: #7ec8c8;
  text-shadow: 0 0 6px rgba(126, 200, 200, 0.2);
}

.sealed-card-dates {
  font-family: 'Crimson Text', serif;
  font-size: 0.85rem;
  color: #8a7968;
  margin: 0;
  line-height: 1.5;
}

.sealed-card-bottom {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(167, 138, 127, 0.1);
}

.sealed-card-discoverers {
  font-family: 'Crimson Text', serif;
  font-style: italic;
  font-size: 0.8rem;
  color: #a78a7f;
}

/* ── Barre de progression ────────────────────── */
.sealed-progress {
  margin-top: 1rem;
}

.sealed-progress-bar {
  padding: 1rem 1.4rem;
  background: rgba(126, 200, 200, 0.04);
  border: 1px solid rgba(126, 200, 200, 0.12);
  border-radius: 6px;
}

.sealed-progress-label {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  color: #7ec8c8;
  margin-bottom: 8px;
}

.sealed-progress-track {
  height: 6px;
  background: rgba(126, 200, 200, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.sealed-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #7ec8c8, #5ea8a8);
  border-radius: 3px;
  transition: width 0.5s ease;
}

.sealed-progress-hint {
  font-family: 'Crimson Text', serif;
  font-style: italic;
  font-size: 0.8rem;
  color: #735751;
  margin: 8px 0 0 0;
}

/* Porteurs de clés */
.sealed-holders {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  font-family: 'Crimson Text', serif;
  font-size: 0.85rem;
  color: #8a7968;
}

.sealed-holder {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 4px;
  background: rgba(126, 200, 200, 0.06);
  border: 1px solid rgba(126, 200, 200, 0.15);
  border-radius: 20px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.sealed-holder:hover {
  background: rgba(126, 200, 200, 0.12);
  border-color: rgba(126, 200, 200, 0.3);
}

.sealed-holder-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.sealed-holder-name {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #7ec8c8;
}

/* ===== STATUT ÉVOLUTIF DU LIEU ===== */
.lieu-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 0.4rem;
}

.lieu-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.lieu-status--stable {
  background: rgba(34, 139, 34, 0.12);
  border: 1px solid rgba(34, 139, 34, 0.3);
  color: #5cb85c;
}
.lieu-status--stable .lieu-status-dot {
  background: #5cb85c;
  box-shadow: 0 0 6px rgba(92, 184, 92, 0.5);
}

.lieu-status--instable {
  background: rgba(218, 165, 32, 0.12);
  border: 1px solid rgba(218, 165, 32, 0.3);
  color: #daa520;
}
.lieu-status--instable .lieu-status-dot {
  background: #daa520;
  box-shadow: 0 0 6px rgba(218, 165, 32, 0.5);
  animation: lieu-pulse 2s ease-in-out infinite;
}

.lieu-status--anomalie_active {
  background: rgba(200, 40, 40, 0.12);
  border: 1px solid rgba(200, 40, 40, 0.3);
  color: #e04040;
}
.lieu-status--anomalie_active .lieu-status-dot {
  background: #e04040;
  box-shadow: 0 0 8px rgba(224, 64, 64, 0.6);
  animation: lieu-pulse 1s ease-in-out infinite;
}

@keyframes lieu-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Tooltip statut lieu */
[data-tooltip] {
  position: relative;
  cursor: default;
}

[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(26, 17, 24, 0.95);
  border: 1px solid rgba(180, 140, 100, 0.3);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 0.72rem;
  font-weight: 400;
  font-style: italic;
  color: #b09a82;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  text-transform: none;
  letter-spacing: normal;
}

[data-tooltip]:hover::after {
  opacity: 1;
}

/* Pastille statut dans les cards index */
.lieu-status-card {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.55rem;
  border-radius: 12px;
  margin-top: 0.2rem;
}

.lieu-status-card .lieu-status-dot {
  width: 6px;
  height: 6px;
}

.lieu-status-card--stable {
  background: rgba(34, 139, 34, 0.15);
  color: #5cb85c;
}
.lieu-status-card--stable .lieu-status-dot {
  background: #5cb85c;
  box-shadow: 0 0 4px rgba(92, 184, 92, 0.5);
}

.lieu-status-card--instable {
  background: rgba(218, 165, 32, 0.15);
  color: #daa520;
}
.lieu-status-card--instable .lieu-status-dot {
  background: #daa520;
  box-shadow: 0 0 4px rgba(218, 165, 32, 0.5);
  animation: lieu-pulse 2s ease-in-out infinite;
}

.lieu-status-card--anomalie_active {
  background: rgba(200, 40, 40, 0.15);
  color: #e04040;
}
.lieu-status-card--anomalie_active .lieu-status-dot {
  background: #e04040;
  box-shadow: 0 0 4px rgba(224, 64, 64, 0.5);
  animation: lieu-pulse 1s ease-in-out infinite;
}

/* ===== ACTIVITÉ RÉCENTE DU LIEU ===== */
.lieu-activity-section {
  margin-top: 1.5rem;
}

.lieu-activity-title {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: #a78a7f;
  letter-spacing: 0.06em;
  margin-bottom: 0.8rem;
}

.lieu-activity-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.lieu-activity-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.5rem 0.7rem;
  border-radius: 6px;
  background: rgba(115, 87, 81, 0.06);
  border-left: 3px solid rgba(167, 138, 127, 0.2);
  font-size: 0.85rem;
  color: #e7d7c1;
  transition: background 0.2s;
}

.lieu-activity-item:hover {
  background: rgba(115, 87, 81, 0.12);
}

.lieu-activity-item--boss_fight { border-left-color: #e04040; }
.lieu-activity-item--expedition { border-left-color: #daa520; }
.lieu-activity-item--rencontre { border-left-color: #7ec8c8; }
.lieu-activity-item--loot { border-left-color: #c9a84c; }
.lieu-activity-item--observation { border-left-color: #a78a7f; }
.lieu-activity-item--evenement { border-left-color: #b070cc; }

.lieu-activity-icon {
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1.4;
}

.lieu-activity-text {
  flex: 1;
  line-height: 1.4;
}

.lieu-activity-time {
  flex-shrink: 0;
  font-size: 0.7rem;
  color: #735751;
  white-space: nowrap;
  margin-top: 2px;
}

/* ===== ZORBIN DIALOGUE (style popup comptoir) ===== */
.zorbin-dialogue {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin: 2rem 0;
  padding: 1rem 1.2rem;
  position: relative;
}

.zorbin-dialogue-portrait {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

.zorbin-dialogue-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid rgba(201, 168, 76, 0.35);
  box-shadow: 0 0 12px rgba(201, 168, 76, 0.15);
  object-fit: cover;
}

.zorbin-dialogue-name {
  font-family: var(--font-title);
  font-size: 0.7rem;
  color: #c9a84c;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.zorbin-dialogue-bubble {
  position: relative;
  background: rgba(63, 4, 24, 0.4);
  border: 1px solid rgba(167, 138, 127, 0.2);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  flex: 1;
  min-width: 0;
}

.zorbin-dialogue-arrow {
  position: absolute;
  left: -7px;
  top: 16px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 7px solid rgba(167, 138, 127, 0.2);
}

.zorbin-dialogue-arrow::after {
  content: '';
  position: absolute;
  left: 2px;
  top: -5px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 6px solid rgba(63, 4, 24, 0.4);
}

.zorbin-dialogue-text {
  font-size: 0.88rem;
  color: #e7d7c1;
  font-style: italic;
  line-height: 1.6;
  margin: 0;
}

/* Variante sidebar (plus compact) */
.zorbin-dialogue--sidebar {
  margin: 0;
  padding: 0.7rem 0.8rem;
  gap: 0.6rem;
}

.zorbin-dialogue--sidebar .zorbin-dialogue-avatar {
  width: 36px;
  height: 36px;
}

.zorbin-dialogue--sidebar .zorbin-dialogue-bubble {
  padding: 0.5rem 0.7rem;
}

.zorbin-dialogue--sidebar .zorbin-dialogue-text {
  font-size: 0.8rem;
  line-height: 1.5;
}

.zorbin-dialogue--sidebar .zorbin-dialogue-name {
  font-size: 0.6rem;
}

/* ===== CHAMP ZORBIN ÉDITEUR ===== */
.zorbin-notes-row {
  border-top: 1px solid rgba(167, 138, 127, 0.15);
  padding-top: 1rem;
  margin-top: 0.5rem;
}

.zorbin-notes-textarea {
  width: 100%;
  min-height: 80px;
  resize: vertical;
  background: rgba(26, 17, 24, 0.6);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 6px;
  color: #e7d7c1;
  font-family: inherit;
  font-size: 0.9rem;
  font-style: italic;
  padding: 0.7rem;
  line-height: 1.5;
}

.zorbin-notes-textarea::placeholder {
  color: #735751;
  font-style: italic;
}

.zorbin-notes-textarea:focus {
  outline: none;
  border-color: rgba(201, 168, 76, 0.4);
  box-shadow: 0 0 8px rgba(201, 168, 76, 0.1);
}

/* ===== GESTIONNAIRE DE LIAISONS (éditeur) ===== */
.liaison-row {
  border-top: 1px solid rgba(167, 138, 127, 0.15);
  padding-top: 1rem;
  margin-top: 0.5rem;
}

.liaison-list {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.6rem;
}

.liaison-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.6rem;
  background: rgba(30, 18, 24, 0.5);
  border: 1px solid rgba(167, 138, 127, 0.15);
  border-radius: 6px;
}

.liaison-item-name {
  flex: 1;
  color: #e7d7c1;
  font-size: 0.85rem;
  font-weight: 600;
}

.liaison-item-type {
  font-size: 0.7rem;
  color: #689096;
  font-style: italic;
  background: rgba(104, 144, 150, 0.1);
  padding: 0.1rem 0.5rem;
  border-radius: 10px;
}

.liaison-remove {
  background: none;
  border: none;
  color: #735751;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0 0.3rem;
  line-height: 1;
  transition: color 0.2s;
}

.liaison-remove:hover {
  color: #e04040;
}

.liaison-add {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  flex-wrap: wrap;
}

.liaison-select {
  flex: 1;
  min-width: 140px;
  padding: 0.4rem 0.5rem;
  background: rgba(26, 17, 24, 0.6);
  border: 1px solid rgba(167, 138, 127, 0.2);
  border-radius: 6px;
  color: #e7d7c1;
  font-size: 0.85rem;
  font-family: inherit;
}

.liaison-select-type {
  flex: 0 1 auto;
  min-width: 160px;
}

.liaison-select:focus {
  outline: none;
  border-color: rgba(201, 168, 76, 0.4);
}

.btn-liaison-add {
  padding: 0.4rem 0.8rem;
  background: rgba(106, 120, 95, 0.3);
  border: 1px solid rgba(106, 120, 95, 0.3);
  border-radius: 6px;
  color: #e7d7c1;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.btn-liaison-add:hover {
  background: rgba(106, 120, 95, 0.5);
}

/* ===== LIEUX LIÉS (mini-cards dans le billet) ===== */
.lieu-related-section {
  margin-top: 1rem;
}

.lieu-related-title {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: #a78a7f;
  letter-spacing: 0.06em;
  margin-bottom: 0.8rem;
}

.lieu-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.7rem;
}

.lieu-related-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 110px;
  border: 1px solid rgba(180, 140, 100, 0.2);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.25s, transform 0.2s, box-shadow 0.25s;
}

.lieu-related-card:hover {
  border-color: rgba(214, 139, 87, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.lieu-related-cover {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.lieu-related-cover--empty {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(115, 87, 81, 0.2) 0%, transparent 70%),
    rgba(22, 4, 1, 0.6);
}

.lieu-related-info {
  position: relative;
  z-index: 1;
  padding: 0.5rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  background: linear-gradient(to top, rgba(16, 6, 10, 0.9) 0%, rgba(16, 6, 10, 0.7) 60%, transparent 100%);
}

.lieu-related-name {
  font-family: var(--font-title);
  font-size: 0.85rem;
  color: #e8dcc8;
  line-height: 1.3;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.lieu-related-card:hover .lieu-related-name {
  color: #d68b57;
}

.lieu-related-relation {
  font-size: 0.75rem;
  color: #689096;
  font-style: italic;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.lieu-related-info .lieu-status-card {
  align-self: flex-start;
  margin-top: 0.1rem;
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 768px) {
  .sealed-grid {
    grid-template-columns: 1fr;
  }

  .lieu-activity-item {
    flex-wrap: wrap;
  }

  .lieu-activity-time {
    width: 100%;
    text-align: right;
  }
}

/* ===== V2 : SUIVRE LES ÉCHOS DU LIEU ===== */
.echo-section {
  margin-top: 1.2rem;
  margin-bottom: 0.5rem;
}

.echo-header {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.echo-title {
  font-family: var(--font-title);
  font-size: 1.05rem;
  color: #a78a7f;
  letter-spacing: 0.05em;
}

.echo-count {
  font-size: 0.7rem;
  color: #735751;
  font-style: italic;
}

/* Accordéon horizontal */
.echo-accordion {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.echo-group {
  border: 1px solid rgba(167, 138, 127, 0.15);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.3s, flex-basis 0.3s;
  flex: 0 1 auto;
}

.echo-group[open] {
  border-color: rgba(167, 138, 127, 0.3);
  flex: 1 1 100%;
}

.echo-group-toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.7rem;
  cursor: pointer;
  list-style: none;
  background: rgba(30, 18, 24, 0.5);
  transition: background 0.2s;
  white-space: nowrap;
}

.echo-group-toggle::-webkit-details-marker {
  display: none;
}

.echo-group-toggle:hover {
  background: rgba(30, 18, 24, 0.8);
}

.echo-group-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.echo-group-label {
  font-family: var(--font-title);
  font-size: 0.85rem;
  color: #e7d7c1;
  letter-spacing: 0.03em;
  flex: 1;
}

.echo-group-count {
  font-size: 0.65rem;
  color: #735751;
  background: rgba(115, 87, 81, 0.15);
  padding: 0.1rem 0.45rem;
  border-radius: 10px;
  font-weight: 600;
}

.echo-group-caret {
  font-size: 1.1rem;
  color: #735751;
  transition: transform 0.25s;
  flex-shrink: 0;
}

.echo-group[open] .echo-group-caret {
  transform: rotate(90deg);
}

/* Contenu déplié */
.echo-group-body {
  padding: 0.6rem 0.8rem 0.8rem;
  background: rgba(16, 6, 10, 0.3);
  border-top: 1px solid rgba(167, 138, 127, 0.1);
  animation: echoReveal 0.3s ease-out;
}

@keyframes echoReveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.echo-group-intro {
  font-size: 0.78rem;
  color: #b09a82;
  font-style: italic;
  margin: 0 0 0.6rem 0;
  line-height: 1.4;
}

/* Mini-cards dans l'accordéon */
.echo-group-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 0.5rem;
}

.echo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 90px;
  border: 1px solid rgba(180, 140, 100, 0.15);
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.25s, transform 0.2s, box-shadow 0.25s;
}

.echo-card:hover {
  border-color: rgba(214, 139, 87, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.echo-card-cover {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.echo-card-cover--empty {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(115, 87, 81, 0.2) 0%, transparent 70%),
    rgba(22, 4, 1, 0.6);
}

.echo-card-info {
  position: relative;
  z-index: 1;
  padding: 0.4rem 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  background: linear-gradient(to top, rgba(16, 6, 10, 0.9) 0%, rgba(16, 6, 10, 0.65) 60%, transparent 100%);
}

.echo-card-name {
  font-family: var(--font-title);
  font-size: 0.8rem;
  color: #e8dcc8;
  line-height: 1.3;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.echo-card:hover .echo-card-name {
  color: #d68b57;
}

.echo-card-info .lieu-status-card {
  align-self: flex-start;
  font-size: 0.55rem;
  padding: 0.1rem 0.4rem;
}

@media (max-width: 768px) {
  .echo-accordion {
    flex-direction: column;
  }

  .echo-group-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===== V2 MINI-MAP : ÉCHOS DU LIEU ===== */
.echomap-section {
  margin-top: 1.2rem;
  margin-bottom: 0.5rem;
}

.echomap-container {
  position: relative;
  width: 100%;
  height: 320px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(180, 140, 100, 0.2);
}

.echomap-bg {
  position: absolute;
  inset: 0;
  background: url('../../../assets/img/maps/pays.png') center/cover no-repeat;
  opacity: 0.25;
  filter: blur(1px);
}

.echomap-vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 80px 30px rgba(18, 10, 14, 0.7);
  pointer-events: none;
  z-index: 1;
}

/* Lignes SVG de connexion */
.echomap-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.echomap-line {
  stroke-width: 0.3;
  stroke-dasharray: 2 1.5;
  opacity: 0.4;
}

.echomap-line--proximite    { stroke: #d68b57; }
.echomap-line--thematique   { stroke: #689096; }
.echomap-line--historique   { stroke: #c9a84c; }
.echomap-line--atmospherique { stroke: #9b7fbf; }

/* Noeuds (markers) */
.echomap-node {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-decoration: none;
}

.echomap-node-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d68b57;
  border: 2px solid rgba(214, 139, 87, 0.4);
  box-shadow: 0 0 8px rgba(214, 139, 87, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.echomap-node--current .echomap-node-dot {
  width: 14px;
  height: 14px;
  background: #e8dcc8;
  border-color: rgba(232, 220, 200, 0.5);
  box-shadow: 0 0 16px rgba(232, 220, 200, 0.4);
}

.echomap-node-ping {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(232, 220, 200, 0.2);
  animation: echoPing 3s ease-out infinite;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes echoPing {
  0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

.echomap-dot--linked {
  width: 8px;
  height: 8px;
  background: #a89080;
  border-color: rgba(168, 144, 128, 0.3);
  box-shadow: 0 0 6px rgba(168, 144, 128, 0.2);
}

.echomap-node--linked:hover .echomap-dot--linked {
  transform: scale(1.4);
  background: #d68b57;
  box-shadow: 0 0 14px rgba(214, 139, 87, 0.5);
}

.echomap-node-label {
  background: rgba(0, 0, 0, 0.75);
  padding: 2px 8px;
  border-radius: 4px;
  color: #e8dcc8;
  font-size: 0.65rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.echomap-label--current {
  background: rgba(214, 139, 87, 0.25);
  color: #d68b57;
  font-size: 0.7rem;
  border: 1px solid rgba(214, 139, 87, 0.2);
}

.echomap-node--linked:hover .echomap-node-label {
  background: rgba(214, 139, 87, 0.3);
  color: #fff;
}

.echomap-node-type {
  font-size: 0.55rem;
  color: #b09a82;
  font-style: italic;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s;
  background: rgba(0, 0, 0, 0.6);
  padding: 1px 6px;
  border-radius: 3px;
}

.echomap-node--linked:hover .echomap-node-type {
  opacity: 1;
}

.echomap-node-status {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 6px;
  height: 6px;
}

/* Statut dots sur la map */
.lieu-status-dot--instable {
  background: #daa520;
  box-shadow: 0 0 4px rgba(218, 165, 32, 0.5);
  border-radius: 50%;
  animation: lieu-pulse 2s ease-in-out infinite;
}

.lieu-status-dot--anomalie_active {
  background: #e04040;
  box-shadow: 0 0 4px rgba(224, 64, 64, 0.5);
  border-radius: 50%;
  animation: lieu-pulse 1s ease-in-out infinite;
}

/* Légende */
.echomap-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 0.5rem;
  justify-content: center;
}

.echomap-legend-item {
  font-size: 0.65rem;
  color: #735751;
  font-style: italic;
}

.echomap-legend--proximite     { color: #d68b57; }
.echomap-legend--thematique    { color: #689096; }
.echomap-legend--historique    { color: #c9a84c; }
.echomap-legend--atmospherique { color: #9b7fbf; }

@media (max-width: 768px) {
  .echomap-container {
    height: 250px;
  }

  .echomap-node-label {
    font-size: 0.55rem;
  }
}

/* ══════════════════════════════════════════════
   LIEUX SCELLÉS MIGRÉS — Cartes catégorie Lieux
   ══════════════════════════════════════════════ */

.sealed-migrated-card {
  border-color: rgba(126, 200, 200, 0.2) !important;
  background: radial-gradient(ellipse at top left, rgba(126, 200, 200, 0.04), rgba(63, 4, 24, 0.45)) !important;
}

.sealed-migrated-badge {
  position: absolute;
  top: 10px;
  right: 12px;
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 3px;
  color: #7ec8c8;
  background: rgba(126, 200, 200, 0.1);
  border: 1px solid rgba(126, 200, 200, 0.25);
}

.sealed-migrated-discoverers {
  font-family: 'Crimson Text', serif;
  font-style: italic;
  font-size: 0.8rem;
  color: #7ec8c8;
}
