/* ════════════════════════════════════════════════════════════════
   AUBERDINE — Mobile webapp · mobile.css
   ════════════════════════════════════════════════════════════════
   Mobile-first. Pas de fork de la base /v3/ (ames.css/landing.css) :
   on définit le strict nécessaire ici pour rester léger et adapté
   aux contraintes mobile (touch targets ≥ 44 px, viewport-fit, etc).
   ════════════════════════════════════════════════════════════════ */

:root{
  /* Or & encre (alignés V3 desktop) */
  --or-d:    #6e4a1a;
  --or:      #a27030;
  --or-l:    #d9a44d;
  --or-x:    #f3d58a;
  --or-soft: #e7d09a;

  /* Tons sombres (le mobile est sombre, plus dramatique) */
  --bg-1:    #0a0703;   /* fond absolu */
  --bg-2:    #14100a;   /* surface card */
  --bg-3:    #1c150c;   /* surface elevated */

  --tx-1:    #e9dfcb;
  --tx-2:    #b8a98a;
  --tx-3:    #837758;
  --tx-4:    #56503e;

  --rule:        rgba(243, 213, 138, .18);
  --rule-soft:   rgba(243, 213, 138, .10);

  --ff-title:  "Cinzel", serif;
  --ff-body:   "EB Garamond", "Garamond", serif;

  --ease-soft: cubic-bezier(.4, 0, .2, 1);

  /* Tap target Apple HIG min */
  --tap-min: 44px;
}

*, *::before, *::after{ box-sizing: border-box; margin: 0; padding: 0; }
html, body{ min-height: 100vh; }

body{
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--tx-1);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(217,164,77,.06) 0%, transparent 55%),
    var(--bg-1);
  /* Safe area iOS notch + home indicator */
  padding-top:    env(safe-area-inset-top, 0);
  padding-bottom: env(safe-area-inset-bottom, 0);
  padding-left:   env(safe-area-inset-left, 0);
  padding-right:  env(safe-area-inset-right, 0);
  /* Pas de bounce / overscroll iOS */
  overscroll-behavior-y: contain;
}

img{ display: block; max-width: 100%; }
button{ font: inherit; color: inherit; background: transparent; border: 0; cursor: pointer; }
a{ color: inherit; text-decoration: none; }
[hidden]{ display: none !important; }


/* ────────────────────────────────────────────────────────────────
   HEADER + TABS — sticky en haut, mini-hero avec image de fond
   ──────────────────────────────────────────────────────────────── */
.app-head{
  position: sticky;
  top: 0;
  z-index: 10;
  /* Fond agenda compressé pour mobile (67 KB en WebP, vs 2.6 MB pour
     l'asset desktop). Sous le voile sombre pour la lisibilité de la
     marque et de la barre des tabs. */
  background:
    url('../shared/assets/agenda/fong-agenda_aa_mobile.webp') center/cover no-repeat,
    var(--bg-1);
  border-bottom: 1px solid var(--rule);
  padding: 12px 18px 0;
  isolation: isolate;
  overflow: hidden;
}

/* Voile sombre par-dessus le bg pour assurer la lisibilité — léger
   en haut (laisse respirer le ciel/horizon de l'image), opaque en bas
   pour bien décoller la barre des tabs. */
.app-head::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(10, 7, 3, .30) 0%,
    rgba(10, 7, 3, .55) 50%,
    rgba(10, 7, 3, .92) 100%);
}

/* Brand + tabs au-dessus du voile. */
.brand,
.tabs{ position: relative; z-index: 2; }

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  /* La marque s'efface au scroll (.app-head.is-compact posé par
     mobile.js) : seule la barre des tabs reste épinglée. */
  max-height: 64px;
  overflow: hidden;
  transition: max-height .28s var(--ease-soft),
              opacity .2s var(--ease-soft),
              padding-bottom .28s var(--ease-soft);
}
.app-head.is-compact .brand{
  max-height: 0;
  opacity: 0;
  padding-bottom: 0;
}
.brand-seal{
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.6))
          drop-shadow(0 0 6px rgba(217,164,77,.18));
}
.brand-titles{
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-overline{
  font-family: var(--ff-title);
  font-weight: 500;
  font-size: 9px;
  letter-spacing: .36em;
  text-transform: uppercase;
  color: var(--tx-3);
  margin-bottom: 2px;
}
.brand-name{
  font-family: var(--ff-title);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: .16em;
  color: var(--or-x);
  text-shadow: 0 1px 0 rgba(0,0,0,.5), 0 0 24px rgba(217,164,77,.18);
}

.tabs{
  display: flex;
  gap: 0;
  border-top: 1px solid var(--rule-soft);
}
.tab{
  flex: 1;
  min-height: var(--tap-min);
  padding: 12px 8px 14px;
  font-family: var(--ff-title);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--tx-3);
  position: relative;
  transition: color .15s var(--ease-soft);
}
.tab.is-current{ color: var(--or-x); }
.tab.is-current::after{
  content: "";
  position: absolute;
  left: 16px; right: 16px;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--or-l), transparent);
}


/* ────────────────────────────────────────────────────────────────
   TAB PANES
   ──────────────────────────────────────────────────────────────── */
.tab-pane{
  padding: 16px 14px 32px;
  min-height: calc(100vh - 140px);
}
.tab-pane:not(.is-current){ display: none; }


/* ────────────────────────────────────────────────────────────────
   AGENDA — loader + empty
   ──────────────────────────────────────────────────────────────── */
/* ── Abonnement calendrier ── trois icônes directes, ancrées à droite ;
   pas de menu déroulant (perturbant en usage), pas de hauteur mangée. */
.agenda-topbar{ display: flex; justify-content: flex-end; gap: 10px; padding: 10px 14px 0; }
.agenda-subscribe-icons{ display: flex; gap: 10px; }
.agenda-subscribe-icon-btn{
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid rgba(217,164,77,.4); border-radius: 50%;
  background: linear-gradient(180deg, rgba(217,164,77,.1) 0%, rgba(217,164,77,.02) 100%);
  color: var(--or-l);
}
.agenda-subscribe-icon-btn:active{ background: rgba(217,164,77,.2); }
.agenda-subscribe-icon-svg{ width: 17px; height: 17px; }
.agenda-subscribe-tip{
  position: absolute; bottom: calc(100% + 6px); left: 50%; z-index: 21;
  transform: translateX(-50%) translateY(4px);
  white-space: nowrap; padding: 5px 10px;
  font-family: var(--ff-body); font-size: 11px;
  background: var(--bg-3); border: 1px solid var(--rule); border-radius: 6px;
  color: var(--or-x);
  opacity: 0; pointer-events: none;
  transition: opacity .15s var(--ease-soft), transform .15s var(--ease-soft);
}
.agenda-subscribe-icon-btn:hover .agenda-subscribe-tip,
.agenda-subscribe-icon-btn:focus-visible .agenda-subscribe-tip{
  opacity: 1; transform: translateX(-50%) translateY(0);
}
.agenda-subscribe-toast{
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 30;
  white-space: nowrap; padding: 5px 10px;
  font-family: var(--ff-body); font-size: 12px;
  background: var(--bg-3); border: 1px solid var(--rule); border-radius: 6px;
  color: var(--or-x);
  opacity: 0; pointer-events: none;
  transition: opacity .2s var(--ease-soft), transform .2s var(--ease-soft);
  transform: translateY(-4px);
}
.agenda-subscribe-toast.is-visible{ opacity: 1; transform: translateY(0); }

