/* ============================================================
   Click · Perfil Modular V1
   Portada + identidad/bio permanecen fijas.
   El resto del perfil se puede mover, ocultar y redimensionar.
   ============================================================ */

.profile-v396-shell .profile-v396-hero{
  position:relative;
  min-height:360px!important;
  height:360px!important;
}
.profile-v396-shell .profile-v396-cover{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:360px!important;
  min-height:360px!important;
}

.profile-modular-layout{
  width:100%;
  margin:22px auto 0;
  display:grid;
  grid-template-columns:minmax(330px,420px) minmax(0,1fr);
  gap:28px;
  align-items:start;
}
.profile-modular-fixed-column,
.profile-modular-workspace{
  min-width:0;
}
.profile-modular-fixed-column{
  display:grid;
  gap:18px;
  align-content:start;
}

/* La identidad es fija. Nunca forma parte del drag & drop. */
.profile-modular-fixed-column .profile-v396-identity-card{
  position:relative!important;
  inset:auto!important;
  top:auto!important;
  left:auto!important;
  right:auto!important;
  bottom:auto!important;
  width:100%!important;
  max-width:none!important;
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  box-sizing:border-box!important;
  z-index:4;
}
.profile-modular-fixed-column .profile-v396-avatar-wrap{
  z-index:7!important;
}
.profile-modular-fixed-note{
  min-height:34px;
  padding:7px 11px;
  border:1px dashed rgba(205,185,255,.55);
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(89,49,151,.22);
  color:#e7dcff;
  font-size:10px;
  font-weight:900;
}
.profile-modular-fixed-note[hidden]{display:none!important}

.profile-modular-zone{
  min-width:0;
  position:relative;
}
.profile-modular-zone-left{
  display:grid;
  gap:14px;
  align-content:start;
}
.profile-modular-zone-main{
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  gap:16px;
  align-items:start;
  grid-auto-flow:dense;
}
.profile-modular-zone:empty{
  min-height:0;
}

/* Todos los módulos dejan de usar posiciones antiguas del perfil. */
.profile-modular-module{
  position:relative!important;
  inset:auto!important;
  top:auto!important;
  left:auto!important;
  right:auto!important;
  bottom:auto!important;
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  height:auto!important;
  margin:0!important;
  box-sizing:border-box!important;
}
.profile-modular-module[hidden]{display:none!important}
.profile-modular-zone-main .profile-modular-module[data-module-size="small"]{grid-column:span 4}
.profile-modular-zone-main .profile-modular-module[data-module-size="medium"]{grid-column:span 8}
.profile-modular-zone-main .profile-modular-module[data-module-size="wide"]{grid-column:span 12}
.profile-modular-zone-left .profile-modular-module{grid-column:auto!important;width:100%!important}

/* Estadísticas: se transforma cuando va a una zona angosta. */
.profile-modular-module.profile-v396-stats-card{
  min-height:118px!important;
}
.profile-modular-zone-left .profile-v396-stats-card,
.profile-modular-zone-main .profile-v396-stats-card[data-module-size="small"]{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:0!important;
  padding:14px!important;
  min-height:250px!important;
  align-content:center!important;
}
.profile-modular-zone-left .profile-v396-stats-card>div,
.profile-modular-zone-main .profile-v396-stats-card[data-module-size="small"]>div{
  min-width:0;
  padding:14px 8px!important;
  border:0!important;
  text-align:center;
}
.profile-modular-zone-left .profile-v396-stats-card .profile-v396-level,
.profile-modular-zone-main .profile-v396-stats-card[data-module-size="small"] .profile-v396-level{
  grid-column:1/-1;
  border-top:1px solid rgba(255,255,255,.10)!important;
  text-align:left!important;
  padding:15px 10px 4px!important;
}
.profile-modular-zone-main .profile-v396-stats-card[data-module-size="medium"]{
  min-height:150px!important;
}

