/* ============================================================
   GWO MATOUW — « Prestige » (refonte du 17/11/2026)
   Le thème de tout le site, posé APRÈS style.css et refonte.css : mêmes classes partout, une finition haut de gamme.
   Nuit d'encre, vert émeraude, or et violet ; titres en Sora, texte en Inter ; verre fin, ombres douces,
   notre vidéo en fond (discrète) ; les Dofus qui flottent sur l'accueil.
   ============================================================ */

:root, :root[data-theme="light"] {
  --bg: #06090e;
  --bg-2: #0a0f17;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --surface-solid: #0d131c;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);

  --em: #7ee04a;           /* émeraude */
  --em-2: #b6f36a;
  --em-deep: #2f6b16;
  --gold: #f5c04a;
  --gold-2: #ffe29a;
  --violet: #8b5cf6;
  --violet-2: #c4a8ff;
  --teal: #2dd4bf;
  --red: #f87171;

  --text: #eef3f8;
  --text-dim: #aab5c4;
  --text-faint: #6f7a8c;

  /* les noms de l'ancien thème, pour les 80 pages */
  --panel: var(--surface); --panel-solid: var(--surface-solid); --border: var(--line); --border-strong: rgba(126, 224, 74, .5);
  --green: var(--em); --green-light: var(--em-2); --green-dark: var(--em-deep); --gold-light: var(--gold-2);
  --violet-light: var(--violet-2); --accent-text: var(--em-2); --accent-gold-text: var(--gold-2); --bg-soft: var(--bg-2);

  --r: 20px; --r-sm: 14px; --r-xs: 10px;
  --radius: var(--r); --radius-sm: var(--r-sm);
  --shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 20px 50px -20px rgba(0, 0, 0, .7);
  --shadow-hi: 0 1px 0 rgba(255, 255, 255, .07) inset, 0 30px 70px -24px rgba(0, 0, 0, .8), 0 0 0 1px rgba(126, 224, 74, .18);
  --f-display: 'Sora', 'Inter', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, sans-serif;
  --font-display: var(--f-display); --font-epic: var(--f-display); --font-body: var(--f-body);
  --grad-text: linear-gradient(180deg, #ffffff 0%, #e8f2ff 55%, #b9c6d6 100%);
  --grad-em: linear-gradient(135deg, #b6f36a 0%, #7ee04a 50%, #2dd4bf 100%);
  --grad-gold: linear-gradient(135deg, #ffe29a 0%, #f5c04a 55%, #e0962a 100%);
  color-scheme: dark;
}

html { background: var(--bg); }
body { font-family: var(--f-body); color: var(--text); background: transparent !important; -webkit-font-smoothing: antialiased; letter-spacing: -.005em; }
body::before { display: none !important; }
::selection { background: rgba(126, 224, 74, .35); color: #fff; }

/* ─── le fond : notre vidéo, très discrète, sous un voile et deux halos ─── */
.fond-prestige { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; background: var(--bg); }
.fond-prestige video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .16; filter: saturate(1.1) blur(1px); }
.fond-prestige .voile {
  position: absolute; inset: 0;
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(139, 92, 246, .16), transparent 60%),
    radial-gradient(900px 600px at -5% 10%, rgba(126, 224, 74, .12), transparent 60%),
    radial-gradient(1200px 800px at 50% 120%, rgba(45, 212, 191, .08), transparent 60%),
    linear-gradient(180deg, rgba(6, 9, 14, .55) 0%, rgba(6, 9, 14, .86) 45%, rgba(6, 9, 14, .97) 100%);
}
.fond-prestige .grain { position: absolute; inset: -50%; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@media (prefers-reduced-motion: reduce) { .fond-prestige video { display: none; } }

/* ─── typographie ─── */
h1, h2, h3, h4, .page-hero h1, .section-head h2 {
  font-family: var(--f-display) !important; font-weight: 700 !important; letter-spacing: -.025em !important;
  text-transform: none !important; color: var(--text) !important; background: none; -webkit-text-fill-color: currentColor;
}
h1, .page-hero h1 { background: var(--grad-text) !important; -webkit-background-clip: text !important; background-clip: text !important; -webkit-text-fill-color: transparent !important; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.15; }
h3 { font-size: 1.15rem; letter-spacing: -.01em !important; }
p { line-height: 1.65; }
.eyebrow, .section-head .eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-body); font-size: .72rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--em-2) !important;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad-em); }
.accent, .scintille { background: var(--grad-em); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
a { color: var(--em-2); text-decoration: none; transition: color .15s; }
a:hover { color: #fff; }
code, kbd { font-family: 'JetBrains Mono', Consolas, monospace; background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: .85em; }

/* ─── l'en-tête ─── */
.site-header, :root[data-theme="light"] .site-header {
  position: sticky; top: 12px; z-index: 50; margin: 12px auto 0; max-width: 1280px; width: calc(100% - 24px);
  background: rgba(10, 14, 21, .72) !important; border: 1px solid var(--line) !important; border-radius: 18px !important;
  backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, .6) !important;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin-right: 10px; }
.brand img { height: 34px; width: auto; filter: drop-shadow(0 4px 14px rgba(126, 224, 74, .25)); }
.brand-px, .brand-nom { font-family: var(--f-display); font-weight: 800; font-size: 1.02rem; letter-spacing: -.02em; color: #fff; white-space: nowrap; }
.brand-nom b { background: var(--grad-em); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nav-top, .main-nav > a {
  font-family: var(--f-body) !important; font-weight: 600 !important; font-size: .9rem !important; color: var(--text-dim) !important;
  padding: 8px 13px !important; border-radius: 11px !important; background: transparent !important; box-shadow: none !important; transition: color .15s, background .15s;
}
.nav-top i { font-style: normal; opacity: .55; font-size: .7em; }
.nav-top:hover, .nav-dropdown:hover .nav-top, .main-nav > a:hover,
:root[data-theme="light"] .nav-top:hover, :root[data-theme="light"] .nav-dropdown:hover .nav-top { color: #fff !important; background: var(--surface-2) !important; }
.nav-top.active, .main-nav > a.active { color: #fff !important; background: rgba(126, 224, 74, .12) !important; }
.dropdown-panel__card, :root[data-theme="light"] .dropdown-panel__card {
  background: rgba(12, 17, 25, .97) !important; border: 1px solid var(--line-2) !important; border-radius: 16px !important;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .85) !important; padding: 8px !important; backdrop-filter: blur(20px);
}
.dropdown-panel a { color: var(--text-dim) !important; border-radius: 10px !important; padding: 9px 12px !important; font-size: .9rem; }
.dropdown-panel a:hover { color: #fff !important; background: var(--surface-2) !important; }
.theme-toggle { display: none !important; }
.site-header .cherche-btn { border-radius: 11px !important; background: var(--surface) !important; border: 1px solid var(--line) !important; color: var(--text-dim) !important; }
.site-header .cherche-btn .libelle { display: none; }
@media (max-width: 1380px) { .brand-nom, .brand-px { display: none; } .site-header .btn-pass { display: none !important; } }
@media (max-width: 1200px) { .nav-top, .main-nav > a { padding: 8px 9px !important; font-size: .86rem !important; } }

/* ─── boutons ─── */
.btn {
  font-family: var(--f-body) !important; font-weight: 700 !important; letter-spacing: -.005em; border-radius: 12px !important;
  padding: 12px 20px; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, filter .2s ease !important;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--gold, .btn--violet, .btn-primaire {
  background: var(--grad-em) !important; color: #071a0c !important; border: 0 !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .4) inset, 0 12px 30px -10px rgba(126, 224, 74, .6) !important;
}
.btn--gold:hover, .btn--violet:hover, .btn-primaire:hover { filter: brightness(1.07); box-shadow: 0 1px 0 rgba(255, 255, 255, .4) inset, 0 18px 40px -12px rgba(45, 212, 191, .6) !important; }
.btn-or { background: var(--grad-gold) !important; color: #2a1800 !important; border: 0 !important; box-shadow: 0 12px 30px -10px rgba(245, 192, 74, .55) !important; }
.btn--ghost, :root[data-theme="light"] .btn--ghost {
  background: var(--surface) !important; color: #fff !important; border: 1px solid var(--line-2) !important; box-shadow: none !important;
}
.btn--ghost:hover { background: var(--surface-2) !important; border-color: rgba(255, 255, 255, .24) !important; }
.btn--danger { background: rgba(248, 113, 113, .12) !important; color: #fecaca !important; border: 1px solid rgba(248, 113, 113, .35) !important; }
.btn--sm { padding: 8px 14px !important; font-size: .85rem !important; }
.btn-pass { background: linear-gradient(135deg, #8b5cf6, #c4a8ff) !important; color: #fff !important; border: 0 !important; border-radius: 12px !important; }

/* ─── cartes ─── */
.card, .class-card, .faq-item, .changelog-entry, .admin-tool-card, .compteur, .bento > *, .news-card, .activity-item, .char-row, .rank-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)) !important;
  border: 1px solid var(--line) !important; border-radius: var(--r) !important; box-shadow: var(--shadow) !important;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
a.card:hover, .class-card:hover, .bento > *:hover, .news-card:hover, a.char-row:hover, .admin-tool-card:hover {
  border-color: rgba(126, 224, 74, .32) !important; box-shadow: var(--shadow-hi) !important; transform: translateY(-2px);
}
.card, .class-card, .bento > *, .news-card, .char-row, .admin-tool-card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.badge, .class-pill, .lang-tag, .pill {
  display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 600; letter-spacing: .01em; padding: 4px 10px;
  background: rgba(126, 224, 74, .1) !important; color: var(--em-2) !important; border: 1px solid rgba(126, 224, 74, .28) !important; border-radius: 999px !important;
}
.pill.or { background: rgba(245, 192, 74, .1) !important; color: var(--gold-2) !important; border-color: rgba(245, 192, 74, .3) !important; }
.pill.violet { background: rgba(139, 92, 246, .12) !important; color: var(--violet-2) !important; border-color: rgba(139, 92, 246, .32) !important; }
.pill.gris { background: var(--surface-2) !important; color: var(--text-dim) !important; border-color: var(--line) !important; }

.page-hero { background: transparent !important; border: 0 !important; padding: 72px 0 26px !important; }
.page-hero::after { display: none !important; }
.page-hero p { color: var(--text-dim); font-size: 1.05rem; }
.section--bg::before { background: linear-gradient(180deg, rgba(6, 9, 14, .78), rgba(6, 9, 14, .92)) !important; }
.alert { border-radius: 12px !important; }
.alert--success { background: rgba(126, 224, 74, .09) !important; border: 1px solid rgba(126, 224, 74, .3) !important; color: #dcfcc5 !important; }
.alert--error { background: rgba(248, 113, 113, .09) !important; border: 1px solid rgba(248, 113, 113, .3) !important; color: #fecaca !important; }

/* tableaux et formulaires */
table { border-collapse: separate !important; border-spacing: 0; width: 100%; }
th { font-size: .72rem !important; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint) !important; text-align: left; padding: 10px 12px !important; }
td { padding: 11px 12px !important; border-top: 1px solid var(--line) !important; }
tr:hover td { background: rgba(255, 255, 255, .02); }
.form-group label, label.champ { display: block; font-size: .82rem; font-weight: 600; color: var(--text-dim); margin-bottom: 6px; }
input[type=text], input[type=search], input[type=password], input[type=email], input[type=number], textarea, select, .form-group input, .form-group textarea, .form-group select {
  width: 100%; background: rgba(255, 255, 255, .035) !important; border: 1px solid var(--line-2) !important; color: var(--text) !important;
  border-radius: 12px !important; padding: 11px 14px !important; font: inherit; transition: border-color .15s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: rgba(126, 224, 74, .6) !important; box-shadow: 0 0 0 4px rgba(126, 224, 74, .12) !important; }

/* le bandeau défilant */
.ruban { background: rgba(10, 14, 21, .7) !important; border-top: 1px solid var(--line) !important; border-bottom: 1px solid var(--line) !important; backdrop-filter: blur(10px); }
.ruban-item { font-size: .86rem; color: var(--text-dim); font-family: var(--f-body); letter-spacing: 0; text-transform: none; }
.ruban-item b { color: #fff; font-weight: 600; }
.ruban-item i { color: var(--em); font-style: normal; }

/* pied de page */
.site-footer, footer.site-footer { background: rgba(6, 9, 14, .85) !important; border-top: 1px solid var(--line) !important; }
.footer-col h4 { font-family: var(--f-body) !important; font-size: .74rem !important; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-faint) !important; }
.footer-col a { color: var(--text-dim) !important; }
.footer-col a:hover { color: #fff !important; }

/* ═══ L'ACCUEIL ═══ */
.pr-hero { position: relative; padding: 90px 0 70px; }
.pr-hero .container { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.pr-statut { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); font-size: .85rem; color: var(--text-dim); margin-bottom: 26px; }
.pr-statut .point { width: 8px; height: 8px; border-radius: 50%; background: var(--em); box-shadow: 0 0 0 4px rgba(126, 224, 74, .18); animation: pr-pouls 2s ease-in-out infinite; }
.pr-statut .point.off { background: var(--red); box-shadow: 0 0 0 4px rgba(248, 113, 113, .18); animation: none; }
.pr-statut b { color: #fff; font-weight: 600; }
@keyframes pr-pouls { 50% { box-shadow: 0 0 0 7px rgba(126, 224, 74, .05); } }
.pr-titre { font-size: clamp(2.8rem, 6.2vw, 5.2rem) !important; line-height: .98 !important; letter-spacing: -.045em !important; margin: 0 0 22px; }
.pr-titre .accent { display: block; }
.pr-sous { font-size: 1.18rem; color: var(--text-dim); max-width: 32em; margin: 0 0 32px; }
.pr-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pr-actions .btn { padding: 15px 26px !important; font-size: 1rem !important; }
.pr-chiffres { display: flex; gap: 34px; flex-wrap: wrap; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); }
.pr-chiffres strong { display: block; font-family: var(--f-display); font-size: 1.7rem; font-weight: 700; letter-spacing: -.03em; color: #fff; }
.pr-chiffres span { font-size: .82rem; color: var(--text-faint); }

/* les Dofus qui flottent */
.holo { position: relative; aspect-ratio: 1 / 1; max-width: 470px; width: 100%; margin: 0 auto; }
.holo::before { content: ""; position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(126, 224, 74, .22), rgba(45, 212, 191, .08) 60%, transparent 72%); filter: blur(10px); }
.holo-anneau { position: absolute; left: 50%; top: 54%; border-radius: 50%; border: 1px solid rgba(126, 224, 74, .45); transform: translate(-50%, -50%) rotateX(74deg); box-shadow: 0 0 30px rgba(126, 224, 74, .25), inset 0 0 30px rgba(126, 224, 74, .15); }
.holo-anneau.a1 { width: 88%; height: 88%; animation: pr-tourne 14s linear infinite; }
.holo-anneau.a2 { width: 66%; height: 66%; border-color: rgba(196, 168, 255, .45); box-shadow: 0 0 30px rgba(139, 92, 246, .25); animation: pr-tourne 9s linear infinite reverse; }
@keyframes pr-tourne { to { transform: translate(-50%, -50%) rotateX(74deg) rotateZ(360deg); } }
.holo-objet { position: absolute; inset: 24%; display: grid; place-items: center; animation: pr-flotte 5s ease-in-out infinite; }
.holo-objet img { width: 100%; height: 100%; max-width: 220px; max-height: 220px; object-fit: contain; image-rendering: auto; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .5)) drop-shadow(0 0 40px rgba(126, 224, 74, .35)); transition: opacity .4s ease, transform .4s ease; }
@keyframes pr-flotte { 50% { transform: translateY(-16px) rotate(-2deg); } }
.holo-socle { position: absolute; left: 50%; bottom: 8%; width: 44%; height: 16px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(45, 212, 191, .55), transparent); filter: blur(5px); animation: pr-socle 5s ease-in-out infinite; }
@keyframes pr-socle { 50% { transform: translateX(-50%) scale(.82); opacity: .7; } }
.holo-nom { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); font-size: .8rem; color: var(--text-faint); white-space: nowrap; }
.holo-nom b { color: var(--gold-2); font-weight: 600; }
@media (max-width: 960px) { .pr-hero .container { grid-template-columns: 1fr; } .holo { max-width: 300px; } .pr-hero { padding-top: 50px; } }

/* l'appel final */
.pr-appel { position: relative; overflow: hidden; text-align: center; padding: 64px 28px; border-radius: 28px; border: 1px solid var(--line-2);
  background: radial-gradient(600px 300px at 50% 0%, rgba(126, 224, 74, .16), transparent 70%), linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); box-shadow: var(--shadow); }
.pr-appel p { color: var(--text-dim); max-width: 36em; margin: 12px auto 26px; }

/* ═══ LES ESPACES (Mon compte, vote, administration) ═══ */
.esp { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
.esp-menu { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 4px; padding: 10px; border-radius: var(--r); background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)); border: 1px solid var(--line); }
.esp-menu .moi { display: flex; align-items: center; gap: 12px; padding: 12px 10px 16px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.esp-menu .avatar { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; color: #071a0c; background: var(--grad-em); font-size: 1.2rem; flex-shrink: 0; }
.esp-menu .moi strong { display: block; color: #fff; font-size: .98rem; }
.esp-menu .moi span { font-size: .78rem; color: var(--text-faint); }
.esp-menu button, .esp-menu a.lien { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 11px; color: var(--text-dim); font-weight: 600; font-size: .9rem; cursor: pointer; transition: background .15s, color .15s; }
.esp-menu button:hover, .esp-menu a.lien:hover { background: var(--surface-2); color: #fff; }
.esp-menu button.actif { background: rgba(126, 224, 74, .12); color: #fff; box-shadow: inset 2px 0 0 var(--em); }
.esp-menu .ico { width: 22px; text-align: center; opacity: .9; }
.esp-menu .compte-nb { margin-left: auto; font-size: .72rem; padding: 2px 8px; border-radius: 999px; background: rgba(245, 192, 74, .14); color: var(--gold-2); }
.esp-panneau { display: none; animation: pr-entre .25s ease; }
.esp-panneau.actif { display: block; }
@keyframes pr-entre { from { opacity: 0; transform: translateY(6px); } }
.esp-titre { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 18px; flex-wrap: wrap; }
.esp-titre h2 { margin: 0; font-size: 1.6rem; }
.esp-titre p { margin: 4px 0 0; color: var(--text-dim); }
.grille { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .esp { grid-template-columns: 1fr; } .esp-menu { position: static; flex-direction: row; flex-wrap: wrap; } .esp-menu .moi { width: 100%; } .esp-menu button { width: auto; } .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.tuile { padding: 18px 20px; }
.tuile .lib { font-size: .78rem; color: var(--text-faint); font-weight: 600; }
.tuile .val { font-family: var(--f-display); font-size: 1.75rem; font-weight: 700; letter-spacing: -.03em; color: #fff; margin-top: 4px; }
.tuile .sous { font-size: .8rem; color: var(--text-dim); margin-top: 2px; }
.tuile .ico { float: right; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 1.1rem; background: var(--surface-2); border: 1px solid var(--line); }
.tuile.em .val { background: var(--grad-em); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.tuile.or .val { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.bloc { padding: 22px 24px; }
.bloc h3 { margin: 0 0 4px; }
.bloc > p.aide { margin: 0 0 16px; color: var(--text-dim); font-size: .9rem; }
.jauge { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.jauge > i { display: block; height: 100%; border-radius: 999px; background: var(--grad-em); box-shadow: 0 0 14px rgba(126, 224, 74, .5); }
.jauge.or > i { background: var(--grad-gold); box-shadow: 0 0 14px rgba(245, 192, 74, .5); }
.ligne-x { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.ligne-x:first-of-type { border-top: 0; }
.ligne-x .g { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ligne-x small { color: var(--text-faint); }
.perso { display: flex; gap: 14px; align-items: center; padding: 16px; }
.perso .rune { width: 52px !important; height: 52px !important; margin: 0 !important; flex-shrink: 0; }
.perso .infos { min-width: 0; flex: 1; }
.perso .infos strong { color: #fff; font-size: 1.02rem; }
.perso .infos .meta { font-size: .82rem; color: var(--text-dim); margin: 2px 0 8px; }
.perso .actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.chrono { display: flex; flex-direction: column; gap: 0; }
.chrono .evt { position: relative; padding: 0 0 18px 26px; }
.chrono .evt::before { content: ""; position: absolute; left: 6px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--em); box-shadow: 0 0 0 4px rgba(126, 224, 74, .15); }
.chrono .evt::after { content: ""; position: absolute; left: 10px; top: 18px; bottom: 0; width: 1px; background: var(--line-2); }
.chrono .evt:last-child::after { display: none; }
.chrono .evt b { color: #fff; }
.chrono .evt small { display: block; color: var(--text-faint); margin-top: 2px; }
.etapes { counter-reset: e; display: grid; gap: 12px; }
.etape { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; }
.etape::before { counter-increment: e; content: counter(e); flex-shrink: 0; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; color: #071a0c; background: var(--grad-em); }
.etape.fait::before { content: "✓"; }
.etape strong { color: #fff; }
.etape p { margin: 2px 0 0; color: var(--text-dim); font-size: .9rem; }
.histo { display: flex; align-items: flex-end; gap: 4px; height: 90px; }
.histo i { flex: 1; min-width: 4px; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, #b6f36a, rgba(126, 224, 74, .25)); opacity: .9; }
.histo i.vide { background: rgba(255, 255, 255, .06); }
.copie { display: flex; gap: 8px; }
.copie input { flex: 1; }
.vide-etat { text-align: center; padding: 34px 20px; color: var(--text-dim); }
.vide-etat .gros { font-size: 2rem; margin-bottom: 6px; }
.site-header .cherche-btn kbd { display: none; }
@media (max-width: 1520px) { .site-header .btn-pass { display: none !important; } }

/* (17/11) les aperçus des personnages (outil « Apercus du site ») à la place des emblèmes de classe */
.rune:has(> img.apercu) { overflow: hidden; background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--rune-a, #7ee04a) 45%, #0b111a), #0b111a 75%) !important; border: 1px solid color-mix(in srgb, var(--rune-a, #7ee04a) 55%, transparent); }
.rune > img.apercu { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; transform: scale(1.35); transform-origin: 50% 20%; filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)); }
.fiche-apercu { position: relative; width: 190px; height: 240px; margin: 0 auto 10px; display: grid; place-items: end center; }
.fiche-apercu::before { content: ""; position: absolute; left: 50%; bottom: 6px; width: 170px; height: 46px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--ca, #7ee04a) 55%, transparent), transparent); filter: blur(4px); }
.fiche-apercu img { position: relative; max-height: 240px; max-width: 190px; object-fit: contain; filter: drop-shadow(0 12px 18px rgba(0,0,0,.55)); animation: pr-flotte 5s ease-in-out infinite; }
.class-pill .rune:has(> img.apercu) { width: 32px !important; height: 32px !important; }
