/* 魔客AI获客 · 下载前置校验弹窗 20261116 v2（含卡密验证） */
.moke-gate-open{overflow:hidden}
.moke-gate{position:fixed;inset:0;z-index:9000;display:none;align-items:center;justify-content:center;padding:20px;font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif}
.moke-gate.is-open{display:flex}
.moke-gate-mask{position:absolute;inset:0;background:#1b1026a6;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
.moke-gate-card{position:relative;width:min(470px,100%);box-sizing:border-box;background:#fff;border-radius:20px;padding:30px 28px 24px;box-shadow:0 30px 80px #1b102647;animation:mokeGateIn .22s ease-out both;text-align:left;max-height:calc(100vh - 40px);overflow:auto}
@keyframes mokeGateIn{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}
.moke-gate-close{position:absolute;top:12px;right:12px;width:34px;height:34px;border:0;border-radius:50%;background:transparent;color:#988aa6;font-size:22px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center}
.moke-gate-close:hover{background:#f4f2f8;color:#1b1026}
.moke-gate-badge{display:inline-flex;align-items:center;gap:7px;background:#f3ecff;color:#712cff;font-size:12px;font-weight:700;border-radius:999px;padding:6px 12px}
.moke-gate-badge i{width:6px;height:6px;border-radius:50%;background:#712cff;display:block}
.moke-gate-card h2{margin:16px 0 0;font-size:22px;line-height:1.45;letter-spacing:-.4px;color:#1b1026;font-weight:800}
.moke-gate-card p.moke-gate-desc{margin:12px 0 0;font-size:14px;line-height:1.8;color:#7a688c}
.moke-gate-plan{margin:18px 0 0;display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px 14px;background:#f7f4ff;border:1px solid #ece8f7;border-radius:14px;padding:15px 17px}
.moke-gate-plan b{font-size:15px;color:#1b1026;white-space:nowrap;font-weight:700}
.moke-gate-plan .moke-gate-price{color:#712cff;font-weight:800;font-size:22px;letter-spacing:-.5px;white-space:nowrap}
.moke-gate-plan .moke-gate-price small{font-size:12px;font-weight:500;color:#7a688c;margin-left:2px}
.moke-gate-plan span.moke-gate-perk{grid-column:1/-1;font-size:12px;line-height:1.7;color:#7a688c}
.moke-gate-actions{margin-top:18px;display:flex;flex-direction:column;gap:10px}
.moke-gate-primary{display:flex;align-items:center;justify-content:center;gap:8px;min-height:52px;border:0;border-radius:11px;background:#712cff;color:#fff;font-size:16px;font-weight:700;cursor:pointer;box-shadow:0 8px 20px #712cff2e;transition:transform .18s,box-shadow .18s}
.moke-gate-primary:hover{transform:translateY(-2px);box-shadow:0 12px 26px #712cff3a}
.moke-gate-secondary{min-height:46px;border:1px solid #e3ddf2;border-radius:11px;background:#fff;color:#712cff;font-size:14px;font-weight:650;cursor:pointer}
.moke-gate-secondary:hover{background:#faf8ff}

/* 卡密验证区 */
.moke-gate-code{margin-top:16px;padding-top:16px;border-top:1px dashed #e6e1f2}
.moke-gate-code>label{display:block;font-size:13px;font-weight:700;color:#1b1026;margin-bottom:9px}
.moke-gate-code-row{display:flex;gap:9px}
.moke-gate-code-row input{flex:1;min-width:0;box-sizing:border-box;border:1px solid #ded6ec;border-radius:10px;background:#fff;padding:12px 13px;font:inherit;font-size:14px;letter-spacing:.5px;color:#1b1026;text-transform:uppercase}
.moke-gate-code-row input::placeholder{color:#b4a9bf;letter-spacing:.3px;text-transform:none}
.moke-gate-code-row input:focus{outline:none;border-color:#a982ff;box-shadow:0 0 0 3px #712cff1a}
.moke-gate-code-row button{flex:0 0 auto;min-height:46px;padding:0 20px;border:0;border-radius:10px;background:#1b1026;color:#fff;font-size:14px;font-weight:700;cursor:pointer;transition:background .18s}
.moke-gate-code-row button:hover{background:#3a2a4a}
.moke-gate-code-row button:disabled{background:#c2b9cb;cursor:default}
.moke-gate-code-status{min-height:20px;margin:9px 0 0;font-size:12.5px;line-height:1.65;color:#7a688c}
.moke-gate-code-status.is-ok{color:#068563}
.moke-gate-code-status.is-error{color:#d5375c}
.moke-gate-code-tip{margin:6px 0 0;font-size:11.5px;line-height:1.7;color:#a69ab3}

.moke-gate-foot{margin:14px 0 0;font-size:12px;line-height:1.8;color:#988aa6;text-align:center}
.moke-gate-foot b{color:#1b1026;font-weight:600}
@media(max-width:520px){
  .moke-gate{padding:14px}
  .moke-gate-card{padding:24px 18px 18px;border-radius:16px;max-height:calc(100vh - 28px)}
  .moke-gate-card h2{font-size:19px}
  .moke-gate-card p.moke-gate-desc{font-size:13px}
  .moke-gate-primary{min-height:50px;font-size:15px}
  .moke-gate-code-row{flex-wrap:wrap}
  .moke-gate-code-row button{width:100%}
}