/* Insignias compactas. */
.profile-modular-zone-left .profile-badges-v2-showcase,
.profile-modular-zone-main .profile-badges-v2-showcase[data-module-size="small"]{
  padding:14px!important;
}
.profile-modular-zone-left .profile-badges-v2-list,
.profile-modular-zone-main .profile-badges-v2-showcase[data-module-size="small"] .profile-badges-v2-list{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:7px!important;
}
.profile-modular-zone-left .profile-badges-v2-list figure,
.profile-modular-zone-main .profile-badges-v2-showcase[data-module-size="small"] .profile-badges-v2-list figure{
  min-width:0!important;
  padding:8px 3px!important;
}
.profile-modular-zone-left .profile-badges-v2-list img,
.profile-modular-zone-main .profile-badges-v2-showcase[data-module-size="small"] .profile-badges-v2-list img{
  width:42px!important;
  height:42px!important;
}
.profile-modular-zone-left .profile-badges-v2-list figcaption,
.profile-modular-zone-main .profile-badges-v2-showcase[data-module-size="small"] .profile-badges-v2-list figcaption{
  font-size:7px!important;
}

/* Feed e intereses pasan a ser bloques de la cuadrícula. */
.profile-modular-module.profile-v396-feed-panel,
.profile-modular-module.profile-v396-interests-panel{
  min-height:100%;
}
.profile-modular-zone-left .profile-v396-interests-panel,
.profile-modular-zone-main .profile-v396-interests-panel[data-module-size="small"]{
  padding:16px!important;
}
.profile-modular-zone-left .profile-v396-interest-list,
.profile-modular-zone-main .profile-v396-interests-panel[data-module-size="small"] .profile-v396-interest-list{
  display:grid!important;
  grid-template-columns:1fr!important;
}