.agenda-loader,
.agenda-empty{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 60px 16px;
  color: var(--tx-3);
}
.agenda-loader-glyph,
.empty-glyph{
  font-family: var(--ff-body);
  font-size: 28px;
  color: var(--or-l);
}
.agenda-loader-lab,
.empty-lab{
  font-family: var(--ff-title);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--tx-3);
  text-align: center;
}


/* ────────────────────────────────────────────────────────────────
   GUET DU MONDE — world bosses en tête d'Agenda (mobile-guet.js)
   ──────────────────────────────────────────────────────────────── */
.mguet{
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: .5px solid rgba(217,164,77,.16);
}
.mguet-head{
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.mguet-orn{ color: var(--or); font-size: 13px; }
.mguet-title{
  font-family: var(--ff-title);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--or-l);
}
.mguet-grid{ display: flex; flex-direction: column; gap: 6px; }

/* ── Fiche pleine : réservée aux colosses DISPONIBLES (debout ou fenêtre
   ouverte). Portrait à gauche sur les deux rangées, nom + état en tête,
   détail en sous-ligne. C'est la seule chose qui mérite de la hauteur. */
.mguet-card{
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: baseline;
  column-gap: 10px;
  row-gap: 2px;
  padding: 9px 11px;
  background: var(--bg-2);
  border: .5px solid rgba(217,164,77,.14);
  border-radius: 3px;
  text-decoration: none;
  color: inherit;
}
.mguet-card__por{
  grid-row: 1 / span 2;
  align-self: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: .5px solid rgba(217,164,77,.32);
  background: rgba(0,0,0,.25);
}
.mguet-card--alive{ border-color: rgba(243,213,138,.5); }
.mguet-card--alive .mguet-card__por{
  border-color: var(--or-l);
  box-shadow: 0 0 9px rgba(243,213,138,.35);
  animation: mguetPulse 2.4s ease-in-out infinite;
}
@keyframes mguetPulse{
  0%,100%{ box-shadow: 0 0 5px rgba(243,213,138,.28); }
  50%{ box-shadow: 0 0 13px rgba(243,213,138,.6); }
}
@media (prefers-reduced-motion: reduce){ .mguet-card--alive .mguet-card__por{ animation: none; } }
.mguet-card__nom{
  font-family: var(--ff-title);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: .02em;
  color: var(--tx-1);
  /* Un nom long ne doit jamais chasser l'état hors de l'écran. */
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mguet-card__etat{
  font-family: var(--ff-body);
  font-size: 12.5px;
  color: var(--or-x);
  text-align: right;
  white-space: nowrap;
}
/* Vivant lissé façon parchemin (cf. .snt-card__badge--alive desktop) :
   contour or + fond ambre translucide au lieu de l'aplat plein. */
.mguet-card--alive .mguet-card__etat{ font-weight: 700;
  padding: 1px 7px; border-radius: 2px; border: .5px solid var(--or-l);
  background: linear-gradient(160deg, rgba(243,213,138,.14), rgba(162,112,48,.10));
  box-shadow: 0 0 8px rgba(243,213,138,.20), inset 0 1px 0 rgba(243,213,138,.14); }
.mguet-card__det{
  grid-column: 2 / 4;
  font-family: var(--ff-body);
  font-style: italic;
  font-size: 11.5px;
  color: var(--tx-3);
}

/* Aucun colosse disponible — on le dit, plutôt que d'afficher un vide. */
.mguet-none{
  font-family: var(--ff-body);
  font-style: italic;
  font-size: 12.5px;
  color: var(--tx-3);
  padding: 4px 2px;
}

/* ── Repli : les colosses au repos (abattus, introuvables). Une ligne
   de sommaire, le détail à la demande. */
.mguet-fold{ margin-top: 2px; }
.mguet-fold__som{
  font-family: var(--ff-body);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--tx-3);
  padding: 5px 2px;
  cursor: pointer;
  list-style: none;
}
.mguet-fold__som::-webkit-details-marker{ display: none; }
.mguet-fold__som::before{ content: '▸ '; color: var(--or-d); }
.mguet-fold[open] .mguet-fold__som::before{ content: '▾ '; }
.mguet-fold__corps{ display: flex; flex-direction: column; gap: 3px; padding: 3px 0 2px; }
.mguet-mini{
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 9px;
  padding: 5px 11px;
}
.mguet-dot{
  width: 7px; height: 7px;
  transform: rotate(45deg);
  background: var(--or-d);
}
.mguet-mini--guet .mguet-dot{ background: var(--tx-4); }
.mguet-mini__nom{
  font-family: var(--ff-title);
  font-size: 12.5px;
  color: var(--tx-2);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mguet-mini__det{
  font-family: var(--ff-body);
  font-size: 11px;
  color: var(--tx-3);
  white-space: nowrap;
}


/* ────────────────────────────────────────────────────────────────
   AGENDA — liste chronologique
   ──────────────────────────────────────────────────────────────── */
.agenda-list{
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* En-tête de jour : HIER / AUJOURD'HUI / DEMAIN / etc. */
.day-head{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 4px 4px 6px;
  border-bottom: 1px solid var(--rule);
}
.day-head-lab{
  font-family: var(--ff-title);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--or-x);
}
.day-head-lab--past{ color: var(--tx-3); }
.day-head-lab--today{ color: var(--or-x); }
.day-head-date{
  font-family: var(--ff-body);
  font-style: italic;
  font-size: 12px;
  color: var(--tx-3);
}

/* Carte événement */
.evt-card{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-3) 100%);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--or);
  border-radius: 2px;
}
.evt-card[data-cat="reset"]    { border-left-color: #6a86a6; }
.evt-card[data-cat="pvp"]      { border-left-color: #a85020; }
.evt-card[data-cat="darkmoon"] { border-left-color: #8a5aa6; }
.evt-card[data-cat="worldbuff"]{ border-left-color: #c08a3a; }
.evt-card[data-cat="seasonal"] { border-left-color: #d8a657; }

.evt-card--past{
  opacity: .5;
}

/* Icône agrandie + débord à gauche (idée reprise du desktop) :
   margin-left négatif fait sortir l'icône du bord gauche de la carte,
   filter drop-shadow pour la décoller. z-index pour passer par-dessus
   le liseré de catégorie. */
.evt-icon{
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  margin: -10px 0 -10px -10px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.85));
  position: relative;
  z-index: 2;
}
.evt-icon-fallback{
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  margin: -10px 0 -10px -10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--or-l);
  background: rgba(217,164,77,.06);
  border: 1px solid rgba(217,164,77,.18);
  border-radius: 50%;
  position: relative;
  z-index: 2;
}

.evt-body{
  flex: 1;
  min-width: 0;
}
.evt-time{
  display: block;
  font-family: var(--ff-title);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .28em;
  color: var(--or-x);
  margin-bottom: 1px;
}
.evt-title{
  display: block;
  font-family: var(--ff-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--tx-1);
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.evt-sub{
  display: block;
  font-family: var(--ff-body);
  font-style: italic;
  font-size: 12px;
  color: var(--tx-3);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.evt-faction{
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  object-fit: contain;
}


/* ────────────────────────────────────────────────────────────────
   PIED DE PAGE — l'essentiel de l'ancien tab À propos, en discret
   ──────────────────────────────────────────────────────────────── */
.app-foot{
  max-width: 420px;
  margin: 0 auto;
  padding: 8px 24px 36px;
  text-align: center;
}
.app-foot-flourish{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 14px;
  max-width: 220px;
}
.app-foot-bar{
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--or), transparent);
}
.app-foot-glyph{
  font-family: var(--ff-body);
  font-size: 16px;
  color: var(--or-l);
  line-height: 1;
}
.app-foot-line{
  font-family: var(--ff-body);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--tx-3);
  margin: 0 0 8px;
}
.app-foot-line strong{ color: var(--or-soft); font-weight: 500; }
.app-foot-sign{
  font-family: var(--ff-body);
  font-style: italic;
  font-size: 12px;
  color: var(--tx-3);
  margin: 0;
}


/* ════════════════════════════════════════════════════════════════
   TAB · COMBATS
   ════════════════════════════════════════════════════════════════
   Trois variables locales en plus :
     --cb-zone-tint  posée par renderCard()/renderFeatured(),
                     contrôle l'accent de couleur par instance.
     --cls-*         les 9 couleurs WoW Classic, utilisées par les
                     pastilles de rang et de mort.
   ──────────────────────────────────────────────────────────────── */

#paneCombats{
  /* Couleurs de classes Classic FR (Wowhead-like). */
  --cls-warrior: #c79c6e;
  --cls-paladin: #f58cba;
  --cls-hunter:  #abd473;
  --cls-rogue:   #fff569;
  --cls-priest:  #ffffff;
  --cls-shaman:  #0070de;
  --cls-mage:    #69ccf0;
  --cls-warlock: #9482c9;
  --cls-druid:   #ff7d0a;
  --cls-other:   var(--tx-2);

  padding: 0;             /* on gère le padding interne par sous-section */
}
#paneCombats[data-cb-state="detail"] .cb-list-view{ display: none; }


