.wechat-container{
  max-width:860px;
  margin:18px auto;
  padding:0 18px;
}
.wechat-rules{
  border:1px solid #fee3c7;
  background:#fff6ec;
  border-radius:14px;
  padding:14px 16px;
  margin-bottom:18px;
}
.wechat-rules h2{
  margin:0 0 8px;
  font-size:16px;
  color:#b45309;
}
.wechat-rules ul{
  margin:0;
  padding-left:18px;
  color:#7c2d12;
  font-size:13px;
  line-height:1.6;
}
.wechat-section{
  margin-bottom:22px;
}
.wechat-section h2{
  margin:0 0 10px;
  font-size:18px;
  color:#0f172a;
}
.wechat-grid{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.wechat-card{
  border:1px solid #e2e8f0;
  border-radius:18px;
  padding:16px;
  background:#fff;
  box-shadow:0 8px 24px rgba(15,23,42,.05);
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:16px;
}
.wechat-card h3{
  margin:0;
  font-size:18px;
  color:#0f172a;
}
.wechat-card p{
  margin:4px 0 0;
  color:#475569;
  font-size:13px;
  line-height:1.5;
}
.wechat-meta{
  display:flex;
  flex-direction:column;
  gap:4px;
}
.wechat-tags{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.wechat-tag{
  border-radius:999px;
  padding:4px 10px;
  background:#f0f9ff;
  border:1px solid #bae6fd;
  color:#0369a1;
  font-size:12px;
  font-weight:600;
}
.wechat-actions{
  display:flex;
  align-items:center;
  gap:10px;
}
.wechat-actions button{
  border:none;
  border-radius:999px;
  background:#2563eb;
  color:#fff;
  padding:8px 18px;
  font-weight:700;
  cursor:pointer;
  box-shadow:0 6px 16px rgba(37,99,235,.2);
}
.wechat-modal-mask{
  position:fixed;
  inset:0;
  background:rgba(15,23,42,.45);
  z-index:999;
  opacity:0;
  transition:opacity .2s ease;
}
.wechat-modal-mask.active{opacity:1;}
.wechat-modal,
.wechat-login-modal{
  position:fixed;
  left:50%;
  top:50%;
  transform:translate(-50%,-48%);
  width:min(520px, 92vw);
  background:#fff;
  border-radius:16px;
  box-shadow:0 20px 60px rgba(15,23,42,.2);
  z-index:1000;
  opacity:0;
  transition:opacity .2s ease, transform .2s ease;
  padding:18px;
}
.wechat-modal.active,
.wechat-login-modal.active{
  opacity:1;
  transform:translate(-50%,-50%);
}
.wechat-modal header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:10px;
}
.wechat-modal header h3{
  margin:0;
  font-size:18px;
  color:#0f172a;
}
.wechat-modal header button{
  border:none;
  background:transparent;
  font-size:20px;
  cursor:pointer;
  color:#94a3b8;
}
.wechat-modal-body{
  display:flex;
  flex-direction:column;
  gap:12px;
  align-items:center;
  text-align:center;
}
.wechat-modal-body img{
  width:180px;
  height:180px;
  border-radius:14px;
  border:1px solid #e2e8f0;
  object-fit:cover;
}
.wechat-modal-body p{
  margin:0;
  font-size:13px;
  color:#475569;
}
.wechat-modal-rules{
  width:100%;
  text-align:left;
  border:1px dashed #f3c6a0;
  background:#fff7ef;
  border-radius:12px;
  padding:12px 14px;
}
.wechat-modal-rules h4{
  margin:0 0 8px;
  font-size:14px;
  color:#b45309;
}
.wechat-modal-rules ul{
  margin:0;
  padding-left:18px;
  font-size:12px;
  color:#7c2d12;
  line-height:1.6;
}
.wechat-login-modal h3{
  margin:0 0 6px;
  font-size:18px;
  color:#0f172a;
}
.wechat-login-modal p{
  margin:0 0 14px;
  font-size:13px;
  color:#475569;
}
.wechat-login-actions{
  display:flex;
  gap:10px;
  justify-content:flex-end;
}
.wechat-login-actions button{
  border:none;
  border-radius:999px;
  padding:8px 16px;
  font-weight:700;
  cursor:pointer;
  background:#2563eb;
  color:#fff;
}
.wechat-login-actions button.ghost{
  background:#fff;
  color:#2563eb;
  border:1px solid #bfdbfe;
}