/* Nueva tarjeta personalizada movible. */
.profile-custom-card{
  min-height:190px;
  padding:22px;
  border:1px solid rgba(177,145,255,.32);
  border-radius:24px;
  display:grid;
  grid-template-columns:62px minmax(0,1fr);
  gap:16px;
  align-items:start;
  background:linear-gradient(145deg,rgba(92,58,157,.82),rgba(48,27,107,.88));
  color:#fff;
  box-shadow:0 16px 35px rgba(20,10,62,.12);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
.profile-custom-card-icon{
  width:58px;height:58px;border-radius:18px;display:grid;place-items:center;
  background:linear-gradient(145deg,rgba(255,255,255,.18),rgba(255,255,255,.07));
  border:1px solid rgba(255,255,255,.18);font-size:27px
}
.profile-custom-card-copy{min-width:0}
.profile-custom-card-copy>span{display:block;color:#ccb8ff;font-size:9px;font-weight:1000;letter-spacing:.09em}
.profile-custom-card-copy h2{margin:5px 0 7px;color:#fff;font-size:20px}
.profile-custom-card-copy p{margin:0;color:#eee8ff;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.profile-custom-card-copy a{display:inline-flex;min-height:36px;margin-top:14px;padding:0 13px;border-radius:11px;align-items:center;background:#fff;color:#6f3cdb;text-decoration:none;font-size:10px;font-weight:900}
.profile-modular-zone-left .profile-custom-card,
.profile-modular-zone-main .profile-custom-card[data-module-size="small"]{
  grid-template-columns:1fr;
  min-height:230px;
}

/* ===== Modo organizar ===== */
.profile-modular-editbar{
  position:sticky;
  top:74px;
  z-index:110;
  width:100%;
  margin:14px 0 18px;
  min-height:64px;
  padding:10px 13px;
  border:1px solid rgba(187,157,255,.42);
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  background:rgba(28,17,76,.94);
  color:#fff;
  box-shadow:0 15px 38px rgba(18,9,55,.24);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}
.profile-modular-editbar[hidden]{display:none!important}
.profile-modular-editbar-title{display:flex;align-items:center;gap:10px;min-width:0}
.profile-modular-editbar-title>span{width:39px;height:39px;border-radius:13px;display:grid;place-items:center;background:#7546e7;font-size:20px}
.profile-modular-editbar-title strong,.profile-modular-editbar-title small{display:block}
.profile-modular-editbar-title strong{font-size:12px}
.profile-modular-editbar-title small{margin-top:2px;color:#cfc3ec;font-size:9px}
.profile-modular-editbar-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.profile-modular-editbar-actions button{
  min-height:38px;padding:0 12px;border:1px solid rgba(255,255,255,.16);border-radius:11px;
  background:rgba(255,255,255,.08);color:#fff;font:inherit;font-size:10px;font-weight:900;cursor:pointer
}
.profile-modular-editbar-actions button.primary{border-color:transparent;background:linear-gradient(135deg,#7746f5,#aa4aff)}
.profile-modular-save-state{color:#c8bdea;font-size:9px;font-weight:800;white-space:nowrap}
.profile-modular-save-state.saving{color:#f2cf79}
.profile-modular-save-state.saved{color:#9fe0ad}
.profile-modular-save-state.error{color:#ff9baa}

.profile-v396-shell.is-organizing .profile-modular-zone{
  min-height:110px;
  padding:10px;
  border:1px dashed rgba(193,163,255,.38);
  border-radius:20px;
  background:rgba(91,55,159,.07);
}
.profile-v396-shell.is-organizing .profile-modular-zone-left:empty::before,
.profile-v396-shell.is-organizing .profile-modular-zone-main:empty::before{
  content:"Soltar módulo aquí";
  min-height:88px;display:grid;place-items:center;color:#c3b2eb;font-size:10px;font-weight:900
}
.profile-v396-shell.is-organizing .profile-modular-module{
  outline:1px solid rgba(196,168,255,.42);
  outline-offset:2px;
  cursor:default;
}
.profile-v396-shell.is-organizing .profile-modular-fixed-note{display:flex!important}
.profile-v396-shell.is-organizing .profile-modular-module:not(.is-dragging){animation:profileModuleWiggle .26s ease-in-out infinite alternate}
.profile-v396-shell.is-organizing .profile-modular-module:nth-child(even){animation-delay:.13s}
@keyframes profileModuleWiggle{from{transform:rotate(-.15deg)}to{transform:rotate(.15deg)}}

.profile-module-editor{
  position:absolute;
  z-index:60;
  top:8px;
  right:8px;
  min-height:38px;
  max-width:calc(100% - 16px);
  padding:4px;
  border:1px solid rgba(255,255,255,.20);
  border-radius:12px;
  display:none;
  align-items:center;
  gap:4px;
  background:rgba(27,15,67,.92);
  color:#fff;
  box-shadow:0 8px 20px rgba(12,6,36,.22);
  backdrop-filter:blur(10px)
}
.profile-v396-shell.is-organizing .profile-module-editor{display:flex}
.profile-module-editor>span{max-width:130px;padding:0 5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;font-weight:900}
.profile-module-editor button{
  width:30px;height:30px;border:0;border-radius:9px;display:grid;place-items:center;
  background:rgba(255,255,255,.10);color:#fff;font:inherit;font-size:11px;font-weight:900;cursor:pointer
}
.profile-module-editor button:hover{background:rgba(255,255,255,.18)}
.profile-module-drag{cursor:grab!important;touch-action:none}
.profile-module-drag:active{cursor:grabbing!important}
.profile-modular-module.is-dragging{
  z-index:80;
  opacity:.86;
  transform:scale(.985)!important;
  box-shadow:0 20px 50px rgba(15,7,45,.30)!important;
  animation:none!important
}
.profile-module-drop-target{outline:2px solid rgba(169,111,255,.75)!important;outline-offset:4px!important}

/* Biblioteca de módulos */
.profile-module-library{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;padding:18px}
.profile-module-library[hidden]{display:none!important}
.profile-module-library-backdrop{position:absolute;inset:0;border:0;background:rgba(15,7,42,.68);backdrop-filter:blur(9px)}
.profile-module-library-panel{
  position:relative;z-index:1;width:min(620px,100%);max-height:calc(100vh - 36px);overflow:auto;
  border:1px solid rgba(174,136,255,.30);border-radius:25px;background:#fff;color:#352d62;box-shadow:0 28px 80px rgba(15,7,45,.34)
}
.profile-module-library-panel header{display:flex;justify-content:space-between;gap:14px;padding:20px 22px;border-bottom:1px solid #eee8fa}
.profile-module-library-panel header>div>span{color:#8054e8;font-size:9px;font-weight:1000;letter-spacing:.09em}
.profile-module-library-panel h2{margin:4px 0;color:#332b66;font-size:22px}
.profile-module-library-panel header p{margin:0;color:#8a839d;font-size:10px}
.profile-module-library-panel header>button{width:38px;height:38px;border:0;border-radius:50%;background:#f2edfb;color:#6940d2;font-size:22px;cursor:pointer}
.profile-module-library-list{display:grid;gap:8px;padding:16px 20px}
.profile-module-library-list>button{
  min-height:66px;padding:9px 11px;border:1px solid #e6e0f2;border-radius:15px;display:grid;
  grid-template-columns:42px minmax(0,1fr) 32px;gap:10px;align-items:center;background:#fcfbfe;color:#443d69;text-align:left;cursor:pointer
}
.profile-module-library-list>button>span{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#f0e9ff;color:#7547dc;font-size:19px}
.profile-module-library-list strong,.profile-module-library-list small{display:block}
.profile-module-library-list strong{font-size:11px}.profile-module-library-list small{margin-top:3px;color:#9189a2;font-size:9px}
.profile-module-library-list>button>b{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:#7948e7;color:#fff;font-size:15px}
.profile-module-library-list>button.is-added{opacity:.62;cursor:default}.profile-module-library-list>button.is-added>b{background:#e7e2ef;color:#8b829e}
.profile-module-library-panel footer{padding:0 20px 20px}.profile-module-library-panel footer a{display:flex;min-height:42px;align-items:center;justify-content:center;border-radius:12px;background:#f1ebff;color:#6e42d7;text-decoration:none;font-size:10px;font-weight:900}

@media(max-width:1150px){
  .profile-modular-layout{grid-template-columns:minmax(300px,350px) minmax(0,1fr);gap:18px}
  .profile-modular-zone-main .profile-modular-module[data-module-size="small"]{grid-column:span 6}
  .profile-modular-zone-main .profile-modular-module[data-module-size="medium"]{grid-column:span 12}
}

@media(max-width:900px){
  .profile-v396-shell .profile-v396-hero{
    height:auto!important;
    min-height:0!important;
  }
  .profile-v396-shell .profile-v396-cover{
    position:relative!important;
    inset:auto!important;
    height:220px!important;
    min-height:220px!important;
  }
  .profile-modular-layout{display:block;margin-top:12px}
  .profile-modular-fixed-column{display:block}
  .profile-modular-fixed-column .profile-v396-identity-card{
    width:calc(100% - 12px)!important;
    margin:0 auto 14px!important;
  }
  .profile-modular-zone-left{display:none!important}
  .profile-modular-workspace{width:100%}
  .profile-modular-zone-main{display:grid;grid-template-columns:1fr;gap:12px;padding:0 6px}
  .profile-modular-zone-main .profile-modular-module[data-module-size]{grid-column:1/-1!important}
  .profile-modular-zone-main .profile-v396-stats-card[data-module-size="small"]{min-height:0!important}
  .profile-modular-editbar{top:64px;margin:10px 6px 12px;width:calc(100% - 12px);align-items:flex-start;flex-direction:column}
  .profile-modular-editbar-actions{width:100%;justify-content:flex-start}
  .profile-modular-save-state{width:100%}
  .profile-module-editor>span{display:none}
  .profile-module-editor{top:6px;right:6px}
  .profile-custom-card{border-radius:20px}
  .profile-module-library{padding:7px;align-items:end}
  .profile-module-library-panel{width:100%;max-height:82vh;border-radius:22px 22px 14px 14px}
}

@media(max-width:480px){
  .profile-v396-shell .profile-v396-cover{height:185px!important;min-height:185px!important}
  .profile-modular-fixed-column .profile-v396-identity-card{width:calc(100% - 8px)!important}
  .profile-modular-zone-main{padding:0 4px;gap:10px}
  .profile-modular-editbar-actions button{flex:1;min-width:90px}
  .profile-custom-card{grid-template-columns:50px minmax(0,1fr);padding:17px;gap:12px}.profile-custom-card-icon{width:48px;height:48px;border-radius:15px;font-size:22px}
}

@media(prefers-reduced-motion:reduce){
  .profile-v396-shell.is-organizing .profile-modular-module{animation:none!important}
}

/* El marco premium sigue siendo visual dentro del nuevo layout modular. */
.profile-v396-shell.has-premium-frame .profile-modular-fixed-column .profile-v396-identity-card{
  position:relative!important;
  inset:auto!important;
  top:auto!important;
  left:auto!important;
  right:auto!important;
  bottom:auto!important;
  width:100%!important;
  height:auto!important;
  margin:0!important;
}


/* ============================================================
   Click · Perfil Modular V1.1
   FIX: elimina el espacio heredado del layout anterior
   y mejora la experiencia real de arrastrar módulos.
   ============================================================ */

/* El perfil anterior reservaba hasta 735px para el hero.
   Esta regla tiene mayor especificidad para anularlo incluso
   si profile-layout-detail.css usa !important. */
body.profile-premium-v396 .profile-v396-shell .profile-v396-hero,
.profile-premium-v396 .profile-v396-shell .profile-v396-hero{
  min-height:360px!important;
  height:360px!important;
  margin-bottom:0!important;
  padding-bottom:0!important;
}

body.profile-premium-v396 .profile-v396-shell .profile-v396-cover,
.profile-premium-v396 .profile-v396-shell .profile-v396-cover{
  height:360px!important;
  min-height:360px!important;
}

/* El organizador y los módulos empiezan inmediatamente debajo de la portada. */
.profile-v396-shell > .profile-modular-editbar{
  margin-top:14px!important;
}
.profile-v396-shell > .profile-modular-layout{
  margin-top:18px!important;
}

/* Si estamos organizando no dejar ninguna reserva invisible del layout viejo. */
.profile-v396-shell.is-organizing .profile-v396-hero{
  margin-bottom:0!important;
}
.profile-v396-shell.is-organizing .profile-modular-layout{
  padding-top:0!important;
}

/* El cuadro que estamos moviendo se queda como hueco suave
   mientras una copia flotante sigue el cursor. */
.profile-v396-shell.is-organizing .profile-modular-module.is-dragging{
  opacity:.28!important;
  transform:none!important;
  box-shadow:none!important;
  outline:2px dashed rgba(187,151,255,.55)!important;
  animation:none!important;
}

/* Copia flotante que sigue el mouse / dedo. */
.profile-module-drag-ghost{
  position:fixed!important;
  z-index:5000!important;
  pointer-events:none!important;
  margin:0!important;
  opacity:.94;
  transform:rotate(.35deg) scale(.99);
  box-shadow:0 24px 70px rgba(13,6,42,.42)!important;
  border-radius:22px;
  overflow:hidden;
  will-change:left,top;
}
.profile-module-drag-ghost .profile-module-editor{
  display:none!important;
}

/* Indicador más claro de la posición donde caerá. */
.profile-module-drop-target{
  outline:2px solid rgba(180,119,255,.92)!important;
  outline-offset:5px!important;
  box-shadow:0 0 0 6px rgba(159,91,255,.10)!important;
}
.profile-modular-zone.profile-module-drop-target{
  background:rgba(124,72,220,.15)!important;
}

/* La barra de edición no debe quedar perdida lejos del contenido. */
.profile-modular-editbar{
  scroll-margin-top:82px;
}

/* Handle más fácil de reconocer. */
.profile-v396-shell.is-organizing .profile-module-drag{
  background:linear-gradient(135deg,#7846ef,#a44fff)!important;
  cursor:grab!important;
}
.profile-v396-shell.is-organizing .profile-module-drag:active{
  cursor:grabbing!important;
}

/* En modo edición se permite iniciar el arrastre desde una zona vacía
   del cuadro, no únicamente desde el icono de puntos. */
.profile-v396-shell.is-organizing .profile-modular-module{
  user-select:none;
  -webkit-user-select:none;
}

/* Evitar que reglas antiguas vuelvan a empujar el contenido modular. */
body.profile-premium-v396 .profile-modular-layout,
.profile-premium-v396 .profile-modular-layout{
  position:relative!important;
  top:auto!important;
  left:auto!important;
  right:auto!important;
  bottom:auto!important;
}

/* Móvil: mismo principio, sin reserva de altura antigua. */
@media(max-width:900px){
  body.profile-premium-v396 .profile-v396-shell .profile-v396-hero,
  .profile-premium-v396 .profile-v396-shell .profile-v396-hero{
    min-height:0!important;
    height:auto!important;
  }
  body.profile-premium-v396 .profile-v396-shell .profile-v396-cover,
  .profile-premium-v396 .profile-v396-shell .profile-v396-cover{
    height:220px!important;
    min-height:220px!important;
  }
  .profile-module-drag-ghost{
    border-radius:18px;
  }
}

@media(max-width:480px){
  body.profile-premium-v396 .profile-v396-shell .profile-v396-cover,
  .profile-premium-v396 .profile-v396-shell .profile-v396-cover{
    height:185px!important;
    min-height:185px!important;
  }
}


/* ============================================================
   Click · Perfil Modular V1.3
   Controles creados SOLO mientras Organizar perfil está activo.
   ============================================================ */

/* Seguridad absoluta: en modo normal no puede verse ningún control. */
.profile-module-editor{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}

.profile-v396-shell.is-organizing .profile-module-editor{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  pointer-events:auto!important;
}

/* Arrastre desactivado completamente. */
.profile-module-drag,
.profile-module-drag-ghost,
.profile-module-drop-target{
  display:none!important;
}

.profile-v396-shell.is-organizing .profile-modular-module{
  animation:none!important;
  cursor:default!important;
  user-select:auto!important;
  -webkit-user-select:auto!important;
}

/* Panel solo con flechas / tamaño / ocultar. */
.profile-module-editor{
  position:absolute;
  z-index:90;
  top:8px;
  right:8px;
  max-width:min(310px,calc(100% - 16px));
  min-height:38px;
  padding:4px;
  border:1px solid rgba(255,255,255,.20);
  border-radius:12px;
  align-items:center;
  gap:4px;
  flex-wrap:wrap;
  background:rgba(27,15,67,.96);
  color:#fff;
  box-shadow:0 8px 20px rgba(12,6,36,.22);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

.profile-module-editor>span{
  max-width:118px;
  padding:0 5px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:9px;
  font-weight:900;
}

.profile-module-editor button{
  width:30px;
  height:30px;
  border:0;
  border-radius:9px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.10);
  color:#fff;
  font:inherit;
  font-size:11px;
  font-weight:900;
  cursor:pointer;
}

.profile-module-editor button:hover{
  background:rgba(255,255,255,.18);
}

.profile-module-editor button[disabled]{
  opacity:.35;
  cursor:not-allowed;
}

/* La barra principal también solo aparece en modo organizar. */
.profile-modular-editbar{
  display:none!important;
}
.profile-v396-shell.is-organizing > .profile-modular-editbar{
  display:flex!important;
}
.profile-v396-shell:not(.is-organizing) .profile-modular-fixed-note{
  display:none!important;
}

/* Ninguna apariencia de edición en modo normal. */
.profile-v396-shell:not(.is-organizing) .profile-modular-zone{
  border-color:transparent!important;
  background:transparent!important;
  padding:0!important;
}
.profile-v396-shell:not(.is-organizing) .profile-modular-module{
  outline:none!important;
  animation:none!important;
}

/* Quita cualquier reserva vieja y mantiene la portada compacta. */
body.profile-premium-v396 .profile-v396-shell .profile-v396-hero,
.profile-premium-v396 .profile-v396-shell .profile-v396-hero{
  min-height:360px!important;
  height:360px!important;
  margin-bottom:0!important;
  padding-bottom:0!important;
}

body.profile-premium-v396 .profile-v396-shell .profile-v396-cover,
.profile-premium-v396 .profile-v396-shell .profile-v396-cover{
  height:360px!important;
  min-height:360px!important;
}

.profile-v396-shell > .profile-modular-layout{
  margin-top:18px!important;
}

/* En móvil solo ↑ y ↓; no usamos cambio de columna. */
@media(max-width:900px){
  .profile-module-editor>span{
    display:none!important;
  }
  .profile-module-editor{
    top:6px;
    right:6px;
    max-width:210px;
  }
  .profile-module-editor [data-module-left],
  .profile-module-editor [data-module-right]{
    display:none!important;
  }

  body.profile-premium-v396 .profile-v396-shell .profile-v396-hero,
  .profile-premium-v396 .profile-v396-shell .profile-v396-hero{
    min-height:0!important;
    height:auto!important;
  }

  body.profile-premium-v396 .profile-v396-shell .profile-v396-cover,
  .profile-premium-v396 .profile-v396-shell .profile-v396-cover{
    height:220px!important;
    min-height:220px!important;
  }
}

@media(max-width:480px){
  body.profile-premium-v396 .profile-v396-shell .profile-v396-cover,
  .profile-premium-v396 .profile-v396-shell .profile-v396-cover{
    height:185px!important;
    min-height:185px!important;
  }
}