/* ──────────────────────────────────────────────────────────────────
   BANDEAU GUILDE
   ────────────────────────────────────────────────────────────────── */
.cb-list-view{
  padding: 14px 14px 32px;
}
.cb-guild{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 4px 12px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 14px;
}
.cb-guild-orn{
  font-size: 18px;
  color: var(--or-l);
  line-height: 1;
}
.cb-guild-titles{
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.cb-guild-overline{
  font-family: var(--ff-title);
  font-weight: 500;
  font-size: 9px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--tx-3);
  margin-bottom: 2px;
}
.cb-guild-name{
  font-family: var(--ff-title);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .08em;
  color: var(--or-x);
  text-shadow: 0 0 18px rgba(217,164,77,.16);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cb-guild-total{
  flex-shrink: 0;
  font-family: var(--ff-body);
  font-style: italic;
  font-size: 12px;
  color: var(--tx-3);
}


/* ──────────────────────────────────────────────────────────────────
   CHIPS DE ZONE — scroll horizontal "snap"
   ────────────────────────────────────────────────────────────────── */
.cb-zones{
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 4px 2px 12px;
  margin: 0 -14px 6px;     /* débord pour profiter de toute la largeur */
  padding-left: 14px;
  padding-right: 14px;
  /* Masque les scrollbars sur webkit/firefox */
  scrollbar-width: none;
}
.cb-zones::-webkit-scrollbar{ display: none; }

.cb-zone-chip{
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px 7px 7px;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-3) 100%);
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--tx-2);
  font-family: var(--ff-body);
  font-size: 13px;
  white-space: nowrap;
  min-height: 36px;
  transition: border-color .15s var(--ease-soft),
              color       .15s var(--ease-soft);
}
.cb-zone-chip.is-active{
  border-color: rgba(243, 213, 138, .55);
  color: var(--or-x);
  background: linear-gradient(180deg, #221a0e 0%, #1c150c 100%);
  box-shadow: 0 0 0 1px rgba(243, 213, 138, .18) inset,
              0 2px 10px rgba(217, 164, 77, .10);
}
.cb-zone-chip-icon{
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(217,164,77,.06) center/cover no-repeat;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(243,213,138,.18);
}
.cb-zone-chip-icon--all{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--or-l);
}
.cb-zone-chip-label{
  font-family: var(--ff-body);
  letter-spacing: .02em;
}
.cb-zone-chip-count{
  font-family: var(--ff-title);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--tx-3);
  padding: 0 4px;
}
.cb-zone-chip.is-active .cb-zone-chip-count{ color: var(--or-l); }


/* ──────────────────────────────────────────────────────────────────
   LOADER + EMPTY
   ────────────────────────────────────────────────────────────────── */
.cb-loader{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 60px 16px;
  color: var(--tx-3);
}
.cb-loader-glyph{
  font-family: var(--ff-body);
  font-size: 28px;
  color: var(--or-l);
}
.cb-loader-lab{
  font-family: var(--ff-title);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--tx-3);
  text-align: center;
}

.cb-empty{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 60px 16px;
  color: var(--tx-3);
  text-align: center;
}


/* ──────────────────────────────────────────────────────────────────
   FEATURED — la dernière bataille en hero
   ────────────────────────────────────────────────────────────────── */
.cb-featured{
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  margin: 0 0 22px;
  isolation: isolate;
  border: 1px solid var(--rule);
  box-shadow: 0 4px 18px rgba(0,0,0,.45);
}
.cb-featured-bg{
  position: absolute;
  inset: -10% -10% 35% -10%;
  background: center/cover no-repeat;
  filter: saturate(.7) contrast(.95) sepia(.18);
  z-index: 0;
}
.cb-featured-tint{
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.cb-featured-content{
  position: relative;
  z-index: 2;
  padding: 130px 16px 18px;
}
.cb-featured-overline-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.cb-featured-overline{
  font-family: var(--ff-title);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: .36em;
  text-transform: uppercase;
  color: var(--or-soft);
  text-shadow: 0 1px 2px rgba(0,0,0,.7);
}
.cb-featured-zone{
  font-family: var(--ff-title);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: .04em;
  color: var(--or-x);
  text-shadow: 0 2px 4px rgba(0,0,0,.7), 0 0 28px rgba(217,164,77,.16);
  line-height: 1.15;
  margin-bottom: 4px;
}
.cb-featured-meta{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-body);
  font-style: italic;
  font-size: 13px;
  color: var(--tx-2);
  margin-bottom: 14px;
}
.cb-meta-sep{
  color: var(--tx-4);
  font-style: normal;
}
.cb-featured-stats{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 12px 10px;
  background: linear-gradient(180deg, rgba(20,16,10,.78) 0%, rgba(28,21,12,.78) 100%);
  border: 1px solid var(--rule);
  border-radius: 3px;
  margin-bottom: 14px;
}
.cb-stat{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.cb-stat-value{
  font-family: var(--ff-title);
  font-weight: 600;
  font-size: 16px;
  color: var(--or-x);
  letter-spacing: .04em;
}
.cb-stat-label{
  font-family: var(--ff-title);
  font-weight: 500;
  font-size: 8.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--tx-3);
  text-align: center;
}
.cb-featured-strip{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.cb-featured-article-title{
  font-family: var(--ff-title);
  font-weight: 500;
  font-style: italic;
  font-size: 14px;
  color: var(--or-soft);
  text-align: center;
  margin: 4px 0 10px;
  line-height: 1.3;
}
.cb-featured-excerpt{
  font-family: var(--ff-body);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--tx-2);
  margin-bottom: 16px;
}
.cb-featured-excerpt p{ margin: 0 0 .55em; }
.cb-featured-excerpt p:last-child{ margin-bottom: 0; }
.cb-featured-excerpt em{ color: var(--or-soft); font-style: italic; }
.cb-featured-excerpt strong{ color: var(--or-x); font-weight: 500; }
.cb-featured-cta{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--tap-min);
  background: linear-gradient(180deg, rgba(217,164,77,.10) 0%, rgba(110, 74, 26, .15) 100%);
  border: 1px solid rgba(243, 213, 138, .35);
  border-radius: 3px;
  font-family: var(--ff-title);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--or-x);
  text-decoration: none;
  padding: 12px 16px;
  text-shadow: 0 0 14px rgba(217,164,77,.2);
}
.cb-featured-cta:active{
  background: linear-gradient(180deg, rgba(217,164,77,.18) 0%, rgba(110, 74, 26, .25) 100%);
}
.cb-featured-cta-chev{ font-size: 14px; }


