/* 新人注册礼弹窗（r1188） */
html.sg-open{overflow:hidden}
.sg-mask{position:fixed;inset:0;z-index:2147483000;background:rgba(15,28,45,.45);display:flex;align-items:center;justify-content:center;padding:16px;animation:sg-fade .18s ease-out}
.sg-box{position:relative;width:min(420px,100%);max-height:calc(100vh - 32px);overflow:auto;background:#fff;border-radius:14px;box-shadow:0 18px 50px rgba(15,28,45,.25);padding:22px 22px 16px;color:#19334f;font-size:14px;line-height:1.5}
.sg-close{position:absolute;top:8px;right:10px;width:32px;height:32px;border:0;background:transparent;color:#8a97a8;font-size:24px;line-height:1;cursor:pointer;border-radius:8px}
.sg-close:hover{background:#f1f4f8;color:#19334f}
.sg-head{display:flex;gap:14px;align-items:center;margin-bottom:16px;padding-right:24px}
.sg-badge{flex:none;width:58px;height:58px;border-radius:12px;background:linear-gradient(135deg,#ff7a45,#f5222d);color:#fff;font-weight:700;font-size:20px;display:flex;align-items:center;justify-content:center}
.sg-head h2{margin:0 0 4px;font-size:18px;color:#19334f}
.sg-head p{margin:0;color:#5b6b7f;font-size:13px}
.sg-form{display:flex;flex-direction:column;gap:10px}
.sg-form input[type=tel],.sg-form input[type=text]{width:100%;box-sizing:border-box;height:40px;padding:0 12px;border:1px solid #e1e5eb;border-radius:8px;font-size:14px;color:#19334f;background:#fff}
.sg-form input:focus{outline:none;border-color:#0d509e;box-shadow:0 0 0 3px rgba(13,80,158,.12)}
.sg-row{display:flex;gap:8px}
.sg-row input{flex:1;min-width:0}
.sg-send{flex:none;height:40px;padding:0 14px;border:1px solid #0d509e;border-radius:8px;background:#fff;color:#0d509e;font-size:14px;cursor:pointer;white-space:nowrap}
.sg-send:disabled{border-color:#e1e5eb;color:#8a97a8;cursor:default}
.sg-q{border:0;margin:4px 0 0;padding:0;min-width:0}
.sg-q legend{padding:0;margin-bottom:8px;font-weight:600}
.sg-opts{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}
.sg-opt{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border:1px solid #e1e5eb;border-radius:999px;cursor:pointer;user-select:none}
.sg-opt input{margin:0;accent-color:#0d509e}
.sg-opt.on{border-color:#0d509e;background:#eef4fb;color:#0d509e}
.sg-msg{min-height:20px;margin:0;font-size:13px;color:#5b6b7f}
.sg-msg.err{color:#d4380d}
.sg-msg.ok{color:#237804}
.sg-msg.warn{color:#ad6800}
.sg-submit{height:44px;border:0;border-radius:8px;background:#0d509e;color:#fff;font-size:15px;font-weight:600;cursor:pointer}
.sg-submit:hover:not(:disabled){background:#093e7c}
.sg-submit:disabled{background:#b8c4d3;cursor:not-allowed}
.sg-note{margin:0;text-align:center;color:#8a97a8;font-size:12px}
@keyframes sg-fade{from{opacity:0}to{opacity:1}}
@media (max-width:480px){.sg-box{padding:18px 16px 14px}.sg-head h2{font-size:16px}.sg-badge{width:48px;height:48px;font-size:17px}}
