html { scroll-behavior: smooth; }
:root,
:root[data-bs-theme="dark"] {
  --vp-font-title: "Arial Black", Arial, Helvetica, sans-serif;
}
h1, h2, h3, h4, .vp-title, .vp-hero-title {
  font-family: var(--vp-font-title);
  font-weight: 900;
}
.vp-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 420px;
}
.vp-hw,
.vp-noel-scene { z-index: 2; }
.vp-hero-grid,
.vp-scroll-hint,
.vp-home-content,
.vp-page,
.vp-footer { position: relative; z-index: 3; }
.vp-page { padding-top: 104px; }
.vp-hero { padding-top: 108px; }
.vp-header {
  z-index: 20;
  top: 8px;
  padding: 0 32px;
  transition: transform 0.42s cubic-bezier(.22, 1, .36, 1);
}
.vp-header:has(.is-scrolled) { transform: translateY(-4px); }
.vp-nav-shell {
  max-width: min(1080px, 100%);
  overflow: visible;
  gap: 10px;
  padding: 8px 16px 10px 18px !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    padding 0.42s cubic-bezier(.22, 1, .36, 1),
    box-shadow 0.42s cubic-bezier(.22, 1, .36, 1),
    background 0.42s ease,
    border-radius 0.42s cubic-bezier(.22, 1, .36, 1),
    gap 0.42s cubic-bezier(.22, 1, .36, 1);
}
.vp-brand,
.vp-brand-logo,
.vp-links .nav-link,
.vp-icon-btn,
.vp-user,
.vp-user img,
.vp-paws-btn .vp-paws-ico {
  transition:
    width 0.42s cubic-bezier(.22, 1, .36, 1),
    height 0.42s cubic-bezier(.22, 1, .36, 1),
    padding 0.42s cubic-bezier(.22, 1, .36, 1),
    font-size 0.42s cubic-bezier(.22, 1, .36, 1),
    border-radius 0.42s cubic-bezier(.22, 1, .36, 1),
    gap 0.42s cubic-bezier(.22, 1, .36, 1);
}
.vp-nav.is-scrolled .vp-nav-shell {
  padding: 6px 14px 8px 14px !important;
  gap: 8px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--vp-glass) 72%, var(--vp-surface) 28%);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--vp-ink) 10%, transparent);
}
.vp-brand { font-size: 1.12rem; gap: 8px; }
.vp-brand-logo { width: 36px; height: 36px; }
.vp-nav.is-scrolled .vp-brand { font-size: 1rem; gap: 7px; }
.vp-nav.is-scrolled .vp-brand-logo { width: 30px; height: 30px; }
.vp-links { padding: 2px; border-radius: 12px; }
.vp-links .nav-link {
  padding: .38rem .82rem !important;
  font-size: .9rem;
  border-radius: 10px;
}
.vp-nav.is-scrolled .vp-links .nav-link {
  padding: .28rem .7rem !important;
  font-size: .86rem;
}
.vp-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 11px;
}
.vp-nav.is-scrolled .vp-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}
.vp-actions .vp-btn {
  margin: 1px 2px 2px 0;
  box-shadow: 0 3px 0 var(--vp-green-dark);
}
.vp-user {
  box-sizing: border-box;
  height: 36px;
  padding: 0 10px 0 4px;
  gap: 6px;
  border-radius: 11px;
  font-size: .82rem;
  line-height: 1;
}
.vp-user img { width: 28px; height: 28px; border-radius: 8px; }
.vp-user.dropdown-toggle::after { margin-left: .4em; vertical-align: 0; }
.vp-nav.is-scrolled .vp-user { height: 32px; padding: 0 8px 0 3px; font-size: .78rem; }
.vp-nav.is-scrolled .vp-user img { width: 24px; height: 24px; }
.vp-brand,
.vp-actions,
.vp-actions .vp-btn,
.vp-user { flex-shrink: 0; }
.vp-actions {
  margin-left: auto;
  align-items: center;
  gap: 8px;
}
.vp-nav.is-scrolled .vp-actions { gap: 6px; }
.vp-paws-btn .vp-paws-ico { width: 1.05rem; height: 1.05rem; }
.vp-nav.is-scrolled .vp-paws-btn .vp-paws-ico { width: .88rem; height: .88rem; }
.vp-nav .navbar-collapse {
  min-width: 0;
  align-items: center;
  gap: 12px;
}
@media (min-width: 992px) {
  .vp-nav .navbar-collapse {
    display: flex !important;
  }
}
.vp-links {
  min-width: 0;
  padding: 3px;
  border: 1px solid color-mix(in srgb, var(--vp-line) 80%, transparent);
  border-radius: 14px;
  background: color-mix(in srgb, var(--vp-ink) 6%, transparent);
}
.vp-links .nav-link {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.vp-links .nav-link::after { display: none; }
.vp-links .nav-link .bi {
  font-size: .92em;
  color: var(--vp-orange);
  transition: color .2s;
}
.vp-links .nav-link:hover { background: color-mix(in srgb, var(--vp-surface-2) 88%, transparent); }
.vp-links .nav-link.active {
  background: color-mix(in srgb, var(--vp-green) 16%, var(--vp-surface));
  color: var(--vp-green);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--vp-green) 38%, transparent);
}
.vp-links .nav-link.active .bi { color: inherit; }

