/* MightyDad — thème comic. Tokens tirés de docs/design.md. */

:root {
  --bg:        #0c0c0c;
  --panel:     #141414;
  --panel-2:   #161616;
  --border:    #262626;
  --border-2:  #3a3a3a;
  --gold:      #f6b81c;
  --gold-hi:   #ffd35a;
  --gold-sh:   #b5820c;
  --red:       #d81f26;
  --red-deep:  #8f1416;
  --cream:     #f4ede0;
  --ink:       #3a0a0b;
  --text-2:    #c9c0b2;
  --text-3:    #9c9284;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hi); }

/* --- Logo « MD » lettré comic ------------------------------------------ */
.logo {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: 38px;
  color: var(--gold);
  -webkit-text-stroke: 2px var(--red-deep);
  text-shadow: 2px 2px 0 var(--red-deep);
  transform: skew(-6deg);
  display: inline-block;
  letter-spacing: -1px;
}
/* Logo-image : on annule le lettrage texte (skew, contour) hérité de .logo. */
.logo:has(img) { transform: none; -webkit-text-stroke: 0; text-shadow: none; }
.logo img { display: block; height: 46px; width: auto; }

/* --- En-tête ------------------------------------------------------------ */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 40px;
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 50;
}
.site-nav { display: flex; gap: 26px; }
.site-nav a {
  color: var(--cream);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.site-nav a:hover, .site-nav a.active { color: var(--gold); }

/* --- Zone BD ------------------------------------------------------------ */
.bd-main { flex: 1; padding: 30px 40px; max-width: 900px; margin: 0 auto; width: 100%; }

.bd-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.bd-date, .bd-history {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 13px;
  color: var(--cream);
}
.bd-history:hover { border-color: var(--gold); color: var(--gold); }
.bd-title-block { text-align: center; flex: 1; min-width: 220px; }
.bd-day {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 15px;
}
.bd-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(22px, 4vw, 32px);
  margin: 4px 0 0;
}
.bd-caption {
  text-align: center;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.5;
  margin: 0 auto 22px;
  max-width: 620px;
}

/* Cadre de planche : crème, bordure noire épaisse (design.md) */
.bd-frame {
  margin: 0;
  background: var(--cream);
  border: 6px solid #111;
  border-radius: 8px;
  padding: 14px;
}
.bd-frame img {
  display: block;
  width: 100%;
  height: auto;
  border: 3px solid #111;
  border-radius: 4px;
}

/* --- Boutons ------------------------------------------------------------ */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 10px;
  box-shadow: 0 5px 0 var(--gold-sh);
  font-size: 15px;
}
.btn-primary:hover { background: var(--gold-hi); color: var(--ink); }

.btn-secondary {
  background: var(--panel-2);
  border: 1px solid var(--border-2);
  color: var(--cream);
  font-weight: 800;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: 10px;
  font-size: 14px;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }
.btn-secondary.is-disabled { opacity: .35; pointer-events: none; }

.bd-pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 22px; }

/* --- Partage ------------------------------------------------------------ */
.bd-share {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  margin-top: 26px;
  text-align: center;
}
.bd-share-label {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 14px;
}
.bd-share-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.bd-share-btns a {
  background: #1e1e1e;
  border: 1px solid #333;
  border-radius: 9px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #e8e0d2;
}
.bd-share-btns a:hover { border-color: var(--gold); color: var(--gold); }
/* Bouton de partage natif (mobile) : primaire, doré */
.bd-share-native {
  font: inherit; cursor: pointer;
  background: var(--gold); color: #1a1a1a;
  border: 1px solid var(--gold); border-radius: 9px;
  padding: 10px 20px; font-size: 13px; font-weight: 800;
}
.bd-share-native:hover { filter: brightness(1.06); }
/* Quand le partage natif est dispo, on masque les liens de repli (la feuille iOS couvre tout) */
.bd-share.has-native .bd-share-btns a { display: none; }

