html{scroll-behavior:smooth}

.egme-menu{
  position:relative;
  z-index:9998;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px;
  padding:12px;
  background:rgba(255,255,255,.97);
  border-radius:14px;
  box-shadow:0 5px 18px rgba(0,0,0,.10);
  transition:padding .2s ease,border-radius .2s ease,box-shadow .2s ease;
  overscroll-behavior-x:contain;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.egme-menu::-webkit-scrollbar{display:none;width:0;height:0}

/* Modo acompañante real: JavaScript la fija al llegar arriba. */
.egme-menu-placeholder{display:none}
.egme-menu.is-stuck{
  position:fixed;
  top:var(--egme-top,0px);
  left:var(--egme-left,0px);
  width:var(--egme-width,100%);
  max-width:none;
}
.egme-menu-placeholder.is-active{display:block}

.egme-menu__link{
  position:relative;
  flex:0 0 auto;
  border:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:9px 14px;
  border-radius:9px;
  background:#7b1f35;
  color:#fff;
  font-weight:700;
  line-height:1.15;
  white-space:nowrap;
  cursor:pointer;
  transition:background .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease;
}
.egme-menu__link:hover,.egme-menu__link:focus-visible{
  background:#5c1528;
  transform:translateY(-1px);
  outline:none;
}
.egme-menu__link.is-active{
  background:#f5c542;
  color:#35100f;
  box-shadow:0 2px 8px rgba(0,0,0,.16);
}
.egme-menu__link.is-active::after{
  content:"";
  position:absolute;
  left:18%;
  right:18%;
  bottom:3px;
  height:3px;
  border-radius:4px;
  background:#7b1f35;
}

/* Al quedar fija, se vuelve una sola fila más delgada para acompañar sin estorbar. */
.egme-menu.is-stuck{
  justify-content:flex-start;
  flex-wrap:nowrap;
  overflow-x:auto;
  padding:6px 8px;
  border-radius:0 0 12px 12px;
  box-shadow:0 4px 14px rgba(0,0,0,.14);
}
.egme-menu.is-stuck .egme-menu__link{
  min-height:36px;
  padding:7px 11px;
  font-size:14px;
}

.egme-back-top{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:99999;
  width:46px;
  height:46px;
  border:0;
  border-radius:50%;
  background:#7b1f35;
  color:#fff;
  font-size:24px;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 7px 20px rgba(0,0,0,.28);
  opacity:0;
  visibility:hidden;
  transform:translateY(12px);
  transition:.2s ease;
}
.egme-back-top.is-visible{opacity:1;visibility:visible;transform:translateY(0)}

@media(max-width:767px){
  .egme-menu{
    justify-content:flex-start;
    flex-wrap:nowrap;
    overflow-x:auto;
    gap:8px;
    padding:9px 10px;
    border-radius:12px;
  }
  .egme-menu__link{min-height:40px;padding:8px 12px;font-size:16px}
  .egme-menu.is-stuck{padding:5px 7px}
  .egme-menu.is-stuck .egme-menu__link{min-height:34px;padding:6px 10px;font-size:14px}
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .egme-menu,.egme-menu__link,.egme-back-top{transition:none}
}

/* ================= PLAZA CIUDADANA ================= */
.egme-plaza-launcher{position:fixed;right:18px;bottom:78px;z-index:100000;border:0;border-radius:999px;background:#7b1f35;color:#fff;min-width:58px;height:58px;padding:0 17px;font-weight:800;font-size:16px;box-shadow:0 10px 28px rgba(0,0,0,.28);cursor:pointer;display:flex;align-items:center;gap:8px}.egme-plaza-launcher__icon{font-size:25px}.egme-plaza-launcher__dot{position:absolute;right:2px;top:2px;width:12px;height:12px;border-radius:50%;background:#e8344e;border:2px solid #fff;display:none}.egme-plaza-launcher.has-new .egme-plaza-launcher__dot{display:block}
.egme-plaza{position:fixed;right:18px;bottom:146px;z-index:100001;width:min(390px,calc(100vw - 28px));height:min(650px,calc(100vh - 175px));background:#fff;border-radius:22px;box-shadow:0 20px 60px rgba(0,0,0,.30);overflow:hidden;display:flex;flex-direction:column;opacity:0;visibility:hidden;transform:translateY(20px) scale(.98);transition:.22s ease}.egme-plaza.is-open{opacity:1;visibility:visible;transform:none}
.egme-plaza__header{background:linear-gradient(135deg,#7b1f35,#a02d4c);color:#fff;padding:15px 16px 12px;display:flex;align-items:center;justify-content:space-between}.egme-plaza__title{font-size:19px;font-weight:900;line-height:1.15}.egme-plaza__subtitle{font-size:12px;opacity:.88;margin-top:3px}.egme-plaza__close{border:0;background:rgba(255,255,255,.16);color:#fff;width:34px;height:34px;border-radius:50%;font-size:20px;cursor:pointer}
.egme-plaza__today{padding:9px 14px;background:#fff7e3;border-bottom:1px solid #f0dfb4;font-size:13px;color:#4b2b1b}.egme-plaza__tabs{display:flex;gap:5px;padding:8px;background:#f7f7f8;border-bottom:1px solid #e8e8ea;overflow-x:auto;scrollbar-width:none}.egme-plaza__tabs::-webkit-scrollbar{display:none}.egme-plaza__tab{flex:0 0 auto;border:0;border-radius:999px;background:#fff;color:#5a2935;padding:8px 11px;font-weight:800;font-size:12px;cursor:pointer}.egme-plaza__tab.is-active{background:#7b1f35;color:#fff}.egme-plaza__tab[disabled]{opacity:.48;cursor:not-allowed}
.egme-plaza__messages{flex:1;overflow-y:auto;padding:13px;background:#f4f4f6}.egme-plaza__empty{text-align:center;color:#6d6870;padding:42px 18px}.egme-plaza__empty strong{display:block;color:#3e2830;font-size:17px;margin-bottom:6px}.egme-plaza-card{background:#fff;border:1px solid #e5e2e4;border-radius:15px;padding:11px 12px;margin-bottom:9px;box-shadow:0 2px 7px rgba(0,0,0,.04)}.egme-plaza-card__top{display:flex;justify-content:space-between;gap:8px;align-items:center}.egme-plaza-card__name{font-weight:900;color:#5e1b30}.egme-plaza-card__time{font-size:11px;color:#888}.egme-plaza-card__text{margin-top:6px;color:#262126;line-height:1.4;white-space:pre-wrap;word-break:break-word}.egme-plaza-card__actions{margin-top:8px;font-size:12px;color:#7b1f35;font-weight:700}
.egme-plaza__form{padding:10px;background:#fff;border-top:1px solid #e2dfe1}.egme-plaza__name{width:100%;border:1px solid #d8d4d6;border-radius:10px;padding:8px 10px;margin-bottom:7px;font-size:13px}.egme-plaza__row{display:flex;gap:7px}.egme-plaza__message{flex:1;resize:none;min-height:44px;max-height:92px;border:1px solid #d8d4d6;border-radius:12px;padding:10px;font-family:inherit}.egme-plaza__send{border:0;border-radius:12px;background:#7b1f35;color:#fff;font-weight:900;padding:0 15px;cursor:pointer}.egme-plaza__send:disabled{opacity:.55;cursor:wait}.egme-plaza__meta{display:flex;justify-content:space-between;margin-top:5px;font-size:11px;color:#888}.egme-plaza__error{color:#b00020;font-weight:700}.egme-plaza__honeypot{position:absolute!important;left:-9999px!important;opacity:0!important}
@media(max-width:767px){.egme-plaza-launcher{right:13px;bottom:72px;height:54px;min-width:54px;padding:0 14px}.egme-plaza-launcher__label{display:none}.egme-plaza{left:0;right:0;bottom:0;width:100%;height:min(82vh,720px);border-radius:22px 22px 0 0;transform:translateY(100%)}.egme-plaza.is-open{transform:translateY(0)}.egme-plaza__header{padding-top:17px}}


/* Arrastre horizontal con clic sostenido en PC. En móvil se mantiene el deslizamiento táctil nativo. */
.egme-menu,
.egme-plaza__tabs{
  cursor:grab;
  user-select:none;
  -webkit-user-select:none;
}
.egme-menu.is-dragging,
.egme-plaza__tabs.is-dragging{
  cursor:grabbing;
  scroll-behavior:auto;
}
.egme-menu.is-dragging *,
.egme-plaza__tabs.is-dragging *{
  pointer-events:none;
}


/* ================= INTERACCIONES POR SECCIÓN ================= */
.egme-interactions{
  margin:12px 0 18px;
  border:1px solid #eadfe3;
  border-radius:11px;
  background:#fff;
  box-shadow:0 2px 8px rgba(0,0,0,.035);
  overflow:hidden;
}
.egme-interactions__stats{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  flex-wrap:wrap;
  gap:8px 16px;
  padding:7px 12px;
  min-height:44px;
}
.egme-heart-btn,.egme-opinions__toggle,.egme-save-btn{
  border:0;
  background:transparent;
  color:#b51f49;
  padding:5px 7px;
  display:inline-flex;
  align-items:center;
  gap:4px;
  font-weight:800;
  cursor:pointer;
  border-radius:8px;
  transition:.16s ease;
  white-space:nowrap;
}
.egme-heart-btn:hover,.egme-opinions__toggle:hover,.egme-save-btn:hover{background:#fff3f7}
.egme-heart-btn.is-active{color:#d62f5e}
.egme-save-btn{border:0;background:transparent;color:#356b4a;padding:5px 7px;display:inline-flex;align-items:center;gap:4px;font-weight:800;cursor:pointer;border-radius:8px;white-space:nowrap}
.egme-save-btn.is-saved{background:#eef8f1;color:#1f6b3d}
.egme-save-btn:disabled{opacity:.55;cursor:wait}
.egme-heart-btn__icon{font-size:19px;line-height:1}
.egme-stat-label{font-weight:700}
.egme-rating{display:flex;align-items:center;gap:5px;flex-wrap:nowrap}
.egme-rating__label{font-size:13px;color:#6d5c63;font-weight:700}
.egme-rating__stars{display:flex;gap:0}
.egme-rating__stars button{border:0;background:transparent;color:#e2a400;font-size:20px;line-height:1;padding:1px;cursor:pointer}
.egme-rating__stars button:hover,.egme-rating__stars button:focus-visible{transform:scale(1.1);outline:none}
.egme-rating__summary{font-size:13px;color:#6d5c63;white-space:nowrap}
.egme-views{color:#5e5056;font-size:14px;white-space:nowrap}
.egme-opinions{border-top:0}
.egme-opinions__panel{border-top:1px solid #eee4e7;padding:12px 14px 14px}
.egme-opinions__list{max-height:330px;overflow:auto;margin-bottom:12px}
.egme-opinion{border:1px solid #e8e1e4;border-radius:12px;padding:10px 12px;margin-bottom:8px;background:#fff}
.egme-opinion.is-featured{border-color:#d3a72d;background:#fffaf0}
.egme-opinion>div{display:flex;justify-content:space-between;gap:10px}
.egme-opinion strong{color:#6b2037}
.egme-opinion time{font-size:11px;color:#8b8185}
.egme-opinion p{margin:7px 0 0;white-space:pre-wrap;word-break:break-word}
.egme-opinions__empty,.egme-opinions__loading{padding:16px;text-align:center;color:#756a6e}
.egme-opinions__form{display:grid;gap:8px}
.egme-opinions__name,.egme-opinions__text{width:100%;border:1px solid #d9d0d4;border-radius:10px;padding:10px;font:inherit}
.egme-opinions__text{min-height:84px;resize:vertical}
.egme-opinions__footer{display:flex;align-items:center;justify-content:space-between;gap:10px}
.egme-opinions__footer button{border:0;border-radius:10px;background:#7b1f35;color:#fff;padding:10px 15px;font-weight:900;cursor:pointer}
.egme-opinions__footer button:disabled{opacity:.55}
.egme-opinions__error{color:#b00020;font-size:13px;font-weight:700}
.egme-opinions__honeypot{position:absolute!important;left:-9999px!important;opacity:0!important}
@media(max-width:767px){
  .egme-interactions{margin:10px 0 16px}
  .egme-interactions__stats{gap:5px 9px;padding:6px 8px;min-height:40px}
  .egme-rating__label,.egme-stat-label{display:none}
  .egme-rating__stars button{font-size:19px}
  .egme-heart-btn,.egme-opinions__toggle,.egme-save-btn{padding:4px 5px}
  .egme-opinions__panel{padding:11px}
  .egme-opinions__footer{align-items:flex-end}
  .egme-opinions__footer button{white-space:nowrap}
}

/* v1.6.6: Guardar siempre visible y barra compacta */
.egme-interactions__stats{align-items:center}
.egme-save-btn{display:inline-flex!important;color:#287044!important;background:#f1faf4!important;border:1px solid #cfe9d7!important;padding:5px 9px!important}
.egme-save-btn:hover{background:#e4f5e9!important}
@media(max-width:767px){.egme-interactions__stats{overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}.egme-interactions__stats::-webkit-scrollbar{display:none}.egme-save-btn{flex:0 0 auto}}

/* Registro EduGenaro Maps */
.egme-auth-wrap{display:flex;justify-content:center;padding:36px 16px 56px}
.egme-auth-card{width:min(100%,560px);background:#fff;border:1px solid #f0dbe2;border-radius:20px;box-shadow:0 14px 40px rgba(41,18,27,.10);padding:32px}
.egme-auth-card--logged{text-align:center;margin:30px auto}
.egme-auth-icon{font-size:42px;line-height:1;text-align:center;margin-bottom:12px}
.egme-auth-card h2{text-align:center;margin:0 0 8px;font-size:30px;color:#2c2528}
.egme-auth-subtitle{text-align:center;margin:0 0 24px;color:#6d6266}
.egme-auth-form{display:grid;gap:10px}
.egme-auth-form label{font-weight:700;color:#3f3539;margin-top:6px}
.egme-auth-form input[type=text],.egme-auth-form input[type=email],.egme-auth-form input[type=password]{width:100%;min-height:50px;border:1px solid #d9ced2;border-radius:12px;padding:11px 14px;font-size:16px;background:#fff;box-sizing:border-box}
.egme-auth-form input:focus{outline:3px solid rgba(216,45,94,.14);border-color:#d82d5e}
.egme-auth-form small{color:#71666a;margin-top:-5px}
.egme-auth-check{display:flex;align-items:flex-start;gap:10px;font-weight:400!important;margin:12px 0}
.egme-auth-check input{margin-top:4px}
.egme-auth-check a,.egme-auth-login a{color:#c92758;font-weight:700}
.egme-auth-button{display:block;width:100%;box-sizing:border-box;border:0;border-radius:12px;background:#9b2345;color:#fff!important;text-align:center;padding:14px 18px;font-size:17px;font-weight:800;cursor:pointer;text-decoration:none}
.egme-auth-button:hover{background:#811d3a;color:#fff}
.egme-auth-button--google{background:#fff;color:#333!important;border:1px solid #d5d5d5}
.egme-auth-divider{display:flex;align-items:center;gap:12px;margin:20px 0;color:#8b8185}.egme-auth-divider:before,.egme-auth-divider:after{content:"";height:1px;background:#e4dce0;flex:1}
.egme-auth-login{text-align:center;margin:22px 0 0}
.egme-auth-alert{background:#fff2f4;border:1px solid #efb3c3;color:#7e1835;padding:12px 14px;border-radius:10px;margin:0 0 16px}
.egme-auth-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
@media(max-width:600px){.egme-auth-wrap{padding:18px 10px 36px}.egme-auth-card{padding:22px 17px;border-radius:16px}.egme-auth-card h2{font-size:25px}}

/* Mi Ecuador 2.0 */
.egme-profile{max-width:1120px;margin:28px auto;font-family:inherit;--egme-profile-tone:#a61e46;color:#27222a}.egme-profile *{box-sizing:border-box}.egme-profile-notice{padding:12px 16px;margin-bottom:14px;border-radius:12px;background:#e9f7ef;color:#166534;font-weight:700}.egme-profile-notice--error{background:#fff0f1;color:#a11232}.egme-profile-hero{min-height:250px;padding:30px;border-radius:24px;background:linear-gradient(135deg,var(--egme-profile-tone),#2d2230);background-size:cover;background-position:center;display:flex;align-items:flex-end;gap:22px;position:relative;color:#fff;box-shadow:0 18px 45px rgba(35,20,29,.16)}.egme-profile-avatar{width:140px;height:140px;border-radius:50%;object-fit:cover;border:6px solid #fff;background:#fff;box-shadow:0 10px 28px rgba(0,0,0,.22)}.egme-profile-identity h2{margin:8px 0 3px;color:#fff;font-size:36px}.egme-profile-identity p{margin:0;color:#fff}.egme-profile-badge{display:inline-block;padding:7px 12px;border-radius:999px;background:rgba(255,255,255,.18);backdrop-filter:blur(8px);font-weight:800}.egme-profile-logout{position:absolute;right:24px;top:24px;color:#fff;text-decoration:none;padding:9px 13px;border:1px solid rgba(255,255,255,.55);border-radius:10px}.egme-profile-tabs{display:flex;gap:8px;overflow-x:auto;padding:14px 4px;scrollbar-width:none}.egme-profile-tabs::-webkit-scrollbar{display:none}.egme-profile-tabs a{white-space:nowrap;text-decoration:none;color:#423840;background:#fff;border:1px solid #eadde2;border-radius:999px;padding:10px 14px;font-weight:700}.egme-profile-tabs a:hover{border-color:var(--egme-profile-tone);color:var(--egme-profile-tone)}.egme-profile-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:4px 0 18px}.egme-profile-stats div{background:#fff;border:1px solid #ecdee4;border-radius:16px;padding:18px;text-align:center}.egme-profile-stats strong{display:block;font-size:28px;color:var(--egme-profile-tone)}.egme-profile-stats span{font-size:13px}.egme-profile-panel{background:#fff;border:1px solid #ecdee4;border-radius:20px;padding:24px;margin:16px 0;box-shadow:0 8px 26px rgba(45,24,34,.06)}.egme-profile-panel h3{font-size:24px;margin:0 0 6px}.egme-profile-form{margin-top:18px}.egme-profile-form label{display:block;font-weight:700;margin:0 0 14px}.egme-profile-form input[type=text],.egme-profile-form input[type=file],.egme-profile-form textarea,.egme-profile-form select{display:block;width:100%;margin-top:7px;padding:12px;border:1px solid #dacbd1;border-radius:10px;background:#fff;font:inherit}.egme-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.egme-tone-picker{border:0;padding:0;margin:10px 0 18px}.egme-tone-picker legend{font-weight:800;margin-bottom:10px}.egme-tone-picker label{display:inline-flex;margin:0 8px 8px 0;vertical-align:middle}.egme-tone-picker input[type=radio]{position:absolute;opacity:0}.egme-tone-picker label span{width:34px;height:34px;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 1px #cdbbc2;cursor:pointer}.egme-tone-picker input:checked+span{box-shadow:0 0 0 3px var(--egme-profile-tone)}.egme-custom-color{align-items:center;gap:8px}.egme-photo-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.egme-photo-gallery article{border:1px solid #ecdee4;border-radius:16px;overflow:hidden;background:#fff}.egme-photo-gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}.egme-photo-gallery article div{padding:13px}.egme-photo-gallery span{display:block;font-size:12px;color:var(--egme-profile-tone);font-weight:800}.egme-photo-gallery strong{display:block;margin:5px 0}.egme-photo-gallery p{font-size:14px;margin:4px 0 0}.egme-empty-state,.egme-profile-coming{text-align:center;padding:32px}.egme-profile-coming>div{font-size:48px}.egme-premium-callout{display:flex;flex-direction:column;gap:8px;padding:20px;border-radius:16px;background:linear-gradient(135deg,#fff4cf,#fff);border:1px solid #ecd684}.egme-premium-callout a{align-self:flex-start;background:var(--egme-profile-tone);color:#fff;padding:9px 14px;border-radius:10px;text-decoration:none;font-weight:800}
@media(max-width:700px){.egme-profile{margin:12px}.egme-profile-hero{min-height:310px;align-items:flex-end;padding:22px;flex-direction:column;justify-content:flex-end;align-items:flex-start}.egme-profile-avatar{width:112px;height:112px}.egme-profile-identity h2{font-size:28px}.egme-profile-logout{right:16px;top:16px}.egme-profile-stats{grid-template-columns:repeat(2,1fr)}.egme-profile-grid{grid-template-columns:1fr}.egme-photo-gallery{grid-template-columns:1fr 1fr}.egme-profile-panel{padding:18px}}
@media(max-width:430px){.egme-photo-gallery{grid-template-columns:1fr}}

/* Mi Ecuador 2.1: muro, ventanas y red de exploradores */
.egme-profile-v21{padding-bottom:90px}.egme-hub-actions{position:sticky;top:12px;z-index:60;display:flex;gap:10px;justify-content:center;flex-wrap:wrap;padding:12px;margin:18px 0;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);border:1px solid #f0d9e0;border-radius:18px;box-shadow:0 10px 30px rgba(20,20,20,.08)}.egme-hub-actions button{border:1px solid var(--egme-profile-tone);background:#fff;color:var(--egme-profile-tone);padding:11px 16px;border-radius:999px;font-weight:800;cursor:pointer}.egme-hub-actions button:hover{background:var(--egme-profile-tone);color:#fff}.egme-wall{max-width:820px;margin:0 auto}.egme-wall-heading{padding:8px 4px 18px}.egme-wall-heading>div{display:flex;align-items:center;gap:10px}.egme-wall-heading h3{margin:0;font-size:28px}.egme-wall-heading p{margin:6px 0 0;color:#666}.egme-wall-list{display:grid;gap:22px}.egme-wall-card{background:#fff;border:1px solid #edd9df;border-radius:20px;overflow:hidden;box-shadow:0 12px 35px rgba(20,20,20,.07)}.egme-wall-card header{display:flex;gap:12px;align-items:center;padding:16px 18px}.egme-wall-card header img{width:48px;height:48px;border-radius:50%;object-fit:cover}.egme-wall-card header div{display:flex;flex-direction:column}.egme-wall-card header span{font-size:13px;color:#777}.egme-wall-place,.egme-wall-caption{padding:0 18px 12px}.egme-wall-caption{font-size:17px;line-height:1.55}.egme-wall-photo{display:block;width:100%;max-height:680px;object-fit:cover;background:#f3f3f3}.egme-wall-meta{display:flex;justify-content:space-between;gap:12px;padding:12px 18px;color:#666;border-bottom:1px solid #f1e5e9}.egme-wall-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:6px}.egme-wall-actions form{margin:0}.egme-wall-actions button{width:100%;border:0;background:transparent;padding:11px;border-radius:10px;font-weight:800;cursor:pointer}.egme-wall-actions button:hover{background:#fff3f6;color:var(--egme-profile-tone)}.egme-wall-comments{display:none;padding:12px 18px 18px;border-top:1px solid #f1e5e9}.egme-wall-comments.is-open{display:block}.egme-wall-comment{display:flex;gap:8px;margin:8px 0;padding:9px 12px;background:#f7f7f7;border-radius:12px}.egme-wall-comment strong{white-space:nowrap}.egme-comment-form{display:flex;gap:8px;margin-top:12px}.egme-comment-form input{flex:1;border:1px solid #ddd;border-radius:999px;padding:11px 14px}.egme-comment-form button{border:0;border-radius:999px;padding:10px 16px;background:var(--egme-profile-tone);color:#fff;font-weight:800}.egme-modal{position:fixed;inset:0;z-index:100200;background:rgba(15,15,20,.58);display:none;align-items:center;justify-content:center;padding:20px}.egme-modal.is-open{display:flex}.egme-modal-card{position:relative;width:min(760px,96vw);max-height:90vh;overflow:auto;background:#fff;border-radius:24px;padding:26px;box-shadow:0 25px 80px rgba(0,0,0,.28)}.egme-modal-close{position:absolute;right:16px;top:12px;border:0;background:#f4f4f4;width:38px;height:38px;border-radius:50%;font-size:24px;cursor:pointer}.egme-library-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.egme-library-grid>div{display:flex;flex-direction:column;gap:6px;padding:18px;background:#faf7f8;border-radius:16px}.egme-explorer-search{display:flex;gap:8px;margin-bottom:16px}.egme-explorer-search input{flex:1;border:1px solid #ddd;border-radius:999px;padding:12px 15px}.egme-explorer-search button,.egme-explorer-list button{border:0;background:var(--egme-profile-tone);color:#fff;border-radius:999px;padding:10px 15px;font-weight:800}.egme-explorer-list{display:grid;gap:10px}.egme-explorer-list>div{display:grid;grid-template-columns:52px 1fr auto;align-items:center;gap:12px;padding:10px;border:1px solid #eee;border-radius:14px}.egme-explorer-list img{width:52px;height:52px;border-radius:50%}.egme-explorer-list span{display:flex;flex-direction:column}.egme-privacy-checks{display:grid;gap:8px;padding:12px;background:#faf7f8;border-radius:14px}.egme-chat-dock{position:fixed;left:50%;bottom:0;transform:translateX(-50%);z-index:100010;width:min(980px,calc(100vw - 24px));pointer-events:none}.egme-chat-tabs{pointer-events:auto;display:flex;align-items:center;gap:8px;overflow:auto;background:#18212b;color:#fff;border-radius:18px 18px 0 0;padding:10px 14px;box-shadow:0 -10px 35px rgba(0,0,0,.22)}.egme-chat-tabs>a{display:flex;align-items:center;gap:6px;color:#fff;text-decoration:none;background:#2a3745;border-radius:999px;padding:5px 10px;white-space:nowrap}.egme-chat-tabs img{width:28px;height:28px;border-radius:50%}.egme-chat-window{pointer-events:auto;position:absolute;right:10px;bottom:54px;width:min(360px,94vw);background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 18px 60px rgba(0,0,0,.3)}.egme-chat-window header{display:flex;justify-content:space-between;padding:14px 16px;background:var(--egme-profile-tone);color:#fff}.egme-chat-window header a{color:#fff;text-decoration:none;font-size:22px}.egme-chat-messages{height:280px;overflow:auto;padding:12px;background:#f4f6f8;display:flex;flex-direction:column;gap:8px}.egme-chat-messages div{max-width:82%;padding:9px 12px;border-radius:14px}.egme-chat-messages .is-me{align-self:flex-end;background:var(--egme-profile-tone);color:#fff}.egme-chat-messages .is-them{align-self:flex-start;background:#fff}.egme-chat-window form{display:flex;gap:6px;padding:10px}.egme-chat-window textarea{flex:1;resize:none;border:1px solid #ddd;border-radius:12px;padding:9px}.egme-chat-window form button{border:0;background:var(--egme-profile-tone);color:#fff;border-radius:12px;padding:0 14px;font-weight:800}
@media(max-width:700px){.egme-hub-actions{justify-content:flex-start;overflow:auto;flex-wrap:nowrap}.egme-hub-actions button{white-space:nowrap}.egme-library-grid{grid-template-columns:1fr}.egme-wall{max-width:none}.egme-wall-actions{grid-template-columns:repeat(3,1fr)}.egme-wall-actions button{font-size:13px}.egme-modal{padding:8px}.egme-modal-card{padding:22px 14px}.egme-chat-tabs strong{white-space:nowrap}.egme-chat-window{right:0}}

/* v2.1.1: Explorar Ecuador + chat privado desplegable */
.egme-explore-fab{position:fixed;right:22px;bottom:86px;z-index:100015;display:flex;align-items:center;gap:9px;border:0;border-radius:999px;padding:12px 17px;background:var(--egme-profile-tone,#a61e46);color:#fff;font-weight:900;box-shadow:0 12px 34px rgba(0,0,0,.22);cursor:pointer}.egme-explore-fab:hover{transform:translateY(-2px)}
.egme-discover-card{width:min(1050px,96vw)}.egme-discover-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:22px}.egme-discover-grid h4{margin:6px 0 14px;font-size:20px}.egme-discover-feed{display:grid;gap:12px}.egme-discover-post{display:grid;grid-template-columns:110px 1fr;gap:14px;align-items:center;padding:11px;border:1px solid #eee;border-radius:16px}.egme-discover-post>img{width:110px;height:88px;object-fit:cover;border-radius:12px}.egme-discover-post div{display:flex;flex-direction:column;gap:4px}.egme-discover-post span,.egme-discover-post p{font-size:13px;color:#666;margin:0}.egme-discover-post a{font-weight:800;color:var(--egme-profile-tone);text-decoration:none}.egme-discover-people>div{grid-template-columns:46px 1fr auto}.egme-discover-people img{width:46px;height:46px}
.egme-chat-dock{width:auto;left:auto;right:18px;transform:none;bottom:0}.egme-chat-launcher{pointer-events:auto;display:flex;align-items:center;gap:8px;border:0;border-radius:18px 18px 0 0;padding:11px 16px;background:#18212b;color:#fff;box-shadow:0 -10px 35px rgba(0,0,0,.22);cursor:pointer}.egme-chat-launcher em{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--egme-profile-tone);font-style:normal;font-size:12px}.egme-chat-tabs{display:none}.egme-chat-panel{pointer-events:auto;display:none;position:absolute;right:0;bottom:48px;width:min(350px,94vw);max-height:430px;overflow:auto;background:#fff;border-radius:18px;box-shadow:0 18px 60px rgba(0,0,0,.3)}.egme-chat-dock.is-expanded .egme-chat-panel{display:block}.egme-chat-panel-head{display:flex;align-items:center;justify-content:space-between;padding:13px 15px;background:#18212b;color:#fff}.egme-chat-panel-head button{border:0;background:transparent;color:#fff;font-size:22px;cursor:pointer}.egme-chat-empty{padding:24px;text-align:center}.egme-chat-empty>span{font-size:34px}.egme-chat-empty p{line-height:1.5;color:#555}.egme-chat-empty button{border:0;border-radius:999px;padding:10px 15px;background:var(--egme-profile-tone);color:#fff;font-weight:800;cursor:pointer}.egme-chat-contacts{display:grid;padding:8px}.egme-chat-contacts a{display:flex;align-items:center;gap:10px;padding:10px;border-radius:12px;color:#222;text-decoration:none}.egme-chat-contacts a:hover{background:#f7f1f3}.egme-chat-contacts img{width:38px;height:38px;border-radius:50%}.egme-chat-window{right:0;bottom:54px}
@media(max-width:700px){.egme-explore-fab{right:14px;bottom:72px;padding:12px}.egme-explore-fab strong{display:none}.egme-discover-grid{grid-template-columns:1fr}.egme-discover-post{grid-template-columns:82px 1fr}.egme-discover-post>img{width:82px;height:74px}.egme-chat-dock{right:10px}.egme-chat-launcher strong{font-size:14px}.egme-chat-window{right:0;bottom:52px}}

/* v2.2.2: publicaciones de texto + chat compacto */
.egme-wall-composer{width:100%;display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:12px;margin:0 0 22px;padding:12px 14px;border:1px solid #ead8de;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(20,20,20,.06);cursor:pointer;text-align:left}
.egme-wall-composer img{width:48px;height:48px;border-radius:50%;object-fit:cover}
.egme-wall-composer span{padding:12px 16px;border-radius:999px;background:#f5f5f6;color:#666;font-size:16px}
.egme-wall-composer strong{padding:10px 15px;border-radius:999px;background:var(--egme-profile-tone);color:#fff}
.egme-publish-form textarea{font-size:17px;line-height:1.5}
.egme-wall-card:not(:has(.egme-wall-photo)) .egme-wall-caption{font-size:20px;padding:8px 22px 20px;line-height:1.6}
.egme-chat-dock{right:18px!important;bottom:18px!important}
.egme-chat-launcher{width:52px;height:52px;padding:0!important;border-radius:50%!important;justify-content:center;box-shadow:0 10px 30px rgba(0,0,0,.24)!important}
.egme-chat-launcher strong{display:none}
.egme-chat-launcher em{position:absolute;right:-3px;top:-5px;min-width:20px;height:20px}
.egme-chat-panel{bottom:62px!important;width:min(320px,calc(100vw - 28px))!important;max-height:360px!important}
.egme-explore-fab{right:84px!important;bottom:18px!important}
@media(max-width:700px){.egme-wall-composer{grid-template-columns:42px 1fr}.egme-wall-composer img{width:42px;height:42px}.egme-wall-composer strong{display:none}.egme-wall-composer span{font-size:14px;padding:11px 13px}.egme-chat-dock{right:12px!important;bottom:12px!important}.egme-explore-fab{right:76px!important;bottom:12px!important}.egme-chat-panel{bottom:60px!important}}

/* v2.2.3: texto de invitación y modificación de publicaciones */
.egme-wall-composer-copy{display:flex!important;flex-direction:column;gap:3px;padding:10px 16px!important;border-radius:16px!important;background:#f5f5f6;color:#555!important}
.egme-wall-composer-copy b{font-size:16px;color:#333;line-height:1.25}
.egme-wall-composer-copy small{font-size:13px;line-height:1.35;color:#777;font-weight:400}
.egme-wall-edit-button{margin-left:auto;border:1px solid #ead8de!important;background:#fff!important;color:var(--egme-profile-tone)!important;width:auto!important;padding:8px 12px!important;border-radius:999px!important;font-weight:800;cursor:pointer}
.egme-wall-edit-button:hover{background:#fff3f6!important}
@media(max-width:700px){.egme-wall-composer-copy b{font-size:14px}.egme-wall-composer-copy small{font-size:12px}.egme-wall-edit-button{font-size:12px;padding:7px 10px!important}}


/* v2.2.4: eliminar publicaciones + formulario de Plaza siempre visible */
.egme-wall-owner-actions{margin-left:auto;display:flex;align-items:center;gap:8px}
.egme-wall-delete-form{margin:0}
.egme-wall-delete-button{border:1px solid #f0c7d1!important;background:#fff!important;color:#b42346!important;width:auto!important;padding:8px 12px!important;border-radius:999px!important;font-weight:800;cursor:pointer}
.egme-wall-delete-button:hover{background:#fff0f3!important}
.egme-plaza__messages{min-height:0!important}
.egme-plaza__form{flex:0 0 auto;position:relative;z-index:2}
.egme-plaza__form:not([hidden]){display:block!important}
.egme-plaza__form[hidden]{display:none!important}
@media(max-width:700px){.egme-wall-owner-actions{gap:5px}.egme-wall-delete-button{font-size:12px;padding:7px 10px!important}}


/* v2.2.5: Plaza con formulario realmente visible y fijo al pie */
.egme-plaza{
  display:grid!important;
  grid-template-rows:auto auto auto minmax(120px,1fr) auto!important;
  height:min(650px,calc(100vh - 175px))!important;
  max-height:calc(100vh - 175px)!important;
}
.egme-plaza__header,
.egme-plaza__today,
.egme-plaza__tabs,
.egme-plaza__form{min-width:0}
.egme-plaza__messages{
  min-height:120px!important;
  overflow-y:auto!important;
  padding:13px!important;
}
.egme-plaza__form{
  display:block;
  position:sticky!important;
  bottom:0!important;
  width:100%;
  box-sizing:border-box;
  background:#fff!important;
  padding:10px 12px 12px!important;
  border-top:1px solid #e2dfe1!important;
  box-shadow:0 -8px 18px rgba(0,0,0,.06);
  z-index:5!important;
}
.egme-plaza__form[hidden],
.egme-plaza.is-future .egme-plaza__form{display:none!important}
.egme-plaza__name{box-sizing:border-box!important}
.egme-plaza__row{align-items:stretch}
.egme-plaza__message{min-width:0;box-sizing:border-box}
.egme-plaza__send{min-width:74px}
@media(max-width:767px){
  .egme-plaza{
    height:min(82vh,720px)!important;
    max-height:82vh!important;
    grid-template-rows:auto auto auto minmax(110px,1fr) auto!important;
  }
  .egme-plaza__form{padding:9px 10px 10px!important}
  .egme-plaza__name{margin-bottom:6px}
}

/* EduGenaro Premium 2.6.0 */
.egme-premium-visual{position:relative;width:100%;max-width:1536px;margin:0 auto;line-height:0;overflow:hidden;border-radius:18px;box-shadow:0 18px 45px rgba(4,20,43,.22)}
.egme-premium-visual img{display:block;width:100%;height:auto}
.egme-premium-hotspot{position:absolute;z-index:4;bottom:7.5%;height:9%;border-radius:18px;cursor:pointer;transition:background .2s ease,box-shadow .2s ease,transform .2s ease}
.egme-premium-hotspot:hover,.egme-premium-hotspot:focus{background:rgba(255,255,255,.08);box-shadow:0 0 0 3px rgba(255,255,255,.35),0 8px 24px rgba(0,0,0,.28);transform:translateY(-2px);outline:none}
.egme-premium-hotspot-monthly{left:5.7%;width:42.3%}
.egme-premium-hotspot-yearly{left:52.1%;width:42.3%}
.egme-checkout-card{max-width:760px;margin:32px auto;padding:34px;border:1px solid #dfe5ec;border-radius:24px;background:#fff;box-shadow:0 20px 55px rgba(13,35,67,.12);text-align:center;color:#14213d}
.egme-checkout-card h2{font-size:36px;margin:5px 0 8px}
.egme-checkout-icon{font-size:45px}
.egme-checkout-kicker{font-size:12px;font-weight:900;letter-spacing:.14em;color:#64748b;margin:6px 0}
.egme-checkout-badge{font-weight:800;color:#9f2348;font-size:18px}
.egme-checkout-price{display:flex;justify-content:center;align-items:end;gap:10px;margin:18px 0}
.egme-checkout-price strong{font-size:54px;line-height:1;color:#0b3d73}
.egme-checkout-anual .egme-checkout-price strong{color:#b77900}
.egme-checkout-price span{font-size:18px;padding-bottom:7px}
.egme-checkout-list{max-width:540px;margin:22px auto;text-align:left;list-style:none;padding:0;display:grid;gap:11px;font-size:17px}
.egme-checkout-list li{padding:10px 12px;border-radius:10px;background:#f8fafc}
.egme-paypal-button,.egme-checkout-primary,.egme-checkout-secondary{display:inline-flex;align-items:center;justify-content:center;padding:15px 24px;border-radius:12px;text-decoration:none!important;font-weight:900;font-size:18px}
.egme-paypal-button,.egme-checkout-primary{background:#0070ba;color:#fff!important;box-shadow:0 10px 22px rgba(0,112,186,.22)}
.egme-checkout-secondary{background:#eef2f7;color:#1f2937!important}
.egme-checkout-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:20px}
.egme-checkout-secure{font-size:13px;color:#64748b;margin-top:12px}
.egme-payment-pending{display:flex;flex-direction:column;gap:5px;background:#fff7df;border:1px solid #f3d486;padding:16px;border-radius:12px;color:#6b4f00}
.egme-checkout-back{display:block;text-align:left;color:#64748b;text-decoration:none;margin-bottom:8px}
@media(max-width:700px){.egme-premium-visual{border-radius:10px}.egme-premium-hotspot{bottom:7%;height:10%}.egme-checkout-card{padding:23px 17px;margin:18px 8px}.egme-checkout-card h2{font-size:29px}.egme-checkout-price strong{font-size:43px}.egme-checkout-list{font-size:15px}}

/* EduGenaro 2.7.0: perfil, notificaciones, solicitudes, grupos y CTA Premium */
.egme-premium-cta{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:18px 0;padding:18px 20px;border-radius:18px;background:linear-gradient(135deg,#fff7d6,#ffe3a6);border:1px solid #edc15b;box-shadow:0 12px 28px rgba(137,83,0,.12)}
.egme-premium-cta div{display:flex;flex-direction:column;gap:4px}.egme-premium-cta strong{font-size:19px;color:#6f3f00}.egme-premium-cta span{color:#6b5a3a}
.egme-premium-cta a{white-space:nowrap;background:#9f2348;color:#fff!important;text-decoration:none!important;padding:12px 18px;border-radius:999px;font-weight:900}
.egme-explorer-row{display:flex!important;align-items:center;justify-content:space-between;gap:12px}.egme-explorer-profile{display:flex;align-items:center;gap:10px;text-decoration:none!important;color:inherit;min-width:0}.egme-explorer-profile img{width:52px;height:52px;border-radius:50%;object-fit:cover}.egme-explorer-actions{display:flex;align-items:center;gap:7px}.egme-mini-action{display:inline-flex;align-items:center;justify-content:center;padding:8px 11px;border:1px solid #ddd;border-radius:999px;background:#fff;color:#1f2937;text-decoration:none!important;font-weight:800;cursor:pointer}
.egme-notification-list{display:grid;gap:9px}.egme-notification-list>div{display:flex;align-items:center;gap:10px;padding:11px;border-radius:12px;background:#f7f7f8}.egme-notification-list>div.is-unread{background:#fff1f5;border:1px solid #f5c0cf}.egme-notification-list img{width:42px;height:42px;border-radius:50%;object-fit:cover}.egme-notification-list span{display:flex;flex-direction:column}.egme-notification-list small{opacity:.65;margin-top:2px}.egme-profile-nav em{display:inline-flex;min-width:20px;height:20px;border-radius:999px;background:#9f2348;color:#fff;align-items:center;justify-content:center;font-size:11px;font-style:normal;margin-left:4px}
.egme-public-profile{text-align:center;overflow:hidden}.egme-public-cover{height:135px;background:#18212d center/cover no-repeat;border-radius:18px 18px 0 0}.egme-public-avatar{width:118px;height:118px;border-radius:50%;object-fit:cover;border:5px solid #fff;margin-top:-60px;box-shadow:0 7px 20px rgba(0,0,0,.15)}.egme-public-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:16px}.egme-public-actions button,.egme-public-actions a{padding:10px 16px;border-radius:999px;border:0;background:#9f2348;color:#fff!important;text-decoration:none!important;font-weight:900;cursor:pointer}
.egme-chat-requests{padding:10px;border-bottom:1px solid #e5e7eb}.egme-chat-requests>strong{display:block;margin-bottom:8px}.egme-chat-requests>div{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;padding:8px;background:#fff7fa;border-radius:12px}.egme-chat-requests img{width:38px;height:38px;border-radius:50%;object-fit:cover}.egme-chat-requests span{display:flex;flex-direction:column;min-width:0}.egme-chat-requests small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:130px}.egme-chat-requests form{display:flex;gap:4px}.egme-chat-requests button{border:0;border-radius:8px;padding:6px 8px;font-weight:800;cursor:pointer}.egme-create-group{margin:8px 10px 12px;width:calc(100% - 20px);border:1px dashed #9f2348;background:#fff;color:#9f2348;border-radius:10px;padding:9px;font-weight:900;cursor:pointer}.egme-group-icon{font-size:26px}.egme-group-member{display:flex!important;align-items:center;gap:8px;margin:7px 0}.egme-group-member img{width:34px;height:34px;border-radius:50%;object-fit:cover}.egme-group-window .egme-chat-messages div small{display:block;font-size:10px;opacity:.7;margin-bottom:2px}
.egme-plaza__gate{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:220px;padding:26px 18px;background:#fff7e4;border:1px solid #f2d595;border-radius:18px}.egme-plaza__gate strong{font-size:20px;color:#4b2c22}.egme-plaza__gate p{max-width:360px;margin:10px auto 16px}.egme-plaza__gate>div{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}.egme-plaza__gate a{display:inline-flex;padding:11px 16px;border-radius:999px;background:#9f2348;color:#fff!important;text-decoration:none!important;font-weight:900}.egme-plaza__gate a+a{background:#fff;color:#9f2348!important;border:1px solid #9f2348}.egme-plaza__gate-premium{background:linear-gradient(135deg,#fff8d8,#ffe8b7)}
@media(max-width:700px){.egme-premium-cta{align-items:flex-start;flex-direction:column}.egme-premium-cta a{width:100%;text-align:center}.egme-explorer-row{align-items:flex-start;flex-direction:column}.egme-explorer-actions{width:100%;justify-content:flex-end}.egme-chat-requests>div{grid-template-columns:auto 1fr}.egme-chat-requests form{grid-column:1/-1;justify-content:flex-end}}
.egme-hub-actions .egme-hub-link{display:inline-flex;align-items:center;justify-content:center;border:1px solid #111;border-radius:999px;padding:11px 17px;text-decoration:none!important;color:#111!important;font-weight:900;background:#fff}.egme-premium-active{background:linear-gradient(135deg,#edf8ff,#dbeafe);border-color:#8cbce8}.egme-premium-active strong{color:#0b3d73}


/* === Social pages v2.8 === */
.egme-social-page{max-width:1180px;margin:28px auto;padding:0 18px;font-family:Arial,sans-serif;color:#18324b}.egme-social-title{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.egme-social-title>div{display:flex;gap:14px;align-items:center}.egme-social-title span{font-size:38px}.egme-social-title h1{margin:0;font-size:32px}.egme-social-title p{margin:4px 0;color:#667085}.egme-social-title a,.egme-back-link{color:#0b5cad;text-decoration:none;font-weight:700}.egme-social-notice{padding:12px 16px;border-radius:12px;background:#eaf8ef;margin-bottom:14px}.egme-social-hub{display:flex!important;flex-wrap:wrap}.egme-social-hub a,.egme-social-hub button{display:inline-flex!important;align-items:center;justify-content:center;text-decoration:none}.egme-feed-filters,.egme-chat-tabs{display:flex;gap:8px;overflow:auto;margin-bottom:18px}.egme-feed-filters button,.egme-chat-tabs a{white-space:nowrap;border:1px solid #d9e1e8;background:#fff;border-radius:999px;padding:10px 16px;text-decoration:none;color:#18324b}.egme-feed-filters .is-active,.egme-chat-tabs .is-active{background:#123b63;color:#fff}.egme-explore-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,1fr);gap:22px}.egme-social-feed{display:grid;gap:18px}.egme-social-post{background:#fff;border:1px solid #dce4eb;border-radius:18px;padding:16px;box-shadow:0 8px 26px rgba(15,45,75,.06)}.egme-social-post header{display:flex;gap:10px;align-items:center}.egme-social-post header img{width:48px;height:48px;border-radius:50%;object-fit:cover}.egme-social-post header div{display:grid}.egme-social-post header small{color:#687789}.egme-social-post-image{width:100%;max-height:560px;object-fit:cover;border-radius:14px}.egme-social-post footer{display:flex;gap:8px;margin-top:12px}.egme-social-post footer button{border:0;background:#f1f5f8;border-radius:10px;padding:9px 12px}.egme-suggestions{background:#fff;border:1px solid #dce4eb;border-radius:18px;padding:16px;height:max-content;position:sticky;top:18px}.egme-mini-person{display:flex;gap:10px;align-items:center;padding:10px;text-decoration:none;color:inherit}.egme-mini-person img{width:46px;height:46px;border-radius:50%;object-fit:cover}.egme-mini-person span{display:grid}.egme-social-search{display:flex;gap:10px;margin-bottom:20px}.egme-social-search input,.egme-list-filter{flex:1;border:1px solid #cbd7e1;border-radius:12px;padding:12px 14px}.egme-social-search button,.egme-social-primary,.egme-social-secondary,.egme-danger-button{border:0;border-radius:11px;padding:11px 16px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;font-weight:700;cursor:pointer}.egme-social-primary{background:#0f5ea8;color:#fff}.egme-social-secondary{background:#eef3f7;color:#173a63}.egme-danger-button{background:#fff0f0;color:#a51f2d}.egme-people-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px}.egme-person-card{border:1px solid #dce4eb;background:#fff;border-radius:16px;padding:16px;text-align:center;text-decoration:none;color:inherit;display:grid;gap:8px}.egme-avatar-wrap{position:relative;width:max-content;margin:auto}.egme-avatar-wrap img{width:86px;height:86px;border-radius:50%;object-fit:cover}.egme-status-dot{position:absolute;width:15px;height:15px;border:3px solid #fff;background:#22a447;border-radius:50%;right:3px;bottom:4px}.egme-status-dot.is-away{background:#e1a21a}.egme-status-dot.is-offline{background:#9aa7b4}.egme-public-profile{background:#fff;border:1px solid #dce4eb;border-radius:22px;overflow:hidden;text-align:center}.egme-public-cover{height:230px;background:linear-gradient(135deg,#0a4f78,#148d84);background-size:cover;background-position:center}.egme-public-avatar{width:160px;height:160px;border-radius:50%;object-fit:cover;border:7px solid #fff;margin-top:-80px}.egme-profile-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;padding:12px 18px}.egme-inline-form{display:inline-flex;gap:8px}.egme-inline-form input[type=text]{border:1px solid #ccd7e0;border-radius:10px;padding:9px}.egme-profile-tabs{display:flex;justify-content:center;border-top:1px solid #e5ebf0;border-bottom:1px solid #e5ebf0}.egme-profile-tabs button{border:0;background:none;padding:14px 22px}.egme-profile-tabs .is-active{font-weight:800;color:#0f5ea8}.egme-profile-about{padding:18px 24px;text-align:left}.egme-friends-list{display:grid;gap:10px;margin-top:16px}.egme-friend-row{display:flex;align-items:center;gap:14px;border:1px solid #dce4eb;background:#fff;border-radius:15px;padding:12px 14px;text-decoration:none;color:inherit}.egme-friend-row img{width:62px;height:62px;border-radius:50%;object-fit:cover}.egme-friend-row span{display:grid;flex:1}.egme-friend-row b{font-size:28px;color:#8191a0}.egme-chat-page-layout{display:grid;grid-template-columns:280px 1fr;min-height:560px;border:1px solid #dce4eb;border-radius:18px;overflow:hidden;background:#fff}.egme-chat-page-layout aside{border-right:1px solid #dce4eb;padding:10px}.egme-chat-page-layout aside a{display:flex;gap:10px;align-items:center;padding:10px;border-radius:10px;text-decoration:none;color:inherit}.egme-chat-page-layout aside a.is-active{background:#edf5fb}.egme-chat-page-layout aside img{width:42px;height:42px;border-radius:50%}.egme-chat-page-layout main{display:flex;flex-direction:column}.egme-chat-page-layout main>header{padding:14px;border-bottom:1px solid #e1e8ee;display:flex;gap:10px;align-items:center}.egme-chat-page-layout main>header img{width:44px;height:44px;border-radius:50%}.egme-message-stream{padding:16px;flex:1;overflow:auto;display:flex;flex-direction:column;gap:8px}.egme-message-stream div{max-width:72%;padding:10px 13px;border-radius:15px;background:#eef2f5}.egme-message-stream .is-me{align-self:flex-end;background:#d8edff}.egme-chat-send{display:flex;gap:8px;padding:12px;border-top:1px solid #e1e8ee}.egme-chat-send textarea{flex:1;border:1px solid #cad6e0;border-radius:12px;padding:10px}.egme-chat-send button{border:0;background:#0f5ea8;color:#fff;border-radius:11px;padding:0 18px}.egme-request-list{display:grid;gap:10px}.egme-request-list article{display:flex;gap:12px;align-items:center;border:1px solid #dce4eb;background:#fff;border-radius:15px;padding:12px}.egme-request-list article img{width:60px;height:60px;border-radius:50%}.egme-request-list article>div{flex:1;display:grid}.egme-groups-panel,.egme-group-form{display:grid;gap:14px}.egme-group-form{margin-top:16px;background:#fff;border:1px solid #dce4eb;border-radius:16px;padding:16px}.egme-group-form fieldset{display:grid;gap:8px}.egme-social-empty{text-align:center;padding:40px;background:#fff;border:1px dashed #bdcbd6;border-radius:16px}.egme-social-empty span{font-size:44px}.egme-blocked-label,.egme-pending-label{padding:10px 14px;border-radius:999px;background:#f1f4f6}.egme-profile-v21{--egme-profile-tone:#a61e46}.egme-profile-hero{border-radius:18px}.egme-premium-visual{position:relative;max-width:1100px;margin:auto}.egme-premium-visual img{width:100%;display:block}.egme-premium-hotspot{position:absolute;bottom:17.5%;height:9%;width:31%;border-radius:999px}.egme-premium-hotspot-monthly{left:12%}.egme-premium-hotspot-yearly{right:12%}.egme-checkout-card{max-width:680px;margin:30px auto;padding:28px;border:1px solid #dce4eb;border-radius:22px;background:#fff}.egme-checkout-actions{display:flex;gap:10px}.egme-checkout-primary,.egme-paypal-button{display:block;text-align:center;background:#0f5ea8;color:#fff;padding:14px;border-radius:12px;text-decoration:none}.egme-checkout-secondary{display:block;text-align:center;background:#eef3f7;color:#173a63;padding:14px;border-radius:12px;text-decoration:none}@media(max-width:800px){.egme-explore-layout{grid-template-columns:1fr}.egme-suggestions{position:static}.egme-chat-page-layout{grid-template-columns:1fr}.egme-chat-page-layout aside{border-right:0;border-bottom:1px solid #dce4eb;display:flex;overflow:auto}.egme-social-title{align-items:flex-start}.egme-public-cover{height:150px}.egme-public-avatar{width:120px;height:120px;margin-top:-60px}.egme-premium-hotspot{bottom:15%;height:10%}}



/* === Mi Ecuador fusionado v2.8.1 === */
.egme-profile{font-family:Arial,Helvetica,sans-serif}
.egme-font-serif{font-family:Georgia,"Times New Roman",serif}
.egme-font-rounded{font-family:"Trebuchet MS",Arial,sans-serif}
.egme-font-elegant{font-family:Georgia,Garamond,serif}
.egme-social-hub{display:flex!important;flex-wrap:wrap!important;gap:12px!important;justify-content:center!important}
.egme-social-hub a,.egme-social-hub button{border:1px solid #1f2937!important;border-radius:999px!important;background:#fff!important;color:#171717!important;padding:12px 20px!important;font-weight:800!important;text-decoration:none!important}
.egme-social-hub a:hover,.egme-social-hub button:hover{background:var(--egme-profile-tone)!important;color:#fff!important;border-color:var(--egme-profile-tone)!important}
.egme-theme-panel{margin-top:18px;padding:16px;border:1px solid #e6dfe3;border-radius:16px;background:#faf8f9}
.egme-theme-panel h4{margin:0 0 12px}.egme-theme-presets{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:14px}.egme-theme-presets label{display:flex;align-items:center;gap:6px;font-size:13px}.egme-theme-presets input{position:absolute;opacity:0}.egme-theme-presets span{width:30px;height:30px;border-radius:50%;background:var(--swatch);border:3px solid #fff;box-shadow:0 0 0 1px #c8c8c8}.egme-theme-presets input:checked+span{box-shadow:0 0 0 3px #111}.egme-premium-hint{padding:10px 12px;border-radius:10px;background:#fff4cf;color:#6d4d00}
.egme-layout-cv{max-width:1180px}.egme-layout-cv .egme-profile-hero{display:grid;grid-template-columns:270px 1fr;grid-template-rows:auto;align-items:center;min-height:410px;padding:0;overflow:hidden;background-color:#fff!important;color:#18202a}.egme-layout-cv .egme-profile-hero:before{content:"";position:absolute;left:0;top:0;bottom:0;width:270px;background:linear-gradient(180deg,#111827,var(--egme-profile-tone));z-index:0}.egme-layout-cv .egme-profile-avatar{position:relative;z-index:1;width:170px;height:170px;margin:auto;border-radius:50%;border:7px solid rgba(255,255,255,.9)}.egme-layout-cv .egme-profile-identity{position:relative;z-index:1;padding:55px 55px;color:#111827}.egme-layout-cv .egme-profile-identity h2{font-size:46px;color:#111827}.egme-layout-cv .egme-profile-identity p{color:#475569}.egme-layout-cv .egme-profile-badge{background:var(--egme-profile-tone);color:#fff}.egme-layout-cv .egme-profile-logout{top:24px;right:24px;color:#111827;border-color:#94a3b8}.egme-layout-cv .egme-premium-cta,.egme-layout-cv .egme-hub-actions,.egme-layout-cv .egme-wall{margin-left:0;margin-right:0}
@media(max-width:760px){.egme-layout-cv .egme-profile-hero{display:flex;min-height:360px;padding:28px}.egme-layout-cv .egme-profile-hero:before{width:100%;opacity:.88}.egme-layout-cv .egme-profile-identity{padding:10px;color:#fff}.egme-layout-cv .egme-profile-identity h2,.egme-layout-cv .egme-profile-identity p{color:#fff}.egme-social-hub{justify-content:flex-start!important;overflow-x:auto;flex-wrap:nowrap!important}.egme-social-hub a,.egme-social-hub button{white-space:nowrap!important}}


/* === Ajustes sociales v2.8.2 === */
.egme-social-hub em{display:inline-flex;min-width:20px;height:20px;align-items:center;justify-content:center;border-radius:999px;background:#a61e46;color:#fff;font-style:normal;font-size:11px;margin-left:4px}.egme-notifications-card{max-width:720px}.egme-notification-actions{display:flex;gap:7px;flex-wrap:wrap;margin-left:auto}.egme-notification-actions form{margin:0}.egme-notification-actions a,.egme-notification-actions button{border:0;border-radius:999px;padding:8px 12px;background:#a61e46;color:#fff!important;text-decoration:none!important;font-weight:800;cursor:pointer}.egme-notification-actions button.is-light{background:#eef1f4;color:#263238!important}.egme-chat-panel{width:360px!important;max-width:calc(100vw - 24px)!important;border-radius:18px!important;overflow:hidden!important;box-shadow:0 18px 55px rgba(0,0,0,.2)!important}.egme-chat-contacts{padding:8px!important}.egme-chat-contacts a{display:flex!important;align-items:center!important;gap:11px!important;padding:10px 9px!important;border-radius:12px!important;text-decoration:none!important;color:#1f2937!important}.egme-chat-contacts a:hover{background:#f4f6f8!important}.egme-contact-avatar{position:relative;display:block;flex:0 0 auto}.egme-contact-avatar img{width:46px!important;height:46px!important;border-radius:50%!important;object-fit:cover!important}.egme-contact-avatar i{position:absolute;right:0;bottom:1px;width:13px;height:13px;border-radius:50%;border:3px solid #fff}.egme-contact-avatar i.is-online{background:#22c55e}.egme-contact-avatar i.is-offline{background:#94a3b8}.egme-chat-contacts a>span:last-child{display:flex;flex-direction:column}.egme-chat-contacts small{color:#64748b;font-size:12px}.egme-create-group-link,.egme-chat-find{display:block;margin:8px 12px 14px;padding:10px 12px;border-radius:10px;background:#111827;color:#fff!important;text-decoration:none!important;text-align:center;font-weight:800}.egme-profile-notice{padding:12px 15px;border-radius:12px;background:#e8f7ed;color:#166534;margin-bottom:12px}.egme-profile-form .egme-auth-button{position:sticky;bottom:0;width:100%;margin-top:14px;z-index:2}.egme-layout-cv .egme-profile-hero{min-height:460px}.egme-layout-cv .egme-profile-identity:after{content:"Perfil profesional Premium";display:block;margin-top:24px;padding-top:18px;border-top:2px solid var(--egme-profile-tone);font-size:14px;text-transform:uppercase;letter-spacing:.12em;color:var(--egme-profile-tone);font-weight:900}
@media(max-width:700px){.egme-notification-list>div{align-items:flex-start;flex-wrap:wrap}.egme-notification-actions{width:100%;margin-left:52px}.egme-chat-panel{width:calc(100vw - 20px)!important}}

/* EduGenaro 2.9.0: chat flotante organizado */
.egme-float-chat-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:10px;background:#f3f4f6}.egme-float-chat-tabs button{border:0;border-radius:10px;padding:10px;background:#fff;color:#374151;font-weight:800;cursor:pointer}.egme-float-chat-tabs button.is-active{background:#18212b;color:#fff}.egme-float-chat-section{display:none}.egme-float-chat-section.is-active{display:block}.egme-chat-groups-list{display:grid;padding:8px}.egme-chat-groups-list a{display:flex;align-items:center;gap:10px;padding:12px;border-radius:12px;text-decoration:none!important;color:#1f2937!important}.egme-chat-groups-list a:hover{background:#f4f6f8}.egme-chat-groups-list a span{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#f7e9ee}.egme-create-group-button{display:block;width:calc(100% - 24px);margin:8px 12px 14px;border:0;border-radius:10px;padding:11px;background:#111827;color:#fff;font-weight:800;cursor:pointer}.egme-float-group-form{padding:12px;border-top:1px solid #e5e7eb}.egme-float-group-form label{display:block;font-weight:700;margin-bottom:10px}.egme-float-group-form input[type=text],.egme-float-group-form input:not([type]){width:100%;padding:10px;border:1px solid #d1d5db;border-radius:10px;margin-top:5px}.egme-float-group-form fieldset{border:1px solid #e5e7eb;border-radius:10px;padding:10px;max-height:160px;overflow:auto}.egme-float-group-form fieldset label{font-weight:500}.egme-float-group-form>div{display:flex;gap:8px;margin-top:10px}.egme-float-group-form button{border:0;border-radius:9px;padding:10px 13px;font-weight:800;cursor:pointer}.egme-float-group-form button:first-child{background:#a61e46;color:#fff}.egme-premium-group-note{margin:10px 12px 14px;padding:10px;border-radius:10px;background:#fff6df;color:#7c4a00;text-align:center;font-weight:700}.egme-group-chat-window .egme-chat-messages div small{display:block;font-size:10px;opacity:.72;margin-bottom:2px}

/* EduGenaro 2.9.1: chat flotante estilo Messenger y buscador local */
.egme-chat-panel{width:370px!important;max-width:calc(100vw - 24px)!important;height:min(620px,calc(100vh - 110px))!important;max-height:none!important;display:none;flex-direction:column;overflow:hidden!important}
.egme-chat-dock.is-expanded .egme-chat-panel{display:flex!important}
.egme-chat-panel-head{flex:0 0 auto}
.egme-float-chat-tabs{flex:0 0 auto}
.egme-float-chat-section{min-height:0;overflow:auto;flex:1 1 auto}
.egme-float-chat-section.is-active{display:block}
.egme-chat-search-wrap{display:flex;align-items:center;gap:8px;margin:10px 12px 4px;padding:9px 12px;border-radius:999px;background:#f0f2f5;border:1px solid #e3e6ea}
.egme-chat-search-wrap span{font-size:15px;opacity:.72}
.egme-chat-search{width:100%;border:0!important;outline:0!important;background:transparent!important;padding:0!important;font-size:14px;color:#111827}
.egme-chat-search-empty{margin:16px;padding:16px;text-align:center;color:#64748b;background:#f8fafc;border-radius:12px}
.egme-chat-contacts{padding:6px 8px 12px!important}
.egme-chat-contacts a[hidden]{display:none!important}
.egme-chat-window{width:370px!important;max-width:calc(100vw - 24px)!important}
.egme-chat-messages{height:390px!important}
@media (min-width:701px) and (max-width:1100px){.egme-chat-panel{width:390px!important;height:min(660px,calc(100vh - 100px))!important}.egme-chat-window{width:390px!important}.egme-chat-messages{height:420px!important}}
@media (max-width:700px){.egme-chat-dock{left:8px!important;right:8px!important;bottom:8px!important}.egme-chat-launcher{margin-left:auto}.egme-chat-panel{position:fixed!important;left:8px!important;right:8px!important;bottom:8px!important;width:auto!important;max-width:none!important;height:calc(100dvh - 16px)!important;border-radius:20px!important}.egme-chat-window{position:fixed!important;left:8px!important;right:8px!important;bottom:8px!important;width:auto!important;max-width:none!important;height:calc(100dvh - 16px)!important;display:flex!important;flex-direction:column!important}.egme-chat-window .egme-chat-messages{height:auto!important;flex:1 1 auto!important}.egme-chat-window form{flex:0 0 auto}.egme-chat-panel-head{padding:15px 16px}.egme-chat-contacts a{padding:12px 10px!important}.egme-contact-avatar img{width:48px!important;height:48px!important}}

/* v2.9.9: Mis Exploradores siempre por encima del chat */
.egme-modal[data-egme-modal="my-explorers"]{z-index:100250!important;}

/* v3.2.1 - Acceso y registro visibles en PC, tablet y móvil */
.egme-auth-form .egme-password-field{position:relative;display:block;width:100%}
.egme-auth-form .egme-password-field input{padding-right:54px!important;width:100%!important}
.egme-auth-form .egme-password-toggle{position:absolute!important;right:7px!important;top:50%!important;transform:translateY(-50%)!important;width:42px!important;height:42px!important;min-width:42px!important;padding:0!important;margin:0!important;border:0!important;border-radius:10px!important;background:transparent!important;color:#3f3539!important;font-size:20px!important;line-height:1!important;display:flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important;box-shadow:none!important;z-index:3!important}
.egme-auth-form .egme-password-toggle:hover,.egme-auth-form .egme-password-toggle:focus{background:#f7edf1!important;outline:2px solid rgba(201,39,88,.22)!important}
.egme-auth-card .egme-auth-button,.egme-auth-card button.egme-auth-button{display:block!important;width:100%!important;min-height:52px!important;background:#b21e5b!important;color:#fff!important;border:2px solid #b21e5b!important;border-radius:12px!important;opacity:1!important;visibility:visible!important;font-size:17px!important;font-weight:800!important;text-align:center!important;padding:13px 18px!important;box-shadow:none!important}
.egme-auth-card .egme-auth-button:hover,.egme-auth-card button.egme-auth-button:hover{background:#94194b!important;border-color:#94194b!important;color:#fff!important}
.egme-auth-card .egme-auth-login{color:#3f3539!important;font-size:16px!important;line-height:1.5!important}
.egme-auth-card .egme-auth-login a{display:inline-block!important;color:#c92758!important;font-weight:800!important;text-decoration:none!important;visibility:visible!important;opacity:1!important}
.egme-auth-card .egme-auth-login a:hover{text-decoration:underline!important}
@media(max-width:600px){
  .egme-auth-wrap{width:100%!important;max-width:100%!important;padding:16px 12px 34px!important;box-sizing:border-box!important}
  .egme-auth-card{width:100%!important;max-width:100%!important;padding:24px 20px!important;box-sizing:border-box!important}
  .egme-auth-form{width:100%!important}
  .egme-auth-form input[type=text],.egme-auth-form input[type=email],.egme-auth-form input[type=password]{min-height:54px!important;font-size:16px!important}
  .egme-auth-card .egme-auth-button{min-height:54px!important;font-size:17px!important}
}
/* v3.2.2 - ID público de explorador */
.egme-public-explorer-id{color:#a8244c!important;font-weight:800!important;font-size:12px!important;margin-top:2px!important}

/* EduGenaro 3.7.2 - Alertas comunitarias por lugar */
.egme-alert-launcher{position:fixed;left:18px;bottom:22px;z-index:99992;border:0;background:#fff;color:#6b2430;border-radius:18px;padding:8px 14px 8px 8px;display:flex;align-items:center;gap:8px;box-shadow:0 10px 30px rgba(33,22,30,.22);font-weight:800}.egme-alert-launcher:hover{transform:translateY(-2px)}
.egme-alert-triangle{width:42px;height:38px;display:grid;place-items:center;position:relative;color:#fff;font-size:20px;font-weight:900;filter:drop-shadow(0 3px 5px rgba(0,0,0,.22))}.egme-alert-triangle:before{content:"";position:absolute;inset:0;background:#f2b705;clip-path:polygon(50% 2%,98% 92%,2% 92%);border-radius:5px}.egme-alert-triangle b{position:relative;z-index:1;margin-top:9px}.egme-alert-launcher.is-red .egme-alert-triangle:before{background:#dc3545}.egme-alert-launcher.is-orange .egme-alert-triangle:before{background:#f07b22}.egme-alert-launcher.is-green .egme-alert-triangle:before{background:#28a76b}.egme-alert-launcher em{position:absolute;right:-5px;top:-7px;background:#c91f36;color:#fff;border:2px solid #fff;border-radius:20px;min-width:24px;padding:2px 6px;font-style:normal;font-size:11px;text-align:center}
.egme-alert-panel{position:fixed;left:18px;bottom:76px;width:min(420px,calc(100vw - 36px));max-height:min(720px,calc(100vh - 105px));z-index:99993;background:#fff;border:1px solid #eadde4;border-radius:20px;box-shadow:0 24px 65px rgba(24,12,22,.3);overflow:hidden;display:flex;flex-direction:column;opacity:0;visibility:hidden;transform:translateY(12px);transition:.22s ease}.egme-alert-panel.is-open{opacity:1;visibility:visible;transform:none}.egme-alert-head{display:flex;align-items:center;gap:10px;padding:14px;background:linear-gradient(135deg,#63102b,#982947);color:#fff}.egme-alert-head>div{flex:1;min-width:0}.egme-alert-head strong,.egme-alert-head small{display:block}.egme-alert-head small{opacity:.82;margin-top:3px}.egme-alert-back,.egme-alert-close{border:0;background:rgba(255,255,255,.14);color:#fff;width:34px;height:34px;border-radius:50%;font-size:20px}.egme-alert-summary{padding:13px 15px;background:#fff7e3;border-bottom:1px solid #f0dfb6}.egme-alert-summary strong,.egme-alert-summary span{display:block}.egme-alert-summary span{font-size:13px;color:#745d63;margin-top:3px}.egme-alert-actions{padding:10px 14px}.egme-alert-new,.egme-alert-submit{width:100%;border:0;border-radius:13px;padding:12px 14px;color:#fff;background:linear-gradient(100deg,#7d1a3d,#bc365b);font-weight:800}.egme-alert-list,.egme-alert-formview{overflow:auto;padding:0 13px 14px}.egme-alert-empty{padding:25px 14px;text-align:center;color:#76626b;background:#faf7f9;border-radius:14px}.egme-alert-card{border:1px solid #eadfe4;border-left:6px solid #e0b01f;border-radius:15px;padding:12px;margin-bottom:11px;background:#fff}.egme-alert-card.is-red{border-left-color:#dc3545}.egme-alert-card.is-orange{border-left-color:#f07b22}.egme-alert-card.is-green{border-left-color:#28a76b}.egme-alert-card-top{display:flex;gap:9px;align-items:flex-start}.egme-alert-card-top>div{flex:1}.egme-alert-card-top strong,.egme-alert-card-top small{display:block}.egme-alert-card-top small{color:#7c6570;margin-top:3px}.egme-alert-bigicon{font-size:25px}.egme-alert-time{font-size:11px;color:#94848c}.egme-alert-image{width:100%;max-height:210px;object-fit:cover;border-radius:11px;margin-top:10px}.egme-alert-card p{margin:10px 0 6px;line-height:1.45}.egme-alert-by{font-size:11px;color:#917d86}.egme-alert-card-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.egme-alert-card-actions button{border:1px solid #e7dce2;background:#fff;border-radius:10px;padding:7px 9px;color:#63283d}.egme-alert-card-actions button:hover{background:#fff4f7}.egme-alert-formview form{display:grid;gap:12px;padding-top:12px}.egme-alert-formview label{display:grid;gap:6px;font-weight:700;color:#5c273a}.egme-alert-formview input,.egme-alert-formview select,.egme-alert-formview textarea{width:100%;border:1px solid #ddcfd6;border-radius:11px;padding:11px;background:#fff}.egme-alert-coords{display:grid;grid-template-columns:1fr 1fr;gap:9px}.egme-alert-photo small,.egme-alert-rule{font-size:11px;color:#806e77;font-weight:400}.egme-alert-local-note{background:#f5ecff;border:1px solid #dfc9f2;border-radius:12px;padding:11px;color:#603a70}.egme-alert-error{color:#b51f35;margin:0;font-size:13px}
.egme-map-alert-box{position:fixed;left:16px;top:82px;z-index:99990}.egme-map-alert-toggle{border:0;border-radius:17px;background:#fff;box-shadow:0 10px 30px rgba(0,0,0,.22);padding:7px 13px 7px 7px;display:flex;align-items:center;gap:7px;font-weight:800}.egme-map-alert-toggle .egme-alert-triangle{width:36px;height:33px}.egme-map-alert-toggle em{font-style:normal;background:#c91f36;color:#fff;border-radius:20px;padding:2px 7px}.egme-map-alert-drawer{position:absolute;left:0;top:54px;width:min(370px,calc(100vw - 32px));max-height:65vh;overflow:hidden;background:#fff;border-radius:16px;box-shadow:0 18px 50px rgba(0,0,0,.27)}.egme-map-alert-drawer header{display:flex;justify-content:space-between;align-items:center;padding:13px 15px;background:#771d39;color:#fff}.egme-map-alert-drawer header button{border:0;background:none;color:#fff;font-size:22px}.egme-map-alert-list{max-height:55vh;overflow:auto;padding:9px}.egme-map-alert-item{display:flex;align-items:center;gap:10px;text-decoration:none;color:#4e2735;border-left:5px solid #e0b01f;padding:10px;border-bottom:1px solid #eee}.egme-map-alert-item.is-red{border-left-color:#dc3545}.egme-map-alert-item.is-orange{border-left-color:#f07b22}.egme-map-alert-item>span{font-size:23px}.egme-map-alert-item>div{flex:1}.egme-map-alert-item strong,.egme-map-alert-item small{display:block}.egme-map-alert-item small{color:#806c75;margin-top:2px}.egme-map-alert-item>b{background:#f5edf1;border-radius:20px;padding:4px 7px}.egme-leaflet-alert{width:34px;height:31px;clip-path:polygon(50% 0,100% 100%,0 100%);background:#e0b01f;color:#fff;display:grid;place-items:center;font-weight:900;padding-top:7px}.egme-leaflet-alert.is-red{background:#dc3545}.egme-leaflet-alert.is-orange{background:#f07b22}.egme-leaflet-alert.is-green{background:#28a76b}.egme-leaflet-alert-wrap{background:transparent!important;border:0!important}
@media(max-width:700px){.egme-alert-launcher{left:10px;bottom:14px;padding-right:9px}.egme-alert-launcher-label{display:none}.egme-alert-panel{left:0;bottom:0;width:100%;max-height:84vh;border-radius:20px 20px 0 0}.egme-alert-coords{grid-template-columns:1fr}.egme-map-alert-box{top:auto;bottom:16px;left:10px}.egme-map-alert-drawer{top:auto;bottom:50px}}

/* v3.8.3 stable - prevent image distortion in Mi Ecuador */
.egme-wall-photo,.egme-community-place-card img{height:auto;object-fit:contain}

/* 5.5.2 - Administración y ubicación de lugares de la comunidad */
.egme-location-tools{display:flex;gap:10px;flex-wrap:wrap}.egme-location-status{display:block;margin:-4px 0 10px;color:#64748b;font-weight:700}.egme-map-missing{display:inline-flex;align-items:center;padding:9px 13px;border-radius:999px;background:#fff7ed;color:#9a3412;font-weight:800;border:1px solid #fed7aa}.egme-inline-delete{display:inline-flex;margin:0}.egme-owner-edit,.egme-owner-delete{border-radius:999px!important;padding:9px 14px!important;font-weight:900!important}.egme-owner-edit{background:#fff7ed!important;color:#9a3412!important;border:1px solid #fdba74!important}.egme-owner-delete{background:#fff1f2!important;color:#be123c!important;border:1px solid #fda4af!important}

/* 5.5.4: administración segura de lugares publicados */
.egme-community-owner-tools{display:flex;gap:9px;flex-wrap:wrap;margin-top:14px;padding-top:12px;border-top:1px solid rgba(148,163,184,.25)}
.egme-community-owner-tools form{margin:0}.egme-community-owner-tools button{border:1px solid #8aa0b8;border-radius:999px;padding:8px 13px;background:#fff;color:#17324d;font-weight:800;cursor:pointer}.egme-community-owner-tools form button{border-color:#dc3545;color:#b42318}.egme-community-owner-tools button:hover{transform:translateY(-1px)}

/* =========================================================
   BASE ESTABLE 6.0 — 22/jul/2026
   Tema Gratis / Premium a nivel de página, integrado en el
   plugin oficial. Sustituye a los 6 plugins parche que se
   pisaban entre sí (contraste-gratis-seguro, contraste-limpio,
   texto-visible-definitivo, tema-unico, visual-sticky,
   plan-visual-texto-limpio 1.1/1.2/1.3).

   Reglas: SOLO toca texto genérico de página (main/article/
   entry-content/widgets de Elementor). NO toca componentes
   propios del plugin (.egme-chat-window, .egme-post-*, tarjetas,
   mapa, formularios) porque esos ya traen su propio color
   definido arriba en este mismo archivo — así se evita volver
   a producir el problema de "texto claro sobre fondo claro".
========================================================= */

:root{
  --egme-free-bg:#f7f9fd;
  --egme-free-text:#17263a;
  --egme-free-title:#071524;
  --egme-premium-bg-1:#071f4f;
  --egme-premium-bg-2:#0b3da8;
  --egme-premium-bg-3:#1065d8;
  --egme-premium-text:#eaf3ff;
  --egme-premium-title:#ffffff;
}

/* PLAN GRATIS: fondo blanco, texto oscuro y legible. */
body.egme-plan-gratis,
body.egme-plan-gratis .site,
body.egme-plan-gratis .site-content,
body.egme-plan-gratis .site-main,
body.egme-plan-gratis main,
body.egme-plan-gratis article,
body.egme-plan-gratis .entry-content,
body.egme-plan-gratis .elementor-location-single{
  background-color:var(--egme-free-bg) !important;
  color:var(--egme-free-text) !important;
}
body.egme-plan-gratis :is(main,article,.entry-content,.elementor-location-single,.elementor-widget-text-editor,.elementor-widget-theme-post-content)
  :is(p,li,blockquote,em,i,label,td,th){
  color:var(--egme-free-text) !important;
  opacity:1 !important;
  visibility:visible !important;
  text-shadow:none !important;
}
body.egme-plan-gratis :is(main,article,.entry-content,.elementor-location-single,.elementor-widget-text-editor,.elementor-widget-theme-post-content)
  :is(h1,h2,h3,h4,h5,h6,strong,b){
  color:var(--egme-free-title) !important;
  opacity:1 !important;
  visibility:visible !important;
}

/* PLAN PREMIUM: mantiene el degradado azul aprobado, texto claro. */
body.egme-plan-premium,
body.egme-plan-premium .site,
body.egme-plan-premium .site-content,
body.egme-plan-premium .site-main,
body.egme-plan-premium main,
body.egme-plan-premium .elementor-location-single{
  background:linear-gradient(145deg,var(--egme-premium-bg-1) 0%,var(--egme-premium-bg-2) 58%,var(--egme-premium-bg-3) 100%) fixed !important;
  color:var(--egme-premium-text) !important;
}
body.egme-plan-premium :is(main,article,.entry-content,.elementor-widget-text-editor)
  :is(p,li,blockquote,em,label,td,th){
  color:var(--egme-premium-text) !important;
  opacity:1 !important;
  visibility:visible !important;
}
body.egme-plan-premium :is(main,article,.entry-content,.elementor-widget-text-editor)
  :is(h1,h2,h3,h4,h5,h6,strong,b){
  color:var(--egme-premium-title) !important;
}

/* ================================================================
   BASE ESTABLE 6.0.2 — reparación visual y de navegación
   Solo corrige contraste, fondo Premium y menú. No modifica datos,
   PayPal, mapa, lugares, perfiles, alertas ni tablas de la BD.
   ================================================================ */

/* La página Premium no debe conservar el lienzo blanco del tema/Elementor. */
body.egme-plan-premium .site,
body.egme-plan-premium .site-content,
body.egme-plan-premium .site-main,
body.egme-plan-premium main,
body.egme-plan-premium article:not(.egme-wall-card):not(.egme-community-place-card),
body.egme-plan-premium .entry-content,
body.egme-plan-premium .elementor,
body.egme-plan-premium .elementor-section-wrap,
body.egme-plan-premium .elementor-location-single,
body.egme-plan-premium .elementor-widget-wrap,
body.egme-plan-premium .elementor-widget-container{
  background-color:transparent!important;
}

/* Fondo Premium continuo incluso cuando el tema usa contenedores blancos. */
body.egme-plan-premium{
  min-height:100vh!important;
  background:linear-gradient(145deg,var(--egme-premium-bg-1) 0%,var(--egme-premium-bg-2) 58%,var(--egme-premium-bg-3) 100%) fixed!important;
}

/* Letras del menú lateral de Mi Ecuador: siempre claras y visibles. */
.egme-is-premium-dashboard .egme-premium-side,
.egme-is-premium-dashboard .egme-premium-side-brand,
.egme-is-premium-dashboard .egme-premium-side-nav,
.egme-is-premium-dashboard .egme-premium-side-nav a,
.egme-is-premium-dashboard .egme-premium-side-nav button,
.egme-is-premium-dashboard .egme-premium-side a,
.egme-is-premium-dashboard .egme-premium-side button{
  color:#eaf3ff!important;
  opacity:1!important;
  visibility:visible!important;
  text-shadow:none!important;
}
.egme-is-premium-dashboard .egme-premium-side small{color:#a9bfd8!important;opacity:1!important}
.egme-is-premium-dashboard .egme-premium-side .is-active{color:#fff!important}

/* La barra de secciones acompaña el desplazamiento aunque el tema cambie estilos. */
.egme-menu{
  position:sticky!important;
  top:0!important;
  z-index:100050!important;
}
.egme-menu.is-stuck{
  position:fixed!important;
  z-index:100050!important;
}
.egme-hub-actions.egme-social-hub{
  position:sticky!important;
  top:8px!important;
  z-index:100040!important;
}

/* Dentro de tarjetas blancas se conserva texto oscuro. */
body.egme-plan-premium :is(.egme-wall-card,.egme-community-place-card,.egme-modal-card,.egme-checkout-card,.egme-subscription-card,.egme-plaza,.egme-profile-panel,.egme-side-card){
  color:#18202a!important;
}


/* ============================================================
   BASE ESTABLE 6.0.3 — reparación quirúrgica del modo Gratis
   No modifica Premium, mapa, PayPal, Mi Ecuador ni tarjetas propias.
   ============================================================ */
body.egme-plan-gratis{
  background:#fff!important;
  color:#20242a!important;
}
body.egme-plan-gratis :is(main,article,.entry-content,.elementor-widget-text-editor,.elementor-widget-text-editor .elementor-widget-container){
  color:#20242a!important;
}
body.egme-plan-gratis :is(main,article,.entry-content,.elementor-widget-text-editor) :is(p,li,span,strong,b,em,h1,h2,h3,h4,h5,h6){
  color:inherit!important;
  opacity:1!important;
  visibility:visible!important;
}
body.egme-plan-gratis :is(main,article,.entry-content) a:not(.elementor-button):not([class*="egme-"]){
  color:#135fbd!important;
}
/* Plaza: Preguntas y Memoria Premium usan el mismo formulario estable. */
.egme-plaza:not(.is-future) .egme-plaza__form:not([hidden]){display:block!important}

/* ============================================================
   BASE ESTABLE 6.0.4 — Gratis legible + Plaza inmediata y emojis
   Cambios limitados a contraste del contenido público y formulario
   de Plaza. No toca Premium, PayPal, mapa, lugares ni base de datos.
   ============================================================ */
body.egme-plan-gratis :is(main,article,.entry-content,.elementor,.elementor-widget-text-editor,.elementor-widget-theme-post-content)
:is(p,li,blockquote,em,i,span,strong,b,h1,h2,h3,h4,h5,h6):not([class*="egme-"]){
  color:#20242a!important;
  -webkit-text-fill-color:#20242a!important;
  opacity:1!important;
  text-shadow:none!important;
}
body.egme-plan-gratis :is(main,article,.entry-content) :is(h1,h2,h3,h4,h5,h6){color:#111827!important;-webkit-text-fill-color:#111827!important}
.egme-plaza__compose{position:relative;display:grid;grid-template-columns:38px minmax(0,1fr);gap:7px;align-items:end}
.egme-plaza__compose .egme-plaza__row{grid-column:2;min-width:0}
.egme-plaza__emoji-toggle{grid-column:1;grid-row:1;width:38px;height:38px;border:1px solid #d8d4d6;border-radius:10px;background:#fff;font-size:20px;cursor:pointer}
.egme-plaza__emoji-panel{position:absolute;left:0;bottom:48px;width:278px;max-width:calc(100vw - 84px);max-height:190px;overflow:auto;display:grid;grid-template-columns:repeat(6,1fr);gap:5px;padding:9px;background:#fff;border:1px solid #e2dfe1;border-radius:14px;box-shadow:0 14px 35px rgba(0,0,0,.22);z-index:100060}
.egme-plaza__emoji-panel[hidden]{display:none!important}
.egme-plaza__emoji-panel button{border:0;background:#f7f3f5;border-radius:8px;padding:6px 3px;font-size:21px;cursor:pointer;line-height:1.2}
.egme-plaza__emoji-panel button:hover{background:#f0e1e7;transform:scale(1.06)}
@media(max-width:480px){.egme-plaza__emoji-panel{position:fixed;left:4vw;right:4vw;bottom:88px;width:auto;max-width:none;grid-template-columns:repeat(7,1fr)}.egme-plaza__compose{grid-template-columns:36px minmax(0,1fr)}.egme-plaza__emoji-toggle{width:36px;height:36px}}


/* ============================================================
   6.1.2 — selector Gratis/Premium de Plaza
   Solo presentación. Conserva el envío de un único emoticón.
   ============================================================ */
.egme-plaza__emoji-panel{display:block!important;width:310px;max-width:calc(100vw - 48px);max-height:330px;padding:10px}
.egme-plaza__emoji-panel[hidden]{display:none!important}
.egme-emoji-title{grid-column:1/-1;font-size:12px;font-weight:900;color:#4b2734;margin:2px 2px 7px}
.egme-emoji-title.is-premium{margin-top:10px;color:#8a5a00}
.egme-emoji-title.is-signature{margin-top:10px;color:#6b2fb5}
.egme-emoji-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}
.egme-emoji-grid button{border:0;background:#f7f3f5;border-radius:9px;padding:7px 3px;font-size:21px;cursor:pointer;line-height:1.2}
.egme-emoji-grid.is-premium button{background:linear-gradient(145deg,#fff9d8,#ffe9a8);box-shadow:inset 0 0 0 1px rgba(184,128,0,.18)}
.egme-emoji-grid.is-signature button{background:linear-gradient(145deg,#f7ecff,#e9ddff);font-size:18px;box-shadow:inset 0 0 0 1px rgba(107,47,181,.16)}
.egme-emoji-grid button:hover{transform:translateY(-1px) scale(1.07)}
.egme-emoji-premium-teaser{margin-top:11px;padding:10px;border-radius:12px;background:linear-gradient(135deg,#fff8d4,#f2e4ff);border:1px solid #ead59b;text-align:center;color:#4e3546}
.egme-emoji-premium-teaser strong{display:block;font-size:12px;margin-bottom:6px;color:#6b3b00}
.egme-emoji-premium-teaser span{display:block;font-size:20px;filter:saturate(.8);margin-bottom:7px}
.egme-emoji-premium-teaser a{display:inline-flex;padding:6px 11px;border-radius:999px;background:#7b1f35;color:#fff!important;text-decoration:none!important;font-size:11px;font-weight:900}
@media(max-width:480px){.egme-plaza__emoji-panel{left:3vw;right:3vw;width:auto;max-width:none;max-height:42vh}.egme-emoji-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