.vp-paws-btn {
  position: relative;
  color: var(--vp-ink);
  overflow: visible;
  margin-right: 6px;
}
.vp-paws-btn .vp-paws-ico {
  width: 1.28rem;
  height: 1.28rem;
  fill: currentColor;
}
.vp-paws-badge {
  position: absolute;
  top: -8px;
  right: -9px;
  min-width: 22px;
  padding: 1px 6px;
  border-radius: 999px;
  background: #0c1724;
  color: #a8e0f8;
  font-size: .68rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  box-shadow: 0 0 0 2px var(--vp-orange);
}
.vp-paws-ico { fill: currentColor; }

.vp-tools { display: flex; align-items: center; gap: 10px; overflow: visible; }
.vp-tools .vp-icon-btn { flex-shrink: 0; }
.vp-tools .vp-icon-btn.is-active { color: var(--vp-orange); border-color: var(--vp-orange); }
.vp-tools .bi-shield-fill-exclamation { font-size: 1.28rem; }

/* Menu du pseudo : s'ouvre au survol ou au focus clavier, sans clic. */
.vp-user-menu { position: relative; }
.vp-user-menu .vp-user { cursor: default; }
.vp-user-menu .dropdown-menu {
  top: 100%;
  right: 0;
  left: auto;
  min-width: 180px;
  margin-top: 8px;
}
.vp-user-menu .dropdown-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 12px;
}
.vp-user-menu:hover .dropdown-menu,
.vp-user-menu:focus-within .dropdown-menu { display: block; }
.vp-user-menu:hover .vp-user,
.vp-user-menu:focus-within .vp-user { border-color: var(--vp-green); }

