/* 二萌生活会员转化增强 v1.1.0 */

/* 隐藏内容：保留“有内容被锁住”的视觉感 */
.em-vipc-hidden-box{
  margin:18px 0 8px!important;
  padding:22px 18px!important;
  border:1px dashed #ff4d8d!important;
  border-radius:12px!important;
  background:#fffafd!important;
  text-align:center!important;
  color:#596779!important;
  box-sizing:border-box
}
.em-vipc-hidden-box .em-vipc-lock-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  margin-bottom:8px;
  border-radius:50%;
  background:#ffe7f0;
  color:#ff4081;
  font-size:18px;
  font-weight:900
}
.em-vipc-hidden-title{
  margin:0 0 5px!important;
  padding:0!important;
  border:0!important;
  background:none!important;
  color:#26364a!important;
  font-size:18px!important;
  line-height:1.5!important;
  font-weight:700!important
}
.em-vipc-hidden-title:before{display:none!important}
.em-vipc-hidden-desc{
  margin:0 0 14px!important;
  color:#7b8797!important;
  font-size:13px!important;
  line-height:1.7!important
}
.em-vipc-hidden-actions{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  flex-wrap:wrap
}
.em-vipc-open,
.em-vipc-login{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:9px 18px!important;
  border-radius:8px!important;
  text-decoration:none!important;
  font-size:14px!important;
  font-weight:700!important;
  line-height:1.4!important;
  box-sizing:border-box
}
.em-vipc-open{
  background:#ff4081!important;
  color:#fff!important;
  border:1px solid #ff4081!important;
  box-shadow:0 5px 14px rgba(255,64,129,.18)
}
.em-vipc-open:hover{background:#ef2f72!important;color:#fff!important}
.em-vipc-login{
  background:#fff!important;
  color:#657287!important;
  border:1px solid #dfe5ec!important
}
.em-vipc-price-note{
  margin:11px 0 0!important;
  color:#9aa4b1!important;
  font-size:12px!important;
  line-height:1.6!important
}
.em-vipc-price-note strong{
  color:#ff4081;
  font-weight:700
}

/* 首页/侧栏会员入口仍可显示简洁价格 */
.em-vipc-price-line{
  margin:10px 0 2px;
  padding:9px 10px;
  border-radius:9px;
  background:#f7f9fc;
  color:#657287;
  font-size:12px;
  line-height:1.65;
  text-align:center
}
.em-vipc-price-line strong{color:#1677ff;font-weight:800}

/* 点击会员入口时的轻量弹窗 */
.em-vipc-modal[hidden]{display:none!important}
.em-vipc-modal{
  position:fixed;
  z-index:999999;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px
}
.em-vipc-mask{
  position:absolute;
  inset:0;
  background:rgba(22,30,43,.48);
  backdrop-filter:blur(2px)
}
.em-vipc-dialog{
  position:relative;
  z-index:1;
  width:min(500px,100%);
  border-radius:16px;
  background:#fff;
  box-shadow:0 24px 70px rgba(0,0,0,.2);
  overflow:hidden
}
.em-vipc-dialog-body{padding:24px}
.em-vipc-close{
  position:absolute;
  right:13px;
  top:11px;
  width:34px;
  height:34px;
  border:0;
  border-radius:50%;
  background:#f3f5f8;
  color:#697789;
  font-size:22px;
  line-height:34px;
  cursor:pointer
}
.em-vipc-dialog h2{
  margin:4px 38px 5px 0!important;
  padding:0!important;
  border:0!important;
  background:none!important;
  color:#1e2b3d!important;
  font-size:22px!important;
  line-height:1.45!important
}
.em-vipc-dialog h2:before{display:none!important}
.em-vipc-modal-sub{
  margin:0 0 14px!important;
  color:#748093!important;
  font-size:13px!important;
  line-height:1.7!important
}
.em-vipc-modal-prices{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin:14px 0
}
.em-vipc-modal-price{
  padding:11px 6px;
  border:1px solid #e7edf4;
  border-radius:10px;
  background:#fafcff;
  text-align:center
}
.em-vipc-modal-price b{display:block;color:#465467;font-size:13px}
.em-vipc-modal-price strong{display:block;margin-top:2px;color:#1677ff;font-size:19px}
.em-vipc-modal-actions{
  display:flex;
  gap:9px;
  flex-wrap:wrap;
  margin-top:15px
}
.em-vipc-modal-actions .em-vipc-open,
.em-vipc-modal-actions .em-vipc-login{flex:1}
body.em-vipc-lock{overflow:hidden}

@media (max-width:600px){
  .em-vipc-hidden-box{padding:18px 13px!important}
  .em-vipc-hidden-actions{
    display:grid;
    grid-template-columns:1fr;
    width:100%
  }
  .em-vipc-open,.em-vipc-login{width:100%}
  .em-vipc-dialog-body{padding:20px 16px}
  .em-vipc-modal-prices{gap:6px}
  .em-vipc-modal-price{padding:9px 4px}
  .em-vipc-modal-price strong{font-size:17px}
  .em-vipc-modal-actions{display:grid;grid-template-columns:1fr}
}