/* ──────────────────────────────────────────────────────────────────
   BANDEAU "LE RELIQUAIRE"
   ────────────────────────────────────────────────────────────────── */
.cb-band{
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 6px 0 16px;
}
.cb-band-line{
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--or), transparent);
}
.cb-band-lab{
  font-family: var(--ff-title);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--or-l);
  text-align: center;
  white-space: nowrap;
}


/* ──────────────────────────────────────────────────────────────────
   GRILLE — cartes de raid
   ────────────────────────────────────────────────────────────────── */
.cb-list{
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cb-card{
  position: relative;
  display: grid;
  grid-template-columns: 88px 1fr 18px;
  align-items: stretch;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-3) 100%);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--cb-zone-tint, var(--or));
  border-radius: 3px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  min-height: 132px;
  isolation: isolate;
  transition: border-color .15s var(--ease-soft),
              transform     .15s var(--ease-soft);
}
.cb-card:active{
  transform: scale(.985);
  border-color: rgba(243,213,138,.35);
}
.cb-card-portrait{
  position: relative;
  background: var(--cb-zone-tint, var(--bg-3)) center/cover no-repeat;
  filter: saturate(.85) contrast(.95);
}
.cb-card-portrait::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(10,7,3,0) 0%,
    rgba(10,7,3,.30) 55%,
    rgba(10,7,3,.85) 100%);
}
.cb-card-body{
  padding: 11px 4px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.cb-card-head{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
}
.cb-card-zone{
  font-family: var(--ff-title);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: .04em;
  color: var(--or-x);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}
.cb-card-date{
  font-family: var(--ff-body);
  font-style: italic;
  font-size: 11.5px;
  color: var(--tx-3);
  flex-shrink: 0;
}
.cb-card-stats{
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.cb-card-ratio{
  font-family: var(--ff-title);
  font-weight: 600;
  font-size: 17px;
  color: var(--or-l);
  letter-spacing: .02em;
  line-height: 1;
}
.cb-card-ratio em{ color: var(--tx-3); font-style: normal; padding: 0 1px; }
.cb-card-ratio-kills{ color: var(--or-x); }
.cb-card-meta{
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--ff-body);
  font-size: 12.5px;
  color: var(--tx-2);
}
.cb-card-meta-glyph{
  font-size: 12px;
  color: var(--tx-3);
  display: inline-flex;
  align-items: center;
}
.cb-card-meta-glyph svg,
.dj-card-meta-glyph svg{
  width: 12px;
  height: 12px;
  display: block;
}
.cb-card-strip{
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.cb-card-excerpt{
  font-family: var(--ff-body);
  font-style: italic;
  font-size: 12.5px;
  color: var(--tx-3);
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cb-card-badges{
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.cb-card-chev{
  align-self: center;
  font-size: 22px;
  color: var(--tx-4);
  padding: 0 10px 0 0;
  font-family: var(--ff-body);
  line-height: 1;
}


/* ──────────────────────────────────────────────────────────────────
   BADGES (success/rare) — partagés card/featured/detail
   ────────────────────────────────────────────────────────────────── */
.cb-badges{
  display: inline-flex;
  gap: 5px;
  flex-wrap: wrap;
}
/* Sur le featured et le détail, les badges (ex. "Sans wipe") restent à
   leur place actuelle mais en pleine largeur sous la meta. */
.cb-badges--featured{
  margin-top: 6px;
  margin-bottom: 12px;
}


/* ──────────────────────────────────────────────────────────────────
   CHIP GUILDE — faction icon + nom de guilde (modèle hero v3/g/)
   ────────────────────────────────────────────────────────────────── */
.cb-gchip{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 4px;
  background: rgba(10,7,3,.55);
  border: 1px solid var(--rule);
  border-radius: 999px;
  max-width: 100%;
  min-width: 0;
}
.cb-gchip[data-faction="alliance"]{ border-color: rgba(74,120,194,.45); }
.cb-gchip[data-faction="horde"]   { border-color: rgba(184,65,42,.45);  }
.cb-gchip-fac{
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.5));
}
.cb-gchip-name{
  font-family: var(--ff-body);
  font-size: 13px;
  color: var(--tx-1);
  letter-spacing: .01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.cb-gchip[data-faction="alliance"] .cb-gchip-name{ color: #b4d2ff; }
.cb-gchip[data-faction="horde"]    .cb-gchip-name{ color: #f0a98f; }

/* Variante compacte pour les cartes du reliquaire (plus dense). */
.cb-gchip--compact{
  padding: 2px 8px 2px 3px;
  gap: 5px;
  background: transparent;
}
.cb-gchip--compact .cb-gchip-fac{ width: 18px; height: 18px; }
.cb-gchip--compact .cb-gchip-name{ font-size: 12px; }

/* Sur les cartes : la chip prend une ligne entre le head et les stats. */
.cb-card .cb-gchip{ align-self: flex-start; }

/* Détail hero : la chip vit dans son propre wrapper pour respecter le
   gap et l'alignement gauche du contenu hero. */
.cb-detail-guild{ margin: 4px 0 2px; }
.cb-badge{
  display: inline-flex;
  align-items: center;
  font-family: var(--ff-title);
  font-weight: 600;
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid;
  background: rgba(10,7,3,.45);
  white-space: nowrap;
}
.cb-badge--success{
  color: #88c97a;
  border-color: rgba(136,201,122,.55);
  background: rgba(40, 60, 30, .55);
}
.cb-badge--rare{
  color: #d9a44d;
  border-color: rgba(217,164,77,.55);
  background: rgba(60, 40, 12, .55);
}


/* ──────────────────────────────────────────────────────────────────
   STRIP COMPACT DE BOSSES — kill/wipe/skip dots
   ────────────────────────────────────────────────────────────────── */
.cb-dot{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid;
  font-family: var(--ff-body);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  background: rgba(10,7,3,.45);
}
.cb-dot--kill{
  color: #88c97a;
  border-color: rgba(136,201,122,.65);
  background: rgba(40, 60, 30, .55);
}
.cb-dot--wipe{
  color: #d56666;
  border-color: rgba(213,102,102,.65);
  background: rgba(60, 30, 30, .55);
}
.cb-dot--skip{
  color: var(--tx-4);
  border-color: rgba(86,80,62,.65);
  background: rgba(28,21,12,.45);
}
.cb-dot--more{
  font-family: var(--ff-title);
  font-size: 9px;
  letter-spacing: .04em;
  color: var(--tx-3);
  border-color: var(--rule);
  background: transparent;
  width: auto;
  padding: 0 6px;
  border-radius: 999px;
}


/* ──────────────────────────────────────────────────────────────────
   PAGINATION
   ────────────────────────────────────────────────────────────────── */
.cb-pgn{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 18px 0 6px;
}
.cb-pgn:empty{ display: none; }
.cb-pgn-btn{
  width: var(--tap-min);
  height: var(--tap-min);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-body);
  font-size: 20px;
  color: var(--or-l);
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-3) 100%);
}
.cb-pgn-btn[disabled]{
  opacity: .35;
  pointer-events: none;
}
.cb-pgn-status{
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  font-family: var(--ff-title);
  font-size: 12px;
  color: var(--tx-2);
}
.cb-pgn-current{
  color: var(--or-x);
  font-weight: 600;
  font-size: 14px;
}
.cb-pgn-sep{
  font-style: italic;
  font-family: var(--ff-body);
  color: var(--tx-3);
  font-size: 12px;
}
.cb-pgn-total{ color: var(--or-l); }


/* ════════════════════════════════════════════════════════════════
   COMBATS — VUE DÉTAIL
   ════════════════════════════════════════════════════════════════
   La détail-view remplace la list-view (display:none) plutôt que de
   se superposer : ça permet au scroll vertical d'opérer naturellement
   sur les longs rapports sans piéger l'utilisateur, et au bouton
   Retour de toujours retomber sur la liste à l'endroit où il était.
   ──────────────────────────────────────────────────────────────── */

.cb-detail-view{
  animation: cbDetailIn .28s var(--ease-soft) both;
}
@keyframes cbDetailIn{
  from { opacity: 0; transform: translateX(8%); }
  to   { opacity: 1; transform: translateX(0);  }
}

.cb-detail-head{
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  background: linear-gradient(180deg, rgba(10,7,3,.96) 0%, rgba(10,7,3,.88) 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--rule);
}
.cb-back{
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: var(--tap-min);
  padding: 0 14px 0 6px;
  color: var(--or-soft);
  font-family: var(--ff-title);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.cb-back-arrow{
  font-size: 22px;
  font-family: var(--ff-body);
  line-height: 1;
}
.cb-back:active{ color: var(--or-x); }
.cb-wcl{
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  font-family: var(--ff-title);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--tx-3);
  border: 1px solid var(--rule);
  border-radius: 999px;
  text-decoration: none;
  background: rgba(20,16,10,.55);
}

.cb-detail-body{
  padding: 0 14px 60px;
}


/* ── Hero détail : portrait du boss-final + voile teinté ── */
.cb-detail-hero{
  position: relative;
  margin: 0 -14px 16px;     /* débord pour le full-width */
  overflow: hidden;
  isolation: isolate;
  min-height: 240px;
}
.cb-detail-hero-bg{
  position: absolute;
  inset: 0;
  background: center 30%/cover no-repeat;
  filter: saturate(.75) contrast(.95) sepia(.16);
  z-index: 0;
}
.cb-detail-hero-tint{
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.cb-detail-hero-content{
  position: relative;
  z-index: 2;
  padding: 100px 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.cb-detail-overline{
  font-family: var(--ff-title);
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--or-soft);
  text-shadow: 0 1px 2px rgba(0,0,0,.7);
}
.cb-detail-zone{
  font-family: var(--ff-title);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: .04em;
  color: var(--or-x);
  text-shadow: 0 2px 4px rgba(0,0,0,.75), 0 0 32px rgba(217,164,77,.18);
  line-height: 1.1;
  margin: 0;
}
.cb-detail-meta{
  font-family: var(--ff-body);
  font-style: italic;
  font-size: 13px;
  color: var(--tx-1);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  text-shadow: 0 1px 2px rgba(0,0,0,.7);
}


/* ── Stats (réutilise .cb-stat / .cb-stat-value du featured) ── */
.cb-detail-stats{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 14px 10px;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-3) 100%);
  border: 1px solid var(--rule);
  border-radius: 3px;
  margin-bottom: 16px;
}


/* ── Diviseur orné ── */
.cb-divide{
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 14px;
}
.cb-divide-line{
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--or), transparent);
}
.cb-divide-orn{
  font-family: var(--ff-body);
  font-size: 16px;
  color: var(--or-l);
  line-height: 1;
}