.vp-announce {
  position: relative;
  z-index: 4;
  margin: 78px 16px -52px;
}
.vp-announce .container {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 1120px;
  padding: 11px 16px;
  border: 1px solid var(--vp-orange);
  border-radius: 14px;
  background: var(--vp-surface);
  box-shadow: var(--vp-shadow);
  color: var(--vp-ink);
  font-weight: 700;
  font-size: .92rem;
}
.vp-announce .bi { flex: 0 0 auto; color: var(--vp-orange); font-size: 1.05rem; }
.vp-announce-warning .container { border-color: #d9534f; background: color-mix(in srgb, #d9534f 14%, var(--vp-surface)); }
.vp-announce-warning .bi { color: #e5534b; }

.vp-footer-legal { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.vp-footer-legal a { color: inherit; text-decoration: none; font-weight: 700; }
.vp-footer-legal a:hover { color: var(--vp-orange); }
.vp-footer-admin {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border: 1px solid var(--vp-line);
  border-radius: 8px;
  font-size: .78rem;
}
.vp-footer-admin:hover { border-color: var(--vp-orange); }

@media (max-width: 991.98px) {
  .vp-nav-shell { max-width: 100%; }
  .vp-nav .navbar-collapse.show,
  .vp-nav .navbar-collapse.collapsing {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 4px 2px 2px;
  }
  .vp-links {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin: 0;
    padding: 5px;
  }
  .vp-links .nav-link {
    width: 100%;
    justify-content: flex-start;
    padding: 11px 12px !important;
  }
  .vp-actions {
    width: 100%;
    justify-content: space-between;
    padding: 6px 4px 4px;
    margin: 0;
    border-top: 1px dashed var(--vp-line);
  }
  .vp-user-menu .dropdown-menu { right: auto; left: 0; }
  .vp-icon-btn { width: 38px; height: 38px; }
  .vp-nav.is-scrolled .vp-icon-btn { width: 32px; height: 32px; }
  .vp-user { height: 38px; }
  .vp-user img { width: 30px; height: 30px; }
  .vp-nav.is-scrolled .vp-user { height: 32px; }
}

.vp-halloween .vp-hero-bg {
  filter: none;
  background-image: url("/public/spawn2-dark.jpg?v=2");
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .vp-header,
  .vp-nav-shell,
  .vp-brand,
  .vp-brand-logo,
  .vp-links .nav-link,
  .vp-icon-btn,
  .vp-user,
  .vp-user img {
    transition: none;
  }
}


/* ======= NAVBAR METAMORPHOSE v2 — barre de commande Aurora ======= */
.vp-header { top: 0; padding: 0; transition: box-shadow .42s var(--vp-ease), background .42s ease; }
.vp-header:has(.is-scrolled) { transform: none; }
.vp-header::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 3;
  pointer-events: none;
  background: linear-gradient(90deg, var(--vp-green), var(--vp-orange), var(--vp-gold), var(--vp-orange), var(--vp-green));
  background-size: 300% 100%; animation: vp-aurora-scan 14s linear infinite; opacity: .95;
}
html[data-bs-theme="light"] .vp-header::before { opacity: .7; }
@keyframes vp-aurora-scan { 0% { background-position: 0% 0; } 100% { background-position: 300% 0; } }

.vp-nav .vp-nav-shell {
  max-width: 1220px; margin: 0 auto; gap: 18px;
  padding: 8px 24px 10px !important;
  border: 0; border-bottom: 1px solid color-mix(in srgb, var(--vp-line-strong) 45%, transparent);
  border-radius: 0;
  background: color-mix(in srgb, var(--vp-glass) 62%, var(--vp-surface) 38%);
  box-shadow: 0 12px 30px -22px rgba(0, 0, 0, .5);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  transition: padding .42s var(--vp-ease), box-shadow .42s var(--vp-ease), background .42s ease, gap .42s var(--vp-ease);
}
.vp-nav.is-scrolled .vp-nav-shell {
  padding: 4px 24px 6px !important; gap: 14px;
  background: color-mix(in srgb, var(--vp-surface) 82%, var(--vp-green-soft) 18%);
  box-shadow: 0 14px 34px -18px color-mix(in srgb, var(--vp-green) 45%, transparent);
}

.vp-brand { font-family: var(--vp-font-title); font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; font-size: 1.06rem; gap: 10px; color: var(--vp-ink); }
.vp-brand-logo { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 0 0 2px var(--vp-green-soft), 0 0 18px color-mix(in srgb, var(--vp-green) 45%, transparent); }
.vp-nav.is-scrolled .vp-brand-logo { width: 32px; height: 32px; }
.vp-nav.is-scrolled .vp-brand { font-size: .96rem; letter-spacing: 1px; }

.vp-nav .navbar-collapse { flex: 1; justify-content: center; gap: 12px; }
.vp-links { border: 0; background: transparent; padding: 0; gap: 2px; justify-content: center; }
.vp-links .nav-link {
  position: relative; padding: 10px 16px !important; border-radius: 0; background: transparent;
  color: var(--vp-ink-soft); font-weight: 700; font-size: .94rem; letter-spacing: .2px;
  white-space: nowrap; gap: 7px; transition: color .22s;
}
.vp-links .nav-link .bi { color: var(--vp-orange); margin-right: 2px; transition: color .22s; }
.vp-links .nav-link::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; height: 3px; width: 0;
  border-radius: 3px; transform: translateX(-50%);
  background: linear-gradient(90deg, var(--vp-green), var(--vp-orange));
  box-shadow: 0 0 12px color-mix(in srgb, var(--vp-green) 70%, transparent);
  transition: width .28s var(--vp-ease);
}
.vp-links .nav-link:hover { color: var(--vp-ink); background: transparent; }
.vp-links .nav-link:hover::after, .vp-links .nav-link.active::after { width: 74%; }
.vp-links .nav-link.active { color: var(--vp-green); background: transparent; box-shadow: none; }
.vp-links .nav-link.active .bi { color: inherit; }

.vp-actions { margin-left: auto; gap: 8px; flex: none; justify-content: flex-end; }
.vp-tools { gap: 6px; }
.vp-icon-btn {
  width: 38px; height: 38px; border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--vp-line-strong) 60%, transparent);
  background: color-mix(in srgb, var(--vp-surface) 55%, transparent);
  color: var(--vp-ink-soft);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: border-color .2s, color .2s, transform .15s var(--vp-ease), background .2s;
}
.vp-icon-btn:hover { border-color: var(--vp-green); color: var(--vp-green); transform: translateY(-1px); }
.vp-icon-btn.is-active { color: var(--vp-orange); border-color: var(--vp-orange); background: var(--vp-orange-soft); }
.vp-user { height: 38px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--vp-line-strong) 60%, transparent); background: color-mix(in srgb, var(--vp-surface) 55%, transparent); }
.vp-user img { width: 26px; height: 26px; border-radius: 8px; }

.vp-burger { margin-left: auto; }
.vp-burger span { background: var(--vp-ink); box-shadow: 0 1px 0 color-mix(in srgb, var(--vp-green) 40%, transparent); }