/* --- Réactions ---------------------------------------------------------- */
.bd-reactions {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  margin-top: 26px;
  text-align: center;
}
.bd-reactions-label {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 14px;
}
.bd-reactions-btns {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.reaction-btn {
  font: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 84px;
  padding: 10px 14px;
  background: #1e1e1e;
  border: 1px solid #333;
  border-radius: 12px;
  color: #e8e0d2;
  transition: border-color .12s, background .12s, transform .08s;
}
.reaction-btn:hover { border-color: var(--gold); }
.reaction-btn:active { transform: scale(.96); }
.reaction-emoji { font-size: 24px; line-height: 1; }
.reaction-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-3);
}
.reaction-count {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-2);
  min-width: 1.4em;
}
/* Déjà réagi depuis ce navigateur : figé, doré, non recliquable. */
.reaction-btn.is-you {
  background: rgba(246, 184, 28, .14);
  border-color: var(--gold);
  cursor: default;
}
.reaction-btn.is-you .reaction-label { color: var(--gold); }
.reaction-btn.is-you .reaction-count { color: var(--gold-hi); }
/* Message éphémère (plafond de débit, erreur réseau…). */
.reaction-flash {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--text-3);
  opacity: 0;
  transition: opacity .2s;
}
.reaction-flash.show { opacity: 1; }
@media (max-width: 480px) {
  /* 2×2 net plutôt qu'un 3+1 bancal. */
  .bd-reactions-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    max-width: 320px;
    margin: 0 auto;
  }
  .reaction-btn { min-width: 0; padding: 9px 10px; }
  .reaction-emoji { font-size: 21px; }
}

/* --- Page vide ---------------------------------------------------------- */
.bd-empty { text-align: center; padding: 60px 20px; }
.bd-empty h1 { font-family: 'Fredoka', sans-serif; text-transform: uppercase; }
.bd-empty p { color: var(--text-2); margin: 14px 0 26px; }