/* ── Titres de section ── */
.cb-section-title{
  font-family: var(--ff-title);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--or-x);
  text-align: center;
  margin: 0 0 4px;
}
.cb-section-help{
  font-family: var(--ff-body);
  font-style: italic;
  font-size: 12px;
  color: var(--tx-3);
  text-align: center;
  margin: 0 0 14px;
}


/* ──────────────────────────────────────────────────────────────────
   FRISE DES BOSSES (détail) — scroll horizontal cliquable
   ────────────────────────────────────────────────────────────────── */
.cb-frise{
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 6px 2px 14px;
  margin: 0 -14px 4px;
  padding-left: 14px;
  padding-right: 14px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.cb-frise::-webkit-scrollbar{ display: none; }
.cb-frise-empty{
  font-family: var(--ff-body);
  font-style: italic;
  color: var(--tx-3);
  text-align: center;
  padding: 20px 16px;
  width: 100%;
}

.cb-boss{
  scroll-snap-align: start;
  flex-shrink: 0;
  width: 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 4px;
  border-radius: 4px;
  background: transparent;
  border: 1px solid transparent;
  transition: background .15s var(--ease-soft),
              border-color .15s var(--ease-soft);
}
button.cb-boss{ cursor: pointer; }
.cb-boss[data-status="skip"]{ opacity: .55; pointer-events: none; }
.cb-boss.is-active{
  background: rgba(217,164,77,.08);
  border-color: rgba(243,213,138,.35);
}

.cb-boss-portrait{
  position: relative;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-3);
  box-shadow: 0 2px 6px rgba(0,0,0,.55),
              inset 0 0 0 1px rgba(243,213,138,.30);
}
.cb-boss-portrait img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(.2) saturate(.85) contrast(1.02);
}
.cb-boss-blason{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1f1709 0%, #2a1f10 100%);
}
.cb-boss-blason span{
  font-family: var(--ff-title);
  font-weight: 700;
  font-size: 24px;
  color: var(--or-l);
}
.cb-boss-blason--lg span{ font-size: 36px; }

.cb-boss-status{
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  border: 2px solid var(--bg-1);
}
.cb-boss[data-status="kill"] .cb-boss-status{
  background: #2a4a22;
  color: #b8e7a4;
}
.cb-boss[data-status="wipe"] .cb-boss-status{
  background: #4a1f1f;
  color: #f0a4a4;
}
.cb-boss[data-status="skip"] .cb-boss-status{
  background: #221c10;
  color: var(--tx-4);
}
.cb-boss-name{
  font-family: var(--ff-body);
  font-size: 11.5px;
  color: var(--tx-1);
  line-height: 1.2;
  text-align: center;
  max-width: 80px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cb-boss-timing{
  font-family: var(--ff-title);
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: .14em;
  color: var(--tx-3);
  text-transform: uppercase;
  white-space: nowrap;
}
.cb-boss[data-status="kill"] .cb-boss-timing{ color: var(--or-l); }
.cb-boss[data-status="wipe"] .cb-boss-timing{ color: #d56666; }


/* ──────────────────────────────────────────────────────────────────
   ENCOUNTER PANE (détail) — drill-down sur un boss
   ────────────────────────────────────────────────────────────────── */
.cb-encounter{
  position: relative;
  padding: 14px 12px 16px;
  margin: 0 -14px 14px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(217,164,77,.05) 0%, transparent 60%),
    linear-gradient(180deg, #1c150c 0%, #14100a 100%);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  animation: cbEncIn .22s var(--ease-soft) both;
}
@keyframes cbEncIn{
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0);    }
}

.cb-encounter-close{
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--tx-3);
  border-radius: 50%;
  background: rgba(10,7,3,.6);
  border: 1px solid var(--rule);
}
.cb-encounter-close:active{ color: var(--or-x); }