@media (max-width: 991.98px) {
  .vp-nav .vp-nav-shell { flex-wrap: wrap; padding: 6px 16px 8px !important; }
  .vp-nav .navbar-collapse { flex: 1 0 100%; order: 3; justify-content: stretch; background: color-mix(in srgb, var(--vp-surface) 90%, transparent); border: 1px solid var(--vp-line); border-radius: 14px; margin-top: 8px; padding: 8px; }
  .vp-links { width: 100%; flex-direction: column; align-items: stretch; gap: 2px; }
  .vp-links .nav-link { justify-content: flex-start; padding: 11px 12px !important; }
  .vp-links .nav-link::after { display: none; }
  .vp-actions { width: 100%; order: 2; justify-content: space-between; border: 0; padding: 2px 0 0; margin-left: auto; }
  .vp-burger { order: 1; }
  .vp-user-menu .dropdown-menu { left: 0; right: auto; }
}


/* ============================================================
   NAV v4 — RAIL GAUCHE + DOCK MOBILE
   Icônes calées, labels au survol, page active lisible.
   ============================================================ */
.vp-header {
  position: fixed;
  top: 14px;
  left: 14px;
  right: auto;
  bottom: 14px;
  width: 88px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  padding: 12px 7px;
  border: 1px solid color-mix(in srgb, var(--vp-green) 26%, transparent);
  border-radius: 22px;
  background: rgba(6, 9, 16, .58);
  -webkit-backdrop-filter: blur(24px) saturate(1.45);
  backdrop-filter: blur(24px) saturate(1.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .07),
    0 12px 32px rgba(0, 0, 0, .22);
  z-index: 40;
  overflow: hidden;
  isolation: isolate;
  transition:
    width .3s var(--vp-ease),
    border-color .24s ease,
    box-shadow .24s ease;
}
html:not([data-bs-theme="dark"]) .vp-header {
  background: rgba(6, 9, 16, .58);
  border-color: color-mix(in srgb, var(--vp-green) 26%, transparent);
}
.vp-header::before { display: none; }
.vp-header > nav { display: contents; }
.vp-header:hover,
.vp-header:focus-within {
  width: 252px;
  overflow: visible;
  border-color: color-mix(in srgb, var(--vp-green) 42%, transparent);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .1),
    0 16px 40px rgba(0, 0, 0, .26);
}

.vp-blobs {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.vp-blobs i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  display: block;
  opacity: .22;
  animation: vp-drift var(--t) ease-in-out infinite;
  animation-delay: var(--d);
}
.vp-blobs .is-dot { border-radius: 50%; background: var(--vp-green); }
.vp-blobs .is-sq { border-radius: 4px; background: var(--vp-orange); }
.vp-blobs .is-ring {
  border-radius: 50%;
  border: 2px solid var(--vp-green);
  background: transparent;
  box-sizing: border-box;
}
.vp-blobs .is-dia {
  border-radius: 3px;
  background: color-mix(in srgb, var(--vp-orange) 70%, #fff);
  transform: rotate(45deg);
}
@keyframes vp-drift {
  0%, 100% { translate: 0 0; }
  35% { translate: 16px -22px; }
  70% { translate: -12px 14px; }
}
html:not([data-bs-theme="dark"]) .vp-blobs i { opacity: .16; }
@media (prefers-reduced-motion: reduce) {
  .vp-blobs i { animation: none; }
}

.vp-header .vp-label {
  display: inline-block;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  line-height: 1.2;
  height: auto;
  pointer-events: none;
  transition: max-width .3s var(--vp-ease), opacity .18s ease;
}
.vp-header:hover .vp-label,
.vp-header:focus-within .vp-label {
  max-width: 168px;
  opacity: 1;
}

/* Colonne icône = largeur repliée : les pictos restent pile au même endroit */
.vp-header .vp-brand-badge,
.vp-links .nav-link i.bi,
.vp-links .nav-link .vp-paws-ico,
.vp-links .nav-link .vp-wheel-ico,
.vp-header .vp-icon-btn > i,
.vp-header .vp-icon-btn > .vp-paws-ico,
.vp-header .vp-account .vp-btn > i {
  flex: 0 0 74px;
  width: 74px;
  box-sizing: border-box;
}

/* brand */
.vp-header .vp-brand {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 4px 0 8px;
  color: var(--vp-ink);
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
}
.vp-brand-badge { display: grid; place-items: center; }
.vp-header .vp-brand-logo {
  width: 40px; height: 40px;
  border-radius: 12px;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--vp-green) 55%, transparent), 0 0 18px color-mix(in srgb, var(--vp-green) 40%, transparent);
}
.vp-header .vp-brand .vp-label {
  font-family: var(--vp-font-title);
  font-size: 1rem;
  padding-right: 14px;
}