/* --- Accueil : hero ----------------------------------------------------- */
.hero {
  position: relative;
  background: radial-gradient(circle at 70% 40%, #e0262c 0%, #a01519 55%, #5c0d10 100%);
  overflow: hidden;
  padding: 40px 40px 0;   /* pas de padding bas : le buste touche la bordure */
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-conic-gradient(from 0deg at 72% 45%,
              rgba(255,255,255,.05) 0deg 6deg, transparent 6deg 12deg);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2;
  display: flex; align-items: stretch; gap: 30px; flex-wrap: wrap;
  max-width: 1200px; margin: 0 auto;
}
.hero-text {
  flex: 0 1 380px; min-width: 280px; max-width: 460px;
  display: flex; flex-direction: column; justify-content: center;
  padding-bottom: 40px;   /* compense le padding-bas retiré du hero */
}
.hero-title {
  font-family: 'Fredoka', sans-serif; font-weight: 700; font-style: italic;
  line-height: .82; margin: 0; letter-spacing: -2px;
}
.hero-title .l1 {
  display: block; color: var(--cream);
  font-size: clamp(48px, 10vw, 88px);
  -webkit-text-stroke: 2px #2a0708; text-shadow: 4px 4px 0 #2a0708;
}
.hero-title .l2 {
  display: block; color: var(--gold);
  font-size: clamp(64px, 13vw, 120px);
  -webkit-text-stroke: 3px #2a0708; text-shadow: 5px 5px 0 #2a0708;
}
.hero-title { margin: 0 0 4px; }
.hero-title img { display: block; width: min(460px, 100%); height: auto; }
.hero-tag {
  font-weight: 800; font-size: clamp(16px, 2.4vw, 22px);
  text-transform: uppercase; letter-spacing: .5px;
  margin: 24px 0 30px; max-width: 440px; line-height: 1.35;
}
.hero-emblem {
  flex: 1 1 560px; display: flex; align-items: flex-end; justify-content: center;
  align-self: stretch;
}
/* Personnage en BUSTE (coupé à la taille), collé au bas du hero.
   ↓↓↓ LE LEVIER pour l'agrandir/réduire : max-width ↓↓↓ */
.hero-emblem img {
  width: 100%; max-width: 780px; height: auto; display: block;
  filter: drop-shadow(0 14px 20px rgba(0,0,0,.5));
}

/* --- Accueil : sections ------------------------------------------------- */
.about, .latest, .community { padding: 52px 40px; border-bottom: 1px solid #222; }
.about { background: #111; }
.about-text { max-width: 620px; margin: 0 auto; }
.about h2, .latest h2, .community h2 {
  font-family: 'Fredoka', sans-serif; font-weight: 700;
  text-transform: uppercase; color: var(--gold); margin: 0 0 18px;
}
.about p { color: var(--text-2); line-height: 1.7; }

.latest { background: var(--bg); text-align: center; }
.latest h2 { color: var(--cream); }
.latest-card {
  display: flex; gap: 30px; align-items: center; text-align: left;
  max-width: 900px; margin: 0 auto; background: var(--panel-2);
  border: 1px solid var(--border); border-radius: 16px; padding: 22px; flex-wrap: wrap;
}
.latest-img { flex: 1; min-width: 280px; }
.latest-img img {
  width: 100%; height: auto; border-radius: 10px;
  border: 4px solid #111; background: var(--cream); display: block;
}
.latest-body { flex: 1; min-width: 260px; }
.latest-day { color: var(--gold); font-weight: 800; font-size: 14px; letter-spacing: 1px; }
.latest-body h3 {
  font-family: 'Fredoka', sans-serif; text-transform: uppercase;
  font-size: 24px; margin: 8px 0 12px;
}
.latest-body p { color: var(--text-2); line-height: 1.6; margin: 0 0 20px; }
.latest-empty { color: var(--text-2); }

.community { background: linear-gradient(135deg, #e0262c, #8f1416); border-bottom: 0; }
.community h2 { color: var(--cream); text-shadow: 3px 3px 0 #4d0a0c; margin-bottom: 4px; }
.community-sub { color: #ffe9c9; font-weight: 600; margin: 0 0 26px; }
.community-layout { display: flex; gap: 40px; align-items: stretch; }
.community-main { flex: 1 1 auto; min-width: 0; }
.community-figure { flex: 0 0 auto; display: flex; align-items: flex-end; }
.community-figure img {
  width: clamp(240px, 26vw, 360px); height: auto; display: block;
  filter: drop-shadow(0 14px 22px rgba(0,0,0,.35));
}
.community-cards { display: flex; gap: 20px; flex-wrap: wrap; max-width: 760px; }
.community-card {
  flex: 1; min-width: 280px; display: flex; gap: 14px; align-items: center;
  background: rgba(0,0,0,.35); padding: 16px 20px; border-radius: 12px; color: var(--cream);
}
.community-card:hover { background: rgba(0,0,0,.5); color: var(--cream); }
.cc-icon {
  width: 46px; height: 46px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 22px; color: #fff;
}
.cc-yt { background: #ff0000; }
.cc-ig { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }
.cc-fb { background: #1877f2; }

/* Icônes de marque SVG (glyphes officiels, recolorés par le contexte). */
.social-svg { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; }
.cc-icon .social-svg { width: 24px; height: 24px; }        /* blanc (color:#fff hérité de .cc-icon) */
.socials .soc { display: inline-flex; align-items: center; gap: 7px; }
.socials .social-svg { width: 16px; height: 16px; }
.soc--yt .social-svg { color: #ff0000; }
.soc--ig .social-svg { color: #e1306c; }
.soc--fb .social-svg { color: #1877f2; }

/* --- Archive ------------------------------------------------------------ */
.archive-main { max-width: 1100px; margin: 0 auto; padding: 34px 40px; }
.archive-title {
  font-family: 'Fredoka', sans-serif; text-transform: uppercase; text-align: center; margin: 0 0 28px;
}
.archive-empty { text-align: center; color: var(--text-2); }
.archive-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.archive-card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden; color: var(--cream); display: flex; flex-direction: column;
}
.archive-card:hover { border-color: var(--gold); color: var(--cream); transform: translateY(-2px); }
.archive-thumb { background: var(--cream); aspect-ratio: 3 / 2; }
.archive-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.archive-meta { padding: 12px 14px; }
.archive-day { display: block; color: var(--gold); font-weight: 800; font-size: 12px; letter-spacing: 1px; }
.archive-name { display: block; font-weight: 600; font-size: 14px; margin-top: 2px; }

/* --- Archive : barre de filtres + pagination --------------------------- */
.arch-search { display: flex; gap: 10px; margin: 0 auto 22px; max-width: 620px; }
.arch-search input[type=search] {
  flex: 1; min-width: 0;
  background: var(--panel); border: 1px solid var(--border-2); border-radius: 10px;
  padding: 11px 14px; color: var(--cream); font: inherit;
}
.arch-search input[type=search]:focus { outline: none; border-color: var(--gold); }
.arch-search .btn-primary { flex: none; }

.arch-facet { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.arch-facet-label {
  flex: none; width: 96px;
  font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 12px;
  text-transform: uppercase; letter-spacing: .5px; color: var(--text-3);
}
.arch-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.arch-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--panel); border: 1px solid var(--border-2); border-radius: 20px;
  padding: 5px 12px; font-size: 13px; font-weight: 600; color: var(--text-2);
}
.arch-chip:hover { border-color: var(--gold); color: var(--cream); }
.arch-chip.is-on {
  background: rgba(246,184,28,.16); border-color: var(--gold); color: var(--gold-hi);
}
.arch-chip-n {
  font-size: 11px; font-weight: 700; color: var(--text-3);
  background: var(--bg); border-radius: 10px; padding: 1px 7px;
}
.arch-chip.is-on .arch-chip-n { color: var(--gold); background: rgba(0,0,0,.35); }

.arch-status {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 18px 0 20px; color: var(--text-2); font-size: 14px;
  border-top: 1px solid var(--border); padding-top: 14px;
}
.arch-reset { color: var(--text-3); font-weight: 600; }
.arch-reset:hover { color: var(--red); }

.arch-pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 30px; }
.arch-page {
  background: var(--panel); border: 1px solid var(--border-2); border-radius: 8px;
  padding: 9px 16px; font-weight: 700; font-size: 14px; color: var(--cream);
}
.arch-page:hover { border-color: var(--gold); color: var(--gold); }
.arch-page.is-off { opacity: .4; pointer-events: none; }
.arch-page-info { color: var(--text-2); font-variant-numeric: tabular-nums; }

/* --- Pages de contenu --------------------------------------------------- */
.page { max-width: 720px; margin: 0 auto; padding: 34px 40px; }
.page-content h1 {
  font-family: 'Fredoka', sans-serif; text-transform: uppercase; color: var(--gold); margin: 0 0 20px;
}
.page-content h2 { font-family: 'Fredoka', sans-serif; font-size: 20px; margin: 26px 0 8px; }
.page-content p, .page-content li { color: var(--text-2); line-height: 1.7; }
.page-content ul { padding-left: 20px; }
.page-content a { text-decoration: underline; }

/* --- Pied de page ------------------------------------------------------- */
.site-footer {
  border-top: 3px solid var(--gold);
  padding: 36px 40px 28px;
  display: flex; gap: 40px; flex-wrap: wrap;
}
.foot-col { flex: 1; min-width: 150px; display: flex; flex-direction: column; gap: 10px; }
.foot-brand { flex: 1.3; min-width: 200px; gap: 12px; }
.foot-brand .logo { font-size: 34px; }
.foot-brand p { color: var(--text-3); font-size: 13px; line-height: 1.6; margin: 0; }
.foot-col h4 {
  color: var(--cream); font-size: 14px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1px; margin: 0 0 4px;
}
.foot-col a { color: var(--text-3); font-size: 14px; }
.foot-col a:hover { color: var(--gold); }
.socials { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.socials a { color: var(--gold); font-weight: 700; }

/* La communauté passe en une colonne quand les deux ne tiennent plus. */
@media (max-width: 880px) {
  .community-layout { flex-direction: column; gap: 24px; align-items: center; }
  .community-main { width: 100%; }
  .community-figure { align-items: center; }
  .community-figure img { width: clamp(200px, 55vw, 300px); }
}

/* --- Mobile ------------------------------------------------------------- */
@media (max-width: 640px) {
  .site-header, .bd-main, .hero, .about, .latest, .community,
  .archive-main, .page, .roster-main, .site-footer { padding-left: 18px; padding-right: 18px; }
  .site-header { flex-wrap: wrap; row-gap: 6px; }
  .site-nav { gap: 12px; font-size: 12px; flex-wrap: wrap; justify-content: flex-end; }
  .site-nav a { white-space: nowrap; }
  .bd-pager { flex-direction: column; }
  .bd-pager .btn-secondary { text-align: center; }
  .hero-text { padding-bottom: 0; }
  .hero-emblem { width: 100%; }
  .hero-emblem img { max-width: 90%; margin: 0 auto; }
  .hero-title img { width: min(320px, 100%); }
  .latest-card { flex-direction: column; }
  .arch-facet { flex-direction: column; gap: 6px; }
  .arch-facet-label { width: auto; }
}

/* --- Personnages : sélection façon jeu de combat ------------------------ */
.roster-main { max-width: 1100px; margin: 0 auto; padding: 30px 40px 50px; }
.roster-title {
  font-family: 'Fredoka', sans-serif; text-transform: uppercase;
  text-align: center; color: var(--gold); margin: 0 0 26px;
}
.roster-noscript { text-align: center; color: var(--text-2); }

/* Scène : fiche du perso sélectionné */
.roster-stage {
  --accent: var(--gold);
  display: grid; grid-template-columns: minmax(240px, 360px) 1fr; gap: 26px;
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 18px; overflow: hidden; margin-bottom: 28px; min-height: 380px;
}
.stage-img {
  position: relative; display: flex; align-items: center; justify-content: center;
  padding: 20px 10px;
  background: #0a0a0a;
}
.stage-img img {
  max-height: 360px; width: auto; max-width: 100%; display: block;
  filter: drop-shadow(0 14px 18px rgba(0,0,0,.5));
}
/* Repli portrait encadré (seulement si un perso n'a pas de scène transparente) */
.stage-img img.is-face {
  align-self: center; max-height: 340px; border-radius: 16px;
  border: 2px solid color-mix(in srgb, var(--accent) 60%, #000);
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
}
.portrait-ph {
  font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 120px;
  color: var(--accent); align-self: center; opacity: .85;
}
.stage-info { padding: 26px 28px 26px 0; display: flex; flex-direction: column; }
.stage-role {
  align-self: flex-start; font-size: 12px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1px; padding: 4px 12px; border-radius: 20px; margin-bottom: 10px;
}
.role-heros   { background: #2a2410; color: var(--gold); }
.role-acolyte { background: #16240f; color: #9fe06a; }
.role-vilain  { background: #2a0e0f; color: #ff8a8a; }
.role-vilaine { background: #2a0e0f; color: #ff8a8a; }
.stage-nameline { display: flex; align-items: center; gap: 14px; }
.stage-namelogo { height: 48px; width: auto; flex: none; filter: drop-shadow(0 2px 4px rgba(0,0,0,.6)); }
.stage-name {
  font-family: 'Fredoka', sans-serif; text-transform: uppercase; line-height: 1;
  font-size: clamp(28px, 4vw, 44px); margin: 0; color: var(--cream);
  -webkit-text-stroke: 1px var(--accent);
}
.stage-tagline { color: var(--accent); font-weight: 700; font-style: italic; margin: 8px 0 18px; }
.stat-block { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; max-width: 360px; }
.stat-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stat-label { font-weight: 700; font-size: 14px; }
.stat-pips { display: flex; gap: 5px; }
.pip { width: 22px; height: 10px; border-radius: 3px; background: #2c2c2c; }
.pip.on { background: var(--accent); }
.stage-power { color: var(--text-2); font-size: 14px; margin: 0 0 10px; }
.stage-bio { color: var(--text-2); line-height: 1.6; font-size: 14px; margin: 0; }

/* Rangée de sélection des combattants */
.roster-select { display: flex; flex-direction: column; gap: 14px; }
.roster-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.fighter {
  background: transparent; border: 2px solid transparent; border-radius: 12px;
  padding: 6px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform .12s, border-color .12s, box-shadow .12s;
}
.fighter:hover { transform: translateY(-3px); }
.fighter.is-active {
  border-color: var(--gold); transform: translateY(-3px);
  box-shadow: 0 0 0 2px var(--gold), 0 6px 16px rgba(246, 184, 28, .35);
}
.fighter-portrait {
  position: relative;
  width: 84px; height: 96px; border-radius: 8px; overflow: hidden; background: transparent;
  display: flex; align-items: center; justify-content: center;
}
/* Deux images empilées : blason (défaut) + visage (survol/sélection), fondu croisé */
.fighter-portrait .th {
  position: absolute; inset: 0; width: 100%; height: 100%;
  transition: opacity .18s ease;
}
.fighter-portrait .th-logo { object-fit: contain; padding: 6px; }
.fighter-portrait .th-face { object-fit: cover; object-position: top center; opacity: 0; }
.fighter.is-active .th-face { opacity: 1; }
.fighter.is-active .th-logo { opacity: 0; }
.fighter-portrait .portrait-ph { font-size: 44px; }

@media (max-width: 700px) {
  .roster-main { padding-left: 18px; padding-right: 18px; }
  .roster-stage { grid-template-columns: 1fr; }
  .stage-img img { max-height: 300px; }
  .stage-info { padding: 4px 20px 24px; }
}
