/* =====================================================================
   En-tête façon MU Online : plaque sombre métallique, filets dorés,
   menu en lettres d'or avec gemmes, bandeau d'annonce pourpre.
   ===================================================================== */
html body#top.hx.hx.hx .hx-strip{background:linear-gradient(180deg,#07050b,#120c18)!important;border-bottom:1px solid rgba(217,166,64,.35)!important;color:#cbb88f!important}
html body#top.hx.hx.hx .hx-strip a,html body#top.hx.hx.hx .hx-strip span,html body#top.hx.hx.hx .hx-strip em{color:#cbb88f!important}
html body#top.hx.hx.hx .hx-strip a:hover{color:#ffe7a8!important;text-shadow:0 0 8px rgba(255,200,90,.6)}
html body#top.hx.hx.hx .hx-strip .hx-strip-rates em{background:rgba(217,166,64,.12)!important;border:1px solid rgba(217,166,64,.35)!important;color:#f3d48a!important}

html body#top.hx.hx.hx header.hx-top{position:relative;
  background:
    radial-gradient(60% 140% at 50% -40%,rgba(217,166,64,.18),transparent 60%),
    url(../img/texture.png),
    linear-gradient(180deg,#1d1524 0%,#120c19 55%,#0a0710 100%)!important;
  background-blend-mode:normal,overlay,normal!important;
  border:0!important;
  box-shadow:inset 0 1px 0 rgba(255,236,180,.25),inset 0 -1px 0 rgba(0,0,0,.6),0 10px 30px -12px rgba(0,0,0,.7)!important}