/* liens verticaux */
.vp-links {
  list-style: none;
  margin: 8px 0 0;
  padding: 0 !important;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch !important;
  justify-content: flex-start;
  gap: 3px;
  border: 0 !important;
  background: transparent !important;
  border-radius: 0;
}
.vp-links .nav-item {
  width: 100%;
  line-height: normal;
}
.vp-links .nav-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px 10px 0 !important;
  border-radius: 14px;
  color: #d4dce6;
  font-weight: 800;
  white-space: nowrap;
  background: transparent;
  box-shadow: none;
  transition: color .18s ease, background .18s ease, box-shadow .18s ease;
}
.vp-links .nav-link::after { display: none; }
.vp-links .nav-link i.bi,
.vp-links .nav-link .vp-paws-ico,
.vp-links .nav-link .vp-wheel-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 1.28rem;
  font-size: 1.28rem;
  color: #b4becb;
  transition: color .18s ease;
}
.vp-links .nav-link .vp-paws-ico {
  height: 1.28rem;
  fill: currentColor;
}
.vp-links .nav-link .vp-wheel-ico {
  width: 1.36rem;
  height: 1.36rem;
  overflow: visible;
  fill: currentColor;
}
.vp-wheel-ico-disc {
  transform-box: fill-box;
  transform-origin: center;
}
.vp-links .nav-link:hover .vp-wheel-ico-disc,
.vp-links .nav-link.active .vp-wheel-ico-disc {
  animation: vp-wheel-ico-spin 2.8s linear infinite;
}
@keyframes vp-wheel-ico-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .vp-links .nav-link .vp-wheel-ico-disc { animation: none !important; }
}
.vp-links .vp-paws-btn { position: relative; }
.vp-links .vp-paws-badge {
  top: 6px;
  left: 42px;
  right: auto;
  background: #0c1724;
  color: #a8e0f8;
  box-shadow: 0 0 0 2px var(--vp-orange);
}
.vp-links .nav-link .vp-label {
  font-size: .9rem;
  padding-right: 10px;
  letter-spacing: .15px;
}
.vp-header .vp-links .nav-link::before,
.vp-header .vp-links .nav-link:hover::before,
.vp-header .vp-links .nav-link.active::before {
  content: none;
  display: none;
}
.vp-links .nav-link:hover {
  color: #f0f5fa;
  background: rgba(255, 255, 255, .06);
}
.vp-links .nav-link:hover i.bi,
.vp-links .nav-link.active i.bi,
.vp-links .nav-link:hover .vp-paws-ico,
.vp-links .nav-link.active .vp-paws-ico,
.vp-links .nav-link:hover .vp-wheel-ico,
.vp-links .nav-link.active .vp-wheel-ico { color: var(--vp-green); }
.vp-links .nav-link.active {
  color: #b8e5ff;
  background: color-mix(in srgb, var(--vp-green) 20%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--vp-green) 38%, transparent);
}

/* actions en bas */
.vp-rail-spacer { flex: 1; min-height: 20px; }
.vp-actions {
  list-style: none;
  margin: 0;
  padding: 10px 0 0;
  border-top: 1px solid color-mix(in srgb, var(--vp-green) 18%, transparent);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
  width: 100%;
}
.vp-tools { display: flex; flex-direction: column; gap: 7px; width: 100%; }
.vp-header .vp-icon-btn {
  width: 100%;
  height: 44px;
  justify-content: flex-start;
  gap: 0;
  padding: 0;
  border-radius: 14px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--vp-ink-soft);
}
.vp-header .vp-icon-btn > i,
.vp-header .vp-icon-btn > .vp-paws-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.vp-header .vp-icon-btn:hover {
  color: var(--vp-green);
  background: rgba(255, 255, 255, .06);
}
.vp-header .vp-icon-btn.is-active { color: var(--vp-orange); background: var(--vp-orange-soft); }
.vp-header .vp-paws-btn { position: relative; }
.vp-header .vp-paws-btn .vp-paws-badge { top: 4px; left: 44px; right: auto; }

