/* 安卓 / 苹果安装页（android.html / ios.html）专用样式，和 style.css 一起用 */
body { font-size: 14px; padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
.ipage { max-width: 560px; margin: 0 auto; padding: 0 14px; }

/* ---------- 顶栏 ---------- */
.ibar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(9, 11, 17, .94); box-shadow: 0 1px 0 var(--gold-faint);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.ibar .in { max-width: 560px; height: 52px; margin: 0 auto; padding: 0 12px 0 6px; display: flex; align-items: center; gap: 4px; }
.ibar .back { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: #d8cbb0; }
.ibar .back:hover { color: var(--gold-hi); }
.ibar .back svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ibar .logo-img { height: 30px; width: auto; }
.ibar .other { margin-left: auto; padding: 4px 12px; font-size: 13px; color: var(--gold); border: 1px solid var(--gold-line); border-radius: 999px; white-space: nowrap; }

/* ---------- 应用信息 ---------- */
.app { position: relative; z-index: 0; margin: 0 -14px; padding: 34px 20px 28px; text-align: center; overflow: hidden; }
.app-bg { position: absolute; inset: -10px; z-index: -1; background: url("images/bg_m.jpg") 72% 30% / cover; filter: blur(3px) brightness(.5); }
.app-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 9, 14, .15), rgba(7, 9, 14, .55) 55%, var(--bg) 96%); }
.app-icon {
  position: relative; width: 104px; height: 104px; margin: 0 auto; padding: 2px; border-radius: 25px; overflow: hidden;
  background: linear-gradient(145deg, #fff1c4, #b9853a 45%, #fbe3a0 70%, #8c5c1f);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .6), 0 0 36px rgba(233, 180, 90, .35);
  animation: icon-in .9s cubic-bezier(.2, .7, .2, 1) both;
}
.app-icon img { width: 100%; height: 100%; border-radius: 23px; object-fit: cover; }
.app-icon::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -80%; width: 50%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-20deg); animation: btn-shine 4.5s ease-in-out 1.2s infinite;
}
@keyframes icon-in { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
.app h1 { margin-top: 16px; line-height: 0; }
.app-name { height: 48px; width: auto; margin: 0 auto; }
.app-plat {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 3px 13px;
  font-size: 13px; color: #e9dcc0; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; background: rgba(0, 0, 0, .35);
}
.app-plat svg { width: 15px; height: 15px; }
.app-plat.ios svg { fill: #f5f5f7; }
.app-plat.android svg { fill: #3ddc84; }
.app-meta { display: flex; justify-content: center; margin-top: 16px; list-style: none; }
.app-meta li { padding: 0 16px; line-height: 1.35; }
.app-meta li + li { border-left: 1px solid rgba(255, 255, 255, .12); }
.app-meta b { display: block; font-size: 15px; color: #f4f1ea; }
.app-meta small { font-size: 11px; color: #8d95a7; }
.itags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 14px; }
.itags span {
  padding: 2px 9px; font-size: 12px; line-height: 1.5; color: #b3bacb;
  border: 1px solid rgba(255, 255, 255, .12); border-radius: 6px; background: rgba(0, 0, 0, .25);
}
.install { width: 100%; max-width: 360px; height: 54px; margin-top: 22px; font-size: 18px; border-radius: 12px; }
.install svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.install.off { opacity: .6; filter: saturate(.3); }
.app-tip { margin-top: 12px; font-size: 12.5px; color: #a6adbd; }
.app-tip b { color: var(--gold-hi); font-weight: 600; }
.app .mirrors { margin-top: 12px; }

/* 提示条（微信里 / 不是 Safari / 设备不对 / 鸿蒙） */
.notice {
  display: flex; gap: 10px; align-items: flex-start; max-width: 420px; margin: 18px auto 0; padding: 12px 14px;
  text-align: left; font-size: 13px; line-height: 1.65; color: #f6e7c4;
  border-radius: 12px; background: rgba(214, 58, 44, .15); border: 1px solid rgba(230, 100, 70, .5);
}
.notice > svg { flex: none; width: 20px; height: 20px; margin-top: 1px; fill: none; stroke: #ff8a6a; stroke-width: 2; stroke-linecap: round; }
.notice.info { background: rgba(60, 120, 230, .12); border-color: rgba(120, 160, 240, .4); }
.notice.info > svg { stroke: #8ab4f8; }
.notice b { color: var(--gold-hi); }
.notice .act {
  display: inline-block; margin-top: 8px; padding: 4px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 700; color: #2f1d05; background: linear-gradient(180deg, #f8e2a1, #d9a94f);
}
.notice .qr { display: block; width: 120px; height: 120px; margin-top: 10px; padding: 5px; background: #fff; border-radius: 8px; }

/* ---------- 区块 ---------- */
.blk { padding-top: 40px; }
.blk .sec-title { margin-bottom: 20px; }
.blk .sec-title h3 { font-size: 24px; letter-spacing: 5px; }
.blk-note { margin: -8px 0 16px; text-align: center; font-size: 12.5px; color: #8d95a7; }
.blk-note b { color: var(--gold); font-weight: 600; }
.blk .guide { padding: 18px 14px 20px; }

/* 安装步骤 */
.isteps { list-style: none; display: grid; gap: 16px; }
.isteps > li {
  padding: 16px 14px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(27, 33, 50, .9), rgba(15, 19, 30, .95));
  border: 1px solid rgba(255, 255, 255, .08);
}
.st-h { display: flex; gap: 12px; align-items: flex-start; }
.st-n {
  flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%;
  font-size: 14px; font-weight: 700; color: #2f1d05;
  background: linear-gradient(180deg, #f8e2a1, #d9a94f); box-shadow: 0 0 12px rgba(233, 180, 90, .35);
}
.st-h h4 { font-size: 16px; line-height: 1.6; color: #f4f1ea; }
.st-h p { margin-top: 2px; font-size: 13px; line-height: 1.7; color: #a6adbd; }
.st-h b { color: var(--gold-hi); font-weight: 600; }
.st-h a { color: var(--gold); border-bottom: 1px dashed rgba(233, 198, 122, .5); }
.path { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 6px; margin-top: 12px; font-size: 13px; color: #d9dde6; }
.path span { padding: 2px 10px; border-radius: 6px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.path i { font-style: normal; color: var(--gold); }

/* ---------- 手机界面示意图（纯 HTML 画的，任何屏幕都清晰） ---------- */
.mk {
  --sys: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  position: relative; width: 100%; max-width: 300px; height: 206px; margin: 14px auto 0; overflow: hidden;
  border: 5px solid #262a33; border-radius: 28px; background: #000; color: #fff; font-family: var(--sys);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 255, 255, .06);
  text-align: left; line-height: 1.35;
}
/* 灵动岛 + 状态栏 */
.mk::before { content: ""; position: absolute; z-index: 9; top: 6px; left: 50%; width: 62px; height: 17px; margin-left: -31px; border-radius: 10px; background: #000; }
.mk::after {
  content: "9:41"; position: absolute; z-index: 9; top: 8px; left: 22px; right: 16px; height: 13px;
  font-size: 11px; font-weight: 600; line-height: 13px; color: #fff;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 12'%3E%3Cg fill='%23fff'%3E%3Crect x='0' y='8' width='2.6' height='3.5' rx='.6'/%3E%3Crect x='4' y='6' width='2.6' height='5.5' rx='.6'/%3E%3Crect x='8' y='3.5' width='2.6' height='8' rx='.6'/%3E%3Crect x='12' y='1' width='2.6' height='10.5' rx='.6'/%3E%3Cpath d='M23.5 3.2a8.6 8.6 0 0 1 6 2.4l1.2-1.3a10.4 10.4 0 0 0-14.4 0l1.2 1.3a8.6 8.6 0 0 1 6-2.4zm0 3.3a5.3 5.3 0 0 1 3.6 1.4l1.2-1.3a7.1 7.1 0 0 0-9.6 0l1.2 1.3a5.3 5.3 0 0 1 3.6-1.4zm0 3.3a2 2 0 0 1 1.3.5l-1.3 1.4-1.3-1.4a2 2 0 0 1 1.3-.5z'/%3E%3Crect x='34.5' y='1.5' width='13.5' height='9' rx='2.6' fill='none' stroke='%23fff' stroke-opacity='.45'/%3E%3Crect x='36' y='3' width='10.5' height='6' rx='1.4'/%3E%3Cpath d='M49 4.8v2.4a1.3 1.3 0 0 0 0-2.4z' fill-opacity='.45'/%3E%3C/g%3E%3C/svg%3E") no-repeat right center / 44px 11px;
}
.mk.an { border-radius: 24px; }
.mk.an::before { width: 11px; height: 11px; margin-left: -5.5px; top: 7px; border-radius: 50%; background: #050505; box-shadow: 0 0 0 1.5px #1a1a1a; }
.mk.an::after { content: "09:41"; }
.mk-wall { position: absolute; inset: 0; background: url("images/bg_m.jpg") 68% center / cover; }
.mk-wall.dim { filter: brightness(.32) blur(1.5px); transform: scale(1.05); }
.mk-wall.home::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .25); }

/* 需要点的地方：金色呼吸框 + 点击圆点 */
.hit { position: relative; z-index: 1; }
.hit::after {
  content: ""; position: absolute; inset: 2px; border: 2px solid #ffd76a; border-radius: 10px; pointer-events: none;
  box-shadow: 0 0 10px rgba(255, 210, 100, .8), inset 0 0 8px rgba(255, 210, 100, .35);
  animation: hit-ring 1.8s ease-out infinite;
}
.hit::before {
  content: ""; position: absolute; z-index: 2; right: 14%; bottom: 8%; width: 18px; height: 18px; border-radius: 50%; pointer-events: none;
  background: rgba(255, 236, 180, .55); border: 2px solid #fff6d6; box-shadow: 0 0 10px rgba(255, 220, 140, .9);
  animation: hit-tap 1.8s ease-out infinite;
}
@keyframes hit-ring { 0% { opacity: 0; transform: scale(.92); } 25% { opacity: 1; transform: scale(1); } 75% { opacity: 1; } 100% { opacity: 0; transform: scale(1.06); } }
@keyframes hit-tap { 0%, 15% { opacity: 0; transform: scale(1.8); } 30% { opacity: 1; transform: scale(1); } 45% { transform: scale(.8); } 70%, 100% { opacity: 0; transform: scale(1); } }

/* iOS 弹窗 */
.ios-alert {
  position: absolute; z-index: 3; left: 50%; top: 50px; width: 78%; transform: translateX(-50%); overflow: hidden;
  border-radius: 14px; background: rgba(44, 44, 46, .97); text-align: center;
}
.ios-alert .t { padding: 15px 14px 13px; font-size: 13px; font-weight: 600; line-height: 1.45; }
.ios-alert .t small { display: block; margin-top: 3px; font-size: 11.5px; font-weight: 400; color: #d0d0d5; }
.ios-alert .btns { display: flex; border-top: 1px solid rgba(255, 255, 255, .14); }
.ios-alert .btns span { flex: 1; padding: 10px 0; font-size: 14px; color: #0a84ff; }
.ios-alert .btns span + span { border-left: 1px solid rgba(255, 255, 255, .14); font-weight: 600; }
.ios-alert .btns .red { color: #ff453a; }

/* 主屏幕 */
.home-grid { position: absolute; z-index: 2; top: 40px; left: 0; right: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 0; justify-items: center; padding: 0 10px; }
.home-grid > i, .home-app { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.home-grid > i::before { content: ""; width: 44px; height: 44px; border-radius: 11px; background: rgba(255, 255, 255, .16); }
.home-grid > i::after { content: ""; width: 26px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .28); margin-top: 3px; }
.home-app .ic { position: relative; width: 44px; height: 44px; border-radius: 11px; overflow: hidden; }
.home-app .ic img { width: 100%; height: 100%; object-fit: cover; }
.home-app.loading .ic img { filter: brightness(.45) saturate(.5); }
.home-app .prog { position: absolute; inset: 0; margin: auto; width: 24px; height: 24px; transform: rotate(-90deg); }
.home-app .prog circle { fill: none; stroke: #fff; stroke-width: 9; stroke-dasharray: 0 29; animation: prog 3.2s linear infinite; }
.home-app .prog circle.o { stroke-width: 1.6; stroke-dasharray: none; animation: none; }
@keyframes prog { from { stroke-dasharray: 0 29; } to { stroke-dasharray: 29 29; } }
.home-app em { font-style: normal; font-size: 10px; color: #fff; text-shadow: 0 1px 2px #000; white-space: nowrap; }
.home-app.hit::after { inset: -5px -8px -3px; border-radius: 14px; }
.home-app.hit::before { right: -4px; bottom: 14px; }

/* iOS 设置 */
.mk-set { background: #000; }
.set-nav { position: absolute; top: 30px; left: 10px; right: 10px; display: flex; justify-content: space-between; font-size: 13px; color: #0a84ff; }
.set-nav b { position: absolute; left: 0; right: 0; text-align: center; color: #fff; font-weight: 600; pointer-events: none; }
.set-nav .nav-hit { margin: -3px -8px; padding: 3px 8px; font-weight: 600; }
.set-nav .nav-hit::before { right: -2px; bottom: -8px; }
.set-body { padding-top: 58px; }
.set-title { padding: 50px 16px 8px; font-size: 21px; font-weight: 700; }
.set-cap { padding: 4px 26px 5px; font-size: 11px; color: #8e8e93; }
.set-group { margin: 0 12px 10px; border-radius: 10px; background: #1c1c1e; overflow: hidden; }
.set-group .row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; font-size: 13px; }
.set-group .row + .row { box-shadow: inset 44px 1px 0 #1c1c1e, inset 0 1px 0 rgba(255, 255, 255, .09); }
.set-group .row span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.set-group .row i { font-style: normal; font-size: 17px; line-height: 1; color: #5a5a5f; }
.set-group .row .blue { color: #0a84ff; }
.set-group .row .ico { flex: none; width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: #8e8e93; }
.set-group .row .ico svg { width: 14px; height: 14px; fill: #fff; }
.set-group .row .ico.blue-bg { background: #0a84ff; }
.set-group .row .ico.img { background: none; overflow: hidden; }
.set-group .row .ico.img img { width: 100%; height: 100%; object-fit: cover; }
.set-group .row .ico.big { width: 40px; height: 40px; border-radius: 9px; }
.set-group .row em { font-style: normal; color: #8e8e93; }
.set-group .row .two b { display: block; font-size: 14px; font-weight: 600; }
.set-group .row .two small { display: block; font-size: 11px; color: #8e8e93; }
.set-group .row.hit::after { border-radius: 9px; }

/* TestFlight / App Store */
.tf { position: absolute; inset: 0; background: #000; padding: 46px 16px 0; }
.tf-app { display: flex; align-items: center; gap: 12px; }
.tf-app .ic { flex: none; width: 58px; height: 58px; border-radius: 14px; overflow: hidden; }
.tf-app .ic img { width: 100%; height: 100%; object-fit: cover; }
.tf-app .ic.tf-logo { display: grid; place-items: center; background: linear-gradient(160deg, #3ea0ff, #1560d9); }
.tf-app .ic.tf-logo svg { width: 36px; height: 36px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; }
.tf-app div { flex: 1; min-width: 0; }
.tf-app b { display: block; font-size: 15px; }
.tf-app small { display: block; font-size: 11.5px; color: #8e8e93; }
.tf-btn { display: inline-block; margin-top: 6px; padding: 4px 18px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #fff; background: #0a84ff; }
.tf-btn.grey { color: #0a84ff; background: #1c1c1e; }
.tf-btn.hit::after { border-radius: 999px; inset: -3px; }
.tf-btn.hit::before { right: -6px; bottom: -6px; }
.tf-lines { margin-top: 18px; }
.tf-lines i { display: block; height: 7px; margin-top: 8px; border-radius: 4px; background: #1c1c1e; }
.tf-lines i:nth-child(2) { width: 82%; }
.tf-lines i:nth-child(3) { width: 64%; }

/* 安卓：底部弹窗 / 通知 / 设置 / 安装器 */
.an-sheet { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 16px 16px 14px; border-radius: 18px 18px 0 0; background: #2b2d31; color: #e8eaed; }
.an-sheet > b { display: block; font-size: 14px; font-weight: 600; }
.an-file { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.an-file .apk { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; font-size: 9px; font-weight: 800; color: #0c3a1f; background: #3ddc84; }
.an-file b { display: block; font-size: 13px; font-weight: 600; }
.an-file small { font-size: 11px; color: #9aa0a6; }
.an-btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.an-btns span { padding: 6px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #8ab4f8; }
.an-btns span.fill { color: #0b1d3a; background: #8ab4f8; }
.an-btns .hit::after { border-radius: 999px; inset: -3px; }
.an-btns .hit::before { right: -4px; bottom: -8px; }
.an-shade { position: absolute; z-index: 2; inset: 0; padding: 34px 10px 0; background: rgba(12, 14, 18, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.an-qs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0 6px 12px; }
.an-qs i { height: 30px; border-radius: 15px; background: rgba(255, 255, 255, .12); }
.an-qs i:first-child { background: #8ab4f8; }
.an-noti { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 16px; background: #2b2d31; color: #e8eaed; }
.an-noti .ic { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #3ddc84; }
.an-noti .ic svg { width: 17px; height: 17px; fill: none; stroke: #0c3a1f; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.an-noti b { display: block; font-size: 13px; font-weight: 600; }
.an-noti small { font-size: 11px; color: #9aa0a6; }
.an-noti.hit::after { border-radius: 15px; }
.an-noti + .an-noti { margin-top: 8px; opacity: .55; }
.an-set { position: absolute; inset: 0; padding: 36px 0 0; background: #1b1c1f; color: #e8eaed; }
.an-top { display: flex; align-items: center; gap: 10px; padding: 6px 14px 12px; font-size: 16px; }
.an-top svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.an-app { display: flex; align-items: center; gap: 10px; padding: 8px 16px 12px; font-size: 14px; }
.an-app .ic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #4c8dff, #2bc0e4); }
.an-app .ic svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; }
.an-row { display: flex; align-items: center; gap: 12px; margin: 0 10px; padding: 12px 10px; border-radius: 14px; background: #26282c; font-size: 13.5px; }
.an-row span:first-child { flex: 1; }
.an-row small { display: block; font-size: 11px; color: #9aa0a6; }
.sw { flex: none; position: relative; width: 40px; height: 22px; border-radius: 11px; background: #8ab4f8; }
.sw i { position: absolute; top: 3px; right: 3px; width: 16px; height: 16px; border-radius: 50%; background: #0b1d3a; }
.sw.hit::after { inset: -5px; border-radius: 16px; }
.an-inst { position: absolute; inset: 0; padding: 44px 18px 0; background: #1b1c1f; color: #e8eaed; }
.an-inst .who { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.an-inst .who img { width: 34px; height: 34px; border-radius: 9px; object-fit: cover; }
.an-inst p { margin-top: 12px; font-size: 13px; color: #c4c7cc; }
.an-inst .an-btns { position: absolute; left: 12px; right: 12px; bottom: 16px; }
.an-inst .an-btns span { flex: 1; text-align: center; padding: 9px 0; }

/* ---------- 品牌提示 / 常见问题 ---------- */
.tips { list-style: none; display: grid; gap: 10px; }
.tips li { position: relative; padding: 11px 14px 11px 34px; font-size: 13.5px; line-height: 1.7; color: #c9cedb; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08); }
.tips li::before { content: ""; position: absolute; left: 14px; top: 19px; width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold); }
.tips b { color: var(--gold-hi); font-weight: 600; }
.brand-hit { margin: -4px 0 14px; text-align: center; font-size: 12.5px; color: var(--gold); }
.guide .tabs { gap: 8px; margin-bottom: 18px; }
.guide .tab { padding: 6px 14px; font-size: 13px; }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 12px; background: linear-gradient(180deg, rgba(27, 33, 50, .9), rgba(15, 19, 30, .95)); border: 1px solid rgba(255, 255, 255, .08); }
.faq details[open] { border-color: rgba(233, 198, 122, .35); }
.faq summary { position: relative; padding: 13px 40px 13px 16px; font-size: 14.5px; color: #f1ead9; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); transition: transform .2s, margin .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .a { padding: 0 16px 14px; font-size: 13.5px; line-height: 1.8; color: #aeb5c4; }
.faq .a b { color: var(--gold-hi); font-weight: 600; }

/* ---------- 点完安装后的弹窗 ---------- */
.modal { position: fixed; inset: 0; z-index: 85; display: flex; align-items: flex-end; justify-content: center; padding: 16px; background: rgba(0, 0, 0, .72); }
.modal .sheet {
  width: 100%; max-width: 420px; margin-bottom: env(safe-area-inset-bottom); padding: 26px 22px 20px; text-align: center;
  border-radius: 18px; background: linear-gradient(180deg, #1c2233, #10141f); border: 1px solid rgba(233, 198, 122, .45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .6); animation: sheet-in .35s cubic-bezier(.2, .8, .2, 1);
}
@keyframes sheet-in { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal .ring { width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 50%; border: 3px solid rgba(233, 198, 122, .2); border-top-color: var(--gold); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.modal h4 { font-size: 19px; color: var(--gold-hi); letter-spacing: 1px; }
.modal p { margin-top: 10px; font-size: 14px; line-height: 1.75; color: #c9cedb; }
.modal p b { color: var(--gold-hi); font-weight: 600; }
.modal p a { color: var(--gold); border-bottom: 1px dashed rgba(233, 198, 122, .5); }
.modal .acts { display: flex; gap: 10px; margin-top: 20px; }
.modal .acts > * { flex: 1; height: 46px; display: flex; align-items: center; justify-content: center; border-radius: 10px; font-size: 15px; font-weight: 700; }
.modal .ghost { color: var(--gold); border: 1px solid var(--gold-line); }
.modal .again { display: inline-block; margin-top: 14px; font-size: 13px; color: #8d95a7; border-bottom: 1px dashed rgba(141, 149, 167, .6); }

/* ---------- 底部悬浮安装条 ---------- */
.ifloat {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(14, 17, 25, .96), rgba(6, 7, 11, .98)); border-top: 1px solid rgba(233, 198, 122, .35);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transform: translateY(110%); transition: transform .3s;
}
.ifloat.show { transform: none; }
.ifloat .in { max-width: 560px; margin: 0 auto; display: flex; align-items: center; gap: 10px; }
.ifloat .ic { flex: none; width: 42px; height: 42px; border-radius: 10px; object-fit: cover; box-shadow: 0 0 0 1px rgba(233, 198, 122, .5); }
.ifloat .nm { flex: 1; min-width: 0; line-height: 1.3; }
.ifloat .nm img { height: 24px; width: auto; }
.ifloat .nm small { display: block; font-size: 11px; color: #8d95a7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ifloat .btn-gold { height: 44px; padding: 0 20px; font-size: 15px; border-radius: 10px; }
.ifloat .btn-gold.off { opacity: .6; filter: saturate(.3); }

/* 电脑上打开：内容区放宽，步骤两列 */
@media (min-width: 860px) {
  .ipage, .ibar .in, .ifloat .in { max-width: 980px; }
  .app { margin: 0; border-radius: 0 0 24px 24px; }
  .isteps { grid-template-columns: repeat(2, 1fr); }
  .guide, .faq { max-width: 760px; margin-left: auto; margin-right: auto; }
}