.cb-encounter-head{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 2px 44px 14px 4px;   /* room for the close button */
  border-bottom: 1px solid var(--rule-soft);
  margin-bottom: 14px;
}
.cb-encounter-portrait{
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,.55);
}
.cb-encounter-portrait img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(.18) saturate(.85);
}
.cb-encounter-portrait-glow{
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 1px rgba(243,213,138,.40),
    inset 0 0 18px rgba(0,0,0,.55);
  pointer-events: none;
}
.cb-encounter-head[data-status="kill"] .cb-encounter-portrait-glow{
  box-shadow:
    inset 0 0 0 1px rgba(136,201,122,.45),
    inset 0 0 18px rgba(0,0,0,.55);
}
.cb-encounter-head[data-status="wipe"] .cb-encounter-portrait-glow{
  box-shadow:
    inset 0 0 0 1px rgba(213,102,102,.45),
    inset 0 0 18px rgba(0,0,0,.55);
}
.cb-encounter-titles{
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cb-encounter-overline{
  font-family: var(--ff-title);
  font-weight: 500;
  font-size: 9px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--tx-3);
}
.cb-encounter-name{
  font-family: var(--ff-title);
  font-weight: 700;
  font-size: 18px;
  color: var(--or-x);
  letter-spacing: .04em;
  margin: 0;
  line-height: 1.15;
}
.cb-encounter-status{
  font-family: var(--ff-body);
  font-style: italic;
  font-size: 12.5px;
  color: var(--tx-2);
}
.cb-encounter-head[data-status="kill"] .cb-encounter-status{ color: #88c97a; }
.cb-encounter-head[data-status="wipe"] .cb-encounter-status{ color: #d56666; }


/* ── Colonnes top dégâts / soins / tanks ── */
.cb-encounter-cols{
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cb-rank-block{}
.cb-rank-title{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--ff-title);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--or-l);
  margin: 0 0 8px;
}
.cb-rank-title em{
  font-style: italic;
  font-family: var(--ff-body);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--or-x);
}
.cb-rank-orn{
  font-family: var(--ff-body);
  font-size: 12px;
  color: var(--or);
}
.cb-rank-empty{
  text-align: center;
  font-family: var(--ff-body);
  font-style: italic;
  font-size: 13px;
  color: var(--tx-3);
  margin: 0;
}
.cb-rank{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cb-rank-item{
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: baseline;
  gap: 8px;
  padding: 5px 8px;
  background: linear-gradient(180deg, rgba(20,16,10,.65) 0%, rgba(28,21,12,.55) 100%);
  border: 1px solid var(--rule-soft);
  border-radius: 3px;
}
.cb-rank-pos{
  font-family: var(--ff-title);
  font-weight: 600;
  font-size: 11.5px;
  color: var(--tx-3);
  text-align: center;
}
.cb-rank-name{
  font-family: var(--ff-body);
  font-size: 14.5px;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cb-rank-name::before{
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cls-other);
  flex-shrink: 0;
}
.cb-rank-item[data-class="warrior"] .cb-rank-name{ color: var(--cls-warrior); }
.cb-rank-item[data-class="paladin"] .cb-rank-name{ color: var(--cls-paladin); }
.cb-rank-item[data-class="hunter"]  .cb-rank-name{ color: var(--cls-hunter);  }
.cb-rank-item[data-class="rogue"]   .cb-rank-name{ color: var(--cls-rogue);   }
.cb-rank-item[data-class="priest"]  .cb-rank-name{ color: var(--cls-priest);  }
.cb-rank-item[data-class="shaman"]  .cb-rank-name{ color: var(--cls-shaman);  }
.cb-rank-item[data-class="mage"]    .cb-rank-name{ color: var(--cls-mage);    }
.cb-rank-item[data-class="warlock"] .cb-rank-name{ color: var(--cls-warlock); }
.cb-rank-item[data-class="druid"]   .cb-rank-name{ color: var(--cls-druid);   }
.cb-rank-item[data-class="warrior"] .cb-rank-name::before{ background: var(--cls-warrior); }
.cb-rank-item[data-class="paladin"] .cb-rank-name::before{ background: var(--cls-paladin); }
.cb-rank-item[data-class="hunter"]  .cb-rank-name::before{ background: var(--cls-hunter);  }
.cb-rank-item[data-class="rogue"]   .cb-rank-name::before{ background: var(--cls-rogue);   }
.cb-rank-item[data-class="priest"]  .cb-rank-name::before{ background: var(--cls-priest);  }
.cb-rank-item[data-class="shaman"]  .cb-rank-name::before{ background: var(--cls-shaman);  }
.cb-rank-item[data-class="mage"]    .cb-rank-name::before{ background: var(--cls-mage);    }
.cb-rank-item[data-class="warlock"] .cb-rank-name::before{ background: var(--cls-warlock); }
.cb-rank-item[data-class="druid"]   .cb-rank-name::before{ background: var(--cls-druid);   }

.cb-rank-dots{ display: none; } /* trop bruyant en mobile */

.cb-rank-value{
  font-family: var(--ff-title);
  font-weight: 600;
  font-size: 14px;
  color: var(--or-x);
  letter-spacing: .02em;
  white-space: nowrap;
}
.cb-rank-value em{
  font-family: var(--ff-title);
  font-style: normal;
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--tx-3);
  margin-left: 4px;
}