.vp-header .vp-user-menu { position: relative; width: 100%; }
.vp-header .vp-user {
  width: 100%; height: 44px;
  justify-content: flex-start;
  gap: 0;
  padding: 0 12px 0 0;
  border-radius: 14px;
  background: transparent;
}
.vp-header .vp-user img {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  margin: 0 22px;
  border-radius: 9px;
  object-fit: cover;
}
.vp-header .vp-user .vp-label { font-size: .9rem; }
.vp-header .vp-user-menu .dropdown-menu {
  inset: unset;
  left: calc(100% + 8px);
  right: auto;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  margin: 0;
  min-width: 0;
  width: max-content;
  padding: 0;
}
.vp-header .vp-user-menu .dropdown-menu::before {
  left: auto;
  right: 100%;
  top: 0;
  bottom: 0;
  width: 12px;
  height: auto;
}
.vp-header .vp-user-menu .dropdown-item {
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
}
.vp-header .vp-account .vp-btn {
  width: 100%;
  justify-content: flex-start;
  gap: 0;
  height: 46px;
  padding: 0 12px 0 0;
  border-radius: 14px;
  background: color-mix(in srgb, var(--vp-green) 22%, transparent);
  border: 1px solid color-mix(in srgb, var(--vp-green) 42%, transparent);
  box-shadow: none !important;
  color: #eef4f8;
  filter: none;
  transform: none;
}
.vp-header .vp-account .vp-btn:hover {
  background: color-mix(in srgb, var(--vp-green) 34%, transparent);
  color: #fff;
  filter: none;
  transform: none;
}
.vp-header .vp-account .vp-btn > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--vp-green);
  font-size: 1.22rem;
}
.vp-header .vp-account .vp-btn .vp-label { font-size: .9rem; }

/* Rail overlay : même fond que la page (pas de bande séparée) */
body.vp-body > .vp-app,
body.vp-body > .vp-footer {
  margin-left: 0;
  padding-left: var(--vp-rail-space);
}
.vp-hero {
  width: calc(100% + var(--vp-rail-space));
  margin-left: calc(-1 * var(--vp-rail-space));
  padding-top: 72px;
}
.vp-hero.vp-land,
.vp-hero.hm-hero { padding-top: 0; }
.vp-page { padding-top: 44px; }
.vp-announce { margin-top: 18px; }

/* ===== Mobile : dock bas (icônes + page active) ===== */
@media (max-width: 991.98px) {
  body.vp-body > .vp-app,
  body.vp-body > .vp-footer { margin-left: 0; padding-left: 0; }
  .vp-hero { width: auto; margin-left: 0; }
  body.vp-body { padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
  .vp-header {
    top: auto;
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    width: auto;
    height: 64px;
    max-width: none;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 20px;
    overflow: visible;
    background: rgba(6, 9, 16, .62);
    border: 1px solid color-mix(in srgb, var(--vp-green) 28%, transparent);
    -webkit-backdrop-filter: blur(22px) saturate(1.4);
    backdrop-filter: blur(22px) saturate(1.4);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, .07),
      0 10px 28px rgba(0, 0, 0, .28);
  }
  html:not([data-bs-theme="dark"]) .vp-header {
    background: rgba(6, 9, 16, .62);
    border-color: color-mix(in srgb, var(--vp-green) 28%, transparent);
  }
  .vp-header::before { display: none; }
  .vp-header:hover,
  .vp-header:focus-within {
    width: auto;
    overflow: visible;
    border-color: color-mix(in srgb, var(--vp-green) 28%, transparent);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, .07),
      0 10px 28px rgba(0, 0, 0, .28);
  }
  .vp-header .vp-label { display: none !important; }
  .vp-header .vp-brand { display: none; }
  .vp-header .vp-brand-badge,
  .vp-links .nav-link i.bi,
  .vp-links .nav-link .vp-paws-ico,
  .vp-links .nav-link .vp-wheel-ico,
  .vp-header .vp-icon-btn > i,
  .vp-header .vp-icon-btn > .vp-paws-ico,
  .vp-header .vp-account .vp-btn > i {
    flex: none;
    width: auto;
  }
  .vp-links .vp-paws-badge { top: 3px; left: auto; right: 4px; }
  .vp-links {
    flex: 1 1 auto;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center !important;
    justify-content: space-between;
    gap: 2px;
    margin: 0;
    min-width: 0;
    width: auto;
    border: 0 !important;
    background: transparent !important;
  }
  .vp-links .nav-item { width: auto; flex: 1 1 0; min-width: 0; }
  .vp-links .nav-link {
    width: 100%;
    min-height: 48px;
    padding: 8px 2px !important;
    justify-content: center;
    border-radius: 14px;
  }
  .vp-links .nav-link::before { display: none; }
  .vp-links .nav-link i.bi,
  .vp-links .nav-link .vp-paws-ico,
  .vp-links .nav-link .vp-wheel-ico {
    width: 1.38rem;
    height: 1.38rem;
    font-size: 1.38rem;
  }
  .vp-links .nav-link.active {
    background: color-mix(in srgb, var(--vp-green) 22%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--vp-green) 40%, transparent);
  }
  .vp-rail-spacer { display: none; }
  .vp-actions {
    flex: 0 0 auto;
    flex-direction: row;
    align-items: center;
    gap: 0;
    width: auto;
    margin: 0;
    padding: 0 0 0 8px;
    border: 0;
    border-left: 1px solid color-mix(in srgb, var(--vp-green) 22%, transparent);
  }
  .vp-tools { flex-direction: row; gap: 0; width: auto; }
  .vp-header .vp-icon-btn { width: 44px; height: 44px; justify-content: center; }
  .vp-header .vp-paws-btn .vp-paws-badge { top: 3px; left: auto; right: 14px; }
  .vp-header .vp-user-menu { width: auto; }
  .vp-header .vp-user {
    width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
  }
  .vp-header .vp-user img {
    width: 28px;
    height: 28px;
    margin: 0;
    flex: none;
  }
  .vp-header .vp-account { width: auto; }
  .vp-header .vp-account .vp-btn {
    width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
    gap: 0;
    border-radius: 14px;
  }
  .vp-header .vp-account .vp-btn > i {
    font-size: 1.32rem;
    width: 1.32rem;
    height: 1.32rem;
  }
  .vp-header .vp-user-menu .dropdown-menu {
    inset: unset;
    left: auto;
    right: 0;
    top: auto;
    bottom: calc(100% + 8px);
    transform: none;
  }
  .vp-header .vp-user-menu .dropdown-menu::before {
    left: 0;
    right: 0;
    top: 100%;
    bottom: auto;
    width: auto;
    height: 12px;
  }
  .vp-header .vp-user-menu .dropdown-item {
    height: 40px;
  }
}

