/* =========================================================
   MuGM AAA Dark Fantasy — override stylesheet (separado)
   Fuentes: Cinzel / Inter / Orbitron
   ========================================================= */

:root{
  --bg0:#0B0E13;
  --bg1:#101521;
  --bg2:#151A22;
  --line:#232A3A;
  --text:#E6E9F2;
  --muted:#AAB2C5;

  --gold:#C8A45A;
  --gold2:#9F7C3A;

  --aether:#4FA3FF;
  --cyan:#00F2FF;

  --danger:#E74C3C;
  --success:#2ECC71;

  --shadow: 0 18px 60px rgba(0,0,0,.55);
  --r12:12px;
  --r16:16px;
  --r20:20px;
  --mugm-bg0: #050812;
  --mugm-bg1: #070b18;
  --mugm-bg2: #0a1222;

  --mugm-card: rgba(12,18,34,.58);
  --mugm-card2: rgba(10,14,26,.48);

  --mugm-line: rgba(255,255,255,.07);
  --mugm-line2: rgba(255,255,255,.10);

  --mugm-blue: #4fd0ff;
  --mugm-blue2:#0ea5e9;
  --mugm-gold: #d7b25d;
  --mugm-text: rgba(255,255,255,.88);
  --mugm-muted: rgba(255,255,255,.65);

  --mugm-shadow: 0 18px 55px rgba(0,0,0,.50);
  --mugm-shadow2: 0 10px 25px rgba(0,0,0,.40);
  --mugm-radius: 18px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body.mugm-body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 20% 0%, rgba(79,163,255,.12), transparent 60%),
    radial-gradient(900px 500px at 85% 10%, rgba(200,164,90,.10), transparent 55%),
    linear-gradient(180deg, var(--bg0), var(--bg1) 55%, var(--bg0));
}

/* ===== Layout width (más ancho real en desktop) ===== */
.mugm-shell{
  width: 100%;
  max-width: 1320px;          /* antes seguro 1100/1200 */
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* pantallas grandes */
@media (min-width: 1600px){
  .mugm-shell{ max-width: 1440px; }
}

/* mobile */
@media (max-width: 576px){
  .mugm-shell{ padding-left: 14px; padding-right: 14px; }
}


/* Links */
.mugm-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--muted);
  text-decoration:none;
  border:0;
  background:transparent;
  padding:6px 10px;
  border-radius:999px;
}
.mugm-link:hover{ color:var(--text); background: rgba(255,255,255,.06); }
.mugm-link--discord{
  color:#EAF0FF;
  background: rgba(88,101,242,.16);
  border:1px solid rgba(88,101,242,.25);
}
.mugm-link--discord:hover{ background: rgba(88,101,242,.22); }

/* Topbar */
.mugm-topbar{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(11,14,19,.55);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mugm-topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 0;
  gap:16px;
}
.mugm-topbar__left,
.mugm-topbar__right{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.mugm-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color:var(--text);
  font-weight:600;
}
.mugm-badge--version{
  border-color: rgba(200,164,90,.25);
  background: rgba(200,164,90,.10);
}
.mugm-clock{
  color:var(--muted);
  font-size:12px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
}

/* Header */
.mugm-header{
  position:sticky;
  top:48px;
  z-index:49;
  background: rgba(11,14,19,.78);
  border-bottom:1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
}
.mugm-header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:12px 0;
}
.mugm-brand{ display:flex; align-items:center; text-decoration:none; }
.mugm-brand__logo{
  width:auto;
  height:46px;
  filter: drop-shadow(0 10px 28px rgba(0,0,0,.55));
}

/* Nav */
.mugm-nav__list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
/* WebEngine navbar output suele generar <li><a>... */
.mugm-nav__list li{ margin:0; padding:0; }
.mugm-nav__list a{
  display:inline-flex;
  align-items:center;
  padding:10px 12px;
  border-radius:999px;
  color:var(--muted);
  text-decoration:none;
  font-weight:600;
}
.mugm-nav__list a:hover{
  color:var(--text);
  background: rgba(255,255,255,.06);
}

/* Actions / Buttons */
.mugm-actions{ display:flex; align-items:center; gap:10px; }
.mugm-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight:700;
  border:1px solid transparent;
  text-decoration:none;
  cursor:pointer;
  user-select:none;
}
.mugm-btn--full{ width:100%; }
.mugm-btn--lg{ padding:12px 18px; font-size:15px; }

.mugm-btn--ghost{
  color:var(--text);
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.10);
}
.mugm-btn--ghost:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.16);
}
.mugm-btn--gold{
  color:#120E06;
  background: linear-gradient(180deg, var(--gold), var(--gold2));
  border-color: rgba(200,164,90,.35);
  box-shadow: 0 16px 45px rgba(200,164,90,.18);
}
.mugm-btn--gold:hover{
  filter: brightness(1.03);
  box-shadow: 0 18px 55px rgba(200,164,90,.22);
}

/* Hamburger */
.mugm-hamburger{
  display:none;
  width:44px; height:44px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color:var(--text);
}

/* Mobile menu */
.mugm-nav--mobile{ display:none; }
.mugm-nav--mobile.show{ display:block; }
.mugm-mobile-cta{ padding: 14px 0 18px; display:grid; gap:10px; }

/* Hero */
.mugm-hero{
  position:relative;
  overflow:hidden;
  padding: 42px 0 28px;
}
.mugm-hero__bg{
  position:absolute; inset:0;
  background:
    radial-gradient(900px 520px at 30% 15%, rgba(79,163,255,.18), transparent 60%),
    radial-gradient(800px 520px at 75% 10%, rgba(200,164,90,.14), transparent 55%),
    linear-gradient(180deg, rgba(21,26,34,.85), rgba(11,14,19,.25));
  pointer-events:none;
}
.mugm-hero__inner{
  position:relative;
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:18px;
  align-items:center;
}
.mugm-hero__copy{
  padding: 22px 0;
}
.mugm-hero__kicker{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:12px;
}
.mugm-dot{
  width:10px; height:10px;
  border-radius:50%;
  box-shadow: 0 0 0 6px rgba(255,255,255,.06);
}
.mugm-dot--online{ background: var(--success); }
.mugm-dot--offline{ background: var(--danger); }
.mugm-kicker-text{ color:var(--muted); font-weight:600; }

.mugm-title{
  font-family: Cinzel, serif;
  letter-spacing: .6px;
  font-weight: 800;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.06;
  margin: 0 0 12px;
}
.mugm-title__accent{
  color: var(--gold);
  text-shadow: 0 18px 60px rgba(200,164,90,.22);
}
.mugm-subtitle{
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  max-width: 56ch;
  margin: 0 0 16px;
}
.mugm-hero__cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom: 18px;
}

.mugm-stats{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.mugm-stat{
  padding: 12px 14px;
  border-radius: var(--r16);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  min-width: 150px;
}
.mugm-stat__label{
  display:block;
  color: var(--muted);
  font-weight:700;
  font-size: 12px;
}
.mugm-stat__value{
  font-family: Orbitron, Inter, sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .3px;
}

.mugm-hero__art{
  position:relative;
  min-height: 280px;
}
.mugm-hero__img{
  position:absolute;
  max-width: 330px;
  filter: drop-shadow(0 25px 65px rgba(0,0,0,.55));
  opacity:.95;
}
.mugm-hero__img--left{ left:0; bottom:-24px; transform: translateX(-6%); }
.mugm-hero__img--right{ right:0; bottom:-24px; transform: translateX(6%); }

/* Main */
.mugm-main{ padding: 18px 0 34px; }

/* Sections */
.mugm-section{
  margin-top: 22px;
  padding: 18px 16px;
  border-radius: var(--r20);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
}
.mugm-section__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom: 12px;
}
.mugm-section__title{
  margin:0;
  font-family: Cinzel, serif;
  letter-spacing: .5px;
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
  display:flex;
  align-items:center;
  gap:10px;
}

/* Modals */
.mugm-modal{
  background: #0f1420;
  color: var(--text);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  overflow:hidden;
}
.mugm-modal__header{
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mugm-modal__header .modal-title{
  font-family: Cinzel, serif;
  font-weight: 800;
}
.mugm-modal__body{ background: transparent; }

/* Eventos list */
.mugm-event-list{ list-style:none; margin:0; padding:0; }
.mugm-event-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 14px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mugm-event-card:last-child{ border-bottom:none; }
.mugm-event-name{ font-weight:800; color:var(--text); }
.mugm-event-next{ color:var(--muted); font-size:12px; }
.mugm-event-next span{ color: rgba(79,163,255,.95); font-weight:700; }
.mugm-event-badge{
  background: rgba(79,163,255,.16);
  border: 1px solid rgba(79,163,255,.22);
  color: #EAF3FF;
  padding: 7px 10px;
  border-radius: 999px;
  font-weight:800;
  font-family: Orbitron, Inter, sans-serif;
  font-size: 12px;
  letter-spacing: .2px;
}

/* TikTok floating button */
.mugm-tiktok{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--text);
  box-shadow: var(--shadow);
  display:flex;
  align-items:center;
  gap:10px;
}
.mugm-tiktok.is-live{
  border-color: rgba(0,242,255,.35);
  background: rgba(0,242,255,.10);
}

/* Responsive */
@media (max-width: 991px){
  .mugm-nav--desktop{ display:none; }
  .mugm-hamburger{ display:inline-flex; align-items:center; justify-content:center; }
  .mugm-hero__inner{ grid-template-columns: 1fr; }
  .mugm-hero__art{ min-height: 210px; }
  .mugm-hero__img{ max-width: 280px; }
  .mugm-hero__img--left{ left: -20px; bottom:-20px; }
  .mugm-hero__img--right{ right: -20px; bottom:-20px; }
}

/* Bootstrap modal close button visibility */
.modal .close{ color: #fff; opacity:.8; }
.modal .close:hover{ opacity:1; }
/* ===== NAVBAR HOTFIX (evita que legacy CSS lo infle) ===== */
.mugm-header{ height:auto !important; }
.mugm-header__inner{ min-height: 74px; } /* controla alto real */
.mugm-brand__logo{ height:42px; }

.mugm-nav__list{
  display:flex !important;
  flex-direction: row !important;
  align-items:center !important;
  gap: 6px !important;
  flex-wrap: nowrap !important;
}

/* Neutraliza estilos Bootstrap/legacy sobre ul/li/a */
.mugm-nav__list,
.mugm-nav__list li{
  float:none !important;
  width:auto !important;
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
}

.mugm-nav__list > li{ display:flex !important; align-items:center !important; }

.mugm-nav__list a{
  display:inline-flex !important;
  width:auto !important;
  height:auto !important;
  line-height: 1.1 !important;
  padding: 10px 12px !important;
  margin: 0 !important;
}

/* Si WebEngine mete dropdowns */
.mugm-nav__list .dropdown-menu{
  background: #0f1420 !important;
  border:1px solid rgba(255,255,255,.10) !important;
  border-radius: 12px !important;
  padding: 8px !important;
}
.mugm-nav__list .dropdown-menu > li > a{
  border-radius: 10px !important;
  padding: 10px 10px !important;
  color: rgba(230,233,242,.85) !important;
}
.mugm-nav__list .dropdown-menu > li > a:hover{
  background: rgba(255,255,255,.06) !important;
  color: #E6E9F2 !important;
}

/* Evita que la topbar + header te coman media pantalla */
.mugm-topbar{ padding:0 !important; }
.mugm-topbar__inner{ padding: 8px 0 !important; }
/* ===== FIX CRÍTICO: el menú móvil quedó siempre visible por CSS legacy ===== */
#mobile-nav-menu{
  display:none !important;
  height:auto !important;
  max-height:none !important;
  overflow:visible !important;
}

#mobile-nav-menu.show{
  display:block !important;
}

/* Asegura el nav desktop en una fila */
.mugm-nav--desktop{
  display:block !important;
}

.mugm-nav--desktop .mugm-nav__list{
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:center; /* si lo querés centrado */
  flex-wrap:wrap !important;
  gap:8px !important;
}

/* Neutraliza cualquier regla vieja tipo "li {display:block;width:100%}" */
.mugm-nav--desktop .mugm-nav__list > li{
  display:flex !important;
  width:auto !important;
}
.mugm-nav--desktop .mugm-nav__list > li > a{
  display:inline-flex !important;
  width:auto !important;
}
/* ===== FIX DEFINITIVO: items del navbar quedan en columna por reglas legacy ===== */

/* Asegura que el NAV desktop NO sea el móvil */
.mugm-nav--desktop{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}

/* El UL siempre en una sola línea */
.mugm-nav--desktop .mugm-nav__list{
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:nowrap !important;        /* <- clave */
  align-items:center !important;
  justify-content:center !important;
  gap:10px !important;
  width:auto !important;
  white-space:nowrap !important;      /* <- evita cortes raros */
}

/* EL PROBLEMA: li “se estira” a 100% por CSS viejo */
.mugm-nav--desktop .mugm-nav__list > li{
  display:inline-flex !important;
  width:auto !important;
  flex:0 0 auto !important;           /* <- clave */
  float:none !important;
}

/* Anchor también auto */
.mugm-nav--desktop .mugm-nav__list > li > a{
  display:inline-flex !important;
  width:auto !important;
  flex:0 0 auto !important;
  padding:10px 12px !important;
  white-space:nowrap !important;
}

/* Si WebEngine mete spans/ics */
.mugm-nav--desktop .mugm-nav__list *{
  max-width:none !important;
}
/* Si la función imprime UL adentro, lo estilizamos igual */
.mugm-nav__list ul{
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:nowrap !important;
  gap:10px !important;
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
}
.mugm-nav__list ul > li{ flex:0 0 auto !important; width:auto !important; }
/* =========================================================
   AAA Highlight Slider (inc/modules/slider.php)
   ========================================================= */

.mugm-hslider{
  padding: 0 !important; /* ya viene envuelto por .mugm-section */
  overflow: hidden;
}

.mugm-hslider__frame{
  position: relative;
  border-radius: var(--r20);
  overflow: hidden;
  min-height: 360px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}

/* Swiper container */
.mugm-hslider__swiper{
  position: relative;
  width: 100%;
  min-height: 360px;
}

/* Slide */
.mugm-hslide{
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 360px;
}

/* Overlay cinematic */
.mugm-hslide__overlay{
  position:absolute; inset:0;
  background:
    radial-gradient(900px 380px at 18% 50%, rgba(11,14,19,.18), rgba(11,14,19,.72) 55%, rgba(11,14,19,.92)),
    linear-gradient(90deg, rgba(11,14,19,.82), rgba(11,14,19,.35) 55%, rgba(11,14,19,.82));
}

/* Content */
.mugm-hslide__content{
  position: relative;
  z-index: 2;
  padding: 28px 26px;
  max-width: 640px;
}

.mugm-hslide__tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 7px 12px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .2px;
  font-size: 12px;
  color: #EAF3FF;
  background: rgba(79,163,255,.14);
  border: 1px solid rgba(79,163,255,.22);
  margin-bottom: 12px;
}
.mugm-hslide__tag--gold{
  background: rgba(200,164,90,.12);
  border-color: rgba(200,164,90,.25);
  color: #FFF3DD;
}

.mugm-hslide__title{
  margin: 0 0 10px;
  font-family: Cinzel, serif;
  font-weight: 900;
  letter-spacing: .6px;
  font-size: 28px;
  line-height: 1.1;
  text-shadow: 0 18px 60px rgba(0,0,0,.55);
}

.mugm-hslide__text{
  margin: 0 0 16px;
  color: rgba(230,233,242,.86);
  line-height: 1.6;
  max-width: 60ch;
}

.mugm-hslide__cta{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin-top: 10px;
}

/* Dots */
.mugm-hslider__dots{
  position:absolute;
  left: 22px !important;
  bottom: 18px !important;
  width:auto !important;
}
.mugm-hslider__dots .swiper-pagination-bullet{
  width: 9px; height: 9px;
  opacity: 1;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.14);
  margin: 0 4px !important;
}
.mugm-hslider__dots .swiper-pagination-bullet-active{
  background: rgba(200,164,90,.85);
  border-color: rgba(200,164,90,.35);
}

/* Figure */
.mugm-hslider__figure{
  position:absolute;
  right: -18px;
  bottom: -22px;
  height: 420px;
  width: auto;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 28px 70px rgba(0,0,0,.60));
  transition: opacity .38s ease, transform .38s ease;
  opacity: 1;
  transform: translateY(0) scale(1);
}
.mugm-hslider__figure.is-fading{
  opacity: 0;
  transform: translateY(14px) scale(.97);
}

/* Responsive */
@media (max-width: 991px){
  .mugm-hslider__frame,
  .mugm-hslider__swiper,
  .mugm-hslide{ min-height: 420px; }

  .mugm-hslide__content{ padding: 22px 18px; }

  .mugm-hslider__figure{
    height: 280px;
    right: -24px;
    bottom: -18px;
    opacity: .9;
  }

  .mugm-hslider__dots{
    left: 16px !important;
    bottom: 14px !important;
  }
}
/* =========================================================
   AAA Gallery + Lightbox (inc/modules/carousel.php)
   ========================================================= */

.mugm-gallery{
  padding: 0;
}

.mugm-gallery__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin-bottom: 12px;
}

.mugm-gallery__kicker{
  color: var(--muted);
  font-weight: 800;
  letter-spacing: .2px;
  font-size: 12px;
  display:flex;
  align-items:center;
  gap:8px;
}

.mugm-gallery__title{
  margin: 2px 0 0;
  font-family: Cinzel, serif;
  font-weight: 900;
  letter-spacing: .6px;
  font-size: 20px;
}

.mugm-gallery__controls{
  display:flex;
  gap:10px;
}

.mugm-gallery__btn{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  color: var(--text);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.mugm-gallery__btn:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.16);
}

.mugm-gallery__viewport{
  position: relative;
  overflow: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--r16);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.18);
}

/* oculta scrollbar (sin romper scroll) */
.mugm-gallery__viewport::-webkit-scrollbar{ height: 10px; }
.mugm-gallery__viewport::-webkit-scrollbar-thumb{
  background: rgba(255,255,255,.10);
  border-radius: 999px;
}

.mugm-gallery__track{
  display:grid;
  grid-auto-flow: column;
  grid-auto-columns: 33.333%;
  gap: 14px;
  padding: 14px;
  align-items: stretch;
}

/* Cards */
.mugm-gallery__card{
  position: relative;
  border: 0;
  padding: 0;
  border-radius: var(--r16);
  overflow: hidden;
  cursor: pointer;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  scroll-snap-align: start;
  box-shadow: 0 18px 55px rgba(0,0,0,.45);
  transform: translateZ(0);
}

.mugm-gallery__img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  display:block;
  filter: contrast(1.02) saturate(1.04);
  transform: scale(1.01);
  transition: transform .35s ease, filter .35s ease;
}

.mugm-gallery__shine{
  position:absolute; inset:0;
  background: radial-gradient(420px 220px at 20% 0%, rgba(255,255,255,.10), transparent 45%),
              linear-gradient(180deg, rgba(11,14,19,.05), rgba(11,14,19,.45));
  opacity: .85;
  pointer-events:none;
}

.mugm-gallery__card:hover .mugm-gallery__img{
  transform: scale(1.06);
  filter: contrast(1.05) saturate(1.12);
}

.mugm-gallery__hint{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  color: var(--muted);
  font-size: 12px;
  padding: 10px 0 0;
}
.mugm-gallery__dot{ opacity:.6; }

/* Responsive columns */
@media (max-width: 991px){
  .mugm-gallery__track{ grid-auto-columns: 58%; }
  .mugm-gallery__img{ height: 200px; }
}
@media (max-width: 560px){
  .mugm-gallery__track{ grid-auto-columns: 86%; }
  .mugm-gallery__img{ height: 190px; }
}

/* ===== Lightbox ===== */
.mugm-lock{ overflow:hidden !important; }

.mugm-lightbox{
  position: fixed;
  inset: 0;
  z-index: 3000;
}

.mugm-lightbox__backdrop{
  position:absolute; inset:0;
  background: rgba(0,0,0,.86);
  backdrop-filter: blur(6px);
}

.mugm-lightbox__panel{
  position: relative;
  width: min(1100px, calc(100% - 28px));
  height: min(82vh, 760px);
  margin: 7vh auto 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(15,20,32,.85);
  box-shadow: 0 28px 90px rgba(0,0,0,.65);
  display:flex;
  align-items:center;
  justify-content:center;
}

.mugm-lightbox__img{
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: 100%;
  object-fit: contain;
  display:block;
  user-select:none;
}

.mugm-lightbox__close{
  position:absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: var(--text);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  z-index: 2;
}
.mugm-lightbox__close:hover{ background: rgba(255,255,255,.10); }

.mugm-lightbox__nav{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: var(--text);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  z-index: 2;
}
.mugm-lightbox__nav:hover{ background: rgba(255,255,255,.10); }
.mugm-lightbox__nav--prev{ left: 12px; }
.mugm-lightbox__nav--next{ right: 12px; }

.mugm-lightbox__meta{
  position:absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
  color: rgba(230,233,242,.90);
  font-family: Orbitron, Inter, sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .2px;
}

/* Open animation */
.mugm-lightbox.is-open .mugm-lightbox__panel{
  animation: mugmPop .14s ease-out;
}
@keyframes mugmPop{
  from{ transform: translateY(10px) scale(.985); opacity: .85; }
  to{ transform: translateY(0) scale(1); opacity: 1; }
}
/* =========================================================
   AAA Leaderboards (inc/home_ranking.php)
   ========================================================= */

.mugm-leaderboards{
  padding: 0;
}

.mugm-leaderboards__grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.mugm-leaderboard{
  border-radius: var(--r20);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
  overflow:hidden;
}

.mugm-leaderboard__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 14px 14px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: radial-gradient(700px 220px at 20% 0%, rgba(200,164,90,.10), transparent 55%),
              rgba(255,255,255,.03);
}

.mugm-leaderboard__title{
  display:flex;
  align-items:center;
  gap: 10px;
  font-family: Cinzel, serif;
  font-weight: 900;
  letter-spacing: .6px;
  font-size: 16px;
}
.mugm-leaderboard__title i{
  color: rgba(200,164,90,.95);
}

.mugm-leaderboard__link{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  color: rgba(230,233,242,.78);
  text-decoration:none;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  font-weight: 800;
  font-size: 12px;
}
.mugm-leaderboard__link:hover{
  color: var(--text);
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.16);
}

.mugm-leaderboard__list{
  padding: 10px;
  display:grid;
  gap: 10px;
}

/* Entry card */
.mugm-entry{
  display:grid;
  grid-template-columns: 42px 48px 1fr 120px;
  gap: 10px;
  align-items:center;
  padding: 10px 10px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.16);
}

.mugm-entry:hover{
  border-color: rgba(255,255,255,.14);
  background: rgba(0,0,0,.22);
}

.mugm-entry__pos{
  display:flex;
  align-items:center;
  justify-content:center;
  width: 42px;
}

.mugm-rankpos{
  display:inline-flex;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  align-items:center;
  justify-content:center;
  font-family: Orbitron, Inter, sans-serif;
  font-weight: 800;
  font-size: 12px;
  color: rgba(230,233,242,.92);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
}

.mugm-medal{
  font-size: 18px;
  filter: drop-shadow(0 12px 35px rgba(0,0,0,.55));
}
.mugm-medal--gold{ color: rgba(200,164,90,.95); }
.mugm-medal--silver{ color: rgba(200,210,225,.95); }
.mugm-medal--bronze{ color: rgba(190,120,70,.95); }

.mugm-entry__avatar,
.mugm-entry__guildlogo{
  display:flex;
  align-items:center;
  justify-content:center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  overflow:hidden;
}

.mugm-classimg{
  width: 36px !important;
  height: 36px !important;
  object-fit: contain;
  display:block;
}

.mugm-glogo{
  display:block;
  width: 34px;
  height: 34px;
  image-rendering: -webkit-optimize-contrast;
}

.mugm-entry__main{
  min-width: 0;
}

.mugm-entry__name{
  font-weight: 900;
  color: rgba(230,233,242,.98);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mugm-entry__sub{
  margin-top: 2px;
  color: rgba(170,178,197,.92);
  font-size: 12px;
}
.mugm-muted{ color: rgba(170,178,197,.92); }

.mugm-entry__stat{
  justify-self:end;
  text-align:right;
  padding-left: 8px;
}
.mugm-entry__statlabel{
  color: rgba(170,178,197,.92);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2px;
}
.mugm-entry__statvalue{
  font-family: Orbitron, Inter, sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: rgba(230,233,242,.98);
}

/* Empty */
.mugm-empty{
  padding: 12px;
  color: rgba(170,178,197,.92);
}

/* Responsive */
@media (max-width: 991px){
  .mugm-leaderboards__grid{ grid-template-columns: 1fr; }
  .mugm-entry{ grid-template-columns: 42px 48px 1fr 110px; }
}
@media (max-width: 560px){
  .mugm-entry{ grid-template-columns: 38px 46px 1fr; }
  .mugm-entry__stat{ display:none; }
}
/* =========================================================
   AAA Footer (inc/modules/footer.php)
   ========================================================= */

.mugm-footer{
  margin-top: 26px;
  padding: 26px 0 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(900px 380px at 15% 0%, rgba(200,164,90,.10), transparent 55%),
    radial-gradient(900px 380px at 85% 0%, rgba(79,163,255,.12), transparent 55%),
    rgba(11,14,19,.65);
}

.mugm-footer__top{
  display:grid;
  grid-template-columns: 1.2fr .7fr .8fr;
  gap: 16px;
  padding: 18px 0;
}

.mugm-footer__brand{
  border-radius: var(--r20);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
  padding: 16px;
}

.mugm-footer__logo img{
  height: 54px;
  width: auto;
  display:block;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,.55));
}

.mugm-footer__tagline{
  margin: 10px 0 14px;
  color: rgba(170,178,197,.92);
  line-height: 1.55;
  max-width: 52ch;
}

.mugm-footer__cta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.mugm-footer__col{
  border-radius: var(--r20);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
  padding: 16px;
}

.mugm-footer__title{
  font-family: Cinzel, serif;
  font-weight: 900;
  letter-spacing: .6px;
  margin-bottom: 10px;
}

.mugm-footer__links{
  display:grid;
  gap: 8px;
}

.mugm-footer__links a{
  color: rgba(230,233,242,.78);
  text-decoration:none;
  padding: 10px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.14);
}
.mugm-footer__links a:hover{
  color: var(--text);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
}

/* Social */
.mugm-footer__social{
  display:flex;
  gap:10px;
  margin-top: 12px;
  flex-wrap:wrap;
}

.mugm-social{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: rgba(230,233,242,.88);
  text-decoration:none;
  font-weight: 900;
}
.mugm-social i{ font-size: 18px; }
.mugm-social:hover{
  color: var(--text);
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.16);
}
.mugm-social--discord{
  border-color: rgba(88,101,242,.22);
  background: rgba(88,101,242,.12);
}

/* Bottom */
.mugm-footer__bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 14px 0 0;
  border-top: 1px solid rgba(255,255,255,.06);
  color: rgba(170,178,197,.92);
  font-size: 12px;
}

.mugm-footer__copy{
  line-height: 1.6;
}

.mugm-footer__disclaimer{
  display:block;
  opacity: .9;
}

.mugm-footer__powered{
  display:flex;
  align-items:center;
  gap:10px;
  white-space:nowrap;
}

.mugm-footer__ssemu img{
  height: 24px;
  width: auto;
  display:block;
  opacity: .95;
}

/* Responsive */
@media (max-width: 991px){
  .mugm-footer__top{ grid-template-columns: 1fr; }
  .mugm-footer__bottom{ flex-direction: column; align-items:flex-start; }
  .mugm-footer__powered{ white-space: normal; }
}
/* =========================================================
   AAA UserCP (inc/modules/usercp_dropdown.php)
   ========================================================= */

.mugm-usercp{
  border-radius: var(--r20);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
  overflow:hidden;
}

.mugm-usercp__head{
  padding: 14px 14px 12px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: radial-gradient(700px 220px at 20% 0%, rgba(79,163,255,.10), transparent 55%),
              rgba(255,255,255,.03);
}

.mugm-usercp__title{
  font-family: Cinzel, serif;
  font-weight: 900;
  letter-spacing: .6px;
  display:flex;
  align-items:center;
  gap: 10px;
  font-size: 16px;
}

.mugm-usercp__sub{
  margin-top: 4px;
  color: rgba(170,178,197,.92);
  font-size: 12px;
}

.mugm-usercp__grid{
  display:grid;
  gap: 10px;
  padding: 12px;
}

.mugm-usercp__item{
  display:grid;
  grid-template-columns: 44px 1fr 20px;
  gap: 12px;
  align-items:center;
  text-decoration:none;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.16);
  color: rgba(230,233,242,.92);
}

.mugm-usercp__item:hover{
  background: rgba(0,0,0,.22);
  border-color: rgba(255,255,255,.14);
  color: var(--text);
}

.mugm-usercp__icon{
  width:44px;
  height:44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  display:flex;
  align-items:center;
  justify-content:center;
  color: rgba(230,233,242,.92);
}

.mugm-usercp__icon--gem{ border-color: rgba(200,164,90,.22); background: rgba(200,164,90,.10); }
.mugm-usercp__icon--gold{ border-color: rgba(200,164,90,.28); background: rgba(200,164,90,.12); }
.mugm-usercp__icon--aether{ border-color: rgba(79,163,255,.22); background: rgba(79,163,255,.10); }
.mugm-usercp__icon--danger{ border-color: rgba(231,76,60,.25); background: rgba(231,76,60,.10); }

.mugm-usercp__text strong{
  display:block;
  font-weight: 900;
  line-height: 1.2;
}
.mugm-usercp__text small{
  display:block;
  margin-top: 3px;
  color: rgba(170,178,197,.92);
  font-size: 12px;
}

.mugm-usercp__chev{
  justify-self:end;
  opacity: .7;
}
.mugm-usercp__item:hover .mugm-usercp__chev{ opacity: 1; }

.mugm-usercp__item--danger:hover{
  border-color: rgba(231,76,60,.30);
}
/* =========================================================
   AAA Auth (login/register)
   ========================================================= */

.mugm-page-title{
  margin: 18px 0 10px;
  padding: 0;
  text-align:center;
}
.mugm-page-title span{
  font-family: Cinzel, serif;
  font-weight: 900;
  letter-spacing: .6px;
  font-size: clamp(18px, 2.4vw, 26px);
  color: rgba(230,233,242,.98);
  text-shadow: 0 18px 60px rgba(0,0,0,.55);
}

.mugm-auth{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 16px;
  align-items: stretch;
  margin: 16px auto 28px;
}

.mugm-auth__panel{
  position:relative;
  border-radius: var(--r20);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
  overflow:hidden;
  min-height: 420px;
}

.mugm-auth__panelGlow{
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(900px 520px at 25% 10%, rgba(79,163,255,.18), transparent 60%),
    radial-gradient(900px 520px at 80% 0%, rgba(200,164,90,.16), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.28));
  pointer-events:none;
}

.mugm-auth__panelContent{
  position:relative;
  padding: 18px;
}

.mugm-auth__badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 8px 12px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  color: rgba(230,233,242,.92);
  font-weight: 900;
  font-size: 12px;
}

.mugm-auth__headline{
  margin: 12px 0 10px;
  font-family: Cinzel, serif;
  font-weight: 900;
  letter-spacing: .6px;
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.08;
}
.mugm-auth__headline span{
  color: var(--gold);
  text-shadow: 0 18px 60px rgba(200,164,90,.22);
}

.mugm-auth__bullets{
  list-style:none;
  margin: 12px 0 0;
  padding: 0;
  display:grid;
  gap: 10px;
  color: rgba(230,233,242,.88);
}
.mugm-auth__bullets li{
  display:flex;
  align-items:flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.14);
}
.mugm-auth__bullets i{
  margin-top: 2px;
  color: rgba(79,163,255,.95);
}

.mugm-auth__panelCta{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin-top: 14px;
}

.mugm-auth__card{
  border-radius: var(--r20);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
  overflow:hidden;
}

.mugm-auth__cardHead{
  padding: 14px 14px 12px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.10);
}

.mugm-auth__cardTitle{
  font-family: Cinzel, serif;
  font-weight: 900;
  letter-spacing: .6px;
  display:flex;
  align-items:center;
  gap: 10px;
  font-size: 16px;
}

.mugm-auth__cardSub{
  margin-top: 4px;
  color: rgba(170,178,197,.92);
  font-size: 12px;
}

.mugm-form{
  padding: 14px;
  display:grid;
  gap: 12px;
}

.mugm-field{ display:grid; gap: 8px; }

.mugm-label{
  font-weight: 900;
  color: rgba(230,233,242,.92);
  font-size: 12px;
  letter-spacing: .2px;
}

.mugm-input{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
}

.mugm-input i{
  color: rgba(170,178,197,.92);
  width: 18px;
  text-align:center;
}

.mugm-input input{
  width:100%;
  border:0;
  outline:none;
  background: transparent;
  color: rgba(230,233,242,.98);
  font-weight: 700;
}

.mugm-input input::placeholder{ color: rgba(170,178,197,.65); }

.mugm-help{
  display:flex;
  justify-content:flex-end;
}

.mugm-help__link{
  color: rgba(170,178,197,.92);
  text-decoration:none;
  font-weight: 800;
  font-size: 12px;
}
.mugm-help__link:hover{ color: rgba(230,233,242,.98); }

.mugm-hint{
  color: rgba(170,178,197,.92);
  font-size: 12px;
}

.mugm-legal{
  color: rgba(170,178,197,.92);
  font-size: 12px;
  line-height: 1.5;
}
.mugm-legal a{ color: rgba(79,163,255,.95); }

.mugm-auth__switch{
  text-align:center;
  color: rgba(170,178,197,.92);
  font-size: 12px;
}
.mugm-auth__switch a{
  color: rgba(79,163,255,.95);
  font-weight: 900;
  text-decoration:none;
}
.mugm-auth__switch a:hover{ color: rgba(230,233,242,.98); }

/* Alerts (AAA) */
.mugm-alert{
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.20);
  color: rgba(230,233,242,.95);
  font-weight: 700;
}
.mugm-alert--error,
.mugm-alert--danger{
  border-color: rgba(231,76,60,.28);
  background: rgba(231,76,60,.10);
}
.mugm-alert--success{
  border-color: rgba(46,204,113,.26);
  background: rgba(46,204,113,.10);
}
.mugm-alert--warning{
  border-color: rgba(200,164,90,.26);
  background: rgba(200,164,90,.10);
}
.mugm-alert--info{
  border-color: rgba(79,163,255,.26);
  background: rgba(79,163,255,.10);
}

/* Responsive */
@media (max-width: 991px){
  .mugm-auth{ grid-template-columns: 1fr; }
  .mugm-auth__panel{ min-height: 320px; }
}
/* =========================================================
   AAA Downloads
   ========================================================= */

.mugm-dl-hero,
.mugm-don-hero{
  position:relative;
  border-radius: var(--r20);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
  overflow:hidden;
  margin: 16px 0 18px;
}

.mugm-dl-hero__bg,
.mugm-don-hero__bg{
  position:absolute; inset:-2px;
  background:
    radial-gradient(900px 520px at 25% 10%, rgba(79,163,255,.16), transparent 60%),
    radial-gradient(900px 520px at 80% 0%, rgba(200,164,90,.14), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.26));
  pointer-events:none;
}

.mugm-dl-hero__inner,
.mugm-don-hero__inner{
  position:relative;
  padding: 16px;
  display:flex;
  gap:16px;
  align-items:flex-start;
  justify-content:space-between;
  flex-wrap:wrap;
}

.mugm-dl-hero__badge,
.mugm-don-hero__badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.16);
  font-weight: 900;
  font-size: 12px;
}

.mugm-dl-hero__title,
.mugm-don-hero__title{
  margin: 10px 0 6px;
  font-family: Cinzel, serif;
  font-weight: 900;
  letter-spacing: .6px;
  font-size: clamp(20px, 2.6vw, 30px);
  line-height: 1.1;
}

.mugm-dl-hero__sub,
.mugm-don-hero__sub{
  margin:0;
  color: rgba(170,178,197,.92);
  max-width: 70ch;
}

.mugm-dl-hero__trust,
.mugm-don-hero__trust{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.mugm-dl-trust{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.14);
  color: rgba(230,233,242,.92);
  font-weight: 800;
  font-size: 12px;
}

/* Tips */
.mugm-dl-tipgrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mugm-dl-tip{
  border-radius: var(--r20);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.14);
  padding: 14px;
}

.mugm-dl-tip__title{
  font-weight: 900;
  display:flex;
  align-items:baseline;
  gap:10px;
  margin-bottom: 10px;
  font-size: 14px;
}
.mugm-dl-tip__title small{
  color: rgba(170,178,197,.92);
  font-weight: 800;
}

.mugm-dl-tip--gold{ border-color: rgba(200,164,90,.22); }
.mugm-dl-tip--aether{ border-color: rgba(79,163,255,.22); }

.mugm-dl-ul{ margin:0; padding-left: 18px; color: rgba(230,233,242,.88); }
.mugm-dl-ul li{ margin: 6px 0; }

/* Download list */
.mugm-dl-list{
  display:grid;
  gap: 10px;
}

.mugm-dl-item{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
  flex-wrap:wrap;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.14);
}

.mugm-dl-item__name{
  display:flex;
  align-items:center;
  gap:10px;
}
.mugm-dl-item__desc{
  margin-top: 4px;
  color: rgba(170,178,197,.92);
  font-size: 12px;
  max-width: 80ch;
}

.mugm-dl-item__meta{
  display:flex;
  align-items:center;
  gap: 10px;
}

.mugm-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: rgba(230,233,242,.92);
  font-weight: 900;
  font-size: 12px;
}

/* =========================================================
   AAA Donation
   ========================================================= */

.mugm-don-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mugm-don-card{
  text-decoration:none;
  color: rgba(230,233,242,.92);
  border-radius: var(--r20);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.14);
  padding: 14px;
  display:grid;
  gap: 10px;
}

.mugm-don-card:hover{
  border-color: rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
  color: var(--text);
}

.mugm-don-card__logo{
  height: 44px;
  display:flex;
  align-items:center;
}
.mugm-don-card__logo img{
  max-height: 40px;
  width:auto;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,.35));
}

.mugm-don-card__name{
  font-family: Cinzel, serif;
  font-weight: 900;
  letter-spacing: .4px;
  font-size: 16px;
}

.mugm-don-card__meta{
  color: rgba(170,178,197,.92);
  font-size: 12px;
}

.mugm-don-card__cta{ margin-top: 4px; }

.mugm-don-pricebox{
  display:grid;
  gap: 10px;
}

.mugm-don-price{
  display:flex;
  justify-content:space-between;
  gap: 12px;
  flex-wrap:wrap;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.14);
}
.mugm-don-price span{ color: rgba(170,178,197,.92); font-weight: 800; }
.mugm-don-price strong{
  font-family: Orbitron, Inter, sans-serif;
  font-weight: 900;
  color: rgba(230,233,242,.98);
}

.mugm-don-vipcta{
  margin-top: 12px;
  display:flex;
  justify-content:center;
}

/* Responsive */
@media (max-width: 991px){
  .mugm-dl-tipgrid{ grid-template-columns: 1fr; }
  .mugm-don-grid{ grid-template-columns: 1fr; }
  .mugm-dl-item__meta{ width:100%; justify-content:space-between; }
}
/* =========================================================
   AAA Payments (MercadoPago / PayPal)
   ========================================================= */

.mugm-pay-hero{
  position:relative;
  border-radius: var(--r20);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
  overflow:hidden;
  margin: 16px 0 18px;
}
.mugm-pay-hero__bg{
  position:absolute; inset:-2px;
  background:
    radial-gradient(900px 520px at 25% 10%, rgba(79,163,255,.16), transparent 60%),
    radial-gradient(900px 520px at 80% 0%, rgba(200,164,90,.14), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.26));
  pointer-events:none;
}
.mugm-pay-hero__inner{
  position:relative;
  padding: 16px;
  display:flex;
  gap:16px;
  align-items:flex-start;
  justify-content:space-between;
  flex-wrap:wrap;
}
.mugm-pay-hero__badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.16);
  font-weight: 900;
  font-size: 12px;
}
.mugm-pay-hero__title{
  margin: 10px 0 6px;
  font-family: Cinzel, serif;
  font-weight: 900;
  letter-spacing: .6px;
  font-size: clamp(20px, 2.6vw, 30px);
  line-height: 1.1;
}
.mugm-pay-hero__sub{ margin:0; color: rgba(170,178,197,.92); max-width: 70ch; }
.mugm-pay-hero__trust{ display:flex; gap:10px; flex-wrap:wrap; }

.mugm-pay-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.mugm-pay-card{
  border-radius: var(--r20);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.14);
  padding: 14px;
  display:grid;
  gap: 12px;
  position:relative;
  overflow:hidden;
}
.mugm-pay-card.is-featured{
  border-color: rgba(200,164,90,.28);
  background: rgba(200,164,90,.06);
}
.mugm-pay-card.is-featured::before{
  content:"Recomendado";
  position:absolute;
  top: 12px; right: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(200,164,90,.14);
  border: 1px solid rgba(200,164,90,.22);
  color: rgba(230,233,242,.98);
  font-weight: 900;
  font-size: 11px;
}

.mugm-pay-card__top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap: 10px;
  flex-wrap:wrap;
}
.mugm-pay-card__title{
  font-family: Cinzel, serif;
  font-weight: 900;
  letter-spacing: .5px;
  font-size: 18px;
}
.mugm-pay-card__title span{
  color: rgba(170,178,197,.92);
  font-weight: 900;
  font-size: 12px;
  margin-left: 6px;
}
.mugm-pay-card__price{
  font-family: Orbitron, Inter, sans-serif;
  font-weight: 900;
  font-size: 18px;
}
.mugm-pay-card__price small{
  font-family: Inter, sans-serif;
  font-weight: 800;
  color: rgba(170,178,197,.92);
  font-size: 12px;
  margin-left: 6px;
}

.mugm-pay-card__meta{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
}

@media (max-width: 991px){
  .mugm-pay-grid{ grid-template-columns: 1fr; }
}
/* =========================================================
   AAA Events Page
   ========================================================= */

.mugm-events-head{
  margin: 12px 0 14px;
  display:grid;
  gap: 10px;
}
.mugm-events-tabs{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.mugm-events-tab{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: rgba(230,233,242,.92);
  font-weight: 900;
  letter-spacing:.2px;
}
.mugm-events-tab.is-blue{ border-color: rgba(79,163,255,.22); background: rgba(79,163,255,.10); }
.mugm-events-tab.is-gold{ border-color: rgba(200,164,90,.22); background: rgba(200,164,90,.10); }
.mugm-events-tab.is-red { border-color: rgba(231,76,60,.22); background: rgba(231,76,60,.10); }

.mugm-events-sub{
  color: rgba(170,178,197,.92);
  display:flex;
  gap:10px;
  align-items:center;
}

.mugm-events-cards{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.mugm-evcard{
  border-radius: var(--r20);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.14);
  overflow:hidden;
  box-shadow: var(--shadow);
  display:grid;
}
.mugm-evcard.is-blue{ border-color: rgba(79,163,255,.18); }
.mugm-evcard.is-gold{ border-color: rgba(200,164,90,.20); }
.mugm-evcard.is-red { border-color: rgba(231,76,60,.22); }

.mugm-evcard__media{
  position:relative;
  height: 140px;
  background: rgba(255,255,255,.03);
  overflow:hidden;
}
.mugm-evcard__media img{
  width:100%;
  height:100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.05);
  opacity:.92;
}
.mugm-evcard__media::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.55));
}

.mugm-evcard__body{
  padding: 12px 12px 14px;
  display:grid;
  gap: 10px;
}
.mugm-evcard__title{
  margin:0;
  font-family: Cinzel, serif;
  font-weight: 900;
  letter-spacing:.5px;
  font-size: 16px;
  min-height: 22px;
}
.mugm-evcard__footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.mugm-evcard__label{
  color: rgba(170,178,197,.92);
  font-weight: 800;
  font-size: 12px;
  display:inline-flex;
  align-items:center;
  gap: 8px;
}
.mugm-evcard__time{
  font-family: Orbitron, Inter, sans-serif;
  font-weight: 900;
  letter-spacing:.2px;
  color: rgba(230,233,242,.98);
}

/* responsive */
@media (max-width: 991px){
  .mugm-events-cards{ grid-template-columns: 1fr; }
  .mugm-evcard__media{ height: 170px; }
}
/* =========================================================
   AAA INFO (Wiki) — Sidebar + Content + Tables
   ========================================================= */

.mugm-page-title{
  margin: 18px 0 10px;
}
.mugm-page-title > span{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family: Cinzel, serif;
  font-weight: 900;
  letter-spacing:.6px;
  color: var(--text);
  font-size: 20px;
}

/* wrapper */
.mugm-info{
  display:grid;
  grid-template-columns: 320px 1fr;
  gap: 14px;
  align-items:start;
}

/* sidebar */
.mugm-info-sidebar{
  position: sticky;
  top: 132px; /* topbar + header */
  border-radius: var(--r20);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
  overflow:hidden;
}

.mugm-info-sidebar__head{
  padding: 14px 14px 10px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.03);
}
.mugm-info-sidebar__title{
  margin:0 0 10px;
  font-family: Cinzel, serif;
  font-weight: 900;
  letter-spacing:.6px;
  font-size: 16px;
  display:flex;
  align-items:center;
  gap:10px;
}
.mugm-info-search{
  position:relative;
}
.mugm-info-search input{
  width:100%;
  padding: 10px 12px 10px 36px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  color: var(--text);
  outline:none;
}
.mugm-info-search i{
  position:absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(170,178,197,.9);
}

/* nav list */
.mugm-info-nav{
  list-style:none;
  margin:0;
  padding: 10px 10px 14px;
  display:grid;
  gap: 6px;
}
.mugm-info-link{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 10px 10px;
  border-radius: 14px;
  text-decoration:none;
  color: rgba(230,233,242,.86);
  border: 1px solid transparent;
  background: transparent;
  font-weight: 800;
}
.mugm-info-link:hover{
  background: rgba(255,255,255,.06);
  color: var(--text);
}
.mugm-info-link.is-active{
  border-color: rgba(79,163,255,.28);
  background: rgba(79,163,255,.10);
  color: #EAF3FF;
}
.mugm-info-link i{
  width: 18px;
  text-align:center;
  color: rgba(200,164,90,.9);
}

/* groups (accordion) */
.mugm-info-group{
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 10px;
}
.mugm-info-group__toggle{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-weight: 900;
  cursor:pointer;
}
.mugm-info-group__toggle:hover{ background: rgba(255,255,255,.06); }
.mugm-info-group__toggle .left{
  display:inline-flex; align-items:center; gap:10px;
}
.mugm-info-group__toggle .chev{
  color: rgba(170,178,197,.9);
  transition: transform .18s ease;
}
.mugm-info-group.is-open .mugm-info-group__toggle .chev{
  transform: rotate(180deg);
}
.mugm-info-sub{
  list-style:none;
  margin: 8px 0 2px;
  padding: 0;
  display:none;
  gap:6px;
}
.mugm-info-group.is-open .mugm-info-sub{ display:grid; }
.mugm-info-sub a{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 9px 10px;
  border-radius: 14px;
  text-decoration:none;
  color: rgba(230,233,242,.84);
  background: rgba(0,0,0,.10);
  border: 1px solid rgba(255,255,255,.06);
  font-weight: 800;
}
.mugm-info-sub a:hover{
  background: rgba(255,255,255,.06);
  color: var(--text);
}
.mugm-info-sub a.is-active{
  border-color: rgba(200,164,90,.28);
  background: rgba(200,164,90,.10);
}

/* content card */
.mugm-info-content{
  border-radius: var(--r20);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
  padding: 16px 16px 18px;
}

/* typography inside content */
.mugm-info-content h2{
  margin: 4px 0 10px;
  font-family: Cinzel, serif;
  font-weight: 900;
  letter-spacing:.6px;
  font-size: 26px;
}
.mugm-info-content h3{
  margin: 18px 0 10px;
  font-family: Cinzel, serif;
  font-weight: 900;
  letter-spacing:.5px;
  font-size: 18px;
  color: rgba(230,233,242,.96);
}
.mugm-info-content p{
  color: rgba(170,178,197,.95);
  line-height: 1.6;
}
.mugm-info-content ul{
  margin: 8px 0 0;
  padding-left: 18px;
  color: rgba(230,233,242,.86);
}
.mugm-info-content li{ margin: 6px 0; }

/* highlight (tu clase existente) */
.mugm-info-content .highlight{
  margin: 14px 0;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(200,164,90,.22);
  background: rgba(200,164,90,.10);
  color: rgba(234,243,255,.95);
  font-weight: 800;
}

/* general-table-ui (estilo AAA) */
.general-table-ui{
  width:100%;
  margin: 10px 0 6px;
  border-collapse: separate;
  border-spacing: 0;
  overflow:hidden;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.16);
}
.general-table-ui thead th{
  background: rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: rgba(230,233,242,.95);
  font-weight: 900;
  padding: 10px 10px;
}
.general-table-ui td{
  padding: 10px 10px;
  color: rgba(230,233,242,.86);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.general-table-ui tr:last-child td{ border-bottom: 0; }
.general-table-ui tr:hover td{
  background: rgba(255,255,255,.04);
}

/* responsive */
@media (max-width: 991px){
  .mugm-info{ grid-template-columns: 1fr; }
  .mugm-info-sidebar{ position: relative; top:auto; }
}
/* =========================================================
   AAA EVENTS — grid + cards
   ========================================================= */

.mugm-events-head{
  margin: 10px 0 14px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
  flex-wrap:wrap;
}

.mugm-events-tabs{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap:wrap;
}
.mugm-events-tab{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: rgba(230,233,242,.92);
  font-weight: 900;
}
.mugm-events-tab.is-blue{
  border-color: rgba(79,163,255,.28);
  background: rgba(79,163,255,.10);
}
.mugm-events-tab.is-gold{
  border-color: rgba(200,164,90,.28);
  background: rgba(200,164,90,.10);
}
.mugm-events-tab.is-red{
  border-color: rgba(231,76,60,.28);
  background: rgba(231,76,60,.10);
}

.mugm-events-sub{
  color: rgba(170,178,197,.95);
  font-weight: 700;
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.12);
}

.mugm-events-grid{ padding: 14px; }

.mugm-events-cards{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}

.mugm-evcard{
  display:grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  border-radius: var(--r20);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  overflow:hidden;
  box-shadow: var(--shadow);
}

.mugm-evcard.is-blue{ border-color: rgba(79,163,255,.18); }
.mugm-evcard.is-gold{ border-color: rgba(200,164,90,.18); }
.mugm-evcard.is-red{  border-color: rgba(231,76,60,.18); }

.mugm-evcard__media{
  position:relative;
  background:
    radial-gradient(180px 120px at 30% 20%, rgba(255,255,255,.08), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.05));
  border-right: 1px solid rgba(255,255,255,.06);
  display:flex;
  align-items:center;
  justify-content:center;
}
.mugm-evcard__media img{
  width: 92%;
  height: auto;
  filter: drop-shadow(0 14px 30px rgba(0,0,0,.6));
  opacity:.98;
}

.mugm-evcard__body{
  padding: 12px 12px 12px 0;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height: 110px;
}

.mugm-evcard__title{
  margin: 0;
  font-family: Cinzel, serif;
  font-weight: 900;
  letter-spacing:.4px;
  font-size: 16px;
  color: rgba(230,233,242,.96);
}

/* los IDs name los llena el timer; asegurar consistencia */
.eventstimer{
  font-family: Cinzel, serif;
  font-weight: 900;
  letter-spacing:.4px;
  color: rgba(230,233,242,.96);
}

/* footer */
.mugm-evcard__footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.mugm-evcard__label{
  color: rgba(170,178,197,.95);
  font-weight: 800;
  font-size: 12px;
  display:inline-flex;
  align-items:center;
  gap: 8px;
}
.mugm-evcard__time{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: rgba(234,243,255,.95);
  font-family: Orbitron, Inter, sans-serif;
  font-weight: 900;
  font-size: 12px;
  letter-spacing:.2px;
  min-width: 120px;
}

/* responsive */
@media (max-width: 991px){
  .mugm-events-cards{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .mugm-evcard{ grid-template-columns: 110px 1fr; }
}
@media (max-width: 640px){
  .mugm-events-cards{ grid-template-columns: 1fr; }
  .mugm-evcard__body{ padding-right: 12px; }
}
/* =========================================================
   AAA NEWS — cards + grid + pagination
   ========================================================= */

.news-section{
  margin-top: 14px;
}

.news-section .section-title{
  margin: 0 0 12px;
  font-family: Cinzel, serif;
  font-weight: 900;
  letter-spacing: .5px;
  color: rgba(230,233,242,.96);
  display:flex;
  align-items:center;
  gap:10px;
}

/* grid */
.news-row{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}

/* card */
.news-card{
  border-radius: var(--r20);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  min-height: 100%;
}

/* image */
.news-card > img{
  width:100%;
  height: 170px;
  object-fit: cover;
  display:block;
  filter: contrast(1.02) saturate(1.02);
}

/* body */
.news-card .card-body{
  padding: 12px 12px 14px;
  display:flex;
  flex-direction:column;
  gap: 8px;
}

.news-card small.text-muted{
  color: rgba(170,178,197,.92) !important;
  font-weight: 700;
  display:block;
}

.news-card .card-title{
  margin: 0;
  font-family: Cinzel, serif;
  font-weight: 900;
  letter-spacing: .4px;
  font-size: 16px;
  line-height: 1.2;
  color: rgba(230,233,242,.96);
}

.news-card .card-text{
  margin: 0;
  color: rgba(170,178,197,.95);
  line-height: 1.55;
  font-size: 13px;
}

/* CTA */
.news-card .read-more-btn{
  margin-top: auto;
  padding: 0;
  text-align:left;
  color: rgba(79,163,255,.95);
  font-weight: 900;
  text-decoration:none;
  border: 0;
}
.news-card .read-more-btn:hover{
  color: rgba(0,242,255,.95);
  text-decoration:none;
}

/* pagination */
.pagination-wrapper{
  margin-top: 14px;
  display:flex;
  justify-content:center;
}

.pagination{
  margin: 0;
  border-radius: 999px;
  overflow:hidden;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
}
.pagination>li>a,
.pagination>li>span{
  background: transparent !important;
  border: 0 !important;
  color: rgba(230,233,242,.88) !important;
  font-weight: 900;
  padding: 10px 14px;
}
.pagination>li>a:hover{
  background: rgba(255,255,255,.06) !important;
  color: rgba(230,233,242,.96) !important;
}
.pagination>li.active>a{
  background: rgba(200,164,90,.14) !important;
  color: rgba(255,255,255,.95) !important;
}

/* responsive */
@media (max-width: 991px){
  .news-row{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .news-card > img{ height: 160px; }
}
@media (max-width: 640px){
  .news-row{ grid-template-columns: 1fr; }
  .news-card > img{ height: 180px; }
}
/* =========================
   Rankings (AAA)
   ========================= */

.mugm-page-title{
  margin: 22px auto 14px;
  width: min(1180px, calc(100% - 32px));
}
.mugm-page-title > span{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family: Cinzel, serif;
  font-weight: 800;
  letter-spacing: .5px;
  font-size: 20px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow);
}

/* wrapper ranking */
.mugm-rankings{
  padding: 16px;
}

/* Menu de rankings (lo imprime el CMS; lo hacemos robusto) */
.mugm-rankings .rankings-menu,
.mugm-rankings .rankings-menu ul{
  list-style:none;
  margin: 0 0 12px;
  padding: 0;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.mugm-rankings .rankings-menu li{ margin:0; padding:0; }
.mugm-rankings .rankings-menu a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 10px 12px;
  border-radius: 999px;
  text-decoration:none;
  font-weight: 800;
  color: var(--muted);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.mugm-rankings .rankings-menu a:hover{
  color: var(--text);
  background: rgba(255,255,255,.06);
}
.mugm-rankings .rankings-menu .active a,
.mugm-rankings .rankings-menu a.active{
  color:#120E06;
  background: linear-gradient(180deg, var(--gold), var(--gold2));
  border-color: rgba(200,164,90,.35);
}

/* tablas */
.mugm-table{
  width:100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow:hidden;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.mugm-table thead th{
  font-size:12px;
  letter-spacing:.6px;
  text-transform:uppercase;
  color: rgba(230,233,242,.85);
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 12px 12px;
  white-space: nowrap;
}
.mugm-table tbody td{
  padding: 12px 12px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  vertical-align: middle;
  color: rgba(230,233,242,.92);
}
.mugm-table tbody tr:hover td{
  background: rgba(255,255,255,.03);
}
.mugm-table tbody tr:last-child td{ border-bottom:0; }

.mugm-td-center{ text-align:center; }
.mugm-td-right{ text-align:right; }

/* flags + avatar */
.img-flag{ height:15px; width:auto; border-radius:3px; opacity:.9; }
.rankings-class-image{ height:22px; width:auto; filter: drop-shadow(0 8px 20px rgba(0,0,0,.35)); }

/* badges online/offline */
.badge-online, .badge-offline{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  border: 1px solid rgba(255,255,255,.10);
}
.badge-online{
  background: rgba(46,204,113,.12);
  border-color: rgba(46,204,113,.22);
  color: #BFF4D4;
}
.badge-offline{
  background: rgba(231,76,60,.10);
  border-color: rgba(231,76,60,.22);
  color: #FFC9C4;
}

/* medallas */
.medal-gold{ color: #f5d76e; }
.medal-silver{ color: #cfd8dc; }
.medal-bronze{ color: #d39b6a; }

/* responsive */
@media (max-width: 991px){
  .mugm-table thead{ display:none; }
  .mugm-table, .mugm-table tbody, .mugm-table tr, .mugm-table td{ display:block; width:100%; }
  .mugm-table tr{ border-bottom: 1px solid rgba(255,255,255,.08); }
  .mugm-table td{
    display:flex;
    justify-content:space-between;
    gap:12px;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }
  .mugm-table td::before{
    content: attr(data-label);
    color: var(--muted);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-size: 11px;
  }
}
/* USERCP – AAA UI */

.mugm-usercp-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
}
.mugm-usercp-grid .full{
  grid-column:1 / -1;
}

.mugm-card{
  background:#0d1118;
  border:1px solid #1f2633;
  border-radius:14px;
  padding:16px;
}

.mugm-card h3{
  margin-bottom:12px;
  font-size:15px;
  color:#f5c77a;
  display:flex;
  align-items:center;
  gap:8px;
}

.mugm-user-list{
  list-style:none;
  padding:0;
  margin:0;
}
.mugm-user-list li{
  display:flex;
  justify-content:space-between;
  padding:6px 0;
  border-bottom:1px solid rgba(255,255,255,.05);
}
.mugm-user-list span{
  color:#9ca3af;
}
.link{
  margin-left:8px;
  font-size:12px;
  color:#f5c77a;
}

.mugm-form label{
  display:block;
  margin-top:10px;
  color:#9ca3af;
}
.mugm-form select,
.mugm-form input{
  width:100%;
  padding:8px 10px;
  margin-top:4px;
  background:#05070c;
  border:1px solid #252d3c;
  border-radius:8px;
  color:#fff;
}

.mugm-btn-gold{
  width:100%;
  margin-top:14px;
  padding:10px;
  border-radius:10px;
  border:none;
  cursor:pointer;
  background:linear-gradient(135deg,#f5c77a,#caa34d);
  color:#000;
  font-weight:700;
}

.mugm-alert{
  margin:10px 0;
  padding:10px 14px;
  border-radius:10px;
}
.mugm-alert.success{background:#12381f;color:#6aff9d}
.mugm-alert.error{background:#3a1414;color:#ff8a8a}

@media(max-width:900px){
  .mugm-usercp-grid{
    grid-template-columns:1fr;
  }
}
/* ===== News (pro grid) ===== */
.news-section{ margin-top: 18px; }

.news-row{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

/* responsive */
@media (max-width: 1100px){
  .news-row{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px){
  .news-row{ grid-template-columns: 1fr; }
}

.news-card{
  background: rgba(10,14,26,.75);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.news-card > img{
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.05);
}

.news-card .card-body{
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.news-card .card-title{
  margin: 0;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .2px;

  /* clamp */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card .card-text{
  margin: 0;
  color: rgba(255,255,255,.78);
  line-height: 1.45;

  /* clamp */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card .read-more-btn{
  margin-top: auto;                 /* pega el botón abajo */
  border-radius: 12px;
  padding: 10px 12px;
  text-align: center;
  background: rgba(0,200,255,.12);
  border: 1px solid rgba(0,200,255,.18);
  color: #b9f0ff;
  font-weight: 700;
  text-decoration: none;
}
.news-card .read-more-btn:hover{
  background: rgba(0,200,255,.18);
}
/* ================================
   Mobile Nav – Drawer seguro
================================ */

/* Desktop nav visible por defecto */
.mugm-nav--desktop { display: block; }
.mugm-hamburger { display: none; }

/* Mobile nav oculto por defecto */
.mugm-nav--mobile { display: none; }

/* Breakpoint: mobile/tablet */
@media (max-width: 992px){
  /* ocultar el menú desktop */
  .mugm-nav--desktop { display: none !important; }
      .mugm-nav--mobile .mugm-shell{
  display: flex !important;
  flex-direction: column !important;
}

.mugm-nav--mobile .mugm-nav__list{
  grid-template-columns: 1fr !important;
}

.mugm-nav--mobile ul,
.mugm-nav--mobile ul > li{
  float: none !important;
  display: block !important;
  width: 100% !important;
}

  

  /* mostrar hamburguesa */
  .mugm-hamburger { 
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(10,14,26,.55);
    color: #fff;
  }

  /* drawer container */
  .mugm-nav--mobile{
    display: block !important;
    position: fixed;
    left: 0; right: 0;
    top: 72px;                 /* ajustá si tu header mide distinto */
    height: calc(100vh - 72px);
    background: rgba(6,9,18,.92);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,.10);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
    z-index: 9999;
  }

  /* estado abierto */
  .mugm-nav--mobile.show{
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* lista */
  .mugm-nav--mobile .mugm-nav__list{
    list-style: none;
    margin: 0;
    padding: 16px;
    display: grid;
    gap: 10px;
  }

  .mugm-nav--mobile .mugm-nav__list > li{
    margin: 0;
  }

  .mugm-nav--mobile .mugm-nav__list a{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 14px;
    border-radius: 14px;
    text-decoration: none;
    color: rgba(255,255,255,.92);
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.03);
  }

  .mugm-nav--mobile .mugm-nav__list a:hover{
    background: rgba(255,255,255,.06);
  }

  /* CTA sección inferior */
  .mugm-mobile-cta{
    padding: 0 16px 16px;
    display: grid;
    gap: 10px;
  }
}

/* Evitar scroll del body cuando el menú está abierto */
body.mugm-nav-open{ overflow: hidden; }

/* sticky premium: al scrollear, más sólido */
.mugm-header.is-scrolled{
  backdrop-filter: blur(10px);
  background: rgba(6,9,18,.78);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
/* =========================================
   HOME GRID (2 columnas premium)
   ========================================= */

.mugm-home-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

/* Desktop: 2 columnas */
@media (min-width: 992px){
  .mugm-home-grid{
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, .85fr);
    gap: 22px;
    align-items: start;
  }
}

/* Columna derecha sticky (solo desktop) */
@media (min-width: 992px){
  .mugm-home-sidebar{
    position: sticky;
    top: 96px; /* ajusta si tu header/topbar tiene otra altura */
  }
}

/* “Cards” dentro del grid, para que se sienta premium */
.mugm-home-block{
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 14px;
  overflow: hidden;
}

@media (min-width: 992px){
  .mugm-home-block{ padding: 16px; }
}

/* Títulos de secciones dentro del home */
.mugm-home-block .mugm-section__head{
  margin-bottom: 12px;
}

/* Si algún módulo trae tablas anchas: que no rompan el layout */
.mugm-home-block .table-responsive,
.mugm-home-block table{
  width: 100%;
}

/* Compactar un poco el slider en home para que se vea más “pro” */
.mugm-home-hero-stack{
  display: grid;
  gap: 18px;
}

/* Sticky premium del header (si ya lo tenías, dejalo; esto lo refuerza) */
.mugm-header.is-scrolled{
  backdrop-filter: blur(10px);
  background: rgba(6,9,18,.78);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* Ajuste: el icono solo de imágenes (sin texto) no quede “perdido” */
.mugm-section__title.mugm-title--icononly{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.mugm-section__title.mugm-title--icononly:after{
  content: "Imágenes del servidor";
  font-weight: 700;
  letter-spacing: .2px;
  opacity: .92;
}
/* =========================================================
   HOME GRID – Fixes PRO (carousel/ranking/stretch + balance)
   Pegá esto al final de aaa.css
   ========================================================= */

/* Asegura que las columnas no se rompan por contenido ancho */
.mugm-home-grid,
.mugm-home-main,
.mugm-home-sidebar{
  min-width: 0;
}

/* Sidebar como stack prolijo */
.mugm-home-sidebar{
  display: grid;
  gap: 18px;
}

/* Cards más “premium” y sin recortes raros */
.mugm-home-block{
  border-radius: 18px;
  overflow: hidden; /* ok para estética */
}

/* Si algún módulo mete cosas absolutas o sombras, que no corte feo */
.mugm-home-block .mugm-section__head{
  padding: 2px 2px 10px;
}

/* --- Carousel: evita estirado / fuerza ratio prolijo --- */
.mugm-home-block--carousel .swiper,
.mugm-home-block--carousel .swiper-wrapper{
  width: 100%;
}

.mugm-home-block--carousel .swiper{
  /* contenedor con ratio para que no se “aplane” */
  aspect-ratio: 16 / 10;
  height: auto !important;
  max-height: 420px;
  border-radius: 16px;
  overflow: hidden;
}

/* Slides ocupan el alto del contenedor */
.mugm-home-block--carousel .swiper-slide{
  height: 100% !important;
}

/* Imágenes: nunca deformar */
.mugm-home-block--carousel img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

/* --- Ranking: que NO estire toda la página --- */
/* Convertimos el ranking en “panel” con scroll interno */
@media (min-width: 992px){
  .mugm-home-block--ranking{
    /* Ajustá si querés más/menos alto */
    max-height: calc(100vh - 220px);
    overflow: auto;
    overscroll-behavior: contain;
  }

  /* scrollbar más discreto */
  .mugm-home-block--ranking::-webkit-scrollbar{
    width: 10px;
  }
  .mugm-home-block--ranking::-webkit-scrollbar-thumb{
    background: rgba(255,255,255,.12);
    border-radius: 12px;
  }
}

/* Tablas dentro del ranking: que no rompan el ancho */
.mugm-home-block--ranking table{
  width: 100%;
}
.mugm-home-block--ranking .table-responsive{
  border: 0;
  margin: 0;
}

/* Micro-ajuste: si el ranking usa cards/listados, que respiren */
.mugm-home-block--ranking .mugm-rank,
.mugm-home-block--ranking .rank,
.mugm-home-block--ranking .ranking,
.mugm-home-block--ranking .top10{
  min-width: 0;
}

/* --- Sticky sidebar: que se vea pro (pero sin exagerar) --- */
@media (min-width: 992px){
  .mugm-home-sidebar{
    position: sticky;
    top: 96px; /* ajustá si tu header/topbar cambia */
    align-content: start;
  }
}
/* =========================================================
   HOME AAA — FIX DISTRIBUCIÓN / SIDEBAR / RANKINGS / CAROUSEL
   Pegarlo al FINAL de aaa.css
========================================================= */

/* Contenedor general del home */
.mugm-home .mugm-home-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

/* Desktop: sidebar más ancha para que el ranking respire */
@media (min-width: 992px){
  .mugm-home .mugm-home-grid{
    grid-template-columns: minmax(0, 1.40fr) minmax(420px, 0.95fr);
    gap: 24px;
    align-items: start;
  }
}

/* Sidebar: que no “se estire” y que tenga buen ritmo vertical */
.mugm-home .mugm-home-sidebar{
  display: grid;
  gap: 18px;
  align-content: start;
}

/* Sticky solo desktop */
@media (min-width: 992px){
  .mugm-home .mugm-home-sidebar{
    position: sticky;
    top: 104px; /* ajustá si tu header/topbar cambia */
  }
}

/* Cards de sidebar: look premium + padding consistente */
.mugm-home .mugm-home-block{
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 16px;
  overflow: hidden; /* evita “bordes” raros de hijos */
}

/* Títulos en sidebar */
.mugm-home .mugm-home-block .mugm-section__head{
  margin-bottom: 12px;
}

/* ---------- CAROUSEL (Galería) ---------- */
/* Evita “estirado”: definimos tamaño de cards + aspect ratio */
.mugm-home .mugm-home-block--carousel .mugm-gallery__viewport{
  overflow: hidden;
}

.mugm-home .mugm-home-block--carousel .mugm-gallery__track{
  display: flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 6px;
}

.mugm-home .mugm-home-block--carousel .mugm-gallery__card{
  flex: 0 0 168px;            /* ancho fijo, se ve pro */
  aspect-ratio: 16 / 10;      /* evita deformación */
  border-radius: 14px;
  overflow: hidden;
}

@media (min-width: 1200px){
  .mugm-home .mugm-home-block--carousel .mugm-gallery__card{
    flex-basis: 182px;
  }
}

.mugm-home .mugm-home-block--carousel .mugm-gallery__img{
  width: 100%;
  height: 100%;
  object-fit: cover;          /* clave para no deformar */
  display: block;
}

/* ---------- RANKING ---------- */
/* En sidebar: FORZAR 1 columna (2 columnas queda feo en ancho chico) */
.mugm-home .mugm-home-block--ranking .mugm-leaderboards__grid{
  display: grid;
  grid-template-columns: 1fr !important;
  gap: 14px;
}

/* Que el ranking NO meta scroll interno raro */
.mugm-home .mugm-home-block--ranking .mugm-leaderboard__list{
  max-height: none !important;
  overflow: visible !important;
}

/* Compactar entries para que “se vea premium”, más aire y menos ladrillo */
.mugm-home .mugm-home-block--ranking .mugm-entry{
  padding: 10px 10px;
  border-radius: 14px;
}

.mugm-home .mugm-home-block--ranking .mugm-entry__statlabel{
  display: none; /* más limpio */
}

.mugm-home .mugm-home-block--ranking .mugm-entry__statvalue{
  font-weight: 800;
  letter-spacing: .2px;
}

/* Si algún módulo mete width/float legacy, lo neutralizamos dentro del home */
.mugm-home .mugm-home-grid *{
  max-width: 100%;
}

/* Ajuste fino: el slider dentro del grid que no “empuje” con márgenes raros */
.mugm-home .mugm-home-hero-stack{
  display: grid;
  gap: 18px;
}

/* =========================================
   HOME — Alineación premium (slider vs sidebar)
   ========================================= */

/* Alto objetivo del bloque superior (slider + carousel) */
:root{
  --mugm-home-top-h: clamp(320px, 34vw, 420px);
}

/* 1) Slider: que tenga un alto consistente */
.mugm-hslider__frame{
  min-height: var(--mugm-home-top-h);
}

/* 2) Carousel block: que calce con el slider */
.mugm-home-block--carousel{
  min-height: var(--mugm-home-top-h);
  display: flex;
  flex-direction: column;
}

/* El contenido del carousel que se estire sin deformarse */
.mugm-home-block--carousel .mugm-gallery{
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mugm-home-block--carousel .mugm-gallery__viewport{
  flex: 1;
  min-height: 0; /* important para que no “empuje” */
}

/* Asegura que las cards no parezcan “estiradas” */
.mugm-gallery__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* =========================================
   Ranking en sidebar — stack + compacto
   ========================================= */

/* En sidebar, el grid de leaderboards va apilado */
.mugm-home-block--ranking .mugm-leaderboards__grid{
  display: grid;
  grid-template-columns: 1fr !important;
  gap: 14px;
}

/* Compactar filas para que entren ambos rankings */
.mugm-home-block--ranking .mugm-entry{
  padding: 10px 12px;
}

/* Reducir levemente avatar/logo/pos */
.mugm-home-block--ranking .mugm-entry__avatar img,
.mugm-home-block--ranking .mugm-entry__guildlogo img{
  width: 30px !important;
  height: 30px !important;
}

.mugm-home-block--ranking .mugm-entry__pos{
  transform: scale(.95);
}

/* Que la lista no se vaya de largo; que se vea “card” pro */
.mugm-home-block--ranking .mugm-leaderboard__list{
  max-height: 420px;          /* ajustable */
  overflow: auto;
  padding-right: 4px;
}

/* Scrollbar sutil (opcional, queda premium) */
.mugm-home-block--ranking .mugm-leaderboard__list::-webkit-scrollbar{ width: 8px; }
.mugm-home-block--ranking .mugm-leaderboard__list::-webkit-scrollbar-thumb{
  background: rgba(255,255,255,.10);
  border-radius: 20px;
}
/* =========================================
   NEWS GRID — 6 por página (2 filas de 3)
   ========================================= */

.news-row{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px){
  .news-row{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px){
  .news-row{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Para que todas las cards se vean parejas */
.news-card{
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news-card img{
  width: 100%;
  height: 180px;      /* ajustá si querés más alto */
  object-fit: cover;
  border-radius: 14px;
}

.news-card .card-body{
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card .card-text{
  flex: 1;
}
/* =========================================
   HOME SIDEBAR — Ranking compacto + apilado
   ========================================= */

.mugm-home-block--ranking .mugm-leaderboards__grid{
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
}

/* achicar encabezados */
.mugm-home-block--ranking .mugm-leaderboard__head{
  padding: 10px 10px 8px;
}

.mugm-home-block--ranking .mugm-leaderboard__title{
  font-size: 13px;
  opacity: .95;
}

.mugm-home-block--ranking .mugm-leaderboard__link{
  font-size: 12px;
  opacity: .85;
}

/* lista más compacta */
.mugm-home-block--ranking .mugm-entry{
  padding: 9px 10px !important;
  gap: 10px;
}

/* achicar imágenes */
.mugm-home-block--ranking .mugm-classimg,
.mugm-home-block--ranking .mugm-glogo{
  width: 28px !important;
  height: 28px !important;
}

/* Para que entren los dos rankings sin “estirar” */
.mugm-home-block--ranking .mugm-leaderboard__list{
  max-height: 280px;  /* cada bloque */
  overflow: auto;
}
/* ===== HOME FINAL FIX (NO sticky, NO scroll interno) ===== */
@media (min-width: 992px){
  .mugm-home-sidebar{
    position: static !important;  /* <- clave: deja de “perseguir” */
    top: auto !important;
  }

  .mugm-home-block--ranking{
    max-height: none !important;  /* <- no recorta */
    overflow: visible !important;
  }
}

/* Ranking en sidebar apilado SIEMPRE (resets arriba, guilds abajo) */
.mugm-home-block--ranking .mugm-leaderboards__grid{
  grid-template-columns: 1fr !important;
}

/* Compacto real */
.mugm-home-block--ranking .mugm-entry{
  grid-template-columns: 36px 42px 1fr 90px;
  padding: 8px 10px;
  border-radius: 14px;
}
.mugm-home-block--ranking .mugm-entry__statvalue{
  font-size: 14px;
}
.mugm-home-block--ranking .mugm-entry__avatar,
.mugm-home-block--ranking .mugm-entry__guildlogo{
  width: 42px;
  height: 42px;
}
.mugm-home-block--ranking .mugm-classimg{
  width: 30px !important;
  height: 30px !important;
}
.mugm-home-block--ranking .mugm-glogo{
  width: 28px;
  height: 28px;
}
/* =========================================================
   SIDEBAR Carousel — Coverflow PRO (sin estirar, sin achicar)
   Pegar al FINAL de aaa.css
   ========================================================= */

/* Asegura altura pareja con el slider (respeta tu “línea”) */
:root{
  --mugm-home-top-h: clamp(320px, 34vw, 420px);
}

/* Slider: altura consistente */
.mugm-hslider__frame{
  min-height: var(--mugm-home-top-h) !important;
}

/* Sidebar carousel block: calza con slider */
.mugm-home .mugm-home-block--carousel{
  min-height: var(--mugm-home-top-h) !important;
  display: flex !important;
  flex-direction: column !important;
}

/* viewport ocupa el “resto” */
.mugm-home .mugm-home-block--carousel .mugm-gallery{
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 0 !important;
}
.mugm-home .mugm-home-block--carousel .mugm-gallery__viewport{
  flex: 1 !important;
  min-height: 0 !important;
}

/* --------- COVERFLOW --------- */
.mugm-gallery--coverflow .mugm-gallery__viewport{
  overflow: hidden !important;         /* clave: no se ve el “scroll” feo */
  padding: 6px 0 2px !important;
  border-radius: 16px !important;
}

/* track en fila */
.mugm-gallery--coverflow .mugm-gallery__track{
  display: flex !important;
  gap: 14px !important;
  padding: 14px !important;
  align-items: center !important;
  will-change: transform;
}

/* cards con ratio fijo: nunca se deforman */
.mugm-gallery--coverflow .mugm-gallery__card{
  flex: 0 0 190px !important;          /* base */
  aspect-ratio: 16 / 10 !important;
  height: auto !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  transform-origin: center center !important;

  /* animación coverflow (desde JS con variables) */
  transform:
    perspective(900px)
    rotateY(calc(var(--cf-rot, 0) * 1deg))
    scale(var(--cf-scale, .88)) !important;

  opacity: var(--cf-alpha, .72) !important;
  filter: blur(calc(var(--cf-blur, 2) * 1px)) saturate(1.05) contrast(1.03) !important;
  transition: transform .22s ease, filter .22s ease, opacity .22s ease, box-shadow .22s ease !important;
  box-shadow: 0 18px 55px rgba(0,0,0,.45) !important;
}

/* Centro más “hero” */
.mugm-gallery--coverflow .mugm-gallery__card.is-center{
  flex-basis: 280px !important;        /* centro más grande */
  transform:
    perspective(900px)
    rotateY(0deg)
    scale(1) !important;
  opacity: 1 !important;
  filter: blur(0px) saturate(1.12) contrast(1.06) !important;
  box-shadow: 0 26px 80px rgba(0,0,0,.60) !important;
  border-color: rgba(200,164,90,.22) !important;
}

/* imagen siempre cover */
.mugm-gallery--coverflow .mugm-gallery__img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* en mobile: cards grandes, sin rotación fuerte */
@media (max-width: 991px){
  .mugm-gallery--coverflow .mugm-gallery__card{
    flex-basis: 74% !important;
    transform: scale(var(--cf-scale, .96)) !important;
    filter: blur(calc(var(--cf-blur, 1.5) * 1px)) !important;
  }
  .mugm-gallery--coverflow .mugm-gallery__card.is-center{
    flex-basis: 86% !important;
  }
}

/* =========================================================
   Slider — retoque visual pro (sin romper tu Swiper)
   ========================================================= */
.mugm-hslide__overlay{
  background:
    radial-gradient(900px 380px at 18% 50%, rgba(11,14,19,.12), rgba(11,14,19,.72) 55%, rgba(11,14,19,.92)),
    linear-gradient(90deg, rgba(11,14,19,.88), rgba(11,14,19,.28) 55%, rgba(11,14,19,.85)) !important;
}

.mugm-hslide__title{
  font-size: 30px !important;
}

.mugm-hslider__figure{
  opacity: .95 !important;
  right: -24px !important;
  bottom: -28px !important;
}
/* ===== Fix: slider ocupa el alto completo del frame ===== */
.mugm-hslider__frame{
  min-height: var(--mugm-home-top-h) !important;
  height: var(--mugm-home-top-h) !important;
  overflow: hidden !important;
}

/* el Swiper y wrapper deben medir 100% */
.mugm-hslider__swiper,
.mugm-hslider__swiper .swiper-wrapper,
.mugm-hslider__swiper .swiper-slide{
  height: 100% !important;
}

/* el slide con background debe cubrir todo */
.mugm-hslide{
  height: 100% !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}
/* ===== Coverflow: centrado real + sin cambiar ancho ===== */
.mugm-gallery--coverflow .mugm-gallery__viewport{
  scroll-snap-type: x mandatory !important;
  -webkit-overflow-scrolling: touch;
}

/* OJO: padding inline para poder centrar extremos */
.mugm-gallery--coverflow .mugm-gallery__track{
  gap: 14px !important;
  padding-block: 14px !important;
  padding-inline: clamp(16px, 3vw, 28px) !important;
}

/* cards: ancho fijo, snap al centro */
.mugm-gallery--coverflow .mugm-gallery__card{
  flex: 0 0 220px !important;              /* ancho estable */
  aspect-ratio: 16 / 10 !important;
  scroll-snap-align: center !important;

  transform:
    perspective(900px)
    rotateY(calc(var(--cf-rot, 0) * 1deg))
    scale(var(--cf-scale, .90)) !important;

  opacity: var(--cf-alpha, .78) !important;
  filter: blur(calc(var(--cf-blur, 1.6) * 1px)) saturate(1.05) contrast(1.03) !important;
}

/* centro: SOLO scale + quitar blur (no tocar width) */
.mugm-gallery--coverflow .mugm-gallery__card.is-center{
  transform: perspective(900px) rotateY(0deg) scale(1.12) !important;
  opacity: 1 !important;
  filter: blur(0px) saturate(1.12) contrast(1.06) !important;
}
/* =========================
   HERO ART — integración sin “cuadrado”
========================= */
.we-hero-art--blend { position: relative; }

.we-hero-art--blend .we-hero-art-frame{
  position: relative;
  width: 100%;
  max-width: 560px; /* ajustá según tu grid */
  margin-left: auto;
  margin-right: 0;
  pointer-events: none;
}

.we-hero-art--blend .we-hero-art-img{
  width: 100% !important;
  height: auto !important;
  display: block !important;

  /* “integración” */
  opacity: .92;
  filter: saturate(1.08) contrast(1.05);
  transform: translateZ(0);
}

/* difumina bordes para que no se note el rectángulo */
.we-hero-art--blend .we-hero-art-img{
  -webkit-mask-image: radial-gradient(closest-side, rgba(0,0,0,1) 62%, rgba(0,0,0,0) 100%);
  mask-image: radial-gradient(closest-side, rgba(0,0,0,1) 62%, rgba(0,0,0,0) 100%);
}

/* viñeta suave (termina de “fundir” con el fondo) */
.we-hero-art--blend .we-hero-art-vignette{
  position:absolute; inset:-10%;
  background: radial-gradient(closest-side, rgba(0,0,0,0) 58%, rgba(0,0,0,.55) 100%);
  filter: blur(6px);
  opacity: .9;
  pointer-events:none;
}

/* glow azul + dorado MU */
.we-hero-art--blend .we-hero-art-glow{
  position:absolute; inset:-18%;
  background:
    radial-gradient(circle at 55% 45%, rgba(0,180,255,.28), rgba(0,0,0,0) 55%),
    radial-gradient(circle at 60% 55%, rgba(255,200,90,.14), rgba(0,0,0,0) 60%);
  filter: blur(10px);
  mix-blend-mode: screen;
  opacity: .75;
  pointer-events:none;
}

/* “partículas” sutiles (sin JS) */
.we-hero-art--blend .we-hero-art-sparkles{
  position:absolute; inset:-8%;
  background-image:
    radial-gradient(2px 2px at 15% 30%, rgba(160,220,255,.40) 40%, transparent 60%),
    radial-gradient(1.6px 1.6px at 30% 55%, rgba(255,220,150,.30) 40%, transparent 60%),
    radial-gradient(1.8px 1.8px at 62% 28%, rgba(160,220,255,.35) 40%, transparent 60%),
    radial-gradient(1.4px 1.4px at 74% 60%, rgba(255,220,150,.26) 40%, transparent 60%),
    radial-gradient(1.2px 1.2px at 85% 38%, rgba(160,220,255,.28) 40%, transparent 60%);
  opacity: .55;
  filter: blur(.2px);
  animation: mugmSparkleFloat 7s ease-in-out infinite;
  pointer-events:none;
}

@keyframes mugmSparkleFloat{
  0%,100% { transform: translate3d(0,0,0); opacity:.45; }
  50%     { transform: translate3d(-6px,-10px,0); opacity:.65; }
}

/* si el grid te deja el arte “muy abajo”, subilo un toque */
.we-home-hero .we-hero-art--blend{
  align-self: center !important;
  transform: translateY(-6px);
}
/* =========================================================
   HERO ART — “mancha” integrada al costado derecho (FINAL)
   - Sin bordes / sin rectángulo
   - No tapa texto
   - Sin línea inferior
   ========================================================= */

/* stacking seguro */
.mugm-hero{ position:relative; overflow:hidden; }
.mugm-hero__bg{ position:absolute; inset:0; z-index:0; }
.mugm-hero__inner{ position:relative; z-index:2; }

/* capa contenedora del art */
.mugm-hero__art--bg{
  position:absolute;
  inset:0;
  z-index:1;              /* detrás del contenido */
  pointer-events:none;
}

/* MANCHA PRINCIPAL (más grande que la “caja”, así nunca corta abajo) */
.mugm-hero__art--bg::before{
  content:"";
  position:absolute;

  /* la empujamos a la derecha y le damos “aire” para que no se vea borde */
  right: -18%;
  top: 50%;

  /* IMPORTANTE: que sea grande (sin recorte visible) */
  width:  clamp(720px, 70vw, 1200px);
  height: clamp(520px, 78vh, 860px);
  transform: translateY(-52%);

  background-image: var(--hero-art);
  background-repeat: no-repeat;
  background-position: 62% 50%;
  background-size: contain;

  /* presencia sin “banner” */
  opacity: .62;
  filter:
    saturate(1.00)
    contrast(1.08)
    brightness(1.03)
    blur(0.55px)
    drop-shadow(0 32px 90px rgba(0,0,0,.55));

  /* máscara fuerte: centro definido + bordes que desaparecen ANTES de tocar el borde inferior */
  -webkit-mask-image: radial-gradient(closest-side at 58% 52%,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 30%,
    rgba(0,0,0,.78) 48%,
    rgba(0,0,0,.28) 62%,
    rgba(0,0,0,0) 74%);
  mask-image: radial-gradient(closest-side at 58% 52%,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 30%,
    rgba(0,0,0,.78) 48%,
    rgba(0,0,0,.28) 62%,
    rgba(0,0,0,0) 74%);

  /* menos “lavado” que screen */
  mix-blend-mode: lighten;
}

/* GLOW azul/dorado (solo aura, no genera cortes) */
.mugm-hero__art--bg::after{
  content:"";
  position:absolute;
  right: -22%;
  top: 50%;
  width:  clamp(820px, 82vw, 1400px);
  height: clamp(600px, 92vh, 980px);
  transform: translateY(-52%);

  background:
    radial-gradient(circle at 58% 48%, rgba(0,180,255,.22) 0%, rgba(0,180,255,0) 52%),
    radial-gradient(circle at 52% 60%, rgba(255,190,70,.14) 0%, rgba(255,190,70,0) 58%);
  filter: blur(12px);
  opacity: .92;
  mix-blend-mode: screen;

  /* también con máscara para que jamás se “corte” */
  -webkit-mask-image: radial-gradient(closest-side at 58% 52%,
    rgba(0,0,0,.95) 0%,
    rgba(0,0,0,.65) 55%,
    rgba(0,0,0,0) 78%);
  mask-image: radial-gradient(closest-side at 58% 52%,
    rgba(0,0,0,.95) 0%,
    rgba(0,0,0,.65) 55%,
    rgba(0,0,0,0) 78%);
}

/* “ANTI-LÍNEA” INFERIOR: mata cualquier corte residual del blend */
.mugm-hero__art--bg .mugm-hero__art-bottomfade{
  position:absolute;
  left:0; right:0; bottom:-1px;
  height: 64px;
  pointer-events:none;
  z-index: 2; /* arriba del art (1), debajo del contenido (2/3 real) */
  background: linear-gradient(to bottom,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,.22) 55%,
    rgba(0,0,0,.45) 100%);
}

/* partículas MUY leves (sin JS) */
.mugm-hero__art--bg .mugm-hero__art-sparkles{
  position:absolute;
  inset:0;
  opacity:.16;
  mix-blend-mode: screen;
  pointer-events:none;
  background:
    radial-gradient(circle, rgba(255,255,255,.18) 0 1px, transparent 2px) 0 0/200px 200px,
    radial-gradient(circle, rgba(90,200,255,.14) 0 1px, transparent 2px) 60px 30px/260px 260px;
  animation: mugmSparkleFloat 10s ease-in-out infinite;
}

@keyframes mugmSparkleFloat{
  0%   { transform: translate3d(0,0,0); }
  50%  { transform: translate3d(-10px,-6px,0); }
  100% { transform: translate3d(0,0,0); }
}

/* Garantía: el texto siempre encima */
.mugm-hero__copy{ position:relative; z-index:3; }
.mugm-hero__copy *{ position:relative; z-index:3; }

/* Mobile: baja intensidad y tamaño */
@media (max-width: 991px){
  .mugm-hero__art--bg::before{
    right:-30%;
    width: 900px;
    height: 620px;
    opacity: .28;
    filter: saturate(1.0) contrast(1.05) brightness(1.02) blur(0.9px);
  }
  .mugm-hero__art--bg::after{ opacity: .55; }
  .mugm-hero__art--bg .mugm-hero__art-sparkles{ opacity: .10; }
}
/* =========================================================
   MUGM — FINAL SITE THEME OVERRIDES (sin reescribir todo)
   Pegar al FINAL del CSS
   ========================================================= */

/* ---------- Palette / variables ---------- */
:root{
  --mugm-bg0: #050812;
  --mugm-bg1: #070b18;
  --mugm-bg2: #0a1222;

  --mugm-card: rgba(12,18,34,.58);
  --mugm-card2: rgba(10,14,26,.48);

  --mugm-line: rgba(255,255,255,.07);
  --mugm-line2: rgba(255,255,255,.10);

  --mugm-blue: #4fd0ff;
  --mugm-blue2:#0ea5e9;
  --mugm-gold: #d7b25d;
  --mugm-text: rgba(255,255,255,.88);
  --mugm-muted: rgba(255,255,255,.65);

  --mugm-shadow: 0 18px 55px rgba(0,0,0,.50);
  --mugm-shadow2: 0 10px 25px rgba(0,0,0,.40);
  --mugm-radius: 18px;
}

/* ---------- Fondo general: profundidad + “nebula” sutil ---------- */
html, body{
  background: radial-gradient(1200px 520px at 24% 8%,
              rgba(79,208,255,.10) 0%,
              rgba(79,208,255,0) 58%),
              radial-gradient(1000px 520px at 82% 18%,
              rgba(215,178,93,.10) 0%,
              rgba(215,178,93,0) 62%),
              radial-gradient(1200px 900px at 50% 55%,
              rgba(16,24,50,.55) 0%,
              rgba(5,8,18,1) 62%),
              linear-gradient(180deg, var(--mugm-bg2) 0%, var(--mugm-bg0) 70%) !important;
  color: var(--mugm-text) !important;
}

/* “grano” sutil (premium) */
body::before{
  content:"";
  position: fixed;
  inset:0;
  pointer-events:none;
  z-index:0;
  opacity:.08;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.65) 0 1px, transparent 2px);
  background-size: 210px 210px;
  mix-blend-mode: overlay;
}
/* ---------- Topbar + Header (glass + bordes + mejor contraste) ---------- */
.mugm-topbar{
  background: linear-gradient(180deg,
    rgba(6,10,18,.78) 0%,
    rgba(6,10,18,.55) 100%) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid var(--mugm-line) !important;
}

.mugm-header{
  background: linear-gradient(180deg,
    rgba(8,12,20,.72) 0%,
    rgba(8,12,20,.52) 55%,
    rgba(8,12,20,.36) 100%) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid rgba(255,255,255,.06) !important;
}
/* Links navbar más finos + hover pro */
.mugm-nav__list a{
  color: rgba(255,255,255,.80) !important;
  transition: color .18s ease, text-shadow .18s ease, transform .18s ease !important;
}
.mugm-nav__list a:hover{
  color: var(--mugm-blue) !important;
  text-shadow: 0 0 18px rgba(79,208,255,.25);
}
/* Botón ghost más “glass” */
.mugm-btn--ghost{
  background: rgba(255,255,255,.04) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  box-shadow: 0 10px 25px rgba(0,0,0,.25) !important;
}

/* Botón gold más metal + borde fino */
.mugm-btn--gold{
  background: linear-gradient(180deg, #e8cf86 0%, #c79a41 100%) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  box-shadow: 0 18px 45px rgba(0,0,0,.35) !important;
}
.mugm-btn--gold:hover{
  filter: brightness(1.04) saturate(1.05) !important;
}
/* ---------- Textos: más legibles ---------- */
.we-p, .mugm-subtitle, .we-p-sm{
  color: var(--mugm-muted) !important;
}
.mugm-title{
  text-shadow: 0 14px 50px rgba(0,0,0,.65) !important;
}
.mugm-title__accent{
  color: var(--mugm-gold) !important;
  text-shadow: 0 0 22px rgba(215,178,93,.18);
}

/* ---------- Inputs / paginación / chips (si aplica) ---------- */
.pagination > li > a,
.pagination > li > span{
  background: rgba(255,255,255,.04) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  color: rgba(255,255,255,.78) !important;
}
.pagination > .active > a,
.pagination > .active > span{
  background: rgba(79,208,255,.16) !important;
  border-color: rgba(79,208,255,.22) !important;
  color: #fff !important;
}
/* =========================================
   HERO KICKER — Servidor Online destacado
   ========================================= */

.mugm-hero__kicker--live{
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;

  padding: 8px 14px !important;
  border-radius: 999px !important;

  background:
    linear-gradient(180deg,
      rgba(20,30,45,.85),
      rgba(10,15,30,.85)) !important;

  border: 1px solid rgba(255,255,255,.08) !important;

  box-shadow:
    0 8px 28px rgba(0,0,0,.55),
    inset 0 0 0 1px rgba(255,255,255,.04) !important;

  backdrop-filter: blur(6px) !important;
}

/* Texto */
.mugm-kicker-text{
  font-size: 13px !important;
  letter-spacing: .4px !important;
  color: rgba(220,230,255,.9) !important;
}

.mugm-kicker-text strong{
  color: #e9f1ff !important;
  font-weight: 600 !important;
}

/* Separador */
.mugm-kicker-sep{
  margin: 0 6px !important;
  opacity: .6 !important;
}

/* Contador de jugadores */
.mugm-kicker-count{
  color: #6ddcff !important;
  font-weight: 700 !important;
  text-shadow: 0 0 12px rgba(100,200,255,.35) !important;
}

/* Punto online animado */
.mugm-dot--online{
  animation: mugmOnlinePulse 1.8s ease-in-out infinite !important;
}

@keyframes mugmOnlinePulse{
  0%   { box-shadow: 0 0 0 0 rgba(80,220,140,.55); }
  70%  { box-shadow: 0 0 0 8px rgba(80,220,140,0); }
  100% { box-shadow: 0 0 0 0 rgba(80,220,140,0); }
}
/* ===== Castle Siege widget dentro del slider ===== */
.mugm-cs-widget{
  margin-top: 14px !important;
  padding: 12px 14px !important;
  border-radius: 14px !important;
  background: rgba(10,16,28,.55) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.45) !important;
  backdrop-filter: blur(6px) !important;
}

/* fallback cuando no detecta el widget */
.mugm-cs-widget--empty{
  color: rgba(220,230,255,.85) !important;
  font-size: 13px !important;
  display: inline-flex !important;
  gap: 8px !important;
  align-items: center !important;
}
/* ===== Castle Siege widget dentro del SLIDER (skin premium) ===== */
.mugm-cs-slot .panel.castle-owner-widget{
  background: rgba(10,16,28,.55) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 14px 36px rgba(0,0,0,.45) !important;
  backdrop-filter: blur(6px) !important;
  margin: 12px 0 0 !important;
}

.mugm-cs-slot .panel.castle-owner-widget .panel-heading{
  background: linear-gradient(90deg, rgba(255,190,70,.16), rgba(0,170,255,.10)) !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
}

.mugm-cs-slot .panel.castle-owner-widget .panel-title{
  color: rgba(255,255,255,.92) !important;
  font-weight: 700 !important;
  letter-spacing: .2px !important;
}

.mugm-cs-slot .panel.castle-owner-widget .panel-body{
  color: rgba(230,240,255,.90) !important;
}

.mugm-cs-slot .panel.castle-owner-widget .alt{
  color: rgba(255,190,70,.92) !important;
  font-weight: 700 !important;
}

.mugm-cs-slot .btn.btn-castlewidget{
  background: rgba(255,190,70,.18) !important;
  border: 1px solid rgba(255,190,70,.35) !important;
  color: rgba(255,255,255,.92) !important;
  border-radius: 10px !important;
}

.mugm-cs-slot .btn.btn-castlewidget:hover{
  background: rgba(255,190,70,.26) !important;
}

/* fallback */
.mugm-cs-fallback{
  margin-top: 12px !important;
  padding: 10px 12px !important;
  border-radius: 12px !important;
  background: rgba(10,16,28,.45) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  color: rgba(230,240,255,.85) !important;
  display: inline-flex !important;
  gap: 8px !important;
  align-items: center !important;
}
.mugm-cs-mini{
  margin-top:12px!important;
  padding:12px 14px!important;
  border-radius:14px!important;
  background:rgba(10,16,28,.45)!important;
  border:1px solid rgba(255,255,255,.08)!important;
  backdrop-filter: blur(6px)!important;
}
.mugm-cs-mini__row{display:flex!important;gap:8px!important;flex-wrap:wrap!important;align-items:center!important;margin-bottom:8px!important;}
.mugm-cs-mini__pill{
  display:inline-flex!important;gap:8px!important;align-items:center!important;
  padding:6px 10px!important;border-radius:999px!important;
  background:rgba(255,255,255,.07)!important;border:1px solid rgba(255,255,255,.10)!important;
  color:rgba(255,255,255,.90)!important;font-weight:700!important;font-size:12px!important;
}
.mugm-cs-mini__pill--gold{
  background:rgba(255,190,70,.14)!important;border-color:rgba(255,190,70,.30)!important;
}
.mugm-cs-mini__text{color:rgba(230,240,255,.86)!important;font-size:13px!important;line-height:1.35!important;}
/* =========================================================
   Castle Siege Widget dentro del slider (no rompe WebEngine)
   Target: .mugm-cs-slot
   ========================================================= */

.mugm-cs-slot{
  margin-top: 16px;
  max-width: 560px;
  width: 100%;
}

/* El widget nativo imprime .panel */
.mugm-cs-slot .panel.castle-owner-widget,
.mugm-cs-slot .panel{
  background: linear-gradient(180deg, rgba(15,20,35,.88), rgba(8,12,22,.92)) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 14px !important;
  box-shadow: 0 18px 50px rgba(0,0,0,.45) !important;
  overflow: hidden;
}

/* header */
.mugm-cs-slot .panel-heading{
  background: transparent !important;
  border-bottom: 1px solid rgba(255,215,130,.14) !important;
  padding: 10px 12px !important;
  text-align: center;
}

.mugm-cs-slot .panel-title{
  color: #e6c98b !important;
  font-weight: 700 !important;
  letter-spacing: .04em;
  font-family: 'Cinzel', serif;
}

/* body */
.mugm-cs-slot .panel-body{
  padding: 12px 14px !important;
  color: rgba(255,255,255,.86) !important;
  font-size: 13.5px !important;
}

/* Bootstrap rows/cols (evita que “se achique” y que se corte) */
.mugm-cs-slot .row{
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.mugm-cs-slot [class*="col-"]{
  padding-left: 6px !important;
  padding-right: 6px !important;
}

/* Logo guild: limita tamaño para que entre bien */
.mugm-cs-slot img{
  max-width: 84px !important;
  height: auto !important;
  display: inline-block;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.55));
}

/* labels */
.mugm-cs-slot .alt{
  color: rgba(255,215,130,.80) !important;
  font-size: 12px !important;
  letter-spacing: .03em;
}

/* botón del widget */
.mugm-cs-slot .btn.btn-castlewidget{
  background: linear-gradient(135deg,#e3b96a,#b7893f) !important;
  color: #1a1408 !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 6px 14px !important;
  font-weight: 700 !important;
}

/* si el contenido del widget fuera muy alto, que scrollee dentro */
.mugm-cs-slot{
  max-height: 260px;
  overflow: auto;
  padding-right: 6px; /* espacio para scrollbar */
}

/* scrollbar más prolija (Chrome/Edge) */
.mugm-cs-slot::-webkit-scrollbar{ width: 8px; }
.mugm-cs-slot::-webkit-scrollbar-thumb{
  background: rgba(255,255,255,.12);
  border-radius: 10px;
}
.mugm-cs-slot::-webkit-scrollbar-track{
  background: rgba(0,0,0,.20);
  border-radius: 10px;
}

/* Mobile: que no quede “apretado” */
@media (max-width: 991px){
  .mugm-cs-slot{
    max-width: 100%;
    max-height: 240px;
  }
  .mugm-cs-slot img{ max-width: 72px !important; }
}
/* ===== Castle Siege: que el slide crezca y no haya scroll ===== */

/* sacamos el scroll interno */
.mugm-hslide--cs .mugm-cs-slot{
  max-height: none !important;
  overflow: visible !important;
}

/* el contenedor del slider pasa a auto height */
.mugm-hslider__frame{ overflow: visible; } /* importante para que no recorte */
#mugmHighlightSwiper{ height: auto; }
#mugmHighlightSwiper .swiper-wrapper{ height: auto; }

/* cada slide: altura automática */
#mugmHighlightSwiper .swiper-slide{
  height: auto;
}

/* pero mantenemos una altura mínima “premium” para los otros slides */
#mugmHighlightSwiper .mugm-hslide{
  min-height: 360px;
}

/* el CS suele necesitar más alto */
#mugmHighlightSwiper .mugm-hslide--cs{
  min-height: 520px;
}
/* =========================================================
   VIP — Skin AAA (solo dentro de .mugm-vip)
   ========================================================= */

.mugm-vip{
  --vip-bg: rgba(10,14,24,.55);
  --vip-border: rgba(255,255,255,.08);
  --vip-border-2: rgba(120,170,255,.14);
  --vip-glow: rgba(0,170,255,.18);
  --vip-gold: rgba(255,190,70,.95);
}

/* título */
.mugm-vip .page-title{
  margin: 10px 0 18px;
}
.mugm-vip .page-title span{
  display:inline-block;
  padding: 10px 14px;
  border: 1px solid var(--vip-border);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  box-shadow: 0 14px 40px rgba(0,0,0,.45);
  letter-spacing:.5px;
}

/* panel VIP */
.mugm-vip .panel.panel-vip{
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--vip-border);
  background: radial-gradient(110% 130% at 20% 0%, rgba(0,170,255,.08) 0%, transparent 55%),
              radial-gradient(110% 130% at 80% 0%, rgba(255,190,70,.06) 0%, transparent 60%),
              var(--vip-bg);
  box-shadow: 0 24px 70px rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
}

/* header */
.mugm-vip .panel.panel-vip > .panel-heading{
  border: 0;
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.08));
}
.mugm-vip .panel.panel-vip > .panel-heading .panel-title{
  font-family: "Cinzel", serif;
  font-weight: 800;
  letter-spacing: .6px;
  color: rgba(255,255,255,.92);
  text-shadow: 0 10px 25px rgba(0,0,0,.55);
}

/* body */
.mugm-vip .panel.panel-vip > .panel-body{
  padding: 16px;
}

/* tabla */
.mugm-vip .vip-table{
  margin: 0;
  border-collapse: separate;
  border-spacing: 0 10px;
}
.mugm-vip .vip-table tbody tr{
  background: rgba(255,255,255,.03);
  border: 1px solid var(--vip-border);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.mugm-vip .vip-table tbody tr td{
  border-top: 0 !important;
  padding: 12px 14px !important;
  color: rgba(255,255,255,.82);
  vertical-align: middle;
}
.mugm-vip .vip-table tbody tr td:first-child{
  border-radius: 14px 0 0 14px;
  font-weight: 700;
}
.mugm-vip .vip-table tbody tr td:nth-child(2){
  color: rgba(255,255,255,.9);
}
.mugm-vip .vip-table tbody tr td:last-child{
  border-radius: 0 14px 14px 0;
  text-align: right;
  width: 160px;
}

/* botón VIP (pisamos .btn-vip) */
.mugm-vip .btn.btn-vip{
  border-radius: 999px;
  padding: 8px 12px;
  border: 1px solid rgba(255,190,70,.38);
  background: linear-gradient(180deg, rgba(255,190,70,.95), rgba(190,130,40,.95));
  color: rgba(10,10,10,.92) !important;
  font-weight: 800;
  letter-spacing: .3px;
  box-shadow: 0 14px 40px rgba(0,0,0,.45);
}
.mugm-vip .btn.btn-vip:hover{
  filter: brightness(1.05);
  transform: translateY(-1px);
}

/* mensajes (alerts de WebEngine) */
.mugm-vip .alert{
  border-radius: 14px;
  border: 1px solid var(--vip-border);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.88);
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
}
.mugm-vip .alert-success{
  border-color: rgba(60,220,160,.25);
  background: rgba(60,220,160,.10);
}
.mugm-vip .alert-info{
  border-color: rgba(0,170,255,.25);
  background: rgba(0,170,255,.10);
}
.mugm-vip .alert-danger{
  border-color: rgba(255,80,80,.22);
  background: rgba(255,80,80,.10);
}

/* responsive: la tabla no explota */
@media (max-width: 767px){
  .mugm-vip .vip-table tbody tr td:last-child{
    width: auto;
    text-align: left;
  }
  .mugm-vip .btn.btn-vip{
    display: inline-block;
    margin-top: 6px;
  }
}
/* =========================================================
   DONACIONES / PACKS — legibilidad + sin "(recomendado)"
   (override safe, sin tocar PHP)
   ========================================================= */

/* Título (GMPoints) — más grande y con números legibles */
.mugm-pay-card__title{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: .2px !important;
  line-height: 1.1 !important;
  font-size: clamp(22px, 2.3vw, 30px) !important;
  color: rgba(255,255,255,.96) !important;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 10px 30px rgba(0,0,0,.45);
}

/* “GMPoints / Coins / créditos” (span dentro del título) */
.mugm-pay-card__title > span{
  display: inline-block;
  margin-left: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .35px;
  text-transform: uppercase;
  color: rgba(255,255,255,.92) !important;
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  backdrop-filter: blur(6px);
}

/* Precio — que se lea “de una” */
.mugm-pay-card__price{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
  font-weight: 900 !important;
  font-size: clamp(20px, 2.1vw, 28px) !important;
  color: rgba(255,255,255,.95) !important;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 10px 30px rgba(0,0,0,.45);
}

/* Moneda (ARS / USD) más discreta pero legible */
.mugm-pay-card__price small{
  font-size: 12px !important;
  font-weight: 700 !important;
  opacity: .85 !important;
  letter-spacing: .35px;
  text-transform: uppercase;
}

/* Card — un poquito más “premium” (contraste y borde) */
.mugm-pay-card{
  background: linear-gradient(180deg, rgba(20,24,34,.78), rgba(12,14,20,.78)) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  box-shadow: 0 18px 55px rgba(0,0,0,.45) !important;
}

/* Featured: que destaque sin meter texto "recomendado" */
.mugm-pay-card.is-featured{
  border-color: rgba(255,200,120,.30) !important;
  box-shadow: 0 24px 70px rgba(0,0,0,.55) !important;
}

/* Si tu CSS anterior agrega un badge tipo “Recomendado”, lo apagamos */
.mugm-pay-card .mugm-badge,
.mugm-pay-card .mugm-ribbon,
.mugm-pay-card .mugm-tag,
.mugm-pay-card [data-badge],
.mugm-pay-card .recommended,
.mugm-pay-card .is-recommended{
  display: none !important;
}

/* Si “(recomendado)” está siendo inyectado como ::after en featured, lo anulamos */
.mugm-pay-card.is-featured::before,
.mugm-pay-card.is-featured::after{
  content: "" !important;
  display: none !important;
}
/* ===============================
   STATS / COUNTERS – Tipografía
   =============================== */

.mugm-stats,
.mugm-stat,
.mugm-counter,
.server-stats,
.stats-block {
  font-family: 'Inter', 'Poppins', 'Segoe UI', sans-serif !important;
}

/* Títulos: Accounts / Characters / Estado */
.mugm-stats .label,
.mugm-stat-title,
.server-stats span,
.stats-block small {
  font-size: 12px !important;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(200,220,255,.75);
  font-weight: 600;
}

/* Números grandes */
.mugm-stats .value,
.mugm-stat-number,
.server-stats strong,
.stats-block h3 {
  font-size: 28px !important;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

/* Estado ONLINE / OFFLINE */
.mugm-stats .online,
.status-online {
  color: #39ff9a;
  font-weight: 800;
  letter-spacing: .06em;
}

.mugm-stats .offline,
.status-offline {
  color: #ff5a5a;
  font-weight: 800;
  letter-spacing: .06em;
}
/* =========================================================
   CASTLE SIEGE WIDGET — skin AAA (solo dentro del slider)
   Target: .mugm-cs-slot .castle-owner-widget (panel bootstrap)
   ========================================================= */

.mugm-cs-slot { margin-top: 14px; }

/* panel base */
.mugm-cs-slot .castle-owner-widget.panel{
  background: rgba(10, 14, 24, .62) !important;
  border: 1px solid rgba(120,160,220,.18) !important;
  border-radius: 16px !important;
  box-shadow: 0 18px 45px rgba(0,0,0,.45) !important;
  overflow: hidden !important;
  margin: 0 !important;
}

/* header */
.mugm-cs-slot .castle-owner-widget .panel-heading{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,0)) !important;
  border-bottom: 1px solid rgba(120,160,220,.14) !important;
  padding: 10px 14px !important;
}

.mugm-cs-slot .castle-owner-widget .panel-title{
  font-family: "Cinzel", serif !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  color: rgba(235,245,255,.92) !important;
  font-size: 14px !important;
  margin: 0 !important;
  text-align: center !important;
}

/* body */
.mugm-cs-slot .castle-owner-widget .panel-body{
  padding: 14px !important;
  color: rgba(210,225,245,.88) !important;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, sans-serif !important;
}

/* grilla compacta (evita “widget gigante”) */
.mugm-cs-slot .castle-owner-widget .row{ margin-left: -8px !important; margin-right: -8px !important; }
.mugm-cs-slot .castle-owner-widget [class*="col-"]{ padding-left: 8px !important; padding-right: 8px !important; }

/* logo guild */
.mugm-cs-slot .castle-owner-widget img{
  border-radius: 12px !important;
  box-shadow: 0 10px 26px rgba(0,0,0,.45) !important;
}

/* labels (los <span class="alt">) */
.mugm-cs-slot .castle-owner-widget .alt{
  display: inline-block !important;
  font-size: 12px !important;
  letter-spacing: .10em !important;
  text-transform: uppercase !important;
  color: rgba(160,190,235,.78) !important;
  margin-bottom: 4px !important;
}

/* valores (guild owner / master / stage / countdown) */
.mugm-cs-slot .castle-owner-widget .panel-body{
  font-size: 13px !important;
  line-height: 1.35 !important;
}

/* el “bloque” inferior centrado: etapa + countdown + botón */
.mugm-cs-slot .castle-owner-widget .row[style*="margin-top"]{
  margin-top: 10px !important;
  padding-top: 10px !important;
  border-top: 1px solid rgba(120,160,220,.12) !important;
}

/* botón */
.mugm-cs-slot .castle-owner-widget .btn-castlewidget{
  border-radius: 999px !important;
  padding: 8px 12px !important;
  font-weight: 800 !important;
  letter-spacing: .04em !important;
  border: 1px solid rgba(255,200,110,.35) !important;
  background: linear-gradient(180deg, rgba(255,200,110,.18), rgba(255,200,110,.08)) !important;
  color: rgba(255,235,200,.95) !important;
}

.mugm-cs-slot .castle-owner-widget .btn-castlewidget:hover{
  border-color: rgba(255,200,110,.55) !important;
  background: linear-gradient(180deg, rgba(255,200,110,.24), rgba(255,200,110,.10)) !important;
  transform: translateY(-1px);
}

/* responsive: en mobile, que no “explote” */
@media (max-width: 991px){
  .mugm-cs-slot .castle-owner-widget .panel-body{ padding: 12px !important; }
  .mugm-cs-slot .castle-owner-widget img{ max-width: 86px !important; height: auto !important; }
}
/* =========================================================
   CASTLE SIEGE MODULE — AAA Skin (sin tocar PHP)
   Target: .castle-siege-block + panel/tablas/timer
   ========================================================= */

/* contenedor del módulo */
.castle-siege-block{
  background: rgba(10,14,24,.35) !important;
  border: 1px solid rgba(120,160,220,.10) !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 55px rgba(0,0,0,.35) !important;
  padding: 18px 18px 6px !important;
  margin-bottom: 22px !important;
}

/* títulos del módulo */
.castle-siege-block h2{
  font-family: "Cinzel", serif !important;
  font-weight: 900 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  font-size: 15px !important;
  color: rgba(235,245,255,.92) !important;
  margin: 12px 0 10px !important;
}

/* separadores */
.castle-siege-block hr{
  border: 0 !important;
  height: 1px !important;
  background: linear-gradient(90deg,
    rgba(120,160,220,0),
    rgba(120,160,220,.18),
    rgba(120,160,220,0)) !important;
  margin: 14px 0 !important;
}

/* =========================================
   PANEL: dueños + alianzas
   ========================================= */
.castle-owner-panel.panel{
  background: rgba(10,14,24,.62) !important;
  border: 1px solid rgba(120,160,220,.16) !important;
  border-radius: 16px !important;
  box-shadow: 0 18px 45px rgba(0,0,0,.35) !important;
  overflow: hidden !important;
}

.castle-owner-panel .panel-body{
  padding: 16px !important;
  color: rgba(210,225,245,.90) !important;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, sans-serif !important;
}

.castle-owner-name{
  display:block;
  font-family: "Cinzel", serif !important;
  font-weight: 900 !important;
  letter-spacing: .06em !important;
  color: rgba(255,235,200,.95) !important;
  margin-bottom: 8px !important;
  text-transform: uppercase !important;
}

.castle-owner-panel h4{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: .04em !important;
  color: rgba(160,190,235,.85) !important;
  text-transform: uppercase !important;
  font-size: 12px !important;
  margin: 10px 0 6px !important;
}

.castle-owner-panel p{
  margin: 0 !important;
  color: rgba(235,245,255,.90) !important;
  font-weight: 700 !important;
}

/* grilla más compacta, menos “bootstrap viejo” */
.castle-owner-panel .row{ margin-left: -8px !important; margin-right: -8px !important; }
.castle-owner-panel [class*="col-"]{ padding-left: 8px !important; padding-right: 8px !important; }

/* logos (guild marks) */
.castle-owner-panel img{
  border-radius: 14px !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.45) !important;
}

/* header “tabla” de alianzas */
.castle-owner-ally-title{
  margin-top: 8px !important;
  padding: 10px 0 !important;
  border-top: 1px solid rgba(120,160,220,.12) !important;
  border-bottom: 1px solid rgba(120,160,220,.12) !important;
  color: rgba(160,190,235,.90) !important;
  text-transform: uppercase !important;
  letter-spacing: .08em !important;
  font-size: 12px !important;
}

.castle-owner-ally{
  padding: 10px 0 !important;
  border-bottom: 1px solid rgba(120,160,220,.08) !important;
}

.castle-owner-ally:last-child{ border-bottom: 0 !important; }

/* =========================================
   TIMER
   ========================================= */
#siegeTimer{
  background: rgba(10,14,24,.55) !important;
  border: 1px solid rgba(120,160,220,.16) !important;
  border-radius: 14px !important;
  padding: 14px 16px !important;
  color: rgba(255,235,200,.95) !important;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, sans-serif !important;
  font-weight: 900 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  box-shadow: 0 18px 45px rgba(0,0,0,.30) !important;
  text-align: center !important;
}

/* =========================================
   TABLAS (info / registered / schedule)
   ========================================= */
.castle-siege-block .table{
  background: rgba(10,14,24,.45) !important;
  border: 1px solid rgba(120,160,220,.12) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  margin-bottom: 14px !important;
}

.castle-siege-block .table > thead > tr > th{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,0)) !important;
  border-bottom: 1px solid rgba(120,160,220,.14) !important;
  color: rgba(160,190,235,.92) !important;
  text-transform: uppercase !important;
  letter-spacing: .10em !important;
  font-size: 12px !important;
  padding: 12px 12px !important;
}

.castle-siege-block .table > tbody > tr > td{
  border-top: 1px solid rgba(120,160,220,.08) !important;
  color: rgba(235,245,255,.88) !important;
  padding: 12px 12px !important;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, sans-serif !important;
  font-weight: 650 !important;
}

.castle-siege-block .table-striped > tbody > tr:nth-of-type(odd){
  background: rgba(255,255,255,.02) !important;
}

/* links de guildProfile/playerProfile (si son <a>) */
.castle-siege-block a{
  color: rgba(150,210,255,.95) !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.castle-siege-block a:hover{
  color: rgba(255,235,200,.95) !important;
  text-decoration: none !important;
}

/* mobile: apila mejor */
@media (max-width: 991px){
  .castle-siege-block{ padding: 14px 12px 6px !important; }
  .castle-owner-panel .panel-body{ padding: 12px !important; }
  .castle-owner-panel img{ max-width: 86px !important; height: auto !important; }
}
/* =========================================================
   MUGM — MODALES (Eventos + Panel usuario) — override final
   Pegar AL FINAL del CSS
   ========================================================= */

/* Backdrop más premium */
.modal-backdrop.in,
.modal-backdrop.show{
  opacity:.72 !important;
  background: radial-gradient(1200px 700px at 50% 20%, rgba(20,35,70,.55), rgba(0,0,0,.85)) !important;
}

/* Centrado y ancho consistente */
.modal-dialog{
  width: min(920px, calc(100% - 24px)) !important;
  margin: 6vh auto !important;
}
@media (max-width: 767px){
  .modal-dialog{ margin: 10px auto !important; }
}

/* Contenedor glass */
.modal-content{
  border-radius: 18px !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  background:
    linear-gradient(180deg, rgba(18,28,58,.92), rgba(10,14,24,.92)) !important;
  box-shadow: 0 30px 90px rgba(0,0,0,.65) !important;
  overflow: hidden !important;
}

/* Header con “barra” MU */
.modal-header{
  border: 0 !important;
  padding: 16px 18px !important;
  background:
    linear-gradient(90deg, rgba(255,190,70,.10), rgba(0,170,255,.10), rgba(255,190,70,.06)) !important;
  position: relative !important;
}
.modal-header:after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:1px;
  background: linear-gradient(90deg, rgba(255,190,70,.45), rgba(0,170,255,.35), rgba(255,190,70,.35)) !important;
  opacity:.35;
}
.modal-title{
  font-weight: 800 !important;
  letter-spacing: .02em !important;
  color: rgba(255,255,255,.92) !important;
  text-transform: uppercase !important;
}

/* Botón cerrar (x) */
.modal-header .close,
.modal-header button.close{
  opacity: 1 !important;
  color: rgba(255,255,255,.85) !important;
  text-shadow: none !important;
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  width: 36px; height: 36px;
  border-radius: 10px !important;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.modal-header .close:hover,
.modal-header button.close:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.10) !important;
  border-color: rgba(255,190,70,.22) !important;
}

/* Body */
.modal-body{
  padding: 14px 18px 18px !important;
  color: rgba(255,255,255,.78) !important;
}

/* =========================================================
   EVENTOS: filas tipo “lista” con separadores finos + timer pill
   (aplica si el modal usa listas/filas como en tu captura)
   ========================================================= */
#eventModal .modal-body,
.modal#mugmEventModal .modal-body{
  padding-top: 8px !important;
}

/* Separadores entre items */
#eventModal .modal-body > * + *,
.modal#mugmEventModal .modal-body > * + *{
  border-top: 1px solid rgba(255,255,255,.06) !important;
}

/* Si tenés filas con flex/row, esto ayuda a que queden “cards” */
#eventModal .modal-body > div,
.modal#mugmEventModal .modal-body > div{
  padding: 14px 0 !important;
}

/* Links dentro (ej: “Siguiente: Thu …”) */
#eventModal a,
.modal#mugmEventModal a{
  color: rgba(0,170,255,.90) !important;
  text-decoration: none !important;
}
#eventModal a:hover,
.modal#mugmEventModal a:hover{
  color: rgba(255,190,70,.92) !important;
}

/* “Pill” del timer (lado derecho) */
#eventModal .badge,
#eventModal .label,
#eventModal .mugm-pill,
.modal#mugmEventModal .badge,
.modal#mugmEventModal .label,
.modal#mugmEventModal .mugm-pill{
  background: rgba(0,170,255,.12) !important;
  border: 1px solid rgba(0,170,255,.20) !important;
  color: rgba(255,255,255,.88) !important;
  border-radius: 999px !important;
  padding: 6px 10px !important;
  font-weight: 800 !important;
  letter-spacing: .01em !important;
}

/* =========================================================
   PANEL USUARIO: items clickeables “list-group” / filas
   ========================================================= */
#userPanelModal .modal-body,
#panelModal .modal-body{
  padding-top: 10px !important;
}

/* Panel interno (si usás panel/heading/body) */
#userPanelModal .panel,
#panelModal .panel,
#userPanelModal .panel-body,
#panelModal .panel-body{
  background: rgba(255,255,255,.03) !important;
  border: 1px solid rgba(255,255,255,.07) !important;
  border-radius: 14px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05) !important;
}

/* Items del menú del panel (list-group o rows) */
#userPanelModal .list-group-item,
#panelModal .list-group-item{
  background: rgba(255,255,255,.02) !important;
  border: 1px solid rgba(255,255,255,.06) !important;
  border-radius: 14px !important;
  margin-bottom: 10px !important;
  color: rgba(255,255,255,.85) !important;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
#userPanelModal .list-group-item:hover,
#panelModal .list-group-item:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.04) !important;
  border-color: rgba(255,190,70,.18) !important;
}

/* Flechita o iconos a la derecha (si existieran) */
#userPanelModal .list-group-item i,
#panelModal .list-group-item i{
  color: rgba(255,190,70,.85) !important;
}

/* Textos secundarios dentro de cada item */
#userPanelModal .list-group-item small,
#panelModal .list-group-item small,
#userPanelModal .text-muted,
#panelModal .text-muted{
  color: rgba(255,255,255,.55) !important;
}

/* =========================================================
   Extras: scroll prolijo si el contenido es largo
   ========================================================= */
.modal-body{
  max-height: min(72vh, 740px) !important;
  overflow: auto !important;
  scrollbar-width: thin;
}
.modal-body::-webkit-scrollbar{ width: 10px; }
.modal-body::-webkit-scrollbar-thumb{
  background: rgba(255,255,255,.10);
  border-radius: 999px;
  border: 2px solid rgba(0,0,0,0);
  background-clip: padding-box;
}
.modal-body::-webkit-scrollbar-thumb:hover{
  background: rgba(255,255,255,.16);
  border: 2px solid rgba(0,0,0,0);
  background-clip: padding-box;
}
/* =========================================================
   MUGM — PROFILES (player.php / guild.php) — override final
   Pegar AL FINAL del CSS
   ========================================================= */

/* Wrapper opcional (si lo agregás en PHP). Si no, igual aplica por clases existentes */
.mugm-profiles {}

/* Cards base (player + guild) */
.profiles_player_card,
.profiles_guild_card{
  border-radius: 18px !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  background: linear-gradient(180deg, rgba(18,28,58,.60), rgba(10,14,24,.70)) !important;
  box-shadow: 0 18px 70px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.05) !important;
  overflow: hidden !important;
  padding: 18px !important;
  margin: 12px 0 24px !important;
}

/* Ajuste de “contenido” (player) */
.profiles_player_content{
  padding: 6px 6px 2px !important;
}

/* Nombre del PJ */
.profiles_player_table .cname{
  font-weight: 900 !important;
  letter-spacing: .02em !important;
  font-size: clamp(22px, 2.2vw, 34px) !important;
  color: rgba(255,255,255,.94) !important;
  text-transform: uppercase !important;
  line-height: 1.05 !important;
  padding: 6px 0 2px !important;
}

/* Clase del PJ */
.profiles_player_table .cclass{
  font-weight: 800 !important;
  color: rgba(255,190,70,.90) !important;
  letter-spacing: .02em !important;
  padding-bottom: 10px !important;
}

/* Tabla info (player) */
.profiles_player_table_info{
  width: 100% !important;
  border-collapse: collapse !important;
  margin-top: 10px !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  background: rgba(255,255,255,.03) !important;
  border: 1px solid rgba(255,255,255,.06) !important;
}
.profiles_player_table_info tr{
  border-bottom: 1px solid rgba(255,255,255,.06) !important;
}
.profiles_player_table_info tr:last-child{
  border-bottom: 0 !important;
}
.profiles_player_table_info td{
  padding: 10px 12px !important;
  font-weight: 700 !important;
}
.profiles_player_table_info td:first-child{
  color: rgba(255,255,255,.70) !important;
  width: 54% !important;
}
.profiles_player_table_info td:last-child{
  color: rgba(255,255,255,.92) !important;
  text-align: right !important;
}

/* Online / Offline (player) */
.profiles_player_table_info td.isonline,
.profiles_player_table_info td.isoffline{
  text-align: right !important;
  font-weight: 900 !important;
  letter-spacing: .02em !important;
}
.profiles_player_table_info td.isonline{
  color: rgba(60,230,140,.95) !important;
}
.profiles_player_table_info td.isoffline{
  color: rgba(255,120,120,.92) !important;
}

/* Guild: logo y nombre */
.profiles_guild_card .guild_logo img{
  border-radius: 16px !important;
  box-shadow: 0 12px 50px rgba(0,0,0,.55) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
}
.profiles_guild_card .guild_name{
  display: block !important;
  font-weight: 950 !important;
  font-size: clamp(22px, 2.2vw, 34px) !important;
  color: rgba(255,255,255,.94) !important;
  letter-spacing: .02em !important;
  text-transform: uppercase !important;
  margin: 6px 0 10px !important;
}

/* Guild: tabla info */
.profiles_guild_card table.table{
  background: rgba(255,255,255,.03) !important;
  border: 1px solid rgba(255,255,255,.06) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  margin: 0 !important;
}
.profiles_guild_card table.table tr{
  border-bottom: 1px solid rgba(255,255,255,.06) !important;
}
.profiles_guild_card table.table tr:last-child{
  border-bottom: 0 !important;
}
.profiles_guild_card table.table td{
  border-top: 0 !important;
  padding: 10px 12px !important;
  font-weight: 750 !important;
  color: rgba(255,255,255,.86) !important;
}
.profiles_guild_card table.table td.text-right{
  color: rgba(255,255,255,.68) !important;
}
.profiles_guild_card table.table a{
  color: rgba(0,170,255,.92) !important;
  text-decoration: none !important;
  font-weight: 850 !important;
}
.profiles_guild_card table.table a:hover{
  color: rgba(255,190,70,.92) !important;
}

/* Separador */
.profiles_guild_card hr{
  border-top: 1px solid rgba(255,255,255,.08) !important;
  opacity: .55 !important;
}

/* Guild: “Miembros” */
.profiles_guild_card .guild_members{
  display:block !important;
  font-weight: 900 !important;
  letter-spacing: .02em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,.86) !important;
  margin-bottom: 10px !important;
}

/* Lista miembros como chips */
.profiles_guild_card .guild_members_list .col-xs-3{
  padding: 6px !important;
}
.profiles_guild_card .guild_members_list a{
  display:block !important;
  background: rgba(255,255,255,.03) !important;
  border: 1px solid rgba(255,255,255,.06) !important;
  border-radius: 12px !important;
  padding: 9px 10px !important;
  font-weight: 850 !important;
  color: rgba(255,255,255,.86) !important;
  text-decoration: none !important;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.profiles_guild_card .guild_members_list a:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.05) !important;
  border-color: rgba(255,190,70,.18) !important;
  color: rgba(255,190,70,.92) !important;
}

/* Responsive */
@media (max-width: 767px){
  .profiles_guild_card .col-xs-6{ width:100% !important; }
  .profiles_guild_card .guild_members_list .col-xs-3{ width:50% !important; }
}
/* =========================================================
   MUGM — CAROUSEL (override final, sin tocar HTML/JS)
   - Más grande (PC + mobile)
   - Sin blur/coverflow feo
   - Look coherente con el sitio
   ========================================================= */

/* contenedor general */
.mugm-gallery{
  position: relative !important;
  border-radius: 18px !important;
  background: linear-gradient(180deg, rgba(18,28,55,.55), rgba(8,12,22,.55)) !important;
  border: 1px solid rgba(255,255,255,.07) !important;
  box-shadow: 0 20px 70px rgba(0,0,0,.55) !important;
  overflow: hidden !important;
}

/* toolbar (flechas) */
.mugm-gallery__toolbar{
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  z-index: 4 !important;
  display: flex !important;
  gap: 10px !important;
  margin: 0 !important;
}

.mugm-gallery__btn{
  width: 42px !important;
  height: 42px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  background: rgba(10,14,24,.55) !important;
  color: rgba(255,255,255,.92) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.45) !important;
}
.mugm-gallery__btn:hover{
  border-color: rgba(255,190,70,.35) !important;
  transform: translateY(-1px) !important;
}
.mugm-gallery__btn:active{ transform: translateY(0) !important; }

/* viewport: sin scrollbar fea + máscara suave en bordes */
.mugm-gallery__viewport{
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
  padding: 18px 14px 42px !important; /* espacio para hint */
  mask-image: linear-gradient(90deg,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,1) 8%,
    rgba(0,0,0,1) 92%,
    rgba(0,0,0,0) 100%) !important;
  -webkit-mask-image: linear-gradient(90deg,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,1) 8%,
    rgba(0,0,0,1) 92%,
    rgba(0,0,0,0) 100%) !important;
}
.mugm-gallery__viewport::-webkit-scrollbar{ display:none !important; }

/* track: centrado “real” con padding lateral */
.mugm-gallery__track{
  display: flex !important;
  gap: 14px !important;
  padding: 0 calc(50% - 260px) !important; /* centra una card ~520px */
}

/* cards: look premium + grande (PC) */
.mugm-gallery__card{
  flex: 0 0 clamp(320px, 44vw, 520px) !important;
  aspect-ratio: 16 / 9 !important;
  border-radius: 16px !important;
  border: 1px solid rgba(255,255,255,.09) !important;
  background: rgba(0,0,0,.25) !important;
  overflow: hidden !important;

  /* mata el coverflow anterior */
  transform: none !important;
  filter: none !important;
  opacity: .78 !important;

  scroll-snap-align: center !important;
  transition: opacity .18s ease, transform .18s ease, border-color .18s ease !important;
  box-shadow: 0 18px 60px rgba(0,0,0,.55) !important;
}

/* card central: destaca (el JS ya pone .is-center) */
.mugm-gallery__card.is-center{
  opacity: 1 !important;
  transform: translateY(-2px) !important;
  border-color: rgba(255,190,70,.22) !important;
  box-shadow: 0 26px 80px rgba(0,0,0,.65) !important;
}

/* imagen: llena bien */
.mugm-gallery__img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transform: scale(1.02) !important;
}

/* brillo/shine más sutil y “pro” */
.mugm-gallery__shine{
  position:absolute !important;
  inset:0 !important;
  background:
    radial-gradient(120% 90% at 70% 20%, rgba(0,170,255,.14) 0%, rgba(0,170,255,0) 55%),
    radial-gradient(120% 90% at 30% 80%, rgba(255,190,70,.10) 0%, rgba(255,190,70,0) 55%),
    linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.35)) !important;
  pointer-events:none !important;
  opacity: .95 !important;
}

/* hint abajo (más limpio) */
.mugm-gallery__hint{
  position:absolute !important;
  left: 14px !important;
  right: 14px !important;
  bottom: 10px !important;
  z-index: 4 !important;
  display:flex !important;
  justify-content:center !important;
  gap: 10px !important;
  color: rgba(255,255,255,.70) !important;
  font-size: 12px !important;
  opacity: .95 !important;
}
.mugm-gallery__dot{ opacity: .55 !important; }

/* ===== Mobile: bien grande (no miniatura) ===== */
@media (max-width: 991px){
  .mugm-gallery__track{
    padding: 0 calc(50% - 42vw) !important; /* centra una card ~84vw */
  }
  .mugm-gallery__card{
    flex-basis: 84vw !important;
    border-radius: 16px !important;
    opacity: .88 !important;
  }
  .mugm-gallery__toolbar{
    top: 10px !important;
    right: 10px !important;
  }
  .mugm-gallery__btn{
    width: 40px !important;
    height: 40px !important;
  }
}

/* ===== Lightbox: que también combine ===== */
.mugm-lightbox__panel{
  border-radius: 18px !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  background: rgba(10,14,24,.65) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 0 30px 120px rgba(0,0,0,.75) !important;
}
.mugm-lightbox__close,
.mugm-lightbox__nav{
  border: 1px solid rgba(255,255,255,.10) !important;
  background: rgba(10,14,24,.55) !important;
  color: rgba(255,255,255,.92) !important;
}
.mugm-lightbox__close:hover,
.mugm-lightbox__nav:hover{
  border-color: rgba(255,190,70,.35) !important;
}
/* ====== CAROUSEL 1-UP (solo una imagen visible) ====== */

/* viewport ocupa bien el ancho y centra */
.mugm-gallery__viewport{
  scroll-snap-type: x mandatory !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* track: elimina el padding raro y centra el "1-up" */
.mugm-gallery__track{
  padding: 0 !important;
  justify-content: flex-start !important;
}

/* cada card ocupa el ancho visible (una sola por vez) */
.mugm-gallery__card{
  flex: 0 0 100% !important;  /* 1 por pantalla */
  max-width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  scroll-snap-align: center !important;

  /* para que el “central” no se vea desalineado */
  margin: 0 14px !important; /* margen interno para que no toque bordes */
}

/* y el track tiene que compensar esos márgenes para que el snap quede al centro */
.mugm-gallery__track{
  gap: 0 !important;
}

/* en desktop que no quede exageradamente alto */
@media (min-width: 992px){
  .mugm-gallery__card{
    margin: 0 18px !important;
    aspect-ratio: 21 / 9 !important; /* más cinemático, opcional */
  }
}
/* =========================================================
   FIX MOBILE: que el navbar siempre quede arriba
   ========================================================= */
header, .navbar, .navbar-fixed-top, .mugm-navbar, .we-navbar {
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
}

/* Si existe alguna "topbar" fija arriba, evitá que empuje o tape */
.we-timebar, .topbar, .topbar-time, .nav-time, .mugm-top-time {
  position: static !important;
  top: auto !important;
}

/* En mobile: ocultar cualquier barra de tiempos (si coincide la clase) */
@media (max-width: 768px){
  .we-timebar,
  .topbar-time,
  .nav-time,
  .mugm-top-time {
    display: none !important;
  }
}
@media (max-width: 768px){
  /* cambia .we-news-card por la clase real de cada card */
  .we-news-grid .we-news-card { display:none !important; }
  .we-news-grid .we-news-card:nth-child(-n+3){ display:block !important; }
}
/* =========================
   HERO SIDE CARD (Castle Siege)
========================= */
.we-hero-grid { position: relative; }
.we-hero-side{
  margin-top: 16px;
}

.we-hero-card{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(10,14,22,.72), rgba(8,10,16,.62));
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
  overflow: hidden;
}

.we-hero-card__head{
  padding: 14px 14px 10px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.we-hero-card__tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  font-weight: 700;
  letter-spacing: .2px;
}
.we-hero-card__title{
  margin-top: 10px;
  font-weight: 900;
  font-size: 18px;
}
.we-hero-card__sub{
  margin-top: 4px;
  opacity: .78;
  font-size: 13px;
}

.we-hero-card__body{
  padding: 12px 14px;
}

.we-hero-card__foot{
  padding: 12px 14px 14px;
  display:flex;
  gap:10px;
  flex-wrap: wrap;
}

/* =========================
   RESTYLE: templateCastleSiegeWidget()
   (no tocamos PHP, solo CSS)
========================= */
.mugm-cs-hero .panel.castle-owner-widget{
  margin: 0 !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: rgba(0,0,0,.20) !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

.mugm-cs-hero .panel.castle-owner-widget .panel-heading{
  border: 0 !important;
  background: rgba(255,255,255,.04) !important;
  padding: 10px 12px !important;
}
.mugm-cs-hero .panel.castle-owner-widget .panel-title{
  font-weight: 900 !important;
  letter-spacing: .4px !important;
  text-transform: uppercase !important;
  opacity: .92 !important;
}

.mugm-cs-hero .panel.castle-owner-widget .panel-body{
  padding: 12px !important;
}

.mugm-cs-hero .panel.castle-owner-widget .alt{
  display:block !important;
  font-size: 12px !important;
  letter-spacing: .4px !important;
  text-transform: uppercase !important;
  opacity: .70 !important;
  margin-bottom: 3px !important;
}

.mugm-cs-hero .panel.castle-owner-widget .btn.btn-castlewidget{
  border-radius: 999px !important;
  padding: 6px 10px !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  background: rgba(255,255,255,.06) !important;
  color: rgba(255,255,255,.92) !important;
  font-weight: 800 !important;
}

/* Ajuste de layout interno del widget (evita “desorden” y scroll raro) */
.mugm-cs-hero .panel.castle-owner-widget .row{
  margin-left: -6px !important;
  margin-right: -6px !important;
}
.mugm-cs-hero .panel.castle-owner-widget [class*="col-"]{
  padding-left: 6px !important;
  padding-right: 6px !important;
}

/* Mobile: que se acomode bien */
@media (max-width: 768px){
  .we-hero-card__title{ font-size: 16px; }
  .we-hero-card__foot{ justify-content: space-between; }
}
/* =========================
   FOOTER MuGM (premium)
========================= */
.mugm-footer{
  margin-top: 40px;
  padding: 28px 0 18px;
  border-top: 1px solid rgba(255,255,255,.06);
  background: radial-gradient(1200px 600px at 20% 0%, rgba(55,120,255,.12), transparent 55%),
              radial-gradient(900px 500px at 85% 20%, rgba(255,190,70,.10), transparent 50%),
              rgba(6,8,12,.85);
}

.mugm-footer__grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 18px;
}

.mugm-footer__brand{
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.03);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 20px 70px rgba(0,0,0,.35);
}

.mugm-footer__logo img{
  max-width: 120px;
  height: auto;
  display:block;
}

.mugm-footer__desc{
  margin: 10px 0 14px;
  opacity: .78;
  line-height: 1.5;
}

.mugm-footer__cta{
  display:flex;
  gap:10px;
  flex-wrap: wrap;
}

.mugm-footer__btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,210,120,.16);
  color: rgba(255,255,255,.96);
  font-weight: 800;
  text-decoration:none !important;
}
.mugm-footer__btn--ghost{
  background: rgba(255,255,255,.06);
}

.mugm-footer__col{
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
  border-radius: 18px;
  padding: 16px;
}

.mugm-footer__title{
  font-weight: 900;
  letter-spacing: .5px;
  text-transform: uppercase;
  opacity: .92;
  margin-bottom: 10px;
}

.mugm-footer__link{
  display:block;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.18);
  margin-bottom: 10px;
  color: rgba(120,200,255,.95);
  text-decoration:none !important;
}
.mugm-footer__link:hover{
  background: rgba(255,255,255,.05);
}

.mugm-footer__social{
  display:flex;
  gap:10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.mugm-social{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.92);
  text-decoration:none !important;
}

.mugm-footer__bottom{
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.06);
  display:flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.mugm-footer__copy{
  opacity: .80;
  font-size: 13px;
}
.mugm-footer__muted{
  display:block;
  opacity: .65;
  margin-top: 4px;
}

.mugm-footer__engine{
  display:flex;
  align-items:center;
  gap:10px;
  opacity: .85;
}
.mugm-footer__engine img{
  height: 22px;
  width: auto;
  opacity: .92;
}

@media (max-width: 992px){
  .mugm-footer__grid{ grid-template-columns: 1fr; }
  .mugm-footer__bottom{ flex-direction: column; align-items: flex-start; }
}
/* =========================================================
   HERO: más vistoso + consistente
========================================================= */

.mugm-hero__inner{
  display:grid !important;
  grid-template-columns: 1.05fr .95fr !important;
  gap: 18px !important;
  align-items: center !important;
}

@media (max-width: 992px){
  .mugm-hero__inner{ grid-template-columns: 1fr !important; }
}

.mugm-hero__copy{
  position: relative !important;
  z-index: 2 !important;
}

.mugm-hero-bullets{
  display:flex !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  margin-top: 14px !important;
  opacity: .92 !important;
}

.mugm-hero-bullets span{
  display:inline-flex !important;
  align-items:center !important;
  gap:8px !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  background: rgba(255,255,255,.04) !important;
  font-size: 12.5px !important;
}

/* métricas nuevas */
.mugm-hero-metrics{
  display:grid !important;
  grid-template-columns: repeat(4, minmax(0,1fr)) !important;
  gap: 12px !important;
  margin-top: 16px !important;
}

@media (max-width: 992px){
  .mugm-hero-metrics{ grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
}

.mugm-metric{
  display:flex !important;
  gap: 10px !important;
  align-items:center !important;
  padding: 12px 12px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  background: rgba(10,14,28,.35) !important;
  box-shadow: 0 18px 50px rgba(0,0,0,.35) !important;
  backdrop-filter: blur(10px) !important;
}

.mugm-metric__ico{
  width: 36px !important;
  height: 36px !important;
  border-radius: 12px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
}

.mugm-metric__label{ font-size: 12px !important; opacity: .70 !important; }
.mugm-metric__value{ font-size: 18px !important; font-weight: 900 !important; letter-spacing: .2px !important; }

.mugm-pill{
  display:inline-flex !important;
  align-items:center !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  font-weight: 900 !important;
  font-size: 12px !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  background: rgba(255,255,255,.05) !important;
}

.mugm-pill--on{ box-shadow: 0 0 0 2px rgba(35,220,140,.10) inset !important; }
.mugm-pill--off{ box-shadow: 0 0 0 2px rgba(255,80,80,.10) inset !important; }

/* =========================================================
   CASTLE SIEGE BLOCK (arriba del slider)
========================================================= */

.mugm-home-block--cs .mugm-section__head--cs{
  display:flex !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-bottom: 10px !important;
}

.mugm-home-block--cs .mugm-section__sub{
  font-size: 12.5px !important;
  opacity: .72 !important;
}

.mugm-cs-box{
  border-radius: 18px !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  background: rgba(8,10,14,.22) !important;
  backdrop-filter: blur(10px) !important;
  box-shadow: 0 18px 55px rgba(0,0,0,.40) !important;
  padding: 12px !important;
  overflow: hidden !important;
}

/* “skin” para widget bootstrap */
.mugm-cs-skin .panel{
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.mugm-cs-skin .panel-heading{ display:none !important; }
.mugm-cs-skin .panel-body{ padding: 0 !important; }

/* Asegura que el contenido interno no rompa el layout */
.mugm-cs-skin .row{ margin-left: 0 !important; margin-right: 0 !important; }
.mugm-cs-skin [class*="col-"]{ padding-left: 0 !important; padding-right: 0 !important; }

/* Si el widget trae tablas/listas, las “mugmizamos” */
.mugm-cs-skin table{
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}
.mugm-cs-skin td, .mugm-cs-skin th{
  padding: 8px 10px !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
  color: rgba(235,242,255,.90) !important;
}
.mugm-cs-skin tr:last-child td{ border-bottom: 0 !important; }

/* Acciones */
.mugm-cs-actions{
  display:flex !important;
  gap: 10px !important;
  margin-top: 10px !important;
  flex-wrap: wrap !important;
}
/* =========================================================
   CASTLE SIEGE – Compact 2 columnas (izq dueño / der etapa)
========================================================= */

.mugm-home-block--cs .mugm-cs-box--compact{
  padding: 12px !important;
}

.mugm-cs-skin--compact{
  position: relative !important;
}

/* Reset bootstrap típico dentro del widget */
.mugm-cs-skin--compact .panel,
.mugm-cs-skin--compact .panel-body{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.mugm-cs-skin--compact .panel-heading{ display:none !important; }
.mugm-cs-skin--compact .panel-body{ padding: 0 !important; }

/* Si el widget viene con "row/col" lo convertimos a una grilla 2 columnas */
.mugm-cs-skin--compact .row{
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 14px !important;
  align-items: center !important;
  margin: 0 !important;
}

@media (max-width: 992px){
  .mugm-cs-skin--compact .row{
    grid-template-columns: 1fr !important;
  }
}

/* Columnas bootstrap típicas */
.mugm-cs-skin--compact [class*="col-"]{
  float: none !important;
  width: auto !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* --- IZQUIERDA: escudo + dueño + guild master --- */
.mugm-cs-skin--compact [class*="col-"]:first-child{
  display: grid !important;
  grid-template-columns: 64px 1fr !important;
  gap: 12px !important;
  align-items: center !important;
}

/* Imágenes del widget: las tratamos como escudo */
.mugm-cs-skin--compact img{
  width: 64px !important;
  height: 64px !important;
  object-fit: cover !important;
  border-radius: 16px !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  background: rgba(255,255,255,.04) !important;
  box-shadow: 0 12px 35px rgba(0,0,0,.40) !important;
}

/* Textos: compactos y con jerarquía */
.mugm-cs-skin--compact b,
.mugm-cs-skin--compact strong{
  color: rgba(235,242,255,.92) !important;
}

.mugm-cs-skin--compact p,
.mugm-cs-skin--compact span,
.mugm-cs-skin--compact div{
  color: rgba(235,242,255,.86) !important;
}

/* --- DERECHA: etapa + tiempo --- */
.mugm-cs-skin--compact [class*="col-"]:last-child{
  padding-left: 14px !important;
  border-left: 1px solid rgba(255,255,255,.08) !important;
}

@media (max-width: 992px){
  .mugm-cs-skin--compact [class*="col-"]:last-child{
    padding-left: 0 !important;
    border-left: 0 !important;
    border-top: 1px solid rgba(255,255,255,.08) !important;
    padding-top: 12px !important;
  }
}

/* Cuenta regresiva / tiempo: estilo "badge" */
.mugm-cs-skin--compact .mugm-cs-countdown,
.mugm-cs-skin--compact .countdown,
.mugm-cs-skin--compact [data-countdown]{
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  background: rgba(255,255,255,.05) !important;
  font-weight: 800 !important;
}

/* Botón interno del widget (si existe) lo hacemos “pro” y pequeño */
.mugm-cs-skin--compact .btn,
.mugm-cs-skin--compact button,
.mugm-cs-skin--compact a.btn{
  border-radius: 999px !important;
  padding: 8px 12px !important;
  font-weight: 800 !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  background: rgba(0,170,255,.14) !important;
  color: rgba(235,242,255,.92) !important;
  text-decoration: none !important;
}

/* Para que el bloque total sea más “bajo” */
.mugm-home-block--cs .mugm-cs-box--compact{
  max-height: 210px !important;
  overflow: hidden !important;
}
/* =========================
   Castle Siege (skin 2-col)
   ========================= */

.mugm-cs-box--2col{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(10,14,28,.35);
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
  backdrop-filter: blur(12px);
  padding: 14px;
}

/* Contenedor que armamos por JS */
.mugm-cs-layout{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 14px;
  align-items: stretch;
}

@media (max-width: 992px){
  .mugm-cs-layout{ grid-template-columns: 1fr; }
}

/* Columnas */
.mugm-cs-left,
.mugm-cs-right{
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.18);
  padding: 12px;
  min-height: 120px;
}

/* Header mini dentro */
.mugm-cs-minihead{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom: 10px;
}

.mugm-cs-logo{
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.35);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  flex: 0 0 48px;
}

.mugm-cs-logo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mugm-cs-titles{
  line-height: 1.15;
}
.mugm-cs-titles .t1{
  font-weight: 700;
  letter-spacing: .2px;
  color: rgba(255,255,255,.92);
}
.mugm-cs-titles .t2{
  font-size: 12px;
  color: rgba(230,238,255,.70);
  margin-top: 2px;
}

/* filas */
.mugm-cs-rows{
  display:grid;
  gap: 8px;
  margin-top: 6px;
}

.mugm-cs-row{
  display:flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
}

.mugm-cs-row .k{
  font-size: 12px;
  color: rgba(230,238,255,.70);
}
.mugm-cs-row .v{
  font-weight: 700;
  color: rgba(255,255,255,.92);
  text-align:right;
}

/* tiempo grande */
.mugm-cs-countdown{
  margin-top: 10px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.08);
}

.mugm-cs-countdown .label{
  font-size: 12px;
  color: rgba(230,238,255,.70);
}
.mugm-cs-countdown .time{
  margin-top: 4px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .3px;
  color: rgba(255,255,255,.95);
}

/* Ocultamos el HTML original del widget una vez “migrado” */
.mugm-cs-skin.is-skimmed{
  display:none !important;
}
/* =========================
   Castle Siege — Page AAA
   ========================= */

.mugm-cs-page{ margin-top: 10px; }

.mugm-cs-card{
  margin: 14px 0;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(10,14,28,.32);
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
  backdrop-filter: blur(12px);
}

.mugm-cs-head{
  display:flex;
  gap:12px;
  align-items:flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.mugm-cs-badges{ display:flex; gap:8px; flex-wrap: wrap; }

.mugm-cs-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
  color: rgba(255,255,255,.90);
  font-size: 12px;
}

.mugm-cs-pill--muted{
  color: rgba(230,238,255,.78);
  background: rgba(255,255,255,.04);
}

/* métricas rápidas */
.mugm-cs-metrics{
  margin-top: 12px;
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
}
@media (max-width: 992px){
  .mugm-cs-metrics{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
.mugm-cs-metric{
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.18);
  padding: 10px 12px;
}
.mugm-cs-metric .k{ font-size: 12px; color: rgba(230,238,255,.70); }
.mugm-cs-metric .v{ margin-top: 2px; font-weight: 800; color: rgba(255,255,255,.92); }

/* owner + allies */
.mugm-cs-owner-grid{
  margin-top: 10px;
  display:grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 12px;
}
@media (max-width: 992px){
  .mugm-cs-owner-grid{ grid-template-columns: 1fr; }
}

.mugm-cs-owner, .mugm-cs-allies{
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.18);
  padding: 12px;
}

.mugm-cs-owner__top{
  display:flex;
  align-items:center;
  gap: 12px;
}
.mugm-cs-owner__logo{
  width: 74px; height: 74px;
  display:flex; align-items:center; justify-content:center;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.30);
  overflow:hidden;
}
.mugm-cs-owner__txt .name{
  font-weight: 900;
  color: rgba(255,255,255,.95);
}
.mugm-cs-owner__txt .tag{
  display:inline-flex; gap:8px; align-items:center;
  margin-top: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: rgba(230,238,255,.82);
  font-size: 12px;
}

.mugm-cs-owner__rows{ margin-top: 10px; display:grid; gap: 8px; }
.mugm-cs-owner__rows .rowi{
  display:flex; justify-content: space-between; gap:10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
}
.mugm-cs-owner__rows .k{ color: rgba(230,238,255,.70); font-size: 12px; }
.mugm-cs-owner__rows .v{ color: rgba(255,255,255,.92); font-weight: 800; text-align:right; }

.mugm-cs-allies__head .t{ font-weight: 900; color: rgba(255,255,255,.92); }
.mugm-cs-allies__head .s{ margin-top: 4px; font-size: 12px; color: rgba(230,238,255,.70); }

.mugm-cs-table{ margin-top: 10px; display:grid; gap: 6px; }
.mugm-cs-tr{
  display:grid;
  grid-template-columns: 34px 1fr 1fr;
  gap: 10px;
  align-items:center;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
}
.mugm-cs-tr--th{
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(230,238,255,.78);
  font-weight: 800;
}

/* timer */
.mugm-cs-timer{
  margin-top: 10px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.25);
  font-weight: 900;
  color: rgba(255,255,255,.92);
}

/* tablas */
.mugm-cs-table2{
  margin-top: 10px;
  border-radius: 16px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.08);
}
.mugm-cs-table2 thead th{
  background: rgba(0,0,0,.35) !important;
  color: rgba(255,255,255,.90) !important;
  border-bottom: 1px solid rgba(255,255,255,.10) !important;
}
.mugm-cs-table2 tbody td{
  background: rgba(255,255,255,.03) !important;
  border-top: 1px solid rgba(255,255,255,.06) !important;
  color: rgba(235,242,255,.88) !important;
}
.mugm-cs-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width: 44px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.10);
  font-weight: 900;
}
.mugm-cs-chip--muted{
  opacity: .85;
}
.mugm-cs-empty{
  margin-top: 10px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(230,238,255,.78);
}
/* =========================================================
   THEME TOGGLE (Light/Dark) — PEGAR AL FINAL DE aaa.css
   Mantiene DARK como default (tu look actual)
   y agrega LIGHT con html[data-theme="light"]
   ========================================================= */

/* 1) Botón en la topbar */
.mugm-themebtn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  cursor:pointer;
  user-select:none;
  white-space:nowrap;

  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--text, #e6e9f2);
}

.mugm-themebtn:hover{
  filter: brightness(1.05);
}

.mugm-themebtn__icon{
  line-height: 1;
  font-size: 13px;
  opacity:.95;
}

.mugm-themebtn__text{
  font-weight:800;
  font-size:12px;
  letter-spacing:.2px;
  opacity:.9;
}

/* 2) LIGHT THEME OVERRIDES
      (DARK queda como default porque tu :root actual ya es oscuro)
*/
html[data-theme="light"]{
  /* Tokens base (ajustados a un light “premium”) */
  --bg0:#F6F8FC;
  --bg1:#EEF2F9;
  --bg2:#E7ECF6;

  --text:#0E1726;
  --muted:rgba(14,23,38,.68);

  --line:rgba(10,20,40,.12);

  --shadow: 0 18px 60px rgba(0,0,0,.10);

  /* Si tenés tokens mugm, los alineamos (si no existen, no pasa nada) */
  --mugm-bg0: var(--bg0);
  --mugm-bg1: var(--bg1);
  --mugm-bg2: var(--bg2);

  --mugm-card: rgba(255,255,255,.72);
  --mugm-card2: rgba(255,255,255,.58);

  --mugm-line: rgba(10,20,40,.10);
  --mugm-line2: rgba(10,20,40,.16);

  --mugm-text: rgba(14,23,38,.92);
  --mugm-muted: rgba(14,23,38,.68);

  --mugm-shadow: 0 18px 55px rgba(0,0,0,.12);
  --mugm-shadow2: 0 10px 25px rgba(0,0,0,.10);
}

/* 3) Aseguramos fondo/texto global (solo si tu CSS no lo aplica bien) */
html[data-theme="light"] body.mugm-body{
  background: var(--bg0);
  color: var(--text);
}

/* 4) Link/discord en light (opcional, mejora contraste) */
html[data-theme="light"] .mugm-topbar{
  border-bottom-color: rgba(10,20,40,.12);
}

/* 5) Botón en LIGHT (se ve claro, no oscuro) */
html[data-theme="light"] .mugm-themebtn{
  background: rgba(0,0,0,.04);
  border: 1px solid rgba(0,0,0,.12);
  color: var(--text);
}
/* =========================================================
   LIGHT MODE FIX (pisar los !important del DARK)
   PEGAR AL FINAL ABSOLUTO de aaa.css
   ========================================================= */

html[data-theme="light"],
html[data-theme="light"] body{
  background:
    radial-gradient(1200px 520px at 24% 8%, rgba(37,99,235,.14) 0%, rgba(37,99,235,0) 58%),
    radial-gradient(1000px 520px at 82% 18%, rgba(200,164,90,.16) 0%, rgba(200,164,90,0) 62%),
    radial-gradient(1200px 900px at 50% 55%, rgba(230,236,248,.90) 0%, rgba(246,248,252,1) 62%),
    linear-gradient(180deg, #FFFFFF 0%, #F6F8FC 70%) !important;
  color: rgba(14,23,38,.92) !important;
}

/* “grano” / overlay del body: en light lo apagamos (en dark está fijo) */
html[data-theme="light"] body::before{
  opacity: 0 !important;
  background-image: none !important;
}

/* Topbar + Header (en dark están clavados con !important) */
html[data-theme="light"] .mugm-topbar{
  background: linear-gradient(180deg, rgba(255,255,255,.85) 0%, rgba(255,255,255,.65) 100%) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(10,20,40,.12) !important;
}

html[data-theme="light"] .mugm-header{
  background: linear-gradient(180deg, rgba(255,255,255,.78) 0%, rgba(255,255,255,.60) 55%, rgba(255,255,255,.45) 100%) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid rgba(10,20,40,.10) !important;
}

/* Navbar links (en dark están forzados a blanco con !important) */
html[data-theme="light"] .mugm-nav__list a{
  color: rgba(14,23,38,.78) !important;
  text-shadow: none !important;
}
html[data-theme="light"] .mugm-nav__list a:hover{
  color: #2563EB !important;
  text-shadow: 0 0 0 rgba(0,0,0,0) !important;
}

/* Botones ghost (en dark están con glass oscuro) */
html[data-theme="light"] .mugm-btn--ghost{
  color: rgba(14,23,38,.92) !important;
  background: rgba(0,0,0,.04) !important;
  border-color: rgba(10,20,40,.14) !important;
}
html[data-theme="light"] .mugm-btn--ghost:hover{
  background: rgba(0,0,0,.06) !important;
  border-color: rgba(10,20,40,.18) !important;
}

/* HERO overlay: en tu base es oscuro (linear-gradient con negros) */
html[data-theme="light"] .mugm-hero__bg{
  background:
    radial-gradient(900px 520px at 30% 15%, rgba(37,99,235,.16), transparent 60%),
    radial-gradient(800px 520px at 75% 10%, rgba(200,164,90,.14), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.10)) !important;
}

/* Cards / Secciones principales (para que “aparezcan” blancas y legibles) */
html[data-theme="light"] .mugm-section,
html[data-theme="light"] .mugm-home-block,
html[data-theme="light"] .mugm-modal,
html[data-theme="light"] .mugm-card,
html[data-theme="light"] .mugm-box,
html[data-theme="light"] .mugm-panel{
  background: rgba(255,255,255,.70) !important;
  border: 1px solid rgba(10,20,40,.10) !important;
  box-shadow: 0 18px 55px rgba(0,0,0,.10) !important;
  color: rgba(14,23,38,.92) !important;
}

/* Texto “muted” típico */
html[data-theme="light"] .mugm-muted,
html[data-theme="light"] .mugm-subtitle,
html[data-theme="light"] .mugm-section__sub,
html[data-theme="light"] .mugm-kicker-text{
  color: rgba(14,23,38,.68) !important;
}
/* =========================================================
   NEWS (lista premium) — integrado al estilo we-
========================================================= */
.we-news-page{
  background: var(--we-bg-1);
  padding: 64px 0;
}

.we-news-head{
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.we-news-list{
  display:flex;
  flex-direction: column;
  gap: 14px;
}

/* Item */
.we-news-item{
  display:grid;
  grid-template-columns: 280px 1fr;
  gap: 16px;
  border-radius: 22px;
  overflow:hidden;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 12px 30px rgba(0,0,0,.22);
}

.we-news-thumb{
  position: relative;
  background: rgba(255,255,255,.02);
}
.we-news-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
  min-height: 180px;
}

/* Body */
.we-news-body{
  padding: 16px 16px 18px;
  display:flex;
  flex-direction: column;
  justify-content: center;
}

.we-news-meta{
  display:flex;
  align-items:center;
  gap: 10px;
  color: rgba(231,237,246,.62);
  font-size: 12px;
  letter-spacing: .2px;
  text-transform: none;
  margin-bottom: 8px;
}
.we-news-dot{ opacity:.6; }

.we-news-title{
  margin: 0 0 8px;
  font-weight: 900;
  letter-spacing: .2px;
  color: rgba(231,237,246,.96);
  font-size: 18px;
  line-height: 1.2;
}

.we-news-excerpt{
  margin: 0 0 12px;
  color: rgba(231,237,246,.72);
  font-size: 14px;
  line-height: 1.6;
  max-width: 90ch;
}

/* CTA */
.we-news-actions{
  margin-top: auto;
  display:flex;
  gap: 10px;
  align-items:center;
}

.we-news-more{
  appearance:none;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: rgba(231,237,246,.90);
  font-weight: 900;
  border-radius: 14px;
  padding: 10px 12px;
  cursor:pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.we-news-more:hover{
  transform: translateY(-1px);
  background: rgba(79,195,255,.06);
  border-color: rgba(79,195,255,.18);
}

/* Pagination */
.we-news-pagination{
  margin-top: 18px;
  display:flex;
  justify-content: center;
}

.we-pager{
  list-style:none;
  margin: 0;
  padding: 0;
  display:flex;
  gap: 8px;
  align-items:center;
  flex-wrap: wrap;
}

.we-pager-btn,
.we-pager-num{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width: 42px;
  height: 40px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: rgba(231,237,246,.86);
  text-decoration:none;
  font-weight: 900;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.we-pager-btn:hover,
.we-pager-num:hover{
  transform: translateY(-1px);
  background: rgba(79,195,255,.06);
  border-color: rgba(79,195,255,.18);
  color: rgba(231,237,246,.95);
}
.we-pager-num.is-active{
  background: linear-gradient(135deg, rgba(30,111,255,.95), rgba(79,195,255,.85));
  border-color: rgba(79,195,255,.45);
  color: #07101a;
}
.we-pager-btn.is-disabled{
  opacity: .45;
  cursor: not-allowed;
}

/* Responsive */
@media (max-width: 980px){
  .we-news-item{
    grid-template-columns: 220px 1fr;
  }
}
@media (max-width: 640px){
  .we-news-item{
    grid-template-columns: 1fr;
  }
  .we-news-thumb img{
    min-height: 160px;
  }
}
/* =========================================================
   PALETA PREMIUM MuGM — Jerarquía de color
   - Azul/Cian: UI e interacción
   - Dorado: prestigio / recompensa (solo highlights)
========================================================= */

/* Ajustes finos de paleta (sin cambiar tu base) */
:root{
  --we-blue-2: rgba(30,111,255,.22);
  --we-cyan-2: rgba(79,195,255,.22);
  --we-gold-2: rgba(212,175,55,.22);

  /* "oro premium" para textos y bordes sutiles */
  --we-gold-text: rgba(241,210,122,.92);
  --we-gold-border: rgba(212,175,55,.28);
  --we-gold-glow: 0 18px 55px rgba(212,175,55,.14);

  /* Hover UI (cian) */
  --we-hover-ui: rgba(79,195,255,.08);
  --we-hover-ui-border: rgba(79,195,255,.20);

  /* Card base */
  --we-card-bg: rgba(255,255,255,.03);
  --we-card-border: rgba(255,255,255,.08);
}

/* =========================================================
   Reglas de jerarquía: Oro SOLO en “lo importante”
========================================================= */

/* CTA principal en dorado (esto levanta la percepción premium) */
.we-btn-primary{
  background: linear-gradient(135deg, rgba(212,175,55,.95), rgba(241,210,122,.88));
  color: #0b0f14;
  border-color: rgba(241,210,122,.45);
  box-shadow: 0 18px 55px rgba(212,175,55,.12);
}
.we-btn-primary:hover{
  box-shadow: 0 26px 70px rgba(212,175,55,.16);
}

/* CTA secundario (ghost) sigue siendo azul/cian */
.we-btn-ghost:hover{
  background: rgba(79,195,255,.05);
  border-color: var(--we-hover-ui-border);
}

/* Links: cian suave */
.we-link:hover{
  border-bottom-color: rgba(79,195,255,.65);
}

/* =========================================================
   HERO: badge más “pro”, sin gritar
========================================================= */
.we-badge{
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(8px);
}
.we-dot{
  background: rgba(46,204,113,.95); /* online feel */
  box-shadow: 0 0 0 6px rgba(46,204,113,.12);
}

/* =========================================================
   CARDS: coherencia visual (menos “azul por todos lados”)
========================================================= */
.we-mini-card,
.we-feature,
.we-stat-card,
.we-news-card,
.we-table{
  background: var(--we-card-bg);
  border-color: var(--we-card-border);
}

/* Hover de cards: cian sutil (interacción) */
.we-mini-card:hover,
.we-feature:hover,
.we-news-card:hover{
  border-color: var(--we-hover-ui-border);
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
}

/* =========================================================
   RANKING: hacer que “Top 1” sea oro (prestigio)
========================================================= */
.we-table-row{
  position: relative;
}
.we-table-row:hover{
  background: var(--we-hover-ui);
}

/* Top 1 con borde y brillo dorado MUY sutil */
.we-table-row:nth-of-type(1){
  border-top: 1px solid rgba(255,255,255,.06);
}
.we-table-row:nth-of-type(1)::before{
  content:"";
  position:absolute;
  inset: 0;
  border: 1px solid var(--we-gold-border);
  border-radius: 0; /* el contenedor ya recorta */
  pointer-events:none;
  box-shadow: var(--we-gold-glow);
}

/* Resets con peso y un toque de oro (sin exagerar) */
.we-resets{
  font-weight: 950;
}
.we-table-row:nth-of-type(1) .we-resets{
  color: var(--we-gold-text);
}

/* =========================================================
   STATUS “Online” / “Offline”
========================================================= */
.we-dot-online{ color: #2ECC71; }
.we-dot-offline{ color: #E74C3C; }

/* =========================================================
   CTA FINAL: que se sienta “recompensa”
========================================================= */
.we-final-cta-inner{
  border-color: rgba(241,210,122,.14);
}
/* =========================================================
   NEWS — Lista premium editorial (integrada al look we-)
   Compatible con tu news.php + modal main.js
========================================================= */

.we-news-page{
  padding: 64px 0;
  background: var(--we-bg-1);
}

.we-news-head{
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

/* Lista */
.we-news-list{
  display: grid;
  gap: 14px;
}

/* Item tipo “fila premium” */
.we-news-item{
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 16px;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 14px 40px rgba(0,0,0,.25);
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

.we-news-item:hover{
  transform: translateY(-1px);
  border-color: rgba(79,195,255,.20);
  background: rgba(255,255,255,.035);
}

/* Thumb */
.we-news-thumb{
  position: relative;
  min-height: 170px;
  background: rgba(0,0,0,.25);
}

.we-news-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
  opacity: .95;
  transform: scale(1.02);
}

/* Overlay sutil para texto legible */
.we-news-thumb::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, rgba(0,0,0,.30), rgba(0,0,0,0));
  pointer-events:none;
}

/* Body */
.we-news-body{
  padding: 16px 16px 16px 6px;
  display:flex;
  flex-direction: column;
  justify-content: center;
}

.we-news-meta{
  display:flex;
  align-items:center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: rgba(231,237,246,.62);
  letter-spacing: .2px;
  margin-bottom: 8px;
  text-transform: none;
}

.we-news-dot{ opacity: .5; }

.we-news-title{
  margin: 0 0 8px;
  font-weight: 900;
  letter-spacing: .2px;
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.2;
  color: rgba(231,237,246,.96);
}

.we-news-excerpt{
  margin: 0 0 12px;
  color: rgba(231,237,246,.72);
  font-size: 14px;
  line-height: 1.55;
  max-width: 95ch;
}

/* CTA “Leer más” premium */
.we-news-actions{
  display:flex;
  gap: 10px;
  align-items:center;
}

.we-news-more{
  appearance:none;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: rgba(231,237,246,.92);
  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 900;
  cursor:pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.we-news-more:hover{
  transform: translateY(-1px);
  background: rgba(79,195,255,.06);
  border-color: rgba(79,195,255,.18);
}

/* =========================================================
   Paginación premium
========================================================= */
.we-news-pagination{
  margin-top: 18px;
  display:flex;
  justify-content:center;
}

.we-pager{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  align-items:center;
  gap: 8px;
  flex-wrap: wrap;
}

.we-pager-btn,
.we-pager-num{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: 14px;
  text-decoration:none;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: rgba(231,237,246,.82);
  font-weight: 900;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.we-pager-btn:hover,
.we-pager-num:hover{
  transform: translateY(-1px);
  background: rgba(79,195,255,.06);
  border-color: rgba(79,195,255,.18);
  color: rgba(231,237,246,.95);
}

.we-pager-num.is-active{
  background: linear-gradient(135deg, rgba(212,175,55,.92), rgba(241,210,122,.86));
  color: #0b0f14;
  border-color: rgba(241,210,122,.45);
}

.we-pager-btn.is-disabled{
  opacity: .35;
  pointer-events:none;
}

/* =========================================================
   Responsive
========================================================= */
@media (max-width: 980px){
  .we-news-item{
    grid-template-columns: 220px 1fr;
  }
}

@media (max-width: 680px){
  .we-news-item{
    grid-template-columns: 1fr;
  }
  .we-news-thumb{
    min-height: 180px;
  }
  .we-news-body{
    padding: 14px 14px 16px;
  }
}
/* =========================================================
   NEWS MODAL — reskin premium (mantiene bootstrap modal)
========================================================= */

#newsModal .modal-dialog{
  width: min(980px, calc(100% - 24px));
  margin: 40px auto;
}

#newsModal .modal-content{
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(900px 420px at 20% 25%, rgba(30,111,255,.16), transparent 55%),
    radial-gradient(900px 420px at 80% 35%, rgba(212,175,55,.14), transparent 60%),
    linear-gradient(180deg, rgba(16,21,28,.98), rgba(11,15,20,.98));
  box-shadow: 0 30px 90px rgba(0,0,0,.65);
  color: rgba(231,237,246,.92);
  overflow: hidden;
}

#newsModal .modal-header{
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 16px 18px;
  background: rgba(255,255,255,.02);
}

#newsModal .modal-title{
  font-weight: 900;
  letter-spacing: .2px;
  font-size: 16px;
  color: rgba(231,237,246,.96);
}

#newsModal .close{
  opacity: 1;
  color: rgba(231,237,246,.86);
  text-shadow: none;
  font-size: 28px;
  line-height: 1;
}

#newsModal .modal-body{
  padding: 18px;
}

/* contenido de noticia (htmlFull) */
#newsModalContent{
  color: rgba(231,237,246,.84);
  font-size: 14px;
  line-height: 1.7;
}

#newsModalContent img{
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
  margin: 12px 0;
}

#newsModalContent h1,
#newsModalContent h2,
#newsModalContent h3{
  color: rgba(231,237,246,.96);
  font-weight: 900;
  margin: 14px 0 8px;
}

#newsModalContent a{
  color: rgba(79,195,255,.92);
  text-decoration: none;
  border-bottom: 1px solid rgba(79,195,255,.28);
}

#newsModalContent a:hover{
  color: #fff;
  border-bottom-color: rgba(79,195,255,.55);
}
/* =========================================================
   LIGHT THEME FIX PACK — pegar al FINAL del aaa.css
   Objetivo: evitar texto blanco sobre fondo claro
========================================================= */
html[data-theme="light"]{
  color-scheme: light;
}

/* Base texto */
html[data-theme="light"] body{
  color: #0f172a !important; /* slate-900 */
  background: #f5f7fb !important;
}

/* Contenedores principales del layout (tu plantilla) */
html[data-theme="light"] .mugm-body,
html[data-theme="light"] .mugm-main,
html[data-theme="light"] .mugm-shell,
html[data-theme="light"] .mugm-home-grid,
html[data-theme="light"] #content{
  color: #0f172a !important;
}

/* Títulos y texto “muted” */
html[data-theme="light"] .mugm-title,
html[data-theme="light"] .mugm-subtitle,
html[data-theme="light"] .mugm-section__title,
html[data-theme="light"] .mugm-section__sub,
html[data-theme="light"] .mugm-kicker-text,
html[data-theme="light"] .mugm-metric__label{
  color: #0f172a !important;
}

html[data-theme="light"] .mugm-muted,
html[data-theme="light"] .text-muted,
html[data-theme="light"] small,
html[data-theme="light"] .help-block{
  color: rgba(15,23,42,.70) !important;
}

/* Links */
html[data-theme="light"] a,
html[data-theme="light"] .mugm-link{
  color: #1d4ed8 !important; /* blue-700 */
}
html[data-theme="light"] a:hover,
html[data-theme="light"] .mugm-link:hover{
  color: #1e40af !important;
}

/* Cards / bloques */
html[data-theme="light"] .mugm-section,
html[data-theme="light"] .mugm-home-block,
html[data-theme="light"] .panel,
html[data-theme="light"] .panel-default,
html[data-theme="light"] .well{
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: rgba(15,23,42,.10) !important;
}

/* Tablas */
html[data-theme="light"] table,
html[data-theme="light"] .table{
  color: #0f172a !important;
}
html[data-theme="light"] .table > thead > tr > th{
  color: rgba(15,23,42,.75) !important;
}
html[data-theme="light"] .table > tbody > tr > td{
  color: #0f172a !important;
}
html[data-theme="light"] .table > tbody > tr:hover{
  background: rgba(29,78,216,.06) !important;
}

/* Noticias (tu news.php premium) */
html[data-theme="light"] .we-news-page,
html[data-theme="light"] .we-news-item,
html[data-theme="light"] .we-news-body,
html[data-theme="light"] .we-news-title,
html[data-theme="light"] .we-news-excerpt,
html[data-theme="light"] .we-news-meta{
  color: #0f172a !important;
}
html[data-theme="light"] .we-news-item{
  background: #ffffff !important;
  border-color: rgba(15,23,42,.10) !important;
}

/* Botones “ghost” y elementos oscuros heredados */
html[data-theme="light"] .mugm-btn--ghost,
html[data-theme="light"] .we-btn-ghost{
  color: #0f172a !important;
  background: rgba(15,23,42,.04) !important;
  border-color: rgba(15,23,42,.12) !important;
}

/* Modal Bootstrap: el que usas para noticias/eventos/usercp */
html[data-theme="light"] .modal-content,
html[data-theme="light"] .mugm-modal{
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid rgba(15,23,42,.12) !important;
}
html[data-theme="light"] .modal-header,
html[data-theme="light"] .mugm-modal__header{
  border-bottom: 1px solid rgba(15,23,42,.10) !important;
}
html[data-theme="light"] .modal-body,
html[data-theme="light"] .mugm-modal__body{
  color: #0f172a !important;
}
html[data-theme="light"] .close{
  color: #0f172a !important;
  opacity: .7 !important;
}
html[data-theme="light"] .close:hover{
  opacity: 1 !important;
}

/* Inputs */
html[data-theme="light"] input,
html[data-theme="light"] select,
html[data-theme="light"] textarea{
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: rgba(15,23,42,.18) !important;
}
html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder{
  color: rgba(15,23,42,.45) !important;
}
/* =========================================================
   LIGHT — Footer (forzar fondo claro + texto legible)
========================================================= */
html[data-theme="light"] .we-footer,
html[data-theme="light"] footer,
html[data-theme="light"] .mugm-footer{
  background: #ffffff !important;
  border-top: 1px solid rgba(15,23,42,.10) !important;
  color: #0f172a !important;
}

html[data-theme="light"] .we-footer *,
html[data-theme="light"] footer *,
html[data-theme="light"] .mugm-footer *{
  color: inherit;
}

/* Links del footer */
html[data-theme="light"] .we-footer a,
html[data-theme="light"] footer a,
html[data-theme="light"] .mugm-footer a{
  color: #1d4ed8 !important;
}
html[data-theme="light"] .we-footer a:hover,
html[data-theme="light"] footer a:hover,
html[data-theme="light"] .mugm-footer a:hover{
  color: #1e40af !important;
}

/* Bloques/cajas del footer si tenés cards internas */
html[data-theme="light"] .we-footer-brand,
html[data-theme="light"] .we-footer-links,
html[data-theme="light"] .we-footer-community{
  background: rgba(15,23,42,.03) !important;
  border-color: rgba(15,23,42,.10) !important;
}

/* =========================================================
   LIGHT — Home Ranking (Guilds: nombres y links legibles)
   Apunta a tu home_ranking.php (Bootstrap table + .rank-name)
========================================================= */
html[data-theme="light"] .rankings-home-box,
html[data-theme="light"] .rankings-home-box *{
  color: #0f172a !important;
}

html[data-theme="light"] .rankings-home-box .rank-name,
html[data-theme="light"] .rankings-home-box .rank-name a,
html[data-theme="light"] .rankings-home-box a{
  color: #0f172a !important;
}

html[data-theme="light"] .rankings-home-box .table > tbody > tr > td{
  color: #0f172a !important;
}

html[data-theme="light"] .rankings-home-box .table > thead > tr > th{
  color: rgba(15,23,42,.75) !important;
}

/* Opcional: hover más premium en light */
html[data-theme="light"] .rankings-home-box .table > tbody > tr:hover{
  background: rgba(29,78,216,.06) !important;
}
/* ==========================
   MuGM AI Chat (Light/Dark)
   ========================== */

/* Usa tus variables de tema (si ya tenés), sino cae a colores seguros */
:root{
  --aichat-bg: rgba(12,16,22,.92);
  --aichat-panel: rgba(20,26,36,.92);
  --aichat-border: rgba(255,255,255,.10);
  --aichat-text: rgba(240,245,255,.92);
  --aichat-muted: rgba(240,245,255,.70);
  --aichat-accent: #D4AF37;
  --aichat-accent2: #4FC3FF;
}
:root[data-theme="light"]{
  --aichat-bg: rgba(255,255,255,.92);
  --aichat-panel: rgba(255,255,255,.95);
  --aichat-border: rgba(10,15,22,.12);
  --aichat-text: rgba(12,16,22,.92);
  --aichat-muted: rgba(12,16,22,.65);
}

/* Botón flotante */
.mugm-aichat-fab{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9998;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(135deg, rgba(212,175,55,.95), rgba(79,195,255,.70));
  color: rgba(10,15,22,.92);
  display: grid;
  place-items: center;
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
}
:root[data-theme="light"] .mugm-aichat-fab{
  border-color: rgba(10,15,22,.12);
  box-shadow: 0 18px 50px rgba(10,15,22,.15);
}
.mugm-aichat-fab i{ font-size: 20px; }

/* Panel */
.mugm-aichat{
  position: fixed;
  right: 18px;
  bottom: 82px;
  z-index: 9999;
  width: min(380px, calc(100vw - 36px));
  height: 520px;
  display: none;
  flex-direction: column;
  border-radius: 22px;
  background: var(--aichat-panel);
  border: 1px solid var(--aichat-border);
  box-shadow: 0 26px 90px rgba(0,0,0,.45);
  overflow: hidden;
}
.mugm-aichat.is-open{ display:flex; }

.mugm-aichat__head{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border-bottom: 1px solid var(--aichat-border);
}
.mugm-aichat__title{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 900;
  color: var(--aichat-text);
}
.mugm-aichat__badge{
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .4px;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--aichat-border);
  color: var(--aichat-muted);
}
.mugm-aichat__close{
  width: 36px; height: 36px;
  border-radius: 14px;
  border: 1px solid var(--aichat-border);
  background: rgba(255,255,255,.04);
  color: var(--aichat-text);
  font-size: 22px;
  line-height: 1;
}

.mugm-aichat__body{
  flex: 1 1 auto;
  padding: 12px;
  overflow: auto;
  background: var(--aichat-bg);
}

.mugm-aichat__msg{
  max-width: 92%;
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid var(--aichat-border);
  color: var(--aichat-text);
  font-size: 13px;
  line-height: 1.45;
  white-space: pre-wrap;
}
.mugm-aichat__msg.is-bot{
  background: rgba(255,255,255,.04);
}
:root[data-theme="light"] .mugm-aichat__msg.is-bot{
  background: rgba(10,15,22,.04);
}
.mugm-aichat__msg.is-user{
  margin-left: auto;
  background: linear-gradient(135deg, rgba(212,175,55,.22), rgba(79,195,255,.14));
}

.mugm-aichat__form{
  display:flex;
  gap: 10px;
  padding: 10px;
  border-top: 1px solid var(--aichat-border);
  background: rgba(255,255,255,.02);
}
.mugm-aichat__input{
  flex: 1;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--aichat-border);
  background: rgba(255,255,255,.04);
  color: var(--aichat-text);
  padding: 0 12px;
  outline: none;
}
:root[data-theme="light"] .mugm-aichat__input{
  background: rgba(10,15,22,.04);
}
.mugm-aichat__input::placeholder{ color: var(--aichat-muted); }

.mugm-aichat__send{
  width: 46px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--aichat-border);
  background: linear-gradient(135deg, rgba(212,175,55,.85), rgba(79,195,255,.55));
  color: rgba(10,15,22,.92);
}
/* ==========================
   MuGM AI Chat (Widget)
   ========================== */
.mugm-aifab{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(231,237,246,.95);
  display: grid;
  place-items: center;
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.mugm-aifab:hover{
  transform: translateY(-1px);
  background: rgba(79,195,255,.08);
  border-color: rgba(79,195,255,.28);
}
.mugm-aifab i{ font-size: 18px; }

.mugm-aichat{
  position: fixed;
  right: 18px;
  bottom: 86px;
  z-index: 9999;
  width: 340px;
  max-width: calc(100vw - 36px);
  height: 420px;
  max-height: calc(100vh - 130px);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(10,14,20,.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 80px rgba(0,0,0,.55);
  display: none;
}
.mugm-aichat.is-open{ display:block; }

.mugm-aichat__head{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 12px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
}
.mugm-aichat__title{
  display:flex;
  flex-direction: column;
  gap: 2px;
  color: rgba(231,237,246,.96);
  font-weight: 900;
  letter-spacing: .2px;
}
.mugm-aichat__title i{ margin-right: 8px; }
.mugm-aichat__title span{
  display:flex;
  align-items:center;
  gap: 8px;
  font-size: 13px;
}
.mugm-aichat__title small{
  font-weight: 600;
  color: rgba(231,237,246,.62);
  font-size: 11px;
  letter-spacing: .3px;
  text-transform: uppercase;
}

.mugm-aichat__close{
  width: 38px;
  height: 38px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(231,237,246,.92);
  display:grid;
  place-items:center;
  cursor:pointer;
}
.mugm-aichat__close:hover{
  background: rgba(231,76,60,.10);
  border-color: rgba(231,76,60,.22);
}

.mugm-aichat__body{
  padding: 12px;
  height: calc(100% - 56px - 58px);
  overflow: auto;
}
.mugm-aichat__msg{
  padding: 10px 12px;
  border-radius: 16px;
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.45;
  border: 1px solid rgba(255,255,255,.10);
  white-space: pre-wrap;
}
.mugm-aichat__msg.is-bot{
  background: rgba(255,255,255,.04);
  color: rgba(231,237,246,.92);
}
.mugm-aichat__msg.is-user{
  background: rgba(79,195,255,.10);
  border-color: rgba(79,195,255,.22);
  color: rgba(231,237,246,.96);
  margin-left: 34px;
}

.mugm-aichat__form{
  display:flex;
  gap: 10px;
  padding: 10px 10px;
  border-top: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
}
.mugm-aichat__input{
  flex: 1 1 auto;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(231,237,246,.92);
  padding: 0 12px;
  outline: none;
}
.mugm-aichat__input::placeholder{ color: rgba(231,237,246,.55); }

.mugm-aichat__send{
  width: 44px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(79,195,255,.28);
  background: rgba(79,195,255,.14);
  color: rgba(231,237,246,.95);
  display:grid;
  place-items:center;
  cursor:pointer;
}
.mugm-aichat__send:disabled{
  opacity: .6;
  cursor: not-allowed;
}

/* ===== Light theme ===== */
:root[data-theme="light"] .mugm-aifab{
  border-color: rgba(0,0,0,.10);
  background: rgba(255,255,255,.85);
  color: rgba(14,18,24,.92);
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
}
:root[data-theme="light"] .mugm-aichat{
  border-color: rgba(0,0,0,.10);
  background: rgba(255,255,255,.94);
  box-shadow: 0 24px 80px rgba(0,0,0,.18);
}
:root[data-theme="light"] .mugm-aichat__head{
  border-bottom-color: rgba(0,0,0,.08);
  background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.01));
}
:root[data-theme="light"] .mugm-aichat__title{
  color: rgba(14,18,24,.92);
}
:root[data-theme="light"] .mugm-aichat__title small{
  color: rgba(14,18,24,.55);
}
:root[data-theme="light"] .mugm-aichat__close{
  border-color: rgba(0,0,0,.10);
  background: rgba(0,0,0,.03);
  color: rgba(14,18,24,.78);
}
:root[data-theme="light"] .mugm-aichat__body{
  color: rgba(14,18,24,.88);
}
:root[data-theme="light"] .mugm-aichat__msg{
  border-color: rgba(0,0,0,.08);
}
:root[data-theme="light"] .mugm-aichat__msg.is-bot{
  background: rgba(0,0,0,.03);
  color: rgba(14,18,24,.90);
}
:root[data-theme="light"] .mugm-aichat__msg.is-user{
  background: rgba(30,111,255,.12);
  border-color: rgba(30,111,255,.22);
  color: rgba(14,18,24,.92);
}
:root[data-theme="light"] .mugm-aichat__form{
  border-top-color: rgba(0,0,0,.08);
  background: rgba(0,0,0,.02);
}
:root[data-theme="light"] .mugm-aichat__input{
  border-color: rgba(0,0,0,.10);
  background: rgba(255,255,255,.90);
  color: rgba(14,18,24,.92);
}
:root[data-theme="light"] .mugm-aichat__input::placeholder{
  color: rgba(14,18,24,.48);
}
:root[data-theme="light"] .mugm-aichat__send{
  border-color: rgba(30,111,255,.28);
  background: rgba(30,111,255,.12);
  color: rgba(14,18,24,.92);
}
/* Reset total de bordes redondeados */
*,
*::before,
*::after,
button,
input,
select,
textarea,
img,
.card,
.modal,
.dropdown,
.navbar,
.container,
div,
section,
article {
  border-radius: 0 !important;
}
/* ===== OCULTAR TOPBAR EN MÓVIL ===== */
@media (max-width: 768px) {
  .mugm-topbar {
    display: none !important;
  }
}
/* FIX menú móvil */
@media (max-width: 768px) {

  .menu,
  .nav,
  .navbar,
  .menu ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .menu li,
  .nav li,
  .navbar li {
    width: 100% !important;
    margin: 0 !important;
    left: 0 !important;
    position: relative !important;
  }

  .menu a,
  .nav a,
  .navbar a {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
  }
}
@media (max-width:768px){
  .menu li {
    margin-left: 0 !important;
  }
}
/* ===============================
   FIX NAVBAR MÓVIL MUGM
   =============================== */

@media (max-width: 992px) {

  /* contenedor menú */
  .mugm-nav--mobile {
    display: block !important;
    width: 100%;
  }

  /* UL principal */
  .mugm-nav--mobile .mugm-nav__list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    flex-direction: column !important;
    gap: 6px;
  }

  /* cada item */
  .mugm-nav--mobile .mugm-nav__list li {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    position: static !important; /* rompe el efecto cascada */
  }

  /* enlaces */
  .mugm-nav--mobile .mugm-nav__list li a {
    display: block !important;
    width: 100% !important;

    padding: 14px 16px;
    text-align: left;

    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);

    font-weight: 600;
  }

  /* hover */
  .mugm-nav--mobile .mugm-nav__list li a:hover {
    background: rgba(255,215,120,0.08);
    border-color: rgba(255,215,120,0.25);
  }

  /* botones login/register */
  .mugm-mobile-cta {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
}
.mugm-hslider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Desktop */
.mugm-hslide {
  min-height: 520px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

/* Mobile */
@media (max-width: 768px) {
  .mugm-hslide {
    min-height: 420px;
    padding: 40px 20px;
    align-items: flex-end;
  }
}
.mugm-hslider__figure {
  position: absolute;
  right: 0;
  bottom: 0;
  max-height: 90%;
  pointer-events: none;
  transition: opacity .4s ease;
}

/* Mobile fix */
@media (max-width: 768px) {
  .mugm-hslider__figure {
    display: none;
  }
}
.mugm-hslide__cta {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}

/* Mobile */
@media (max-width: 768px) {
  .mugm-hslide__cta {
    flex-direction: column;
    width: 100%;
  }

  .mugm-btn--lg {
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 768px) {
  .mugm-hslide__title {
    font-size: 1.6rem;
    line-height: 1.2;
  }

  .mugm-hslide__text {
    font-size: 0.95rem;
  }
}
/* ===============================
   SLIDER BASE
=================================*/
.mugm-hslide {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: clamp(420px, 60vh, 720px);
  display: flex;
  align-items: center;
}

.mugm-hslide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.35) 60%, transparent 100%);
}

/* ===============================
   CONTENIDO
=================================*/
.mugm-hslide__content {
  position: relative;
  z-index: 2;
  max-width: 520px;
  padding: 24px;
  animation: mugmFadeUp .9s ease both;
}

/* Animación suave entrada */
@keyframes mugmFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===============================
   FIGURA DERECHA
=================================*/
.mugm-hslider__figure {
  position: absolute;
  right: 4%;
  bottom: 0;
  max-height: 90%;
  pointer-events: none;
  transition: opacity .45s ease, transform .45s ease;
}

.mugm-hslider__figure.is-fading {
  opacity: 0;
  transform: translateY(10px) scale(.98);
}

/* ===============================
   BOTONES
=================================*/
.mugm-hslide__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.mugm-btn--lg {
  padding: 12px 18px;
  font-size: 15px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.mugm-btn--lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
}

/* ===============================
   MOBILE FIX
=================================*/
@media (max-width: 768px) {

  .mugm-hslide {
    min-height: 520px;
    align-items: flex-end;
  }

  .mugm-hslide__overlay {
    background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.85) 80%);
  }

  .mugm-hslide__content {
    max-width: 100%;
    padding: 20px;
    animation-duration: .7s;
  }

  .mugm-hslider__figure {
    right: 50%;
    transform: translateX(50%);
    max-height: 55%;
    opacity: .35;
  }

  .mugm-hslide__cta {
    flex-direction: column;
  }

  .mugm-btn--lg {
    width: 100%;
    text-align: center;
  }
}
/* =========================================================
   MuGM - EVENTS MODAL (PRO / UNIFICADO)  ✅ REEMPLAZAR TODO
   - Lista tipo News
   - Horarios sin scroll interno
   - Backdrop/click/z-index OK
========================================================= */

/* ---------- 0) Z-INDEX + CLICK SAFE (Bootstrap + custom) ---------- */
.modal,
.mugm-modal,
.mugm-events-modal,
#eventModal {
  z-index: 99995 !important;
}

.modal-backdrop,
.mugm-modal-backdrop {
  z-index: 99990 !important;
  pointer-events: auto !important;
}

.modal-dialog,
.modal-content,
.modal-body,
#eventModal .modal-dialog,
#eventModal .modal-content,
#eventModal .modal-body {
  position: relative !important;
  pointer-events: auto !important;
}

.navbar,
.navbar-fixed-top,
header,
.mugm-navbar {
  z-index: 1000 !important;
}

/* ---------- 1) MODAL SIZE / BODY SCROLL (scroll del modal, no cards) ---------- */
#eventModal .modal-dialog{
  width: min(1180px, 96vw) !important;
  margin: 12px auto !important;
}

@media (min-width: 1200px){
  #eventModal .modal-dialog{ width: min(1250px, 96vw) !important; }
}

#eventModal .modal-content{
  overflow: hidden !important;
}

#eventModal .modal-body{
  padding: 16px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  max-height: calc(100vh - 140px) !important;
}

/* ---------- 2) SHELL / HEADER ---------- */
.mugm-shell.mugm-events-shell{
  width: 100% !important;
  max-width: 100% !important;
  padding: 6px 2px !important;
}

.mugm-events-head{
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin: 0 0 14px 0 !important;
}

/* Tabs */
.mugm-events-tabs{
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

.mugm-events-tab{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;

  padding: 10px 12px !important;
  border-radius: 12px !important;
  cursor: pointer !important;
  user-select: none !important;

  border: 1px solid rgba(255,255,255,.12) !important;
  background: rgba(0,0,0,.22) !important;
  color: rgba(255,255,255,.88) !important;

  font-weight: 800 !important;
  letter-spacing: .2px !important;

  transition: transform .15s ease, border-color .15s ease, background .15s ease !important;
}

.mugm-events-tab:hover{
  transform: translateY(-1px) !important;
  border-color: rgba(255,255,255,.22) !important;
}

.mugm-events-tab.is-active{
  border-color: rgba(212,175,55,.55) !important;
  background: rgba(212,175,55,.10) !important;
}

.mugm-events-tab.is-blue i { color: rgba(80,160,255,.95) !important; }
.mugm-events-tab.is-gold i { color: rgba(212,175,55,.95) !important; }
.mugm-events-tab.is-red  i { color: rgba(255,90,90,.95) !important; }

/* Subheader */
.mugm-events-sub{
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px !important;

  padding: 10px 12px !important;
  border-radius: 12px !important;

  border: 1px solid rgba(255,255,255,.10) !important;
  background: rgba(0,0,0,.18) !important;
  color: rgba(255,255,255,.80) !important;
}

.mugm-events-sub__sep{ margin: 0 8px !important; opacity: .6 !important; }
.mugm-events-sub__hint{ color: rgba(212,175,55,.92) !important; font-weight: 800 !important; }

/* ---------- 3) CONTENEDOR: LISTA (tipo News) ---------- */
.mugm-events-grid{
  padding: 0 !important;
}

.mugm-events-cards{
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  align-items: stretch !important;
}

/* ---------- 4) CARD: row con imagen izquierda ---------- */
.mugm-evcard{
  width: 100% !important;
  min-width: 0 !important;

  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  gap: 14px !important;

  padding: 12px !important;
  border-radius: 14px !important;
  overflow: hidden !important;

  border: 1px solid rgba(255,255,255,.10) !important;
  background: radial-gradient(1200px 300px at 0% 0%, rgba(255,255,255,.06), rgba(0,0,0,.22)) !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.35) !important;

  height: auto !important;
  min-height: 0 !important;
}

/* Bordes sutiles por tipo */
.mugm-evcard.is-blue { box-shadow: inset 0 0 0 1px rgba(70,140,255,.18), 0 12px 30px rgba(0,0,0,.35) !important; }
.mugm-evcard.is-gold { box-shadow: inset 0 0 0 1px rgba(255,190,70,.18), 0 12px 30px rgba(0,0,0,.35) !important; }
.mugm-evcard.is-red  { box-shadow: inset 0 0 0 1px rgba(255,80,120,.16), 0 12px 30px rgba(0,0,0,.35) !important; }

/* Imagen */
.mugm-evcard__media{
  position: relative !important;
  flex: 0 0 180px !important;
  width: 180px !important;
  height: 120px !important;

  border-radius: 12px !important;
  overflow: hidden !important;

  border: 1px solid rgba(255,255,255,.08) !important;
  background: rgba(0,0,0,.25) !important;
}

.mugm-evcard__media img{
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  filter: saturate(1.08) contrast(1.08) !important;
  transform: scale(1.02) !important;
}

/* Tag sobre imagen */
.mugm-evcard__tag{
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  z-index: 2 !important;

  padding: 6px 10px !important;
  border-radius: 999px !important;

  font-weight: 900 !important;
  font-size: 12px !important;
  letter-spacing: .2px !important;

  border: 1px solid rgba(255,255,255,.12) !important;
  background: rgba(0,0,0,.35) !important;
  color: rgba(255,255,255,.92) !important;
  backdrop-filter: blur(6px) !important;
}

.mugm-evcard__tag.is-gold { border-color: rgba(212,175,55,.38) !important; color: rgba(212,175,55,.98) !important; }
.mugm-evcard__tag.is-red  { border-color: rgba(255,90,90,.35) !important; color: rgba(255,170,170,.98) !important; }

/* Cuerpo */
.mugm-evcard__body{
  flex: 1 1 auto !important;
  min-width: 0 !important;

  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;

  padding: 0 !important; /* la card ya tiene padding */
}

/* Top: título + badges */
.mugm-evcard__top{
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

/* Título SIEMPRE visible */
.mugm-evcard__title{
  margin: 0 !important;
  padding: 0 !important;

  font-family: "Cinzel", serif !important;
  font-weight: 900 !important;
  font-size: 18px !important;
  line-height: 1.15 !important;
  letter-spacing: .25px !important;

  color: rgba(255,255,255,.92) !important;

  max-width: 62% !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.mugm-evcard__title span{
  display: inline !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Badges derecha (columna) */
.mugm-evbadges{
  margin-left: auto !important;

  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 8px !important;

  flex-wrap: nowrap !important;
}

.mugm-evbadge{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;

  padding: 8px 10px !important;
  border-radius: 12px !important;

  border: 1px solid rgba(255,255,255,.10) !important;
  background: rgba(0,0,0,.22) !important;
  color: rgba(255,255,255,.86) !important;

  font-weight: 800 !important;
  font-size: 12px !important;

  min-width: 230px !important;
}

.mugm-evbadge b{ font-weight: 900 !important; letter-spacing: .2px !important; }

/* "Próximo" glow + dot */
.mugm-evbadge.is-next{
  border-color: rgba(120,255,170,.22) !important;
  background: linear-gradient(180deg, rgba(0,0,0,.22), rgba(20,70,40,.22)) !important;
}

.mugm-evbadge.is-next b{
  position: relative !important;
  padding-left: 16px !important;
}

.mugm-evbadge.is-next b::before{
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;

  width: 9px !important;
  height: 9px !important;
  border-radius: 50% !important;

  background: rgba(120,255,170,1) !important;
  box-shadow: 0 0 0 0 rgba(120,255,170,.70) !important;
  animation: mugmPulse 1.1s infinite !important;
}

@keyframes mugmPulse{
  0%   { box-shadow: 0 0 0 0 rgba(120,255,170,.70) !important; }
  70%  { box-shadow: 0 0 0 10px rgba(120,255,170,0) !important; }
  100% { box-shadow: 0 0 0 0 rgba(120,255,170,0) !important; }
}

/* ---------- 5) DETAILS (Requisitos/Detalles) ---------- */
.mugm-evcard__details{
  margin: 0 !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 12px !important;
  background: rgba(0,0,0,.18) !important;
  overflow: hidden !important;
}

.mugm-evcard__summary{
  list-style: none !important;
  cursor: pointer !important;

  padding: 10px 12px !important;
  background: rgba(0,0,0,.18) !important;
  color: rgba(255,255,255,.82) !important;

  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;

  font-weight: 900 !important;
  font-size: 12px !important;
  user-select: none !important;
}

.mugm-evcard__summary::-webkit-details-marker{ display: none !important; }

.mugm-evcard__chev{
  opacity: .85 !important;
  transition: transform .15s ease !important;
}

.mugm-evcard__details[open] .mugm-evcard__chev{ transform: rotate(180deg) !important; }

.mugm-evcard__detailbox{
  padding: 12px !important;
  background: rgba(0,0,0,.12) !important;

  /* NO scroll interno */
  max-height: none !important;
  overflow: visible !important;
}

.mugm-evcard__detailtitle{ font-weight: 900 !important; font-size: 12px !important; margin: 0 0 8px 0 !important; }
.mugm-evcard__dlist{ margin: 0 !important; padding-left: 16px !important; font-size: 12px !important; opacity: .92 !important; }

/* Mini tabla dentro details */
.mugm-evtable{ display: grid !important; gap: 6px !important; }
.mugm-evrow{
  display: grid !important;
  grid-template-columns: 1.1fr 1.4fr .5fr !important;
  gap: 8px !important;
  align-items: center !important;

  padding: 8px 10px !important;
  border-radius: 12px !important;

  border: 1px solid rgba(255,255,255,.10) !important;
  background: rgba(0,0,0,.14) !important;
}

.mugm-evcell{ font-size: 12px !important; font-weight: 800 !important; opacity: .92 !important; }
.mugm-evcell.is-mob{ font-weight: 900 !important; }
.mugm-evcell.is-map{ opacity: .85 !important; }
.mugm-evcell.is-qty{
  text-align: right !important;
  font-weight: 900 !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  background: rgba(0,0,0,.20) !important;
  justify-self: end !important;
  min-width: 54px !important;
}

/* ---------- 6) HORARIOS (chips) - SIN SCROLL INTERNO ---------- */
.mugm-evsched-wrap{
  margin-top: auto !important; /* empuja horarios al final */
  padding-top: 10px !important;
  border-top: 1px solid rgba(255,255,255,.08) !important;
}

.mugm-evsched-head{
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;

  margin-bottom: 8px !important;
  color: rgba(255,255,255,.74) !important;
  font-weight: 800 !important;
  font-size: 12px !important;
}

.mugm-evsched-note{ opacity: .7 !important; font-weight: 700 !important; }

/* CLAVE: wrap real y sin overflow */
.mugm-evsched{
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  align-content: flex-start !important;
  gap: 8px !important;

  width: 100% !important;

  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;

  max-height: none !important;
  height: auto !important;

  white-space: normal !important;
  padding-right: 0 !important;
  scrollbar-width: none !important;
}

.mugm-evsched::-webkit-scrollbar{ width: 0 !important; height: 0 !important; }

.mugm-evchip{
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;

  padding: 7px 10px !important;
  border-radius: 999px !important;

  border: 1px solid rgba(255,255,255,.10) !important;
  background: rgba(0,0,0,.18) !important;
  color: rgba(255,255,255,.86) !important;

  font-weight: 900 !important;
  font-size: 12px !important;
  letter-spacing: .2px !important;

  white-space: nowrap !important;
}

.mugm-evchip::before{
  content: "" !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.35) !important;
}

/* Chip próximo */
.mugm-evchip.is-next{
  border-color: rgba(120,255,170,.28) !important;
  background: linear-gradient(180deg, rgba(20,70,40,.35), rgba(0,0,0,.18)) !important;
  color: rgba(200,255,220,.98) !important;
  box-shadow: 0 0 0 1px rgba(120,255,170,.18), 0 0 18px rgba(120,255,170,.12) !important;
}

.mugm-evchip.is-next::before{
  background: rgba(120,255,170,1) !important;
  box-shadow: 0 0 0 0 rgba(120,255,170,.70) !important;
  animation: mugmPulse 1.1s infinite !important;
}

/* ---------- 7) Responsive ---------- */
@media (max-width: 900px){
  .mugm-evcard{
    flex-direction: column !important;
    gap: 10px !important;
  }

  .mugm-evcard__media{
    width: 100% !important;
    flex: 0 0 auto !important;
    height: 160px !important;
  }

  .mugm-evcard__top{
    flex-direction: column !important;
    gap: 10px !important;
  }

  .mugm-evcard__title{
    max-width: 100% !important;
    white-space: normal !important;
  }

  .mugm-evbadges{
    width: 100% !important;
    align-items: flex-start !important;
  }

  .mugm-evbadge{
    min-width: 0 !important;
    width: 100% !important;
  }

  /* tabla details en mobile */
  .mugm-evrow{ grid-template-columns: 1fr !important; }
  .mugm-evcell.is-qty{ text-align: left !important; justify-self: start !important; }
}

/* ---------- 8) Optional: highlight del primero (si JS agrega .is-soon) ---------- */
.mugm-events-shell .mugm-evcard.is-soon{
  box-shadow: 0 0 0 1px rgba(80,255,160,.18), 0 0 22px rgba(80,255,160,.10) !important;
}
/* =========================================================
   OVERLAY COMPACTO PREMIUM
   - sin parpadeo
   - sin agrandar cards
   - efecto en toda la card
========================================================= */

#eventModal .mugm-evcard{
  position: relative !important;
  overflow: hidden !important;
}

#eventModal .mugm-evcard::before{
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  border-radius: inherit !important;
  opacity: 0 !important;
  transition: opacity .22s ease, box-shadow .22s ease, border-color .22s ease !important;
  background:
    linear-gradient(90deg,
      rgba(120,255,170,.05) 0%,
      rgba(120,255,170,.02) 18%,
      rgba(255,255,255,0) 45%,
      rgba(90,170,255,.03) 100%
    ) !important;
}

#eventModal .mugm-evcard.is-soon::before{
  opacity: 1 !important;
}

#eventModal .mugm-evcard.is-soon{
  box-shadow:
    inset 0 0 0 1px rgba(120,255,170,.18),
    0 0 0 1px rgba(120,255,170,.06),
    0 12px 30px rgba(0,0,0,.35) !important;
}

#eventModal .mugm-evcard.is-soon-top{
  box-shadow:
    inset 0 0 0 1px rgba(120,255,170,.28),
    0 0 0 1px rgba(120,255,170,.10),
    0 0 24px rgba(120,255,170,.08),
    0 12px 30px rgba(0,0,0,.35) !important;
}

#eventModal .mugm-evcard.is-urgent{
  box-shadow:
    inset 0 0 0 1px rgba(120,255,170,.34),
    0 0 0 1px rgba(120,255,170,.12),
    0 0 30px rgba(120,255,170,.10),
    0 12px 30px rgba(0,0,0,.35) !important;
}

/* Badge "Próximo" acompaña el estado */
#eventModal .mugm-evcard.is-soon .mugm-evbadge.is-next{
  border-color: rgba(120,255,170,.28) !important;
  box-shadow: 0 0 0 1px rgba(120,255,170,.10) !important;
}

#eventModal .mugm-evcard.is-urgent .mugm-evbadge.is-next{
  border-color: rgba(120,255,170,.36) !important;
  box-shadow: 0 0 0 1px rgba(120,255,170,.14), 0 0 12px rgba(120,255,170,.08) !important;
}

/* Apaga cualquier animación vieja sobre la imagen */
#eventModal .mugm-evcard.is-soon .mugm-evcard__media::before,
#eventModal .mugm-evcard.is-soon .mugm-evcard__media::after,
#eventModal .mugm-evcard.is-soon-top .mugm-evcard__media::before,
#eventModal .mugm-evcard.is-soon-top .mugm-evcard__media::after,
#eventModal .mugm-evcard.is-urgent .mugm-evcard__media::before,
#eventModal .mugm-evcard.is-urgent .mugm-evcard__media::after{
  animation: none !important;
}

/* Compactar meta/guía si quedaron activas por pruebas previas */
#eventModal .mugm-evcard__body{
  min-width: 0 !important;
}

#eventModal .mugm-evcard__top{
  order: 1 !important;
}

#eventModal .mugm-evmeta{
  order: 2 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin-top: 2px !important;
}

#eventModal .mugm-evmeta__item{
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 5px 8px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  background: rgba(255,255,255,.04) !important;
  color: rgba(255,255,255,.76) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

#eventModal .mugm-evguide{
  order: 3 !important;
  margin-top: 0 !important;
  border: 1px solid rgba(255,255,255,.07) !important;
  border-radius: 10px !important;
  background: rgba(0,0,0,.14) !important;
  overflow: hidden !important;
}

#eventModal .mugm-evguide__summary{
  padding: 8px 10px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  min-height: 0 !important;
}

#eventModal .mugm-evguide__body{
  padding: 10px !important;
}

#eventModal .mugm-evguide__grid{
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
}

#eventModal .mugm-evguide__box{
  padding: 8px 9px !important;
  border-radius: 10px !important;
  background: rgba(255,255,255,.03) !important;
  border: 1px solid rgba(255,255,255,.05) !important;
}

#eventModal .mugm-evguide__label{
  font-size: 10px !important;
  margin-bottom: 4px !important;
}

#eventModal .mugm-evguide__text{
  font-size: 11px !important;
  line-height: 1.35 !important;
  color: rgba(255,255,255,.76) !important;
}

/* No dejar que nada empuje debajo de la imagen */
#eventModal .mugm-evcard__media{
  flex: 0 0 180px !important;
  width: 180px !important;
  height: 120px !important;
}

#eventModal .mugm-evcard__body{
  flex: 1 1 auto !important;
}

@media (max-width: 900px){
  #eventModal .mugm-evguide__grid{
    grid-template-columns: 1fr !important;
  }

  #eventModal .mugm-evcard__media{
    width: 100% !important;
    height: 160px !important;
    flex: 0 0 auto !important;
  }
}
/* =========================================================
   EVENTS MODAL - PREMIUM POLISH FINAL
   Agregar AL FINAL de aaa.css
   Sin romper layout actual
========================================================= */

/* ----- Base visual general de card ----- */
#eventModal .mugm-evcard{
  position: relative !important;
  overflow: hidden !important;
  border: 1px solid rgba(72,120,210,.18) !important;
  background:
    linear-gradient(135deg, rgba(9,18,42,.94) 0%, rgba(6,12,30,.96) 55%, rgba(4,9,24,.98) 100%) !important;
  box-shadow:
    0 10px 24px rgba(0,0,0,.26),
    inset 0 1px 0 rgba(255,255,255,.03) !important;
  transition:
    transform .18s ease,
    box-shadow .22s ease,
    border-color .22s ease,
    filter .22s ease !important;
}

#eventModal .mugm-evcard:hover{
  transform: translateY(-1px) !important;
  box-shadow:
    0 16px 34px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.05) !important;
  border-color: rgba(92,150,255,.24) !important;
}

/* línea superior sutil */
#eventModal .mugm-evcard::after{
  content: "" !important;
  position: absolute !important;
  left: 12px !important;
  right: 12px !important;
  top: 0 !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, rgba(145,198,255,.35), transparent) !important;
  opacity: .70 !important;
  pointer-events: none !important;
}

/* overlay global suave para toda la tarjeta */
#eventModal .mugm-evcard::before{
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  border-radius: inherit !important;
  opacity: 0 !important;
  transition: opacity .25s ease !important;
  background:
    radial-gradient(circle at 12% 50%, rgba(92,190,255,.07), transparent 34%),
    radial-gradient(circle at 88% 50%, rgba(94,255,184,.05), transparent 30%),
    linear-gradient(90deg, rgba(90,170,255,.03), rgba(255,255,255,0) 35%, rgba(94,255,184,.03) 100%) !important;
}

/* ----- Imagen más premium ----- */
#eventModal .mugm-evcard__media{
  position: relative !important;
  overflow: hidden !important;
}

#eventModal .mugm-evcard__media img{
  filter: saturate(1.07) contrast(1.04) brightness(.96) !important;
  transition: transform .28s ease, filter .28s ease !important;
}

#eventModal .mugm-evcard:hover .mugm-evcard__media img{
  transform: scale(1.02) !important;
  filter: saturate(1.10) contrast(1.05) brightness(.98) !important;
}

#eventModal .mugm-evcard__media::after{
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background:
    linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.34)),
    linear-gradient(90deg, rgba(6,14,34,.15), rgba(0,0,0,0)) !important;
  pointer-events: none !important;
}

/* ----- Título más fino ----- */
#eventModal .mugm-evcard__title{
  text-shadow: 0 1px 0 rgba(255,255,255,.04), 0 6px 16px rgba(0,0,0,.28) !important;
  letter-spacing: .35px !important;
}

/* ----- Badges laterales ----- */
#eventModal .mugm-evbadge{
  background: rgba(7,13,28,.70) !important;
  border: 1px solid rgba(255,255,255,.07) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.02),
    0 2px 8px rgba(0,0,0,.16) !important;
  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    background .2s ease !important;
}

#eventModal .mugm-evbadge i{
  opacity: .9 !important;
}

#eventModal .mugm-evbadge b{
  text-shadow: 0 0 10px rgba(255,255,255,.05) !important;
}

/* ----- Chips horarios ----- */
#eventModal .mugm-evchip{
  background: rgba(8,14,29,.80) !important;
  border: 1px solid rgba(255,255,255,.07) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02) !important;
  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    transform .15s ease,
    color .2s ease,
    background .2s ease !important;
}

#eventModal .mugm-evchip:hover{
  transform: translateY(-1px) !important;
  border-color: rgba(125,170,255,.18) !important;
}

#eventModal .mugm-evchip.is-next{
  background: linear-gradient(180deg, rgba(21,58,43,.88), rgba(12,35,26,.92)) !important;
  border-color: rgba(94,255,184,.30) !important;
  color: #d8ffec !important;
  box-shadow:
    inset 0 0 0 1px rgba(94,255,184,.08),
    0 0 12px rgba(94,255,184,.07) !important;
}

/* ----- Tag superior ----- */
#eventModal .mugm-evcard__tag{
  box-shadow:
    0 4px 14px rgba(0,0,0,.24),
    inset 0 1px 0 rgba(255,255,255,.05) !important;
  backdrop-filter: blur(8px) !important;
}

#eventModal .mugm-evcard__tag.is-gold{
  box-shadow:
    0 4px 14px rgba(0,0,0,.24),
    0 0 12px rgba(220,180,70,.08),
    inset 0 1px 0 rgba(255,255,255,.05) !important;
}

#eventModal .mugm-evcard__tag.is-red{
  box-shadow:
    0 4px 14px rgba(0,0,0,.24),
    0 0 12px rgba(255,100,100,.07),
    inset 0 1px 0 rgba(255,255,255,.05) !important;
}

/* =========================================================
   ESTADOS "POR COMENZAR"
========================================================= */

/* evento que entra dentro de la ventana de pronto */
#eventModal .mugm-evcard.is-soon{
  border-color: rgba(94,255,184,.22) !important;
  box-shadow:
    inset 0 0 0 1px rgba(94,255,184,.10),
    0 12px 26px rgba(0,0,0,.30),
    0 0 18px rgba(94,255,184,.05) !important;
}

#eventModal .mugm-evcard.is-soon::before{
  opacity: 1 !important;
}

/* badge del próximo más vivo cuando está por comenzar */
#eventModal .mugm-evcard.is-soon .mugm-evbadge.is-next{
  border-color: rgba(94,255,184,.26) !important;
  background: linear-gradient(180deg, rgba(15,44,33,.92), rgba(10,28,21,.94)) !important;
  box-shadow:
    inset 0 0 0 1px rgba(94,255,184,.08),
    0 0 12px rgba(94,255,184,.05) !important;
}

/* El más próximo de todos */
#eventModal .mugm-evcard.is-soon-top{
  border-color: rgba(94,255,184,.36) !important;
  box-shadow:
    inset 0 0 0 1px rgba(94,255,184,.16),
    0 0 0 1px rgba(94,255,184,.08),
    0 18px 34px rgba(0,0,0,.34),
    0 0 28px rgba(94,255,184,.09) !important;
}

#eventModal .mugm-evcard.is-soon-top::before{
  opacity: 1 !important;
  background:
    radial-gradient(circle at 10% 50%, rgba(94,255,184,.10), transparent 34%),
    radial-gradient(circle at 90% 50%, rgba(92,190,255,.08), transparent 32%),
    linear-gradient(90deg, rgba(94,255,184,.05), rgba(255,255,255,0) 40%, rgba(92,190,255,.04) 100%) !important;
}

/* refuerzo elegante sobre la zona del título */
#eventModal .mugm-evcard.is-soon-top .mugm-evcard__title{
  color: #f4fff9 !important;
  text-shadow:
    0 1px 0 rgba(255,255,255,.05),
    0 0 14px rgba(94,255,184,.08),
    0 8px 18px rgba(0,0,0,.30) !important;
}

/* el badge de próximo del top se nota más */
#eventModal .mugm-evcard.is-soon-top .mugm-evbadge.is-next{
  border-color: rgba(94,255,184,.34) !important;
  background: linear-gradient(180deg, rgba(16,52,38,.96), rgba(10,30,22,.98)) !important;
  box-shadow:
    inset 0 0 0 1px rgba(94,255,184,.11),
    0 0 16px rgba(94,255,184,.07) !important;
}

/* Estado urgente */
#eventModal .mugm-evcard.is-urgent{
  border-color: rgba(124,255,196,.42) !important;
  box-shadow:
    inset 0 0 0 1px rgba(124,255,196,.18),
    0 0 0 1px rgba(124,255,196,.10),
    0 0 34px rgba(124,255,196,.11),
    0 18px 34px rgba(0,0,0,.34) !important;
}

#eventModal .mugm-evcard.is-urgent .mugm-evbadge.is-next{
  box-shadow:
    inset 0 0 0 1px rgba(124,255,196,.12),
    0 0 18px rgba(124,255,196,.08) !important;
}

/* ----- Nota "Señalado: el próximo" más prolija ----- */
#eventModal .mugm-evsched-note{
  color: rgba(170,215,255,.70) !important;
  text-shadow: 0 0 10px rgba(90,170,255,.06) !important;
}

/* ----- Si quedaron animaciones viejas, apagarlas ----- */
#eventModal .mugm-evcard.is-soon .mugm-evcard__media::before,
#eventModal .mugm-evcard.is-soon .mugm-evcard__media::after,
#eventModal .mugm-evcard.is-soon-top .mugm-evcard__media::before,
#eventModal .mugm-evcard.is-soon-top .mugm-evcard__media::after,
#eventModal .mugm-evcard.is-urgent .mugm-evcard__media::before,
#eventModal .mugm-evcard.is-urgent .mugm-evcard__media::after{
  animation: none !important;
}
/* =========================================================
   SCROLLBAR MODAL EVENTOS (Chrome / Edge / Opera)
========================================================= */

#eventModal .mugm-modal__body::-webkit-scrollbar{
  width: 10px;
}

#eventModal .mugm-modal__body::-webkit-scrollbar-track{
  background: rgba(6,12,28,.65);
  border-left: 1px solid rgba(255,255,255,.05);
}

#eventModal .mugm-modal__body::-webkit-scrollbar-thumb{
  background: linear-gradient(
    180deg,
    rgba(90,170,255,.35),
    rgba(90,170,255,.20)
  );
  border-radius: 10px;
  border: 1px solid rgba(120,180,255,.25);
  box-shadow:
    inset 0 0 6px rgba(90,170,255,.25),
    0 0 8px rgba(90,170,255,.10);
}

#eventModal .mugm-modal__body::-webkit-scrollbar-thumb:hover{
  background: linear-gradient(
    180deg,
    rgba(110,190,255,.55),
    rgba(90,170,255,.35)
  );
}
#eventModal .mugm-modal__body{
  padding-right: 4px;
}
/* =========================================================
   SCROLLBAR PREMIUM - MODAL EVENTOS
========================================================= */

#eventModal,
#eventModal * {
  scrollbar-width: thin;
  scrollbar-color: rgba(90,170,255,.45) rgba(6,12,28,.75);
}

/* Chrome / Edge / Opera */

#eventModal::-webkit-scrollbar,
#eventModal *::-webkit-scrollbar{
  width: 10px;
}

#eventModal::-webkit-scrollbar-track,
#eventModal *::-webkit-scrollbar-track{
  background: rgba(6,12,28,.75);
}

#eventModal::-webkit-scrollbar-thumb,
#eventModal *::-webkit-scrollbar-thumb{
  background: linear-gradient(
    180deg,
    rgba(90,170,255,.45),
    rgba(90,170,255,.25)
  );
  border-radius: 10px;
  border: 1px solid rgba(120,180,255,.35);
  box-shadow:
    inset 0 0 6px rgba(90,170,255,.35),
    0 0 6px rgba(90,170,255,.15);
}

#eventModal::-webkit-scrollbar-thumb:hover,
#eventModal *::-webkit-scrollbar-thumb:hover{
  background: linear-gradient(
    180deg,
    rgba(120,200,255,.75),
    rgba(90,170,255,.45)
  );
}
/* =========================================================
   MUGM / WE — GLOBAL PREMIUM FINISH
   PEGAR AL FINAL ABSOLUTO DE aaa.css
   Objetivo:
   - Unificar todo el sitio con toque premium
   - Sin romper layouts existentes
   - Sin dejar módulos "como antes"
========================================================= */

/* =========================
   0) TOKENS VISUALES GLOBALES
========================= */
:root{
  --mugm-prem-bg-1: rgba(255,255,255,.028);
  --mugm-prem-bg-2: rgba(255,255,255,.042);
  --mugm-prem-border: rgba(255,255,255,.085);
  --mugm-prem-border-strong: rgba(255,255,255,.12);
  --mugm-prem-text: rgba(230,233,242,.96);
  --mugm-prem-muted: rgba(170,178,197,.92);

  --mugm-prem-blue: rgba(79,163,255,.95);
  --mugm-prem-blue-soft: rgba(79,163,255,.16);
  --mugm-prem-gold: rgba(212,175,55,.96);
  --mugm-prem-gold-soft: rgba(212,175,55,.15);
  --mugm-prem-green: rgba(46,204,113,.94);
  --mugm-prem-red: rgba(231,76,60,.92);

  --mugm-prem-shadow-sm: 0 10px 24px rgba(0,0,0,.22);
  --mugm-prem-shadow: 0 18px 48px rgba(0,0,0,.30);
  --mugm-prem-shadow-lg: 0 24px 70px rgba(0,0,0,.42);

  --mugm-prem-line: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.14),
    transparent
  );
}

/* =========================
   1) SELECCIÓN / SCROLLBAR
========================= */
::selection{
  background: rgba(79,163,255,.24);
  color: #fff;
}

html,
body{
  scrollbar-width: thin;
  scrollbar-color: rgba(79,163,255,.36) rgba(7,12,24,.72);
}

html::-webkit-scrollbar,
body::-webkit-scrollbar{
  width: 11px;
  height: 11px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track{
  background: rgba(7,12,24,.72);
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb{
  border-radius: 999px;
  border: 1px solid rgba(120,180,255,.22);
  background: linear-gradient(
    180deg,
    rgba(79,163,255,.40),
    rgba(79,163,255,.22)
  );
  box-shadow:
    inset 0 0 8px rgba(79,163,255,.18),
    0 0 8px rgba(79,163,255,.08);
}

/* =========================
   2) HEADER / TOPBAR / NAV
========================= */
.mugm-topbar,
.mugm-header{
  position: relative;
}

.mugm-topbar::after,
.mugm-header::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--mugm-prem-line);
  opacity: .55;
  pointer-events: none;
}

.mugm-header{
  box-shadow: 0 8px 26px rgba(0,0,0,.14);
}

.mugm-header.is-scrolled{
  backdrop-filter: blur(12px);
  background:
    linear-gradient(180deg, rgba(7,11,20,.88), rgba(7,11,20,.76)) !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
  box-shadow:
    0 10px 30px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.02) !important;
}

.mugm-nav__list a,
.mugm-link,
.mugm-themebtn,
.mugm-hamburger{
  transition:
    transform .16s ease,
    border-color .18s ease,
    background .18s ease,
    color .18s ease,
    box-shadow .18s ease !important;
}

.mugm-nav__list a:hover,
.mugm-link:hover,
.mugm-themebtn:hover,
.mugm-hamburger:hover{
  transform: translateY(-1px);
}

.mugm-nav__list a{
  position: relative;
}

.mugm-nav__list a::after{
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79,163,255,.45), transparent);
  opacity: 0;
  transition: opacity .18s ease;
  pointer-events: none;
}

.mugm-nav__list a:hover::after{
  opacity: .7;
}

.mugm-clock,
.mugm-top-time,
.we-timebar{
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.025);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02);
  border-radius: 999px;
}

/* =========================
   3) BOTONES
========================= */
.mugm-btn,
.mugm-btn-gold,
.we-btn,
.we-btn-primary,
.we-btn-secondary{
  position: relative;
  overflow: hidden;
  transition:
    transform .16s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    filter .18s ease,
    background .18s ease !important;
}

.mugm-btn:hover,
.mugm-btn-gold:hover,
.we-btn:hover,
.we-btn-primary:hover,
.we-btn-secondary:hover{
  transform: translateY(-1px);
}

.mugm-btn::before,
.mugm-btn-gold::before,
.we-btn::before,
.we-btn-primary::before,
.we-btn-secondary::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.07) 30%,
    rgba(255,255,255,0) 62%
  );
  opacity: .6;
}

.mugm-btn--ghost{
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.028)) !important;
  border-color: rgba(255,255,255,.10) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.02),
    0 8px 20px rgba(0,0,0,.14) !important;
}

.mugm-btn--ghost:hover{
  border-color: rgba(79,163,255,.22) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 12px 28px rgba(0,0,0,.20),
    0 0 0 1px rgba(79,163,255,.05) !important;
}

.mugm-btn--gold,
.mugm-btn-gold{
  box-shadow:
    0 14px 36px rgba(200,164,90,.18),
    inset 0 1px 0 rgba(255,255,255,.14) !important;
}

.mugm-btn--gold:hover,
.mugm-btn-gold:hover{
  box-shadow:
    0 18px 42px rgba(200,164,90,.24),
    0 0 0 1px rgba(212,175,55,.08),
    inset 0 1px 0 rgba(255,255,255,.16) !important;
}

/* =========================
   4) HERO / BLOQUES GRANDES
========================= */
.mugm-hero,
.mugm-dl-hero,
.mugm-don-hero,
.we-hero-card,
.mugm-cs-hero .panel.castle-owner-widget{
  position: relative;
}

.mugm-hero::before,
.mugm-dl-hero::before,
.mugm-don-hero::before,
.we-hero-card::before,
.mugm-cs-hero .panel.castle-owner-widget::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255,255,255,.018), rgba(255,255,255,0) 20%),
    radial-gradient(800px 220px at 15% 0%, rgba(79,163,255,.07), transparent 60%),
    radial-gradient(700px 220px at 85% 0%, rgba(212,175,55,.06), transparent 58%);
  opacity: .9;
}

.mugm-hero__copy,
.mugm-dl-hero__inner,
.mugm-don-hero__inner,
.we-hero-card__body,
.we-hero-card__head,
.we-hero-card__foot{
  position: relative;
  z-index: 1;
}

.mugm-title,
.mugm-section__title,
.news-section .section-title,
.we-news-title,
.mugm-pay-card__title,
.mugm-evcard__title,
.modal-title{
  text-shadow:
    0 1px 0 rgba(255,255,255,.03),
    0 10px 22px rgba(0,0,0,.26);
}

/* =========================
   5) CARDS GLOBALES
========================= */
.mugm-home-block,
.mugm-section,
.mugm-card,
.mugm-box,
.mugm-panel,
.news-card,
.we-news-item,
.we-mini-card,
.we-feature,
.we-stat-card,
.we-news-card,
.we-table,
.mugm-pay-card,
.mugm-evcard{
  position: relative;
  overflow: hidden;
  border: 1px solid var(--mugm-prem-border) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.030), rgba(255,255,255,.020)) !important;
  box-shadow:
    var(--mugm-prem-shadow-sm),
    inset 0 1px 0 rgba(255,255,255,.02) !important;
  transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .22s ease,
    background .22s ease !important;
}

.mugm-home-block::before,
.mugm-section::before,
.mugm-card::before,
.mugm-box::before,
.mugm-panel::before,
.news-card::before,
.we-news-item::before,
.we-mini-card::before,
.we-feature::before,
.we-stat-card::before,
.we-news-card::before,
.we-table::before,
.mugm-pay-card::before,
.mugm-evcard::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0) 25%),
    radial-gradient(420px 140px at 12% 0%, rgba(79,163,255,.05), transparent 55%);
  opacity: .9;
}

.mugm-home-block:hover,
.mugm-section:hover,
.mugm-card:hover,
.mugm-box:hover,
.mugm-panel:hover,
.news-card:hover,
.we-news-item:hover,
.we-mini-card:hover,
.we-feature:hover,
.we-stat-card:hover,
.we-news-card:hover,
.mugm-pay-card:hover{
  transform: translateY(-2px);
  border-color: var(--mugm-prem-border-strong) !important;
  box-shadow:
    var(--mugm-prem-shadow),
    inset 0 1px 0 rgba(255,255,255,.03) !important;
}

/* =========================
   6) NEWS / LISTADOS / ITEMS
========================= */
.news-card > img,
.we-news-thumb img,
.we-news-card img{
  transition: transform .28s ease, filter .28s ease;
}

.news-card:hover > img,
.we-news-item:hover .we-news-thumb img,
.we-news-card:hover img{
  transform: scale(1.02);
  filter: saturate(1.08) contrast(1.03);
}

.news-card .card-title,
.we-news-title,
.we-news-card .title{
  color: var(--mugm-prem-text);
}

.news-card .card-text,
.we-news-excerpt,
.we-news-card .excerpt{
  color: rgba(230,233,242,.74);
}

.news-card small.text-muted,
.we-news-meta{
  color: rgba(170,178,197,.80) !important;
}

/* =========================
   7) ALERTAS / BADGES / TAGS
========================= */
.mugm-alert,
.alert,
.we-badge,
.mugm-dl-hero__badge,
.mugm-don-hero__badge,
.we-hero-card__tag{
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 8px 22px rgba(0,0,0,.16);
}

.mugm-alert,
.alert{
  border-radius: 14px !important;
  backdrop-filter: blur(8px);
}

.mugm-alert--success,
.alert-success{
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 10px 24px rgba(46,204,113,.08);
}

.mugm-alert--warning,
.alert-warning{
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 10px 24px rgba(212,175,55,.08);
}

.mugm-alert--danger,
.mugm-alert--error,
.alert-danger{
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 10px 24px rgba(231,76,60,.08);
}

/* =========================
   8) TABLAS / RANKINGS / ROWS
========================= */
.mugm-table,
.general-table-ui,
.we-table{
  overflow: hidden;
}

.mugm-table tr,
.general-table-ui tr,
.we-table-row{
  transition: background .16s ease, box-shadow .16s ease;
}

.mugm-table tr:hover,
.general-table-ui tr:hover,
.we-table-row:hover{
  background: rgba(255,255,255,.035) !important;
}

.we-table-row:nth-of-type(1),
.mugm-table tbody tr:first-child,
.general-table-ui tbody tr:first-child{
  position: relative;
}

.we-table-row:nth-of-type(1)::after,
.mugm-table tbody tr:first-child::after,
.general-table-ui tbody tr:first-child::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(212,175,55,.20);
  box-shadow: 0 0 18px rgba(212,175,55,.07);
}

/* =========================
   9) FORMULARIOS / USERCP
========================= */
.mugm-form input,
.mugm-form select,
.mugm-form textarea,
input.form-control,
select.form-control,
textarea.form-control{
  transition:
    border-color .16s ease,
    box-shadow .16s ease,
    background .16s ease !important;
}

.mugm-form input:focus,
.mugm-form select:focus,
.mugm-form textarea:focus,
input.form-control:focus,
select.form-control:focus,
textarea.form-control:focus{
  border-color: rgba(79,163,255,.26) !important;
  box-shadow:
    0 0 0 3px rgba(79,163,255,.10),
    inset 0 1px 0 rgba(255,255,255,.02) !important;
  outline: none;
}

/* =========================
   10) MODALES GLOBALES
========================= */
.modal-content,
.mugm-modal{
  box-shadow:
    0 30px 90px rgba(0,0,0,.52),
    inset 0 1px 0 rgba(255,255,255,.02) !important;
}

.modal-header,
.mugm-modal__header{
  position: relative;
}

.modal-header::after,
.mugm-modal__header::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(212,175,55,.24), rgba(79,163,255,.24), rgba(212,175,55,.18));
  opacity: .45;
}

/* =========================
   11) ICONOS Y MÉTRICAS
========================= */
.mugm-metric,
.we-stat-card,
.mugm-pay-card__meta > *,
.mugm-evmeta__item{
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.02),
    0 8px 18px rgba(0,0,0,.12);
}

.mugm-metric__ico,
.we-dot,
.mugm-dot{
  box-shadow: 0 0 0 6px rgba(255,255,255,.03);
}

/* =========================
   12) TEMA LIGHT
   para que el pack no rompa el modo claro
========================= */
html[data-theme="light"] .mugm-home-block,
html[data-theme="light"] .mugm-section,
html[data-theme="light"] .mugm-card,
html[data-theme="light"] .mugm-box,
html[data-theme="light"] .mugm-panel,
html[data-theme="light"] .news-card,
html[data-theme="light"] .we-news-item,
html[data-theme="light"] .we-mini-card,
html[data-theme="light"] .we-feature,
html[data-theme="light"] .we-stat-card,
html[data-theme="light"] .we-news-card,
html[data-theme="light"] .we-table,
html[data-theme="light"] .mugm-pay-card,
html[data-theme="light"] .mugm-evcard{
  background:
    linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.68)) !important;
  border-color: rgba(10,20,40,.10) !important;
  box-shadow:
    0 16px 40px rgba(0,0,0,.08),
    inset 0 1px 0 rgba(255,255,255,.35) !important;
}

html[data-theme="light"] .mugm-home-block::before,
html[data-theme="light"] .mugm-section::before,
html[data-theme="light"] .mugm-card::before,
html[data-theme="light"] .mugm-box::before,
html[data-theme="light"] .mugm-panel::before,
html[data-theme="light"] .news-card::before,
html[data-theme="light"] .we-news-item::before,
html[data-theme="light"] .we-mini-card::before,
html[data-theme="light"] .we-feature::before,
html[data-theme="light"] .we-stat-card::before,
html[data-theme="light"] .we-news-card::before,
html[data-theme="light"] .we-table::before,
html[data-theme="light"] .mugm-pay-card::before,
html[data-theme="light"] .mugm-evcard::before{
  background:
    linear-gradient(180deg, rgba(255,255,255,.40), rgba(255,255,255,0) 25%),
    radial-gradient(420px 140px at 12% 0%, rgba(37,99,235,.06), transparent 55%);
}

html[data-theme="light"] .mugm-header.is-scrolled{
  background:
    linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.68)) !important;
  border-bottom-color: rgba(10,20,40,.08) !important;
}

html[data-theme="light"] .mugm-btn--ghost{
  background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.72)) !important;
  border-color: rgba(10,20,40,.12) !important;
  box-shadow: 0 8px 20px rgba(0,0,0,.08) !important;
}

html[data-theme="light"] .mugm-nav__list a::after{
  background: linear-gradient(90deg, transparent, rgba(37,99,235,.32), transparent);
}
/* =========================================================
   MUGM / WE — LEGENDARY DETAIL PASS
   PEGAR DEBAJO DEL PACK PREMIUM GLOBAL
   Objetivo:
   - Darle carácter premium real al sitio
   - Mejorar jerarquía visual
   - Hacer que TODO se sienta del mismo sistema
========================================================= */

/* =========================
   1) BORDES SUPERIORES PREMIUM
========================= */
.mugm-home-block,
.mugm-section,
.mugm-card,
.mugm-box,
.mugm-panel,
.news-card,
.we-news-item,
.we-mini-card,
.we-feature,
.we-stat-card,
.we-news-card,
.we-table,
.mugm-pay-card,
.mugm-evcard,
.modal-content,
.mugm-modal{
  position: relative !important;
}

.mugm-home-block::after,
.mugm-section::after,
.mugm-card::after,
.mugm-box::after,
.mugm-panel::after,
.news-card::after,
.we-news-item::after,
.we-mini-card::after,
.we-feature::after,
.we-stat-card::after,
.we-news-card::after,
.we-table::after,
.mugm-pay-card::after,
.mugm-evcard::after,
.modal-content::after,
.mugm-modal::after{
  content: "" !important;
  position: absolute !important;
  left: 14px !important;
  right: 14px !important;
  top: 0 !important;
  height: 1px !important;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(212,175,55,.22),
    rgba(79,163,255,.22),
    transparent
  ) !important;
  opacity: .78 !important;
  pointer-events: none !important;
}

/* =========================
   2) TÍTULOS MÁS HEROICOS
========================= */
.mugm-title,
.mugm-section__title,
.news-section .section-title,
.we-news-title,
.modal-title,
.mugm-pay-card__title,
.mugm-evcard__title,
h1, h2, h3.section-title{
  letter-spacing: .35px !important;
  text-shadow:
    0 1px 0 rgba(255,255,255,.03),
    0 10px 24px rgba(0,0,0,.30) !important;
}

.mugm-section__title,
.news-section .section-title{
  position: relative !important;
  padding-bottom: 8px !important;
}

.mugm-section__title::after,
.news-section .section-title::after{
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 72px !important;
  height: 2px !important;
  border-radius: 999px !important;
  background: linear-gradient(
    90deg,
    rgba(212,175,55,.9),
    rgba(79,163,255,.75)
  ) !important;
  box-shadow: 0 0 12px rgba(79,163,255,.10) !important;
}

/* =========================
   3) SUBTÍTULOS / TEXTO SECUNDARIO
========================= */
.mugm-subtitle,
.mugm-section__sub,
.mugm-hero__sub,
.we-news-excerpt,
.card-text,
.text-muted{
  color: rgba(198,205,220,.86) !important;
}

/* =========================
   4) BADGES / CHIPS / LABELS
========================= */
.mugm-badge,
.we-badge,
.badge,
.mugm-evchip,
.mugm-evmeta__item,
.mugm-dl-hero__badge,
.mugm-don-hero__badge,
.we-hero-card__tag{
  border: 1px solid rgba(255,255,255,.08) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.022)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 6px 16px rgba(0,0,0,.16) !important;
  color: rgba(235,238,245,.92) !important;
}

.mugm-badge.is-live,
.we-badge.is-live,
.badge.badge-success{
  border-color: rgba(46,204,113,.24) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 0 0 1px rgba(46,204,113,.05),
    0 0 18px rgba(46,204,113,.08) !important;
}

.mugm-badge.is-hot,
.badge.badge-warning{
  border-color: rgba(212,175,55,.24) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 0 0 1px rgba(212,175,55,.05),
    0 0 18px rgba(212,175,55,.08) !important;
}

/* =========================
   5) TARJETAS DESTACADAS
========================= */
.mugm-home-block.is-featured,
.we-feature.is-featured,
.news-card.is-featured,
.we-news-item.is-featured{
  border-color: rgba(212,175,55,.18) !important;
  box-shadow:
    0 20px 50px rgba(0,0,0,.34),
    0 0 0 1px rgba(212,175,55,.06),
    inset 0 1px 0 rgba(255,255,255,.03) !important;
}

.mugm-home-block.is-featured::before,
.we-feature.is-featured::before,
.news-card.is-featured::before,
.we-news-item.is-featured::before{
  background:
    linear-gradient(180deg, rgba(255,255,255,.022), rgba(255,255,255,0) 26%),
    radial-gradient(500px 180px at 15% 0%, rgba(212,175,55,.08), transparent 58%),
    radial-gradient(500px 180px at 85% 0%, rgba(79,163,255,.05), transparent 56%) !important;
}

/* =========================
   6) HOVER DE TARJETAS MÁS PRO
========================= */
.mugm-home-block:hover,
.mugm-section:hover,
.mugm-card:hover,
.mugm-box:hover,
.mugm-panel:hover,
.news-card:hover,
.we-news-item:hover,
.we-mini-card:hover,
.we-feature:hover,
.we-stat-card:hover,
.we-news-card:hover,
.mugm-pay-card:hover{
  filter: saturate(1.03) !important;
}

.news-card:hover .card-title,
.we-news-item:hover .we-news-title,
.we-news-card:hover .title,
.mugm-home-block:hover .mugm-title{
  color: rgba(248,250,255,.98) !important;
}

/* =========================
   7) TABLAS / RANKINGS MÁS ÉPICOS
========================= */
.mugm-table thead th,
.general-table-ui thead th,
.we-table-head,
.table thead th{
  position: relative !important;
  color: rgba(243,245,250,.96) !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.02) !important;
}

.mugm-table thead th::after,
.general-table-ui thead th::after,
.table thead th::after{
  content: "" !important;
  position: absolute !important;
  left: 10px !important;
  right: 10px !important;
  bottom: 0 !important;
  height: 1px !important;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(212,175,55,.22),
    rgba(79,163,255,.22),
    transparent
  ) !important;
  opacity: .7 !important;
}

/* top 3 visual */
.mugm-table tbody tr:nth-child(1),
.general-table-ui tbody tr:nth-child(1),
.table tbody tr:nth-child(1){
  box-shadow: inset 3px 0 0 rgba(212,175,55,.72) !important;
}

.mugm-table tbody tr:nth-child(2),
.general-table-ui tbody tr:nth-child(2),
.table tbody tr:nth-child(2){
  box-shadow: inset 3px 0 0 rgba(160,180,210,.70) !important;
}

.mugm-table tbody tr:nth-child(3),
.general-table-ui tbody tr:nth-child(3),
.table tbody tr:nth-child(3){
  box-shadow: inset 3px 0 0 rgba(184,115,51,.72) !important;
}

/* =========================
   8) INPUTS Y FORMULARIOS
========================= */
.mugm-form input,
.mugm-form select,
.mugm-form textarea,
input.form-control,
select.form-control,
textarea.form-control,
.form-select,
.form-input{
  background:
    linear-gradient(180deg, rgba(255,255,255,.032), rgba(255,255,255,.020)) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.02),
    0 4px 12px rgba(0,0,0,.10) !important;
  color: rgba(236,239,245,.95) !important;
}

.mugm-form input::placeholder,
.mugm-form textarea::placeholder,
input.form-control::placeholder,
textarea.form-control::placeholder{
  color: rgba(180,188,205,.72) !important;
}

.mugm-form input:hover,
.mugm-form select:hover,
.mugm-form textarea:hover,
input.form-control:hover,
select.form-control:hover,
textarea.form-control:hover{
  border-color: rgba(255,255,255,.11) !important;
}

/* =========================
   9) PAGINACIÓN / CONTROLES
========================= */
.pagination .page-link,
.mugm-pagination a,
.mugm-pagination span{
  border: 1px solid rgba(255,255,255,.08) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.040), rgba(255,255,255,.024)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.02),
    0 6px 16px rgba(0,0,0,.12) !important;
  transition:
    transform .16s ease,
    border-color .16s ease,
    box-shadow .16s ease !important;
}

.pagination .page-link:hover,
.mugm-pagination a:hover{
  transform: translateY(-1px) !important;
  border-color: rgba(79,163,255,.18) !important;
  box-shadow:
    0 10px 18px rgba(0,0,0,.16),
    0 0 0 1px rgba(79,163,255,.05) !important;
}

.pagination .active .page-link,
.mugm-pagination .is-active{
  border-color: rgba(212,175,55,.24) !important;
  box-shadow:
    0 0 0 1px rgba(212,175,55,.06),
    0 0 18px rgba(212,175,55,.07) !important;
}

/* =========================
   10) DIVISORES / SEPARADORES
========================= */
hr,
.mugm-divider,
.we-divider{
  border: 0 !important;
  height: 1px !important;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.12),
    transparent
  ) !important;
  opacity: .9 !important;
}

/* =========================
   11) ICONOS / WIDGETS PEQUEÑOS
========================= */
.mugm-themebtn,
.mugm-hamburger,
.mugm-link--icon,
.mugm-social a,
.social-links a{
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.02),
    0 6px 14px rgba(0,0,0,.12) !important;
}

.mugm-social a:hover,
.social-links a:hover,
.mugm-link--icon:hover{
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 10px 22px rgba(0,0,0,.18),
    0 0 0 1px rgba(79,163,255,.05) !important;
}

/* =========================
   12) FOOTER MÁS PREMIUM
========================= */
footer,
.mugm-footer,
.we-footer{
  position: relative !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02) !important;
}

footer::before,
.mugm-footer::before,
.we-footer::before{
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  height: 1px !important;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(212,175,55,.18),
    rgba(79,163,255,.18),
    transparent
  ) !important;
  opacity: .75 !important;
  pointer-events: none !important;
}

/* =========================
   13) AJUSTES PARA LIGHT MODE
========================= */
html[data-theme="light"] .mugm-section__title::after,
html[data-theme="light"] .news-section .section-title::after{
  background: linear-gradient(
    90deg,
    rgba(180,140,30,.88),
    rgba(37,99,235,.72)
  ) !important;
}

html[data-theme="light"] .mugm-home-block::after,
html[data-theme="light"] .mugm-section::after,
html[data-theme="light"] .mugm-card::after,
html[data-theme="light"] .mugm-box::after,
html[data-theme="light"] .mugm-panel::after,
html[data-theme="light"] .news-card::after,
html[data-theme="light"] .we-news-item::after,
html[data-theme="light"] .we-mini-card::after,
html[data-theme="light"] .we-feature::after,
html[data-theme="light"] .we-stat-card::after,
html[data-theme="light"] .we-news-card::after,
html[data-theme="light"] .we-table::after,
html[data-theme="light"] .mugm-pay-card::after,
html[data-theme="light"] .mugm-evcard::after,
html[data-theme="light"] .modal-content::after,
html[data-theme="light"] .mugm-modal::after{
  background: linear-gradient(
    90deg,
    transparent,
    rgba(180,140,30,.18),
    rgba(37,99,235,.18),
    transparent
  ) !important;
}
/* =========================================================
   FIX FINAL — ESTADOS "POR COMENZAR" TAMBIÉN EN INVASIONES
   PEGAR AL FINAL ABSOLUTO DE aaa.css
========================================================= */

/* Estado visual global por comenzar */
#eventModal .mugm-evcard.is-soon{
  border-color: rgba(94,255,184,.22) !important;
  box-shadow:
    inset 0 0 0 1px rgba(94,255,184,.10),
    0 12px 26px rgba(0,0,0,.30),
    0 0 18px rgba(94,255,184,.05) !important;
}

#eventModal .mugm-evcard.is-soon::before{
  opacity: 1 !important;
  background:
    radial-gradient(circle at 12% 50%, rgba(94,255,184,.08), transparent 34%),
    radial-gradient(circle at 88% 50%, rgba(92,190,255,.05), transparent 30%),
    linear-gradient(90deg, rgba(94,255,184,.04), rgba(255,255,255,0) 36%, rgba(92,190,255,.03) 100%) !important;
}

/* El más próximo de todos */
#eventModal .mugm-evcard.is-soon-top{
  border-color: rgba(94,255,184,.36) !important;
  box-shadow:
    inset 0 0 0 1px rgba(94,255,184,.16),
    0 0 0 1px rgba(94,255,184,.08),
    0 18px 34px rgba(0,0,0,.34),
    0 0 28px rgba(94,255,184,.09) !important;
}

#eventModal .mugm-evcard.is-soon-top::before{
  opacity: 1 !important;
  background:
    radial-gradient(circle at 10% 50%, rgba(94,255,184,.11), transparent 34%),
    radial-gradient(circle at 90% 50%, rgba(92,190,255,.08), transparent 32%),
    linear-gradient(90deg, rgba(94,255,184,.05), rgba(255,255,255,0) 40%, rgba(92,190,255,.04) 100%) !important;
}

/* Estado urgente */
#eventModal .mugm-evcard.is-urgent{
  border-color: rgba(124,255,196,.42) !important;
  box-shadow:
    inset 0 0 0 1px rgba(124,255,196,.18),
    0 0 0 1px rgba(124,255,196,.10),
    0 0 34px rgba(124,255,196,.11),
    0 18px 34px rgba(0,0,0,.34) !important;
}

/* Badge Próximo también acompaña */
#eventModal .mugm-evcard.is-soon .mugm-evbadge.is-next{
  border-color: rgba(94,255,184,.26) !important;
  background: linear-gradient(180deg, rgba(15,44,33,.92), rgba(10,28,21,.94)) !important;
  box-shadow:
    inset 0 0 0 1px rgba(94,255,184,.08),
    0 0 12px rgba(94,255,184,.05) !important;
}

#eventModal .mugm-evcard.is-soon-top .mugm-evbadge.is-next{
  border-color: rgba(94,255,184,.34) !important;
  background: linear-gradient(180deg, rgba(16,52,38,.96), rgba(10,30,22,.98)) !important;
  box-shadow:
    inset 0 0 0 1px rgba(94,255,184,.11),
    0 0 16px rgba(94,255,184,.07) !important;
}

#eventModal .mugm-evcard.is-urgent .mugm-evbadge.is-next{
  border-color: rgba(124,255,196,.40) !important;
  box-shadow:
    inset 0 0 0 1px rgba(124,255,196,.12),
    0 0 18px rgba(124,255,196,.08) !important;
}

/* =========================================================
   FIX ESPECÍFICO: INVASIONES / CARDS DORADAS
   Esto pisa cualquier .is-gold viejo que esté anulando el verde
========================================================= */

#eventModal .mugm-evcard.is-gold.is-soon{
  border-color: rgba(94,255,184,.22) !important;
  box-shadow:
    inset 0 0 0 1px rgba(94,255,184,.10),
    0 12px 26px rgba(0,0,0,.30),
    0 0 18px rgba(94,255,184,.05) !important;
}

#eventModal .mugm-evcard.is-gold.is-soon::before{
  opacity: 1 !important;
}

#eventModal .mugm-evcard.is-gold.is-soon-top{
  border-color: rgba(94,255,184,.36) !important;
  box-shadow:
    inset 0 0 0 1px rgba(94,255,184,.16),
    0 0 0 1px rgba(94,255,184,.08),
    0 18px 34px rgba(0,0,0,.34),
    0 0 28px rgba(94,255,184,.09) !important;
}

#eventModal .mugm-evcard.is-gold.is-soon-top::before{
  opacity: 1 !important;
}

#eventModal .mugm-evcard.is-gold.is-urgent{
  border-color: rgba(124,255,196,.42) !important;
  box-shadow:
    inset 0 0 0 1px rgba(124,255,196,.18),
    0 0 0 1px rgba(124,255,196,.10),
    0 0 34px rgba(124,255,196,.11),
    0 18px 34px rgba(0,0,0,.34) !important;
}

/* Título del top también en invasiones */
#eventModal .mugm-evcard.is-gold.is-soon-top .mugm-evcard__title{
  color: #f4fff9 !important;
  text-shadow:
    0 1px 0 rgba(255,255,255,.05),
    0 0 14px rgba(94,255,184,.08),
    0 8px 18px rgba(0,0,0,.30) !important;
}

/* Badge next del dorado */
#eventModal .mugm-evcard.is-gold.is-soon .mugm-evbadge.is-next,
#eventModal .mugm-evcard.is-gold.is-soon-top .mugm-evbadge.is-next,
#eventModal .mugm-evcard.is-gold.is-urgent .mugm-evbadge.is-next{
  border-color: rgba(94,255,184,.30) !important;
  background: linear-gradient(180deg, rgba(16,52,38,.96), rgba(10,30,22,.98)) !important;
  box-shadow:
    inset 0 0 0 1px rgba(94,255,184,.10),
    0 0 16px rgba(94,255,184,.07) !important;
}
/* =========================================================
   EVENTS MODAL — QUICK GUIDE UI
========================================================= */

#eventModal .mugm-evquick{
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 8px 0 10px !important;
}

#eventModal .mugm-evquick__item{
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02)) !important;
  color: rgba(233,238,247,.88) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02) !important;
}

#eventModal .mugm-evsummary{
  margin: 0 0 10px !important;
  padding: 10px 12px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255,255,255,.07) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.018)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02) !important;
}

#eventModal .mugm-evsummary__label{
  margin-bottom: 5px !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
  color: rgba(212,175,55,.92) !important;
}

#eventModal .mugm-evsummary__text{
  color: rgba(224,230,242,.82) !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
}

#eventModal .mugm-evguide{
  margin: 0 0 10px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255,255,255,.07) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.026), rgba(255,255,255,.016)) !important;
  overflow: hidden !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02) !important;
}

#eventModal .mugm-evguide__summary{
  list-style: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  padding: 10px 12px !important;
  cursor: pointer !important;
  color: rgba(241,244,250,.90) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

#eventModal .mugm-evguide__summary::-webkit-details-marker{
  display: none !important;
}

#eventModal .mugm-evguide[open] .mugm-evguide__summary{
  border-bottom: 1px solid rgba(255,255,255,.06) !important;
}

#eventModal .mugm-evguide__chev{
  opacity: .82 !important;
  transition: transform .18s ease !important;
}

#eventModal .mugm-evguide[open] .mugm-evguide__chev{
  transform: rotate(180deg) !important;
}

#eventModal .mugm-evguide__body{
  display: grid !important;
  gap: 10px !important;
  padding: 12px !important;
}

#eventModal .mugm-evguide__box{
  padding: 10px 12px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255,255,255,.06) !important;
  background: rgba(0,0,0,.12) !important;
}

#eventModal .mugm-evguide__title{
  margin-bottom: 6px !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
  color: rgba(120,255,196,.90) !important;
}

#eventModal .mugm-evguide__text{
  color: rgba(225,231,242,.82) !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
}

#eventModal .mugm-evguide__list{
  margin: 0 !important;
  padding-left: 18px !important;
  color: rgba(225,231,242,.82) !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
}

#eventModal .mugm-evguide__list li{
  margin: 4px 0 !important;
}

#eventModal .mugm-evguide__actions{
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

#eventModal .mugm-evguide__link{
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 34px !important;
  padding: 8px 12px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(79,163,255,.20) !important;
  background: linear-gradient(180deg, rgba(79,163,255,.12), rgba(79,163,255,.06)) !important;
  color: rgba(226,238,255,.96) !important;
  text-decoration: none !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03) !important;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease !important;
}

#eventModal .mugm-evguide__link:hover{
  transform: translateY(-1px) !important;
  border-color: rgba(79,163,255,.30) !important;
  box-shadow:
    0 0 0 1px rgba(79,163,255,.05),
    0 8px 20px rgba(0,0,0,.16),
    inset 0 1px 0 rgba(255,255,255,.04) !important;
}

#eventModal .mugm-evguide__link.is-disabled{
  border-color: rgba(255,255,255,.08) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.02)) !important;
  color: rgba(196,204,220,.78) !important;
  cursor: default !important;
  pointer-events: none !important;
}

@media (max-width: 900px){
  #eventModal .mugm-evquick{
    gap: 6px !important;
  }

  #eventModal .mugm-evquick__item{
    font-size: 10px !important;
    padding: 5px 8px !important;
  }

  #eventModal .mugm-evsummary__text,
  #eventModal .mugm-evguide__text,
  #eventModal .mugm-evguide__list{
    font-size: 11px !important;
  }
}
/* =========================================================
   GUIDE TOAST + ESTADOS DINÁMICOS
========================================================= */

#eventModal .mugm-guide-toast{
  position: sticky !important;
  bottom: 10px !important;
  z-index: 30 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: fit-content !important;
  max-width: min(92%, 520px) !important;
  margin: 12px auto 0 !important;
  padding: 10px 14px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  background: linear-gradient(180deg, rgba(16,24,40,.96), rgba(8,13,24,.98)) !important;
  color: rgba(233,238,247,.94) !important;
  box-shadow: 0 14px 32px rgba(0,0,0,.28) !important;
  opacity: 0 !important;
  transform: translateY(8px) !important;
  pointer-events: none !important;
  transition: opacity .18s ease, transform .18s ease !important;
}

#eventModal .mugm-guide-toast.show{
  opacity: 1 !important;
  transform: translateY(0) !important;
}

#eventModal .mugm-guide-toast.is-ok{
  border-color: rgba(46,204,113,.22) !important;
}

#eventModal .mugm-guide-toast.is-warn{
  border-color: rgba(212,175,55,.22) !important;
}

#eventModal .mugm-evguide__link.is-checking{
  pointer-events: none !important;
  opacity: .92 !important;
}
/* =========================================================
   EVENTS MODAL — COMPACT PREMIUM LAYOUT
   reduce altura sin perder diseño
========================================================= */

/* Card principal */
#eventModal .mugm-evcard{
  padding:14px 16px !important;
  gap:12px !important;
  min-height:auto !important;
}

/* Grid interno */
#eventModal .mugm-evcard__grid{
  gap:12px !important;
  align-items:center !important;
}

/* Imagen evento */
#eventModal .mugm-evcard__img{
  width:82px !important;
  height:82px !important;
  border-radius:10px !important;
}

/* Contenido principal */
#eventModal .mugm-evcard__body{
  gap:6px !important;
}

/* Título evento */
#eventModal .mugm-evcard__title{
  font-size:15px !important;
  letter-spacing:.4px !important;
}

/* Badges (evento / invasión / mapas abiertos) */
#eventModal .mugm-evbadge{
  font-size:11px !important;
  padding:3px 7px !important;
}

/* Bloque resumen */
#eventModal .mugm-evsummary{
  padding:6px 10px !important;
  font-size:12px !important;
  line-height:1.35 !important;
}

/* Horarios */
#eventModal .mugm-evschedule{
  margin-top:4px !important;
}

/* Chips horarios */
#eventModal .mugm-evchip{
  padding:4px 8px !important;
  font-size:11px !important;
  border-radius:14px !important;
}

/* Contador derecha */
#eventModal .mugm-evright{
  gap:6px !important;
}

#eventModal .mugm-evcount{
  font-size:12px !important;
  padding:4px 8px !important;
}

/* Guía rápida */
#eventModal .mugm-evguide{
  margin-top:6px !important;
}

#eventModal .mugm-evguide summary{
  padding:6px 8px !important;
  font-size:12px !important;
}

#eventModal .mugm-evguide__content{
  padding:8px 10px !important;
  font-size:12px !important;
}

/* Espacio entre cards */
#eventModal .mugm-events-cards{
  gap:10px !important;
}
#eventModal .mugm-evcard{
  backdrop-filter: blur(6px);
}
/* =========================================================
   EVENTS MODAL — LIVE GLOW + TIMELINE
========================================================= */

/* ===== LIVE BADGE ===== */
#eventModal .mugm-evlive{
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  min-height: 24px !important;
  padding: 4px 9px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,95,95,.26) !important;
  background: linear-gradient(180deg, rgba(120,18,18,.96), rgba(72,10,10,.98)) !important;
  color: rgba(255,238,238,.98) !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  box-shadow:
    0 0 0 1px rgba(255,95,95,.08),
    0 0 14px rgba(255,95,95,.18),
    inset 0 1px 0 rgba(255,255,255,.06) !important;
}

#eventModal .mugm-evlive::before{
  content: "" !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: #ff6b6b !important;
  box-shadow: 0 0 10px rgba(255,107,107,.8) !important;
  animation: mugmLivePulse 1.8s ease-in-out infinite !important;
}

@keyframes mugmLivePulse{
  0%,100%{ transform: scale(1); opacity: .95; }
  50%{ transform: scale(1.18); opacity: 1; }
}

/* ===== CARD LIVE STATE ===== */
#eventModal .mugm-evcard.is-live{
  border-color: rgba(255,95,95,.28) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255,95,95,.12),
    0 0 0 1px rgba(255,95,95,.06),
    0 16px 34px rgba(0,0,0,.34),
    0 0 30px rgba(255,95,95,.10) !important;
}

#eventModal .mugm-evcard.is-live::before{
  opacity: 1 !important;
  background:
    radial-gradient(circle at 10% 50%, rgba(255,95,95,.10), transparent 34%),
    radial-gradient(circle at 90% 50%, rgba(255,140,90,.06), transparent 30%),
    linear-gradient(90deg, rgba(255,95,95,.04), rgba(255,255,255,0) 40%, rgba(255,140,90,.03) 100%) !important;
}

#eventModal .mugm-evcard.is-live .mugm-evcard__title{
  color: #fff6f6 !important;
  text-shadow:
    0 1px 0 rgba(255,255,255,.04),
    0 0 14px rgba(255,95,95,.10),
    0 8px 18px rgba(0,0,0,.30) !important;
}

#eventModal .mugm-evcard.is-live .mugm-evbadge.is-timeleft{
  border-color: rgba(255,95,95,.24) !important;
  background: linear-gradient(180deg, rgba(58,16,16,.96), rgba(34,10,10,.98)) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255,95,95,.08),
    0 0 14px rgba(255,95,95,.06) !important;
}

/* glow suave animado */
#eventModal .mugm-evcard.is-live .mugm-evcard__media{
  position: relative !important;
}

#eventModal .mugm-evcard.is-live .mugm-evcard__media::before{
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,100,100,.14), transparent 56%) !important;
  opacity: .8 !important;
  animation: mugmLiveGlow 2.6s ease-in-out infinite !important;
}

@keyframes mugmLiveGlow{
  0%,100%{ opacity: .48; transform: scale(1); }
  50%{ opacity: .92; transform: scale(1.02); }
}

/* ===== TIMELINE ===== */
#eventModal .mugm-events-timeline{
  margin-top: 10px !important;
  padding: 10px 12px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255,255,255,.07) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.018)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.02),
    0 8px 20px rgba(0,0,0,.14) !important;
}

#eventModal .mugm-events-timeline__head{
  margin-bottom: 8px !important;
  color: rgba(236,240,248,.92) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

#eventModal .mugm-events-timeline__track{
  display: flex !important;
  gap: 8px !important;
  overflow-x: auto !important;
  padding-bottom: 2px !important;
  scroll-behavior: smooth !important;
}

#eventModal .mugm-events-timeline__track::-webkit-scrollbar{
  height: 6px !important;
}

#eventModal .mugm-events-timeline__track::-webkit-scrollbar-thumb{
  border-radius: 999px !important;
  background: rgba(79,163,255,.24) !important;
}

#eventModal .mugm-events-timeline__loading{
  color: rgba(214,220,234,.74) !important;
  font-size: 12px !important;
  white-space: nowrap !important;
}

#eventModal .mugm-tlitem{
  flex: 0 0 auto !important;
  min-width: 148px !important;
  max-width: 180px !important;
  padding: 9px 11px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255,255,255,.07) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02)) !important;
  color: rgba(231,236,245,.92) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02) !important;
  cursor: pointer !important;
  transition:
    transform .16s ease,
    border-color .16s ease,
    box-shadow .16s ease,
    background .16s ease !important;
}

#eventModal .mugm-tlitem:hover{
  transform: translateY(-1px) !important;
  border-color: rgba(79,163,255,.18) !important;
  box-shadow:
    0 10px 18px rgba(0,0,0,.14),
    0 0 0 1px rgba(79,163,255,.04) !important;
}

#eventModal .mugm-tlitem.is-next{
  border-color: rgba(94,255,184,.22) !important;
  background: linear-gradient(180deg, rgba(18,44,34,.82), rgba(10,24,20,.90)) !important;
  box-shadow:
    0 0 0 1px rgba(94,255,184,.06),
    0 0 16px rgba(94,255,184,.06) !important;
}

#eventModal .mugm-tlitem.is-live{
  border-color: rgba(255,95,95,.26) !important;
  background: linear-gradient(180deg, rgba(58,16,16,.92), rgba(30,10,10,.98)) !important;
  box-shadow:
    0 0 0 1px rgba(255,95,95,.06),
    0 0 18px rgba(255,95,95,.08) !important;
}

#eventModal .mugm-tlitem__name{
  display: block !important;
  margin-bottom: 4px !important;
  color: rgba(248,250,255,.96) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

#eventModal .mugm-tlitem__meta{
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  color: rgba(207,214,230,.80) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

#eventModal .mugm-tlitem__status{
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
}

#eventModal .mugm-tlitem__status.is-live{
  color: rgba(255,210,210,.96) !important;
  font-weight: 900 !important;
}

#eventModal .mugm-tlitem__status.is-live::before{
  content: "" !important;
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #ff6b6b !important;
  box-shadow: 0 0 8px rgba(255,107,107,.78) !important;
}

@media (max-width: 900px){
  #eventModal .mugm-tlitem{
    min-width: 132px !important;
    padding: 8px 10px !important;
  }

  #eventModal .mugm-tlitem__name{
    font-size: 11px !important;
  }

  #eventModal .mugm-tlitem__meta{
    font-size: 10px !important;
  }
}
/* =========================================================
   TOPBAR — EVENTOS PREMIUM + MINI PRÓXIMOS EVENTOS
========================================================= */

/* ===== Botón Eventos ===== */
.mugm-event-btn{
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  min-height: 32px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(212,175,55,.18) !important;
  background:
    linear-gradient(180deg, rgba(212,175,55,.12), rgba(79,163,255,.06)) !important;
  color: rgba(248,241,216,.96) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 8px 18px rgba(0,0,0,.18),
    0 0 0 1px rgba(212,175,55,.04) !important;
  transition:
    transform .16s ease,
    border-color .16s ease,
    box-shadow .16s ease,
    filter .16s ease !important;
}

.mugm-event-btn:hover{
  transform: translateY(-1px) !important;
  border-color: rgba(212,175,55,.28) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 12px 22px rgba(0,0,0,.22),
    0 0 0 1px rgba(212,175,55,.07),
    0 0 16px rgba(212,175,55,.08) !important;
  color: #fff5d6 !important;
}

.mugm-event-btn i{
  color: rgba(212,175,55,.96) !important;
}

.mugm-event-btn__pulse{
  position: relative !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: rgba(94,255,184,.92) !important;
  box-shadow: 0 0 10px rgba(94,255,184,.40) !important;
  flex: 0 0 auto !important;
}

.mugm-event-btn__pulse::after{
  content: "" !important;
  position: absolute !important;
  inset: -4px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(94,255,184,.36) !important;
  opacity: .9 !important;
  animation: mugmTopEventPulse 1.8s ease-out infinite !important;
}

@keyframes mugmTopEventPulse{
  0%{ transform: scale(.72); opacity: .85; }
  70%{ transform: scale(1.55); opacity: 0; }
  100%{ transform: scale(1.55); opacity: 0; }
}

/* ===== Mini próximos eventos ===== */
.mugm-top-events{
  display: inline-flex !important;
  align-items: center !important;
  min-width: 0 !important;
  max-width: 430px !important;
  height: 32px !important;
  padding: 0 0 0 2px !important;
  overflow: hidden !important;
}

.mugm-top-events__track{
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}

.mugm-top-events__loading{
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  height: 30px !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,.06) !important;
  background: rgba(255,255,255,.03) !important;
  color: rgba(214,220,234,.76) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

.mugm-top-event-item{
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  height: 30px !important;
  min-width: 0 !important;
  max-width: 150px !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,.07) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02)) !important;
  color: rgba(233,238,247,.88) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02) !important;
  overflow: hidden !important;
  cursor: pointer !important;
  transition:
    transform .16s ease,
    border-color .16s ease,
    box-shadow .16s ease,
    background .16s ease !important;
}

.mugm-top-event-item:hover{
  transform: translateY(-1px) !important;
  border-color: rgba(79,163,255,.18) !important;
  box-shadow:
    0 8px 18px rgba(0,0,0,.16),
    0 0 0 1px rgba(79,163,255,.04) !important;
}

.mugm-top-event-item.is-next{
  border-color: rgba(94,255,184,.20) !important;
  background:
    linear-gradient(180deg, rgba(18,44,34,.80), rgba(10,24,20,.88)) !important;
}

.mugm-top-event-item.is-live{
  border-color: rgba(255,95,95,.24) !important;
  background:
    linear-gradient(180deg, rgba(58,16,16,.92), rgba(30,10,10,.98)) !important;
  box-shadow:
    0 0 0 1px rgba(255,95,95,.05),
    0 0 16px rgba(255,95,95,.08) !important;
}

.mugm-top-event-item__name{
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  color: rgba(244,247,252,.94) !important;
}

.mugm-top-event-item__time{
  flex: 0 0 auto !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  color: rgba(190,201,223,.88) !important;
  font-family: Orbitron, Inter, sans-serif !important;
}

.mugm-top-event-item.is-live .mugm-top-event-item__time{
  color: rgba(255,224,224,.96) !important;
}

.mugm-top-event-live{
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  flex: 0 0 auto !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: .06em !important;
  color: rgba(255,225,225,.96) !important;
  text-transform: uppercase !important;
}

.mugm-top-event-live::before{
  content: "" !important;
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #ff6b6b !important;
  box-shadow: 0 0 8px rgba(255,107,107,.8) !important;
}

/* Ajuste de la zona izquierda para que no reviente */
.mugm-topbar__left{
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-width: 0 !important;
  flex-wrap: nowrap !important;
}

.mugm-topbar__left > *{
  flex: 0 0 auto !important;
}

.mugm-topbar__left .mugm-top-events{
  flex: 1 1 auto !important;
}

/* Mobile / tablet */
@media (max-width: 1180px){
  .mugm-top-events{
    max-width: 300px !important;
  }
}

@media (max-width: 980px){
  .mugm-top-events{
    display: none !important;
  }

  .mugm-event-btn{
    padding: 0 11px !important;
  }
}
/* =========================================================
   TOPBAR EVENTS — LEVEL 2 PREMIUM
   ticker + iconos + contador + shimmer
========================================================= */

/* contenedor del track con máscara más pro */
.mugm-top-events{
  position: relative !important;
}

.mugm-top-events::before,
.mugm-top-events::after{
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 18px !important;
  z-index: 2 !important;
  pointer-events: none !important;
}

.mugm-top-events::before{
  left: 0 !important;
  background: linear-gradient(90deg, rgba(8,12,24,.95), rgba(8,12,24,0)) !important;
}

.mugm-top-events::after{
  right: 0 !important;
  background: linear-gradient(270deg, rgba(8,12,24,.95), rgba(8,12,24,0)) !important;
}

/* track animable */
.mugm-top-events__track{
  position: relative !important;
  will-change: transform !important;
}

.mugm-top-events.is-ticking .mugm-top-events__track{
  animation: mugmTopTicker 18s linear infinite !important;
}

.mugm-top-events.is-ticking:hover .mugm-top-events__track{
  animation-play-state: paused !important;
}

@keyframes mugmTopTicker{
  0%   { transform: translateX(0); }
  50%  { transform: translateX(-22px); }
  100% { transform: translateX(0); }
}

/* item con icono */
.mugm-top-event-item{
  position: relative !important;
  gap: 8px !important;
  padding-left: 9px !important;
  overflow: hidden !important;
}

.mugm-top-event-item__icon{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 16px !important;
  height: 16px !important;
  flex: 0 0 16px !important;
  border-radius: 50% !important;
  font-size: 9px !important;
  color: rgba(246,249,255,.96) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.04)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 2px 8px rgba(0,0,0,.18) !important;
}

.mugm-top-event-item.is-type-event .mugm-top-event-item__icon{
  border: 1px solid rgba(90,170,255,.24) !important;
  background: linear-gradient(180deg, rgba(90,170,255,.22), rgba(90,170,255,.08)) !important;
}

.mugm-top-event-item.is-type-invasion .mugm-top-event-item__icon{
  border: 1px solid rgba(212,175,55,.24) !important;
  background: linear-gradient(180deg, rgba(212,175,55,.22), rgba(212,175,55,.08)) !important;
}

.mugm-top-event-item.is-type-boss .mugm-top-event-item__icon{
  border: 1px solid rgba(255,95,95,.22) !important;
  background: linear-gradient(180deg, rgba(255,95,95,.20), rgba(255,95,95,.08)) !important;
}

.mugm-top-event-item.is-type-special .mugm-top-event-item__icon{
  border: 1px solid rgba(170,120,255,.22) !important;
  background: linear-gradient(180deg, rgba(170,120,255,.20), rgba(170,120,255,.08)) !important;
}

/* nombre con mejor truncado */
.mugm-top-event-item__name{
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

/* contador mini */
.mugm-top-event-item__count{
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 42px !important;
  height: 20px !important;
  padding: 0 7px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,.07) !important;
  background: rgba(0,0,0,.18) !important;
  color: rgba(224,230,242,.88) !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  font-family: Orbitron, Inter, sans-serif !important;
  letter-spacing: .02em !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02) !important;
}

.mugm-top-event-item.is-next .mugm-top-event-item__count{
  border-color: rgba(94,255,184,.20) !important;
  color: rgba(219,255,236,.96) !important;
}

.mugm-top-event-item.is-live .mugm-top-event-item__count{
  border-color: rgba(255,95,95,.22) !important;
  color: rgba(255,232,232,.98) !important;
}

/* shimmer premium SOLO en el más próximo */
.mugm-top-event-item.is-next::after{
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: -42% !important;
  width: 42% !important;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0),
    rgba(255,255,255,.08),
    rgba(255,255,255,0)
  ) !important;
  transform: skewX(-20deg) !important;
  animation: mugmTopNextShimmer 3.6s ease-in-out infinite !important;
  pointer-events: none !important;
}

@keyframes mugmTopNextShimmer{
  0%   { left: -42%; opacity: 0; }
  12%  { opacity: 1; }
  42%  { left: 118%; opacity: 0; }
  100% { left: 118%; opacity: 0; }
}

/* live tag más chico dentro del chip */
.mugm-top-event-live{
  min-width: 42px !important;
  justify-content: center !important;
  height: 20px !important;
  padding: 0 7px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,95,95,.18) !important;
  background: rgba(70,14,14,.58) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03) !important;
}

/* responsive fino */
@media (max-width: 1180px){
  .mugm-top-event-item{
    max-width: 132px !important;
  }

  .mugm-top-event-item__count,
  .mugm-top-event-live{
    min-width: 38px !important;
    padding: 0 6px !important;
  }
}
/* =========================================================
   MUGM — LIGHT THEME MASTER PATCH
   PEGAR AL FINAL ABSOLUTO DE aaa.css
   ========================================================= */

html[data-theme="light"]{
  --bg0:#f6f8fc !important;
  --bg1:#eef3f9 !important;
  --bg2:#e7edf7 !important;

  --text:#0f172a !important;
  --muted:rgba(15,23,42,.68) !important;
  --line:rgba(15,23,42,.10) !important;

  --gold:#c89b3c !important;
  --gold2:#a77922 !important;

  --aether:#2563eb !important;
  --cyan:#0891b2 !important;

  --danger:#dc2626 !important;
  --success:#16a34a !important;

  --shadow:0 18px 60px rgba(15,23,42,.10) !important;
  --mugm-bg0:#f6f8fc !important;
  --mugm-bg1:#eef3f9 !important;
  --mugm-bg2:#e7edf7 !important;
  --mugm-card:rgba(255,255,255,.82) !important;
  --mugm-card2:rgba(255,255,255,.68) !important;
  --mugm-line:rgba(15,23,42,.10) !important;
  --mugm-line2:rgba(15,23,42,.16) !important;
  --mugm-blue:#2563eb !important;
  --mugm-blue2:#1d4ed8 !important;
  --mugm-gold:#c89b3c !important;
  --mugm-text:rgba(15,23,42,.92) !important;
  --mugm-muted:rgba(15,23,42,.68) !important;
  --mugm-shadow:0 18px 55px rgba(15,23,42,.10) !important;
  --mugm-shadow2:0 10px 25px rgba(15,23,42,.08) !important;
}

/* ===== Fondo global ===== */
html[data-theme="light"],
html[data-theme="light"] body,
html[data-theme="light"] body.mugm-body{
  background:
    radial-gradient(1200px 580px at 18% 6%, rgba(37,99,235,.10), transparent 58%),
    radial-gradient(900px 520px at 85% 12%, rgba(200,155,60,.12), transparent 56%),
    radial-gradient(1100px 760px at 50% 48%, rgba(255,255,255,.96), rgba(241,245,251,.96) 64%, rgba(233,239,248,.98) 100%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 48%, #edf2f8 100%) !important;
  color:#0f172a !important;
}

html[data-theme="light"] body::before{
  opacity:0 !important;
  background:none !important;
}

/* ===== Selección ===== */
html[data-theme="light"] ::selection{
  background:rgba(37,99,235,.14) !important;
  color:#0f172a !important;
}

/* ===== Tipografía global ===== */
html[data-theme="light"] body,
html[data-theme="light"] p,
html[data-theme="light"] li,
html[data-theme="light"] span,
html[data-theme="light"] small,
html[data-theme="light"] label,
html[data-theme="light"] strong,
html[data-theme="light"] div{
  color:inherit;
}

html[data-theme="light"] .mugm-muted,
html[data-theme="light"] .text-muted,
html[data-theme="light"] .mugm-subtitle,
html[data-theme="light"] .mugm-hint,
html[data-theme="light"] .mugm-legal,
html[data-theme="light"] .mugm-auth__cardSub,
html[data-theme="light"] .mugm-auth__switch,
html[data-theme="light"] .mugm-page-sub,
html[data-theme="light"] .mugm-footer__muted,
html[data-theme="light"] .mugm-footer__tagline,
html[data-theme="light"] .mugm-section__sub{
  color:rgba(15,23,42,.66) !important;
}

html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] h4,
html[data-theme="light"] h5,
html[data-theme="light"] .mugm-title,
html[data-theme="light"] .mugm-section__title,
html[data-theme="light"] .mugm-page-title > span,
html[data-theme="light"] .mugm-auth__headline,
html[data-theme="light"] .mugm-auth__cardTitle,
html[data-theme="light"] .mugm-footer__title,
html[data-theme="light"] .mugm-hero-card__title{
  color:#0f172a !important;
  text-shadow:none !important;
}

html[data-theme="light"] .mugm-title__accent,
html[data-theme="light"] .mugm-auth__headline span{
  color:#b7791f !important;
  text-shadow:0 0 18px rgba(200,155,60,.10) !important;
}

/* ===== Links ===== */
html[data-theme="light"] a{
  color:#1d4ed8 !important;
}
html[data-theme="light"] a:hover{
  color:#1e40af !important;
}

html[data-theme="light"] .mugm-link{
  color:rgba(15,23,42,.76) !important;
  background:transparent !important;
}
html[data-theme="light"] .mugm-link:hover{
  color:#0f172a !important;
  background:rgba(15,23,42,.05) !important;
}

html[data-theme="light"] .mugm-link--discord{
  color:#1e3a8a !important;
  background:rgba(37,99,235,.08) !important;
  border:1px solid rgba(37,99,235,.14) !important;
}
html[data-theme="light"] .mugm-link--discord:hover{
  background:rgba(37,99,235,.12) !important;
  border-color:rgba(37,99,235,.20) !important;
}

/* ===== Topbar / Header ===== */
html[data-theme="light"] .mugm-topbar{
  background:linear-gradient(180deg, rgba(255,255,255,.88), rgba(248,250,253,.74)) !important;
  backdrop-filter:blur(12px) !important;
  -webkit-backdrop-filter:blur(12px) !important;
  border-bottom:1px solid rgba(15,23,42,.08) !important;
  box-shadow:0 8px 28px rgba(15,23,42,.05) !important;
}

html[data-theme="light"] .mugm-header,
html[data-theme="light"] .mugm-header.is-scrolled{
  background:linear-gradient(180deg, rgba(255,255,255,.82), rgba(246,248,252,.70)) !important;
  backdrop-filter:blur(14px) !important;
  -webkit-backdrop-filter:blur(14px) !important;
  border-bottom:1px solid rgba(15,23,42,.08) !important;
  box-shadow:0 10px 30px rgba(15,23,42,.05) !important;
}

html[data-theme="light"] .mugm-badge,
html[data-theme="light"] .mugm-clock,
html[data-theme="light"] .mugm-hero-bullets span,
html[data-theme="light"] .mugm-chip,
html[data-theme="light"] .mugm-pill{
  background:rgba(255,255,255,.78) !important;
  border:1px solid rgba(15,23,42,.10) !important;
  color:#0f172a !important;
  box-shadow:0 8px 22px rgba(15,23,42,.05) !important;
}

html[data-theme="light"] .mugm-badge--version{
  background:rgba(200,155,60,.10) !important;
  border-color:rgba(200,155,60,.18) !important;
  color:#8a5b12 !important;
}

html[data-theme="light"] .mugm-dot{
  box-shadow:0 0 0 6px rgba(37,99,235,.08) !important;
}
html[data-theme="light"] .mugm-dot--online{
  background:#22c55e !important;
}
html[data-theme="light"] .mugm-dot--offline{
  background:#ef4444 !important;
}

html[data-theme="light"] .mugm-kicker-text,
html[data-theme="light"] .mugm-kicker-text strong{
  color:#0f172a !important;
}
html[data-theme="light"] .mugm-kicker-count{
  color:#1d4ed8 !important;
  text-shadow:none !important;
}

/* ===== Theme button / eventos topbar ===== */
html[data-theme="light"] .mugm-themebtn{
  background:rgba(255,255,255,.78) !important;
  border:1px solid rgba(15,23,42,.10) !important;
  color:#0f172a !important;
  box-shadow:0 8px 22px rgba(15,23,42,.05) !important;
}
html[data-theme="light"] .mugm-themebtn:hover{
  background:#ffffff !important;
  border-color:rgba(37,99,235,.18) !important;
}

html[data-theme="light"] .mugm-event-btn{
  background:linear-gradient(180deg, rgba(200,155,60,.14), rgba(37,99,235,.06)) !important;
  border:1px solid rgba(200,155,60,.20) !important;
  color:#0f172a !important;
  box-shadow:0 10px 24px rgba(15,23,42,.06) !important;
}
html[data-theme="light"] .mugm-event-btn i{
  color:#b7791f !important;
}
html[data-theme="light"] .mugm-event-btn:hover{
  background:linear-gradient(180deg, rgba(200,155,60,.18), rgba(37,99,235,.08)) !important;
  border-color:rgba(200,155,60,.28) !important;
}

html[data-theme="light"] .mugm-top-event-item,
html[data-theme="light"] .mugm-top-events__loading{
  background:rgba(255,255,255,.86) !important;
  border:1px solid rgba(15,23,42,.10) !important;
  color:#0f172a !important;
  box-shadow:0 8px 24px rgba(15,23,42,.05) !important;
}
html[data-theme="light"] .mugm-top-event-item__name,
html[data-theme="light"] .mugm-top-event-item__time,
html[data-theme="light"] .mugm-top-event-item__count{
  color:#0f172a !important;
}
html[data-theme="light"] .mugm-top-event-item.is-next{
  background:linear-gradient(180deg, rgba(34,197,94,.10), rgba(255,255,255,.92)) !important;
  border-color:rgba(34,197,94,.20) !important;
}
html[data-theme="light"] .mugm-top-event-item.is-live{
  background:linear-gradient(180deg, rgba(239,68,68,.10), rgba(255,255,255,.92)) !important;
  border-color:rgba(239,68,68,.18) !important;
}

/* ===== Buttons ===== */
html[data-theme="light"] .mugm-btn--ghost,
html[data-theme="light"] .we-btn-ghost{
  color:#0f172a !important;
  background:rgba(255,255,255,.76) !important;
  border:1px solid rgba(15,23,42,.10) !important;
  box-shadow:0 10px 24px rgba(15,23,42,.05) !important;
}
html[data-theme="light"] .mugm-btn--ghost:hover,
html[data-theme="light"] .we-btn-ghost:hover{
  background:#ffffff !important;
  border-color:rgba(37,99,235,.16) !important;
}

html[data-theme="light"] .mugm-btn--gold,
html[data-theme="light"] .mugm-btn-gold,
html[data-theme="light"] .btn.btn-vip{
  color:#271706 !important;
  background:linear-gradient(180deg, #ecd08b, #c68f2b) !important;
  border:1px solid rgba(183,121,31,.22) !important;
  box-shadow:0 14px 32px rgba(183,121,31,.16) !important;
}
html[data-theme="light"] .mugm-btn--gold:hover,
html[data-theme="light"] .mugm-btn-gold:hover,
html[data-theme="light"] .btn.btn-vip:hover{
  filter:brightness(1.03) !important;
}

/* ===== Cards / panels / sections ===== */
html[data-theme="light"] .mugm-section,
html[data-theme="light"] .mugm-home-block,
html[data-theme="light"] .mugm-card,
html[data-theme="light"] .mugm-auth__card,
html[data-theme="light"] .mugm-auth__panel,
html[data-theme="light"] .mugm-pay-card,
html[data-theme="light"] .mugm-don-card,
html[data-theme="light"] .mugm-dl-tip,
html[data-theme="light"] .mugm-dl-item,
html[data-theme="light"] .mugm-usercp,
html[data-theme="light"] .mugm-info-sidebar,
html[data-theme="light"] .mugm-info-content,
html[data-theme="light"] .mugm-leaderboard,
html[data-theme="light"] .mugm-footer__brand,
html[data-theme="light"] .mugm-footer__col,
html[data-theme="light"] .castle-siege-block,
html[data-theme="light"] .profiles_player_card,
html[data-theme="light"] .profiles_guild_card,
html[data-theme="light"] .panel,
html[data-theme="light"] .panel-default,
html[data-theme="light"] .rankings-home-box{
  background:linear-gradient(180deg, rgba(255,255,255,.90), rgba(250,252,255,.82)) !important;
  border:1px solid rgba(15,23,42,.08) !important;
  color:#0f172a !important;
  box-shadow:0 18px 50px rgba(15,23,42,.07) !important;
}

html[data-theme="light"] .mugm-section__head,
html[data-theme="light"] .mugm-leaderboard__head,
html[data-theme="light"] .mugm-auth__cardHead,
html[data-theme="light"] .mugm-usercp__head,
html[data-theme="light"] .mugm-info-sidebar__head,
html[data-theme="light"] .panel-heading{
  background:linear-gradient(180deg, rgba(255,255,255,.78), rgba(243,247,252,.72)) !important;
  border-bottom:1px solid rgba(15,23,42,.08) !important;
  color:#0f172a !important;
}

/* ===== Hero ===== */
html[data-theme="light"] .mugm-hero__bg{
  background:
    radial-gradient(900px 520px at 30% 15%, rgba(37,99,235,.12), transparent 60%),
    radial-gradient(800px 520px at 75% 10%, rgba(200,155,60,.10), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.72), rgba(248,250,252,.20)) !important;
}

html[data-theme="light"] .mugm-metric{
  background:rgba(255,255,255,.80) !important;
  border:1px solid rgba(15,23,42,.08) !important;
  box-shadow:0 12px 30px rgba(15,23,42,.06) !important;
}
html[data-theme="light"] .mugm-metric__ico{
  background:rgba(37,99,235,.06) !important;
  border:1px solid rgba(37,99,235,.10) !important;
  color:#1d4ed8 !important;
}
html[data-theme="light"] .mugm-metric__label{
  color:rgba(15,23,42,.62) !important;
}
html[data-theme="light"] .mugm-metric__value{
  color:#0f172a !important;
}
html[data-theme="light"] .mugm-pill--on{
  color:#166534 !important;
  background:rgba(34,197,94,.10) !important;
  border-color:rgba(34,197,94,.16) !important;
  box-shadow:none !important;
}
html[data-theme="light"] .mugm-pill--off{
  color:#991b1b !important;
  background:rgba(239,68,68,.10) !important;
  border-color:rgba(239,68,68,.16) !important;
  box-shadow:none !important;
}

/* ===== Inputs / forms ===== */
html[data-theme="light"] input,
html[data-theme="light"] select,
html[data-theme="light"] textarea,
html[data-theme="light"] .form-control,
html[data-theme="light"] .mugm-input,
html[data-theme="light"] .mugm-form select,
html[data-theme="light"] .mugm-form input{
  background:#ffffff !important;
  color:#0f172a !important;
  border:1px solid rgba(15,23,42,.14) !important;
  box-shadow:none !important;
}

html[data-theme="light"] .mugm-input{
  border-radius:16px !important;
}
html[data-theme="light"] .mugm-input i{
  color:rgba(15,23,42,.50) !important;
}
html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder{
  color:rgba(15,23,42,.42) !important;
}
html[data-theme="light"] input:focus,
html[data-theme="light"] select:focus,
html[data-theme="light"] textarea:focus,
html[data-theme="light"] .form-control:focus{
  border-color:rgba(37,99,235,.28) !important;
  box-shadow:0 0 0 4px rgba(37,99,235,.08) !important;
  outline:none !important;
}

html[data-theme="light"] .mugm-label{
  color:#334155 !important;
}

/* ===== Alerts ===== */
html[data-theme="light"] .alert,
html[data-theme="light"] .mugm-alert{
  background:#ffffff !important;
  color:#0f172a !important;
  border:1px solid rgba(15,23,42,.10) !important;
  box-shadow:0 10px 24px rgba(15,23,42,.05) !important;
}
html[data-theme="light"] .alert-success,
html[data-theme="light"] .mugm-alert--success,
html[data-theme="light"] .mugm-alert.success{
  background:rgba(34,197,94,.08) !important;
  border-color:rgba(34,197,94,.16) !important;
  color:#166534 !important;
}
html[data-theme="light"] .alert-danger,
html[data-theme="light"] .mugm-alert--danger,
html[data-theme="light"] .mugm-alert.error{
  background:rgba(239,68,68,.08) !important;
  border-color:rgba(239,68,68,.16) !important;
  color:#991b1b !important;
}
html[data-theme="light"] .alert-warning,
html[data-theme="light"] .mugm-alert--warning{
  background:rgba(245,158,11,.08) !important;
  border-color:rgba(245,158,11,.16) !important;
  color:#92400e !important;
}
html[data-theme="light"] .alert-info,
html[data-theme="light"] .mugm-alert--info{
  background:rgba(37,99,235,.08) !important;
  border-color:rgba(37,99,235,.16) !important;
  color:#1d4ed8 !important;
}

/* ===== Tables ===== */
html[data-theme="light"] .table,
html[data-theme="light"] .mugm-table,
html[data-theme="light"] .general-table-ui{
  background:#ffffff !important;
  color:#0f172a !important;
  border-color:rgba(15,23,42,.10) !important;
}

html[data-theme="light"] .table > thead > tr > th,
html[data-theme="light"] .mugm-table thead th,
html[data-theme="light"] .general-table-ui thead th{
  background:linear-gradient(180deg, rgba(248,250,253,.98), rgba(239,244,250,.95)) !important;
  color:rgba(15,23,42,.72) !important;
  border-bottom:1px solid rgba(15,23,42,.10) !important;
}

html[data-theme="light"] .table > tbody > tr > td,
html[data-theme="light"] .mugm-table tbody td,
html[data-theme="light"] .general-table-ui td{
  background:transparent !important;
  color:#0f172a !important;
  border-top:1px solid rgba(15,23,42,.06) !important;
  border-bottom:1px solid rgba(15,23,42,.06) !important;
}

html[data-theme="light"] .table > tbody > tr:hover > td,
html[data-theme="light"] .mugm-table tbody tr:hover td,
html[data-theme="light"] .general-table-ui tr:hover td{
  background:rgba(37,99,235,.04) !important;
}

/* ===== News ===== */
html[data-theme="light"] .news-card,
html[data-theme="light"] .we-news-item{
  background:linear-gradient(180deg, rgba(255,255,255,.94), rgba(248,250,252,.90)) !important;
  border:1px solid rgba(15,23,42,.08) !important;
  box-shadow:0 18px 45px rgba(15,23,42,.07) !important;
}
html[data-theme="light"] .news-card .card-title,
html[data-theme="light"] .we-news-title{
  color:#0f172a !important;
}
html[data-theme="light"] .news-card .card-text,
html[data-theme="light"] .we-news-excerpt{
  color:rgba(15,23,42,.68) !important;
}
html[data-theme="light"] .news-card small.text-muted,
html[data-theme="light"] .we-news-meta{
  color:rgba(15,23,42,.52) !important;
}
html[data-theme="light"] .news-card .read-more-btn{
  background:rgba(37,99,235,.08) !important;
  border:1px solid rgba(37,99,235,.12) !important;
  color:#1d4ed8 !important;
}
html[data-theme="light"] .news-card .read-more-btn:hover{
  background:rgba(37,99,235,.12) !important;
  color:#1e40af !important;
}

/* ===== Rankings ===== */
html[data-theme="light"] .mugm-entry,
html[data-theme="light"] .rankings-home-box .table-responsive,
html[data-theme="light"] .rankings-home-box .table{
  background:rgba(255,255,255,.86) !important;
  border-color:rgba(15,23,42,.08) !important;
  color:#0f172a !important;
}
html[data-theme="light"] .mugm-entry__name,
html[data-theme="light"] .mugm-entry__statvalue,
html[data-theme="light"] .rank-name,
html[data-theme="light"] .rank-name a{
  color:#0f172a !important;
}
html[data-theme="light"] .mugm-entry__sub,
html[data-theme="light"] .mugm-entry__statlabel{
  color:rgba(15,23,42,.56) !important;
}
html[data-theme="light"] .mugm-rankpos{
  background:rgba(15,23,42,.04) !important;
  border-color:rgba(15,23,42,.10) !important;
  color:#0f172a !important;
}
html[data-theme="light"] .badge-online{
  background:rgba(34,197,94,.10) !important;
  border-color:rgba(34,197,94,.16) !important;
  color:#166534 !important;
}
html[data-theme="light"] .badge-offline{
  background:rgba(239,68,68,.10) !important;
  border-color:rgba(239,68,68,.16) !important;
  color:#991b1b !important;
}

/* ===== Info/Wiki ===== */
html[data-theme="light"] .mugm-info-link,
html[data-theme="light"] .mugm-info-sub a,
html[data-theme="light"] .mugm-info-group__toggle{
  background:rgba(255,255,255,.82) !important;
  border-color:rgba(15,23,42,.08) !important;
  color:#0f172a !important;
}
html[data-theme="light"] .mugm-info-link:hover,
html[data-theme="light"] .mugm-info-sub a:hover,
html[data-theme="light"] .mugm-info-group__toggle:hover{
  background:#ffffff !important;
}
html[data-theme="light"] .mugm-info-link.is-active{
  background:rgba(37,99,235,.10) !important;
  border-color:rgba(37,99,235,.16) !important;
  color:#1d4ed8 !important;
}
html[data-theme="light"] .mugm-info-sub a.is-active{
  background:rgba(200,155,60,.10) !important;
  border-color:rgba(200,155,60,.16) !important;
  color:#8a5b12 !important;
}
html[data-theme="light"] .mugm-info-content p,
html[data-theme="light"] .mugm-info-content li{
  color:rgba(15,23,42,.76) !important;
}
html[data-theme="light"] .mugm-info-content .highlight{
  background:rgba(200,155,60,.10) !important;
  border-color:rgba(200,155,60,.16) !important;
  color:#7c5617 !important;
}

/* ===== Auth / usercp ===== */
html[data-theme="light"] .mugm-auth__panelGlow,
html[data-theme="light"] .mugm-dl-hero__bg,
html[data-theme="light"] .mugm-don-hero__bg,
html[data-theme="light"] .mugm-pay-hero__bg{
  background:
    radial-gradient(900px 520px at 25% 10%, rgba(37,99,235,.08), transparent 60%),
    radial-gradient(900px 520px at 80% 0%, rgba(200,155,60,.08), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,.18)) !important;
}

html[data-theme="light"] .mugm-usercp__item{
  background:rgba(255,255,255,.82) !important;
  border-color:rgba(15,23,42,.08) !important;
  color:#0f172a !important;
}
html[data-theme="light"] .mugm-usercp__item:hover{
  background:#ffffff !important;
  border-color:rgba(37,99,235,.14) !important;
}
html[data-theme="light"] .mugm-usercp__icon{
  background:rgba(37,99,235,.06) !important;
  border-color:rgba(37,99,235,.10) !important;
  color:#1d4ed8 !important;
}
html[data-theme="light"] .mugm-usercp__text small{
  color:rgba(15,23,42,.58) !important;
}

/* ===== Downloads / donations / payments ===== */
html[data-theme="light"] .mugm-dl-trust,
html[data-theme="light"] .mugm-don-price,
html[data-theme="light"] .mugm-pay-card__meta .mugm-chip,
html[data-theme="light"] .mugm-dl-item,
html[data-theme="light"] .mugm-dl-tip,
html[data-theme="light"] .mugm-don-card,
html[data-theme="light"] .mugm-pay-card{
  background:rgba(255,255,255,.84) !important;
  border-color:rgba(15,23,42,.08) !important;
  color:#0f172a !important;
}
html[data-theme="light"] .mugm-dl-item__desc,
html[data-theme="light"] .mugm-don-card__meta{
  color:rgba(15,23,42,.58) !important;
}
html[data-theme="light"] .mugm-pay-card__title,
html[data-theme="light"] .mugm-pay-card__price,
html[data-theme="light"] .mugm-don-card__name{
  color:#0f172a !important;
}
html[data-theme="light"] .mugm-pay-card.is-featured{
  background:linear-gradient(180deg, rgba(255,251,235,.96), rgba(255,255,255,.92)) !important;
  border-color:rgba(200,155,60,.18) !important;
}

/* ===== Modal / overlay ===== */
html[data-theme="light"] .modal-backdrop.in,
html[data-theme="light"] .modal-backdrop.show{
  background:rgba(241,245,251,.72) !important;
  opacity:1 !important;
}

html[data-theme="light"] .modal-content,
html[data-theme="light"] .mugm-modal,
html[data-theme="light"] .mugm-lightbox__panel{
  background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(247,250,252,.95)) !important;
  color:#0f172a !important;
  border:1px solid rgba(15,23,42,.10) !important;
  box-shadow:0 30px 80px rgba(15,23,42,.12) !important;
}

html[data-theme="light"] .modal-header,
html[data-theme="light"] .mugm-modal__header{
  background:linear-gradient(90deg, rgba(200,155,60,.10), rgba(37,99,235,.08), rgba(255,255,255,.60)) !important;
  border-bottom:1px solid rgba(15,23,42,.08) !important;
}
html[data-theme="light"] .modal-title{
  color:#0f172a !important;
}
html[data-theme="light"] .modal-header .close,
html[data-theme="light"] .close{
  background:rgba(15,23,42,.04) !important;
  border:1px solid rgba(15,23,42,.10) !important;
  color:#0f172a !important;
  opacity:.82 !important;
}
html[data-theme="light"] .modal-header .close:hover,
html[data-theme="light"] .close:hover{
  background:rgba(15,23,42,.08) !important;
  border-color:rgba(37,99,235,.16) !important;
  opacity:1 !important;
}

/* ===== Events modal ===== */
html[data-theme="light"] #eventModal .mugm-events-sub,
html[data-theme="light"] #eventModal .mugm-events-timeline,
html[data-theme="light"] #eventModal .mugm-tlitem,
html[data-theme="light"] #eventModal .mugm-evguide summary,
html[data-theme="light"] #eventModal .mugm-evguide__content,
html[data-theme="light"] #eventModal .mugm-evsummary{
  background:rgba(255,255,255,.82) !important;
  border-color:rgba(15,23,42,.08) !important;
  color:#0f172a !important;
}

html[data-theme="light"] #eventModal .mugm-evcard{
  background:linear-gradient(180deg, rgba(255,255,255,.95), rgba(248,250,253,.92)) !important;
  border-color:rgba(15,23,42,.08) !important;
  box-shadow:0 16px 40px rgba(15,23,42,.07) !important;
}

html[data-theme="light"] #eventModal .mugm-evcard__title,
html[data-theme="light"] #eventModal .mugm-evbadge,
html[data-theme="light"] #eventModal .mugm-evsched-head,
html[data-theme="light"] #eventModal .mugm-evsched-note,
html[data-theme="light"] #eventModal .mugm-tlitem__name,
html[data-theme="light"] #eventModal .mugm-tlitem__meta,
html[data-theme="light"] #eventModal .mugm-evguide,
html[data-theme="light"] #eventModal .mugm-evguide *{
  color:#0f172a !important;
}

html[data-theme="light"] #eventModal .mugm-evchip{
  background:rgba(15,23,42,.04) !important;
  border:1px solid rgba(15,23,42,.08) !important;
  color:#0f172a !important;
}
html[data-theme="light"] #eventModal .mugm-evchip.is-next,
html[data-theme="light"] #eventModal .mugm-tlitem.is-next{
  background:linear-gradient(180deg, rgba(34,197,94,.12), rgba(255,255,255,.94)) !important;
  border-color:rgba(34,197,94,.18) !important;
}
html[data-theme="light"] #eventModal .mugm-evcard.is-live,
html[data-theme="light"] #eventModal .mugm-tlitem.is-live{
  background:linear-gradient(180deg, rgba(239,68,68,.10), rgba(255,255,255,.94)) !important;
  border-color:rgba(239,68,68,.18) !important;
}
html[data-theme="light"] #eventModal .mugm-evlive{
  background:linear-gradient(180deg, rgba(239,68,68,.14), rgba(255,255,255,.92)) !important;
  border-color:rgba(239,68,68,.20) !important;
  color:#991b1b !important;
}
html[data-theme="light"] #eventModal .mugm-evbadge.is-next,
html[data-theme="light"] #eventModal .mugm-evbadge.is-timeleft{
  background:rgba(255,255,255,.74) !important;
  border-color:rgba(15,23,42,.08) !important;
}

/* ===== Footer ===== */
html[data-theme="light"] .mugm-footer,
html[data-theme="light"] footer,
html[data-theme="light"] .we-footer{
  background:
    radial-gradient(1000px 420px at 16% 0%, rgba(37,99,235,.08), transparent 55%),
    radial-gradient(900px 420px at 84% 0%, rgba(200,155,60,.08), transparent 50%),
    linear-gradient(180deg, rgba(250,252,255,.96), rgba(240,245,251,.96)) !important;
  border-top:1px solid rgba(15,23,42,.08) !important;
  color:#0f172a !important;
}

html[data-theme="light"] .mugm-footer *,
html[data-theme="light"] footer *,
html[data-theme="light"] .we-footer *{
  color:inherit;
}

html[data-theme="light"] .mugm-footer__link,
html[data-theme="light"] .mugm-social,
html[data-theme="light"] .mugm-footer__btn{
  background:rgba(255,255,255,.82) !important;
  border-color:rgba(15,23,42,.10) !important;
  color:#0f172a !important;
}
html[data-theme="light"] .mugm-footer__link:hover,
html[data-theme="light"] .mugm-social:hover,
html[data-theme="light"] .mugm-footer__btn:hover{
  background:#ffffff !important;
  border-color:rgba(37,99,235,.14) !important;
}
html[data-theme="light"] .mugm-social--discord{
  background:rgba(37,99,235,.08) !important;
  border-color:rgba(37,99,235,.14) !important;
  color:#1e3a8a !important;
}

/* ===== AI Chat ===== */
html[data-theme="light"] .mugm-aichat,
html[data-theme="light"] .mugm-aichat__head,
html[data-theme="light"] .mugm-aichat__body,
html[data-theme="light"] .mugm-aichat__form{
  background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(247,250,252,.95)) !important;
  color:#0f172a !important;
  border-color:rgba(15,23,42,.10) !important;
}
html[data-theme="light"] .mugm-aichat__msg.is-bot{
  background:rgba(37,99,235,.06) !important;
  color:#0f172a !important;
}
html[data-theme="light"] .mugm-aichat__input{
  background:#ffffff !important;
  color:#0f172a !important;
  border:1px solid rgba(15,23,42,.12) !important;
}
html[data-theme="light"] .mugm-aifab{
  background:linear-gradient(180deg, #ffffff, #f5f8fc) !important;
  color:#1d4ed8 !important;
  border:1px solid rgba(15,23,42,.10) !important;
  box-shadow:0 16px 35px rgba(15,23,42,.10) !important;
}

/* ===== Profiles ===== */
html[data-theme="light"] .profiles_player_table .cname,
html[data-theme="light"] .profiles_player_table .cclass,
html[data-theme="light"] .profiles_guild_card .guild_name,
html[data-theme="light"] .profiles_guild_card .guild_members{
  color:#0f172a !important;
}
html[data-theme="light"] .profiles_player_table_info,
html[data-theme="light"] .profiles_guild_card table.table{
  background:rgba(255,255,255,.86) !important;
  border-color:rgba(15,23,42,.08) !important;
}
html[data-theme="light"] .profiles_player_table_info td:first-child,
html[data-theme="light"] .profiles_guild_card table.table td.text-right{
  color:rgba(15,23,42,.56) !important;
}
html[data-theme="light"] .profiles_player_table_info td:last-child,
html[data-theme="light"] .profiles_guild_card table.table td{
  color:#0f172a !important;
}

/* ===== Castle Siege / widgets ===== */
html[data-theme="light"] .castle-owner-panel.panel,
html[data-theme="light"] .castle-owner-widget.panel,
html[data-theme="light"] .mugm-cs-box,
html[data-theme="light"] .mugm-cs-layout,
html[data-theme="light"] .mugm-cs-left,
html[data-theme="light"] .mugm-cs-right,
html[data-theme="light"] .mugm-cs-countdown,
html[data-theme="light"] .mugm-cs-row,
html[data-theme="light"] #siegeTimer{
  background:rgba(255,255,255,.86) !important;
  border-color:rgba(15,23,42,.08) !important;
  color:#0f172a !important;
}
html[data-theme="light"] .castle-owner-name,
html[data-theme="light"] .mugm-cs-row .v,
html[data-theme="light"] #siegeTimer{
  color:#0f172a !important;
}
html[data-theme="light"] .castle-owner-panel h4,
html[data-theme="light"] .castle-owner-panel .alt,
html[data-theme="light"] .mugm-cs-row .k,
html[data-theme="light"] .mugm-cs-countdown .label{
  color:rgba(15,23,42,.58) !important;
}

/* ===== Gallery / slider / lightbox ===== */
html[data-theme="light"] .mugm-gallery,
html[data-theme="light"] .mugm-gallery__card,
html[data-theme="light"] .mugm-lightbox__panel{
  background:rgba(255,255,255,.90) !important;
  border-color:rgba(15,23,42,.08) !important;
  box-shadow:0 18px 50px rgba(15,23,42,.08) !important;
}
html[data-theme="light"] .mugm-gallery__btn,
html[data-theme="light"] .mugm-lightbox__close,
html[data-theme="light"] .mugm-lightbox__nav{
  background:rgba(255,255,255,.82) !important;
  border-color:rgba(15,23,42,.10) !important;
  color:#0f172a !important;
}
html[data-theme="light"] .mugm-gallery__hint,
html[data-theme="light"] .mugm-lightbox__meta{
  color:rgba(15,23,42,.66) !important;
  background:rgba(255,255,255,.82) !important;
  border-color:rgba(15,23,42,.10) !important;
}

/* ===== Mobile nav ===== */
html[data-theme="light"] .mugm-nav--mobile{
  background:rgba(250,252,255,.96) !important;
  border-top:1px solid rgba(15,23,42,.08) !important;
}
html[data-theme="light"] .mugm-nav--mobile .mugm-nav__list a{
  background:rgba(255,255,255,.82) !important;
  border:1px solid rgba(15,23,42,.08) !important;
  color:#0f172a !important;
}
html[data-theme="light"] .mugm-nav--mobile .mugm-nav__list a:hover{
  background:#ffffff !important;
  border-color:rgba(37,99,235,.14) !important;
}
html[data-theme="light"] .mugm-hamburger{
  background:rgba(255,255,255,.82) !important;
  border:1px solid rgba(15,23,42,.10) !important;
  color:#0f172a !important;
}

/* ===== Scrollbars ===== */
html[data-theme="light"] *{
  scrollbar-color:rgba(148,163,184,.55) rgba(15,23,42,.04);
}
html[data-theme="light"] *::-webkit-scrollbar{
  width:10px;
  height:10px;
}
html[data-theme="light"] *::-webkit-scrollbar-track{
  background:rgba(15,23,42,.04);
  border-radius:999px;
}
html[data-theme="light"] *::-webkit-scrollbar-thumb{
  background:rgba(148,163,184,.62);
  border-radius:999px;
  border:2px solid rgba(255,255,255,.70);
}
html[data-theme="light"] *::-webkit-scrollbar-thumb:hover{
  background:rgba(100,116,139,.78);
}

/* ===== Iconos heredados muy oscuros ===== */
html[data-theme="light"] i,
html[data-theme="light"] .fa,
html[data-theme="light"] .fas,
html[data-theme="light"] .far,
html[data-theme="light"] .fab{
  color:inherit;
}

/* ===== Ajustes de contraste finales ===== */
html[data-theme="light"] .mugm-home-block *,
html[data-theme="light"] .mugm-section *,
html[data-theme="light"] .mugm-modal *,
html[data-theme="light"] .mugm-footer *,
html[data-theme="light"] .castle-siege-block *,
html[data-theme="light"] .profiles_player_card *,
html[data-theme="light"] .profiles_guild_card *{
  border-color:rgba(15,23,42,.08);
}

html[data-theme="light"] .text-success{ color:#166534 !important; }
html[data-theme="light"] .text-danger{ color:#991b1b !important; }
html[data-theme="light"] .text-warning{ color:#92400e !important; }
html[data-theme="light"] .text-info{ color:#1d4ed8 !important; }
/* =========================================================
   LIGHT THEME — V2 POLISH PATCH
   basado en capturas reales del sitio
   PEGAR AL FINAL ABSOLUTO
========================================================= */

html[data-theme="light"]{
  --lt-bg: #f4f7fb !important;
  --lt-surface: #ffffff !important;
  --lt-surface-2: #f8fafd !important;
  --lt-surface-3: #eef3f9 !important;
  --lt-text: #0f172a !important;
  --lt-text-2: #334155 !important;
  --lt-text-3: #64748b !important;
  --lt-line: rgba(15,23,42,.10) !important;
  --lt-line-2: rgba(15,23,42,.16) !important;
  --lt-blue: #2563eb !important;
  --lt-gold: #c8901f !important;
  --lt-shadow: 0 18px 50px rgba(15,23,42,.08) !important;
  --lt-shadow-soft: 0 10px 24px rgba(15,23,42,.06) !important;
}

/* ===== fondo general un poco más elegante ===== */
html[data-theme="light"],
html[data-theme="light"] body,
html[data-theme="light"] body.mugm-body{
  background:
    radial-gradient(1200px 580px at 14% 8%, rgba(37,99,235,.08), transparent 56%),
    radial-gradient(1000px 520px at 82% 10%, rgba(200,144,31,.08), transparent 52%),
    linear-gradient(180deg, #f9fbfe 0%, #f2f6fb 52%, #edf2f8 100%) !important;
  color: var(--lt-text) !important;
}

/* ===== topbar: sacar look negro y dejarlo premium claro ===== */
html[data-theme="light"] .mugm-topbar{
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(245,248,252,.86)) !important;
  border-bottom: 1px solid rgba(15,23,42,.08) !important;
  box-shadow: 0 8px 24px rgba(15,23,42,.05) !important;
}

html[data-theme="light"] .mugm-top-events{
  background: transparent !important;
}

html[data-theme="light"] .mugm-top-events::before,
html[data-theme="light"] .mugm-top-events::after{
  display: none !important;
}

html[data-theme="light"] .mugm-top-events__track{
  background: transparent !important;
}

html[data-theme="light"] .mugm-top-event-item{
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(244,247,252,.92)) !important;
  border: 1px solid rgba(15,23,42,.08) !important;
  box-shadow: 0 8px 18px rgba(15,23,42,.05) !important;
}

html[data-theme="light"] .mugm-top-event-item__name{
  color: #0f172a !important;
}

html[data-theme="light"] .mugm-top-event-item__count,
html[data-theme="light"] .mugm-top-event-item__time{
  color: #334155 !important;
  background: rgba(15,23,42,.04) !important;
  border: 1px solid rgba(15,23,42,.07) !important;
}

html[data-theme="light"] .mugm-top-event-item.is-next{
  background: linear-gradient(180deg, rgba(240,253,244,.96), rgba(255,255,255,.94)) !important;
  border-color: rgba(34,197,94,.18) !important;
}

html[data-theme="light"] .mugm-top-event-item.is-live{
  background: linear-gradient(180deg, rgba(254,242,242,.96), rgba(255,255,255,.94)) !important;
  border-color: rgba(239,68,68,.18) !important;
}

html[data-theme="light"] .mugm-top-event-item.is-next::after{
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0),
    rgba(255,255,255,.45),
    rgba(255,255,255,0)
  ) !important;
}

/* ===== header/nav ===== */
html[data-theme="light"] .mugm-header,
html[data-theme="light"] .mugm-header.is-scrolled{
  background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(248,250,253,.84)) !important;
  border-bottom: 1px solid rgba(15,23,42,.08) !important;
  box-shadow: 0 8px 24px rgba(15,23,42,.04) !important;
}

html[data-theme="light"] .mugm-nav__list a,
html[data-theme="light"] .mugm-nav__list li a{
  color: #334155 !important;
}

html[data-theme="light"] .mugm-nav__list a:hover,
html[data-theme="light"] .mugm-nav__list li a:hover{
  color: #0f172a !important;
}

/* ===== hero: más contraste y menos lavado ===== */
html[data-theme="light"] .mugm-hero{
  background:
    radial-gradient(900px 500px at 24% 14%, rgba(37,99,235,.08), transparent 58%),
    radial-gradient(900px 520px at 78% 10%, rgba(200,144,31,.08), transparent 52%),
    linear-gradient(180deg, rgba(255,255,255,.66), rgba(247,250,253,.42)) !important;
}

html[data-theme="light"] .mugm-title{
  color: #0f172a !important;
}

html[data-theme="light"] .mugm-subtitle{
  color: #475569 !important;
}

html[data-theme="light"] .mugm-hero-bullets span{
  color: #334155 !important;
  background: rgba(255,255,255,.88) !important;
  border-color: rgba(15,23,42,.08) !important;
}

html[data-theme="light"] .mugm-metric{
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(246,249,253,.95)) !important;
  border: 1px solid rgba(15,23,42,.08) !important;
  box-shadow: 0 14px 32px rgba(15,23,42,.06) !important;
}

html[data-theme="light"] .mugm-metric__label{
  color: #64748b !important;
}

html[data-theme="light"] .mugm-metric__value{
  color: #0f172a !important;
}

/* ===== secciones principales más premium ===== */
html[data-theme="light"] .mugm-home-block,
html[data-theme="light"] .mugm-section,
html[data-theme="light"] .mugm-card,
html[data-theme="light"] .panel,
html[data-theme="light"] .panel-default,
html[data-theme="light"] .rankings-home-box,
html[data-theme="light"] .news-card,
html[data-theme="light"] .we-news-item,
html[data-theme="light"] .mugm-info-content,
html[data-theme="light"] .mugm-info-sidebar,
html[data-theme="light"] .mugm-auth__panel,
html[data-theme="light"] .mugm-auth__card,
html[data-theme="light"] .mugm-dl-item,
html[data-theme="light"] .mugm-dl-tip,
html[data-theme="light"] .mugm-pay-card,
html[data-theme="light"] .mugm-don-card{
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,250,253,.94)) !important;
  border: 1px solid rgba(15,23,42,.08) !important;
  box-shadow: 0 16px 42px rgba(15,23,42,.06) !important;
}

html[data-theme="light"] .mugm-section__head,
html[data-theme="light"] .panel-heading,
html[data-theme="light"] .mugm-auth__cardHead,
html[data-theme="light"] .mugm-info-sidebar__head{
  background: linear-gradient(180deg, rgba(255,255,255,.90), rgba(243,247,252,.86)) !important;
  border-bottom: 1px solid rgba(15,23,42,.08) !important;
}

html[data-theme="light"] .mugm-section__title,
html[data-theme="light"] .panel-title,
html[data-theme="light"] .news-card .card-title,
html[data-theme="light"] .we-news-title{
  color: #0f172a !important;
}

html[data-theme="light"] .mugm-section__sub,
html[data-theme="light"] .news-card .card-text,
html[data-theme="light"] .we-news-excerpt,
html[data-theme="light"] .mugm-auth__cardSub,
html[data-theme="light"] .mugm-page-sub{
  color: #64748b !important;
}

/* ===== CASTLE SIEGE widget: hoy está muy deslavado ===== */
html[data-theme="light"] .mugm-cs-box,
html[data-theme="light"] .mugm-cs-layout,
html[data-theme="light"] .mugm-cs-left,
html[data-theme="light"] .mugm-cs-right{
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,249,253,.95)) !important;
  border: 1px solid rgba(15,23,42,.08) !important;
  box-shadow: 0 12px 28px rgba(15,23,42,.06) !important;
}

html[data-theme="light"] .mugm-cs-row{
  background: rgba(255,255,255,.86) !important;
  border: 1px solid rgba(15,23,42,.08) !important;
}

html[data-theme="light"] .mugm-cs-row .k,
html[data-theme="light"] .mugm-cs-countdown .label{
  color: #64748b !important;
}

html[data-theme="light"] .mugm-cs-row .v,
html[data-theme="light"] .mugm-cs-countdown .time{
  color: #0f172a !important;
}

/* ===== slider / banner oscuro: recuperar legibilidad ===== */
html[data-theme="light"] .swiper,
html[data-theme="light"] .swiper-slide,
html[data-theme="light"] .mugm-home-hero-stack .swiper{
  border-radius: 18px !important;
  overflow: hidden !important;
}

html[data-theme="light"] .swiper-slide::after,
html[data-theme="light"] .mugm-slide::after{
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(90deg, rgba(8,12,24,.62), rgba(8,12,24,.18) 48%, rgba(8,12,24,.06) 100%) !important;
  pointer-events: none !important;
}

html[data-theme="light"] .swiper-slide h1,
html[data-theme="light"] .swiper-slide h2,
html[data-theme="light"] .swiper-slide h3,
html[data-theme="light"] .swiper-slide p,
html[data-theme="light"] .swiper-slide .btn,
html[data-theme="light"] .swiper-slide .badge{
  position: relative !important;
  z-index: 2 !important;
}

/* ===== ranking home ===== */
html[data-theme="light"] .mugm-entry,
html[data-theme="light"] .rankings-home-box .table-responsive,
html[data-theme="light"] .rankings-home-box .table{
  background: rgba(255,255,255,.94) !important;
  border: 1px solid rgba(15,23,42,.08) !important;
}

html[data-theme="light"] .mugm-entry__name,
html[data-theme="light"] .rank-name,
html[data-theme="light"] .rank-name a{
  color: #0f172a !important;
}

html[data-theme="light"] .mugm-entry__sub,
html[data-theme="light"] .mugm-entry__statlabel{
  color: #64748b !important;
}

html[data-theme="light"] .mugm-rankpos{
  background: rgba(15,23,42,.04) !important;
  color: #0f172a !important;
  border: 1px solid rgba(15,23,42,.08) !important;
}

/* ===== guía/info sidebar ===== */
html[data-theme="light"] .mugm-info-link,
html[data-theme="light"] .mugm-info-sub a,
html[data-theme="light"] .mugm-info-group__toggle{
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(247,250,253,.94)) !important;
  border: 1px solid rgba(15,23,42,.08) !important;
  color: #0f172a !important;
}

html[data-theme="light"] .mugm-info-link.is-active,
html[data-theme="light"] .mugm-info-sub a.is-active{
  background: linear-gradient(180deg, rgba(37,99,235,.10), rgba(255,255,255,.98)) !important;
  color: #1d4ed8 !important;
  border-color: rgba(37,99,235,.16) !important;
}

html[data-theme="light"] .mugm-info-content p,
html[data-theme="light"] .mugm-info-content li,
html[data-theme="light"] .mugm-info-content td,
html[data-theme="light"] .mugm-info-content th{
  color: #334155 !important;
}

html[data-theme="light"] .mugm-info-content strong,
html[data-theme="light"] .mugm-info-content b,
html[data-theme="light"] .mugm-info-content h1,
html[data-theme="light"] .mugm-info-content h2,
html[data-theme="light"] .mugm-info-content h3{
  color: #0f172a !important;
}

/* ===== descargas: mucho texto pálido ===== */
html[data-theme="light"] .mugm-dl-item__desc,
html[data-theme="light"] .mugm-dl-tip,
html[data-theme="light"] .mugm-dl-item li,
html[data-theme="light"] .mugm-dl-item p{
  color: #475569 !important;
}

html[data-theme="light"] .mugm-dl-item strong,
html[data-theme="light"] .mugm-dl-item__title,
html[data-theme="light"] .mugm-dl-item h3,
html[data-theme="light"] .mugm-dl-item h4{
  color: #0f172a !important;
}

/* ===== login/register: bloques y textos recuperados ===== */
html[data-theme="light"] .mugm-auth__panel,
html[data-theme="light"] .mugm-auth__card{
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,250,253,.94)) !important;
}

html[data-theme="light"] .mugm-auth__headline,
html[data-theme="light"] .mugm-auth__cardTitle{
  color: #0f172a !important;
}

html[data-theme="light"] .mugm-auth__copy,
html[data-theme="light"] .mugm-auth__features li,
html[data-theme="light"] .mugm-auth__switch{
  color: #475569 !important;
}

html[data-theme="light"] .mugm-auth__features li{
  background: rgba(15,23,42,.04) !important;
  border: 1px solid rgba(15,23,42,.06) !important;
}

/* ===== inputs/forms más claros y definidos ===== */
html[data-theme="light"] input,
html[data-theme="light"] select,
html[data-theme="light"] textarea,
html[data-theme="light"] .form-control,
html[data-theme="light"] .mugm-input,
html[data-theme="light"] .mugm-form input,
html[data-theme="light"] .mugm-form select{
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid rgba(15,23,42,.14) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65) !important;
}

html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder{
  color: #94a3b8 !important;
}

html[data-theme="light"] .mugm-label,
html[data-theme="light"] label{
  color: #334155 !important;
}

/* ===== noticias / texto truncado / paginación ===== */
html[data-theme="light"] .news-card .card-text,
html[data-theme="light"] .we-news-excerpt{
  color: #64748b !important;
}

html[data-theme="light"] .pagination > li > a,
html[data-theme="light"] .pagination > li > span{
  background: #ffffff !important;
  border: 1px solid rgba(15,23,42,.10) !important;
  color: #1d4ed8 !important;
}

html[data-theme="light"] .pagination > .active > a,
html[data-theme="light"] .pagination > .active > span{
  background: linear-gradient(180deg, #f0d88f, #d7a12f) !important;
  border-color: rgba(183,121,31,.20) !important;
  color: #2b1b05 !important;
}

/* ===== footer: hoy está demasiado plano ===== */
html[data-theme="light"] .mugm-footer,
html[data-theme="light"] footer,
html[data-theme="light"] .we-footer{
  background:
    radial-gradient(900px 380px at 16% 0%, rgba(37,99,235,.06), transparent 55%),
    radial-gradient(800px 360px at 84% 0%, rgba(200,144,31,.06), transparent 50%),
    linear-gradient(180deg, rgba(252,253,255,.98), rgba(240,245,251,.96)) !important;
  border-top: 1px solid rgba(15,23,42,.08) !important;
}

html[data-theme="light"] .mugm-footer__brand,
html[data-theme="light"] .mugm-footer__col{
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,250,253,.94)) !important;
  border: 1px solid rgba(15,23,42,.08) !important;
  box-shadow: 0 14px 34px rgba(15,23,42,.05) !important;
}

html[data-theme="light"] .mugm-footer__title{
  color: #0f172a !important;
}

html[data-theme="light"] .mugm-footer__tagline,
html[data-theme="light"] .mugm-footer__muted,
html[data-theme="light"] .mugm-footer p{
  color: #64748b !important;
}

html[data-theme="light"] .mugm-footer__link,
html[data-theme="light"] .mugm-footer__btn,
html[data-theme="light"] .mugm-social{
  background: rgba(255,255,255,.86) !important;
  border: 1px solid rgba(15,23,42,.10) !important;
  color: #0f172a !important;
}

/* ===== modal de eventos: subir contraste mucho ===== */
html[data-theme="light"] .modal-backdrop.in,
html[data-theme="light"] .modal-backdrop.show{
  background: rgba(226,232,240,.58) !important;
  opacity: 1 !important;
}

html[data-theme="light"] .mugm-modal,
html[data-theme="light"] .modal-content{
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,250,253,.96)) !important;
  border: 1px solid rgba(15,23,42,.10) !important;
  box-shadow: 0 30px 80px rgba(15,23,42,.16) !important;
}

html[data-theme="light"] .mugm-modal__header,
html[data-theme="light"] .modal-header{
  background: linear-gradient(90deg, rgba(200,144,31,.10), rgba(37,99,235,.06), rgba(255,255,255,.92)) !important;
  border-bottom: 1px solid rgba(15,23,42,.08) !important;
}

html[data-theme="light"] #eventModal .mugm-events-sub,
html[data-theme="light"] #eventModal .mugm-events-timeline,
html[data-theme="light"] #eventModal .mugm-tlitem,
html[data-theme="light"] #eventModal .mugm-evsummary,
html[data-theme="light"] #eventModal .mugm-evguide,
html[data-theme="light"] #eventModal .mugm-evguide__box,
html[data-theme="light"] #eventModal .mugm-evguide__body,
html[data-theme="light"] #eventModal .mugm-evsched-wrap{
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(247,250,253,.94)) !important;
  border-color: rgba(15,23,42,.08) !important;
  box-shadow: 0 8px 20px rgba(15,23,42,.04) !important;
}

html[data-theme="light"] #eventModal .mugm-evcard{
  background:
    radial-gradient(560px 180px at 12% 50%, rgba(37,99,235,.05), transparent 55%),
    radial-gradient(560px 180px at 88% 50%, rgba(200,144,31,.04), transparent 56%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,250,253,.96)) !important;
  border: 1px solid rgba(15,23,42,.08) !important;
  box-shadow: 0 16px 40px rgba(15,23,42,.07) !important;
}

html[data-theme="light"] #eventModal .mugm-evcard__title,
html[data-theme="light"] #eventModal .mugm-evsummary__label,
html[data-theme="light"] #eventModal .mugm-evguide__title,
html[data-theme="light"] #eventModal .mugm-events-timeline__head,
html[data-theme="light"] #eventModal .mugm-tlitem__name{
  color: #0f172a !important;
}

html[data-theme="light"] #eventModal .mugm-evsummary__text,
html[data-theme="light"] #eventModal .mugm-evguide__text,
html[data-theme="light"] #eventModal .mugm-evguide__list,
html[data-theme="light"] #eventModal .mugm-tlitem__meta,
html[data-theme="light"] #eventModal .mugm-evsched-note{
  color: #475569 !important;
}

html[data-theme="light"] #eventModal .mugm-evquick__item,
html[data-theme="light"] #eventModal .mugm-evbadge,
html[data-theme="light"] #eventModal .mugm-evchip{
  background: rgba(255,255,255,.92) !important;
  border: 1px solid rgba(15,23,42,.08) !important;
  color: #334155 !important;
}

html[data-theme="light"] #eventModal .mugm-evchip.is-next,
html[data-theme="light"] #eventModal .mugm-tlitem.is-next{
  background: linear-gradient(180deg, rgba(240,253,244,.98), rgba(255,255,255,.94)) !important;
  border-color: rgba(34,197,94,.18) !important;
}

html[data-theme="light"] #eventModal .mugm-evcard.is-live,
html[data-theme="light"] #eventModal .mugm-tlitem.is-live{
  background: linear-gradient(180deg, rgba(254,242,242,.96), rgba(255,255,255,.94)) !important;
  border-color: rgba(239,68,68,.18) !important;
}

html[data-theme="light"] #eventModal .mugm-evguide__link{
  background: linear-gradient(180deg, rgba(37,99,235,.10), rgba(255,255,255,.96)) !important;
  border: 1px solid rgba(37,99,235,.16) !important;
  color: #1d4ed8 !important;
}

html[data-theme="light"] #eventModal .mugm-evguide__link.is-disabled{
  background: rgba(15,23,42,.04) !important;
  border-color: rgba(15,23,42,.08) !important;
  color: #64748b !important;
}

html[data-theme="light"] #eventModal .mugm-guide-toast{
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,250,253,.96)) !important;
  border: 1px solid rgba(15,23,42,.10) !important;
  color: #0f172a !important;
}

/* ===== close button del modal ===== */
html[data-theme="light"] .modal-header .close,
html[data-theme="light"] .close{
  background: rgba(255,255,255,.92) !important;
  border: 1px solid rgba(15,23,42,.10) !important;
  color: #0f172a !important;
  opacity: 1 !important;
}

/* ===== textos que todavía quedaron demasiado pálidos ===== */
html[data-theme="light"] .text-muted,
html[data-theme="light"] small.text-muted,
html[data-theme="light"] .mugm-entry__sub,
html[data-theme="light"] .mugm-auth__switch,
html[data-theme="light"] .mugm-legal,
html[data-theme="light"] .mugm-dl-item__desc,
html[data-theme="light"] .mugm-footer__muted{
  color: #64748b !important;
}

/* ===== imágenes y miniaturas: más definición ===== */
html[data-theme="light"] img{
  filter: none !important;
}

html[data-theme="light"] .mugm-gallery__thumb.is-active,
html[data-theme="light"] .swiper-pagination-bullet-active{
  box-shadow: 0 0 0 2px rgba(37,99,235,.18) !important;
}

/* ===== chatbot button ===== */
html[data-theme="light"] .mugm-aifab{
  background: linear-gradient(180deg, #ffffff, #f2f6fb) !important;
  color: #2563eb !important;
  border: 1px solid rgba(15,23,42,.10) !important;
  box-shadow: 0 16px 34px rgba(15,23,42,.10) !important;
}
/* =========================================================
   MUGM EVENT GUIDES — PREMIUM / EPIC STYLE
   Requiere:
   <div class="panel panel-default mugm-guide-panel">
   <div class="panel-body mugm-guide-body">
========================================================= */

/* ===== CONTENEDOR PRINCIPAL ===== */
.mugm-guide-panel{
  position: relative !important;
  overflow: hidden !important;
  border-radius: 22px !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  background:
    radial-gradient(900px 260px at 0% 0%, rgba(79,163,255,.08), transparent 42%),
    radial-gradient(900px 260px at 100% 0%, rgba(212,175,55,.07), transparent 44%),
    linear-gradient(180deg, rgba(18,24,38,.96), rgba(10,14,24,.98)) !important;
  box-shadow:
    0 24px 60px rgba(0,0,0,.30),
    inset 0 1px 0 rgba(255,255,255,.03),
    0 0 0 1px rgba(255,255,255,.02) !important;
  margin-bottom: 24px !important;
}

.mugm-guide-panel::before{
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0) 18%) !important;
}

.mugm-guide-body{
  position: relative !important;
  padding: 26px !important;
  color: rgba(229,236,246,.90) !important;
}

/* ===== HERO SUPERIOR ===== */
.mugm-guide-body > div[style*="display:flex"][style*="margin-bottom:22px"]{
  position: relative !important;
  margin-bottom: 26px !important;
  padding: 18px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(255,255,255,.06) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.02),
    0 12px 24px rgba(0,0,0,.14) !important;
}

/* Imagen principal */
.mugm-guide-body > div[style*="display:flex"][style*="margin-bottom:22px"] > img{
  width: 100% !important;
  max-width: 340px !important;
  min-width: 260px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  box-shadow:
    0 16px 36px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.04) !important;
  object-fit: cover !important;
  background: rgba(255,255,255,.03) !important;
}

/* ===== TIPOGRAFÍA ===== */
.mugm-guide-panel h1{
  margin: 12px 0 12px 0 !important;
  color: #f7fbff !important;
  font-family: "Cinzel", serif !important;
  font-size: clamp(28px, 3vw, 38px) !important;
  font-weight: 800 !important;
  line-height: 1.08 !important;
  letter-spacing: .02em !important;
  text-shadow:
    0 1px 0 rgba(255,255,255,.04),
    0 14px 28px rgba(0,0,0,.24) !important;
}

.mugm-guide-panel h3{
  position: relative !important;
  margin: 26px 0 14px 0 !important;
  padding-left: 14px !important;
  color: #f1f5fb !important;
  font-family: "Cinzel", serif !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: .02em !important;
}

.mugm-guide-panel h3::before{
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 3px !important;
  bottom: 3px !important;
  width: 4px !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, rgba(212,175,55,.95), rgba(79,163,255,.82)) !important;
  box-shadow: 0 0 14px rgba(212,175,55,.18) !important;
}

.mugm-guide-panel p{
  margin: 0 0 12px 0 !important;
  color: rgba(223,231,242,.84) !important;
  font-size: 15px !important;
  line-height: 1.72 !important;
}

.mugm-guide-panel strong,
.mugm-guide-panel b{
  color: #ffffff !important;
  font-weight: 800 !important;
}

.mugm-guide-panel em{
  color: rgba(212,175,55,.92) !important;
}

/* ===== LABELS / BADGES ===== */
.mugm-guide-panel .label{
  display: inline-flex !important;
  align-items: center !important;
  min-height: 28px !important;
  padding: 6px 12px !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 8px 20px rgba(0,0,0,.16) !important;
}

.mugm-guide-panel .label-primary{
  background: linear-gradient(180deg, rgba(44,103,214,.82), rgba(24,58,126,.94)) !important;
  color: #edf4ff !important;
}

.mugm-guide-panel .label-danger{
  background: linear-gradient(180deg, rgba(140,30,30,.84), rgba(74,14,14,.96)) !important;
  color: #ffecec !important;
}

.mugm-guide-panel .label-warning{
  background: linear-gradient(180deg, rgba(176,125,24,.88), rgba(105,70,10,.96)) !important;
  color: #fff6dd !important;
}

.mugm-guide-panel .label-success{
  background: linear-gradient(180deg, rgba(24,117,69,.84), rgba(11,61,34,.96)) !important;
  color: #e9fff2 !important;
}

.mugm-guide-panel .label-info{
  background: linear-gradient(180deg, rgba(25,126,151,.84), rgba(12,66,79,.96)) !important;
  color: #ecfbff !important;
}

/* ===== TABLAS ===== */
.mugm-guide-panel .table-responsive{
  margin: 14px 0 18px 0 !important;
  border-radius: 16px !important;
  border: 1px solid rgba(255,255,255,.06) !important;
  background: rgba(255,255,255,.02) !important;
  overflow: hidden !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.02),
    0 10px 22px rgba(0,0,0,.12) !important;
}

.mugm-guide-panel .table{
  margin-bottom: 0 !important;
  background: transparent !important;
  color: rgba(233,239,247,.90) !important;
  border-color: rgba(255,255,255,.06) !important;
}

.mugm-guide-panel .table > thead > tr > th{
  padding: 14px 14px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025)) !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
  border-top: none !important;
  color: rgba(247,250,255,.95) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .05em !important;
  text-transform: uppercase !important;
}

.mugm-guide-panel .table > tbody > tr > td{
  padding: 13px 14px !important;
  background: transparent !important;
  border-top: 1px solid rgba(255,255,255,.05) !important;
  color: rgba(223,231,242,.84) !important;
  font-size: 14px !important;
  vertical-align: middle !important;
}

.mugm-guide-panel .table-striped > tbody > tr:nth-of-type(odd) > td{
  background: rgba(255,255,255,.02) !important;
}

.mugm-guide-panel .table-striped > tbody > tr:hover > td,
.mugm-guide-panel .table > tbody > tr:hover > td{
  background: rgba(79,163,255,.05) !important;
}

/* ===== LISTAS ===== */
.mugm-guide-panel ul,
.mugm-guide-panel ol{
  margin: 0 0 14px 0 !important;
  padding-left: 22px !important;
}

.mugm-guide-panel li{
  margin: 7px 0 !important;
  color: rgba(223,231,242,.84) !important;
  line-height: 1.66 !important;
}

/* ===== ALERTAS ===== */
.mugm-guide-panel .alert{
  border-radius: 16px !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.02),
    0 10px 22px rgba(0,0,0,.12) !important;
  padding: 16px 18px !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  margin: 18px 0 !important;
}

.mugm-guide-panel .alert-info{
  background: linear-gradient(180deg, rgba(16,62,98,.52), rgba(10,34,55,.68)) !important;
  border-color: rgba(79,163,255,.18) !important;
  color: #e7f3ff !important;
}

.mugm-guide-panel .alert-warning{
  background: linear-gradient(180deg, rgba(93,67,15,.52), rgba(58,39,8,.72)) !important;
  border-color: rgba(212,175,55,.18) !important;
  color: #fff7dd !important;
}

.mugm-guide-panel .alert-success{
  background: linear-gradient(180deg, rgba(16,78,50,.48), rgba(10,48,31,.72)) !important;
  border-color: rgba(46,204,113,.16) !important;
  color: #ecfff4 !important;
}

.mugm-guide-panel .alert-danger{
  background: linear-gradient(180deg, rgba(88,18,18,.52), rgba(52,10,10,.72)) !important;
  border-color: rgba(239,68,68,.18) !important;
  color: #ffecec !important;
}

/* ===== GALERÍAS / FILAS DE IMÁGENES ===== */
.mugm-guide-body > div[style*="display:flex"][style*="flex-wrap:wrap"][style*="margin:18px 0"]{
  gap: 14px !important;
  margin: 18px 0 20px 0 !important;
}

.mugm-guide-body > div[style*="display:flex"][style*="flex-wrap:wrap"][style*="margin:18px 0"] img{
  border-radius: 12px !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  background: rgba(255,255,255,.03) !important;
  box-shadow:
    0 12px 24px rgba(0,0,0,.20),
    inset 0 1px 0 rgba(255,255,255,.03) !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}

.mugm-guide-body > div[style*="display:flex"][style*="flex-wrap:wrap"][style*="margin:18px 0"] img:hover{
  transform: translateY(-2px) !important;
  border-color: rgba(212,175,55,.16) !important;
  box-shadow:
    0 16px 30px rgba(0,0,0,.24),
    0 0 0 1px rgba(212,175,55,.05) !important;
}

/* Bloques con imagen + texto centrado */
.mugm-guide-body div[style*="text-align:center"]{
  padding: 10px !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,.02) !important;
  border: 1px solid rgba(255,255,255,.05) !important;
}

.mugm-guide-body div[style*="text-align:center"] > div{
  color: rgba(239,244,252,.90) !important;
  font-size: 13px !important;
}

/* ===== LINKS INTERNOS Y LEGIBILIDAD ===== */
.mugm-guide-panel a{
  color: #7db4ff !important;
  text-decoration: none !important;
}

.mugm-guide-panel a:hover{
  color: #a9cbff !important;
  text-decoration: underline !important;
}

/* ===== IMÁGENES FALTANTES: placeholder elegante ===== */
.mugm-guide-panel img{
  color: transparent !important;
}

/* ===== MODO CLARO COMPATIBLE ===== */
html[data-theme="light"] .mugm-guide-panel{
  border: 1px solid rgba(15,23,42,.08) !important;
  background:
    radial-gradient(900px 260px at 0% 0%, rgba(37,99,235,.06), transparent 42%),
    radial-gradient(900px 260px at 100% 0%, rgba(200,144,31,.05), transparent 44%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,250,253,.96)) !important;
  box-shadow:
    0 18px 46px rgba(15,23,42,.08),
    inset 0 1px 0 rgba(255,255,255,.70) !important;
}

html[data-theme="light"] .mugm-guide-body{
  color: #334155 !important;
}

html[data-theme="light"] .mugm-guide-panel h1,
html[data-theme="light"] .mugm-guide-panel h3,
html[data-theme="light"] .mugm-guide-panel strong,
html[data-theme="light"] .mugm-guide-panel b{
  color: #0f172a !important;
  text-shadow: none !important;
}

html[data-theme="light"] .mugm-guide-panel p,
html[data-theme="light"] .mugm-guide-panel li,
html[data-theme="light"] .mugm-guide-panel .table > tbody > tr > td{
  color: #475569 !important;
}

html[data-theme="light"] .mugm-guide-panel .table-responsive{
  background: rgba(255,255,255,.90) !important;
  border-color: rgba(15,23,42,.08) !important;
  box-shadow: 0 10px 24px rgba(15,23,42,.05) !important;
}

html[data-theme="light"] .mugm-guide-panel .table > thead > tr > th{
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(243,247,252,.90)) !important;
  border-bottom-color: rgba(15,23,42,.08) !important;
  color: #0f172a !important;
}

html[data-theme="light"] .mugm-guide-panel .table-striped > tbody > tr:nth-of-type(odd) > td{
  background: rgba(15,23,42,.02) !important;
}

html[data-theme="light"] .mugm-guide-panel .table-striped > tbody > tr:hover > td,
html[data-theme="light"] .mugm-guide-panel .table > tbody > tr:hover > td{
  background: rgba(37,99,235,.04) !important;
}

html[data-theme="light"] .mugm-guide-panel .alert-info{
  background: linear-gradient(180deg, rgba(37,99,235,.08), rgba(255,255,255,.94)) !important;
  border-color: rgba(37,99,235,.14) !important;
  color: #1e3a8a !important;
}

html[data-theme="light"] .mugm-guide-panel .alert-warning{
  background: linear-gradient(180deg, rgba(245,158,11,.08), rgba(255,255,255,.94)) !important;
  border-color: rgba(245,158,11,.14) !important;
  color: #92400e !important;
}

html[data-theme="light"] .mugm-guide-panel .alert-success{
  background: linear-gradient(180deg, rgba(34,197,94,.08), rgba(255,255,255,.94)) !important;
  border-color: rgba(34,197,94,.14) !important;
  color: #166534 !important;
}

html[data-theme="light"] .mugm-guide-panel .alert-danger{
  background: linear-gradient(180deg, rgba(239,68,68,.08), rgba(255,255,255,.94)) !important;
  border-color: rgba(239,68,68,.14) !important;
  color: #991b1b !important;
}

html[data-theme="light"] .mugm-guide-body > div[style*="display:flex"][style*="margin-bottom:22px"]{
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(247,250,253,.94)) !important;
  border-color: rgba(15,23,42,.08) !important;
  box-shadow: 0 12px 28px rgba(15,23,42,.05) !important;
}

html[data-theme="light"] .mugm-guide-body > div[style*="display:flex"][style*="flex-wrap:wrap"][style*="margin:18px 0"] img{
  border-color: rgba(15,23,42,.08) !important;
  background: rgba(255,255,255,.96) !important;
  box-shadow: 0 10px 22px rgba(15,23,42,.08) !important;
}

html[data-theme="light"] .mugm-guide-body div[style*="text-align:center"]{
  background: rgba(255,255,255,.92) !important;
  border-color: rgba(15,23,42,.08) !important;
}

html[data-theme="light"] .mugm-guide-body div[style*="text-align:center"] > div{
  color: #334155 !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px){
  .mugm-guide-body{
    padding: 18px !important;
  }

  .mugm-guide-panel h1{
    font-size: 26px !important;
  }

  .mugm-guide-panel h3{
    font-size: 18px !important;
  }

  .mugm-guide-body > div[style*="display:flex"][style*="margin-bottom:22px"]{
    padding: 14px !important;
    gap: 14px !important;
  }

  .mugm-guide-body > div[style*="display:flex"][style*="margin-bottom:22px"] > img{
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .mugm-guide-panel .table > thead > tr > th,
  .mugm-guide-panel .table > tbody > tr > td{
    padding: 10px 10px !important;
    font-size: 13px !important;
  }
}
/* =========================================================
   EVENT GUIDES — HOTFIX VISUAL
   corrige:
   - hero demasiado grande
   - tablas blancas con texto ilegible
   - imágenes secundarias sobredimensionadas
========================================================= */

/* ===== PANEL GENERAL ===== */
.mugm-guide-panel{
  overflow: hidden !important;
}

.mugm-guide-body{
  padding: 20px !important;
}

/* ===== HERO SUPERIOR MÁS COMPACTO ===== */
.mugm-guide-body > div[style*="display:flex"][style*="margin-bottom:22px"]{
  align-items: flex-start !important;
  gap: 16px !important;
  padding: 14px !important;
  margin-bottom: 20px !important;
}

.mugm-guide-body > div[style*="display:flex"][style*="margin-bottom:22px"] > img{
  width: 100% !important;
  max-width: 220px !important;
  min-width: 220px !important;
  max-height: 160px !important;
  object-fit: cover !important;
  border-radius: 14px !important;
}

/* bloque de texto del hero */
.mugm-guide-body > div[style*="display:flex"][style*="margin-bottom:22px"] > div{
  flex: 1 1 320px !important;
  min-width: 0 !important;
}

.mugm-guide-panel h1{
  margin: 10px 0 8px 0 !important;
  font-size: clamp(24px, 2.3vw, 32px) !important;
  line-height: 1.08 !important;
}

.mugm-guide-panel h3{
  margin: 22px 0 12px 0 !important;
  font-size: 20px !important;
}

.mugm-guide-panel p{
  font-size: 14px !important;
  line-height: 1.66 !important;
}

/* ===== TABLAS: FORZAR DARK REAL ===== */
.mugm-guide-panel .table-responsive{
  background: linear-gradient(180deg, rgba(12,18,30,.96), rgba(8,12,22,.98)) !important;
  border: 1px solid rgba(255,255,255,.07) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
}

.mugm-guide-panel .table{
  background: transparent !important;
  color: #e8eef7 !important;
  margin-bottom: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

.mugm-guide-panel .table > thead > tr > th,
.mugm-guide-panel .table thead th{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025)) !important;
  color: #f8fbff !important;
  border-top: none !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
  border-left: none !important;
  border-right: 1px solid rgba(255,255,255,.05) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: .05em !important;
  padding: 12px 14px !important;
}

.mugm-guide-panel .table > thead > tr > th:last-child,
.mugm-guide-panel .table thead th:last-child{
  border-right: none !important;
}

.mugm-guide-panel .table > tbody > tr > td,
.mugm-guide-panel .table tbody td{
  background: transparent !important;
  color: rgba(231,238,248,.92) !important;
  border-top: 1px solid rgba(255,255,255,.06) !important;
  border-bottom: none !important;
  border-left: none !important;
  border-right: 1px solid rgba(255,255,255,.04) !important;
  padding: 12px 14px !important;
  vertical-align: middle !important;
}

.mugm-guide-panel .table > tbody > tr > td:last-child,
.mugm-guide-panel .table tbody td:last-child{
  border-right: none !important;
}

.mugm-guide-panel .table-striped > tbody > tr:nth-of-type(odd) > td{
  background: rgba(255,255,255,.025) !important;
}

.mugm-guide-panel .table-striped > tbody > tr:nth-of-type(even) > td{
  background: rgba(255,255,255,.01) !important;
}

.mugm-guide-panel .table > tbody > tr:hover > td,
.mugm-guide-panel .table-striped > tbody > tr:hover > td{
  background: rgba(79,163,255,.06) !important;
  color: #ffffff !important;
}

/* por si bootstrap mete blanco desde otro lado */
.mugm-guide-panel table,
.mugm-guide-panel tr,
.mugm-guide-panel th,
.mugm-guide-panel td{
  background-clip: padding-box !important;
}

/* ===== IMÁGENES DE GALERÍA / RECOMPENSAS MÁS CHICAS ===== */
.mugm-guide-body > div[style*="display:flex"][style*="flex-wrap:wrap"][style*="margin:18px 0"]{
  gap: 10px !important;
  margin: 16px 0 18px 0 !important;
}

.mugm-guide-body > div[style*="display:flex"][style*="flex-wrap:wrap"][style*="margin:18px 0"] img{
  width: 72px !important;
  height: 72px !important;
  object-fit: cover !important;
  border-radius: 10px !important;
  padding: 4px !important;
  background: rgba(255,255,255,.03) !important;
}

/* bloques centrados de mapas */
.mugm-guide-body div[style*="text-align:center"]{
  padding: 8px !important;
  min-width: 118px !important;
}

.mugm-guide-body div[style*="text-align:center"] > img{
  width: 118px !important;
  height: 74px !important;
  object-fit: cover !important;
  border-radius: 10px !important;
}

.mugm-guide-body div[style*="text-align:center"] > div{
  margin-top: 6px !important;
  font-size: 12px !important;
}

/* ===== LISTAS Y ALERTAS UN POCO MÁS PROLIJAS ===== */
.mugm-guide-panel ul,
.mugm-guide-panel ol{
  padding-left: 20px !important;
  margin-bottom: 12px !important;
}

.mugm-guide-panel li{
  margin: 5px 0 !important;
  font-size: 14px !important;
}

.mugm-guide-panel .alert{
  padding: 14px 16px !important;
  border-radius: 14px !important;
  font-size: 13px !important;
}

/* ===== LIGHT MODE TAMBIÉN CORREGIDO ===== */
html[data-theme="light"] .mugm-guide-body > div[style*="display:flex"][style*="margin-bottom:22px"]{
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,250,253,.95)) !important;
}

html[data-theme="light"] .mugm-guide-body > div[style*="display:flex"][style*="margin-bottom:22px"] > img{
  max-width: 220px !important;
  min-width: 220px !important;
  max-height: 160px !important;
}

html[data-theme="light"] .mugm-guide-panel .table-responsive{
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,250,253,.96)) !important;
  border-color: rgba(15,23,42,.08) !important;
}

html[data-theme="light"] .mugm-guide-panel .table > thead > tr > th,
html[data-theme="light"] .mugm-guide-panel .table thead th{
  background: linear-gradient(180deg, rgba(248,250,253,.98), rgba(239,244,250,.95)) !important;
  color: #0f172a !important;
  border-bottom-color: rgba(15,23,42,.08) !important;
  border-right-color: rgba(15,23,42,.06) !important;
}

html[data-theme="light"] .mugm-guide-panel .table > tbody > tr > td,
html[data-theme="light"] .mugm-guide-panel .table tbody td{
  color: #334155 !important;
  border-top-color: rgba(15,23,42,.06) !important;
  border-right-color: rgba(15,23,42,.04) !important;
}

html[data-theme="light"] .mugm-guide-panel .table-striped > tbody > tr:nth-of-type(odd) > td{
  background: rgba(15,23,42,.02) !important;
}

html[data-theme="light"] .mugm-guide-panel .table-striped > tbody > tr:nth-of-type(even) > td{
  background: rgba(255,255,255,.84) !important;
}

html[data-theme="light"] .mugm-guide-panel .table > tbody > tr:hover > td,
html[data-theme="light"] .mugm-guide-panel .table-striped > tbody > tr:hover > td{
  background: rgba(37,99,235,.05) !important;
  color: #0f172a !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px){
  .mugm-guide-body{
    padding: 16px !important;
  }

  .mugm-guide-body > div[style*="display:flex"][style*="margin-bottom:22px"]{
    gap: 12px !important;
    padding: 12px !important;
  }

  .mugm-guide-body > div[style*="display:flex"][style*="margin-bottom:22px"] > img{
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
    max-height: 190px !important;
  }

  .mugm-guide-panel h1{
    font-size: 24px !important;
  }

  .mugm-guide-panel .table > thead > tr > th,
  .mugm-guide-panel .table > tbody > tr > td{
    padding: 10px 10px !important;
    font-size: 13px !important;
  }

  .mugm-guide-body > div[style*="display:flex"][style*="flex-wrap:wrap"][style*="margin:18px 0"] img{
    width: 64px !important;
    height: 64px !important;
  }
}
/* =========================================================
   EVENT GUIDES TABLES — HARD OVERRIDE FIX
   corrige fondo blanco + texto blanco en tablas
========================================================= */

.mugm-guide-panel .table,
.mugm-guide-panel table{
  background: transparent !important;
  color: #eaf1fb !important;
}

.mugm-guide-panel .table-responsive table,
.mugm-guide-panel .table-responsive .table{
  background: transparent !important;
}

.mugm-guide-panel .table > thead > tr,
.mugm-guide-panel .table > tbody > tr,
.mugm-guide-panel .table > tfoot > tr,
.mugm-guide-panel table > thead > tr,
.mugm-guide-panel table > tbody > tr,
.mugm-guide-panel table > tfoot > tr{
  background: transparent !important;
}

.mugm-guide-panel .table > thead > tr > th,
.mugm-guide-panel table > thead > tr > th{
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03)) !important;
  color: #f8fbff !important;
  border-top: none !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
  border-left: none !important;
  border-right: 1px solid rgba(255,255,255,.05) !important;
}

.mugm-guide-panel .table > thead > tr > th:last-child,
.mugm-guide-panel table > thead > tr > th:last-child{
  border-right: none !important;
}

.mugm-guide-panel .table > tbody > tr > td,
.mugm-guide-panel .table > tfoot > tr > td,
.mugm-guide-panel table > tbody > tr > td,
.mugm-guide-panel table > tfoot > tr > td{
  background: rgba(10,15,26,.92) !important;
  color: #eaf1fb !important;
  border-top: 1px solid rgba(255,255,255,.06) !important;
  border-bottom: none !important;
  border-left: none !important;
  border-right: 1px solid rgba(255,255,255,.04) !important;
}

.mugm-guide-panel .table > tbody > tr > td:last-child,
.mugm-guide-panel .table > tfoot > tr > td:last-child,
.mugm-guide-panel table > tbody > tr > td:last-child,
.mugm-guide-panel table > tfoot > tr > td:last-child{
  border-right: none !important;
}

.mugm-guide-panel .table-striped > tbody > tr:nth-of-type(odd) > td,
.mugm-guide-panel .table-striped > tbody > tr:nth-of-type(odd) > th{
  background: rgba(14,20,34,.96) !important;
  color: #edf3fc !important;
}

.mugm-guide-panel .table-striped > tbody > tr:nth-of-type(even) > td,
.mugm-guide-panel .table-striped > tbody > tr:nth-of-type(even) > th{
  background: rgba(9,14,24,.92) !important;
  color: #e6edf7 !important;
}

.mugm-guide-panel .table-hover > tbody > tr:hover > td,
.mugm-guide-panel .table-hover > tbody > tr:hover > th,
.mugm-guide-panel .table > tbody > tr:hover > td,
.mugm-guide-panel .table > tbody > tr:hover > th{
  background: rgba(79,163,255,.08) !important;
  color: #ffffff !important;
}

.mugm-guide-panel .table td strong,
.mugm-guide-panel .table th strong,
.mugm-guide-panel table td strong,
.mugm-guide-panel table th strong{
  color: #ffffff !important;
}

/* bootstrap/global resets que suelen romper tablas */
.mugm-guide-panel .table td,
.mugm-guide-panel .table th,
.mugm-guide-panel table td,
.mugm-guide-panel table th{
  box-shadow: none !important;
}

/* ===== LIGHT MODE ===== */
html[data-theme="light"] .mugm-guide-panel .table,
html[data-theme="light"] .mugm-guide-panel table{
  color: #334155 !important;
}

html[data-theme="light"] .mugm-guide-panel .table > thead > tr > th,
html[data-theme="light"] .mugm-guide-panel table > thead > tr > th{
  background: linear-gradient(180deg, rgba(248,250,253,.98), rgba(239,244,250,.95)) !important;
  color: #0f172a !important;
  border-bottom-color: rgba(15,23,42,.08) !important;
  border-right-color: rgba(15,23,42,.05) !important;
}

html[data-theme="light"] .mugm-guide-panel .table > tbody > tr > td,
html[data-theme="light"] .mugm-guide-panel .table > tfoot > tr > td,
html[data-theme="light"] .mugm-guide-panel table > tbody > tr > td,
html[data-theme="light"] .mugm-guide-panel table > tfoot > tr > td{
  background: rgba(255,255,255,.96) !important;
  color: #334155 !important;
  border-top-color: rgba(15,23,42,.06) !important;
  border-right-color: rgba(15,23,42,.04) !important;
}

html[data-theme="light"] .mugm-guide-panel .table-striped > tbody > tr:nth-of-type(odd) > td,
html[data-theme="light"] .mugm-guide-panel .table-striped > tbody > tr:nth-of-type(odd) > th{
  background: rgba(15,23,42,.02) !important;
  color: #334155 !important;
}

html[data-theme="light"] .mugm-guide-panel .table-striped > tbody > tr:nth-of-type(even) > td,
html[data-theme="light"] .mugm-guide-panel .table-striped > tbody > tr:nth-of-type(even) > th{
  background: rgba(255,255,255,.98) !important;
  color: #334155 !important;
}

html[data-theme="light"] .mugm-guide-panel .table-hover > tbody > tr:hover > td,
html[data-theme="light"] .mugm-guide-panel .table-hover > tbody > tr:hover > th,
html[data-theme="light"] .mugm-guide-panel .table > tbody > tr:hover > td,
html[data-theme="light"] .mugm-guide-panel .table > tbody > tr:hover > th{
  background: rgba(37,99,235,.05) !important;
  color: #0f172a !important;
}
/* =========================================================
   MUGM INFO MODULE — PREMIUM SIDEBAR / LAYOUT
   para modules/info principal
========================================================= */

/* ===== CONTENEDOR GENERAL ===== */
.mugm-info{
  display: grid !important;
  grid-template-columns: 320px minmax(0, 1fr) !important;
  gap: 24px !important;
  align-items: start !important;
}

.mugm-page-title{
  margin: 0 0 18px 0 !important;
  text-align: center !important;
}

.mugm-page-title span{
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 14px 22px !important;
  border-radius: 18px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  color: #f3f7fd !important;
  font-family: "Cinzel", serif !important;
  font-size: 32px !important;
  font-weight: 800 !important;
  letter-spacing: .03em !important;
  box-shadow:
    0 18px 40px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.03) !important;
}

/* ===== SIDEBAR ===== */
.mugm-info-sidebar{
  position: sticky !important;
  top: 118px !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255,255,255,.07) !important;
  background:
    radial-gradient(700px 240px at 0% 0%, rgba(79,163,255,.09), transparent 45%),
    radial-gradient(700px 240px at 100% 0%, rgba(212,175,55,.07), transparent 48%),
    linear-gradient(180deg, rgba(18,24,38,.96), rgba(9,13,23,.985)) !important;
  box-shadow:
    0 26px 60px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.03) !important;
}

.mugm-info-sidebar::before{
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0) 20%) !important;
}

.mugm-info-sidebar__head{
  position: relative !important;
  padding: 18px 18px 14px 18px !important;
  border-bottom: 1px solid rgba(255,255,255,.06) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015)) !important;
}

.mugm-info-sidebar__title{
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 0 14px 0 !important;
  color: #f7fbff !important;
  font-family: "Cinzel", serif !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  letter-spacing: .02em !important;
}

.mugm-info-sidebar__title i{
  color: rgba(212,175,55,.95) !important;
  text-shadow: 0 0 16px rgba(212,175,55,.18) !important;
}

/* ===== BUSCADOR ===== */
.mugm-info-search{
  position: relative !important;
}

.mugm-info-search i{
  position: absolute !important;
  left: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: rgba(160,174,194,.82) !important;
  font-size: 14px !important;
  pointer-events: none !important;
}

.mugm-info-search input{
  width: 100% !important;
  height: 44px !important;
  padding: 0 14px 0 40px !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,.04) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  color: #eef4fd !important;
  font-size: 14px !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025),
    0 8px 18px rgba(0,0,0,.14) !important;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease !important;
}

.mugm-info-search input::placeholder{
  color: rgba(160,174,194,.72) !important;
}

.mugm-info-search input:focus{
  outline: none !important;
  background: rgba(255,255,255,.055) !important;
  border-color: rgba(79,163,255,.22) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 0 0 3px rgba(79,163,255,.08),
    0 12px 22px rgba(0,0,0,.16) !important;
}

/* ===== NAV BASE ===== */
.mugm-info-nav,
.mugm-info-sub{
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.mugm-info-nav{
  padding: 10px 12px 6px 12px !important;
}

/* ===== LINKS TOP ===== */
.mugm-info-link{
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 46px !important;
  padding: 12px 14px !important;
  margin-bottom: 8px !important;
  border-radius: 14px !important;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015)) !important;
  border: 1px solid rgba(255,255,255,.05) !important;
  color: rgba(228,235,245,.86) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.015),
    0 8px 16px rgba(0,0,0,.10) !important;
  transition:
    transform .16s ease,
    border-color .16s ease,
    background .16s ease,
    box-shadow .16s ease,
    color .16s ease !important;
}

.mugm-info-link i{
  width: 18px !important;
  text-align: center !important;
  color: rgba(212,175,55,.92) !important;
  transition: transform .16s ease, color .16s ease !important;
}

.mugm-info-link:hover{
  transform: translateY(-1px) !important;
  background: linear-gradient(180deg, rgba(79,163,255,.08), rgba(255,255,255,.02)) !important;
  border-color: rgba(79,163,255,.16) !important;
  color: #ffffff !important;
  text-decoration: none !important;
  box-shadow:
    0 12px 22px rgba(0,0,0,.14),
    0 0 0 1px rgba(79,163,255,.04) !important;
}

.mugm-info-link:hover i{
  transform: scale(1.06) !important;
  color: #8ec0ff !important;
}

.mugm-info-link.is-active{
  background:
    radial-gradient(240px 60px at 0% 50%, rgba(212,175,55,.10), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025)) !important;
  border-color: rgba(212,175,55,.18) !important;
  color: #ffffff !important;
  box-shadow:
    0 14px 24px rgba(0,0,0,.16),
    0 0 0 1px rgba(212,175,55,.06),
    inset 0 1px 0 rgba(255,255,255,.02) !important;
}

.mugm-info-link.is-active::before{
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 8px !important;
  bottom: 8px !important;
  width: 4px !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, rgba(212,175,55,.98), rgba(79,163,255,.86)) !important;
  box-shadow: 0 0 14px rgba(212,175,55,.18) !important;
}

/* ===== GROUPS ===== */
.mugm-info-group{
  margin: 10px 12px 0 12px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(255,255,255,.06) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.015),
    0 10px 20px rgba(0,0,0,.10) !important;
  overflow: hidden !important;
}

.mugm-info-group__toggle{
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  min-height: 52px !important;
  padding: 14px 16px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015)) !important;
  border: none !important;
  color: #eff5fd !important;
  font-weight: 800 !important;
  text-align: left !important;
  cursor: pointer !important;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease !important;
}

.mugm-info-group__toggle:hover{
  background:
    linear-gradient(180deg, rgba(79,163,255,.07), rgba(255,255,255,.02)) !important;
  color: #ffffff !important;
}

.mugm-info-group__toggle .left{
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.mugm-info-group__toggle .left i{
  width: 18px !important;
  text-align: center !important;
  color: rgba(212,175,55,.92) !important;
}

.mugm-info-group__toggle .chev{
  color: rgba(188,199,214,.82) !important;
  transition: transform .18s ease, color .18s ease !important;
}

.mugm-info-group.is-open .mugm-info-group__toggle .chev{
  transform: rotate(180deg) !important;
  color: #ffffff !important;
}

/* ===== SUBMENU ===== */
.mugm-info-sub{
  padding: 0 10px 10px 10px !important;
  display: none !important;
}

.mugm-info-group.is-open .mugm-info-sub{
  display: block !important;
  animation: mugmInfoSubIn .18s ease-out !important;
}

@keyframes mugmInfoSubIn{
  from{
    opacity: 0 !important;
    transform: translateY(-4px) !important;
  }
  to{
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
}

.mugm-info-sub li{
  margin-top: 8px !important;
}

.mugm-info-sub a{
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 44px !important;
  padding: 11px 13px 11px 14px !important;
  border-radius: 13px !important;
  background: rgba(255,255,255,.02) !important;
  border: 1px solid rgba(255,255,255,.04) !important;
  color: rgba(220,229,241,.84) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition:
    transform .16s ease,
    background .16s ease,
    border-color .16s ease,
    color .16s ease,
    box-shadow .16s ease !important;
}

.mugm-info-sub a i{
  width: 18px !important;
  text-align: center !important;
  color: rgba(160,196,255,.88) !important;
}

.mugm-info-sub a:hover{
  transform: translateX(2px) !important;
  background: rgba(79,163,255,.07) !important;
  border-color: rgba(79,163,255,.14) !important;
  color: #ffffff !important;
  text-decoration: none !important;
  box-shadow: 0 10px 18px rgba(0,0,0,.12) !important;
}

.mugm-info-sub a.is-active{
  background:
    radial-gradient(260px 60px at 0% 50%, rgba(212,175,55,.10), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)) !important;
  border-color: rgba(212,175,55,.16) !important;
  color: #ffffff !important;
  box-shadow:
    0 12px 20px rgba(0,0,0,.14),
    inset 0 1px 0 rgba(255,255,255,.02) !important;
}

.mugm-info-sub a.is-active::before{
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 8px !important;
  bottom: 8px !important;
  width: 3px !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, rgba(212,175,55,.95), rgba(79,163,255,.78)) !important;
}

/* ===== CONTENIDO ===== */
.mugm-info-content{
  min-width: 0 !important;
}

.mugm-info-content > *:first-child{
  margin-top: 0 !important;
}

/* si el contenido no tiene nuestro panel premium */
.mugm-info-content > p{
  padding: 18px 20px !important;
  border-radius: 18px !important;
  background: linear-gradient(180deg, rgba(18,24,38,.96), rgba(9,13,23,.985)) !important;
  border: 1px solid rgba(255,255,255,.07) !important;
  color: rgba(230,236,245,.86) !important;
}

/* ===== EFECTO PREMIUM SUTIL EN SIDEBAR ===== */
.mugm-info-sidebar,
.mugm-info-group,
.mugm-info-link,
.mugm-info-sub a{
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

/* ===== SCROLL INTERNO SI CRECE MUCHO ===== */
.mugm-info-sidebar{
  max-height: calc(100vh - 132px) !important;
  overflow: auto !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(79,163,255,.38) rgba(255,255,255,.04) !important;
}

.mugm-info-sidebar::-webkit-scrollbar{
  width: 10px !important;
}

.mugm-info-sidebar::-webkit-scrollbar-track{
  background: rgba(255,255,255,.03) !important;
  border-radius: 999px !important;
}

.mugm-info-sidebar::-webkit-scrollbar-thumb{
  background: linear-gradient(180deg, rgba(79,163,255,.56), rgba(212,175,55,.46)) !important;
  border-radius: 999px !important;
  border: 2px solid rgba(9,13,23,.96) !important;
}

/* ===== LIGHT MODE ===== */
html[data-theme="light"] .mugm-page-title span{
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,250,253,.95)) !important;
  border-color: rgba(15,23,42,.08) !important;
  color: #0f172a !important;
  box-shadow: 0 16px 36px rgba(15,23,42,.07) !important;
}

html[data-theme="light"] .mugm-info-sidebar{
  border-color: rgba(15,23,42,.08) !important;
  background:
    radial-gradient(700px 240px at 0% 0%, rgba(37,99,235,.07), transparent 45%),
    radial-gradient(700px 240px at 100% 0%, rgba(200,144,31,.06), transparent 48%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,250,253,.96)) !important;
  box-shadow: 0 22px 46px rgba(15,23,42,.08) !important;
}

html[data-theme="light"] .mugm-info-sidebar__head{
  border-bottom-color: rgba(15,23,42,.08) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(243,247,252,.90)) !important;
}

html[data-theme="light"] .mugm-info-sidebar__title{
  color: #0f172a !important;
}

html[data-theme="light"] .mugm-info-search input{
  background: rgba(255,255,255,.94) !important;
  border-color: rgba(15,23,42,.10) !important;
  color: #0f172a !important;
  box-shadow: 0 8px 16px rgba(15,23,42,.05) !important;
}

html[data-theme="light"] .mugm-info-search input::placeholder{
  color: #94a3b8 !important;
}

html[data-theme="light"] .mugm-info-search i{
  color: #64748b !important;
}

html[data-theme="light"] .mugm-info-link{
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(247,250,253,.94)) !important;
  border-color: rgba(15,23,42,.08) !important;
  color: #334155 !important;
  box-shadow: 0 8px 16px rgba(15,23,42,.04) !important;
}

html[data-theme="light"] .mugm-info-link i{
  color: #c8901f !important;
}

html[data-theme="light"] .mugm-info-link:hover{
  background: linear-gradient(180deg, rgba(37,99,235,.06), rgba(255,255,255,.96)) !important;
  border-color: rgba(37,99,235,.14) !important;
  color: #0f172a !important;
}

html[data-theme="light"] .mugm-info-link.is-active{
  background:
    radial-gradient(240px 60px at 0% 50%, rgba(200,144,31,.10), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(246,249,253,.95)) !important;
  border-color: rgba(200,144,31,.18) !important;
  color: #0f172a !important;
  box-shadow: 0 12px 24px rgba(15,23,42,.06) !important;
}

html[data-theme="light"] .mugm-info-group{
  border-color: rgba(15,23,42,.08) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(247,250,253,.94)) !important;
  box-shadow: 0 10px 20px rgba(15,23,42,.04) !important;
}

html[data-theme="light"] .mugm-info-group__toggle{
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(243,247,252,.92)) !important;
  color: #0f172a !important;
}

html[data-theme="light"] .mugm-info-group__toggle:hover{
  background: linear-gradient(180deg, rgba(37,99,235,.05), rgba(255,255,255,.96)) !important;
}

html[data-theme="light"] .mugm-info-group__toggle .left i{
  color: #c8901f !important;
}

html[data-theme="light"] .mugm-info-group__toggle .chev{
  color: #64748b !important;
}

html[data-theme="light"] .mugm-info-sub a{
  background: rgba(255,255,255,.90) !important;
  border-color: rgba(15,23,42,.08) !important;
  color: #334155 !important;
}

html[data-theme="light"] .mugm-info-sub a i{
  color: #2563eb !important;
}

html[data-theme="light"] .mugm-info-sub a:hover{
  background: rgba(37,99,235,.05) !important;
  border-color: rgba(37,99,235,.14) !important;
  color: #0f172a !important;
}

html[data-theme="light"] .mugm-info-sub a.is-active{
  background:
    radial-gradient(260px 60px at 0% 50%, rgba(200,144,31,.10), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(246,249,253,.96)) !important;
  border-color: rgba(200,144,31,.16) !important;
  color: #0f172a !important;
}

html[data-theme="light"] .mugm-info-sidebar::-webkit-scrollbar-track{
  background: rgba(15,23,42,.04) !important;
}

html[data-theme="light"] .mugm-info-sidebar::-webkit-scrollbar-thumb{
  border-color: rgba(247,250,253,.96) !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px){
  .mugm-info{
    grid-template-columns: 290px minmax(0, 1fr) !important;
    gap: 18px !important;
  }
}

@media (max-width: 900px){
  .mugm-info{
    grid-template-columns: 1fr !important;
  }

  .mugm-info-sidebar{
    position: relative !important;
    top: auto !important;
    max-height: none !important;
  }

  .mugm-page-title span{
    font-size: 24px !important;
    padding: 12px 18px !important;
  }
}
.mugm-info-sidebar{
  max-height: calc(100vh - 132px) !important;
  overflow-y: auto !important;
}
/* =========================================================
   MUGM INFO / GUIDES — FINAL PREMIUM REFINEMENT
   parche final de acabado visual
========================================================= */

/* ===== LAYOUT GENERAL MÁS ELEGANTE ===== */
.mugm-info{
  gap: 28px !important;
}

.mugm-info-content{
  position: relative !important;
}

.mugm-info-content::before{
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  border-radius: 26px !important;
  background:
    radial-gradient(900px 220px at 0% 0%, rgba(79,163,255,.035), transparent 42%),
    radial-gradient(900px 220px at 100% 0%, rgba(212,175,55,.03), transparent 44%) !important;
}

/* ===== TÍTULO DE PÁGINA MÁS EPIC ===== */
.mugm-page-title span{
  position: relative !important;
  overflow: hidden !important;
  border-radius: 20px !important;
  padding: 16px 26px !important;
  box-shadow:
    0 20px 48px rgba(0,0,0,.24),
    inset 0 1px 0 rgba(255,255,255,.05),
    0 0 0 1px rgba(255,255,255,.03) !important;
}

.mugm-page-title span::before{
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.08) 18%, transparent 36%) !important;
  transform: translateX(-120%) !important;
  animation: mugmTitleShine 7s linear infinite !important;
}

@keyframes mugmTitleShine{
  to{
    transform: translateX(160%) !important;
  }
}

/* ===== SIDEBAR MÁS PREMIUM ===== */
.mugm-info-sidebar{
  border-radius: 26px !important;
  box-shadow:
    0 28px 68px rgba(0,0,0,.30),
    inset 0 1px 0 rgba(255,255,255,.04),
    inset 0 -1px 0 rgba(255,255,255,.02) !important;
}

.mugm-info-sidebar__head{
  position: sticky !important;
  top: 0 !important;
  z-index: 3 !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
}

/* ===== TITULO SIDEBAR ===== */
.mugm-info-sidebar__title{
  position: relative !important;
  padding-bottom: 8px !important;
}

.mugm-info-sidebar__title::after{
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 64px !important;
  height: 2px !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, rgba(212,175,55,.95), rgba(79,163,255,.70)) !important;
  box-shadow: 0 0 12px rgba(212,175,55,.16) !important;
}

/* ===== BUSCADOR MÁS PRO ===== */
.mugm-info-search input{
  border-radius: 16px !important;
  height: 46px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.025)) !important;
}

.mugm-info-search input:focus{
  transform: translateY(-1px) !important;
}

.mugm-info-search::after{
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  border-radius: 16px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02) !important;
}

/* ===== LINKS PRINCIPALES MÁS NÍTIDOS ===== */
.mugm-info-link{
  overflow: hidden !important;
  border-radius: 15px !important;
}

.mugm-info-link::after{
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.06) 18%, transparent 36%) !important;
  opacity: 0 !important;
  transform: translateX(-120%) !important;
  transition: opacity .18s ease !important;
}

.mugm-info-link:hover::after{
  opacity: 1 !important;
  animation: mugmMenuShine .9s ease !important;
}

.mugm-info-link.is-active{
  transform: translateX(1px) !important;
}

.mugm-info-link.is-active i{
  color: #ffd978 !important;
  text-shadow: 0 0 14px rgba(212,175,55,.18) !important;
}

/* ===== GROUPS ===== */
.mugm-info-group{
  border-radius: 20px !important;
  overflow: hidden !important;
}

.mugm-info-group__toggle{
  position: relative !important;
  min-height: 54px !important;
}

.mugm-info-group__toggle::after{
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.05) 18%, transparent 34%) !important;
  opacity: 0 !important;
  transform: translateX(-120%) !important;
}

.mugm-info-group__toggle:hover::after{
  opacity: 1 !important;
  animation: mugmMenuShine .95s ease !important;
}

@keyframes mugmMenuShine{
  from{
    transform: translateX(-120%) !important;
  }
  to{
    transform: translateX(150%) !important;
  }
}

.mugm-info-group.is-open{
  box-shadow:
    0 16px 30px rgba(0,0,0,.14),
    inset 0 1px 0 rgba(255,255,255,.02),
    0 0 0 1px rgba(79,163,255,.04) !important;
}

.mugm-info-group.is-open .mugm-info-group__toggle{
  background:
    linear-gradient(180deg, rgba(79,163,255,.08), rgba(255,255,255,.02)) !important;
}

/* ===== SUBLINKS MÁS FINOS ===== */
.mugm-info-sub{
  padding: 4px 10px 12px 10px !important;
}

.mugm-info-sub a{
  min-height: 42px !important;
  border-radius: 14px !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
}

.mugm-info-sub a.is-active{
  transform: translateX(2px) !important;
}

.mugm-info-sub a.is-active i{
  color: #ffd978 !important;
  text-shadow: 0 0 12px rgba(212,175,55,.18) !important;
}

/* ===== PANEL DE CONTENIDO MÁS PULIDO ===== */
.mugm-guide-panel{
  border-radius: 24px !important;
  box-shadow:
    0 28px 70px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.04),
    inset 0 -1px 0 rgba(255,255,255,.015) !important;
}

.mugm-guide-panel::after{
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  border-radius: 24px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.02), transparent 18%),
    radial-gradient(1000px 240px at 100% 0%, rgba(79,163,255,.03), transparent 46%) !important;
}

/* ===== HERO DEL MÓDULO ===== */
.mugm-guide-body > div[style*="display:flex"][style*="margin-bottom:22px"]{
  overflow: hidden !important;
  border-radius: 20px !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 16px 34px rgba(0,0,0,.16) !important;
}

.mugm-guide-body > div[style*="display:flex"][style*="margin-bottom:22px"] > img{
  box-shadow:
    0 16px 34px rgba(0,0,0,.26),
    inset 0 1px 0 rgba(255,255,255,.03),
    0 0 0 1px rgba(255,255,255,.04) !important;
  transition: transform .22s ease, box-shadow .22s ease !important;
}

.mugm-guide-body > div[style*="display:flex"][style*="margin-bottom:22px"] > img:hover{
  transform: scale(1.015) !important;
  box-shadow:
    0 20px 40px rgba(0,0,0,.30),
    0 0 0 1px rgba(212,175,55,.06) !important;
}

/* ===== TÍTULOS DE SECCIÓN ===== */
.mugm-guide-panel h3{
  letter-spacing: .025em !important;
}

.mugm-guide-panel h3::before{
  width: 5px !important;
  box-shadow:
    0 0 16px rgba(212,175,55,.16),
    0 0 22px rgba(79,163,255,.08) !important;
}

/* ===== PÁRRAFOS MÁS CLAROS ===== */
.mugm-guide-panel p{
  text-wrap: pretty !important;
}

/* ===== TABLAS MÁS AAA ===== */
.mugm-guide-panel .table-responsive{
  border-radius: 18px !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 14px 28px rgba(0,0,0,.14) !important;
}

.mugm-guide-panel .table > thead > tr > th,
.mugm-guide-panel table > thead > tr > th{
  position: relative !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03)) !important;
}

.mugm-guide-panel .table > thead > tr > th::after,
.mugm-guide-panel table > thead > tr > th::after{
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 1px !important;
  background: linear-gradient(90deg, rgba(212,175,55,.0), rgba(212,175,55,.22), rgba(79,163,255,.16), rgba(79,163,255,0)) !important;
}

.mugm-guide-panel .table > tbody > tr > td,
.mugm-guide-panel table > tbody > tr > td{
  transition: background .16s ease, color .16s ease !important;
}

/* ===== ALERTAS MÁS ELEGANTES ===== */
.mugm-guide-panel .alert{
  position: relative !important;
  overflow: hidden !important;
}

.mugm-guide-panel .alert::before{
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.04) 18%, transparent 34%) !important;
  opacity: .55 !important;
}

/* ===== BLOQUES DE IMAGENES / RECOMPENSAS ===== */
.mugm-guide-body > div[style*="display:flex"][style*="flex-wrap:wrap"][style*="margin:18px 0"] img{
  border-radius: 12px !important;
  box-shadow:
    0 10px 20px rgba(0,0,0,.20),
    inset 0 1px 0 rgba(255,255,255,.03) !important;
}

.mugm-guide-body > div[style*="display:flex"][style*="flex-wrap:wrap"][style*="margin:18px 0"] img:hover{
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow:
    0 14px 28px rgba(0,0,0,.24),
    0 0 0 1px rgba(212,175,55,.06) !important;
}

/* ===== PEQUEÑO BRILLO EN PANEL ACTIVO DEL CONTENIDO ===== */
.mugm-guide-panel:hover{
  box-shadow:
    0 30px 76px rgba(0,0,0,.30),
    inset 0 1px 0 rgba(255,255,255,.04),
    0 0 0 1px rgba(79,163,255,.03) !important;
}

/* ===== LIGHT MODE REFINADO ===== */
html[data-theme="light"] .mugm-info-content::before{
  background:
    radial-gradient(900px 220px at 0% 0%, rgba(37,99,235,.04), transparent 42%),
    radial-gradient(900px 220px at 100% 0%, rgba(200,144,31,.035), transparent 44%) !important;
}

html[data-theme="light"] .mugm-page-title span::before{
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.35) 18%, transparent 36%) !important;
}

html[data-theme="light"] .mugm-info-sidebar{
  box-shadow:
    0 24px 54px rgba(15,23,42,.08),
    inset 0 1px 0 rgba(255,255,255,.85) !important;
}

html[data-theme="light"] .mugm-info-sidebar__title::after{
  background: linear-gradient(90deg, rgba(200,144,31,.95), rgba(37,99,235,.65)) !important;
}

html[data-theme="light"] .mugm-guide-panel{
  box-shadow:
    0 22px 48px rgba(15,23,42,.08),
    inset 0 1px 0 rgba(255,255,255,.78) !important;
}

html[data-theme="light"] .mugm-guide-panel::after{
  background:
    linear-gradient(180deg, rgba(255,255,255,.34), transparent 18%),
    radial-gradient(1000px 240px at 100% 0%, rgba(37,99,235,.025), transparent 46%) !important;
}

/* ===== RESPONSIVE FINO ===== */
@media (max-width: 1100px){
  .mugm-info{
    gap: 20px !important;
  }

  .mugm-page-title span{
    font-size: 28px !important;
  }
}

@media (max-width: 900px){
  .mugm-page-title span{
    font-size: 22px !important;
    padding: 12px 18px !important;
  }

  .mugm-info-sidebar{
    border-radius: 22px !important;
  }

  .mugm-guide-panel{
    border-radius: 20px !important;
  }
}
.mugm-announcements-panel {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.mugm-announcements-box {
  position: relative !important;
  width: 100% !important;
  padding: 20px !important;
  border-radius: 20px !important;
  background:
    radial-gradient(circle at top right, rgba(255,215,120,.10), transparent 32%),
    linear-gradient(180deg, rgba(16,21,34,.98) 0%, rgba(9,13,22,.98) 100%) !important;
  border: 1px solid rgba(255,215,120,.14) !important;
  box-shadow:
    0 18px 45px rgba(0,0,0,.36),
    inset 0 1px 0 rgba(255,255,255,.04) !important;
  overflow: hidden !important;
}

.mugm-announcements-head {
  margin-bottom: 16px !important;
}

.mugm-announcements-title {
  color: #f6e7b0 !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  letter-spacing: .2px !important;
  margin-bottom: 4px !important;
}

.mugm-announcements-subtitle {
  color: rgba(225,232,245,.70) !important;
  font-size: 13px !important;
}

.mugm-announcements-list {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 16px !important;
}

.mugm-ann-card {
  position: relative !important;
  border-radius: 18px !important;
  padding: 16px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015)) !important;
  border: 1px solid rgba(255,255,255,.07) !important;
  box-shadow:
    0 10px 25px rgba(0,0,0,.20),
    inset 0 1px 0 rgba(255,255,255,.025) !important;
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease !important;
}

.mugm-ann-card:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(255,215,120,.22) !important;
  box-shadow:
    0 18px 36px rgba(0,0,0,.26),
    0 0 0 1px rgba(255,215,120,.04) inset !important;
}

.mugm-ann-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  margin-bottom: 14px !important;
}

.mugm-ann-author-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-width: 0 !important;
}

.mugm-ann-avatar {
  width: 46px !important;
  height: 46px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  flex: 0 0 46px !important;
  border: 2px solid rgba(255,215,120,.18) !important;
  box-shadow: 0 6px 16px rgba(0,0,0,.25) !important;
}

.mugm-ann-meta {
  min-width: 0 !important;
}

.mugm-ann-author {
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

.mugm-ann-date {
  color: rgba(225,232,245,.62) !important;
  font-size: 12px !important;
  margin-top: 4px !important;
}

.mugm-ann-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 9px 13px !important;
  border-radius: 11px !important;
  background: linear-gradient(180deg, rgba(255,215,120,.16), rgba(255,215,120,.08)) !important;
  border: 1px solid rgba(255,215,120,.20) !important;
  color: #f7e7b0 !important;
  text-decoration: none !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
}

.mugm-ann-link:hover {
  color: #fff4ca !important;
  text-decoration: none !important;
  box-shadow: 0 8px 18px rgba(255,215,120,.10) !important;
}

.mugm-ann-text {
  color: #e8edf8 !important;
  font-size: 14px !important;
  line-height: 1.78 !important;
  word-break: break-word !important;
}

.mugm-ann-text strong {
  color: #ffffff !important;
  font-weight: 800 !important;
}

.mugm-ann-text em {
  color: #f2f6ff !important;
  font-style: italic !important;
}

.mugm-ann-underline {
  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 2px !important;
}

.mugm-ann-strike {
  text-decoration: line-through !important;
  opacity: .82 !important;
}

.mugm-ann-code-inline {
  display: inline-block !important;
  padding: 2px 7px !important;
  margin: 0 2px !important;
  border-radius: 8px !important;
  background: rgba(0,0,0,.34) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  color: #ffd98b !important;
  font-size: 12px !important;
  font-family: Consolas, Monaco, monospace !important;
}

.mugm-ann-pre {
  margin: 12px 0 0 0 !important;
  padding: 14px !important;
  border-radius: 14px !important;
  background: linear-gradient(180deg, rgba(4,7,13,.92), rgba(8,11,18,.95)) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  overflow-x: auto !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03) !important;
}

.mugm-ann-code-block {
  display: block !important;
  white-space: pre-wrap !important;
  color: #dfe8ff !important;
  font-size: 12px !important;
  line-height: 1.7 !important;
  font-family: Consolas, Monaco, monospace !important;
}

.mugm-ann-quote {
  margin: 12px 0 0 0 !important;
  padding: 12px 14px !important;
  border-left: 3px solid rgba(255,215,120,.55) !important;
  border-radius: 0 12px 12px 0 !important;
  background: rgba(255,255,255,.03) !important;
  color: #dfe7f8 !important;
}

.mugm-ann-inline-link {
  color: #8fc8ff !important;
  text-decoration: underline !important;
  text-decoration-color: rgba(143,200,255,.45) !important;
  text-underline-offset: 2px !important;
  word-break: break-all !important;
}

.mugm-ann-inline-link:hover {
  color: #cce6ff !important;
}

.mugm-ann-image-wrap {
  margin-top: 14px !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255,255,255,.07) !important;
  background: rgba(0,0,0,.20) !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.22) !important;
}

.mugm-ann-image {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: 520px !important;
  object-fit: cover !important;
}

.mugm-ann-files {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 14px !important;
}

.mugm-ann-file {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 12px !important;
  border-radius: 12px !important;
  background: rgba(255,255,255,.04) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  color: #e8edf8 !important;
  text-decoration: none !important;
  font-size: 13px !important;
}

.mugm-ann-file:hover {
  color: #ffffff !important;
  border-color: rgba(255,215,120,.18) !important;
  box-shadow: 0 8px 18px rgba(0,0,0,.18) !important;
}

.mugm-ann-empty {
  padding: 20px !important;
  border-radius: 16px !important;
  text-align: center !important;
  color: rgba(232,237,248,.72) !important;
  background: rgba(255,255,255,.025) !important;
  border: 1px dashed rgba(255,255,255,.10) !important;
}

@media (max-width: 640px) {
  .mugm-announcements-box {
    padding: 14px !important;
    border-radius: 16px !important;
  }

  .mugm-ann-top {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .mugm-ann-link {
    width: 100% !important;
  }

  .mugm-announcements-title {
    font-size: 20px !important;
  }

  .mugm-ann-card {
    padding: 14px !important;
  }
}
.mugm-ann-pagination {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 18px !important;
  padding-top: 4px !important;
}

.mugm-ann-page-btn {
  min-width: 40px !important;
  height: 40px !important;
  padding: 0 12px !important;
  border-radius: 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  color: #e8edf8 !important;
  background: rgba(255,255,255,.04) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  transition: all .18s ease !important;
}

.mugm-ann-page-btn:hover {
  color: #ffffff !important;
  border-color: rgba(255,215,120,.24) !important;
  background: linear-gradient(180deg, rgba(255,215,120,.12), rgba(255,215,120,.06)) !important;
  box-shadow: 0 8px 18px rgba(0,0,0,.18) !important;
  text-decoration: none !important;
}

.mugm-ann-page-btn.is-active {
  color: #111722 !important;
  background: linear-gradient(180deg, #f7e7b0, #e0c777) !important;
  border-color: rgba(255,215,120,.55) !important;
  box-shadow: 0 10px 20px rgba(255,215,120,.16) !important;
}

.mugm-ann-page-dots {
  color: rgba(232,237,248,.55) !important;
  font-size: 14px !important;
  padding: 0 4px !important;
}
.mugm-ann-page-form {
  display: inline-flex !important;
  margin: 0 !important;
}
/* =========================================================
   HOME - ULTIMOS ANUNCIOS PREMIUM
========================================================= */
.mugm-home-block--ann-premium {
  position: relative !important;
  margin-top: 18px !important;
  padding: 18px !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at top right, rgba(255,215,120,.08), transparent 28%),
    linear-gradient(180deg, rgba(13,18,31,.98) 0%, rgba(8,12,22,.98) 100%) !important;
  border: 1px solid rgba(255,255,255,.06) !important;
  box-shadow: 0 16px 36px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.03) !important;
  overflow: hidden !important;
}

.mugm-section__head--ann {
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  margin-bottom: 14px !important;
}

.mugm-home-ann-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

.mugm-home-ann-card {
  position: relative !important;
  min-height: 250px !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 18px !important;
  border-radius: 16px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015)) !important;
  border: 1px solid rgba(255,255,255,.07) !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.18) !important;
  overflow: hidden !important;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease !important;
}

.mugm-home-ann-card:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(255,215,120,.24) !important;
  box-shadow: 0 18px 34px rgba(0,0,0,.24) !important;
}

.mugm-home-ann-card__glow {
  content: "" !important;
  position: absolute !important;
  top: -60px !important;
  right: -60px !important;
  width: 160px !important;
  height: 160px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, rgba(255,215,120,.10) 0%, rgba(255,215,120,0) 70%) !important;
  pointer-events: none !important;
}

.mugm-home-ann-card__top {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 10px !important;
  margin-bottom: 14px !important;
}

.mugm-home-ann-card__author {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 0 !important;
}

.mugm-home-ann-card__avatar {
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 2px solid rgba(255,215,120,.18) !important;
  flex: 0 0 42px !important;
}

.mugm-home-ann-card__meta {
  min-width: 0 !important;
}

.mugm-home-ann-card__author-name {
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

.mugm-home-ann-card__date {
  color: rgba(225,232,245,.58) !important;
  font-size: 11px !important;
  margin-top: 3px !important;
}

.mugm-home-ann-card__badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  background: rgba(255,215,120,.08) !important;
  border: 1px solid rgba(255,215,120,.18) !important;
  color: #f3df9e !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

.mugm-home-ann-card__title {
  margin: 0 0 12px 0 !important;
  color: #ffffff !important;
  font-size: 18px !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
  min-height: 48px !important;
}

.mugm-home-ann-card__excerpt {
  color: rgba(232,237,248,.84) !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
  flex: 1 1 auto !important;
  word-break: break-word !important;
}

.mugm-home-ann-card__actions {
  margin-top: 16px !important;
}

.mugm-home-ann-card__read {
  min-width: 160px !important;
}

.mugm-home-ann-empty {
  padding: 18px !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,.025) !important;
  border: 1px dashed rgba(255,255,255,.10) !important;
  color: rgba(232,237,248,.72) !important;
  text-align: center !important;
}

.mugm-home-ann-modal .modal-dialog {
  width: 90% !important;
  max-width: 900px !important;
}

.mugm-home-ann-modal__body {
  padding-top: 18px !important;
}

.mugm-home-ann-modal__meta {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
  margin-bottom: 18px !important;
  padding-bottom: 14px !important;
  border-bottom: 1px solid rgba(255,255,255,.06) !important;
}

.mugm-home-ann-modal__author {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.mugm-home-ann-modal__avatar {
  width: 46px !important;
  height: 46px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 2px solid rgba(255,215,120,.18) !important;
}

.mugm-home-ann-modal__author-name {
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}

.mugm-home-ann-modal__date {
  color: rgba(225,232,245,.58) !important;
  font-size: 12px !important;
  margin-top: 3px !important;
}

.mugm-home-ann-modal__content {
  font-size: 15px !important;
  line-height: 1.8 !important;
}

@media (max-width: 1199px) {
  .mugm-home-ann-grid {
    grid-template-columns: 1fr !important;
  }

  .mugm-home-ann-card {
    min-height: auto !important;
  }

  .mugm-home-ann-card__title {
    min-height: 0 !important;
  }
}

@media (max-width: 640px) {
  .mugm-home-block--ann-premium {
    padding: 14px !important;
    border-radius: 14px !important;
  }

  .mugm-section__head--ann {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .mugm-home-ann-card {
    padding: 15px !important;
  }

  .mugm-home-ann-card__top {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .mugm-home-ann-card__read {
    width: 100% !important;
  }
}
.mugm-home-ann-modal {
  transform: none !important;
  animation: none !important;
}

.mugm-home-ann-modal .modal-dialog {
  transform: none !important;
}

.modal-open .mugm-home-ann-card,
.modal-open .mugm-home-ann-card:hover {
  transform: none !important;
}
.mugm-stat--today {
  position: relative !important;
  overflow: hidden !important;
}

.mugm-stat--today::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: radial-gradient(circle at top right, rgba(255,215,120,.10), transparent 45%) !important;
  pointer-events: none !important;
}

.mugm-stat--today .mugm-stat__label {
  color: rgba(255, 225, 145, .92) !important;
}

.mugm-stat--today .mugm-stat__value {
  color: #f7e7b0 !important;
}
.mugm-stat--today {
  position: relative !important;
  overflow: hidden !important;
  border-color: rgba(255, 215, 120, .22) !important;
}

.mugm-stat--today::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: radial-gradient(circle at top right, rgba(255,215,120,.10), transparent 45%) !important;
  pointer-events: none !important;
}

.mugm-stat--today .mugm-stat__label {
  color: rgba(255, 225, 145, .92) !important;
}

.mugm-stat--today .mugm-stat__value {
  color: #f7e7b0 !important;
}
.mugm-kicker-count--today {
  color: #f7e7b0 !important;
  text-shadow: 0 0 12px rgba(255, 215, 120, .18) !important;
}
/* =========================================================
   TikTok LIVE Floating Widget
========================================================= */
.mugm-tklive{
  position: fixed !important;
  left: 18px !important;
  bottom: 18px !important;
  width: 320px !important;
  z-index: 9999 !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at top right, rgba(255,80,120,.14), transparent 34%),
    linear-gradient(180deg, rgba(12,16,28,.98) 0%, rgba(7,10,18,.98) 100%) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  box-shadow:
    0 24px 60px rgba(0,0,0,.38),
    0 0 0 1px rgba(255,255,255,.02) inset !important;
  transform: translateY(16px) scale(.96) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity .25s ease, transform .25s ease !important;
  backdrop-filter: blur(12px) !important;
}

.mugm-tklive.is-visible{
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
  pointer-events: auto !important;
}

.mugm-tklive__close{
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  width: 30px !important;
  height: 30px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: rgba(0,0,0,.42) !important;
  color: #fff !important;
  z-index: 3 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.mugm-tklive__media{
  position: relative !important;
  height: 170px !important;
  overflow: hidden !important;
  background: #0b0f18 !important;
}

.mugm-tklive__thumb{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  filter: saturate(1.05) contrast(1.02) !important;
}

.mugm-tklive__media::after{
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.48) 100%) !important;
}

.mugm-tklive__badge{
  position: absolute !important;
  left: 12px !important;
  top: 12px !important;
  z-index: 2 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 7px 12px !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .04em !important;
  color: #fff !important;
  background: linear-gradient(90deg, #ff2d55, #ff0050) !important;
  box-shadow: 0 0 18px rgba(255,0,80,.28) !important;
}

.mugm-tklive__body{
  padding: 16px !important;
}

.mugm-tklive__eyebrow{
  color: rgba(255,255,255,.55) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  margin-bottom: 6px !important;
}

.mugm-tklive__title{
  color: #fff !important;
  font-size: 18px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
  margin-bottom: 8px !important;
}

.mugm-tklive__text{
  color: rgba(230,236,247,.76) !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  margin-bottom: 14px !important;
}

.mugm-tklive__cta{
  width: 100% !important;
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #fff !important;
  background: linear-gradient(90deg, #121826, #1a2235) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  transition: all .18s ease !important;
}

.mugm-tklive__cta:hover{
  color: #fff !important;
  text-decoration: none !important;
  transform: translateY(-1px) !important;
  border-color: rgba(255,0,80,.28) !important;
  box-shadow: 0 14px 28px rgba(0,0,0,.22) !important;
}

@media (max-width: 640px){
  .mugm-tklive{
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    width: auto !important;
  }
}
/* =========================================================
   TikTok LIVE Widget Premium
========================================================= */
.mugm-tklive {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: min(390px, calc(100vw - 24px));
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  z-index: 99990;
  background:
    linear-gradient(180deg, rgba(20,24,34,.96) 0%, rgba(10,12,18,.98) 100%);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow:
    0 18px 60px rgba(0,0,0,.42),
    0 0 0 1px rgba(255,255,255,.03) inset;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transform: translateY(18px) scale(.98);
  pointer-events: none;
  transition:
    opacity .28s ease,
    transform .28s ease,
    box-shadow .28s ease;
}

.mugm-tklive.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.mugm-tklive.is-live {
  box-shadow:
    0 20px 70px rgba(0,0,0,.48),
    0 0 0 1px rgba(255,255,255,.03) inset,
    0 0 32px rgba(255, 0, 96, .22);
}

.mugm-tklive.is-live::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 22px;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(255, 0, 96, .24),
    rgba(0, 229, 255, .16),
    rgba(255, 0, 96, .20)
  );
  opacity: .9;
  filter: blur(20px);
  z-index: 0;
  animation: mugmTkGlow 2.2s ease-in-out infinite;
}

@keyframes mugmTkGlow {
  0%, 100% { opacity: .45; transform: scale(1); }
  50%      { opacity: .95; transform: scale(1.015); }
}

.mugm-tklive > * {
  position: relative;
  z-index: 1;
}

.mugm-tklive__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(0,0,0,.42);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, opacity .18s ease;
}

.mugm-tklive__close:hover {
  background: rgba(255,255,255,.14);
  transform: scale(1.05);
}

.mugm-tklive__media {
  position: relative;
  height: 168px;
  overflow: hidden;
  background: #0b0f16;
}

.mugm-tklive__thumb {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.01);
}

.mugm-tklive__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,.18) 30%, rgba(7,9,14,.84) 100%),
    radial-gradient(circle at top right, rgba(255,0,96,.22), transparent 36%),
    radial-gradient(circle at left center, rgba(0,229,255,.15), transparent 34%);
  pointer-events: none;
}

.mugm-tklive__badge {
  position: absolute;
  left: 14px;
  top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #ff005c, #ff314d);
  box-shadow: 0 10px 24px rgba(255, 0, 92, .32);
}

.mugm-tklive__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,.75);
  animation: mugmTkPulseDot 1.6s infinite;
}

@keyframes mugmTkPulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,.75); }
  70%  { box-shadow: 0 0 0 10px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

.mugm-tklive__body {
  padding: 16px 16px 16px;
}

.mugm-tklive__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.mugm-tklive__avatar-wrap {
  position: relative;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
}

.mugm-tklive__avatar {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  object-fit: cover;
  display: block;
  background: #111723;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
}

.mugm-tklive__avatar-ring {
  position: absolute;
  inset: -3px;
  border-radius: 18px;
  border: 1px solid rgba(255, 0, 96, .40);
  box-shadow: 0 0 18px rgba(255, 0, 96, .18);
  pointer-events: none;
}

.mugm-tklive__meta {
  min-width: 0;
  flex: 1 1 auto;
}

.mugm-tklive__eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #ff6ea9;
  margin-bottom: 4px;
}

.mugm-tklive__title {
  font-size: 18px;
  line-height: 1.18;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.mugm-tklive__host {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.70);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mugm-tklive__text {
  font-size: 14px;
  line-height: 1.48;
  color: rgba(255,255,255,.84);
  margin-bottom: 14px;
  max-height: 42px;
  overflow: hidden;
}

.mugm-tklive__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mugm-tklive__updated {
  font-size: 12px;
  color: rgba(255,255,255,.58);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mugm-tklive__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 800;
  color: #fff !important;
  background: linear-gradient(135deg, #ff005c, #7c3aed);
  box-shadow:
    0 10px 24px rgba(124, 58, 237, .22),
    0 10px 24px rgba(255, 0, 92, .20);
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    filter .18s ease;
}

.mugm-tklive__cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow:
    0 14px 30px rgba(124, 58, 237, .26),
    0 14px 30px rgba(255, 0, 92, .24);
}

@media (max-width: 575px) {
  .mugm-tklive {
    right: 12px;
    left: 12px;
    bottom: 12px;
    width: auto;
    border-radius: 18px;
  }

  .mugm-tklive__media {
    height: 150px;
  }

  .mugm-tklive__body {
    padding: 14px;
  }

  .mugm-tklive__title {
    font-size: 16px;
  }

  .mugm-tklive__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .mugm-tklive__updated {
    white-space: normal;
  }

  .mugm-tklive__cta {
    width: 100%;
    justify-content: center;
  }
}
.mugm-aichat__meta {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  margin-top: 8px !important;
}

.mugm-aichat__badge {
  display: inline-flex !important;
  align-items: center !important;
  padding: 4px 8px !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  color: #d8dbe7 !important;
}

.mugm-aichat__source {
  color: #d7b56d !important;
  text-decoration: none !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

.mugm-aichat__source:hover {
  text-decoration: underline !important;
}

.mugm-aichat__source.is-static {
  color: #bfc7d8 !important;
}

.mugm-aichat__sugs {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 10px !important;
}

.mugm-aichat__sug {
  appearance: none !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  background: rgba(255,255,255,.06) !important;
  color: #eef3ff !important;
  border-radius: 999px !important;
  padding: 7px 12px !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  cursor: pointer !important;
  transition: .18s ease !important;
}

.mugm-aichat__sug:hover {
  transform: translateY(-1px) !important;
  background: rgba(215,181,109,.12) !important;
  border-color: rgba(215,181,109,.28) !important;
  color: #f6deb0 !important;
}

.mugm-aichat__msg.is-typing .mugm-aichat__bubble {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
}

.mugm-dot-typing {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: currentColor !important;
  opacity: .45 !important;
  animation: mugmAiTyping 1s infinite ease-in-out !important;
}

.mugm-dot-typing:nth-child(2) {
  animation-delay: .15s !important;
}

.mugm-dot-typing:nth-child(3) {
  animation-delay: .3s !important;
}

@keyframes mugmAiTyping {
  0%, 80%, 100% {
    transform: translateY(0);
    opacity: .35;
  }
  40% {
    transform: translateY(-3px);
    opacity: 1;
  }
}
/* =========================================================
   USERCP MODULES — mypassword / myemail / unstick
   FINAL OVERRIDE
   Pegar AL FINAL de aaa.css
   ========================================================= */

.mugm-usercp-wrap{
  width: 100% !important;
  max-width: 980px !important;
  margin: 20px auto 34px auto !important;
  padding: 0 14px !important;
}

.page-title{
  width: 100% !important;
  max-width: 980px !important;
  margin: 18px auto 14px auto !important;
  padding: 0 14px !important;
  float: none !important;
}

.page-title > span{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 52px !important;
  padding: 12px 18px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  background: linear-gradient(180deg, rgba(18,28,58,.62), rgba(10,14,24,.72)) !important;
  box-shadow: 0 18px 55px rgba(0,0,0,.45) !important;
  font-family: Cinzel, serif !important;
  font-weight: 900 !important;
  font-size: clamp(20px, 2.2vw, 30px) !important;
  letter-spacing: .04em !important;
  color: rgba(255,255,255,.95) !important;
  text-transform: uppercase !important;
}

/* Card principal */
.mugm-usercp-card{
  position: relative !important;
  width: 100% !important;
  border-radius: 22px !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  background:
    radial-gradient(900px 420px at 15% 0%, rgba(79,163,255,.10), transparent 55%),
    radial-gradient(900px 420px at 85% 0%, rgba(200,164,90,.09), transparent 55%),
    linear-gradient(180deg, rgba(18,28,58,.60), rgba(10,14,24,.76)) !important;
  box-shadow: 0 24px 80px rgba(0,0,0,.52) !important;
  overflow: hidden !important;
}

.mugm-usercp-card__head{
  padding: 22px 24px 14px 24px !important;
  border-bottom: 1px solid rgba(255,255,255,.06) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,0)) !important;
}

.mugm-usercp-card__title{
  margin: 0 !important;
  font-family: Cinzel, serif !important;
  font-weight: 900 !important;
  font-size: clamp(18px, 1.8vw, 26px) !important;
  letter-spacing: .04em !important;
  color: rgba(255,255,255,.95) !important;
  text-transform: uppercase !important;
}

.mugm-usercp-card__sub{
  margin: 8px 0 0 0 !important;
  color: rgba(255,255,255,.66) !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

.mugm-usercp-card__body{
  padding: 22px 24px 24px 24px !important;
}

/* Form */
.mugm-usercp-form{
  display: grid !important;
  gap: 18px !important;
}

.mugm-usercp-field{
  display: grid !important;
  gap: 8px !important;
}

.mugm-usercp-label{
  margin: 0 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  color: rgba(185,205,235,.88) !important;
}

.mugm-usercp-input,
.mugm-usercp-form .form-control{
  width: 100% !important;
  height: 52px !important;
  padding: 0 16px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  background: rgba(6,10,18,.78) !important;
  color: rgba(255,255,255,.96) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease !important;
}

.mugm-usercp-input::placeholder,
.mugm-usercp-form .form-control::placeholder{
  color: rgba(255,255,255,.38) !important;
}

.mugm-usercp-input:focus,
.mugm-usercp-form .form-control:focus{
  border-color: rgba(79,163,255,.42) !important;
  box-shadow: 0 0 0 3px rgba(79,163,255,.10) !important;
  background: rgba(8,13,24,.90) !important;
  outline: none !important;
}

/* Nota */
.mugm-usercp-note{
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  padding: 12px 14px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  background: rgba(255,255,255,.03) !important;
  color: rgba(255,255,255,.78) !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

.mugm-usercp-note i{
  color: rgba(255,190,70,.92) !important;
  margin-top: 2px !important;
}

.mugm-usercp-note--center{
  justify-content: center !important;
  text-align: center !important;
  margin-top: 18px !important;
}

.mugm-usercp-note--center p{
  margin: 0 !important;
}

/* Actions */
.mugm-usercp-actions{
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 12px !important;
  margin-top: 4px !important;
}

.mugm-usercp-btn,
.mugm-usercp-actions .btn,
.mugm-usercp-actioncell .btn{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 180px !important;
  min-height: 48px !important;
  padding: 12px 18px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,190,70,.28) !important;
  background: linear-gradient(180deg, #e2bf74, #b9873b) !important;
  color: #120e08 !important;
  font-weight: 900 !important;
  font-size: 13px !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  box-shadow: 0 16px 40px rgba(0,0,0,.36) !important;
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease !important;
}

.mugm-usercp-btn:hover,
.mugm-usercp-actions .btn:hover,
.mugm-usercp-actioncell .btn:hover{
  transform: translateY(-1px) !important;
  filter: brightness(1.03) !important;
  box-shadow: 0 18px 50px rgba(0,0,0,.42) !important;
}

.mugm-usercp-btn--small{
  min-width: 130px !important;
  min-height: 40px !important;
  padding: 10px 14px !important;
  font-size: 12px !important;
}

.mugm-inline-form{
  margin: 0 !important;
}

/* Neutralizar bootstrap viejo en estos módulos */
.mugm-usercp-wrap .col-xs-8,
.mugm-usercp-wrap .col-sm-8,
.mugm-usercp-wrap .col-sm-4,
.mugm-usercp-wrap .col-xs-offset-2,
.mugm-usercp-wrap .col-sm-offset-4{
  width: 100% !important;
  float: none !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.mugm-usercp-wrap .form-horizontal .form-group{
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Tabla unstick */
.mugm-usercp-tablewrap{
  width: 100% !important;
  overflow-x: auto !important;
  border-radius: 16px !important;
}

.mugm-usercp-table{
  width: 100% !important;
  margin: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: rgba(0,0,0,.14) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
}

.mugm-usercp-table thead th{
  padding: 14px 14px !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
  background: rgba(255,255,255,.04) !important;
  color: rgba(185,205,235,.92) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  vertical-align: middle !important;
}

.mugm-usercp-table tbody td{
  padding: 14px 14px !important;
  border-top: 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.06) !important;
  color: rgba(255,255,255,.90) !important;
  vertical-align: middle !important;
  font-weight: 700 !important;
}

.mugm-usercp-table tbody tr:last-child td{
  border-bottom: 0 !important;
}

.mugm-usercp-table tbody tr:hover td{
  background: rgba(255,255,255,.03) !important;
}

.mugm-col-avatar{
  width: 72px !important;
}

.mugm-col-action{
  width: 170px !important;
}

.mugm-usercp-avatar{
  text-align: center !important;
}

.mugm-usercp-avatar img{
  width: 38px !important;
  height: 38px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,.40)) !important;
}

.mugm-usercp-actioncell{
  text-align: right !important;
  white-space: nowrap !important;
}

/* alerts del sistema dentro del usercp */
.mugm-usercp-wrap .alert,
.mugm-usercp-wrap .message,
.mugm-usercp-wrap .notice{
  border-radius: 14px !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  box-shadow: 0 14px 40px rgba(0,0,0,.28) !important;
}

.mugm-usercp-wrap .alert-success{
  background: rgba(46,204,113,.12) !important;
  border-color: rgba(46,204,113,.24) !important;
  color: #c8ffe0 !important;
}

.mugm-usercp-wrap .alert-danger,
.mugm-usercp-wrap .alert-error{
  background: rgba(231,76,60,.12) !important;
  border-color: rgba(231,76,60,.24) !important;
  color: #ffd1cb !important;
}

.mugm-usercp-wrap .alert-info{
  background: rgba(79,163,255,.12) !important;
  border-color: rgba(79,163,255,.24) !important;
  color: #d7ebff !important;
}

/* Mobile */
@media (max-width: 767px){
  .mugm-usercp-wrap{
    margin-top: 16px !important;
    padding: 0 10px !important;
  }

  .page-title{
    padding: 0 10px !important;
  }

  .page-title > span{
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 18px !important;
    line-height: 1.2 !important;
  }

  .mugm-usercp-card__head{
    padding: 18px 16px 12px 16px !important;
  }

  .mugm-usercp-card__body{
    padding: 16px !important;
  }

  .mugm-usercp-input,
  .mugm-usercp-form .form-control{
    height: 48px !important;
    font-size: 14px !important;
  }

  .mugm-usercp-actions{
    justify-content: stretch !important;
  }

  .mugm-usercp-btn,
  .mugm-usercp-actions .btn{
    width: 100% !important;
    min-width: 100% !important;
  }

  .mugm-usercp-table thead{
    display: none !important;
  }

  .mugm-usercp-table,
  .mugm-usercp-table tbody,
  .mugm-usercp-table tr,
  .mugm-usercp-table td{
    display: block !important;
    width: 100% !important;
  }

  .mugm-usercp-table tbody tr{
    padding: 12px !important;
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
    background: rgba(255,255,255,.02) !important;
  }

  .mugm-usercp-table tbody tr:last-child{
    border-bottom: 0 !important;
  }

  .mugm-usercp-table tbody td{
    border-bottom: 0 !important;
    padding: 8px 0 !important;
    text-align: left !important;
  }

  .mugm-usercp-table tbody td[data-label]::before{
    content: attr(data-label) !important;
    display: block !important;
    margin-bottom: 4px !important;
    color: rgba(185,205,235,.78) !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
  }

  .mugm-usercp-avatar{
    padding-bottom: 4px !important;
  }

  .mugm-usercp-actioncell{
    text-align: left !important;
    padding-top: 10px !important;
  }

  .mugm-usercp-actioncell .btn{
    width: 100% !important;
  }
}
/* =========================================================
   FORGOT PASSWORD MODULE — PREMIUM FIXEDMU STYLE
   ========================================================= */

.auth-wrapper{
  width: 100% !important;
  max-width: 980px !important;
  margin: 20px auto 34px auto !important;
  padding: 0 14px !important;
}

.auth-card{
  position: relative !important;
  width: 100% !important;
  max-width: 720px !important;
  margin: 0 auto !important;
  padding: 26px 24px !important;
  border-radius: 22px !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  background:
    radial-gradient(900px 420px at 15% 0%, rgba(79,163,255,.10), transparent 55%),
    radial-gradient(900px 420px at 85% 0%, rgba(200,164,90,.08), transparent 55%),
    linear-gradient(180deg, rgba(18,28,58,.60), rgba(10,14,24,.78)) !important;
  box-shadow: 0 24px 80px rgba(0,0,0,.52) !important;
  overflow: hidden !important;
}

.auth-card::before{
  content: "" !important;
  position: absolute !important;
  inset: 0 0 auto 0 !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent) !important;
  pointer-events: none !important;
}

.auth-card .form-horizontal{
  margin: 0 !important;
}

.auth-card .form-group{
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 18px !important;
}

.auth-card .control-label{
  display: block !important;
  width: 100% !important;
  float: none !important;
  margin: 0 0 8px 0 !important;
  padding: 0 !important;
  text-align: left !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  color: rgba(185,205,235,.88) !important;
}

.auth-card .col-sm-4,
.auth-card .col-sm-8,
.auth-card .col-sm-offset-4{
  width: 100% !important;
  float: none !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.auth-card .form-control{
  width: 100% !important;
  height: 54px !important;
  padding: 0 16px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  background: rgba(6,10,18,.78) !important;
  color: rgba(255,255,255,.96) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease !important;
}

.auth-card .form-control::placeholder{
  color: rgba(255,255,255,.38) !important;
}

.auth-card .form-control:focus{
  border-color: rgba(79,163,255,.42) !important;
  box-shadow: 0 0 0 3px rgba(79,163,255,.10) !important;
  background: rgba(8,13,24,.90) !important;
  outline: none !important;
}

.auth-card .btn,
.auth-card .btn-primary,
.auth-card .btn-block{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 50px !important;
  padding: 12px 18px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,190,70,.28) !important;
  background: linear-gradient(180deg, #e2bf74, #b9873b) !important;
  color: #120e08 !important;
  font-weight: 900 !important;
  font-size: 13px !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  box-shadow: 0 16px 40px rgba(0,0,0,.36) !important;
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease !important;
}

.auth-card .btn:hover,
.auth-card .btn-primary:hover,
.auth-card .btn-block:hover{
  transform: translateY(-1px) !important;
  filter: brightness(1.03) !important;
  box-shadow: 0 18px 50px rgba(0,0,0,.42) !important;
}

.auth-card .btn:focus,
.auth-card .btn-primary:focus,
.auth-card .btn-block:focus{
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(226,191,116,.14), 0 18px 50px rgba(0,0,0,.42) !important;
}

.auth-card .btn:active,
.auth-card .btn-primary:active,
.auth-card .btn-block:active{
  transform: translateY(0) !important;
}

.auth-wrapper .alert,
.auth-wrapper .message,
.auth-wrapper .notice{
  max-width: 720px !important;
  margin: 0 auto 16px auto !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  box-shadow: 0 14px 40px rgba(0,0,0,.28) !important;
}

.auth-wrapper .alert-success{
  background: rgba(46,204,113,.12) !important;
  border-color: rgba(46,204,113,.24) !important;
  color: #c8ffe0 !important;
}

.auth-wrapper .alert-danger,
.auth-wrapper .alert-error{
  background: rgba(231,76,60,.12) !important;
  border-color: rgba(231,76,60,.24) !important;
  color: #ffd1cb !important;
}

.auth-wrapper .alert-info{
  background: rgba(79,163,255,.12) !important;
  border-color: rgba(79,163,255,.24) !important;
  color: #d7ebff !important;
}

/* Afinado del title para que acompañe el módulo */
.page-title{
  width: 100% !important;
  max-width: 980px !important;
  margin: 18px auto 14px auto !important;
  padding: 0 14px !important;
  float: none !important;
}

.page-title > span{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 52px !important;
  padding: 12px 18px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  background: linear-gradient(180deg, rgba(18,28,58,.62), rgba(10,14,24,.72)) !important;
  box-shadow: 0 18px 55px rgba(0,0,0,.45) !important;
  font-family: Cinzel, serif !important;
  font-weight: 900 !important;
  font-size: clamp(20px, 2.2vw, 30px) !important;
  letter-spacing: .04em !important;
  color: rgba(255,255,255,.95) !important;
  text-transform: uppercase !important;
}

/* Mobile */
@media (max-width: 767px){
  .auth-wrapper{
    margin-top: 16px !important;
    padding: 0 10px !important;
  }

  .auth-card{
    padding: 18px 16px !important;
    border-radius: 18px !important;
  }

  .auth-card .form-control{
    height: 48px !important;
    font-size: 14px !important;
  }

  .auth-card .btn,
  .auth-card .btn-primary,
  .auth-card .btn-block{
    min-height: 48px !important;
    font-size: 12px !important;
  }

  .page-title{
    padding: 0 10px !important;
  }

  .page-title > span{
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    line-height: 1.2 !important;
  }
}
/* =========================================================
   MUGM — PREMIUM CLASSIC MASTER PATCH
   Objetivo:
   - Más premium / marketinero / profesional
   - Sin look IA / sin look template genérico
   - Mantener atmósfera MU clásica dark fantasy
   - Parche visual global para pegar al FINAL ABSOLUTO
========================================================= */

/* =========================================================
   0) TOKENS MAESTROS
========================================================= */
:root{
  --mugm-prem-bg-0:#05070d;
  --mugm-prem-bg-1:#090d16;
  --mugm-prem-bg-2:#0d1421;
  --mugm-prem-bg-3:#121b2c;

  --mugm-prem-surface-1:rgba(10,15,26,.78);
  --mugm-prem-surface-2:rgba(13,19,32,.88);
  --mugm-prem-surface-3:rgba(17,25,41,.94);

  --mugm-prem-line-1:rgba(255,255,255,.06);
  --mugm-prem-line-2:rgba(255,255,255,.10);
  --mugm-prem-line-3:rgba(255,255,255,.14);

  --mugm-prem-text-1:#f1f5fd;
  --mugm-prem-text-2:rgba(233,239,250,.90);
  --mugm-prem-text-3:rgba(177,188,210,.82);
  --mugm-prem-text-4:rgba(146,160,186,.78);

  --mugm-prem-gold-1:#efd18b;
  --mugm-prem-gold-2:#d7b25d;
  --mugm-prem-gold-3:#b3893c;
  --mugm-prem-gold-4:#6f5422;

  --mugm-prem-blue-1:#8fe7ff;
  --mugm-prem-blue-2:#4fd0ff;
  --mugm-prem-blue-3:#1699df;
  --mugm-prem-blue-4:#0a567c;

  --mugm-prem-danger:#e2665a;
  --mugm-prem-success:#35d084;
  --mugm-prem-warning:#e3b85a;

  --mugm-prem-shadow-xs:0 8px 18px rgba(0,0,0,.16);
  --mugm-prem-shadow-sm:0 12px 26px rgba(0,0,0,.22);
  --mugm-prem-shadow-md:0 18px 46px rgba(0,0,0,.34);
  --mugm-prem-shadow-lg:0 26px 72px rgba(0,0,0,.48);
  --mugm-prem-shadow-xl:0 36px 110px rgba(0,0,0,.56);

  --mugm-prem-glow-gold:
    0 0 0 1px rgba(215,178,93,.12),
    0 12px 34px rgba(215,178,93,.12),
    inset 0 1px 0 rgba(255,245,216,.08);

  --mugm-prem-glow-blue:
    0 0 0 1px rgba(79,208,255,.10),
    0 12px 34px rgba(79,208,255,.10),
    inset 0 1px 0 rgba(222,248,255,.06);

  --mugm-prem-r-sm:12px;
  --mugm-prem-r-md:14px;
  --mugm-prem-r-lg:18px;
  --mugm-prem-r-xl:22px;
}

/* =========================================================
   1) BASE GENERAL
========================================================= */
html,body{
  background-color: var(--mugm-prem-bg-0) !important;
}

body.mugm-body{
  color: var(--mugm-prem-text-1) !important;
  background:
    radial-gradient(1400px 760px at 16% -6%, rgba(79,208,255,.10), transparent 58%),
    radial-gradient(1100px 640px at 84% 0%, rgba(215,178,93,.10), transparent 54%),
    radial-gradient(1000px 700px at 50% 100%, rgba(20,38,70,.18), transparent 58%),
    linear-gradient(180deg, #04060b 0%, #090d16 24%, #0b111b 52%, #090d16 78%, #04060b 100%) !important;
}

body.mugm-body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:0;
  opacity:.35;
  background:
    linear-gradient(transparent 0%, rgba(255,255,255,.012) 50%, transparent 100%),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 119px,
      rgba(255,255,255,.012) 120px
    );
}

.mugm-shell,
.container,
.container-fluid{
  position:relative;
  z-index:1;
}

::selection{
  background: rgba(79,208,255,.24);
  color:#ffffff;
}

/* =========================================================
   2) TIPOGRAFÍA Y JERARQUÍA
========================================================= */
.mugm-title,
.mugm-page-title span,
.mugm-section__title,
.mugm-gallery__title,
.mugm-leaderboard__title,
.mugm-footer__title,
.mugm-usercp__title,
.mugm-auth__headline,
.mugm-auth__cardTitle,
.mugm-hslide__title,
.mugm-dl-hero__title,
.mugm-don-hero__title,
.mugm-pay-hero__title,
.modal-title{
  color: var(--mugm-prem-text-1) !important;
  text-shadow:
    0 2px 0 rgba(255,255,255,.03),
    0 16px 46px rgba(0,0,0,.42) !important;
  letter-spacing: .7px !important;
}

.mugm-title__accent,
.mugm-auth__headline span{
  color: var(--mugm-prem-gold-2) !important;
  text-shadow:
    0 0 18px rgba(215,178,93,.10),
    0 18px 44px rgba(215,178,93,.16) !important;
}

.mugm-subtitle,
.mugm-kicker-text,
.mugm-hslide__text,
.mugm-footer__tagline,
.mugm-auth__cardSub,
.mugm-auth__switch,
.mugm-help__link,
.mugm-hint,
.mugm-legal,
.mugm-entry__sub,
.mugm-event-next,
.mugm-empty,
.mugm-dl-hero__sub,
.mugm-don-hero__sub,
.mugm-pay-hero__sub{
  color: var(--mugm-prem-text-3) !important;
}

/* =========================================================
   3) TOPBAR + HEADER
========================================================= */
.mugm-topbar{
  background:
    linear-gradient(180deg, rgba(7,10,18,.92), rgba(8,12,20,.82)) !important;
  border-bottom: 1px solid rgba(255,255,255,.06) !important;
  backdrop-filter: blur(16px) saturate(130%) !important;
  box-shadow:
    inset 0 -1px 0 rgba(255,255,255,.02),
    0 14px 28px rgba(0,0,0,.16) !important;
}

.mugm-topbar::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-1px;
  height:1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(215,178,93,.20) 26%,
    rgba(79,208,255,.16) 50%,
    rgba(215,178,93,.20) 74%,
    transparent
  );
  pointer-events:none;
  opacity:.75;
}

.mugm-header{
  background:
    linear-gradient(180deg, rgba(9,13,22,.92), rgba(9,14,23,.82)) !important;
  border-bottom: 1px solid rgba(255,255,255,.06) !important;
  backdrop-filter: blur(16px) saturate(130%) !important;
  box-shadow:
    inset 0 -1px 0 rgba(255,255,255,.02),
    0 18px 36px rgba(0,0,0,.20) !important;
}

.mugm-header__inner{
  min-height: 76px !important;
}

.mugm-brand__logo{
  filter:
    drop-shadow(0 10px 26px rgba(0,0,0,.45))
    drop-shadow(0 0 14px rgba(215,178,93,.06)) !important;
}

/* =========================================================
   4) BADGES / CHIPS / LINKS SUPERIORES
========================================================= */
.mugm-badge,
.mugm-clock,
.mugm-link,
.mugm-link--discord,
.mugm-social,
.mugm-link--icon,
.mugm-themebtn,
.mugm-chip{
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025)) !important;
  color: var(--mugm-prem-text-2) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 8px 18px rgba(0,0,0,.16) !important;
}

.mugm-badge--version{
  border-color: rgba(215,178,93,.24) !important;
  background:
    linear-gradient(180deg, rgba(239,209,139,.14), rgba(215,178,93,.08)) !important;
  color: #fff0cc !important;
  box-shadow: var(--mugm-prem-glow-gold) !important;
}

.mugm-link:hover,
.mugm-social:hover,
.mugm-link--icon:hover,
.mugm-link--discord:hover{
  color:#ffffff !important;
  border-color: rgba(255,255,255,.15) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.035)) !important;
  transform: translateY(-1px);
}

/* =========================================================
   5) NAVBAR PREMIUM SERIO
========================================================= */
.mugm-nav__list a,
.mugm-nav--desktop .mugm-nav__list > li > a,
.mugm-nav--mobile .mugm-nav__list a{
  position:relative !important;
  border-radius: 999px !important;
  padding: 10px 14px !important;
  border: 1px solid transparent !important;
  color: var(--mugm-prem-text-3) !important;
  background: transparent !important;
  transition:
    color .18s ease,
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease,
    transform .18s ease !important;
}

.mugm-nav__list a::before,
.mugm-nav--desktop .mugm-nav__list > li > a::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  opacity:0;
  pointer-events:none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  transition: opacity .18s ease !important;
}

.mugm-nav__list a:hover,
.mugm-nav__list .active > a,
.mugm-nav__list li.active > a,
.mugm-nav--desktop .mugm-nav__list > li > a:hover,
.mugm-nav--mobile .mugm-nav__list a:hover{
  color:#ffffff !important;
  border-color: rgba(255,255,255,.10) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 10px 20px rgba(0,0,0,.16) !important;
  transform: translateY(-1px);
}

.mugm-nav__list a:hover::before,
.mugm-nav__list .active > a::before,
.mugm-nav__list li.active > a::before{
  opacity:1;
}

.mugm-nav__list .active > a,
.mugm-nav__list li.active > a{
  border-color: rgba(215,178,93,.16) !important;
  box-shadow:
    0 0 0 1px rgba(215,178,93,.06),
    0 12px 22px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,248,228,.04) !important;
}

.mugm-nav__list .dropdown-menu{
  background:
    linear-gradient(180deg, rgba(12,17,28,.98), rgba(10,15,24,.98)) !important;
  border: 1px solid rgba(255,255,255,.09) !important;
  border-radius: 14px !important;
  box-shadow: var(--mugm-prem-shadow-lg) !important;
}

/* =========================================================
   6) BOTONES
========================================================= */
.mugm-btn,
.btn,
.btn-primary,
.btn-vip,
.btn-castlewidget{
  border-radius: 999px !important;
  font-weight: 800 !important;
  letter-spacing: .22px !important;
  transition:
    transform .18s ease,
    filter .18s ease,
    box-shadow .18s ease,
    border-color .18s ease,
    background .18s ease !important;
}

.mugm-btn:hover,
.btn:hover,
.btn-primary:hover,
.btn-vip:hover,
.btn-castlewidget:hover{
  transform: translateY(-1px);
}

.mugm-btn--ghost{
  color: #eef4ff !important;
  border-color: rgba(255,255,255,.10) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 10px 22px rgba(0,0,0,.16) !important;
}

.mugm-btn--ghost:hover{
  border-color: rgba(255,255,255,.16) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04)) !important;
}

.mugm-btn--gold,
.btn-primary,
.btn-vip{
  color:#1b1409 !important;
  border: 1px solid rgba(239,209,139,.34) !important;
  background:
    linear-gradient(180deg, #efd18b 0%, #d7b25d 52%, #b98b37 100%) !important;
  box-shadow:
    0 16px 34px rgba(215,178,93,.18),
    inset 0 1px 0 rgba(255,247,226,.34),
    inset 0 -1px 0 rgba(107,73,24,.18) !important;
}

.mugm-btn--gold:hover,
.btn-primary:hover,
.btn-vip:hover{
  filter: brightness(1.035) saturate(1.02) !important;
  box-shadow:
    0 20px 42px rgba(215,178,93,.22),
    inset 0 1px 0 rgba(255,247,226,.38),
    inset 0 -1px 0 rgba(107,73,24,.22) !important;
}

/* =========================================================
   7) SUPERFICIES GLOBALES / CARDS / MÓDULOS
========================================================= */
.mugm-section,
.mugm-home-block,
.mugm-leaderboard,
.mugm-footer__brand,
.mugm-footer__col,
.mugm-usercp,
.mugm-auth__panel,
.mugm-auth__card,
.mugm-dl-hero,
.mugm-don-hero,
.mugm-pay-hero,
.mugm-dl-tip,
.mugm-don-card,
.mugm-pay-card,
.mugm-evcard,
.mugm-ann-card,
.mugm-info-sidebar,
.mugm-guide-panel,
.castle-siege-block,
.profiles_player_card,
.profiles_guild_card,
.mugm-modal,
.modal-content,
.rankings-home-box,
.we-box,
.panel{
  position:relative !important;
  border-radius: var(--mugm-prem-r-lg) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  background:
    radial-gradient(900px 260px at 0% 0%, rgba(79,208,255,.05), transparent 34%),
    radial-gradient(900px 260px at 100% 0%, rgba(215,178,93,.05), transparent 34%),
    linear-gradient(180deg, rgba(16,23,38,.92), rgba(9,14,24,.95)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    inset 0 -1px 0 rgba(0,0,0,.18),
    0 22px 54px rgba(0,0,0,.34) !important;
  overflow:hidden !important;
}

.mugm-section::before,
.mugm-home-block::before,
.mugm-leaderboard::before,
.mugm-footer__brand::before,
.mugm-footer__col::before,
.mugm-usercp::before,
.mugm-auth__panel::before,
.mugm-auth__card::before,
.mugm-dl-hero::before,
.mugm-don-hero::before,
.mugm-pay-hero::before,
.mugm-dl-tip::before,
.mugm-don-card::before,
.mugm-pay-card::before,
.mugm-evcard::before,
.mugm-ann-card::before,
.mugm-info-sidebar::before,
.mugm-guide-panel::before,
.castle-siege-block::before,
.profiles_player_card::before,
.profiles_guild_card::before,
.mugm-modal::before,
.modal-content::before,
.rankings-home-box::before,
.we-box::before,
.panel::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.032), transparent 24%),
    linear-gradient(90deg, rgba(79,208,255,.018), transparent 28%, transparent 72%, rgba(215,178,93,.018));
}

/* =========================================================
   8) CABECERAS DE MÓDULO
========================================================= */
.mugm-section__head,
.mugm-leaderboard__head,
.mugm-usercp__head,
.mugm-auth__cardHead,
.mugm-modal__header,
.modal-header{
  border-bottom: 1px solid rgba(255,255,255,.06) !important;
  background:
    radial-gradient(700px 220px at 18% 0%, rgba(215,178,93,.08), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015)) !important;
}

.mugm-section__title,
.mugm-leaderboard__title,
.mugm-usercp__title,
.mugm-auth__cardTitle,
.mugm-footer__title{
  position:relative;
  padding-left: 16px !important;
}

.mugm-section__title::before,
.mugm-leaderboard__title::before,
.mugm-usercp__title::before,
.mugm-auth__cardTitle::before,
.mugm-footer__title::before{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  width:6px;
  height:22px;
  transform:translateY(-50%);
  border-radius:999px;
  background: linear-gradient(180deg, var(--mugm-prem-gold-1), var(--mugm-prem-gold-2));
  box-shadow: 0 0 12px rgba(215,178,93,.18);
}

/* =========================================================
   9) HERO PRINCIPAL
========================================================= */
.mugm-hero{
  padding-top: 48px !important;
  padding-bottom: 34px !important;
}

.mugm-hero__bg{
  background:
    radial-gradient(1000px 560px at 26% 10%, rgba(79,208,255,.17), transparent 58%),
    radial-gradient(900px 520px at 80% 8%, rgba(215,178,93,.14), transparent 54%),
    linear-gradient(180deg, rgba(15,23,38,.88), rgba(5,8,14,.22)) !important;
}

.mugm-hero::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:120px;
  pointer-events:none;
  background: linear-gradient(180deg, transparent, rgba(4,6,11,.62));
}

.mugm-hero__copy{
  position:relative;
  z-index:2;
}

.mugm-title{
  font-size: clamp(30px, 3.3vw, 48px) !important;
  line-height: 1.03 !important;
}

.mugm-subtitle{
  max-width: 60ch !important;
}

.mugm-stat{
  border-radius: 14px !important;
  border-color: rgba(255,255,255,.09) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 10px 20px rgba(0,0,0,.16) !important;
}

.mugm-stat__label{
  color: var(--mugm-prem-text-4) !important;
  text-transform: uppercase;
  letter-spacing: .55px;
}

.mugm-stat__value{
  color:#ffffff !important;
  text-shadow: 0 10px 24px rgba(0,0,0,.24);
}

.mugm-hero__img{
  opacity: .98 !important;
  filter:
    drop-shadow(0 28px 70px rgba(0,0,0,.58))
    drop-shadow(0 0 22px rgba(215,178,93,.05)) !important;
}

/* =========================================================
   10) SLIDER HIGHLIGHT
========================================================= */
.mugm-hslider__frame{
  border-radius: 18px !important;
  border-color: rgba(255,255,255,.08) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 24px 58px rgba(0,0,0,.34) !important;
}

.mugm-hslide{
  filter: saturate(1.02) contrast(1.03) !important;
}

.mugm-hslide__overlay{
  background:
    radial-gradient(980px 420px at 18% 52%, rgba(7,10,17,.14), rgba(7,10,17,.74) 56%, rgba(7,10,17,.94)),
    linear-gradient(90deg, rgba(7,10,17,.88), rgba(7,10,17,.36) 56%, rgba(7,10,17,.88)) !important;
}

.mugm-hslide__tag{
  border-color: rgba(79,208,255,.20) !important;
  background:
    linear-gradient(180deg, rgba(79,208,255,.18), rgba(79,208,255,.08)) !important;
  color:#eefaff !important;
  box-shadow: var(--mugm-prem-glow-blue) !important;
}

.mugm-hslide__tag--gold{
  border-color: rgba(215,178,93,.22) !important;
  background:
    linear-gradient(180deg, rgba(215,178,93,.16), rgba(215,178,93,.08)) !important;
  color:#fff3da !important;
  box-shadow: var(--mugm-prem-glow-gold) !important;
}

.mugm-hslide__title{
  font-size: clamp(28px, 2.7vw, 38px) !important;
}

.mugm-hslide__text{
  color: rgba(234,239,248,.88) !important;
}

.mugm-hslider__dots .swiper-pagination-bullet{
  width: 9px !important;
  height: 9px !important;
  background: rgba(255,255,255,.16) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
}

.mugm-hslider__dots .swiper-pagination-bullet-active{
  background: rgba(215,178,93,.92) !important;
  border-color: rgba(215,178,93,.42) !important;
  box-shadow: 0 0 18px rgba(215,178,93,.18) !important;
}

/* =========================================================
   11) GALLERY / CAROUSEL / LIGHTBOX
========================================================= */
.mugm-gallery__viewport{
  border-radius: 16px !important;
  border-color: rgba(255,255,255,.08) !important;
  background:
    linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.24)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.02),
    0 18px 42px rgba(0,0,0,.26) !important;
}

.mugm-gallery__card{
  border-radius: 16px !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  background: rgba(255,255,255,.04) !important;
  box-shadow: 0 20px 48px rgba(0,0,0,.38) !important;
}

.mugm-gallery__img{
  filter: contrast(1.03) saturate(1.06) !important;
}

.mugm-gallery__shine{
  background:
    radial-gradient(460px 220px at 18% 0%, rgba(255,255,255,.11), transparent 44%),
    linear-gradient(180deg, rgba(9,13,22,.04), rgba(9,13,22,.48)) !important;
}

.mugm-gallery__card:hover{
  border-color: rgba(215,178,93,.18) !important;
  box-shadow:
    0 24px 56px rgba(0,0,0,.42),
    0 0 0 1px rgba(215,178,93,.05) !important;
}

.mugm-gallery__card:hover .mugm-gallery__img{
  transform: scale(1.055) !important;
  filter: contrast(1.05) saturate(1.12) !important;
}

.mugm-lightbox__panel{
  border-radius: 18px !important;
  border-color: rgba(255,255,255,.12) !important;
  background:
    linear-gradient(180deg, rgba(14,20,33,.92), rgba(10,15,24,.95)) !important;
  box-shadow: 0 34px 100px rgba(0,0,0,.68) !important;
}

/* =========================================================
   12) RANKINGS / TABLAS / HOME RANKING
========================================================= */
.mugm-leaderboard{
  border-color: rgba(255,255,255,.08) !important;
}

.mugm-leaderboard__head{
  background:
    radial-gradient(760px 220px at 18% 0%, rgba(215,178,93,.10), transparent 54%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02)) !important;
}

.mugm-leaderboard__title i{
  color: rgba(239,209,139,.96) !important;
  filter: drop-shadow(0 0 10px rgba(215,178,93,.16));
}

.mugm-leaderboard__link{
  border-color: rgba(255,255,255,.10) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03)) !important;
  color: var(--mugm-prem-text-2) !important;
}

.mugm-leaderboard__link:hover{
  color:#ffffff !important;
  border-color: rgba(215,178,93,.16) !important;
  box-shadow: 0 10px 22px rgba(0,0,0,.16) !important;
}

.mugm-entry{
  border-radius: 14px !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.022)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02) !important;
}

.mugm-entry:hover{
  border-color: rgba(215,178,93,.15) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.03)) !important;
  box-shadow:
    0 14px 24px rgba(0,0,0,.18),
    0 0 0 1px rgba(215,178,93,.04) !important;
}

.mugm-rankpos{
  border-color: rgba(255,255,255,.10) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)) !important;
  color:#ffffff !important;
}

.mugm-medal--gold{ color: #efcf82 !important; }
.mugm-medal--silver{ color: #dde6f2 !important; }
.mugm-medal--bronze{ color: #c98a5b !important; }

.mugm-entry__avatar,
.mugm-entry__guildlogo{
  border-color: rgba(255,255,255,.10) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03)) !important;
}

.mugm-entry__name,
.rank-name,
.rank-name a,
.guild_name,
.cname{
  color:#ffffff !important;
}

.mugm-entry__sub,
.mugm-entry__statlabel{
  color: var(--mugm-prem-text-4) !important;
}

.mugm-entry__statvalue{
  color:#ffffff !important;
  text-shadow: 0 8px 18px rgba(0,0,0,.20);
}

.table,
.general-table-ui,
.table-responsive,
.rankings-home-box .table{
  background: transparent !important;
}

.table thead th,
.general-table-ui thead th,
.rankings-home-box .table > thead > tr > th{
  border-color: rgba(255,255,255,.07) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025)) !important;
  color:#ffffff !important;
}

.table tbody td,
.general-table-ui tbody td,
.rankings-home-box .table > tbody > tr > td{
  border-color: rgba(255,255,255,.05) !important;
  color: var(--mugm-prem-text-2) !important;
}

/* =========================================================
   13) EVENTOS / NEWS / SIDEBARS
========================================================= */
.mugm-event-card{
  border-bottom: 1px solid rgba(255,255,255,.06) !important;
  transition:
    background .18s ease,
    border-color .18s ease,
    transform .18s ease !important;
}

.mugm-event-card:hover{
  background: rgba(255,255,255,.03) !important;
}

.mugm-event-name{
  color:#ffffff !important;
  font-weight: 900 !important;
}

.mugm-event-next{
  color: var(--mugm-prem-text-4) !important;
}

.mugm-event-next span{
  color: var(--mugm-prem-blue-1) !important;
}

.mugm-event-badge,
.mugm-events-tab.is-blue{
  border-color: rgba(79,208,255,.22) !important;
  background:
    linear-gradient(180deg, rgba(79,208,255,.18), rgba(79,208,255,.08)) !important;
  color:#eefaff !important;
  box-shadow: var(--mugm-prem-glow-blue) !important;
}

.mugm-events-tab.is-gold{
  border-color: rgba(215,178,93,.22) !important;
  background:
    linear-gradient(180deg, rgba(215,178,93,.16), rgba(215,178,93,.08)) !important;
  color:#fff1d3 !important;
  box-shadow: var(--mugm-prem-glow-gold) !important;
}

.mugm-events-tab.is-red{
  border-color: rgba(226,102,90,.22) !important;
  background:
    linear-gradient(180deg, rgba(226,102,90,.16), rgba(226,102,90,.08)) !important;
  color:#fff1ef !important;
}

.mugm-info-link,
.mugm-ann-file,
.list-group-item{
  border-radius: 14px !important;
  border-color: rgba(255,255,255,.08) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025)) !important;
}

.mugm-info-link:hover,
.mugm-ann-file:hover,
.list-group-item:hover{
  border-color: rgba(79,208,255,.16) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.03)) !important;
}

/* =========================================================
   14) USERCP
========================================================= */
.mugm-usercp__head{
  background:
    radial-gradient(700px 220px at 18% 0%, rgba(79,208,255,.09), transparent 56%),
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.02)) !important;
}

.mugm-usercp__item{
  border-radius: 14px !important;
  border-color: rgba(255,255,255,.08) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.022)) !important;
}

.mugm-usercp__item:hover{
  border-color: rgba(215,178,93,.14) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.03)) !important;
  box-shadow: 0 12px 22px rgba(0,0,0,.16) !important;
}

.mugm-usercp__icon{
  border-color: rgba(255,255,255,.10) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03)) !important;
}

/* =========================================================
   15) AUTH / LOGIN / REGISTER
========================================================= */
.mugm-auth__panelGlow{
  background:
    radial-gradient(980px 520px at 24% 8%, rgba(79,208,255,.16), transparent 58%),
    radial-gradient(900px 520px at 82% 0%, rgba(215,178,93,.15), transparent 54%),
    linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.34)) !important;
}

.mugm-auth__badge,
.mugm-dl-hero__badge,
.mugm-don-hero__badge{
  border-color: rgba(255,255,255,.10) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 10px 20px rgba(0,0,0,.14) !important;
}

.mugm-auth__bullets li{
  border-radius: 14px !important;
  border-color: rgba(255,255,255,.08) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.022)) !important;
}

.mugm-auth__bullets i{
  color: var(--mugm-prem-blue-2) !important;
}

.mugm-form{
  gap: 13px !important;
}

.mugm-label,
label{
  color: var(--mugm-prem-text-2) !important;
  font-weight: 800 !important;
  letter-spacing: .25px;
}

.mugm-input,
.form-control,
.form-input,
.form-select,
input,
select,
textarea{
  border-radius: 14px !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  background:
    linear-gradient(180deg, rgba(6,10,18,.92), rgba(10,15,24,.98)) !important;
  color:#ffffff !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025),
    0 8px 16px rgba(0,0,0,.12) !important;
}

.mugm-input i{
  color: var(--mugm-prem-text-4) !important;
}

.mugm-input input,
.form-control,
.form-input,
.form-select,
input,
select,
textarea{
  color:#ffffff !important;
}

.mugm-input input::placeholder,
.form-control::placeholder,
.form-input::placeholder,
input::placeholder,
textarea::placeholder{
  color: rgba(177,188,210,.55) !important;
}

.mugm-input:focus-within,
.form-control:focus,
.form-input:focus,
.form-select:focus,
input:focus,
select:focus,
textarea:focus{
  border-color: rgba(79,208,255,.24) !important;
  box-shadow:
    0 0 0 3px rgba(79,208,255,.08),
    0 12px 24px rgba(0,0,0,.18) !important;
  outline: none !important;
}

/* =========================================================
   16) DOWNLOADS / DONATIONS / PAYMENTS
========================================================= */
.mugm-dl-hero__bg,
.mugm-don-hero__bg{
  background:
    radial-gradient(980px 520px at 24% 8%, rgba(79,208,255,.14), transparent 58%),
    radial-gradient(900px 520px at 82% 0%, rgba(215,178,93,.14), transparent 54%),
    linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.32)) !important;
}

.mugm-dl-trust,
.mugm-don-price,
.mugm-pay-card,
.mugm-dl-item{
  border-radius: 14px !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.022)) !important;
}

.mugm-dl-trust:hover,
.mugm-don-card:hover,
.mugm-pay-card:hover,
.mugm-dl-item:hover{
  border-color: rgba(215,178,93,.14) !important;
  box-shadow: 0 14px 26px rgba(0,0,0,.18) !important;
}

.mugm-pay-card.is-featured,
.mugm-don-card.is-featured{
  border-color: rgba(215,178,93,.18) !important;
  box-shadow:
    0 0 0 1px rgba(215,178,93,.05),
    0 18px 40px rgba(215,178,93,.08),
    0 22px 46px rgba(0,0,0,.24) !important;
}

/* =========================================================
   17) ALERTAS / ESTADOS
========================================================= */
.mugm-alert,
.alert{
  border-radius: 14px !important;
  border-width: 1px !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025),
    0 10px 18px rgba(0,0,0,.10) !important;
}

.mugm-alert--danger,
.mugm-alert--error,
.alert-danger{
  border-color: rgba(226,102,90,.24) !important;
  background:
    linear-gradient(180deg, rgba(226,102,90,.14), rgba(226,102,90,.08)) !important;
  color:#fff0ee !important;
}

.mugm-alert--success,
.alert-success{
  border-color: rgba(53,208,132,.24) !important;
  background:
    linear-gradient(180deg, rgba(53,208,132,.14), rgba(53,208,132,.08)) !important;
  color:#eafff3 !important;
}

.mugm-alert--warning,
.alert-warning{
  border-color: rgba(227,184,90,.24) !important;
  background:
    linear-gradient(180deg, rgba(227,184,90,.14), rgba(227,184,90,.08)) !important;
  color:#fff8e9 !important;
}

.mugm-alert--info,
.alert-info{
  border-color: rgba(79,208,255,.24) !important;
  background:
    linear-gradient(180deg, rgba(79,208,255,.14), rgba(79,208,255,.08)) !important;
  color:#edfaff !important;
}

.mugm-dot--online{
  background: var(--mugm-prem-success) !important;
  box-shadow:
    0 0 0 6px rgba(53,208,132,.10),
    0 0 18px rgba(53,208,132,.20) !important;
}

.mugm-dot--offline{
  background: var(--mugm-prem-danger) !important;
  box-shadow:
    0 0 0 6px rgba(226,102,90,.10),
    0 0 18px rgba(226,102,90,.18) !important;
}

/* =========================================================
   18) MODALES
========================================================= */
.modal-backdrop,
.mugm-modal-backdrop{
  background: rgba(4,7,13,.82) !important;
  backdrop-filter: blur(7px) !important;
}

.mugm-modal,
.modal-content{
  border-radius: 16px !important;
}

.modal .close,
.mugm-modal .close,
.mugm-lightbox__close{
  color:#ffffff !important;
  opacity:.88 !important;
  text-shadow:none !important;
}

.modal .close:hover,
.mugm-modal .close:hover,
.mugm-lightbox__close:hover{
  opacity:1 !important;
}

/* =========================================================
   19) FOOTER
========================================================= */
footer,
.mugm-footer,
.we-footer{
  position:relative !important;
  margin-top: 34px !important;
  border-top: 1px solid rgba(255,255,255,.07) !important;
  background:
    radial-gradient(1000px 420px at 14% 0%, rgba(215,178,93,.10), transparent 56%),
    radial-gradient(1000px 420px at 86% 0%, rgba(79,208,255,.11), transparent 56%),
    linear-gradient(180deg, rgba(8,12,20,.78), rgba(5,8,14,.96)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.02),
    0 -18px 40px rgba(0,0,0,.14) !important;
}

footer::before,
.mugm-footer::before,
.we-footer::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:1px;
  background:
    linear-gradient(90deg, transparent, rgba(215,178,93,.22), rgba(79,208,255,.18), transparent);
  opacity:.8;
  pointer-events:none;
}

.mugm-footer__brand,
.mugm-footer__col{
  background:
    radial-gradient(700px 220px at 0% 0%, rgba(255,255,255,.02), transparent 34%),
    linear-gradient(180deg, rgba(17,24,40,.80), rgba(11,16,28,.92)) !important;
}

.mugm-footer__logo img{
  filter:
    drop-shadow(0 12px 28px rgba(0,0,0,.48))
    drop-shadow(0 0 14px rgba(215,178,93,.06)) !important;
}

.mugm-footer__links a{
  border-radius: 14px !important;
  border-color: rgba(255,255,255,.08) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.022)) !important;
  color: var(--mugm-prem-text-2) !important;
}

.mugm-footer__links a:hover{
  color:#ffffff !important;
  border-color: rgba(79,208,255,.14) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)) !important;
}

.mugm-social--discord{
  border-color: rgba(88,101,242,.22) !important;
  background:
    linear-gradient(180deg, rgba(88,101,242,.16), rgba(88,101,242,.08)) !important;
}

/* =========================================================
   20) SCROLLBARS / PEQUEÑOS DETALLES
========================================================= */
html{
  scrollbar-width: thin;
  scrollbar-color: rgba(215,178,93,.34) rgba(255,255,255,.04);
}

::-webkit-scrollbar{
  width: 11px;
  height: 11px;
}

::-webkit-scrollbar-track{
  background: rgba(255,255,255,.035);
}

::-webkit-scrollbar-thumb{
  border-radius: 999px;
  border: 2px solid rgba(7,10,16,.92);
  background:
    linear-gradient(180deg, rgba(215,178,93,.48), rgba(79,208,255,.34));
}

/* =========================================================
   21) RESPONSIVE FINO
========================================================= */
@media (max-width: 991px){
  .mugm-section,
  .mugm-home-block,
  .mugm-leaderboard,
  .mugm-footer__brand,
  .mugm-footer__col,
  .mugm-usercp,
  .mugm-auth__panel,
  .mugm-auth__card,
  .mugm-dl-hero,
  .mugm-don-hero,
  .mugm-pay-hero,
  .mugm-dl-tip,
  .mugm-don-card,
  .mugm-pay-card,
  .mugm-evcard,
  .mugm-ann-card,
  .mugm-info-sidebar,
  .mugm-guide-panel,
  .castle-siege-block,
  .profiles_player_card,
  .profiles_guild_card,
  .mugm-modal,
  .modal-content{
    border-radius: 16px !important;
  }

  .mugm-title{
    line-height: 1.04 !important;
  }

  .mugm-hslider__frame,
  .mugm-hslide{
    border-radius: 16px !important;
  }
}