/* ── Morts ── */
.cb-deaths-block{
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--rule-soft);
}
.cb-rank-title--deaths{ color: #d56666; }
.cb-rank-title--deaths em{ color: #f0a4a4; }
.cb-deaths{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cb-death{
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 2px;
  padding: 7px 10px;
  background: linear-gradient(180deg, rgba(28, 12, 12, .35) 0%, rgba(20, 10, 10, .45) 100%);
  border: 1px solid rgba(213, 102, 102, .18);
  border-radius: 3px;
}
.cb-death--avoid{
  border-color: rgba(213, 102, 102, .55);
  background: linear-gradient(180deg, rgba(50, 18, 18, .35) 0%, rgba(36, 14, 14, .45) 100%);
}
.cb-death-time{
  grid-row: 1 / span 2;
  align-self: center;
  font-family: var(--ff-title);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--or-l);
  text-align: center;
}
.cb-death-name{
  grid-column: 2;
  font-family: var(--ff-body);
  font-size: 14px;
  text-decoration: none;
  color: var(--cls-other);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cb-death-name::before{
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cls-other);
}
.cb-death[data-class="warrior"] .cb-death-name{ color: var(--cls-warrior); }
.cb-death[data-class="warrior"] .cb-death-name::before{ background: var(--cls-warrior); }
.cb-death[data-class="paladin"] .cb-death-name{ color: var(--cls-paladin); }
.cb-death[data-class="paladin"] .cb-death-name::before{ background: var(--cls-paladin); }
.cb-death[data-class="hunter"]  .cb-death-name{ color: var(--cls-hunter); }
.cb-death[data-class="hunter"]  .cb-death-name::before{ background: var(--cls-hunter); }
.cb-death[data-class="rogue"]   .cb-death-name{ color: var(--cls-rogue); }
.cb-death[data-class="rogue"]   .cb-death-name::before{ background: var(--cls-rogue); }
.cb-death[data-class="priest"]  .cb-death-name{ color: var(--cls-priest); }
.cb-death[data-class="priest"]  .cb-death-name::before{ background: var(--cls-priest); }
.cb-death[data-class="shaman"]  .cb-death-name{ color: var(--cls-shaman); }
.cb-death[data-class="shaman"]  .cb-death-name::before{ background: var(--cls-shaman); }
.cb-death[data-class="mage"]    .cb-death-name{ color: var(--cls-mage); }
.cb-death[data-class="mage"]    .cb-death-name::before{ background: var(--cls-mage); }
.cb-death[data-class="warlock"] .cb-death-name{ color: var(--cls-warlock); }
.cb-death[data-class="warlock"] .cb-death-name::before{ background: var(--cls-warlock); }
.cb-death[data-class="druid"]   .cb-death-name{ color: var(--cls-druid); }
.cb-death[data-class="druid"]   .cb-death-name::before{ background: var(--cls-druid); }

.cb-death-cause{
  grid-column: 2;
  font-family: var(--ff-body);
  font-size: 12.5px;
  color: var(--tx-2);
  line-height: 1.3;
}
.cb-death-cause em{
  color: var(--tx-3);
  font-style: italic;
}
.cb-death-tip{
  grid-column: 2;
  display: block;
  margin-top: 4px;
  font-family: var(--ff-body);
  font-style: italic;
  font-size: 12px;
  color: #f0a4a4;
  line-height: 1.4;
  padding-left: 10px;
  border-left: 2px solid rgba(213,102,102,.4);
}


/* ──────────────────────────────────────────────────────────────────
   ARTICLE — narration markdown
   ────────────────────────────────────────────────────────────────── */
.cb-art-title{
  font-family: var(--ff-title);
  font-style: italic;
  font-weight: 500;
  font-size: 15px;
  color: var(--or-soft);
  text-align: center;
  margin: 4px 0 14px;
  line-height: 1.3;
}
.cb-art{
  font-family: var(--ff-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--tx-1);
}
.cb-art p{ margin: 0 0 .85em; }
.cb-art p:last-child{ margin-bottom: 0; }
.cb-art em{ font-style: italic; color: var(--or-soft); }
.cb-art strong{ color: var(--or-x); font-weight: 500; }
.cb-art a{
  color: var(--or-l);
  text-decoration: underline;
  text-decoration-color: rgba(217,164,77,.35);
  text-underline-offset: 2px;
}
.cb-art a:active{ color: var(--or-x); }
.cb-md-h2, .cb-md-h3, .cb-md-h4{
  font-family: var(--ff-title);
  font-weight: 600;
  color: var(--or-x);
  letter-spacing: .04em;
  margin: 1.2em 0 .35em;
}
.cb-md-h2{ font-size: 18px; }
.cb-md-h3{ font-size: 16px; }
.cb-md-h4{ font-size: 14px; }
.cb-md-list{
  margin: 0 0 .85em;
  padding-left: 22px;
}
.cb-md-list li{ margin-bottom: .25em; }
.cb-md-quote{
  margin: 0 0 .85em;
  padding: 8px 12px;
  border-left: 3px solid var(--or);
  background: rgba(217,164,77,.04);
  font-style: italic;
  color: var(--tx-2);
}
.cb-md-hr{
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--or), transparent);
  margin: 18px auto;
  width: 60%;
}
/* Tables (GFM) — grilles de stats agrégées, thème sombre, défilables. */
.cb-md-table-wrap{
  width: fit-content;
  max-width: 100%;
  margin: 1.1em auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  /* Encart parchemin foncé détouré (même idiome que le desktop). */
  background: url('../shared/assets/fond-dark-horiz_x2.webp') center / 100% 100% no-repeat;
  padding: 16px 22px;
  box-sizing: border-box;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.45));
}
.cb-md-table{
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
  font-size: 12.5px;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}
.cb-md-table thead th{
  font-family: var(--ff-title);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--or-x);
  text-align: left;
  padding: 0 10px 6px;
  border-bottom: 1px solid rgba(217,164,77,.32);
  white-space: nowrap;
}
.cb-md-table tbody td{
  padding: 7px 10px;
  color: var(--tx-2);
  border-bottom: 1px solid rgba(217,164,77,.12);
}
.cb-md-table tbody tr:last-child td{ border-bottom: 0; }
.cb-md-table tbody tr:nth-child(even) td{ background: rgba(217,164,77,.04); }
.cb-md-table tbody td:first-child{ color: var(--tx-1); font-weight: 600; }
.cb-md-table a{ text-decoration: none; color: var(--or-l); }
.cb-art code{
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 13px;
  padding: 1px 5px;
  background: rgba(217,164,77,.08);
  border-radius: 2px;
  color: var(--or-x);
}


/* ── Loader / erreur dans la vue détail ── */
.cb-detail-loader{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 80px 16px;
}
.cb-detail-error{
  font-family: var(--ff-body);
  font-style: italic;
  font-size: 14px;
  color: var(--tx-2);
  text-align: center;
  margin: 0;
}


/* ──────────────────────────────────────────────────────────────────
   RESPONSIVE — petits ajustements pour les très petits écrans
   ────────────────────────────────────────────────────────────────── */
@media (max-width: 360px){
  .cb-featured-stats,
  .cb-detail-stats{
    grid-template-columns: repeat(2, 1fr);
  }
  .cb-featured-zone{ font-size: 22px; }
  .cb-detail-zone{ font-size: 24px; }
  .cb-card{ grid-template-columns: 72px 1fr 14px; min-height: 124px; }
}

/* ════════════════════════════════════════════════════════════════
   EXPÉDITIONS DE DONJON (mode du tab Combats) — mobile-expeditions.js
   ════════════════════════════════════════════════════════════════ */

/* Commutateur Raids ⇄ Expéditions — segmented control gravé. */
.cb-mode{
  display: flex; gap: 6px;
  margin: 14px 16px 4px;
  padding: 4px;
  background: var(--bg-2);
  border: 1px solid var(--rule-soft);
  border-radius: 10px;
}
.cb-mode-btn{
  flex: 1; min-height: 38px;
  font-family: var(--ff-title); font-weight: 600; font-size: 13px;
  letter-spacing: .06em;
  color: var(--tx-3);
  border-radius: 7px;
  transition: color .2s var(--ease-soft), background .2s var(--ease-soft);
}
.cb-mode-btn.is-current{
  color: var(--or-x);
  background: rgba(217, 164, 77, .1);
  box-shadow: inset 0 0 0 1px var(--rule);
}