/* ============================================================
   NAV v4.1 — finitions
   Barre d'accent sur la page active, ouverture du rail sans à-coup,
   lien externe signalé, focus clavier visible.
   ============================================================ */
/* Le rail ne s'ouvre qu'après un court survol (pas en passant la souris) */
.vp-header { transition-delay: 0s; }
.vp-header:hover { transition-delay: .12s; }
.vp-header:hover .vp-label { transition-delay: .12s; }

/* Page active : petite barre verte collée au bord du rail */
.vp-header .vp-links .nav-link.active::after {
  content: "";
  display: block;
  position: absolute;
  left: -7px;
  top: 50%;
  width: 4px;
  height: 22px;
  border-radius: 0 4px 4px 0;
  background: var(--vp-green);
  box-shadow: 0 0 12px color-mix(in srgb, var(--vp-green) 70%, transparent);
  transform: translateY(-50%);
}
.vp-links .nav-link.active i.bi,
.vp-links .nav-link.active .vp-wheel-ico {
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--vp-green) 55%, transparent));
}

/* Lien externe (Sanctions) : séparé des pages du site + flèche ↗ */
.vp-links .vp-link-ext {
  margin-top: 6px;
  padding-top: 7px;
  border-top: 1px solid color-mix(in srgb, var(--vp-green) 14%, transparent);
}
.vp-links .vp-link-ext .vp-label::after {
  content: "\f1c5";
  font-family: "bootstrap-icons";
  font-size: .68rem;
  margin-left: 7px;
  opacity: .55;
  vertical-align: .1em;
}

/* Focus clavier */
.vp-header .nav-link:focus-visible,
.vp-header .vp-brand:focus-visible,
.vp-header .vp-user:focus-visible,
.vp-header .vp-account .vp-btn:focus-visible {
  outline: 2px solid var(--vp-green);
  outline-offset: -2px;
  box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
  .vp-header, .vp-header .vp-label { transition: none !important; }
}

/* Mobile : barre d'accent en bas de l'icône, séparateur vertical */
@media (max-width: 991.98px) {
  .vp-header .vp-links .nav-link.active::after {
    left: 50%;
    top: auto;
    bottom: -7px;
    width: 18px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    transform: translateX(-50%);
  }
  .vp-links .vp-link-ext {
    margin: 0 0 0 4px;
    padding: 0 0 0 4px;
    border-top: 0;
    border-left: 1px solid color-mix(in srgb, var(--vp-green) 14%, transparent);
  }
}

/* ============================================================
   NAV v4.2 — rail plus étroit, icônes centrées dans leur case
   Toutes les cotes découlent de --vp-rail-w : la colonne d'icône
   (--vp-rail-col) = largeur intérieure réelle du rail (bordures
   comprises), donc chaque picto tombe pile au milieu de sa case.
   ============================================================ */