/* filets dorés haut et bas, avec un éclat au centre */
html body#top.hx.hx.hx header.hx-top::before,html body#top.hx.hx.hx header.hx-top::after{content:"";position:absolute;left:0;right:0;height:2px;pointer-events:none;z-index:2;
  background:linear-gradient(90deg,transparent,#7c540c 12%,#f6dc9a 50%,#7c540c 88%,transparent)}
html body#top.hx.hx.hx header.hx-top::before{top:0}
html body#top.hx.hx.hx header.hx-top::after{bottom:0;box-shadow:0 0 12px rgba(240,191,58,.55)}

/* logo qui brille légèrement */
html body#top.hx.hx.hx .hx-brand img{filter:drop-shadow(0 0 10px rgba(110,170,255,.35)) drop-shadow(0 2px 4px rgba(0,0,0,.6));transition:filter .4s,transform .4s}
html body#top.hx.hx.hx .hx-brand:hover img{filter:drop-shadow(0 0 16px rgba(110,170,255,.7)) drop-shadow(0 2px 4px rgba(0,0,0,.6));transform:scale(1.04)}

/* liens du menu : lettres d'or gravées */
html body#top.hx.hx.hx .hx-nav>ul>li{position:relative}
html body#top.hx.hx.hx .hx-nav>ul>li+li::before{content:"";position:absolute;left:-3px;top:50%;width:5px;height:5px;z-index:1;transform:translateY(-50%) rotate(45deg);background:linear-gradient(135deg,#f6dc9a,#7c540c);opacity:.7}
html body#top.hx.hx.hx .hx-nav>ul>li>a,html body#top.hx.hx.hx .hx-nav>ul>li>button{position:relative;font-family:var(--lg-title,Cinzel,serif)!important;font-weight:700!important;letter-spacing:.14em!important;text-transform:uppercase!important;
  background:linear-gradient(180deg,#fff4d0 0%,#e8c06a 45%,#b8862a 100%)!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;
  -webkit-text-fill-color:transparent!important;text-shadow:none!important;filter:drop-shadow(0 1px 0 rgba(0,0,0,.8));transition:filter .3s!important;border:0!important;padding-left:12px!important;padding-right:12px!important;box-shadow:none!important}
html body#top.hx.hx.hx .hx-nav>ul>li>button svg{color:#e8c06a!important;stroke:#e8c06a}
html body#top.hx.hx.hx .hx-nav>ul>li>a:hover,html body#top.hx.hx.hx .hx-nav>ul>li>button:hover{filter:drop-shadow(0 1px 0 rgba(0,0,0,.8)) drop-shadow(0 0 5px rgba(255,200,90,.6))}
/* page active : gemme lumineuse et halo */
html body#top.hx.hx.hx .hx-nav>ul>li>a[aria-current="page"],html body#top.hx.hx.hx .hx-nav>ul>li>button[aria-current="page"]{background:linear-gradient(180deg,#ffffff,#ffe39a 50%,#f0b544)!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important;filter:drop-shadow(0 1px 0 rgba(0,0,0,.8)) drop-shadow(0 0 5px rgba(255,200,90,.55))}
html body#top.hx.hx.hx .hx-nav>ul>li>a::after,html body#top.hx.hx.hx .hx-nav>ul>li>button::after{content:"";position:absolute;left:50%;bottom:-6px;width:8px;height:8px;transform:translateX(-50%) rotate(45deg) scale(0);
  background:radial-gradient(circle at 35% 35%,#e9f6ff,#5aa9ff 55%,#1a4fa8);box-shadow:0 0 10px rgba(90,169,255,.9);transition:transform .3s;border:0!important;height:8px!important}
html body#top.hx.hx.hx .hx-nav>ul>li>a:hover::after,html body#top.hx.hx.hx .hx-nav>ul>li>button:hover::after{transform:translateX(-50%) rotate(45deg) scale(.75)}
html body#top.hx.hx.hx .hx-nav>ul>li>a[aria-current="page"]::after,html body#top.hx.hx.hx .hx-nav>ul>li>button[aria-current="page"]::after{transform:translateX(-50%) rotate(45deg) scale(1)}

/* zone utilisateur : pastilles en métal sombre */
html body#top.hx.hx.hx .hx-user .hx-chip,html body#top.hx.hx.hx .hx-user .nv-login,html body#top.hx.hx.hx .hx-top .nb-bell,html body#top.hx.hx.hx .hx-top [class*="bell"]>button,html body#top.hx.hx.hx .hx-top a[class*="bell"]{
  background:linear-gradient(180deg,#2a2033,#17111f)!important;border:1px solid rgba(217,166,64,.55)!important;color:#f3d48a!important;box-shadow:inset 0 1px 0 rgba(255,236,180,.18),0 4px 10px -4px rgba(0,0,0,.6)!important}
html body#top.hx.hx.hx .hx-user .hx-chip:hover,html body#top.hx.hx.hx .hx-user .nv-login:hover{border-color:#f6dc9a!important;color:#fff4d0!important;box-shadow:0 0 12px rgba(240,191,58,.45)!important}
html body#top.hx.hx.hx .hx-user .hx-link{color:#cbb88f!important}
html body#top.hx.hx.hx .hx-user .hx-link:hover{color:#ffe7a8!important}
html body#top.hx.hx.hx .hx-burger span,html body#top.hx.hx.hx .hx-burger span::before,html body#top.hx.hx.hx .hx-burger span::after{background:#e8c06a!important}

/* bandeau d'annonce : bannière pourpre et or */
html body#top.hx.hx.hx .hx-herald{background:linear-gradient(90deg,#3a0c12,#5c1219 30%,#5c1219 70%,#3a0c12)!important;border:0!important;border-bottom:1px solid rgba(217,166,64,.5)!important;box-shadow:inset 0 1px 0 rgba(255,200,120,.15),0 6px 18px -10px rgba(60,0,0,.8)!important}
html body#top.hx.hx.hx .hx-herald b{color:#ffe9b8!important;text-shadow:0 1px 2px rgba(0,0,0,.6);letter-spacing:.03em}
html body#top.hx.hx.hx .hx-herald .pc-herald-kick,html body#top.hx.hx.hx .hx-herald time{color:#d9b46a!important}
html body#top.hx.hx.hx .hx-herald .pc-herald-ic{background:linear-gradient(180deg,#f6dc9a,#c8922a)!important;color:#3a0c12!important;box-shadow:0 0 10px rgba(240,191,58,.6)}
html body#top.hx.hx.hx .hx-herald .hx-herald-go{background:linear-gradient(180deg,#f6dc9a,#c8922a)!important;color:#2a1a02!important;border-radius:999px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 4px 12px -4px rgba(0,0,0,.6)!important}
html body#top.hx.hx.hx .hx-herald:hover .hx-herald-go{box-shadow:0 0 14px rgba(240,191,58,.8)!important}

@media (max-width:980px){html body#top.hx.hx.hx .hx-nav>ul>li+li::before{display:none}html body#top.hx.hx.hx .hx-nav{background:linear-gradient(180deg,#1d1524,#0a0710)!important}}

/* bouton flottant « ticket » retiré (le bouton est dans l'état du serveur et dans la barre du haut) */
html body#top.hx .lg-fabs .lg-fab.is-help{display:none!important}

/* ===== Bouton « Guards gratuits » de l'en-tête ===== */
html body#top.hx.hx.hx .mgr{position:relative;list-style:none}
html body#top.hx.hx.hx .mgr>summary{list-style:none;display:flex;align-items:center;gap:8px;padding:5px 12px 5px 5px;border-radius:999px;cursor:pointer;user-select:none;
  background:linear-gradient(180deg,#3a2a12,#1f150a);border:1px solid #d9a640;box-shadow:inset 0 1px 0 rgba(255,236,180,.3),0 0 0 0 rgba(240,191,58,.6),0 6px 14px -6px rgba(0,0,0,.7);animation:mgrGlow 2.6s ease-in-out infinite}
html body#top.hx.hx.hx .mgr>summary::-webkit-details-marker{display:none}
@keyframes mgrGlow{50%{box-shadow:inset 0 1px 0 rgba(255,236,180,.3),0 0 0 4px rgba(240,191,58,.12),0 0 18px rgba(240,191,58,.55)}}
html body#top.hx.hx.hx .mgr-ic{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff3c4,#f0bf3a 50%,#a8730c);color:#3a2600;box-shadow:0 0 10px rgba(240,191,58,.7);animation:mgrShake 4s ease-in-out infinite}
@keyframes mgrShake{0%,82%,100%{transform:rotate(0)}85%{transform:rotate(-14deg) scale(1.08)}88%{transform:rotate(12deg) scale(1.08)}91%{transform:rotate(-8deg)}94%{transform:rotate(6deg)}}
html body#top.hx.hx.hx .mgr-tx{display:flex;flex-direction:column;line-height:1.1}
html body#top.hx.hx.hx .mgr-tx b{font-size:12.5px;font-weight:800;letter-spacing:.04em;color:#ffe7a8!important}
html body#top.hx.hx.hx .mgr-tx small{font-size:10.5px;color:#d9b46a!important}
html body#top.hx.hx.hx .mgr-badge{font-style:normal;padding:3px 8px;border-radius:999px;font-size:11.5px;font-weight:900;color:#fff!important;background:linear-gradient(180deg,#ff5a5a,#c4162a);box-shadow:0 0 10px rgba(255,60,60,.6)}
html body#top.hx.hx.hx .mgr.is-ready .mgr-badge{animation:mgrPop 1.4s ease-in-out infinite}
@keyframes mgrPop{50%{transform:scale(1.15)}}
html body#top.hx.hx.hx .mgr[open]>summary{animation:none;border-color:#fff4d0}
html body#top.hx.hx.hx .mgr-pop{position:absolute;right:0;top:calc(100% + 12px);z-index:80;width:340px;padding:16px;border-radius:22px;color:#f4e6c4;
  background:radial-gradient(80% 60% at 50% 0,rgba(217,166,64,.18),transparent 70%),linear-gradient(180deg,#1f1726,#100b16)!important;background-color:#150f1b!important;border:1px solid rgba(217,166,64,.6);
  box-shadow:inset 0 1px 0 rgba(255,236,180,.2),0 30px 60px -20px rgba(0,0,0,.8);animation:mgrIn .25s cubic-bezier(.2,.8,.2,1)}
html body#top.hx.hx.hx .mgr-pop::before{content:"";position:absolute;right:34px;top:-7px;width:12px;height:12px;transform:rotate(45deg);background:#1f1726;border-left:1px solid rgba(217,166,64,.6);border-top:1px solid rgba(217,166,64,.6)}
@keyframes mgrIn{from{opacity:0;transform:translateY(-6px) scale(.98)}}
html body#top.hx.hx.hx .mgr-head{display:flex;align-items:center;gap:8px;margin-bottom:12px;font:700 14px/1.2 var(--lg-title,serif);letter-spacing:.08em;text-transform:uppercase;color:#ffe7a8}
html body#top.hx.hx.hx .mgr-head span{color:#f0bf3a}
html body#top.hx.hx.hx .mgr-sec{padding:12px;border-radius:16px;background:rgba(255,255,255,.04);border:1px solid rgba(217,166,64,.22);margin-bottom:10px}
html body#top.hx.hx.hx .mgr-t{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#d9b46a}
html body#top.hx.hx.hx .mgr-t span{letter-spacing:.02em;text-transform:none;color:#ffe7a8;font-weight:700}
html body#top.hx.hx.hx .mgr-days{list-style:none;display:grid;grid-template-columns:repeat(7,1fr);gap:4px;margin:0 0 10px;padding:0}
html body#top.hx.hx.hx .mgr-days li{display:flex;flex-direction:column;align-items:center;padding:5px 0;border-radius:10px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08)}
html body#top.hx.hx.hx .mgr-days small{font-size:9.5px;color:#a8946a}
html body#top.hx.hx.hx .mgr-days b{font-size:11.5px;color:#f4e6c4}
html body#top.hx.hx.hx .mgr-days li.is-done{opacity:.45}
html body#top.hx.hx.hx .mgr-days li.is-now{background:linear-gradient(180deg,#f3cf6e,#c8922a);border-color:#fff4d0;box-shadow:0 0 12px rgba(240,191,58,.6)}
html body#top.hx.hx.hx .mgr-days li.is-now small,html body#top.hx.hx.hx .mgr-days li.is-now b{color:#2a1a02}
html body#top.hx.hx.hx .mgr-days li.is-big{border-color:rgba(240,191,58,.6)}
html body#top.hx.hx.hx .mgr-btn{display:block;text-align:center;padding:10px;border-radius:999px;font-weight:800;font-size:12.5px;letter-spacing:.08em;text-transform:uppercase;text-decoration:none;color:#2a1a02!important;background:linear-gradient(180deg,#f3cf6e,#c8922a)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 8px 18px -8px rgba(240,191,58,.7)}
html body#top.hx.hx.hx .mgr-btn.is-hot{background:linear-gradient(180deg,#ff8a5a,#d42a2a)!important;color:#fff!important;box-shadow:0 0 16px rgba(255,80,60,.6);animation:mgrPop 1.6s ease-in-out infinite}
html body#top.hx.hx.hx .mgr-ok{display:flex;align-items:center;gap:6px;margin:0;font-size:12px;color:#9fe0b0}
html body#top.hx.hx.hx .mgr-votes{list-style:none;margin:0;padding:0;display:grid;gap:6px}
html body#top.hx.hx.hx .mgr-votes li{display:grid;grid-template-columns:22px 1fr auto auto;align-items:center;gap:8px}
html body#top.hx.hx.hx .mgr-vn{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;border:1px solid rgba(217,166,64,.6);font-size:11px;font-weight:800;color:#f0bf3a}
html body#top.hx.hx.hx .mgr-vt{font-size:12.5px;font-weight:700;color:#f4e6c4;line-height:1.15}
html body#top.hx.hx.hx .mgr-vt small{display:block;font-size:10px;font-weight:600;color:#a8946a}
html body#top.hx.hx.hx .mgr-votes em{font-style:normal;font-size:11px;font-weight:800;color:#ffe7a8}
html body#top.hx.hx.hx .mgr-votes a{padding:5px 11px;border-radius:999px;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;text-decoration:none;color:#2a1a02!important;background:linear-gradient(180deg,#f3cf6e,#c8922a)!important}
html body#top.hx.hx.hx .mgr-all{display:flex;justify-content:center;align-items:center;gap:6px;margin-top:4px;font-size:12px;font-weight:700;color:#d9b46a!important;text-decoration:none}
html body#top.hx.hx.hx .mgr-all:hover{color:#ffe7a8!important}
@media (max-width:980px){html body#top.hx.hx.hx .mgr-pop{position:static;width:auto;margin-top:10px}html body#top.hx.hx.hx .mgr-pop::before{display:none}}
/* en-tête au-dessus du contenu (menu déroulant visible) + bouton compact */
html body#top.hx.hx.hx header.hx-top{z-index:90!important}
html body#top.hx.hx.hx .mgr>summary{white-space:nowrap}
html body#top.hx.hx.hx .mgr-tx b{white-space:nowrap}
@media (max-width:1500px){html body#top.hx.hx.hx .mgr-tx{display:none}html body#top.hx.hx.hx .mgr>summary{padding:4px 8px 4px 4px;gap:6px}}