/* ── Cartes d'expédition ── */
.dj-list{ display: flex; flex-direction: column; gap: 10px; padding: 12px 16px 28px; }
.dj-card{
  display: flex; align-items: center; gap: 10px;
  padding: 13px 14px;
  background: var(--bg-2);
  border: 1px solid var(--rule-soft);
  border-radius: 12px;
  text-decoration: none; color: inherit;
  min-height: var(--tap-min);
}
.dj-card:active{ background: var(--bg-3); }
.dj-card-body{ flex: 1; min-width: 0; }
.dj-card-head{ display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.dj-card-zone{
  font-family: var(--ff-title); font-weight: 600; font-size: 15px;
  color: var(--or-soft);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dj-card-date{ font-size: 12.5px; color: var(--tx-3); white-space: nowrap; }
.dj-card-stats{ display: flex; align-items: center; gap: 12px; margin-top: 5px; }
.dj-card-meta{ font-size: 12.5px; color: var(--tx-2); }
.dj-card-meta-glyph{
  color: var(--or);
  margin-right: 3px;
  display: inline-flex;
  align-items: center;
}
.dj-card-boost{
  font-family: var(--ff-title); font-weight: 700; font-size: 9px;
  letter-spacing: .18em; text-transform: uppercase;
  padding: 2px 7px;
  border: 1px solid rgba(217, 164, 77, .4);
  border-radius: 3px;
  color: var(--or-l);
}
.dj-card-who{
  margin-top: 4px;
  font-style: italic; font-size: 13px; color: var(--tx-2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ── Détail d'expédition ── */
.dj-head{ text-align: center; padding: 18px 16px 6px; }
.dj-head-overline{
  font-family: var(--ff-title); font-weight: 600; font-size: 10px;
  letter-spacing: .3em; text-transform: uppercase; color: var(--tx-3);
}
.dj-head-zone{
  font-family: var(--ff-title); font-weight: 700; font-size: 24px;
  color: var(--or-x); margin: 4px 0 2px;
}
.dj-head-date{ font-style: italic; font-size: 13.5px; color: var(--tx-2); }

.dj-stats{
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px;
  margin: 14px 16px;
  padding: 12px 8px;
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
}
.dj-stat{ text-align: center; min-width: 56px; }
.dj-stat-n{
  display: block;
  font-family: var(--ff-title); font-weight: 700; font-size: 17px;
  color: var(--or-soft);
}
.dj-stat-lab{ font-size: 11px; letter-spacing: .08em; color: var(--tx-3); text-transform: uppercase; }

.dj-sect{
  display: flex; align-items: center; gap: 12px;
  margin: 22px 16px 10px;
  font-family: var(--ff-title); font-weight: 600; font-size: 12px;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--or);
}
.dj-sect::after{ content: ''; flex: 1; height: 1px; background: var(--rule-soft); }

.dj-players{ display: flex; flex-direction: column; gap: 8px; padding: 0 16px; }
.dj-player{
  display: flex; gap: 12px; align-items: flex-start;
  padding: 11px 12px;
  background: var(--bg-2);
  border: 1px solid var(--rule-soft);
  border-radius: 12px;
}
.dj-player-icon{
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--rule);
}
.dj-player-icon--ph{ background: var(--bg-3); display: block; }
.dj-player-body{ flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
/* Nom = lien vers la fiche perso mobile (/mobile/c/:name), même cible
   que les classements raids. La couleur de classe reste en inline. */
.dj-player-name{
  font-family: var(--ff-title);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  align-self: flex-start;
}
.dj-player-sub{ font-size: 12px; color: var(--tx-3); }
.dj-player-oeuvre{ font-size: 12.5px; color: var(--tx-2); margin-top: 3px; }
.dj-player-fait{ font-style: italic; font-size: 12.5px; color: var(--or-l); margin-top: 1px; }

.dj-bosses{ display: flex; flex-direction: column; gap: 2px; padding: 0 16px; }
.dj-boss{
  display: flex; gap: 12px; align-items: flex-start;
  padding: 9px 4px;
  border-bottom: 1px solid var(--rule-soft);
}
.dj-boss:last-child{ border-bottom: 0; }
.dj-boss-when{
  flex: 0 0 58px;
  font-family: var(--ff-title); font-weight: 600; font-size: 12px;
  color: var(--tx-3); text-align: right; padding-top: 2px;
  font-variant-numeric: tabular-nums;
}
.dj-boss-body{ flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dj-boss-name{ font-family: var(--ff-title); font-weight: 600; font-size: 14.5px; color: var(--or-soft); }
.dj-boss-title{ font-style: italic; font-size: 12px; color: var(--tx-3); }
.dj-boss-kb{ font-size: 12px; color: var(--tx-2); margin-top: 2px; }
.dj-boss-kb a{ text-decoration: none; font-weight: 600; }

.dj-moments{ list-style: none; padding: 0 16px; display: flex; flex-direction: column; gap: 6px; }
.dj-moments li{
  font-style: italic; font-size: 13.5px; color: var(--tx-2);
  padding-left: 16px; position: relative;
}
.dj-moments li::before{ content: '❧'; position: absolute; left: 0; color: var(--or); }

.dj-foot{
  margin: 26px 16px 30px;
  font-size: 12.5px; font-style: italic; color: var(--tx-3);
  text-align: center;
}
.dj-foot-code{ color: var(--tx-2); white-space: nowrap; }


/* ════════════════════════════════════════════════════════════════
   HÉRAUT — les nouvelles du royaume (mobile-heraut.js)
   ════════════════════════════════════════════════════════════════ */

.hb-mast{
  display: flex; align-items: center; gap: 12px;
  padding: 18px 16px 12px;
}
.hb-mast-orn{ font-size: 20px; color: var(--or); }
.hb-mast-titles{ display: flex; flex-direction: column; }
.hb-mast-overline{
  font-family: var(--ff-title); font-weight: 600; font-size: 10px;
  letter-spacing: .26em; text-transform: uppercase; color: var(--tx-3);
}
.hb-mast-name{
  font-family: var(--ff-title); font-weight: 700; font-size: 21px;
  color: var(--or-x);
}

.hb-list{ display: flex; flex-direction: column; gap: 12px; padding: 4px 16px 28px; }
.hb-card{
  display: flex; flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--rule-soft);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none; color: inherit;
  position: relative;
}
.hb-card:active{ background: var(--bg-3); }
.hb-card .cb-card-chev{ position: absolute; right: 14px; bottom: 12px; }
.hb-card-cover{
  height: 120px;
  background-size: cover; background-position: center;
  border-bottom: 1px solid var(--rule-soft);
  filter: saturate(.85);
}
.hb-card-body{ padding: 13px 16px 14px; }
.hb-card-meta{ display: flex; align-items: center; gap: 10px; margin-bottom: 5px; }
.hb-card-tag{
  font-family: var(--ff-title); font-weight: 700; font-size: 9.5px;
  letter-spacing: .18em; text-transform: uppercase;
  padding: 2px 8px;
  border: 1px solid rgba(217, 164, 77, .35);
  border-radius: 3px;
  color: var(--or-l);
}
.hb-card-date{ font-size: 12px; color: var(--tx-3); }
.hb-card-title{
  font-family: var(--ff-title); font-weight: 600; font-size: 16.5px;
  line-height: 1.3; color: var(--or-soft);
}
.hb-card-excerpt{
  margin-top: 6px; padding-right: 18px;
  font-size: 13.5px; line-height: 1.5; color: var(--tx-2);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Article ── */
.hb-article{ padding: 0 16px 36px; }
.hb-art-cover{
  height: 150px; margin: 4px -16px 14px;
  background-size: cover; background-position: center;
  border-bottom: 1px solid var(--rule-soft);
  filter: saturate(.85);
}
.hb-art-meta{ display: flex; align-items: center; gap: 10px; margin: 10px 0 8px; }
.hb-art-title{
  font-family: var(--ff-title); font-weight: 700; font-size: 23px;
  line-height: 1.25; color: var(--or-x);
  margin-bottom: 14px;
}
.hb-art-body{ font-size: 16px; line-height: 1.65; color: var(--tx-1); }
.hb-art-body h2{
  font-family: var(--ff-title); font-weight: 600; font-size: 17px;
  color: var(--or-soft);
  margin: 24px 0 10px;
  display: flex; align-items: center; gap: 12px;
}
.hb-art-body h2::after{ content: ''; flex: 1; height: 1px; background: var(--rule-soft); }
.hb-art-body h3{
  font-family: var(--ff-title); font-weight: 600; font-size: 15px;
  color: var(--or-soft); margin: 18px 0 8px;
}
.hb-art-body p{ margin: 0 0 12px; }
.hb-art-body ul, .hb-art-body ol{ margin: 0 0 12px; padding-left: 22px; }
.hb-art-body li{ margin-bottom: 6px; }
.hb-art-body a{ color: var(--or-l); text-decoration: underline; text-underline-offset: 2px; }
.hb-art-body strong{ color: var(--or-soft); }
.hb-art-body img{ border-radius: 10px; margin: 8px 0; }
.hb-art-body blockquote{
  margin: 0 0 12px; padding: 8px 14px;
  border-left: 2px solid var(--or);
  color: var(--tx-2); font-style: italic;
}
.hb-art-body code{
  font-size: .9em; padding: 1px 5px;
  background: var(--bg-3); border-radius: 4px;
}
.hb-art-sign{
  margin-top: 22px;
  text-align: right; font-style: italic; color: var(--tx-3);
}
