*{box-sizing:border-box;margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Helvetica Neue",sans-serif;}
html{font-size:13px;scroll-behavior:smooth;-webkit-text-size-adjust:100%;}
body{
    background:#f7e5fc;
    min-height:100vh;
    padding:8px 0;
}

.mask{
    position:fixed;inset:0;
    background:rgba(12,12,28,.68);
    z-index:998;
    display:flex;align-items:center;justify-content:center;
    padding:8px;
    -webkit-backdrop-filter: blur(4px);
}
.popwin{
    background:#fff;
    border-radius:12px;
    padding:12px;
    max-width:310px;width:100%;
    box-shadow:0 4px 18px rgba(112,64,192,.18);
}
.popwin h3{
    text-align:center;
    font-size:14px;
    color:#7940bb;
    margin-bottom:6px;
    font-weight:700;
}
.pop-content{
    background:linear-gradient(135deg,#f7f2fd,#f4effb);
    border-radius:8px;
    padding:8px;
    line-height:1.45;
    color:#454555;
    font-size:12px;
}
.chkbox{
    display:flex;align-items:center;gap:5px;
    margin:8px 0;
}
.chkbox input{width:16px;height:16px;accent-color:#884dd4;}
.chkbox label{font-size:12px;color:#555;}
.btn-ok{
    width:100%;
    padding:9px;
    border-radius:9px;
    border:none;
    background:linear-gradient(90deg,#9055e0,#7039cc);
    color:#fff;
    font-size:13px;font-weight:700;
}
.btn-ok:active{transform:scale(.97);}
.btn-ok:disabled{opacity:.4;}

.container{
    max-width:400px;
    margin:0 auto;
    padding:0 10px;
}

.top-badge{
    display:table;
    margin:5px auto;
    background:linear-gradient(90deg,#853fd6,#9752e2);
    color:#fff;
    padding:3px 12px;
    border-radius:999px;
    font-size:11px;
}
.title-main{
    text-align:center;
    font-size:18px;
    color:#722bc6;
    margin:6px 0 3px;
    font-weight:700;
}

.top-promo{
    width:100%;
    border-radius:16px;
    overflow:hidden;
}
.top-promo img{
    display:block;
    width:100%;
    height:auto;

}

.step-row{
    display:flex;
    justify-content:space-around;
    align-items:center;
    margin:8px 0;
    padding:0 2px;
}
.step-item{
    text-align:center;
    font-size:11px;
    color:#888;
    width:52px;
}
.step-num{
    width:32px;height:32px;
    border-radius:50%;
    display:flex;align-items:center;justify-content:center;
    margin:0 auto 2px;
    font-weight:700;font-size:14px;
}
.step-on{
    background:linear-gradient(135deg,#39d047,#22bc32);
    color:#fff;
}
.step-off{
    background:#e9dcf7;
    color:#b496d4;
}
.step-line{
    flex:1;height:2px;
    background:#e9dcf7;
    margin:0 1px;
}

.mod{
    background:#ffffff;
    border-radius:15px;
    padding:10px 11px;
    margin-bottom:8px;
    box-shadow:0 1px 6px rgba(115,55,204,.07);
}
.mod h4{
    color:#7c36c7;
    font-size:14px;
    margin-bottom:6px;
    font-weight:700;
}

.desc-wrap{
    background: #f9f2ff;
    border-radius:11px;
    padding:12px 14px;
}
.desc-lead{
    color:#8054b8;
    font-size:15px;
    margin-bottom:8px;
}
.desc-list{
    padding-left:18px;
    color:#111;
    font-size:15px;
    line-height:1.65;
    margin-bottom:8px;
}
.desc-sub{
    color:#722bc6;
    font-weight:bold;
    font-size:15px;
    margin:6px 0 4px;
}
.desc-step{
    padding-left:4px;
    color:#8054b8;
    font-size:15px;
    line-height:1.7;
}
.desc-tip{
    margin-top:8px;
    color:#8054b8;
    font-size:15px;
}

.jump-wrap{
    display:flex;
    justify-content:center;
    margin-top:2px;
}
.jump-link{
    display:inline-block;
    padding:4px 14px;
    background:linear-gradient(90deg,#ff3875,#f32262);
    color:#fff;
    border-radius:999px;
    font-size:12px;
    font-weight:700;
}
.jump-link:active{transform:scale(.96);}

.bigbtn{
    width:100%;
    border:none;
    padding:9px 6px;
    border-radius:12px;
    font-size:14px;
    font-weight:700;
    color:#fff;
    background:linear-gradient(90deg,#924aed,#792cda);
}
.bigbtn:active{transform:scale(.97);}

.kbox{
    background:linear-gradient(145deg,#f9efff,#f4e5ff);
    padding:8px 6px;
    border-radius:12px;
    margin:3px 0 6px;
    border:1px solid #e1cbf7;
}
.ktext{
    text-align:center;
    font-size:16px;
    letter-spacing:.2px;
    color:#000000;
    font-weight:700;
}

.info-block{
    background:linear-gradient(135deg,#f7efff,#f2e5fc);
    border-radius:12px;
    padding:10px;
    margin-top:3px;
}
.info-block h5{
    font-size:13px;
    color:#6828b5;
    margin-bottom:3px;
    font-weight:700;
}
.info-block ul{
    padding-left:14px;
    color:#655580;
    line-height:1.45;
    font-size:12px;
}
.info-block p{
    margin-top:3px;
    color:#71638c;
    font-size:12px;
}

.tut-wrap{margin-top:3px;}
.tut-img{
    max-width:100%;
    width:100%;
    border-radius:9px;
    margin:3px auto 0;
    display:block;


}

.qr-mask{
    position:fixed;inset:0;
    background:rgba(0,0,0,.72);
    z-index:997;
    display:none;
    align-items:center;justify-content:center;
    padding:10px;
}
.qr-pop{
    background:#fff;
    border-radius:14px;
    padding:14px;
    max-width:260px;width:100%;
}
.qr-pop h4{
    text-align:center;
    color:#7938cb;
    margin-bottom:8px;
    font-size:15px;
    font-weight:700;
}
.qr-pop img{
    max-width:175px;
    width:100%;
    border-radius:9px;
    display:block;
    margin:0 auto;


}
.qr-empty-text{
    text-align:center;
    color:#999;
    padding:12px 5px;
    font-size:13px;
}
.qr-close{
    margin-top:12px;
    width:100%;
    padding:9px;
    border-radius:10px;
    border:none;
    background:#ede5f7;
    font-size:13px;
    color:#6436ab;
    font-weight:600;
}

.toast{
    position:fixed;
    left:50%;top:20px;
    transform:translateX(-50%);
    background:rgba(20,20,36,.85);
    color:#fff;
    padding:7px 14px;
    border-radius:999px;
    z-index:9999;
    display:none;
    font-size:12px;
    white-space:nowrap;
}

#copyBackup{
    position:absolute;
    left:-9999px;
    top:-9999px;
    width:4px;height:4px;
    opacity:0;z-index:-999;
}

/* 防止未上传图片出现破碎图标占位 */
img.tut-img,
.qr-pop img,
.top-promo img {
    content-visibility: auto;
}

img[src=""],
img[src="undefined"],
img[src="null"] {
    display: none !important;
}

/* Local replica: accessiblity, long keys, and narrow screens. */
[hidden] { display: none !important; }
.qr-mask { display: flex; }
.qr-open { overflow: hidden; }
button, .jump-link { cursor: pointer; touch-action: manipulation; }
button:disabled { cursor: default; opacity: .45; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #4c18a0; outline-offset: 3px; }
.jump-link { text-decoration: none; }
.ktext { overflow-wrap: anywhere; user-select: text; }
.desc-step { white-space: pre-line; }
.image-fallback, .noscript { color: #655580; padding: 12px; text-align: center; }
.key-hint { color: #a36b3e; padding: 4px 2px 8px; font-size: 11px; line-height: 1.6; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