:root {
  --vp-rail-w: 76px;
  --vp-rail-pad: 6px;
  --vp-rail-col: calc(var(--vp-rail-w) - 2 * var(--vp-rail-pad) - 2px);
  --vp-rail-space: calc(var(--vp-rail-w) + 30px);
}
@media (min-width: 992px) {
  .vp-header {
    width: var(--vp-rail-w);
    padding: 12px var(--vp-rail-pad);
  }
  .vp-header:hover,
  .vp-header:focus-within { width: 240px; }

  .vp-header .vp-brand-badge,
  .vp-links .nav-link i.bi,
  .vp-links .nav-link .vp-paws-ico,
  .vp-links .nav-link .vp-wheel-ico,
  .vp-header .vp-icon-btn > i,
  .vp-header .vp-icon-btn > .vp-paws-ico,
  .vp-header .vp-account .vp-btn > i {
    flex: 0 0 var(--vp-rail-col);
    width: var(--vp-rail-col);
  }
  .vp-header .vp-brand-logo { width: 38px; height: 38px; }

  /* bordures en ombre interne : elles ne décalent plus l'icône d'1px */
  .vp-header .vp-icon-btn { border: 0; }
  .vp-header .vp-account .vp-btn {
    border: 0;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--vp-green) 42%, transparent) !important;
  }
  .vp-header .vp-user img { margin: 0 calc((var(--vp-rail-col) - 30px) / 2); }

  .vp-header .vp-links .nav-link.active::after { left: calc(-1 * var(--vp-rail-pad) - 1px); }
  .vp-links .vp-paws-badge,
  .vp-header .vp-paws-btn .vp-paws-badge { left: calc(var(--vp-rail-col) / 2 + 5px); }
}
@media (max-width: 991.98px) {
  :root { --vp-rail-space: 0px; }
}

/* ============================================================
   FOOTER v2 — présentation + 3 colonnes de liens + barre du bas
   ============================================================ */
.vp-footer {
  margin-top: 40px;
  padding-top: 52px;
  background: linear-gradient(180deg, rgba(6, 9, 16, .82), rgba(4, 6, 11, .96));
}
.vp-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 36px;
  padding-bottom: 36px;
}
.vp-footer-about { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.vp-footer-about .vp-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--vp-ink);
  font-family: var(--vp-font-title);
  font-size: 1.3rem;
  text-decoration: none;
  text-transform: uppercase;
}
.vp-footer-about .vp-brand-logo { width: 44px; height: 44px; border-radius: 13px; }
.vp-footer-about p { margin: 0; max-width: 34ch; color: #b6c0cd; font-weight: 600; line-height: 1.55; }
.vp-footer-ip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid color-mix(in srgb, var(--vp-green) 24%, transparent);
  border-radius: 10px;
  background: rgba(0, 0, 0, .22);
  color: #b8e5ff;
  font-family: ui-monospace, Consolas, monospace;
  font-size: .86rem;
  font-weight: 700;
}
.vp-footer-ip .bi { color: var(--vp-green); }
.vp-footer-discord {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 12px;
  background: #5865f2;
  color: #fff;
  font-family: var(--vp-font-btn);
  font-weight: 800;
  font-size: .9rem;
  text-decoration: none;
  transition: filter .18s ease, transform .18s ease;
}
.vp-footer-discord:hover { color: #fff; filter: brightness(1.1); transform: translateY(-1px); }
.vp-footer-col { display: flex; flex-direction: column; gap: 10px; }
.vp-footer-col b {
  margin-bottom: 4px;
  color: var(--vp-green);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.vp-footer-col a {
  width: fit-content;
  color: #c6cfdb;
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
  transition: color .16s ease;
}
.vp-footer-col a:hover { color: #fff; }
.vp-footer-col a .bi { font-size: .68rem; opacity: .55; margin-left: 3px; }
.vp-footer-bottom {
  padding: 18px 0 22px;
  border-top: 1px solid color-mix(in srgb, var(--vp-green) 14%, transparent);
  color: #8c99a9;
  font-size: .82rem;
  font-weight: 600;
}
.vp-footer-top-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.vp-footer-top-link:hover { color: var(--vp-green) !important; }

@media (max-width: 991.98px) {
  .vp-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .vp-footer-about { grid-column: 1 / -1; }
}
@media (max-width: 575.98px) {
  .vp-footer { padding-top: 40px; }
  .vp-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .vp-footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Icône Cristal (monnaie Rivalys) */
.vp-cristal-ico { width: 1em; height: 1em; vertical-align: -.14em; color: #6fd3fb; filter: drop-shadow(0 0 4px rgba(111, 211, 251, .45)); flex-shrink: 0; }
.vp-bazaar-chip .vp-cristal-ico { width: 1.1em; height: 1.1em; }
.vp-pack-media > .vp-cristal-ico { width: 40%; height: 40%; }
