/* ============================================================
   guide.css —— 安装引导 / 线路选择 / 加载遮罩 弹窗
   规则与原站 data-v-e04dd776（安卓）、data-v-45785f6f（iOS）、
   data-v-017430d2（线路）、data-v-508a284c（loading）一一对应
   ============================================================ */

.androidInstallGuideOverlay { display:flex;align-items:center;justify-content:center;padding:.533rem;box-sizing:border-box }

.androidInstallGuide { width:8.987rem;max-width:100%;max-height:calc(100vh - 1.067rem);overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;padding:.693rem .533rem .64rem;border-radius:.533rem;border:.027rem solid #36363b;background:#211c1b;color:#f4f4f6 }

.guideTitle { margin:0 .32rem .373rem;font-size:.853rem;font-weight:700;line-height:1.4;color:#f4f4f6 }

.browserTip { width:5.6rem;height:1.093rem;margin:0 auto .48rem }

.browserTipBg { display:block;width:100%;height:100%;object-fit:contain }

.stepList { display:flex;flex-direction:column;gap:.48rem }

.stepItem { display:flex;flex-direction:column;gap:.213rem }

.stepHead { display:flex;align-items:center;gap:.267rem }

.stepIconWrap { flex-shrink:0;width:.533rem;height:.533rem;display:flex;align-items:center;justify-content:center }

.stepIcon { display:block;max-width:.533rem;max-height:.507rem }

.stepTitle { margin:0;font-size:.373rem;font-weight:500;line-height:.587rem;color:#f0f0f4 }

.stepDesc { margin:0;font-size:.32rem;font-weight:400;line-height:.507rem;color:#9c9ca8 }

.tipBox { margin-top:.587rem;padding:.373rem;border-radius:.32rem;background:#2d2c2f;box-sizing:border-box }

.tipHead { display:flex;align-items:center;gap:.213rem;margin-bottom:.32rem }

.tipIcon { display:block;width:.48rem;height:.48rem }

.tipLabel { font-size:.347rem;font-weight:500;line-height:.533rem;color:#e9e9ef }

.tipText { margin:0;font-size:.32rem;font-weight:400;line-height:.507rem;color:#babac5 }

.confirmBtn { margin-top:.613rem;height:1.253rem;display:flex;align-items:center;justify-content:center;border-radius:.853rem;background:#df2f51;font-size:.4rem;font-weight:500;line-height:.613rem;color:#21160f }

.faqLink { margin-top:.48rem;text-align:center;font-size:.32rem;font-weight:700;line-height:.507rem;color:#df2f51 }

.iosInstallGuideOverlay { background:#040910!important }

.iosInstallGuide { position:absolute;left:0;top:0;right:0;bottom:0;width:100%;height:100%;display:flex;flex-direction:column;background:#040910;color:#fff;box-sizing:border-box;overflow:hidden }

.guideNav { flex-shrink:0;padding:calc(.267rem + env(safe-area-inset-top, 0px)) .533rem 0;box-sizing:border-box;background:#040910;z-index:2 }

.guideNav .backBtn { display:inline-flex;align-items:center;padding:.107rem .32rem;margin:.267rem 0;border-radius:.16rem;border:.027rem solid hsla(0,0%,100%,.15);background:hsla(0,0%,100%,.1);font-size:.32rem;font-weight:500;line-height:normal;color:#fff }

.guideScroll { flex:1;min-height:0;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;touch-action:pan-y;padding:.32rem .533rem 2.667rem;box-sizing:border-box }

.brandHeader { display:flex;align-items:center;justify-content:center;gap:.107rem;padding-bottom:.32rem;margin-bottom:.853rem;font-size:.587rem;color:#fff;white-space:nowrap }

.brandHeader .brandName { font-weight:800 }

.brandHeader .brandSuffix { font-weight:700 }

.stepBlock { margin-bottom:.853rem }

.stepBlock.stepBlockLast { margin-bottom:0 }

.stepHeader { margin-bottom:.427rem }

.stepTitleRow { display:flex;align-items:center;gap:.213rem;margin-bottom:.16rem }

.stepNum { font-size:.587rem;font-weight:900;color:#fff;line-height:normal }

.stepTag { display:inline-flex;align-items:center;padding:.053rem .213rem;border-radius:.107rem;background:linear-gradient(90deg,#f0b952,#c6822b);font-size:.293rem;font-weight:700;color:#000;line-height:normal }

.stepDeco { display:flex;align-items:center;gap:.32rem }

.decoLine { width:2.133rem;height:.107rem;border-radius:.053rem;background:#ff366e }

.decoDots { display:flex;align-items:center;gap:.107rem }

.decoArrow { display:block;width:0;height:0;border-style:solid;border-width:.093rem 0 .093rem .16rem;border-color:transparent transparent transparent #ff366e }

.stepCard { display:flex;flex-direction:column;align-items:center;gap:.427rem;padding:.427rem;border-radius:.427rem;border:.027rem dashed #192430;background:#0c121a;box-sizing:border-box }

.stepCard.stepCardFinal { gap:.533rem;position:relative }

.stepTip { width:100%;margin:0;font-size:.373rem;font-weight:500;line-height:1.4;text-align:center;color:#8699a6 }

.stepTip.stepTipMulti { line-height:1.5 }

.tipBlue { font-weight:700;color:#2f80ed }

.tipGreen { font-weight:700;color:#00e676 }

.tipPink { font-weight:700;color:#ff366e }

.iosDialog { width:7.467rem;border-radius:.373rem;border:.027rem solid #3f3f3f;background:rgba(30,30,30,.9);overflow:hidden;box-sizing:border-box }

.iosDialogMsg { padding:.533rem .427rem;font-size:.4rem;font-weight:600;line-height:1.35;text-align:center;color:#fff }

.iosDialogDivider { height:.027rem;background:rgba(84,84,88,.4) }

.iosDialogActions { display:flex;height:1.173rem }

.iosDialogBtn { flex:1;display:flex;align-items:center;justify-content:center;font-size:.427rem;color:#2f80ed }

.iosDialogBtn.iosDialogBtnBold { font-weight:600 }

.iosDialogVDivider { width:.027rem;height:100%;background:rgba(84,84,88,.4) }

.iosScreen { width:7.467rem;border-radius:.32rem;border:.027rem solid #1c1c1e;background:#000;overflow:hidden;box-sizing:border-box }

.iosNav { display:flex;align-items:center;justify-content:space-between;padding:.267rem .32rem;background:#1c1c1e;font-size:.373rem;box-sizing:border-box }

.iosNavLeft { color:#2f80ed;font-weight:400 }

.iosNavTitle { color:#fff;font-weight:600 }

.iosNavRight { color:#2f80ed;font-weight:600 }

.iosList { padding:.32rem;box-sizing:border-box }

.profileHeader { display:flex;align-items:center;gap:.32rem }

.appIconWrap { width:1.067rem;height:1.067rem;border-radius:.213rem;background:#2c2c2e;display:flex;align-items:center;justify-content:center;flex-shrink:0 }

.cogIcon { width:.64rem;height:.64rem;display:block }

.profileMeta { flex:1;min-width:0 }

.profileName { margin:0;font-size:.373rem;font-weight:600;color:#fff;line-height:normal }

.profileDesc { margin:.053rem 0 0;font-size:.293rem;color:#8699a6;line-height:normal }

.iosHLine { height:.027rem;margin:.32rem 0;background:#38383a }

.profileFields { display:flex;flex-direction:column;gap:.16rem }

.fieldRow { display:flex;align-items:flex-start;gap:.16rem;font-size:.293rem;line-height:normal }

.fieldLabel { width:1.333rem;flex-shrink:0;color:#8699a6 }

.fieldValue { flex:1;min-width:0 }

.fieldValue p { margin:0;color:#fff;word-break:break-word }

.fieldValue .fieldAlert { margin-top:.053rem;font-weight:600;color:#ff3b30 }

.fieldPlain { color:#fff }

.moreDetail { display:flex;align-items:center;justify-content:space-between;font-size:.32rem;color:#fff }

.moreDetail .moreArrow { color:#8699a6;font-size:.373rem }

.iosFooterAlert { padding:.32rem;background:#1c1c1e;font-size:.32rem;color:#ff3b30;text-align:center;box-sizing:border-box }

.consentBody { padding:.427rem;box-sizing:border-box }

.consentFrom { margin:0 0 .213rem;font-size:.293rem;color:#8699a6;line-height:normal }

.consentText { margin:0;font-size:.347rem;color:#fff;line-height:normal }

.warningBody { padding:.427rem;box-sizing:border-box }

.warningTitle { margin:0 0 .213rem;font-size:.32rem;font-weight:600;color:#8699a6;line-height:normal }

.warningText { margin:0;font-size:.347rem;color:#fff;line-height:normal }

.finalLogoWrap { position:relative;width:2.053rem;height:2.053rem }

.finalLogoImg { display:block;width:2.053rem;height:2.053rem;border-radius:.427rem;object-fit:cover }

.liteBadge { position:absolute;top:-.24rem;right:-.48rem;padding:.053rem .16rem;border-radius:.213rem;background:#ff366e;font-size:.24rem;font-weight:800;color:#fff;line-height:normal;white-space:nowrap }

.finalText { width:100%;text-align:center }

.finalTitle { margin:0 0 .16rem;font-size:.4rem;font-weight:600;color:#fff;line-height:normal }

.selectLineOverlay { height:100%;width:100%;display:flex;align-items:center;justify-content:center }

.selectLineOverlay .selectionLineBox { background-color:#fff;border-radius:.213rem;overflow:hidden;width:7.467rem }

.selectLineOverlay .selectionLineBox .titleBox { color:#fff;font-size:.4rem;text-align:center;height:1.013rem;line-height:1.013rem;background:linear-gradient(142deg,#ffae61,#ff1101 48%,#ff00b9) }

.selectLineOverlay .selectionLineBox .lineArea { padding:.64rem .64rem;display:flex;align-items:center;justify-content:center }

.selectLineOverlay .selectionLineBox .lineArea .lineBox { white-space:nowrap;margin:.213rem .533rem .213rem .533rem;display:flex;align-items:center }

.selectLineOverlay .selectionLineBox .lineArea .lineBox .unselect { height:.32rem;width:.32rem;border-radius:50%;background-color:#eee }

.selectLineOverlay .selectionLineBox .lineArea .lineBox .selected { height:.373rem;width:.373rem;border-radius:50%;background-color:#eee;display:flex;align-items:center;justify-content:center }

.selectLineOverlay .selectionLineBox .lineArea .lineBox .selected .select { height:.267rem;width:.267rem;border-radius:50%;background-color:#dd001b }

.selectLineOverlay .selectionLineBox .lineArea .lineBox .line { font-size:.4rem;color:#666;margin-left:.107rem;flex:1 }

/* ============================================================
   弹窗显隐
   默认全部隐藏。两种打开方式，任选：
   1) 纯 HTML/CSS：给链接加 href="#android-guide" 走 :target
   2) 加类名 .is-open
   示例（在 index.html 里）：
     <a href="#android-guide">下载安卓版</a>
   ============================================================ */
.androidInstallGuideOverlay,
.iosInstallGuideOverlay,
.selectLinePopup,
.loading_box { display:none }

.androidInstallGuideOverlay:target,
.iosInstallGuideOverlay:target,
.selectLinePopup:target,
.loading_box:target,
.androidInstallGuideOverlay.is-open,
.iosInstallGuideOverlay.is-open,
.selectLinePopup.is-open,
.loading_box.is-open { display:flex }

.androidInstallGuideOverlay,
.iosInstallGuideOverlay,
.selectLinePopup { position:fixed; inset:0; z-index:999 }

/* 弹窗打开时锁滚动 */
.iosInstallGuideOverlay:target ~ *,
.androidInstallGuideOverlay:target ~ * { overflow:hidden }

/* iOS 引导整屏铺满，覆盖 van-overlay 的居中 flex */
.iosInstallGuideOverlay { align-items:stretch; justify-content:flex-start }
