/* 首页专属样式。仅允许影响 [data-wallet-page="home"]。
   3.5.8：首页四功能统一入口、独立全屏页面与真实数据状态。 */

/* ===== 四功能统一双排：上排汇率/外币，下排银行卡/信用 ===== */
[data-wallet-page="home"] .home-asset-service-panel {
  margin-bottom: 16px !important;
  padding: 13px !important;
  border-radius: 30px !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 8% 0%, rgba(255,255,255,.92), transparent 34%),
    radial-gradient(circle at 100% 3%, rgba(147,197,253,.34), transparent 38%),
    radial-gradient(circle at 48% 112%, rgba(196,181,253,.27), transparent 44%),
    linear-gradient(145deg, rgba(241,249,255,.88), rgba(226,236,248,.64) 50%, rgba(239,233,255,.66)) !important;
  border: 1px solid rgba(255,255,255,.78) !important;
  box-shadow:
    0 20px 46px rgba(15,23,42,.12),
    inset 0 1px 0 rgba(255,255,255,.90) !important;
  backdrop-filter: blur(32px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(32px) saturate(180%) !important;
}

[data-wallet-page="home"] .home-service-suite {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 11px !important;
}

[data-wallet-page="home"] .home-service-suite .home-service-item {
  min-width: 0 !important;
  min-height: 100px !important;
  padding: 13px 8px 12px !important;
  border-radius: 23px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  text-align: center !important;
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  border: 1px solid rgba(255,255,255,.76) !important;
  box-shadow:
    0 11px 25px rgba(15,23,42,.085),
    inset 0 1px 0 rgba(255,255,255,.88) !important;
  transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s ease !important;
}

[data-wallet-page="home"] .home-service-suite .home-service-item::before {
  content: "" !important;
  position: absolute !important;
  width: 92px !important;
  height: 92px !important;
  right: -43px !important;
  top: -45px !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.30) !important;
  z-index: -1 !important;
  pointer-events: none !important;
}

[data-wallet-page="home"] .home-service-suite .home-service-item::after {
  content: "" !important;
  position: absolute !important;
  left: 14px !important;
  right: 14px !important;
  bottom: 0 !important;
  height: 2px !important;
  border-radius: 999px !important;
  opacity: .46 !important;
  pointer-events: none !important;
}

[data-wallet-page="home"] .home-service-suite .home-service-item:active {
  transform: scale(.975) !important;
  box-shadow: 0 7px 17px rgba(15,23,42,.08), inset 0 1px 0 rgba(255,255,255,.86) !important;
}

[data-wallet-page="home"] .home-service-suite .home-rate-entry {
  background: linear-gradient(145deg, rgba(236,253,245,.97), rgba(167,243,208,.47)) !important;
}
[data-wallet-page="home"] .home-service-suite .home-fx-entry {
  background: linear-gradient(145deg, rgba(255,247,237,.97), rgba(253,186,116,.39)) !important;
}
[data-wallet-page="home"] .home-service-suite .home-bank-entry {
  background: linear-gradient(145deg, rgba(239,246,255,.98), rgba(147,197,253,.48)) !important;
}
[data-wallet-page="home"] .home-service-suite .home-credit-entry {
  background: linear-gradient(145deg, rgba(245,243,255,.98), rgba(196,181,253,.50)) !important;
}
[data-wallet-page="home"] .home-rate-entry::after { background: linear-gradient(90deg, transparent, rgba(5,150,105,.58), transparent) !important; }
[data-wallet-page="home"] .home-fx-entry::after { background: linear-gradient(90deg, transparent, rgba(234,88,12,.52), transparent) !important; }
[data-wallet-page="home"] .home-bank-entry::after { background: linear-gradient(90deg, transparent, rgba(37,99,235,.55), transparent) !important; }
[data-wallet-page="home"] .home-credit-entry::after { background: linear-gradient(90deg, transparent, rgba(124,58,237,.52), transparent) !important; }

[data-wallet-page="home"] .home-service-suite .home-service-logo {
  width: 54px !important;
  height: 54px !important;
  min-width: 54px !important;
  padding: 3px !important;
  border-radius: 18px !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  position: relative !important;
  z-index: 1 !important;
  background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(248,250,252,.68)) !important;
  border: 1px solid rgba(255,255,255,.90) !important;
  box-shadow:
    0 9px 20px rgba(15,23,42,.095),
    inset 0 1px 0 rgba(255,255,255,.96) !important;
}

[data-wallet-page="home"] .home-service-suite .home-service-logo img {
  display: block !important;
  width: 46px !important;
  height: 46px !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}
[data-wallet-page="home"] .home-service-suite .home-rate-logo img { width: 43px !important; height: 43px !important; }
[data-wallet-page="home"] .home-service-suite .home-credit-logo img { width: 45px !important; height: 45px !important; }
[data-wallet-page="home"] .home-service-suite .home-fx-logo img { width: 47px !important; height: 47px !important; }
[data-wallet-page="home"] .home-service-suite .home-bank-logo img { width: 48px !important; height: 48px !important; }

[data-wallet-page="home"] .home-service-suite .home-service-item > strong {
  display: block !important;
  margin: 0 !important;
  color: #0f172a !important;
  font-size: 15.5px !important;
  line-height: 1.15 !important;
  font-weight: 950 !important;
  letter-spacing: -.15px !important;
  position: relative !important;
  z-index: 1 !important;
  white-space: nowrap !important;
}

@media (max-width: 390px) {
  [data-wallet-page="home"] .home-asset-service-panel { padding: 11px !important; }
  [data-wallet-page="home"] .home-service-suite { gap: 9px !important; }
  [data-wallet-page="home"] .home-service-suite .home-service-item { min-height: 94px !important; padding: 11px 6px 10px !important; gap: 8px !important; }
  [data-wallet-page="home"] .home-service-suite .home-service-logo { width: 50px !important; height: 50px !important; min-width: 50px !important; }
  [data-wallet-page="home"] .home-service-suite .home-service-logo img { width: 43px !important; height: 43px !important; }
  [data-wallet-page="home"] .home-service-suite .home-rate-logo img { width: 40px !important; height: 40px !important; }
  [data-wallet-page="home"] .home-service-suite .home-bank-logo img { width: 45px !important; height: 45px !important; }
  [data-wallet-page="home"] .home-service-suite .home-fx-logo img { width: 44px !important; height: 44px !important; }
  [data-wallet-page="home"] .home-service-suite .home-service-item > strong { font-size: 14.5px !important; }
}


/* ===== 3.5.7：四功能独立全屏页面与动画 ===== */
body.home-service-page-open { overflow: hidden !important; }
body.home-service-page-open .wallet-bottom-nav { opacity: 0 !important; transform: translateY(120%) !important; pointer-events: none !important; }
.home-service-overlay {
  position: fixed; inset: 0 auto 0 50%; z-index: 1700; width: min(100vw, 430px); height: 100dvh;
  color: #0f172a; background:
    radial-gradient(circle at 10% 0%, rgba(186,230,253,.50), transparent 34%),
    radial-gradient(circle at 92% 12%, rgba(221,214,254,.48), transparent 34%),
    linear-gradient(180deg, #f8fbff 0%, #eef4fb 47%, #f8f5ff 100%);
  box-shadow: 0 0 90px rgba(15,23,42,.26); opacity: 0; visibility: hidden;
  transform: translateX(8%); transition: opacity .28s ease, transform .38s cubic-bezier(.16,1,.3,1), visibility .38s;
  overflow: hidden; isolation: isolate;
}
.home-service-overlay::before { content:""; position:absolute; inset:0; pointer-events:none; background:linear-gradient(120deg,rgba(255,255,255,.42),transparent 42%,rgba(255,255,255,.15)); z-index:-1; }
.home-service-overlay.is-open { opacity: 1; visibility: visible; transform: translateX(-50%); }
.home-service-overlay.is-closing { opacity: 0; transform: translateX(-42%); }
.home-service-page-header { position: sticky; top: 0; z-index: 20; min-height: calc(70px + env(safe-area-inset-top)); padding: calc(10px + env(safe-area-inset-top)) 15px 10px; display:grid; grid-template-columns:44px 1fr 38px; align-items:center; gap:10px; background:rgba(247,250,255,.80); border-bottom:1px solid rgba(203,213,225,.55); backdrop-filter:blur(28px) saturate(180%); -webkit-backdrop-filter:blur(28px) saturate(180%); }
.home-service-back,.home-service-more { width:40px; height:40px; border-radius:14px; border:1px solid rgba(255,255,255,.88); background:rgba(255,255,255,.76); box-shadow:0 7px 18px rgba(15,23,42,.08); display:grid; place-items:center; }
.home-service-back svg { width:22px; height:22px; }
.home-service-more { display:flex; align-items:center; justify-content:center; gap:3px; }
.home-service-more span { width:3px; height:3px; border-radius:50%; background:#475569; }
.home-service-page-heading { display:flex; align-items:center; gap:10px; min-width:0; }
.home-service-heading-icon { width:42px; height:42px; border-radius:15px; display:grid; place-items:center; background:rgba(255,255,255,.78); border:1px solid rgba(255,255,255,.90); box-shadow:0 8px 18px rgba(15,23,42,.08); overflow:hidden; }
.home-service-heading-icon img { width:35px; height:35px; object-fit:contain; }
.home-service-page-heading strong { display:block; font-size:18px; line-height:1.15; font-weight:950; letter-spacing:-.25px; }
.home-service-page-heading small { display:block; margin-top:4px; color:#64748b; font-size:11px; font-weight:800; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.home-service-page-scroll { height:calc(100dvh - 70px - env(safe-area-inset-top)); overflow:auto; padding:14px 15px calc(28px + env(safe-area-inset-bottom)); scrollbar-width:none; }
.home-service-page-scroll::-webkit-scrollbar { display:none; }
.home-service-view { display:none; }
.home-service-view.active { display:block; }
.home-service-view.active .service-enter-card { opacity:0; transform:translateY(18px) scale(.985); animation:homeServiceCardEnter .46s cubic-bezier(.2,.8,.2,1) forwards; }
.home-service-view.active .service-enter-card:nth-child(2){animation-delay:.06s}.home-service-view.active .service-enter-card:nth-child(3){animation-delay:.12s}.home-service-view.active .service-enter-card:nth-child(4){animation-delay:.18s}.home-service-view.active .service-enter-card:nth-child(5){animation-delay:.24s}
@keyframes homeServiceCardEnter { to { opacity:1; transform:translateY(0) scale(1); } }
.service-hero,.service-section,.exchange-composer,.cards-overview,.bank-card-carousel,.selected-card-summary,.bank-manage-actions,.credit-score-hero,.credit-metric-grid,.wallet-action-grid { border:1px solid rgba(255,255,255,.82); box-shadow:0 18px 42px rgba(15,23,42,.095), inset 0 1px 0 rgba(255,255,255,.84); backdrop-filter:blur(28px) saturate(180%); -webkit-backdrop-filter:blur(28px) saturate(180%); }
.service-section { margin-top:14px; padding:17px; border-radius:26px; background:linear-gradient(145deg,rgba(255,255,255,.78),rgba(248,250,252,.52)); }
.service-section-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:14px; }
.service-section-head > div strong { display:block; font-size:17px; font-weight:950; }.service-section-head > div span { display:block; margin-top:4px; color:#64748b; font-size:11.5px; font-weight:750; }.service-section-head > button,.service-section-head > b { border:0; border-radius:999px; padding:7px 11px; background:rgba(99,102,241,.09); color:#4f46e5; font-size:11px; font-weight:900; }
.home-service-primary { width:100%; min-height:55px; margin-top:16px; border:1px solid rgba(255,255,255,.38); border-radius:19px; color:#fff; font-size:16px; font-weight:950; background:linear-gradient(135deg,#2563eb,#7c3aed); box-shadow:0 14px 30px rgba(79,70,229,.28), inset 0 1px 0 rgba(255,255,255,.35); }
.home-service-primary:active { transform:scale(.98); }
.rate-up{color:#059669!important}.rate-down{color:#dc2626!important}

.exchange-hero-card { min-height:150px; padding:24px; border-radius:30px; display:flex; align-items:flex-start; justify-content:space-between; background:radial-gradient(circle at 82% 15%,rgba(255,255,255,.42),transparent 32%),linear-gradient(145deg,rgba(16,185,129,.92),rgba(6,95,70,.90)); color:#fff; }
.exchange-hero-card span,.wallet-hero-card span{font-size:10px;font-weight:900;letter-spacing:1.3px;opacity:.76}.exchange-hero-card strong,.wallet-hero-card strong{display:block;margin-top:8px;font-size:26px;font-weight:950}.exchange-hero-card p,.wallet-hero-card p{margin:7px 0 0;font-size:12px;font-weight:750;opacity:.8}.exchange-hero-card>b{width:58px;height:58px;border-radius:20px;display:grid;place-items:center;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.24);font-size:23px;box-shadow:inset 0 1px 0 rgba(255,255,255,.28)}
.exchange-composer{margin-top:-34px;position:relative;z-index:2;padding:17px;border-radius:28px;background:linear-gradient(145deg,rgba(255,255,255,.94),rgba(241,245,249,.84))}.exchange-account-line{display:grid;grid-template-columns:1fr auto;gap:4px 10px;padding:11px 13px;margin-bottom:13px;border-radius:17px;background:rgba(239,246,255,.75);border:1px solid rgba(191,219,254,.72)}.exchange-account-line span{font-size:10px;color:#64748b;font-weight:800}.exchange-account-line strong{grid-row:2;font-size:12px;font-weight:900}.exchange-account-line em{grid-column:2;grid-row:1/3;align-self:center;font-style:normal;color:#1d4ed8;font-size:11px;font-weight:900}.exchange-side{padding:15px;border-radius:22px;background:#fff;border:1px solid #e2e8f0;box-shadow:0 9px 22px rgba(15,23,42,.055)}.exchange-side-head{display:flex;justify-content:space-between;align-items:center}.exchange-side-head span{color:#64748b;font-size:11px;font-weight:800}.exchange-side-head button{border:0;border-radius:999px;padding:6px 9px;background:#eff6ff;color:#1d4ed8;font-size:11px;font-weight:900}.exchange-side input{width:100%;margin-top:10px;border:0;background:transparent;color:#0f172a;font-size:30px;font-weight:950;outline:none}.exchange-side>strong{display:block;margin-top:10px;font-size:30px;font-weight:950}.exchange-side small{display:block;margin-top:5px;color:#64748b;font-size:11px;font-weight:750}.exchange-switch{width:42px;height:42px;margin:-8px auto;position:relative;z-index:2;border-radius:15px;border:5px solid #f1f5f9;background:linear-gradient(145deg,#fff,#e0e7ff);color:#4f46e5;display:grid;place-items:center;box-shadow:0 7px 17px rgba(79,70,229,.15);transition:transform .38s ease}.exchange-switch.is-spinning{transform:rotate(180deg)}.exchange-switch svg{width:19px;height:19px}.exchange-quick-amounts{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-top:13px}.exchange-quick-amounts button{min-height:36px;border-radius:13px;border:1px solid #e2e8f0;background:#fff;color:#475569;font-size:11px;font-weight:900}.exchange-quick-amounts button.active{color:#fff;background:linear-gradient(135deg,#2563eb,#7c3aed);border-color:transparent}.exchange-fee-row{display:flex;justify-content:space-between;gap:10px;margin-top:13px;color:#64748b;font-size:9.5px;font-weight:750}.exchange-fee-row strong{color:#334155}.rate-market-list{display:grid;gap:9px}.rate-market-list button{display:grid;grid-template-columns:38px 1fr auto auto 72px;align-items:center;gap:8px;padding:10px;border-radius:18px;border:1px solid #e2e8f0;background:rgba(255,255,255,.72);text-align:left}.rate-market-list i{width:38px;height:38px;border-radius:14px;display:grid;place-items:center;background:#f8fafc;font-style:normal;font-size:21px}.rate-market-list div strong{display:block;font-size:13px;font-weight:900}.rate-market-list div span{display:block;margin-top:3px;color:#64748b;font-size:9.5px;font-weight:750}.rate-market-list>b{font-size:12px}.rate-market-list em{font-style:normal;font-size:10px;font-weight:900}.rate-market-list svg{width:72px;height:28px;fill:none;stroke:#10b981;stroke-width:2.2;overflow:visible}

.wallet-hero-card{min-height:230px;padding:23px;border-radius:30px;position:relative;overflow:hidden;background:radial-gradient(circle at 80% 12%,rgba(255,255,255,.24),transparent 30%),linear-gradient(145deg,#0f172a,#1e3a8a 62%,#7c3aed);color:#fff}.wallet-total{margin-top:24px}.wallet-total small{display:block;font-size:10px;opacity:.65}.wallet-total b{display:block;margin-top:6px;font-size:31px;font-weight:950;letter-spacing:-.7px}.wallet-total em{display:inline-block;margin-top:9px;padding:5px 9px;border-radius:999px;background:rgba(16,185,129,.18);color:#a7f3d0;font-style:normal;font-size:10px;font-weight:900}.wallet-hero-chart{position:absolute;left:0;right:0;bottom:0;width:100%;height:88px}.wallet-chart-area{fill:url(#walletChartFill)}.wallet-chart-line{fill:none;stroke:#7dd3fc;stroke-width:3}.wallet-action-grid{margin-top:14px;padding:11px;border-radius:25px;display:grid;grid-template-columns:repeat(3,1fr);gap:9px;background:rgba(255,255,255,.58)}.wallet-action-grid button{min-height:104px;padding:11px 5px;border-radius:19px;border:1px solid rgba(255,255,255,.78);background:linear-gradient(145deg,rgba(255,255,255,.82),rgba(241,245,249,.60));display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px}.wallet-action-grid i{width:38px;height:38px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(145deg,#fff,#dbeafe);color:#2563eb;font-style:normal;font-size:19px;font-weight:950;box-shadow:0 7px 17px rgba(37,99,235,.12)}.wallet-action-grid strong{font-size:12px;font-weight:950}.wallet-action-grid span{color:#64748b;font-size:8.8px;font-weight:750}.wallet-filter-row{display:flex;gap:7px;margin-bottom:11px}.wallet-filter-row button{min-width:56px;min-height:31px;border-radius:999px;border:1px solid #e2e8f0;background:#fff;color:#64748b;font-size:10px;font-weight:900}.wallet-filter-row button.active{background:#0f172a;color:#fff;border-color:#0f172a}.currency-asset-list{display:grid;gap:8px}.currency-asset-list button{display:grid;grid-template-columns:43px 1fr auto auto;align-items:center;gap:9px;padding:11px;border-radius:19px;border:1px solid #e2e8f0;background:rgba(255,255,255,.75);text-align:left;transition:opacity .2s,transform .2s}.currency-asset-list button.is-filtered-out{display:none}.currency-asset-list i{width:43px;height:43px;border-radius:15px;display:grid;place-items:center;background:#f8fafc;font-style:normal;font-size:22px}.currency-asset-list div strong{display:block;font-size:13px;font-weight:950}.currency-asset-list div span{display:block;margin-top:4px;color:#64748b;font-size:9.5px;font-weight:750}.currency-asset-list>b{font-size:12px}.currency-asset-list em{font-style:normal;font-size:10px;font-weight:900}.allocation-bar{height:11px;display:flex;overflow:hidden;border-radius:999px;background:#e2e8f0}.allocation-bar i{width:var(--w);height:100%;background:var(--c)}.allocation-legend{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:13px}.allocation-legend span{display:flex;align-items:center;gap:6px;color:#475569;font-size:10px;font-weight:800}.allocation-legend i{width:8px;height:8px;border-radius:50%;background:var(--c)}

.cards-overview{padding:12px;border-radius:25px;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;background:rgba(255,255,255,.58)}.cards-overview>div{padding:12px 7px;border-radius:18px;background:rgba(255,255,255,.74);border:1px solid rgba(255,255,255,.82);text-align:center}.cards-overview span{display:block;color:#64748b;font-size:9.5px;font-weight:800}.cards-overview strong{display:block;margin-top:6px;font-size:18px;font-weight:950}.cards-overview small{display:block;margin-top:4px;color:#64748b;font-size:8px;font-weight:750}.bank-card-carousel{margin-top:14px;padding:16px 12px 11px;border-radius:28px;background:linear-gradient(145deg,rgba(255,255,255,.70),rgba(226,232,240,.48));overflow:hidden}.bank-card-preview{display:none;width:100%;aspect-ratio:1.62/1;padding:22px;border-radius:25px;border:1px solid rgba(255,255,255,.28);color:#fff;position:relative;overflow:hidden;text-align:left;box-shadow:0 19px 38px rgba(15,23,42,.24);animation:bankCardIn .38s cubic-bezier(.2,.8,.2,1)}.bank-card-preview.active{display:block}@keyframes bankCardIn{from{opacity:0;transform:translateX(18px) rotateY(-5deg)}to{opacity:1;transform:none}}.bank-basic-card{background:radial-gradient(circle at 20% 15%,rgba(255,255,255,.28),transparent 28%),linear-gradient(135deg,#0f172a,#1d4ed8 67%,#c9a24d)}.bank-credit-card{background:radial-gradient(circle at 18% 12%,rgba(255,255,255,.18),transparent 27%),linear-gradient(135deg,#020617,#312e81 58%,#7c3aed)}.bank-card-shine{position:absolute;inset:-60% -30%;background:linear-gradient(115deg,transparent 42%,rgba(255,255,255,.22) 50%,transparent 58%);transform:translateX(-35%);animation:bankShine 4.8s ease-in-out infinite}@keyframes bankShine{0%,65%{transform:translateX(-45%)}100%{transform:translateX(45%)}}.bank-card-brand{position:relative;z-index:1}.bank-card-brand strong{display:block;font-size:19px;font-weight:950;letter-spacing:.5px}.bank-card-brand small{display:block;margin-top:4px;font-size:9px;font-weight:800;opacity:.76}.bank-card-chip{width:44px;height:32px;margin-top:24px;border-radius:9px;background:linear-gradient(145deg,#fef3c7,#d6a84d);box-shadow:inset 0 0 0 1px rgba(120,53,15,.18)}.bank-card-number{margin-top:15px;font-size:17px;font-weight:900;letter-spacing:.8px}.bank-card-bottom{position:absolute;left:22px;right:22px;bottom:19px;display:flex;justify-content:space-between;font-size:10px;font-weight:850}.bank-card-dots{display:flex;justify-content:center;gap:6px;margin-top:13px}.bank-card-dots button{width:7px;height:7px;padding:0;border:0;border-radius:999px;background:#cbd5e1;transition:.25s}.bank-card-dots button.active{width:20px;background:#4f46e5}.selected-card-summary{margin-top:12px;padding:15px 17px;border-radius:22px;display:flex;justify-content:space-between;align-items:center;background:rgba(255,255,255,.70)}.selected-card-summary span{display:block;color:#64748b;font-size:10px;font-weight:800}.selected-card-summary strong{display:block;margin-top:5px;font-size:20px;font-weight:950}.selected-card-summary>b{padding:6px 10px;border-radius:999px;background:rgba(16,185,129,.10);color:#059669;font-size:10px}.bank-manage-actions{margin-top:13px;padding:11px;border-radius:25px;display:grid;grid-template-columns:repeat(2,1fr);gap:9px;background:rgba(255,255,255,.58)}.bank-manage-actions button{min-height:92px;padding:12px;border-radius:19px;border:1px solid rgba(255,255,255,.80);background:linear-gradient(145deg,rgba(255,255,255,.82),rgba(241,245,249,.56));text-align:left}.bank-manage-actions i{width:34px;height:34px;border-radius:12px;display:grid;place-items:center;background:#eff6ff;color:#2563eb;font-style:normal;font-weight:950}.bank-manage-actions strong{display:block;margin-top:8px;font-size:12px;font-weight:950}.bank-manage-actions span{display:block;margin-top:4px;color:#64748b;font-size:9px;font-weight:750}.service-setting-list{display:grid;gap:8px}.service-setting-list button{display:grid;grid-template-columns:39px 1fr auto;align-items:center;gap:10px;padding:11px;border-radius:17px;border:1px solid #e2e8f0;background:rgba(255,255,255,.72);text-align:left}.service-setting-list i{width:39px;height:39px;border-radius:14px;display:grid;place-items:center;background:#f1f5f9;color:#4f46e5;font-style:normal;font-weight:950}.service-setting-list div strong{display:block;font-size:12px;font-weight:950}.service-setting-list div span{display:block;margin-top:4px;color:#64748b;font-size:9px;font-weight:750}.service-setting-list>b{color:#64748b;font-size:9.5px}

.credit-score-hero{padding:21px;border-radius:30px;display:flex;align-items:center;gap:19px;background:radial-gradient(circle at 88% 12%,rgba(255,255,255,.32),transparent 30%),linear-gradient(145deg,#312e81,#6d28d9 65%,#8b5cf6);color:#fff}.credit-ring{width:134px;height:134px;flex:0 0 134px;border-radius:50%;padding:10px;background:conic-gradient(#fbbf24 var(--score-angle),rgba(255,255,255,.16) 0);box-shadow:0 14px 30px rgba(30,27,75,.30)}.credit-ring>div{width:100%;height:100%;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(145deg,#312e81,#4c1d95);border:1px solid rgba(255,255,255,.18)}.credit-ring span{font-size:10px;opacity:.72;font-weight:800}.credit-ring strong{font-size:35px;font-weight:950}.credit-ring small{font-size:10px;font-weight:900}.credit-hero-copy{min-width:0}.credit-hero-copy>span{font-size:9px;font-weight:900;letter-spacing:1.1px;opacity:.65}.credit-hero-copy>strong{display:block;margin-top:7px;font-size:23px;font-weight:950}.credit-hero-copy p{margin:6px 0 13px;font-size:10px;line-height:1.45;font-weight:750;opacity:.76}.credit-hero-copy div{display:flex;flex-wrap:wrap;gap:6px}.credit-hero-copy b,.credit-hero-copy em{padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.15);font-size:9px;font-style:normal}.credit-metric-grid{margin-top:13px;padding:10px;border-radius:25px;display:grid;grid-template-columns:repeat(2,1fr);gap:9px;background:rgba(255,255,255,.58)}.credit-metric-grid>div{padding:14px;border-radius:19px;background:rgba(255,255,255,.78);border:1px solid rgba(255,255,255,.84)}.credit-metric-grid span{display:block;color:#64748b;font-size:9.5px;font-weight:800}.credit-metric-grid strong{display:block;margin-top:7px;font-size:17px;font-weight:950}.credit-metric-grid small{display:block;margin-top:5px;color:#64748b;font-size:8.5px;font-weight:750}.credit-range-tabs{display:flex;gap:5px}.credit-range-tabs button{min-width:42px;padding:6px 8px}.credit-range-tabs button.active{background:#4f46e5;color:#fff}.credit-trend-value{display:flex;align-items:end;gap:10px}.credit-trend-value strong{font-size:28px;font-weight:950}.credit-trend-value span{padding-bottom:4px;color:#64748b;font-size:9.5px;font-weight:800}.credit-trend-card>svg{width:100%;height:116px;margin-top:5px;overflow:visible}.credit-area{fill:url(#creditArea)}.credit-line{fill:none;stroke:#8b5cf6;stroke-width:3}.credit-trend-card circle{fill:#fff;stroke:#7c3aed;stroke-width:3}.credit-chart-labels{display:flex;justify-content:space-between;color:#94a3b8;font-size:8.5px;font-weight:750}.credit-dimension-list{display:grid;gap:13px}.credit-dimension-list>div{display:grid;grid-template-columns:72px 1fr 42px;align-items:center;gap:8px}.credit-dimension-list span{font-size:10.5px;font-weight:900}.credit-dimension-list>div>i{height:7px;border-radius:999px;background:#e2e8f0;overflow:hidden}.credit-dimension-list>div>i b{display:block;width:var(--p);height:100%;border-radius:999px;background:linear-gradient(90deg,#6366f1,#a855f7)}.credit-dimension-list em{text-align:right;color:#64748b;font-size:9px;font-style:normal;font-weight:800}.credit-history-list{display:grid;gap:9px}.credit-history-list>div{display:grid;grid-template-columns:39px 1fr auto;align-items:center;gap:10px;padding:10px;border-radius:17px;background:rgba(248,250,252,.82);border:1px solid #e2e8f0}.credit-history-list i{width:39px;height:39px;border-radius:14px;display:grid;place-items:center;background:#ede9fe;color:#6d28d9;font-style:normal;font-weight:950}.credit-history-list strong{display:block;font-size:11.5px;font-weight:950}.credit-history-list span{display:block;margin-top:4px;color:#64748b;font-size:8.5px;font-weight:750}.credit-history-list b{font-size:10px;color:#4f46e5}

@media (max-width:380px){.home-service-page-scroll{padding-left:12px;padding-right:12px}.rate-market-list button{grid-template-columns:36px 1fr auto auto}.rate-market-list svg{display:none}.credit-score-hero{gap:14px;padding:17px}.credit-ring{width:120px;height:120px;flex-basis:120px}.bank-card-preview{padding:18px}.bank-card-number{font-size:15px}}
@media (prefers-reduced-motion:reduce){.home-service-overlay,.home-service-view.active .service-enter-card,.bank-card-preview,.bank-card-shine,.exchange-switch{animation:none!important;transition:none!important}}

/* ===== 3.5.7：真实数据与功能状态 ===== */
.exchange-account-line select {
  grid-row: 2;
  min-width: 0;
  max-width: 230px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #0f172a;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  outline: none;
}
.exchange-account-line.is-foreign-source select { opacity: .55; pointer-events: none; }
.exchange-account-line.is-foreign-source select option { color: #0f172a; }
.exchange-side-head select {
  max-width: 150px;
  border: 0;
  border-radius: 999px;
  padding: 6px 28px 6px 10px;
  background: #eff6ff;
  color: #1d4ed8;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  outline: none;
}
.rate-market-list em { color: #64748b; }
.rate-market-list svg { stroke: #94a3b8; }
.currency-asset-list em { color: #64748b; }
.home-service-empty {
  padding: 24px 14px;
  border-radius: 18px;
  border: 1px dashed #cbd5e1;
  background: rgba(248,250,252,.72);
  color: #64748b;
  text-align: center;
  font-size: 11px;
  font-weight: 850;
}
.bank-card-preview.is-frozen::after,
.bank-card-preview.is-pending::after {
  content: "已冻结";
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 3;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15,23,42,.68);
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  backdrop-filter: blur(12px);
}
.bank-card-preview.is-pending::after { content: "待审核"; }
.bank-card-preview.is-frozen { filter: saturate(.55); }
.selected-card-summary > b { white-space: nowrap; }
@media (max-width:380px) {
  .exchange-account-line select { max-width: 190px; }
  .exchange-side-head select { max-width: 126px; }
}


/* ===== 3.5.8：仅四功能全屏页局部UI修正 ===== */
.home-service-overlay {
  background:
    radial-gradient(circle at 8% 2%, rgba(253,145,255,.24), transparent 31%),
    radial-gradient(circle at 94% 10%, rgba(135,189,255,.44), transparent 36%),
    radial-gradient(circle at 46% 72%, rgba(82,64,254,.09), transparent 35%),
    linear-gradient(155deg, #DBEAFF 0%, #f9fbff 38%, #f8f2ff 72%, #eef6ff 100%);
}
.home-service-page-header {
  background:
    linear-gradient(105deg, rgba(219,234,255,.92), rgba(255,255,255,.88) 46%, rgba(253,145,255,.16));
}
.home-service-page-heading small { font-size:12px; }
.service-section,
.exchange-composer,
.cards-overview,
.bank-card-carousel,
.selected-card-summary,
.bank-manage-actions,
.credit-metric-grid,
.wallet-action-grid,
.bank-page-tabs {
  background:
    radial-gradient(circle at 93% 0%, rgba(253,145,255,.12), transparent 30%),
    linear-gradient(145deg, rgba(255,255,255,.92), rgba(219,234,255,.62), rgba(135,189,255,.13));
}
.exchange-hero-card {
  background:
    radial-gradient(circle at 84% 14%, rgba(255,255,255,.34), transparent 30%),
    linear-gradient(128deg, #5240FE 0%, #7166ff 36%, #87BDFF 72%, #FD91FF 126%);
}
.wallet-hero-card {
  background:
    radial-gradient(circle at 82% 10%, rgba(255,255,255,.28), transparent 31%),
    linear-gradient(132deg, #3022ad 0%, #5240FE 35%, #87BDFF 74%, #FD91FF 128%);
}
.bank-basic-card {
  background:
    radial-gradient(circle at 18% 12%, rgba(255,255,255,.28), transparent 29%),
    linear-gradient(132deg, #2039a9 0%, #5240FE 38%, #87BDFF 78%, #DBEAFF 138%);
}
.bank-credit-card {
  background:
    radial-gradient(circle at 18% 10%, rgba(255,255,255,.23), transparent 28%),
    linear-gradient(132deg, #24166f 0%, #5240FE 34%, #FD91FF 77%, #87BDFF 132%);
}
.credit-score-hero {
  background:
    radial-gradient(circle at 89% 10%, rgba(255,255,255,.32), transparent 29%),
    linear-gradient(132deg, #3022ad 0%, #5240FE 34%, #87BDFF 72%, #FD91FF 126%);
}
.home-service-primary,
.exchange-quick-amounts button.active,
.credit-range-tabs button.active {
  background:linear-gradient(130deg,#5240FE 0%,#6e62ff 42%,#87BDFF 76%,#FD91FF 128%);
}

/* 汇率：消除重复信息并提高小UI可读性 */
.exchange-account-line { padding:13px 14px; }
.exchange-account-line span { font-size:12px; }
.exchange-account-line select { font-size:14px; line-height:1.35; max-width:235px; }
.exchange-account-line em { font-size:13px; color:#5240FE; }
.exchange-side-head span { font-size:13px; }
.exchange-side-head select { font-size:13px; }
.exchange-side small { font-size:12.5px; }
.exchange-quick-amounts button { font-size:12px; }
.exchange-fee-row { font-size:11px; }
.rate-market-list button { min-height:62px; padding:11px; }
.rate-market-list div strong { font-size:14px; }
.rate-market-list div span { font-size:11.5px; }
.rate-market-list > b { font-size:13px; }
.rate-market-list em { font-size:11px; }

/* 外币：使用正式图片图标，不依赖Emoji */
.currency-image-icon {
  overflow:hidden;
  padding:0!important;
  background:#fff!important;
  border:1px solid rgba(203,213,225,.76);
  box-shadow:0 7px 16px rgba(15,23,42,.09), inset 0 1px 0 rgba(255,255,255,.95);
}
.currency-image-icon img { width:100%; height:100%; display:block; object-fit:cover; }
.rate-market-list .currency-image-icon { width:42px; height:42px; border-radius:15px; }
.currency-asset-list .currency-image-icon { width:48px; height:48px; border-radius:17px; }
.currency-asset-list button { grid-template-columns:48px 1fr auto auto; min-height:70px; padding:12px; }
.currency-asset-list div strong { font-size:14.5px; }
.currency-asset-list div span { font-size:11.5px; }
.currency-asset-list > b { font-size:13px; }
.currency-asset-list em { font-size:11px; }
.wallet-action-grid strong { font-size:14px; }
.wallet-action-grid span { font-size:11.5px; line-height:1.35; text-align:center; }
.wallet-filter-row button { font-size:12px; }
.allocation-legend span { font-size:11.5px; }

/* 银行卡：银行卡 / 信用卡两个内部页面 */
.bank-page-tabs {
  margin-bottom:13px;
  padding:8px;
  border-radius:24px;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  border:1px solid rgba(255,255,255,.82);
  box-shadow:0 16px 36px rgba(15,23,42,.08), inset 0 1px 0 rgba(255,255,255,.86);
}
.bank-page-tabs button {
  min-height:72px;
  padding:11px 9px;
  border-radius:18px;
  border:1px solid rgba(203,213,225,.70);
  background:rgba(255,255,255,.72);
  text-align:left;
}
.bank-page-tabs button.active {
  color:#fff;
  border-color:rgba(255,255,255,.24);
  background:linear-gradient(128deg,#5240FE,#87BDFF 68%,#FD91FF 126%);
  box-shadow:0 11px 23px rgba(82,64,254,.22);
}
.bank-page-tabs strong { display:block; font-size:16px; font-weight:950; }
.bank-page-tabs span { display:block; margin-top:5px; font-size:12px; font-weight:750; color:#64748b; }
.bank-page-tabs button.active span { color:rgba(255,255,255,.82); }
.cards-overview span { font-size:11.5px; }
.cards-overview strong { font-size:17px; overflow-wrap:anywhere; }
.cards-overview small { font-size:10.5px; line-height:1.3; }
.selected-card-summary span { font-size:12px; }
.selected-card-summary > b { font-size:11.5px; }
.bank-manage-actions strong { font-size:14px; }
.bank-manage-actions span { font-size:11.5px; line-height:1.35; }
.service-setting-list div strong { font-size:14px; }
.service-setting-list div span { font-size:11.5px; }
.service-setting-list > button > b { font-size:11.5px; }

/* 信用中心：圆环强制正圆，全部小UI文字提升 */
.credit-ring {
  width:142px!important;
  height:142px!important;
  min-width:142px!important;
  min-height:142px!important;
  flex:0 0 142px!important;
  aspect-ratio:1 / 1!important;
  border-radius:50%!important;
}
.credit-ring > div { aspect-ratio:1 / 1!important; border-radius:50%!important; }
.credit-ring span,.credit-ring small { font-size:11.5px; }
.credit-hero-copy > span { font-size:10.5px; }
.credit-hero-copy p { font-size:12px; line-height:1.5; }
.credit-hero-copy b,.credit-hero-copy em { font-size:11px; }
.credit-metric-grid span { font-size:11.5px; }
.credit-metric-grid small { font-size:10.5px; line-height:1.35; }
.credit-trend-value span { font-size:11px; }
.credit-chart-labels { font-size:10px; }
.credit-dimension-list { gap:15px; }
.credit-dimension-list > div { grid-template-columns:76px 1fr 48px; }
.credit-dimension-list span { font-size:12px; }
.credit-dimension-list em { font-size:10.5px; }
.credit-history-list strong { font-size:13px; }
.credit-history-list span { font-size:11px; }
.credit-history-list b { font-size:11px; }

@media (max-width:380px) {
  .exchange-account-line select { max-width:185px; font-size:13px; }
  .credit-ring { width:124px!important; height:124px!important; min-width:124px!important; min-height:124px!important; flex-basis:124px!important; }
  .cards-overview strong { font-size:15px; }
  .currency-asset-list button { grid-template-columns:45px 1fr auto; }
  .currency-asset-list em { display:none; }
}


/* ===== 3.5.9：仅银行卡与我的信用全屏页UI优化 ===== */
/* 银行卡概览：金额独占横向大卡，下方两个小卡；全部居中 */
.cards-full-page .bank-page-tabs button { text-align:center; }
.cards-full-page .cards-overview {
  padding:10px;
  display:block;
  border-radius:25px;
}
.cards-full-page .cards-overview-main {
  min-height:104px;
  padding:16px 14px;
  border-radius:20px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  background:
    radial-gradient(circle at 88% 12%,rgba(255,255,255,.34),transparent 28%),
    linear-gradient(128deg,rgba(82,64,254,.98),rgba(135,189,255,.92) 70%,rgba(253,145,255,.70) 126%);
  color:#fff;
  border:1px solid rgba(255,255,255,.42);
  box-shadow:0 13px 26px rgba(82,64,254,.18),inset 0 1px 0 rgba(255,255,255,.35);
}
.cards-full-page .cards-overview-main span { color:rgba(255,255,255,.82); font-size:13px; }
.cards-full-page .cards-overview-main strong {
  margin-top:7px;
  width:100%;
  font-size:27px;
  line-height:1.08;
  letter-spacing:-.45px;
  white-space:nowrap;
  overflow:visible;
  overflow-wrap:normal;
}
.cards-full-page .cards-overview-main small { margin-top:7px; color:rgba(255,255,255,.80); font-size:12px; }
.cards-full-page .cards-overview-small-row {
  margin-top:9px;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
}
.cards-full-page .cards-overview-small-row > div {
  min-height:98px;
  padding:13px 8px;
  border-radius:19px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  background:linear-gradient(145deg,rgba(255,255,255,.90),rgba(219,234,255,.68),rgba(253,145,255,.08));
  border:1px solid rgba(255,255,255,.88);
}
.cards-full-page .cards-overview-small-row span { font-size:12.5px; }
.cards-full-page .cards-overview-small-row strong {
  margin-top:6px;
  max-width:100%;
  font-size:18px;
  line-height:1.15;
  white-space:nowrap;
  overflow:visible;
  overflow-wrap:normal;
}
.cards-full-page .cards-overview-small-row small { margin-top:5px; font-size:11.5px; line-height:1.25; }
.cards-full-page .bank-manage-actions button {
  min-height:96px;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}
.cards-full-page .bank-manage-actions i { margin:0 auto; }
.cards-full-page .bank-manage-actions strong { margin-top:7px; font-size:15px; }
.cards-full-page .bank-manage-actions span { margin-top:4px; font-size:12px; text-align:center; }
.cards-full-page .selected-card-summary > div { min-width:0; }
.cards-full-page .selected-card-summary strong { font-size:22px; white-space:nowrap; }

/* 我的信用：真实300/1000=30%，缩减空白并整体放大文字 */
.credit-full-page .credit-score-hero { padding:17px; gap:16px; }
.credit-full-page .credit-ring {
  width:148px!important;
  height:148px!important;
  min-width:148px!important;
  min-height:148px!important;
  flex:0 0 148px!important;
  padding:10px;
  background:conic-gradient(from -90deg,#fbbf24 0deg var(--score-angle),rgba(255,255,255,.16) var(--score-angle) 360deg)!important;
}
.credit-full-page .credit-ring > div { background:linear-gradient(145deg,#3022ad,#5240FE 62%,#6e62ff); }
.credit-full-page .credit-ring span { font-size:12.5px; }
.credit-full-page .credit-ring strong { margin:2px 0 1px; font-size:39px; line-height:1; }
.credit-full-page .credit-ring small { display:flex; flex-direction:column; align-items:center; gap:2px; font-size:11px; }
.credit-full-page .credit-ring small b { color:#fff; font-size:12px; font-weight:950; }
.credit-full-page .credit-ring small em { color:rgba(255,255,255,.70); font-size:10.5px; font-style:normal; font-weight:800; }
.credit-full-page .credit-hero-copy > span { font-size:11px; }
.credit-full-page .credit-hero-copy > strong { margin-top:6px; font-size:25px; }
.credit-full-page .credit-hero-copy p { margin:6px 0 10px; font-size:13px; line-height:1.4; }
.credit-full-page .credit-hero-copy b,
.credit-full-page .credit-hero-copy em { padding:6px 9px; font-size:12px; }
.credit-full-page .credit-metric-grid { margin-top:11px; padding:9px; gap:8px; }
.credit-full-page .credit-metric-grid > div {
  min-height:88px;
  padding:11px 8px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
}
.credit-full-page .credit-metric-grid span { font-size:12.5px; }
.credit-full-page .credit-metric-grid strong { margin-top:5px; font-size:19px; line-height:1.15; white-space:nowrap; }
.credit-full-page .credit-metric-grid small { margin-top:5px; font-size:11.5px; line-height:1.25; }
.credit-full-page .service-section { margin-top:12px; padding:15px; }
.credit-full-page .service-section-head { margin-bottom:11px; }
.credit-full-page .service-section-head > div strong { font-size:18px; }
.credit-full-page .service-section-head > div span { font-size:12px; }
.credit-full-page .credit-trend-value strong { font-size:31px; }
.credit-full-page .credit-trend-value span { font-size:12px; }
.credit-full-page .credit-trend-card > svg { height:100px; }
.credit-full-page .credit-chart-labels { font-size:11px; }
.credit-full-page .credit-dimension-list { gap:12px; }
.credit-full-page .credit-dimension-list > div { grid-template-columns:80px 1fr 52px; gap:9px; }
.credit-full-page .credit-dimension-list span { font-size:13px; }
.credit-full-page .credit-dimension-list > div > i { height:9px; }
.credit-full-page .credit-dimension-list em { font-size:11.5px; }
.credit-full-page .credit-history-list { gap:8px; }
.credit-full-page .credit-history-list > div {
  min-height:68px;
  grid-template-columns:45px 1fr auto;
  gap:11px;
  padding:11px 12px;
}
.credit-full-page .credit-history-list i { width:45px; height:45px; border-radius:15px; font-size:15px; }
.credit-full-page .credit-history-list strong { font-size:15px; }
.credit-full-page .credit-history-list span { margin-top:4px; font-size:12.5px; }
.credit-full-page .credit-history-list b { font-size:13px; white-space:nowrap; }

@media (max-width:380px) {
  .cards-full-page .cards-overview-main strong { font-size:24px; }
  .cards-full-page .cards-overview-small-row strong { font-size:16px; }
  .cards-full-page .selected-card-summary strong { font-size:19px; }
  .credit-full-page .credit-score-hero { gap:12px; padding:15px; }
  .credit-full-page .credit-ring { width:132px!important; height:132px!important; min-width:132px!important; min-height:132px!important; flex-basis:132px!important; }
  .credit-full-page .credit-ring strong { font-size:35px; }
  .credit-full-page .credit-hero-copy > strong { font-size:22px; }
  .credit-full-page .credit-hero-copy p { font-size:12px; }
  .credit-full-page .credit-metric-grid strong { font-size:17px; }
}

/* 我的信用正式数据页 */
.credit-live-page{padding-bottom:28px;background:linear-gradient(180deg,rgba(232,231,255,.78),rgba(239,246,255,.94) 32%,rgba(247,244,255,.96) 68%,rgba(238,246,255,.96));border-radius:30px 30px 0 0}
.credit-live-page>[data-credit-live-content]{display:block}
.credit-live-loading,.credit-live-error{margin:28px 4px;padding:34px 22px;border-radius:26px;background:rgba(255,255,255,.92);border:1px solid rgba(99,82,219,.16);box-shadow:0 18px 42px rgba(52,44,132,.12);text-align:center}
.credit-live-loading i{display:block;width:38px;height:38px;margin:0 auto 14px;border-radius:50%;border:4px solid #e5e2ff;border-top-color:#6049e6;animation:credit-live-spin .8s linear infinite}
.credit-live-loading strong,.credit-live-error strong{display:block;font-size:18px;font-weight:950;color:#22264a}.credit-live-loading span,.credit-live-error span{display:block;margin-top:7px;font-size:13px;font-weight:750;color:#747c93}.credit-live-error button{margin-top:16px;padding:10px 20px;border:0;border-radius:14px;background:#5d43f1;color:#fff;font-size:14px;font-weight:900}
@keyframes credit-live-spin{to{transform:rotate(360deg)}}
.credit-live-hero{height:210px;margin:4px 2px 0;padding:21px;border-radius:30px;position:relative;overflow:hidden;color:#fff;background:radial-gradient(circle at 84% 15%,rgba(255,255,255,.25),transparent 28%),linear-gradient(135deg,#1d2b6d 0%,#4b3bd3 53%,#7868ff 100%);box-shadow:0 24px 54px rgba(49,43,149,.28)}
.credit-live-hero::after{content:"";position:absolute;width:160px;height:160px;border-radius:50%;right:-42px;bottom:-72px;border:24px solid rgba(255,255,255,.065)}
.credit-live-hero-head,.credit-live-score-row,.credit-live-progress-label,.credit-live-progress{position:relative;z-index:1}
.credit-live-hero-head{display:flex;justify-content:space-between;align-items:center}.credit-live-hero-head span{font-size:14px;font-weight:820;opacity:.82}.credit-live-hero-head b{padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.17);font-size:12px;font-weight:900}
.credit-live-score-row{display:flex;align-items:flex-end;gap:15px;margin-top:14px}.credit-live-score-row>strong{font-size:68px;line-height:.92;font-weight:950;letter-spacing:-3px}.credit-live-score-row>div{padding-bottom:6px;min-width:0}.credit-live-score-row b{display:block;font-size:19px;font-weight:950}.credit-live-score-row span{display:block;margin-top:7px;font-size:13px;font-weight:760;opacity:.78}
.credit-live-progress-label{display:flex;justify-content:space-between;margin-top:18px;font-size:12.5px;font-weight:820}.credit-live-progress-label strong{font-size:12.5px}.credit-live-progress{height:9px;margin-top:8px;border-radius:999px;background:rgba(255,255,255,.18);overflow:hidden}.credit-live-progress i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#8ed5ff,#fff,#f5c7ff);transition:width .45s ease}
.credit-live-status-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:13px 2px 0}.credit-live-status-strip>div{min-width:0;padding:14px 8px;border-radius:19px;background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(242,244,255,.90));border:1px solid rgba(112,93,218,.16);box-shadow:0 10px 24px rgba(49,43,149,.09);text-align:center}.credit-live-status-strip span{display:block;font-size:12px;color:#6c748b;font-weight:800}.credit-live-status-strip strong{display:block;margin-top:7px;font-size:15px;font-weight:950;color:#202542;white-space:nowrap}
.credit-live-section,.credit-live-card-summary{margin:14px 2px 0;border-radius:26px;border:1px solid rgba(97,79,202,.15);box-shadow:0 16px 36px rgba(54,47,133,.10)}
.credit-live-section{padding:17px;background:linear-gradient(145deg,rgba(255,255,255,.97),rgba(245,245,255,.92))}.credit-live-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.credit-live-section-head strong{display:block;font-size:19px;font-weight:950;color:#1d2342}.credit-live-section-head span{display:block;margin-top:4px;font-size:12.5px;font-weight:750;color:#747c93}
.credit-live-range{display:flex;padding:4px;border-radius:13px;background:#e9ebf6}.credit-live-range button{min-width:47px;padding:7px 10px;border:0;border-radius:10px;background:transparent;color:#727b91;font-size:12px;font-weight:900}.credit-live-range button.active{background:#fff;color:#5039da;box-shadow:0 5px 13px rgba(44,31,116,.12)}
.credit-live-trend{position:relative}.credit-live-chart-caption{position:absolute;right:18px;top:65px;z-index:2;padding:6px 9px;border-radius:999px;background:#eceeff;color:#5746dd;font-size:11px;font-weight:900}.credit-live-chart-wrap{height:163px;position:relative;padding-bottom:25px;background:repeating-linear-gradient(to bottom,transparent 0,transparent 37px,rgba(109,117,149,.085) 38px)}.credit-live-chart-wrap svg{width:100%;height:136px;overflow:visible}.credit-live-chart-labels{position:absolute;left:0;right:0;bottom:0;height:19px}.credit-live-chart-labels span{position:absolute;transform:translateX(-50%);color:#80899e;font-size:10px;font-weight:780;white-space:nowrap}
.credit-live-card-summary{overflow:hidden;background:linear-gradient(135deg,#fff 0%,#eff2ff 53%,#eeeaff 100%)}.credit-live-card-head{padding:17px 17px 13px;display:flex;justify-content:space-between;align-items:center}.credit-live-card-brand{display:flex;gap:11px;align-items:center}.credit-live-card-brand i{width:43px;height:43px;border-radius:15px;display:grid;place-items:center;background:linear-gradient(135deg,#222c68,#674ced);color:#fff;font-size:14px;font-style:normal;font-weight:950;box-shadow:0 10px 20px rgba(69,52,197,.22)}.credit-live-card-brand strong{display:block;font-size:17px;font-weight:950;color:#1e2444}.credit-live-card-brand span{display:block;margin-top:5px;font-size:13px;color:#697289;font-weight:780}.credit-live-card-head>b{padding:7px 10px;border-radius:999px;background:rgba(19,169,121,.11);color:#11966d;font-size:12px;font-weight:950}.credit-live-card-head>b.is-frozen{background:rgba(232,87,104,.11);color:#d54559}
.credit-live-card-metrics{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;padding:0 14px 15px}.credit-live-card-metrics>div{min-height:82px;padding:13px 9px;border-radius:18px;background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(238,241,255,.84));border:1px solid rgba(105,87,207,.13);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.credit-live-card-metrics span{display:block;color:#687189;font-size:12.5px;font-weight:820}.credit-live-card-metrics strong{display:block;margin-top:7px;color:#202542;font-size:20px;font-weight:950;white-space:nowrap}.credit-live-card-summary>button{width:100%;min-height:53px;border:0;border-top:1px solid rgba(92,78,184,.12);background:rgba(91,67,241,.075);color:#5039da;font-size:15px;font-weight:950}.credit-live-card-summary>button span{margin-left:5px;font-size:21px;vertical-align:-2px}
.credit-live-history-list{display:grid;gap:9px}.credit-live-history-list article{display:grid;grid-template-columns:44px 1fr auto;align-items:center;gap:11px;padding:12px;border-radius:18px;background:linear-gradient(145deg,#f8f9ff,#f0f2fb);border:1px solid rgba(98,84,186,.10)}.credit-live-history-list article>i{width:44px;height:44px;border-radius:15px;display:grid;place-items:center;background:#e9e6ff;color:#5c47df;font-size:17px;font-style:normal;font-weight:950}.credit-live-history-list article strong{display:block;font-size:15px;font-weight:950;color:#202542}.credit-live-history-list article span,.credit-live-history-list article em{display:block;margin-top:4px;color:#70798f;font-size:12px;font-style:normal;font-weight:760}.credit-live-history-list article>b{font-size:15px;font-weight:950}.credit-live-history-list article>b.positive{color:#13a979}.credit-live-history-list article>b.negative{color:#e85768}.credit-live-empty{padding:24px 12px;border-radius:18px;background:linear-gradient(145deg,#f7f8ff,#eef2ff);text-align:center}.credit-live-empty strong{display:block;font-size:15px;font-weight:950;color:#303653}.credit-live-empty span{display:block;margin-top:7px;font-size:12.5px;font-weight:750;color:#747d94}
@media(max-width:380px){.credit-live-hero{height:198px;padding:18px}.credit-live-score-row>strong{font-size:60px}.credit-live-score-row b{font-size:17px}.credit-live-status-strip strong{font-size:13.5px}.credit-live-card-metrics strong{font-size:18px}}


/* 正式信用与信用卡页面：hidden状态必须优先于布局样式，避免错误层和加载层常驻。 */
.credit-live-loading[hidden],
.credit-live-error[hidden],
[data-credit-live-content][hidden],
.cc-live-loading[hidden],
.cc-live-error[hidden],
[data-cc-content][hidden],
.cc-pending-banner[hidden],
.cc-repay-error[hidden]{display:none!important}

/* 独立信用卡中心与真实还款 */
.credit-card-center-page{padding-bottom:30px;background:linear-gradient(180deg,#e8ecff 0,#f4f3ff 31%,#eef5ff 100%)}.cc-live-loading,.cc-live-error{min-height:440px;display:grid;place-content:center;text-align:center}.cc-live-loading i{width:36px;height:36px;margin:0 auto 12px;border:4px solid #d9dcf4;border-top-color:#6049e6;border-radius:50%;animation:credit-live-spin .8s linear infinite}.cc-live-loading strong,.cc-live-error strong{font-size:18px;color:#252a50}.cc-live-loading span,.cc-live-error span{margin-top:7px;font-size:13px;color:#707991}.cc-live-error button{margin-top:15px;padding:10px 18px;border:0;border-radius:14px;background:#5e46e8;color:#fff;font-weight:900}
.cc-real-card{height:225px;margin:4px 2px 0;padding:22px;border-radius:29px;position:relative;overflow:hidden;color:#fff;background:radial-gradient(circle at 78% 12%,rgba(151,209,255,.42),transparent 25%),linear-gradient(135deg,#15245d,#3c36b7 52%,#6d67ee);box-shadow:0 24px 50px rgba(35,34,115,.33)}.cc-pattern{position:absolute;border:1px solid rgba(255,255,255,.16);border-radius:50%;pointer-events:none}.cc-pattern-a{width:280px;height:180px;right:-90px;top:30px;transform:rotate(-18deg)}.cc-pattern-b{width:190px;height:190px;right:20px;top:-95px;border-width:28px;border-color:rgba(255,255,255,.05)}.cc-card-noise{position:absolute;inset:0;opacity:.16;background:repeating-linear-gradient(115deg,transparent 0 12px,rgba(255,255,255,.12) 13px,transparent 14px)}.cc-card-top,.cc-card-number,.cc-card-bottom,.cc-chip{position:relative;z-index:2}.cc-card-top{display:flex;justify-content:space-between}.cc-card-top b{display:block;font-size:18px}.cc-card-top span{display:block;font-size:9px;letter-spacing:2px;opacity:.7}.cc-card-top em{height:28px;padding:6px 10px;border:1px solid rgba(255,255,255,.2);border-radius:999px;background:rgba(255,255,255,.12);font-size:11px;font-style:normal;font-weight:900}.cc-chip{width:43px;height:32px;margin-top:22px;border-radius:8px;background:linear-gradient(135deg,#f7e7a7,#b99a4f);display:grid;grid-template-columns:repeat(3,1fr);overflow:hidden}.cc-chip i{border:1px solid rgba(80,63,24,.25)}.cc-card-number{margin-top:15px;font-size:18px;letter-spacing:2px}.cc-card-bottom{display:flex;justify-content:space-between;margin-top:17px}.cc-card-bottom span{display:block;font-size:9px;opacity:.68}.cc-card-bottom strong{display:block;margin-top:4px;font-size:13px}.cc-limit-panel{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin:14px 2px 0}.cc-limit-panel>div{min-height:83px;padding:13px;border-radius:19px;background:linear-gradient(145deg,#fff,#eaf0ff);border:1px solid rgba(87,72,190,.15);box-shadow:0 10px 23px rgba(54,47,133,.08)}.cc-limit-panel span{font-size:12.5px;color:#687189;font-weight:820}.cc-limit-panel strong{display:block;margin-top:8px;font-size:20px;color:#22274d}.cc-due-panel,.cc-activity-panel,.cc-service-panel{margin:14px 2px 0;padding:17px;border-radius:25px;background:linear-gradient(145deg,#fff,#f0efff);border:1px solid rgba(95,79,193,.14);box-shadow:0 14px 32px rgba(51,45,125,.09)}.cc-due-panel{display:grid;grid-template-columns:1fr auto;align-items:end}.cc-due-main span,.cc-due-date span{font-size:12px;color:#687189;font-weight:820}.cc-due-main strong{display:block;margin-top:6px;font-size:29px;color:#252a50}.cc-due-date{text-align:right}.cc-due-date strong{display:block;margin-top:5px;font-size:15px}.cc-due-panel>button{grid-column:1/-1;height:50px;margin-top:14px;border:0;border-radius:17px;background:linear-gradient(90deg,#5039db,#7862ff,#5e9eff);color:#fff;font-size:15px;font-weight:950;box-shadow:0 12px 23px rgba(83,61,214,.25)}.cc-info-strip{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:12px}.cc-info-strip>div{padding:10px 5px;border-radius:14px;background:rgba(231,234,255,.78);text-align:center}.cc-info-strip span{font-size:10.5px;color:#737b91}.cc-info-strip strong{display:block;margin-top:5px;font-size:12.5px}.cc-tabs{display:grid;grid-template-columns:repeat(3,1fr);padding:4px;border-radius:15px;background:#e5e8f5}.cc-tabs button{padding:9px 4px;border:0;border-radius:11px;background:transparent;color:#707991;font-size:12px;font-weight:900}.cc-tabs button.active{background:#fff;color:#513bda;box-shadow:0 5px 13px rgba(52,42,130,.12)}.cc-activity-list{display:grid;gap:8px;margin-top:13px}.cc-activity-list article{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:10px;padding:11px;border-radius:17px;background:linear-gradient(145deg,#f9faff,#edf1ff)}.cc-activity-list i{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:#e7e4ff;color:#5944d8;font-style:normal;font-weight:950}.cc-activity-list strong{font-size:14px}.cc-activity-list span{display:block;margin-top:4px;font-size:11px;color:#788097}.cc-activity-list b{font-size:14px}.cc-activity-list b.positive{color:#13a979}.cc-empty{padding:24px;text-align:center;color:#727b93}.cc-empty strong{display:block;font-size:15px}.cc-empty span{display:block;margin-top:6px;font-size:12px}.cc-service-panel{display:flex;justify-content:space-between;align-items:center}.cc-service-panel strong{display:block;font-size:16px}.cc-service-panel span{display:block;margin-top:5px;font-size:12px;color:#717a91}.cc-service-panel button{padding:10px 14px;border:0;border-radius:14px;background:#ece8ff;color:#5941db;font-weight:900}.cc-service-panel button.restore{background:#e9f8f2;color:#14845f}
.cc-repay-backdrop{position:fixed;inset:0;z-index:160;background:rgba(10,12,36,.55);backdrop-filter:blur(6px);display:flex;align-items:flex-end;opacity:0;transition:.22s}.cc-repay-backdrop.open{opacity:1}.cc-repay-sheet{width:100%;max-height:91vh;overflow:auto;padding:10px 16px calc(20px + env(safe-area-inset-bottom));border-radius:30px 30px 0 0;background:linear-gradient(180deg,#f9faff,#edf1ff);transform:translateY(20px);transition:.22s}.cc-repay-backdrop.open .cc-repay-sheet{transform:none}.cc-sheet-handle{width:44px;height:5px;margin:0 auto 10px;border-radius:99px;background:#c8ccdf}.cc-sheet-head{display:flex;justify-content:space-between;align-items:center}.cc-sheet-head h3{margin:0;font-size:20px}.cc-sheet-head button{width:36px;height:36px;border:0;border-radius:13px;background:#e5e8f3;font-size:22px}.cc-stepper{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:13px 0}.cc-stepper i{height:5px;border-radius:99px;background:#d5d9e9}.cc-stepper i.active{background:linear-gradient(90deg,#563fdf,#77a5ff)}.cc-repay-step{display:none}.cc-repay-step.active{display:block}.cc-mode-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.cc-mode-grid button{min-height:75px;padding:10px 7px;border:1.5px solid rgba(85,68,191,.13);border-radius:16px;background:linear-gradient(145deg,#fff,#edf0ff);text-align:left}.cc-mode-grid button.active{border-color:#6650e5;background:linear-gradient(145deg,#f7f4ff,#e6e3ff)}.cc-mode-grid span{display:block;font-size:10.5px;color:#69728b;font-weight:820}.cc-mode-grid strong{display:block;margin-top:7px;font-size:12.5px}.cc-field{display:block;margin-top:12px}.cc-field>span{display:block;margin-bottom:6px;font-size:12px;color:#69728b;font-weight:850}.cc-field>div{display:flex;align-items:center;padding:0 13px;border:1px solid #d9ddec;border-radius:15px;background:#fff}.cc-field input,.cc-field select{width:100%;height:48px;border:0;outline:0;background:#fff;font-size:16px}.cc-field select{padding:0 12px;border:1px solid #d9ddec;border-radius:15px}.cc-repay-error{margin-top:10px;padding:10px;border-radius:13px;background:#fff0f2;color:#c53e52;font-size:12px;font-weight:800}.cc-primary,.cc-secondary{width:100%;height:49px;margin-top:13px;border:0;border-radius:16px;font-size:14px;font-weight:950}.cc-primary{background:linear-gradient(90deg,#5039db,#7460fb);color:#fff}.cc-secondary{background:#e6e9f5;color:#596178}.cc-confirm-amount{text-align:center;padding:20px;border-radius:20px;background:linear-gradient(145deg,#ece9ff,#e4f0ff)}.cc-confirm-amount span{font-size:12px;color:#6b748c}.cc-confirm-amount strong{display:block;margin-top:7px;font-size:31px;color:#282d55}.cc-confirm-list{margin-top:12px;padding:5px 14px;border-radius:18px;background:#fff}.cc-confirm-list>div{display:flex;justify-content:space-between;padding:13px 0;border-bottom:1px solid #eceef5}.cc-confirm-list>div:last-child{border:0}.cc-confirm-list span{font-size:12px;color:#747d93}.cc-confirm-list strong{font-size:13px}.cc-success-icon{width:70px;height:70px;margin:10px auto;display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,#19bd87,#72dcb7);color:#fff;font-size:35px}.cc-repay-step[data-cc-step="3"]>h3,.cc-repay-step[data-cc-step="3"]>p{text-align:center}.cc-repay-step[data-cc-step="3"]>p{font-size:12px;color:#727b91}


.cc-pending-banner{margin:4px 2px 12px;padding:14px 15px;border-radius:19px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:linear-gradient(135deg,#fff6dd,#ffefc6 55%,#eee9ff);border:1px solid rgba(197,141,37,.22);box-shadow:0 12px 25px rgba(106,75,18,.10)}
.cc-pending-banner>div{min-width:0}.cc-pending-banner strong{display:block;font-size:15px;color:#4d3b19}.cc-pending-banner span{display:block;margin-top:4px;font-size:12px;line-height:1.4;color:#7b673e;font-weight:800}.cc-pending-banner small{display:block;margin-top:4px;max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#918367;font-size:10.5px}.cc-pending-banner button{flex:0 0 auto;padding:10px 12px;border:0;border-radius:13px;background:#6550df;color:#fff;font-size:12px;font-weight:950;box-shadow:0 8px 18px rgba(80,59,194,.20)}
.cc-repay-recovery-note{margin-top:10px;padding:9px 11px;border-radius:12px;background:#fff7dc;color:#735d2f;font-size:11.5px;font-weight:820;line-height:1.45}
.cc-repay-backdrop[hidden]{display:none!important}

/* ===== 4.0.5：V14正式单实例接入 ===== */
.home-service-overlay[data-active-page="credit"] .home-service-page-header,
.home-service-overlay[data-active-page="credit-card"] .home-service-page-header { display:none !important; }
.home-service-overlay[data-active-page="credit"] .home-service-page-scroll,
.home-service-overlay[data-active-page="credit-card"] .home-service-page-scroll {
  height:100dvh !important;
  padding:0 !important;
  overflow:hidden !important;
  background:transparent !important;
}
.credit-v14-frame-view { position:relative; width:100%; height:100dvh; overflow:hidden; background:transparent; }
.credit-v14-frame { display:block; width:100%; height:100dvh; border:0; margin:0; padding:0; background:#ecebff; }
.credit-v14-state { position:absolute !important; inset:0 !important; z-index:4 !important; min-height:100dvh !important; background:linear-gradient(180deg,#e3dcff 0,#edf1ff 260px,#e9f1ff 58%,#efeaff 100%) !important; }
.credit-v14-pending { position:absolute !important; z-index:5 !important; top:72px !important; left:14px !important; right:14px !important; margin:0 !important; }

/* V14正式单实例：信用页与信用卡页共用同一个同源视图 */
.credit-v14-shared[data-v14-page="credit"] [data-cc-loading],
.credit-v14-shared[data-v14-page="credit"] [data-cc-error],
.credit-v14-shared[data-v14-page="credit"] [data-cc-pending-banner]{display:none!important;}
.credit-v14-shared[data-v14-page="credit-card"] [data-credit-live-loading],
.credit-v14-shared[data-v14-page="credit-card"] [data-credit-live-error]{display:none!important;}


/* ===== 4.0.6-D3A-R1：银行卡单页壳层修复 ===== */
/*
  仅作用于银行卡：
  - overlay 继续使用 top + bottom 视口锚定
  - 不再依赖 100dvh 或动态像素高度决定底部
  - header 位于滚动区外并固定
  - home-service-page-scroll 是唯一纵向滚动层
*/
.home-service-overlay[data-active-page="cards"]{
  top:0!important;
  bottom:0!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  background:
    radial-gradient(circle at 8% 2%,rgba(253,145,255,.24),transparent 31%),
    radial-gradient(circle at 94% 10%,rgba(135,189,255,.44),transparent 36%),
    radial-gradient(circle at 46% 72%,rgba(82,64,254,.09),transparent 35%),
    linear-gradient(155deg,#DBEAFF 0%,#f9fbff 38%,#f8f2ff 72%,#eef6ff 100%)!important;
}
.home-service-overlay[data-active-page="cards"] .home-service-page-header{
  position:relative!important;
  top:auto!important;
  flex:0 0 auto!important;
  width:100%!important;
}
.home-service-overlay[data-active-page="cards"] .home-service-page-scroll{
  flex:1 1 auto!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior-y:contain!important;
  background:transparent!important;
  padding-bottom:calc(28px + env(safe-area-inset-bottom))!important;
}
.home-service-overlay[data-active-page="cards"] .cards-full-page{
  min-height:100%!important;
}


/* ===== 4.0.6-D3A-R2：我的信用与信用卡中心共享 iframe 壳层修复 ===== */
/*
  仅作用于 credit / credit-card：
  - overlay 使用 top + bottom 锚定，不依赖动态像素高度
  - 父层不滚动、不裁切成短页
  - 共享 iframe 完整填充父层
  - iframe 内部文档是唯一纵向滚动拥有者
*/
.home-service-overlay[data-active-page="credit"],
.home-service-overlay[data-active-page="credit-card"]{
  top:0!important;
  bottom:0!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  background:#ecebff!important;
}
.home-service-overlay[data-active-page="credit"] .home-service-page-scroll,
.home-service-overlay[data-active-page="credit-card"] .home-service-page-scroll{
  position:relative!important;
  flex:1 1 auto!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  padding:0!important;
  overflow:hidden!important;
  background:#ecebff!important;
}
.home-service-overlay[data-active-page="credit"] .credit-v14-frame-view,
.home-service-overlay[data-active-page="credit-card"] .credit-v14-frame-view{
  position:absolute!important;
  inset:0!important;
  width:auto!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:hidden!important;
  background:#ecebff!important;
}
.home-service-overlay[data-active-page="credit"] .credit-v14-frame,
.home-service-overlay[data-active-page="credit-card"] .credit-v14-frame{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  border:0!important;
  background:#ecebff!important;
}
.home-service-overlay[data-active-page="credit"] .credit-v14-state,
.home-service-overlay[data-active-page="credit-card"] .credit-v14-state{
  min-height:0!important;
  height:100%!important;
  background:linear-gradient(180deg,#e3dcff 0,#edf1ff 260px,#e9f1ff 58%,#efeaff 100%)!important;
}


/* ===== 4.0.6-D3C：银行卡 v23 视觉正式接入（严格限定 bank-v23-page） ===== */
.bank-v23-page{
  --bank-v23-violet:#5240FE;
  --bank-v23-blue:#87BDFF;
  --bank-v23-ice:#DBEAFF;
  --bank-v23-pink:#FD91FF;
  --bank-v23-ink:#11182b;
  --bank-v23-muted:#66738c;
  color:var(--bank-v23-ink);
}

.bank-v23-page .bank-v23-main,
.bank-v23-page .bank-v23-detail{
  min-height:100%;
  padding:0 16px 48px;
}

.bank-v23-page .bank-v23-section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  margin:19px 3px 15px;
}

.bank-v23-page .bank-v23-section-head strong{
  font-size:20px;
  font-weight:950;
  letter-spacing:-.3px;
}

.bank-v23-page .bank-v23-count{
  padding:8px 11px;
  border-radius:999px;
  background:rgba(255,255,255,.72);
  border:1px solid rgba(255,255,255,.94);
  box-shadow:0 7px 18px rgba(53,70,122,.08);
  color:#625f74;
  font-size:12px;
  font-weight:900;
  backdrop-filter:blur(15px);
  -webkit-backdrop-filter:blur(15px);
}

.bank-v23-page .bank-v23-card-stack{
  display:grid;
  gap:19px;
}

.bank-v23-page .bank-v23-card{
  width:100%;
  aspect-ratio:1.60/1;
  border:0;
  border-radius:25px;
  padding:20px;
  color:#fff;
  text-align:left;
  position:relative;
  overflow:hidden;
  cursor:pointer;
  isolation:isolate;
  -webkit-tap-highlight-color:transparent;
  box-shadow:0 20px 38px rgba(30,51,122,.27),inset 0 1px 0 rgba(255,255,255,.27);
}

.bank-v23-page .bank-v23-debit{
  background:
    radial-gradient(circle at 17% 5%,rgba(255,255,255,.30),transparent 28%),
    radial-gradient(circle at 96% 98%,rgba(253,145,255,.20),transparent 39%),
    linear-gradient(132deg,#172A79 0%,#4E3AF2 43%,#80B6FF 89%,#DDEBFF 148%);
}

.bank-v23-page .bank-v23-credit{
  background:
    radial-gradient(circle at 12% 6%,rgba(105,201,255,.38),transparent 29%),
    radial-gradient(circle at 95% 104%,rgba(204,113,255,.34),transparent 40%),
    linear-gradient(135deg,#0b1330 0%,#24337a 49%,#6548dc 100%);
  border:1.5px solid rgba(255,255,255,.28);
  box-shadow:0 25px 48px rgba(8,12,48,.34);
}

.bank-v23-page .bank-v23-card::before{
  content:"";
  position:absolute;
  inset:-60% -35%;
  z-index:4;
  pointer-events:none;
  background:linear-gradient(115deg,transparent 42%,rgba(255,255,255,.20) 50%,transparent 58%);
  transform:translateX(-28%);
}

.bank-v23-page .bank-v23-credit::before{
  inset:-90% -35%;
  transform:translateX(-42%);
  animation:bankV23CreditShine 5.2s ease-in-out infinite;
}

@keyframes bankV23CreditShine{
  0%,60%{transform:translateX(-42%)}
  100%{transform:translateX(42%)}
}

.bank-v23-page .bank-v23-debit::after{
  content:"";
  position:absolute;
  right:-29px;
  top:-29px;
  width:145px;
  height:145px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 0 0 20px rgba(255,255,255,.043),0 0 0 42px rgba(255,255,255,.025);
  pointer-events:none;
}

.bank-v23-page .bank-v23-credit-pattern{
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  overflow:hidden;
}

.bank-v23-page .bank-v23-credit-pattern svg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}

.bank-v23-page .bank-v23-credit-pattern>span{
  position:absolute;
  width:116px;
  height:116px;
  right:-16px;
  top:50px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 0 0 10px rgba(255,255,255,.025),0 0 0 23px rgba(255,255,255,.018);
}

.bank-v23-page .bank-v23-credit-pattern>span::before,
.bank-v23-page .bank-v23-credit-pattern>span::after{
  content:"";
  position:absolute;
  inset:18px;
  border-radius:50%;
  border:1px dashed rgba(255,255,255,.18);
}

.bank-v23-page .bank-v23-credit-pattern>span::after{
  inset:36px;
  border-style:solid;
  background:radial-gradient(circle,rgba(255,255,255,.13),transparent 68%);
}

.bank-v23-page .bank-v23-card-top,
.bank-v23-page .bank-v23-chip-row,
.bank-v23-page .bank-v23-card-bottom{
  position:relative;
  z-index:3;
}

.bank-v23-page .bank-v23-card-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.bank-v23-page .bank-v23-card-brand{
  display:flex;
  align-items:center;
  gap:11px;
  min-width:0;
}

.bank-v23-page .bank-v23-card-logo{
  width:38px;
  height:38px;
  border-radius:50%;
  object-fit:cover;
  background:#fff;
  box-shadow:0 5px 15px rgba(20,29,71,.18);
  flex:none;
}

.bank-v23-page .bank-v23-card-brand strong{
  display:block;
  font-size:20px;
  font-weight:950;
  color:#fff;
  white-space:nowrap;
}

.bank-v23-page .bank-v23-card-brand small{
  display:block;
  margin-top:3px;
  font-size:11px;
  font-weight:850;
  letter-spacing:.55px;
  opacity:.78;
  color:#fff;
  white-space:nowrap;
}

.bank-v23-page .bank-v23-card-mark{
  font-size:18px;
  font-weight:950;
  letter-spacing:.85px;
  opacity:.96;
  color:#fff;
  white-space:nowrap;
}

.bank-v23-page .bank-v23-chip-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:24px;
}

.bank-v23-page .bank-v23-chip,
.bank-v23-page .bank-v23-credit-chip{
  width:44px;
  height:32px;
  border-radius:9px;
  background:linear-gradient(145deg,#fff3c5,#d8aa4e);
  box-shadow:inset 0 0 0 1px rgba(120,53,15,.16);
  flex:none;
}

.bank-v23-page .bank-v23-credit-chip{
  background:linear-gradient(145deg,#fff1b7,#c58c2e);
  box-shadow:inset 0 0 0 1px rgba(66,35,0,.20),0 5px 13px rgba(0,0,0,.18);
}

.bank-v23-page .bank-v23-chip-row svg{
  width:29px;
  height:29px;
  opacity:.86;
  color:#fff;
}

.bank-v23-page .bank-v23-card-bottom{
  position:absolute;
  left:20px;
  right:20px;
  bottom:22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.bank-v23-page .bank-v23-card-number{
  min-width:0;
  font-size:18px;
  font-weight:950;
  letter-spacing:1.15px;
  white-space:nowrap;
  color:#fff;
}

.bank-v23-page .bank-v23-card-holder{
  display:flex;
  align-items:center;
  gap:7px;
  flex:none;
  white-space:nowrap;
  color:#fff;
}

.bank-v23-page .bank-v23-card-holder span{
  font-size:12px;
  font-weight:820;
  opacity:.72;
}

.bank-v23-page .bank-v23-card-holder strong{
  font-size:15px;
  font-weight:950;
}

.bank-v23-page .bank-v23-stage{
  position:relative;
  margin:24px -16px -48px;
  min-height:360px;
  border-radius:30px 30px 0 0;
  overflow:hidden;
  background:
    radial-gradient(circle at 12% 8%,rgba(253,145,255,.22),transparent 30%),
    radial-gradient(circle at 88% 14%,rgba(135,189,255,.34),transparent 36%),
    linear-gradient(155deg,rgba(82,64,254,.22) 0%,rgba(104,106,255,.18) 24%,rgba(135,189,255,.18) 52%,rgba(219,234,255,.90) 78%,rgba(247,250,255,1) 100%);
  box-shadow:0 -1px 0 rgba(255,255,255,.72),0 -18px 36px rgba(82,64,254,.12);
}

.bank-v23-page .bank-v23-stage::before{
  content:"";
  position:absolute;
  left:-4%;
  right:-4%;
  top:-46px;
  height:104px;
  border-radius:0 0 42px 42px;
  background:linear-gradient(180deg,rgba(82,64,254,0),rgba(82,64,254,.10) 18%,rgba(109,112,255,.22) 44%,rgba(135,189,255,.24) 66%,rgba(219,234,255,.84) 100%);
  pointer-events:none;
}

.bank-v23-page .bank-v23-stage-inner{
  position:relative;
  z-index:2;
  min-height:360px;
  padding:28px 16px 120px;
}

.bank-v23-page .bank-v23-service-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}

.bank-v23-page .bank-v23-service-card{
  min-height:144px;
  padding:16px 12px 14px;
  border:1px solid rgba(255,255,255,.78);
  border-radius:22px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:space-between;
  text-align:center;
  overflow:hidden;
  color:#172139;
  background:linear-gradient(145deg,rgba(255,255,255,.74),rgba(241,240,255,.62));
  box-shadow:0 14px 34px rgba(45,55,132,.14),inset 0 1px 0 rgba(255,255,255,.82);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}

.bank-v23-page .bank-v23-service-top{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.bank-v23-page .bank-v23-service-top>i{
  width:8px;
  height:8px;
  border-top:2px solid rgba(82,64,254,.48);
  border-right:2px solid rgba(82,64,254,.48);
  transform:rotate(45deg);
}

.bank-v23-page .bank-v23-service-loan{
  background:radial-gradient(circle at 100% 0,rgba(135,189,255,.20),transparent 42%),linear-gradient(145deg,rgba(255,255,255,.74),rgba(236,246,255,.62));
}

.bank-v23-page .bank-v23-service-close{
  background:radial-gradient(circle at 100% 0,rgba(253,145,255,.18),transparent 42%),linear-gradient(145deg,rgba(255,255,255,.74),rgba(246,239,255,.64));
}

.bank-v23-page .bank-v23-service-card strong{
  font-size:17px;
  line-height:1;
  font-weight:950;
}

.bank-v23-page .bank-v23-service-card b{
  font-size:11px;
  line-height:1;
  font-weight:930;
  color:#5240FE;
  white-space:nowrap;
}

.bank-v23-page .bank-v23-service-icon{
  position:relative;
  width:55px;
  height:55px;
  border-radius:18px;
  background:linear-gradient(135deg,rgba(82,64,254,.14),rgba(135,189,255,.28));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.78),0 8px 18px rgba(82,64,254,.10);
}

.bank-v23-page .bank-v23-icon-card span{
  position:absolute;
  left:11px;
  right:11px;
  top:16px;
  bottom:16px;
  border:2px solid rgba(82,64,254,.82);
  border-radius:7px;
}

.bank-v23-page .bank-v23-icon-card span::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:7px;
  height:2px;
  background:rgba(82,64,254,.62);
}

.bank-v23-page .bank-v23-icon-loan span{
  position:absolute;
  left:15px;
  right:15px;
  bottom:13px;
  height:18px;
  border:2px solid rgba(82,64,254,.82);
  border-top:0;
  border-radius:6px 6px 8px 8px;
}

.bank-v23-page .bank-v23-icon-loan span::before{
  content:"";
  position:absolute;
  left:-2px;
  right:-2px;
  top:-12px;
  height:12px;
  border-left:2px solid rgba(82,64,254,.82);
  border-right:2px solid rgba(82,64,254,.82);
  border-top:2px solid rgba(82,64,254,.82);
  border-radius:9px 9px 0 0;
}

.bank-v23-page .bank-v23-icon-close span{
  position:absolute;
  left:13px;
  right:13px;
  top:13px;
  bottom:13px;
  border:2px solid rgba(82,64,254,.82);
  border-radius:50%;
}

.bank-v23-page .bank-v23-icon-close span::before,
.bank-v23-page .bank-v23-icon-close span::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:12px;
  height:2px;
  background:rgba(82,64,254,.82);
}

.bank-v23-page .bank-v23-icon-close span::before{transform:translate(-50%,-50%) rotate(45deg)}
.bank-v23-page .bank-v23-icon-close span::after{transform:translate(-50%,-50%) rotate(-45deg)}

.bank-v23-page .bank-v23-linked-actions{
  margin-top:16px;
  min-height:88px;
  border-radius:24px;
  background:linear-gradient(145deg,rgba(255,255,255,.78),rgba(244,248,255,.68));
  border:1px solid rgba(255,255,255,.84);
  box-shadow:0 14px 34px rgba(45,55,132,.14),inset 0 1px 0 rgba(255,255,255,.85);
  display:grid;
  grid-template-columns:1fr auto 1fr;
  overflow:hidden;
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}

.bank-v23-page .bank-v23-linked-action{
  border:0;
  background:transparent;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:0 14px;
  color:#172139;
}

.bank-v23-page .bank-v23-linked-action strong{
  font-size:17px;
  font-weight:930;
}

.bank-v23-page .bank-v23-linked-divider{
  width:1px;
  background:linear-gradient(180deg,transparent,rgba(82,64,254,.18) 22%,rgba(135,189,255,.28) 52%,rgba(82,64,254,.18) 78%,transparent);
  margin:15px 0;
}

.bank-v23-page .bank-v23-linked-icon{
  position:relative;
  width:42px;
  height:42px;
  border-radius:15px;
  background:linear-gradient(135deg,rgba(82,64,254,.15),rgba(135,189,255,.28));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.78),0 8px 18px rgba(82,64,254,.10);
  flex:none;
}

.bank-v23-page .bank-v23-linked-icon-add span::before,
.bank-v23-page .bank-v23-linked-icon-add span::after,
.bank-v23-page .bank-v23-linked-icon-delete span::before{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  background:rgba(82,64,254,.84);
  transform:translate(-50%,-50%);
  border-radius:999px;
}

.bank-v23-page .bank-v23-linked-icon-add span::before,
.bank-v23-page .bank-v23-linked-icon-delete span::before{
  width:16px;
  height:2.5px;
}

.bank-v23-page .bank-v23-linked-icon-add span::after{
  width:2.5px;
  height:16px;
}

.bank-v23-page .bank-v23-detail-header{
  display:grid;
  grid-template-columns:44px 1fr 44px;
  align-items:center;
  gap:10px;
  min-height:84px;
  text-align:center;
}

.bank-v23-page .bank-v23-detail-header strong{
  display:block;
  font-size:22px;
  font-weight:950;
}

.bank-v23-page .bank-v23-detail-header small{
  display:block;
  margin-top:5px;
  color:#66738c;
  font-size:13px;
  font-weight:780;
}

.bank-v23-page .bank-v23-detail-close{
  width:42px;
  height:42px;
  border:1px solid rgba(255,255,255,.94);
  border-radius:15px;
  background:rgba(255,255,255,.75);
  display:grid;
  place-items:center;
  box-shadow:0 8px 24px rgba(42,60,114,.09);
  color:#334155;
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}

.bank-v23-page .bank-v23-detail-close svg{width:20px;height:20px}

.bank-v23-page .bank-v23-detail-hero{
  padding:20px;
  border-radius:27px;
  background:radial-gradient(circle at 90% 0,rgba(253,145,255,.32),transparent 38%),linear-gradient(138deg,rgba(82,64,254,.97),rgba(91,102,244,.93) 45%,rgba(135,189,255,.95));
  box-shadow:0 18px 38px rgba(50,65,150,.24);
  color:#fff;
}

.bank-v23-page .bank-v23-detail-bank{
  display:flex;
  align-items:center;
  gap:13px;
}

.bank-v23-page .bank-v23-detail-logo{
  width:52px;
  height:52px;
  border-radius:50%;
  object-fit:cover;
  background:#fff;
  box-shadow:0 8px 20px rgba(33,41,112,.20);
}

.bank-v23-page .bank-v23-detail-bank strong{display:block;font-size:21px;font-weight:950}
.bank-v23-page .bank-v23-detail-bank small{display:block;margin-top:4px;font-size:13px;font-weight:800;opacity:.78}

.bank-v23-page .bank-v23-full-number{
  margin-top:22px;
  padding:16px 17px;
  border-radius:19px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.22);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

.bank-v23-page .bank-v23-full-number span{display:block;font-size:13px;font-weight:820;opacity:.75}
.bank-v23-page .bank-v23-full-number strong{display:block;margin-top:8px;font-size:19px;font-weight:950;letter-spacing:1px}
.bank-v23-page .bank-v23-full-number em{font-style:normal;opacity:.92;margin-right:8px}

.bank-v23-page .bank-v23-info-card{
  margin-top:16px;
  padding:6px 18px 8px;
  border-radius:24px;
  background:rgba(255,255,255,.78);
  border:1px solid rgba(255,255,255,.96);
  box-shadow:0 14px 34px rgba(50,67,120,.10);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
}

.bank-v23-page .bank-v23-info-title{padding:17px 0 12px;font-size:18px;font-weight:950}
.bank-v23-page .bank-v23-spec-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:7px 0 15px}

.bank-v23-page .bank-v23-spec{
  min-height:58px;
  padding:0 14px;
  border-radius:16px;
  background:linear-gradient(145deg,rgba(219,234,255,.82),rgba(255,255,255,.90));
  border:1px solid rgba(135,189,255,.30);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.bank-v23-page .bank-v23-spec span,
.bank-v23-page .bank-v23-info-row span{
  color:#66738c;
  font-size:14px;
  font-weight:850;
  white-space:nowrap;
}

.bank-v23-page .bank-v23-spec strong{font-size:16px;font-weight:950;text-align:right;white-space:nowrap}

.bank-v23-page .bank-v23-info-row{
  display:grid;
  grid-template-columns:96px minmax(0,1fr);
  gap:18px;
  align-items:center;
  min-height:58px;
  border-top:1px solid rgba(86,102,139,.16);
}

.bank-v23-page .bank-v23-info-row strong{
  justify-self:end;
  width:100%;
  font-size:15px;
  font-weight:930;
  line-height:1.5;
  text-align:right;
  color:#172139;
}

.bank-v23-page .bank-v23-address{align-items:start;padding:16px 0}

.bank-v23-page .bank-v23-security-note{
  margin-top:16px;
  padding:16px 17px;
  border-radius:19px;
  background:linear-gradient(135deg,rgba(82,64,254,.10),rgba(135,189,255,.14));
  border:1px solid rgba(82,64,254,.12);
  color:#4f4a7d;
  font-size:13px;
  font-weight:800;
  line-height:1.65;
}

.home-service-overlay.bank-v23-detail-open .home-service-page-header{
  display:none!important;
}

.home-service-overlay.bank-v23-detail-open .home-service-page-scroll{
  padding-top:0!important;
}

@media(max-width:370px){
  .bank-v23-page .bank-v23-main,
  .bank-v23-page .bank-v23-detail{padding-left:12px;padding-right:12px}
  .bank-v23-page .bank-v23-card-stack{gap:16px}
  .bank-v23-page .bank-v23-card{padding:18px}
  .bank-v23-page .bank-v23-card-bottom{left:18px;right:18px}
  .bank-v23-page .bank-v23-card-number{font-size:16px;letter-spacing:.72px}
  .bank-v23-page .bank-v23-card-holder span{font-size:10.5px}
  .bank-v23-page .bank-v23-card-holder strong{font-size:13px}
  .bank-v23-page .bank-v23-stage{margin-left:-12px;margin-right:-12px;border-radius:26px 26px 0 0}
  .bank-v23-page .bank-v23-stage-inner{padding-left:12px;padding-right:12px}
  .bank-v23-page .bank-v23-service-grid{gap:8px}
  .bank-v23-page .bank-v23-service-card{min-height:134px;padding:14px 9px 12px;border-radius:19px}
  .bank-v23-page .bank-v23-service-icon{width:50px;height:50px;border-radius:16px}
  .bank-v23-page .bank-v23-service-card strong{font-size:15px}
  .bank-v23-page .bank-v23-service-card b{font-size:10px}
  .bank-v23-page .bank-v23-linked-actions{min-height:78px;border-radius:20px}
  .bank-v23-page .bank-v23-linked-action{gap:9px;padding:0 10px}
  .bank-v23-page .bank-v23-linked-action strong{font-size:15px}
  .bank-v23-page .bank-v23-linked-icon{width:38px;height:38px;border-radius:13px}
  .bank-v23-page .bank-v23-info-row{grid-template-columns:88px minmax(0,1fr);gap:12px}
  .bank-v23-page .bank-v23-spec-grid{gap:8px}
  .bank-v23-page .bank-v23-spec{padding:0 11px;min-height:56px}
  .bank-v23-page .bank-v23-spec strong{font-size:15px}
}


/* ===== 4.0.6-D3C-R1：首页位置恢复与银行卡详情安全区 ===== */
.bank-v23-page .bank-v23-detail{
  padding-top:0!important;
}

.bank-v23-page .bank-v23-detail-header{
  position:sticky!important;
  top:0!important;
  z-index:24!important;
  box-sizing:border-box!important;
  min-height:calc(92px + env(safe-area-inset-top,0px))!important;
  margin:0 -16px 8px!important;
  padding:
    calc(14px + env(safe-area-inset-top,0px))
    18px
    14px!important;
  background:
    linear-gradient(180deg,rgba(238,245,255,.985),rgba(239,244,255,.90))!important;
  border-bottom:1px solid rgba(121,139,191,.16)!important;
  box-shadow:0 9px 24px rgba(45,60,116,.07)!important;
  backdrop-filter:blur(26px) saturate(175%)!important;
  -webkit-backdrop-filter:blur(26px) saturate(175%)!important;
}

.bank-v23-page .bank-v23-detail-header>div{
  align-self:end!important;
  padding-bottom:2px!important;
}

.bank-v23-page .bank-v23-detail-close{
  align-self:end!important;
}

@supports(padding-top:max(0px)){
  html[data-cb-display-mode="standalone"] .bank-v23-page .bank-v23-detail-header{
    min-height:max(
      calc(92px + env(safe-area-inset-top,0px)),
      142px
    )!important;
    padding-top:max(
      calc(14px + env(safe-area-inset-top,0px)),
      58px
    )!important;
  }
}

@media(max-width:370px){
  .bank-v23-page .bank-v23-detail-header{
    margin-left:-12px!important;
    margin-right:-12px!important;
    padding-left:14px!important;
    padding-right:14px!important;
  }
}


/* ===== 4.0.6-D3C-R2：银行卡详情顶部背景延伸 ===== */
.bank-v23-page .bank-v23-detail{
  position:relative!important;
  isolation:isolate!important;
  overflow:visible!important;
}

.bank-v23-page .bank-v23-detail::before{
  content:"";
  position:absolute;
  z-index:0;
  top:0;
  left:-16px;
  right:-16px;
  height:calc(270px + env(safe-area-inset-top,0px));
  pointer-events:none;
  border-radius:0 0 42px 42px;
  background:
    radial-gradient(circle at 88% 8%,rgba(255,255,255,.28),transparent 27%),
    radial-gradient(circle at 10% 20%,rgba(105,181,255,.42),transparent 31%),
    linear-gradient(140deg,#4936d8 0%,#7355f8 48%,#5b9eff 100%);
  box-shadow:0 22px 48px rgba(57,49,157,.18);
}

.bank-v23-page .bank-v23-detail>*{
  position:relative;
  z-index:1;
}

.bank-v23-page .bank-v23-detail-header{
  color:#fff!important;
  background:transparent!important;
  border-bottom:1px solid rgba(255,255,255,.14)!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}

.bank-v23-page .bank-v23-detail-header strong,
.bank-v23-page .bank-v23-detail-header small{
  color:#fff!important;
}

.bank-v23-page .bank-v23-detail-header small{
  opacity:.68!important;
}

.bank-v23-page .bank-v23-detail-close{
  color:#fff!important;
  background:rgba(255,255,255,.14)!important;
  border-color:rgba(255,255,255,.22)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 8px 20px rgba(32,27,104,.16)!important;
  backdrop-filter:blur(16px)!important;
  -webkit-backdrop-filter:blur(16px)!important;
}

.bank-v23-page .bank-v23-detail-hero{
  margin-top:4px!important;
  border:1px solid rgba(255,255,255,.18)!important;
  background:
    radial-gradient(circle at 90% 0,rgba(253,145,255,.28),transparent 38%),
    linear-gradient(138deg,rgba(40,31,142,.94),rgba(82,64,254,.90) 48%,rgba(92,158,255,.90))!important;
  box-shadow:0 20px 42px rgba(40,33,132,.28)!important;
}

@media(max-width:370px){
  .bank-v23-page .bank-v23-detail::before{
    left:-12px;
    right:-12px;
  }
}


/* ===== 4.0.6-D3C-R3：银行卡详情顶部高度精调 ===== */
.bank-v23-page .bank-v23-detail::before{
  height:calc(250px + env(safe-area-inset-top,0px))!important;
}

.bank-v23-page .bank-v23-detail-header{
  min-height:calc(72px + env(safe-area-inset-top,0px))!important;
  border-bottom:0!important;
}

@supports(padding-top:max(0px)){
  html[data-cb-display-mode="standalone"] .bank-v23-page .bank-v23-detail-header{
    min-height:max(
      calc(72px + env(safe-area-inset-top,0px)),
      122px
    )!important;
    padding-top:max(
      calc(14px + env(safe-area-inset-top,0px)),
      38px
    )!important;
  }
}


/* ===== 4.0.6-D3C-R4：银行卡详情顶部再精调 ===== */
.bank-v23-page .bank-v23-detail::before{
  height:calc(242px + env(safe-area-inset-top,0px))!important;
}

.bank-v23-page .bank-v23-detail-header{
  min-height:calc(64px + env(safe-area-inset-top,0px))!important;
  border-bottom:0!important;
}

@supports(padding-top:max(0px)){
  html[data-cb-display-mode="standalone"] .bank-v23-page .bank-v23-detail-header{
    min-height:max(
      calc(64px + env(safe-area-inset-top,0px)),
      114px
    )!important;
    padding-top:max(
      calc(14px + env(safe-area-inset-top,0px)),
      30px
    )!important;
  }
}


/* ===== 4.0.6-D3C-R5：银行卡详情标题随页面滚动 ===== */
.bank-v23-page .bank-v23-detail-header{
  position:relative!important;
  top:auto!important;
  z-index:2!important;
}


/* ===== 4.0.6-D3E：银行卡服务区圆角收口与尺寸精调 ===== */
.bank-v23-page .bank-v23-main{
  padding-bottom:28px!important;
}

.bank-v23-page .bank-v23-stage{
  margin:24px -16px 0!important;
  min-height:0!important;
  border-radius:30px!important;
}

.bank-v23-page .bank-v23-stage-inner{
  min-height:0!important;
  padding:24px 16px 22px!important;
}

.bank-v23-page .bank-v23-service-card{
  min-height:132px!important;
  padding:14px 11px 13px!important;
  border-radius:21px!important;
}

.bank-v23-page .bank-v23-service-icon{
  width:51px!important;
  height:51px!important;
  border-radius:17px!important;
}

.bank-v23-page .bank-v23-linked-actions{
  margin-top:14px!important;
  min-height:80px!important;
  border-radius:22px!important;
}

.bank-v23-page .bank-v23-linked-icon{
  width:40px!important;
  height:40px!important;
  border-radius:14px!important;
}

.bank-v23-page .bank-v23-security-note{
  margin-bottom:6px!important;
}

@media(max-width:370px){
  .bank-v23-page .bank-v23-stage{
    margin-left:-12px!important;
    margin-right:-12px!important;
    border-radius:26px!important;
  }

  .bank-v23-page .bank-v23-stage-inner{
    padding:22px 12px 20px!important;
  }

  .bank-v23-page .bank-v23-service-card{
    min-height:124px!important;
    padding:13px 8px 11px!important;
    border-radius:18px!important;
  }

  .bank-v23-page .bank-v23-service-icon{
    width:47px!important;
    height:47px!important;
    border-radius:15px!important;
  }

  .bank-v23-page .bank-v23-linked-actions{
    min-height:74px!important;
    border-radius:19px!important;
  }
}



/* ===== D4P-R44：首页三业务页顶部回归左返回 + 居中纯标题 + 同层滚动 ===== */
.home-service-page-scroll{
  height:100dvh!important;
  min-height:100dvh!important;
  padding:0 15px calc(28px + env(safe-area-inset-bottom))!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  -webkit-overflow-scrolling:touch!important;
}
.home-service-page-header{
  position:relative!important;
  top:auto!important;
  z-index:2!important;
  width:100%!important;
  min-height:auto!important;
  box-sizing:border-box!important;
  padding:calc(16px + env(safe-area-inset-top)) 0 12px!important;
  display:grid!important;
  grid-template-columns:40px minmax(0,1fr) 40px!important;
  align-items:center!important;
  gap:0!important;
  background:transparent!important;
  border-bottom:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.home-service-back{
  grid-column:1!important;
  justify-self:start!important;
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  padding:0!important;
  border-radius:15px!important;
  border:1px solid rgba(255,255,255,.88)!important;
  background:rgba(255,255,255,.76)!important;
  box-shadow:0 7px 18px rgba(15,23,42,.08)!important;
  display:grid!important;
  place-items:center!important;
  color:#1f2a44!important;
  appearance:none!important;
  -webkit-appearance:none!important;
  text-indent:0!important;
  line-height:1!important;
}
.home-service-back svg{
  display:block!important;
  width:22px!important;
  height:22px!important;
  margin:auto!important;
  transform:none!important;
}
.home-service-page-title{
  grid-column:2!important;
  justify-self:center!important;
  align-self:center!important;
  display:block!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  text-align:center!important;
  color:#0f172a!important;
  font-size:22px!important;
  line-height:1.15!important;
  font-weight:960!important;
  letter-spacing:-.25px!important;
}
.home-service-header-spacer{
  grid-column:3!important;
  display:block!important;
  width:40px!important;
  height:40px!important;
  pointer-events:none!important;
}
.home-service-more,
.home-service-heading-icon,
[data-home-service-header-subtitle]{
  display:none!important;
}
.home-service-overlay[data-active-page="exchange"] .home-service-page-scroll,
.home-service-overlay[data-active-page="wallet"] .home-service-page-scroll,
.home-service-overlay[data-active-page="cards"] .home-service-page-scroll{
  height:100dvh!important;
  min-height:100dvh!important;
  padding:0 15px calc(28px + env(safe-area-inset-bottom))!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
}
.home-service-overlay[data-active-page="cards"]{
  display:block!important;
}
.home-service-overlay[data-active-page="cards"] .home-service-page-header{
  flex:none!important;
  width:100%!important;
}
.home-service-overlay[data-active-page="cards"] .home-service-page-scroll{
  flex:none!important;
  max-height:none!important;
}
.exchange-switch{
  box-sizing:border-box!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  line-height:1!important;
  text-align:center!important;
  appearance:none!important;
  -webkit-appearance:none!important;
}
.exchange-switch svg{
  display:block!important;
  width:19px!important;
  height:19px!important;
  margin:auto!important;
  transform:none!important;
}

/* R17.31：源文件内置广告与 APP 弹窗文章详情，不引入外部文章、iframe 或图片。 */
[data-wallet-page="home"] .home-ad-card{position:relative;display:grid;grid-template-columns:42% minmax(0,1fr);gap:15px;width:100%;margin:12px 0 16px;padding:10px;overflow:hidden;border:1px solid rgba(255,255,255,.82);border-radius:24px;background:rgba(255,255,255,.62);box-shadow:0 16px 34px rgba(47,41,120,.12),inset 0 1px 0 rgba(255,255,255,.9);text-align:left;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}
[data-wallet-page="home"] .home-ad-card:hover{transform:translateY(-1px);box-shadow:0 20px 40px rgba(47,41,120,.16),inset 0 1px 0 rgba(255,255,255,.94)}
[data-wallet-page="home"] .home-ad-card:active{transform:scale(.988)}
[data-wallet-page="home"] .home-ad-card:focus-visible{outline:3px solid rgba(99,102,241,.32);outline-offset:2px}
[data-wallet-page="home"] .home-ad-art{position:relative;min-height:126px;overflow:hidden;border-radius:18px;background:radial-gradient(circle at 75% 18%,rgba(255,255,255,.82),transparent 18%),linear-gradient(145deg,#312e81 0%,#4f46e5 42%,#8b5cf6 72%,#c4b5fd 100%);isolation:isolate}
[data-wallet-page="home"] .home-ad-art:before,[data-wallet-page="home"] .home-ad-art:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.3);border-radius:50%;transform:rotate(-18deg)}
[data-wallet-page="home"] .home-ad-art:before{width:210px;height:75px;right:-75px;bottom:16px}
[data-wallet-page="home"] .home-ad-art:after{width:175px;height:52px;right:-50px;bottom:36px}
[data-wallet-page="home"] .home-ad-art-orbit{position:absolute;display:block;border:1px solid rgba(255,255,255,.62);border-radius:50%;transform:rotate(-24deg)}
[data-wallet-page="home"] .home-ad-art-orbit-one{width:116px;height:40px;right:4px;top:30px}
[data-wallet-page="home"] .home-ad-art-orbit-two{width:148px;height:56px;right:-14px;top:44px;opacity:.55}
[data-wallet-page="home"] .home-ad-art-glow{position:absolute;right:25px;top:19px;width:35px;height:35px;border-radius:50%;background:rgba(255,255,255,.72);box-shadow:0 0 28px rgba(255,255,255,.9)}
[data-wallet-page="home"] .home-ad-copy{min-width:0;display:flex;flex-direction:column;justify-content:center;padding:4px 7px 4px 0}
[data-wallet-page="home"] .home-ad-kicker{color:#6658d3;font-size:10px;font-weight:800;letter-spacing:.8px}
[data-wallet-page="home"] .home-ad-copy strong{display:block;margin:7px 0 5px;color:#172554;font-size:16px;line-height:1.35;letter-spacing:-.3px}
[data-wallet-page="home"] .home-ad-copy>span:not(.home-ad-kicker):not(.home-ad-cta){color:#64748b;font-size:11px;line-height:1.45}
[data-wallet-page="home"] .home-ad-cta{display:inline-flex;align-items:center;gap:4px;margin-top:11px;color:#4f46e5;font-size:11px;font-weight:800}
[data-wallet-page="home"] .home-ad-cta svg{width:14px;height:14px}
[data-wallet-page="home"] .home-article-page{display:none;min-height:100%;margin:-18px -16px 0;padding:0 0 32px;background:linear-gradient(180deg,#f6f7ff 0%,#eef2ff 44%,#f8fafc 100%)}
[data-wallet-page="home"].home-article-open>:not(.home-article-page){display:none!important}
[data-wallet-page="home"].home-article-open>.home-article-page{display:block}
body.home-article-page-open #walletBottomNav{display:none!important}
[data-wallet-page="home"] .home-article-header{position:sticky;top:0;z-index:4;display:flex;align-items:center;justify-content:space-between;min-height:66px;padding:10px 18px;border-bottom:1px solid rgba(148,163,184,.16);background:rgba(246,247,255,.88);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
[data-wallet-page="home"] .home-article-header>div{display:flex;flex-direction:column;align-items:center;gap:2px}
[data-wallet-page="home"] .home-article-header>div span{color:#818cf8;font-size:9px;font-weight:800;letter-spacing:1px}
[data-wallet-page="home"] .home-article-header>div strong{color:#172554;font-size:15px}
[data-wallet-page="home"] .home-article-back{display:grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid rgba(148,163,184,.22);border-radius:13px;background:rgba(255,255,255,.78);color:#334155;cursor:pointer;box-shadow:0 6px 14px rgba(30,41,59,.06)}
[data-wallet-page="home"] .home-article-back svg{width:19px;height:19px}
[data-wallet-page="home"] .home-article-back:active{transform:scale(.94)}
[data-wallet-page="home"] .home-article-header-dot{width:9px;height:9px;border-radius:50%;background:#6366f1;box-shadow:0 0 0 5px rgba(99,102,241,.12),0 0 18px rgba(99,102,241,.58)}
[data-wallet-page="home"] .home-article-body{max-width:760px;margin:0 auto;padding:18px 16px 36px}
[data-wallet-page="home"] .home-article-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 128px;gap:12px;min-height:250px;padding:21px 18px 18px;overflow:hidden;border-radius:28px;background:linear-gradient(145deg,#1e1b4b 0%,#3730a3 43%,#6366f1 73%,#a78bfa 100%);box-shadow:0 18px 38px rgba(49,46,129,.24)}
[data-wallet-page="home"] .home-article-hero:after{content:"";position:absolute;right:-60px;bottom:-90px;width:250px;height:170px;border:1px solid rgba(255,255,255,.28);border-radius:50%;transform:rotate(-18deg)}
[data-wallet-page="home"] .home-article-hero-copy{position:relative;z-index:1;align-self:end}
[data-wallet-page="home"] .home-article-category{display:inline-flex;padding:5px 9px;border:1px solid rgba(255,255,255,.24);border-radius:999px;background:rgba(255,255,255,.13);color:#e0e7ff;font-size:10px;font-weight:800;letter-spacing:.8px}
[data-wallet-page="home"] .home-article-hero h1{margin:13px 0 9px;color:#fff;font-size:clamp(22px,5.6vw,34px);line-height:1.28;letter-spacing:-1px}
[data-wallet-page="home"] .home-article-hero p{margin:0;color:rgba(224,231,255,.82);font-size:12px;line-height:1.6}
[data-wallet-page="home"] .home-article-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:17px;color:rgba(255,255,255,.68);font-size:10px}
[data-wallet-page="home"] .home-article-meta i{width:3px;height:3px;border-radius:50%;background:rgba(255,255,255,.56)}
[data-wallet-page="home"] .home-article-hero-visual{position:relative;min-height:190px;align-self:center;overflow:hidden;border:1px solid rgba(255,255,255,.2);border-radius:22px;background:linear-gradient(160deg,rgba(255,255,255,.18),rgba(255,255,255,.04))}
[data-wallet-page="home"] .home-article-visual-sun{position:absolute;top:18px;right:20px;width:34px;height:34px;border-radius:50%;background:#fef3c7;box-shadow:0 0 24px rgba(254,243,199,.8)}
[data-wallet-page="home"] .home-article-visual-ring{position:absolute;right:-20px;border:1px solid rgba(255,255,255,.48);border-radius:50%;transform:rotate(-28deg)}
[data-wallet-page="home"] .home-article-visual-ring.ring-one{top:40px;width:165px;height:55px}
[data-wallet-page="home"] .home-article-visual-ring.ring-two{top:58px;right:-3px;width:126px;height:43px;opacity:.55}
[data-wallet-page="home"] .home-article-visual-building{position:absolute;left:16px;right:14px;bottom:44px;display:flex;align-items:flex-end;gap:4px;height:78px}
[data-wallet-page="home"] .home-article-visual-building b{display:block;flex:1;height:45%;border-radius:4px 4px 0 0;background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(199,210,254,.45))}
[data-wallet-page="home"] .home-article-visual-building b:nth-child(2){height:68%}
[data-wallet-page="home"] .home-article-visual-building b:nth-child(3){height:88%}
[data-wallet-page="home"] .home-article-visual-building b:nth-child(4){height:60%}
[data-wallet-page="home"] .home-article-visual-building i{position:absolute;left:-8px;right:-8px;bottom:-1px;height:1px;background:rgba(255,255,255,.65)}
[data-wallet-page="home"] .home-article-hero-visual small{position:absolute;left:14px;bottom:13px;color:rgba(255,255,255,.75);font-size:9px;line-height:1.45}
[data-wallet-page="home"] .home-article-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:12px 0;padding:13px 7px;border:1px solid rgba(255,255,255,.84);border-radius:19px;background:rgba(255,255,255,.72);box-shadow:0 10px 24px rgba(30,41,59,.06)}
[data-wallet-page="home"] .home-article-stats div{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:0}
[data-wallet-page="home"] .home-article-stats strong{color:#312e81;font-size:13px}
[data-wallet-page="home"] .home-article-stats span{color:#94a3b8;font-size:9px}
[data-wallet-page="home"] .home-article-lead,[data-wallet-page="home"] .home-article-section,[data-wallet-page="home"] .home-article-quote-card{margin-top:12px;padding:20px 18px;border:1px solid rgba(255,255,255,.88);border-radius:21px;background:rgba(255,255,255,.78);box-shadow:0 10px 24px rgba(30,41,59,.05)}
[data-wallet-page="home"] .home-article-section-label{display:block;margin-bottom:9px;color:#6366f1;font-size:10px;font-weight:900;letter-spacing:1.2px}
[data-wallet-page="home"] .home-article-lead p,[data-wallet-page="home"] .home-article-section p{margin:0 0 12px;color:#475569;font-size:15px;line-height:1.9}
[data-wallet-page="home"] .home-article-lead p{margin-bottom:0;color:#334155;font-size:16px;font-weight:650;line-height:1.8}
[data-wallet-page="home"] .home-article-section h2{display:flex;align-items:baseline;gap:9px;margin:0 0 13px;color:#1e293b;font-size:20px;line-height:1.35}
[data-wallet-page="home"] .home-article-section h2 span{color:#818cf8;font-size:11px;font-weight:900;letter-spacing:1px}
[data-wallet-page="home"] .home-article-pullquote{margin:17px 0 1px;padding:15px 16px 15px 13px;border-left:3px solid #818cf8;border-radius:0 14px 14px 0;background:linear-gradient(100deg,rgba(224,231,255,.78),rgba(245,243,255,.4))}
[data-wallet-page="home"] .home-article-pullquote span{float:left;margin:-3px 5px 0 0;color:#6366f1;font-family:Georgia,serif;font-size:31px;line-height:1}
[data-wallet-page="home"] .home-article-pullquote strong{color:#3730a3;font-size:14px;line-height:1.6}
[data-wallet-page="home"] .home-article-info-card{display:flex;align-items:center;gap:11px;margin:15px 0;padding:13px;border:1px solid rgba(165,180,252,.4);border-radius:15px;background:linear-gradient(105deg,rgba(238,242,255,.95),rgba(245,243,255,.75))}
[data-wallet-page="home"] .home-article-info-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#6366f1;color:#fff;font-size:19px}
[data-wallet-page="home"] .home-article-info-card div{display:flex;flex:1;flex-direction:column;gap:3px;min-width:0}
[data-wallet-page="home"] .home-article-info-card strong{color:#312e81;font-size:13px}
[data-wallet-page="home"] .home-article-info-card small{color:#64748b;font-size:10px}
[data-wallet-page="home"] .home-article-info-card b{padding:4px 6px;border-radius:7px;background:rgba(99,102,241,.12);color:#6366f1;font-size:9px;white-space:nowrap}
[data-wallet-page="home"] .home-article-quote-card{display:flex;gap:12px;align-items:stretch;padding:15px 16px}
[data-wallet-page="home"] .home-article-quote-line{width:3px;flex:0 0 3px;border-radius:3px;background:linear-gradient(#818cf8,#c4b5fd)}
[data-wallet-page="home"] .home-article-quote-card p{margin:0;color:#4338ca;font-size:14px;font-weight:650;line-height:1.75}
[data-wallet-page="home"] .home-article-footer{display:flex;flex-wrap:wrap;gap:7px;margin:16px 2px 0;color:#94a3b8;font-size:10px}
@media (max-width:430px){[data-wallet-page="home"] .home-ad-card{grid-template-columns:39% minmax(0,1fr);gap:11px;padding:8px;border-radius:20px}[data-wallet-page="home"] .home-ad-art{min-height:112px;border-radius:15px}[data-wallet-page="home"] .home-ad-copy strong{font-size:14px}[data-wallet-page="home"] .home-article-page{margin:-12px -12px 0}[data-wallet-page="home"] .home-article-header{min-height:58px;padding:8px 13px}[data-wallet-page="home"] .home-article-body{padding:13px 12px 28px}[data-wallet-page="home"] .home-article-hero{grid-template-columns:minmax(0,1fr) 98px;min-height:260px;padding:17px 14px 15px;border-radius:23px}[data-wallet-page="home"] .home-article-hero h1{font-size:23px;letter-spacing:-.8px}[data-wallet-page="home"] .home-article-hero-visual{min-height:168px;border-radius:18px}[data-wallet-page="home"] .home-article-stats{padding:11px 4px}[data-wallet-page="home"] .home-article-stats strong{font-size:12px}[data-wallet-page="home"] .home-article-lead,[data-wallet-page="home"] .home-article-section,[data-wallet-page="home"] .home-article-quote-card{padding:17px 14px;border-radius:18px}[data-wallet-page="home"] .home-article-lead p,[data-wallet-page="home"] .home-article-section p{font-size:14px;line-height:1.85}[data-wallet-page="home"] .home-article-section h2{font-size:18px}}

/* R17.31：文章改为与首页功能入口同级的全屏 APP 弹窗，图片回到正文。 */
body.home-article-page-open{overflow:hidden!important}
body.home-article-page-open #assetsView>main.content>.pay-header{visibility:hidden!important;pointer-events:none!important}
body.home-article-page-open #walletBottomNav{opacity:0!important;pointer-events:none!important;transform:translateY(120%)!important}

[data-wallet-page="home"] .home-ad-card{grid-template-columns:34% minmax(0,1fr);gap:14px}
[data-wallet-page="home"] .home-ad-art{min-height:110px}
[data-wallet-page="home"] .home-ad-kicker{font-size:13px;letter-spacing:.2px}
[data-wallet-page="home"] .home-ad-copy strong{margin:6px 0 5px;font-size:17px;line-height:1.38}
[data-wallet-page="home"] .home-ad-copy>span:not(.home-ad-kicker):not(.home-ad-cta){font-size:13px;line-height:1.5}
[data-wallet-page="home"] .home-ad-cta{margin-top:9px;font-size:14px}
[data-wallet-page="home"] .home-ad-cta svg{width:16px;height:16px}

[data-wallet-page="home"] .home-article-page{position:fixed;inset:0 auto 0 50%;z-index:1800;display:none;flex-direction:column;width:min(100vw,430px);height:100dvh;min-height:100dvh;margin:0;padding:0;overflow:hidden;isolation:isolate;background:linear-gradient(180deg,#f7f9ff 0%,#eef2ff 48%,#f8fafc 100%);box-shadow:0 0 90px rgba(15,23,42,.28);opacity:1;visibility:visible;transform:translateX(-50%);transition:none}
[data-wallet-page="home"].home-article-open>.home-article-page{display:flex;animation:home-article-enter .28s cubic-bezier(.16,1,.3,1) both}
@keyframes home-article-enter{from{opacity:0;transform:translateX(8%)}to{opacity:1;transform:translateX(-50%)}}
[data-wallet-page="home"] .home-article-header{position:relative;top:auto;z-index:5;flex:0 0 auto;display:grid;grid-template-columns:44px 1fr 44px;align-items:center;gap:10px;min-height:calc(64px + env(safe-area-inset-top));padding:calc(10px + env(safe-area-inset-top)) 15px 10px;border-bottom:1px solid rgba(203,213,225,.55);background:rgba(247,250,255,.86);backdrop-filter:blur(28px) saturate(180%);-webkit-backdrop-filter:blur(28px) saturate(180%)}
[data-wallet-page="home"] .home-article-header-title{grid-column:2;justify-self:center;color:#0f172a;font-size:20px;line-height:1.15;font-weight:950;letter-spacing:-.25px}
[data-wallet-page="home"] .home-article-header-spacer{grid-column:3;display:block;width:40px;height:40px;pointer-events:none}
[data-wallet-page="home"] .home-article-back{width:40px;height:40px;border-radius:14px;border:1px solid rgba(255,255,255,.88);background:rgba(255,255,255,.76);box-shadow:0 7px 18px rgba(15,23,42,.08)}
[data-wallet-page="home"] .home-article-body{flex:1 1 auto;min-height:0;width:100%;max-width:none;margin:0;padding:0 16px calc(30px + env(safe-area-inset-bottom));overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;scrollbar-width:none}
[data-wallet-page="home"] .home-article-body::-webkit-scrollbar{display:none}
[data-wallet-page="home"] .home-article-document{max-width:760px;margin:0 auto;padding:24px 0 36px}
[data-wallet-page="home"] .home-article-document>h1{margin:0;color:#172554;font-size:clamp(24px,6.2vw,32px);line-height:1.34;letter-spacing:-.8px;font-weight:950}
[data-wallet-page="home"] .home-article-document>.home-article-meta{margin-top:12px;color:#94a3b8;font-size:11px}
[data-wallet-page="home"] .home-article-document>.home-article-meta i{background:#cbd5e1}
[data-wallet-page="home"] .home-article-summary{margin:18px 0 0;color:#475569;font-size:15px;line-height:1.75}
[data-wallet-page="home"] .home-article-inline-figure{margin:22px 0 0}
[data-wallet-page="home"] .home-article-inline-image{position:relative;min-height:172px;overflow:hidden;border:1px solid rgba(255,255,255,.74);border-radius:22px;background:radial-gradient(circle at 78% 17%,rgba(255,255,255,.82),transparent 14%),linear-gradient(145deg,#312e81 0%,#4f46e5 42%,#8b5cf6 72%,#c4b5fd 100%);box-shadow:0 17px 32px rgba(49,46,129,.18);isolation:isolate}
[data-wallet-page="home"] .home-article-inline-image:after{content:"";position:absolute;right:-72px;bottom:-82px;width:260px;height:168px;border:1px solid rgba(255,255,255,.3);border-radius:50%;transform:rotate(-18deg);pointer-events:none}
[data-wallet-page="home"] .home-article-inline-image .home-article-visual-sun{top:22px;right:24px;width:38px;height:38px}
[data-wallet-page="home"] .home-article-inline-image .home-article-visual-ring.ring-one{top:44px;right:-14px;width:205px;height:65px}
[data-wallet-page="home"] .home-article-inline-image .home-article-visual-ring.ring-two{top:64px;right:10px;width:165px;height:52px}
[data-wallet-page="home"] .home-article-inline-image .home-article-visual-building{left:28%;right:24%;bottom:48px;height:82px}
[data-wallet-page="home"] .home-article-inline-figure figcaption{margin:8px 3px 0;color:#94a3b8;font-size:10px;line-height:1.5}

[data-wallet-page="home"] .home-article-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin:20px 0 0;padding:8px;border:1px solid rgba(255,255,255,.9);border-radius:20px;background:rgba(255,255,255,.76);box-shadow:0 12px 26px rgba(30,41,59,.07)}
[data-wallet-page="home"] .home-article-actions button{min-height:69px;padding:9px 4px;border:0;border-radius:15px;background:transparent;color:#64748b;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;cursor:pointer;transition:background .2s ease,color .2s ease,transform .2s ease}
[data-wallet-page="home"] .home-article-actions button:hover,[data-wallet-page="home"] .home-article-actions button.is-active{background:#eef2ff;color:#4f46e5}
[data-wallet-page="home"] .home-article-actions button:active{transform:scale(.96)}
[data-wallet-page="home"] .home-article-actions svg{width:20px;height:20px}
[data-wallet-page="home"] .home-article-actions strong{color:inherit;font-size:13px;line-height:1.2}
[data-wallet-page="home"] .home-article-actions span{color:#94a3b8;font-size:10px;line-height:1.2}

[data-wallet-page="home"] .home-article-lead,[data-wallet-page="home"] .home-article-section{margin-top:30px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
[data-wallet-page="home"] .home-article-section-label{margin-bottom:10px;font-size:11px;letter-spacing:1px}
[data-wallet-page="home"] .home-article-lead p,[data-wallet-page="home"] .home-article-section p{margin:0 0 15px;color:#334155;font-size:16px;line-height:1.9}
[data-wallet-page="home"] .home-article-lead p{font-weight:650}
[data-wallet-page="home"] .home-article-section h2{margin:0 0 14px;font-size:21px}
[data-wallet-page="home"] .home-article-pullquote{margin:19px 0 0}
[data-wallet-page="home"] .home-article-info-card{margin:18px 0;padding:13px;border-radius:16px;box-shadow:none}
[data-wallet-page="home"] .home-article-quote-card{margin:18px 0 0;padding:14px 15px;border:0;border-left:3px solid #818cf8;border-radius:0 14px 14px 0;background:rgba(224,231,255,.56);box-shadow:none}
[data-wallet-page="home"] .home-article-footer{margin-top:30px;padding-top:16px;border-top:1px solid rgba(148,163,184,.22);font-size:10px}

@media (max-width:430px){
  [data-wallet-page="home"] .home-ad-card{grid-template-columns:31% minmax(0,1fr);gap:10px;padding:8px}
  [data-wallet-page="home"] .home-ad-art{min-height:96px;border-radius:15px}
  [data-wallet-page="home"] .home-ad-copy strong{font-size:16px}
  [data-wallet-page="home"] .home-ad-copy>span:not(.home-ad-kicker):not(.home-ad-cta){font-size:12px}
  [data-wallet-page="home"] .home-ad-cta{font-size:13px}
  [data-wallet-page="home"] .home-article-document{padding-top:22px}
  [data-wallet-page="home"] .home-article-document>h1{font-size:24px;line-height:1.38}
  [data-wallet-page="home"] .home-article-summary{font-size:14px}
  [data-wallet-page="home"] .home-article-inline-image{min-height:154px;border-radius:19px}
  [data-wallet-page="home"] .home-article-inline-image .home-article-visual-building{bottom:43px}
  [data-wallet-page="home"] .home-article-actions{margin-top:17px}
  [data-wallet-page="home"] .home-article-lead p,[data-wallet-page="home"] .home-article-section p{font-size:15px;line-height:1.9}
  [data-wallet-page="home"] .home-article-section h2{font-size:19px}
}

/* R17.32：首页广告入口改为方图＋标题首行、摘要次行布局。 */
[data-wallet-page="home"] .home-ad-card{display:flex;flex-direction:column;gap:10px;grid-template-columns:none;padding:10px}
[data-wallet-page="home"] .home-ad-top{display:grid;grid-template-columns:92px minmax(0,1fr);align-items:start;gap:12px;min-width:0}
[data-wallet-page="home"] .home-ad-art{width:92px;height:92px;min-width:92px;min-height:92px;aspect-ratio:1/1;border-radius:17px}
[data-wallet-page="home"] .home-ad-copy{min-width:0;display:flex;flex-direction:column;justify-content:flex-start;padding:2px 0 0}
[data-wallet-page="home"] .home-ad-kicker{font-size:12px;line-height:1.25;letter-spacing:.1px}
[data-wallet-page="home"] .home-ad-copy strong{margin:8px 0 0;font-size:17px;line-height:1.38;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
[data-wallet-page="home"] .home-ad-bottom{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;min-width:0}
[data-wallet-page="home"] .home-ad-subtitle{min-width:0;color:#64748b;font-size:12px;line-height:1.45}
[data-wallet-page="home"] .home-ad-cta{justify-self:end;margin:0;color:#4f46e5;font-size:14px;line-height:1.2;white-space:nowrap}
[data-wallet-page="home"] .home-ad-cta svg{width:16px;height:16px}

@media (max-width:430px){
  [data-wallet-page="home"] .home-ad-card{gap:9px;padding:9px}
  [data-wallet-page="home"] .home-ad-top{grid-template-columns:88px minmax(0,1fr);gap:11px}
  [data-wallet-page="home"] .home-ad-art{width:88px;height:88px;min-width:88px;min-height:88px;border-radius:16px}
  [data-wallet-page="home"] .home-ad-kicker{font-size:12px}
  [data-wallet-page="home"] .home-ad-copy strong{margin-top:7px;font-size:16px;line-height:1.4}
  [data-wallet-page="home"] .home-ad-subtitle{font-size:11px;line-height:1.4}
  [data-wallet-page="home"] .home-ad-cta{font-size:13px}
}

/* R17.33：首页广告入口把摘要收回右侧标题列，减少纵向留白并放大栏目字。 */
[data-wallet-page="home"] .home-ad-card{gap:0;padding:10px}
[data-wallet-page="home"] .home-ad-top{display:grid;grid-template-columns:92px minmax(0,1fr);align-items:start;gap:12px;min-width:0}
[data-wallet-page="home"] .home-ad-art{width:92px;height:92px;min-width:92px;min-height:92px;aspect-ratio:1/1;border-radius:17px}
[data-wallet-page="home"] .home-ad-copy{min-width:0;display:flex;flex-direction:column;justify-content:flex-start;padding:1px 0 0}
[data-wallet-page="home"] .home-ad-kicker{font-size:14.4px;line-height:1.2;letter-spacing:0}
[data-wallet-page="home"] .home-ad-copy strong{margin:5px 0 0;font-size:17px;line-height:1.34;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
[data-wallet-page="home"] .home-ad-subtitle{display:block;min-width:0;margin-top:5px;color:#64748b;font-size:12px;line-height:1.38}
[data-wallet-page="home"] .home-ad-cta{align-self:flex-start;margin-top:5px;color:#4f46e5;font-size:13.5px;line-height:1.2;white-space:nowrap}
[data-wallet-page="home"] .home-ad-cta svg{width:16px;height:16px}

@media (max-width:430px){
  [data-wallet-page="home"] .home-ad-card{gap:0;padding:9px}
  [data-wallet-page="home"] .home-ad-top{grid-template-columns:88px minmax(0,1fr);gap:11px}
  [data-wallet-page="home"] .home-ad-art{width:88px;height:88px;min-width:88px;min-height:88px;border-radius:16px}
  [data-wallet-page="home"] .home-ad-kicker{font-size:14.4px}
  [data-wallet-page="home"] .home-ad-copy strong{margin-top:5px;font-size:16px;line-height:1.34}
  [data-wallet-page="home"] .home-ad-subtitle{margin-top:5px;font-size:11px;line-height:1.35}
  [data-wallet-page="home"] .home-ad-cta{margin-top:5px;font-size:13px}
}

/* R17.34：文章详情统一字号、上移顶部控件，并为正文图片保留 4:3 / 16:9 比例钩子。 */
[data-wallet-page="home"] .home-article-page{
  --article-ui-size:16px;
  --article-body-size:17px;
  --article-heading-size:22px;
  --article-action-number-size:17px;
  --article-icon-size:26px;
}
[data-wallet-page="home"] .home-article-header>*{position:relative;top:-11px}
[data-wallet-page="home"] .home-article-document>.home-article-meta{align-items:center;gap:9px;margin-top:14px;color:#94a3b8;font-size:var(--article-ui-size);line-height:1.35}
[data-wallet-page="home"] .home-article-document>.home-article-meta i{width:4px;height:4px}
[data-wallet-page="home"] .home-article-summary{margin-top:16px;font-size:var(--article-body-size);line-height:1.75}
[data-wallet-page="home"] .home-article-inline-figure{margin-top:20px}
[data-wallet-page="home"] .home-article-inline-image{height:auto;min-height:0;border-radius:20px}
[data-wallet-page="home"] .home-article-inline-image>img{display:block;width:100%;height:100%;object-fit:cover}
[data-wallet-page="home"] .home-ad-art>img{display:block;width:100%;height:100%;object-fit:cover;position:relative;z-index:2}
[data-wallet-page="home"] .home-ad-art>img[hidden],[data-wallet-page="home"] .home-article-inline-image>img[hidden]{display:none!important}
[data-wallet-page="home"] .home-ad-art[hidden]{display:none!important}
[data-wallet-page="home"] .home-ad-art[data-news-image-state="loaded"]{background:transparent}
[data-wallet-page="home"] .home-ad-art[data-news-image-state="loaded"] .home-ad-art-orbit,[data-wallet-page="home"] .home-ad-art[data-news-image-state="loaded"] .home-ad-art-glow,[data-wallet-page="home"] .home-ad-art[data-news-image-state="loaded"]:before,[data-wallet-page="home"] .home-ad-art[data-news-image-state="loaded"]:after{display:none}
[data-wallet-page="home"] .home-article-section-image{margin:20px 0 0}
[data-wallet-page="home"] .home-article-section-image .home-article-inline-image{background:transparent;box-shadow:0 17px 32px rgba(30,41,59,.12)}
[data-wallet-page="home"] .home-article-section-image .home-article-inline-image:after{display:none}
[data-wallet-page="home"] .home-article-section-image .home-article-inline-image>img{position:relative;z-index:1}
[data-wallet-page="home"] .home-article-section-image figcaption{margin-top:9px;color:#64748b;font-size:var(--article-ui-size);line-height:1.45}
[data-wallet-page="home"] .home-article-inline-figure figcaption{margin-top:9px;color:#64748b;font-size:var(--article-ui-size);line-height:1.45}
[data-wallet-page="home"] .home-article-actions{margin-top:18px;padding:10px;border-radius:21px}
[data-wallet-page="home"] .home-article-actions button{min-height:84px;gap:5px}
[data-wallet-page="home"] .home-article-actions svg{width:var(--article-icon-size);height:var(--article-icon-size)}
[data-wallet-page="home"] .home-article-actions strong{font-size:var(--article-action-number-size);line-height:1.2}
[data-wallet-page="home"] .home-article-actions span{font-size:var(--article-ui-size);line-height:1.2}
[data-wallet-page="home"] .home-article-lead,[data-wallet-page="home"] .home-article-section{margin-top:28px}
[data-wallet-page="home"] .home-article-section-label{margin-bottom:11px;color:#6366f1;font-size:var(--article-ui-size);line-height:1.35;letter-spacing:.6px}
[data-wallet-page="home"] .home-article-lead p,[data-wallet-page="home"] .home-article-section p{font-size:var(--article-body-size);line-height:1.85}
[data-wallet-page="home"] .home-article-section h2{font-size:var(--article-heading-size);line-height:1.35}
[data-wallet-page="home"] .home-article-footer{margin-top:30px;font-size:var(--article-ui-size);line-height:1.45}

@media (max-width:430px){
  [data-wallet-page="home"] .home-article-header>*{top:-11px}
  [data-wallet-page="home"] .home-article-document>.home-article-meta{font-size:var(--article-ui-size);gap:8px}
  [data-wallet-page="home"] .home-article-summary{font-size:var(--article-body-size)}
  [data-wallet-page="home"] .home-article-inline-image{min-height:0;border-radius:18px}
  [data-wallet-page="home"] .home-article-inline-figure figcaption{font-size:var(--article-ui-size)}
  [data-wallet-page="home"] .home-article-actions{margin-top:17px;padding:9px}
  [data-wallet-page="home"] .home-article-actions button{min-height:82px}
  [data-wallet-page="home"] .home-article-actions svg{width:var(--article-icon-size);height:var(--article-icon-size)}
  [data-wallet-page="home"] .home-article-actions strong{font-size:var(--article-action-number-size)}
  [data-wallet-page="home"] .home-article-actions span{font-size:var(--article-ui-size)}
  [data-wallet-page="home"] .home-article-lead,[data-wallet-page="home"] .home-article-section{margin-top:26px}
  [data-wallet-page="home"] .home-article-section-label{font-size:var(--article-ui-size)}
  [data-wallet-page="home"] .home-article-lead p,[data-wallet-page="home"] .home-article-section p{font-size:var(--article-body-size);line-height:1.85}
  [data-wallet-page="home"] .home-article-section h2{font-size:20px}
  [data-wallet-page="home"] .home-article-footer{font-size:var(--article-ui-size)}
}

/* R17.35：首页阅读入口与栏目同排居中；文章顶部栏整体收紧。 */
[data-wallet-page="home"] .home-ad-copy{align-items:center;text-align:center}
[data-wallet-page="home"] .home-ad-kicker-row{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;min-width:0}
[data-wallet-page="home"] .home-ad-kicker-row .home-ad-kicker{white-space:nowrap}
[data-wallet-page="home"] .home-ad-kicker-row .home-ad-cta{align-self:auto;margin:0;justify-self:auto;display:inline-flex;align-items:center;gap:3px;font-size:13px;line-height:1.2}
[data-wallet-page="home"] .home-ad-kicker-row .home-ad-cta svg{width:15px;height:15px}
[data-wallet-page="home"] .home-ad-copy strong{width:100%;text-align:center}
[data-wallet-page="home"] .home-ad-subtitle{width:100%;text-align:center}
[data-wallet-page="home"] .home-article-header{min-height:calc(53px + env(safe-area-inset-top));padding:calc(5px + env(safe-area-inset-top)) 15px 5px}
[data-wallet-page="home"] .home-article-header>*{top:-7px}

@media (max-width:430px){
  [data-wallet-page="home"] .home-ad-kicker-row{gap:5px}
  [data-wallet-page="home"] .home-ad-kicker-row .home-ad-cta{font-size:12px}
  [data-wallet-page="home"] .home-ad-kicker-row .home-ad-cta svg{width:14px;height:14px}
  [data-wallet-page="home"] .home-article-header{min-height:calc(53px + env(safe-area-inset-top));padding:calc(5px + env(safe-area-inset-top)) 15px 5px}
  [data-wallet-page="home"] .home-article-header>*{top:-7px}
}

/* R17.36：首页广告恢复原图尺寸与左右对齐；保留文章顶部栏收紧。 */
[data-wallet-page="home"] .home-ad-copy{align-items:stretch;justify-content:center;text-align:left}
[data-wallet-page="home"] .home-ad-art{width:92px;height:92px;min-width:92px;min-height:92px;flex:0 0 92px}
[data-wallet-page="home"] .home-ad-kicker-row{justify-content:space-between;align-items:center;gap:8px;text-align:left}
[data-wallet-page="home"] .home-ad-kicker-row .home-ad-kicker{flex:1 1 auto;text-align:left}
[data-wallet-page="home"] .home-ad-kicker-row .home-ad-cta{flex:0 0 auto;text-align:right}
[data-wallet-page="home"] .home-ad-copy strong{width:100%;text-align:left}
[data-wallet-page="home"] .home-ad-subtitle{width:100%;text-align:left}
@media (max-width:430px){
  [data-wallet-page="home"] .home-ad-art{width:88px;height:88px;min-width:88px;min-height:88px;flex-basis:88px}
  [data-wallet-page="home"] .home-ad-kicker-row{gap:6px}
}

/* R17.37：首页文字按方图上下居中并允许标题自然换行；详情辅助字号收小，互动栏只保留空 Logo 位和数字。 */
[data-wallet-page="home"] .home-ad-top{align-items:stretch}
[data-wallet-page="home"] .home-ad-copy{align-self:stretch;justify-content:center;align-items:stretch;text-align:left;padding:0}
[data-wallet-page="home"] .home-ad-copy strong{display:block;width:100%;margin:6px 0 0;font-size:18.7px;line-height:1.34;text-align:left;overflow:visible;-webkit-line-clamp:unset;-webkit-box-orient:initial}
[data-wallet-page="home"] .home-ad-subtitle{display:block;width:100%;margin-top:5px;font-size:14.4px;line-height:1.38;text-align:left}
[data-wallet-page="home"] .home-article-page{--article-ui-size:14.4px}
[data-wallet-page="home"] .home-article-actions{margin-top:14px;padding:6px 8px;border-radius:18px;gap:3px}
[data-wallet-page="home"] .home-article-actions button{min-height:56px;padding:4px 2px;border-radius:12px;gap:4px}
[data-wallet-page="home"] .home-article-actions button>span:not(.home-article-action-logo){display:none!important}
[data-wallet-page="home"] .home-article-action-logo{display:block;width:26px;height:26px;min-width:26px;min-height:26px;flex:0 0 26px;border:0;border-radius:0;background:transparent;box-shadow:none;font-size:0}
[data-wallet-page="home"] .home-article-actions strong{font-size:var(--article-action-number-size);line-height:1.2}
@media (max-width:430px){
  [data-wallet-page="home"] .home-ad-copy strong{font-size:17.6px;line-height:1.34}
  [data-wallet-page="home"] .home-ad-subtitle{font-size:13.2px;line-height:1.35}
  [data-wallet-page="home"] .home-article-actions{margin-top:14px;padding:6px 7px}
  [data-wallet-page="home"] .home-article-actions button{min-height:54px}
  [data-wallet-page="home"] .home-article-action-logo{width:24px;height:24px;min-width:24px;min-height:24px;flex-basis:24px}
}

/* R17.38：首页新闻标题与小标题只收紧少量间距，保证两行标题时小标题不越过方图底部。 */
[data-wallet-page="home"] .home-ad-subtitle{margin-top:3px}

/* R17.39：首页标题最多两行，并固定副标题起始位置；文章全屏只允许纵向手势。 */
[data-wallet-page="home"] .home-ad-copy strong{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  height:calc(2 * 18.7px * 1.34);
  min-height:calc(2 * 18.7px * 1.34);
}
[data-wallet-page="home"] .home-ad-subtitle{margin-top:2px}
body.home-article-page-open,
[data-wallet-page="home"] .home-article-page,
[data-wallet-page="home"] .home-article-body{
  overscroll-behavior-x:none!important;
  touch-action:pan-y!important;
}
@media (max-width:430px){
  [data-wallet-page="home"] .home-ad-copy strong{
    height:calc(2 * 17.6px * 1.34);
    min-height:calc(2 * 17.6px * 1.34);
  }
}

/* R17.44：文章互动下移为详情页底部操作栏；正文颜色、重点框颜色由云端文章 appearance 控制。 */
[data-wallet-page="home"] .home-article-page{
  --news-title-color:#172554;
  --news-source-color:#4f46e5;
  --news-accent-color:#6366f1;
  --news-body-color:#334155;
}
[data-wallet-page="home"] .home-article-document>h1{color:var(--news-title-color);}
[data-wallet-page="home"] .home-article-document>.home-article-meta [data-news-source]{color:var(--news-source-color);}
[data-wallet-page="home"] .home-article-summary{color:var(--news-accent-color);}
[data-wallet-page="home"] .home-article-section-label,[data-wallet-page="home"] .home-article-section h2 span{color:var(--news-accent-color);}
[data-wallet-page="home"] .home-article-lead p,[data-wallet-page="home"] .home-article-section p{color:var(--news-body-color);}
[data-wallet-page="home"] .home-article-page.news-title-bold .home-article-document>h1{font-weight:950;}
[data-wallet-page="home"] .home-article-page.news-source-bold .home-article-document>.home-article-meta [data-news-source]{font-weight:850;}
[data-wallet-page="home"] .home-article-page.news-summary-bold .home-article-summary{font-weight:800;}
[data-wallet-page="home"] .home-article-location-card{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:11px;margin-top:16px;padding:10px 12px;border:1px solid rgba(255,255,255,.86);border-radius:17px;background:rgba(255,255,255,.7);box-shadow:0 10px 22px rgba(30,41,59,.06);}
[data-wallet-page="home"] .home-article-location-card[hidden]{display:none;}
[data-wallet-page="home"] .home-article-location-logo{display:block;width:42px;height:42px;border-radius:13px;background:transparent;}
[data-wallet-page="home"] .home-article-location-copy{display:flex;flex-direction:column;gap:3px;min-width:0;}
[data-wallet-page="home"] .home-article-location-copy strong{color:var(--news-accent-color);font-size:14px;line-height:1.35;}
[data-wallet-page="home"] .home-article-location-copy small{color:var(--news-body-color);font-size:12px;line-height:1.4;}
[data-wallet-page="home"] .home-article-lead p strong,[data-wallet-page="home"] .home-article-section p strong{font-weight:900;}
[data-wallet-page="home"] .home-article-pullquote{border-left-color:var(--news-block-accent,var(--news-accent-color));background:linear-gradient(100deg,color-mix(in srgb,var(--news-block-accent,var(--news-accent-color)) 13%,transparent),rgba(245,243,255,.4));}
[data-wallet-page="home"] .home-article-pullquote span{color:var(--news-block-accent,var(--news-accent-color));}
[data-wallet-page="home"] .home-article-pullquote strong{color:var(--news-block-accent,var(--news-accent-color));}
[data-wallet-page="home"] .home-article-info-card{border-color:color-mix(in srgb,var(--news-block-accent,var(--news-accent-color)) 35%,transparent);background:linear-gradient(105deg,color-mix(in srgb,var(--news-block-accent,var(--news-accent-color)) 10%,white),rgba(245,243,255,.75));}
[data-wallet-page="home"] .home-article-info-icon{background:var(--news-block-accent,var(--news-accent-color));}
[data-wallet-page="home"] .home-article-info-card strong{color:var(--news-block-accent,var(--news-accent-color));}
[data-wallet-page="home"] .home-article-info-card b{background:color-mix(in srgb,var(--news-block-accent,var(--news-accent-color)) 12%,transparent);color:var(--news-block-accent,var(--news-accent-color));}
[data-wallet-page="home"] .home-article-info-card.is-bold strong,[data-wallet-page="home"] .home-article-quote-card.is-bold p{font-weight:850;}
[data-wallet-page="home"] .home-article-quote-card{border-left-color:var(--news-block-accent,var(--news-accent-color));background:color-mix(in srgb,var(--news-block-accent,var(--news-accent-color)) 10%,transparent);}
[data-wallet-page="home"] .home-article-quote-line{background:linear-gradient(var(--news-block-accent,var(--news-accent-color)),color-mix(in srgb,var(--news-block-accent,var(--news-accent-color)) 45%,white));}
[data-wallet-page="home"] .home-article-quote-card p{color:var(--news-block-accent,var(--news-accent-color));}

[data-wallet-page="home"] .home-article-action-dock{flex:0 0 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:0 12px calc(8px + env(safe-area-inset-bottom));padding:7px;border:1px solid rgba(255,255,255,.9);border-radius:24px;background:rgba(255,255,255,.82);box-shadow:0 12px 26px rgba(30,41,59,.1);}
[data-wallet-page="home"] .home-article-action-item{min-width:0;min-height:64px;padding:7px 4px;border:0;border-radius:17px;background:transparent;color:#64748b;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;cursor:pointer;transition:background .2s ease,color .2s ease,transform .2s ease;}
[data-wallet-page="home"] .home-article-action-item:hover,[data-wallet-page="home"] .home-article-action-item.is-active{background:#eef2ff;color:var(--news-accent-color);}
[data-wallet-page="home"] .home-article-action-item:active{transform:scale(.96);}
[data-wallet-page="home"] .home-article-action-logo{display:block;width:28px;height:28px;flex:0 0 28px;border:0;border-radius:0;background:transparent;box-shadow:none;font-size:0;}
[data-wallet-page="home"] .home-article-action-item strong{color:inherit;font-size:14px;line-height:1.2;font-weight:850;}
@media (max-width:430px){
  [data-wallet-page="home"] .home-article-action-dock{margin-right:10px;margin-left:10px;padding:6px;border-radius:22px;}
  [data-wallet-page="home"] .home-article-action-item{min-height:58px;border-radius:15px;}
  [data-wallet-page="home"] .home-article-action-logo{width:26px;height:26px;flex-basis:26px;}
}

/* R17.45：定位只保留一个名称；四个图标使用上传图片，尺寸统一。 */
[data-wallet-page="home"] .home-article-summary{color:var(--news-body-color)!important;}
[data-wallet-page="home"] .home-ad-subtitle[hidden],
[data-wallet-page="home"] .home-article-summary[hidden],
[data-wallet-page="home"] .home-article-lead[hidden],
[data-wallet-page="home"] .home-article-action-dock[hidden]{display:none!important;}
[data-wallet-page="home"] .home-article-location-card{grid-template-columns:28px minmax(0,1fr);}
[data-wallet-page="home"] .home-article-location-logo{width:28px;height:28px;border-radius:0;}
[data-wallet-page="home"] .home-article-location-logo img,[data-wallet-page="home"] .home-article-action-logo img{display:block;width:100%;height:100%;object-fit:contain;}
[data-wallet-page="home"] .home-article-location-copy strong{color:var(--news-body-color)!important;}
[data-wallet-page="home"] .home-article-action-logo{overflow:hidden;}
@media (max-width:430px){
  [data-wallet-page="home"] .home-article-location-card{grid-template-columns:26px minmax(0,1fr);}
  [data-wallet-page="home"] .home-article-location-logo{width:26px;height:26px;}
}

/* R17.48：详情页采用公众号阅读页的系统字体、白底和元信息层级；首页入口不变。 */
[data-wallet-page="home"] .home-article-page{
  --wechat-font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei","Helvetica Neue",Arial,sans-serif;
  background:#fff;
  color:#191919;
  font-family:var(--wechat-font-family);
}
[data-wallet-page="home"] .home-article-page,
[data-wallet-page="home"] .home-article-page *{font-synthesis:none;}
[data-wallet-page="home"] .home-article-header{
  background:#fff;
  border-bottom:1px solid #ededed;
  box-shadow:none;
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}
[data-wallet-page="home"] .home-article-header-title{color:#191919;font-family:var(--wechat-font-family);font-size:15px;font-weight:400;letter-spacing:.02em;}
[data-wallet-page="home"] .home-article-back{border-color:#e5e5e5;background:#fff;color:#555;box-shadow:none;}
[data-wallet-page="home"] .home-article-body{background:#fff;}

/* R17.53：互动栏本身承载完整底部安全区，去掉外壳与页面底部第二层背景。 */
[data-wallet-page="home"] .home-article-page{background:#fff;}
[data-wallet-page="home"] .home-article-action-shell{
  display:block;
  width:100%;
  height:var(--cb-root-dock-height,112px);
  min-height:var(--cb-root-dock-height,112px);
  max-height:var(--cb-root-dock-height,112px);
  flex:0 0 var(--cb-root-dock-height,112px);
  padding:0;
  background:transparent;
}
[data-wallet-page="home"] .home-article-action-dock{
  position:relative;
  z-index:3;
  width:100%;
  height:var(--cb-root-dock-height,112px);
  min-height:var(--cb-root-dock-height,112px);
  max-height:var(--cb-root-dock-height,112px);
  margin:0!important;
  padding:10px 8px 0!important;
  align-items:start;
  align-content:start;
  grid-auto-rows:62px;
  gap:5px;
  overflow:hidden;
  isolation:isolate;
  border-radius:28px 28px 0 0!important;
  border:1px solid rgba(255,255,255,.94)!important;
  border-bottom:0!important;
  background:
    radial-gradient(circle at 12% 0,rgba(253,145,255,.19),transparent 34%),
    radial-gradient(circle at 88% 0,rgba(135,189,255,.30),transparent 38%),
    linear-gradient(180deg,rgba(250,252,255,.99),rgba(235,241,255,1))!important;
  box-shadow:
    0 -14px 34px rgba(39,54,112,.13),
    inset 0 1px 0 rgba(255,255,255,.98)!important;
  backdrop-filter:blur(28px) saturate(180%)!important;
  -webkit-backdrop-filter:blur(28px) saturate(180%)!important;
}
[data-wallet-page="home"] .home-article-action-dock::after{
  content:"";
  position:absolute;
  z-index:0;
  left:0;
  right:0;
  bottom:0;
  height:var(--cb-dock-safe-cover,18px);
  pointer-events:none;
  background:linear-gradient(180deg,rgba(238,244,255,.96),rgba(235,241,255,1));
}
[data-wallet-page="home"] .home-article-action-item{
  position:relative;
  z-index:1;
  height:62px!important;
  min-height:62px!important;
  max-height:62px!important;
  border-radius:17px;
}
[data-wallet-page="home"] .home-article-document{background:#fff;box-shadow:none;}
[data-wallet-page="home"] .home-article-document>h1{
  color:#191919!important;
  font-family:var(--wechat-font-family);
  font-size:clamp(22px,6vw,27px);
  font-weight:400!important;
  line-height:1.38;
  letter-spacing:.035em;
}
[data-wallet-page="home"] .home-article-document>.home-article-meta{
  font-family:var(--wechat-font-family);
  font-size:13px;
  line-height:1.55;
  letter-spacing:.01em;
  color:#8c8c8c;
}
[data-wallet-page="home"] .home-article-document>.home-article-meta [data-news-publisher]{color:#576b95!important;font-weight:500;}
[data-wallet-page="home"] .home-article-document>.home-article-meta [data-news-date],
[data-wallet-page="home"] .home-article-document>.home-article-meta [data-news-read-count],
[data-wallet-page="home"] .home-article-document>.home-article-meta [data-news-source]{color:#8c8c8c!important;font-weight:400;}
[data-wallet-page="home"] .home-article-document>.home-article-meta i{background:#c9c9c9;}
[data-wallet-page="home"] .home-article-summary,
[data-wallet-page="home"] .home-article-lead p,
[data-wallet-page="home"] .home-article-section p{
  font-family:var(--wechat-font-family);
  color:#3f3f3f!important;
  font-size:17px;
  font-weight:400;
  line-height:1.88;
  letter-spacing:.02em;
}
[data-wallet-page="home"] .home-article-section h2{color:#222;font-family:var(--wechat-font-family);font-weight:600;letter-spacing:.02em;}
[data-wallet-page="home"] .home-article-footer{color:#999;font-family:var(--wechat-font-family);font-size:12px;}
[data-wallet-page="home"] .home-article-footer[hidden]{display:none!important;}

/* R17.49：恢复正文章节 UI、分界线和定位层次；互动栏改为独立悬浮卡片。 */
[data-wallet-page="home"] .home-article-page{
  background:linear-gradient(180deg,#fff 0%,#fff calc(100% - 112px),#f3f5f8 calc(100% - 112px),#f3f5f8 100%);
}
[data-wallet-page="home"] .home-article-summary{padding-bottom:16px;border-bottom:1px solid #eceef2;}
[data-wallet-page="home"] .home-article-location-card{
  border:1px solid #e0e5ed!important;
  background:#fff!important;
  box-shadow:0 9px 22px rgba(15,23,42,.14),0 1px 3px rgba(15,23,42,.08)!important;
}
[data-wallet-page="home"] .home-article-location-logo img{filter:drop-shadow(0 2px 3px rgba(37,99,235,.24));}
[data-wallet-page="home"] .home-article-section{
  margin-top:24px;
  padding:17px 15px 3px;
  border:1px solid #e7e9ee;
  border-radius:18px;
  background:#fff;
  box-shadow:0 5px 15px rgba(15,23,42,.045);
}
[data-wallet-page="home"] .home-article-section h2{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0 0 14px;
  padding-bottom:11px;
  border-bottom:1px solid #eceef2;
  color:#222;
  font-size:20px;
  font-weight:600;
  line-height:1.35;
}
[data-wallet-page="home"] .home-article-section h2 span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:30px;
  height:22px;
  padding:0 6px;
  border:1px solid #dfe4ff;
  border-radius:7px;
  background:#f3f4ff;
  color:var(--news-accent-color)!important;
  font-size:12px;
  font-weight:700;
  letter-spacing:.04em;
  line-height:1;
}
[data-wallet-page="home"] .home-article-action-dock{
  position:relative;
  z-index:3;
  margin:0 12px calc(10px + env(safe-area-inset-bottom))!important;
  padding:8px!important;
  border:1px solid rgba(226,229,235,.96)!important;
  border-radius:24px!important;
  background:rgba(255,255,255,.97)!important;
  box-shadow:0 8px 22px rgba(15,23,42,.13),0 1px 0 rgba(255,255,255,.98) inset!important;
  backdrop-filter:blur(22px) saturate(150%);
  -webkit-backdrop-filter:blur(22px) saturate(150%);
}
[data-wallet-page="home"] .home-article-action-item{color:#5d6b85;}
[data-wallet-page="home"] .home-article-action-item:hover,
[data-wallet-page="home"] .home-article-action-item.is-active{background:#f1f4ff;color:#4f46e5;}
[data-wallet-page="home"] .home-article-action-item strong{color:inherit;font-weight:600;}
@media (max-width:430px){
  [data-wallet-page="home"] .home-article-section{margin-top:21px;padding:15px 13px 2px;border-radius:17px;}
  [data-wallet-page="home"] .home-article-section h2{font-size:19px;padding-bottom:10px;}
  [data-wallet-page="home"] .home-article-action-dock{margin-right:10px!important;margin-left:10px!important;border-radius:22px!important;}
}

/* R17.51：正文保持连续白底，互动栏采用首页导航同级的单一底部 UI。 */
[data-wallet-page="home"] .home-article-page{background:#fff;}
[data-wallet-page="home"] .home-article-section{
  margin-top:28px;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
[data-wallet-page="home"] .home-article-section h2{
  margin:0 0 14px;
  padding-bottom:11px;
  border-bottom:1px solid #eceef2;
}
[data-wallet-page="home"] .home-article-action-shell{
  position:relative;
  z-index:3;
  flex:0 0 auto;
  display:flex;
  justify-content:center;
  padding:0 12px calc(10px + env(safe-area-inset-bottom));
  background:transparent;
}
[data-wallet-page="home"] .home-article-action-dock{
  width:min(100%,406px);
  margin:0!important;
  padding:10px 8px!important;
  gap:5px;
  border:1px solid rgba(255,255,255,.94)!important;
  border-radius:28px!important;
  background:
    radial-gradient(circle at 12% 0,rgba(253,145,255,.19),transparent 34%),
    radial-gradient(circle at 88% 0,rgba(135,189,255,.30),transparent 38%),
    linear-gradient(180deg,rgba(250,252,255,.99),rgba(235,241,255,1))!important;
  box-shadow:
    0 -14px 34px rgba(39,54,112,.13),
    inset 0 1px 0 rgba(255,255,255,.98)!important;
  backdrop-filter:blur(28px) saturate(180%)!important;
  -webkit-backdrop-filter:blur(28px) saturate(180%)!important;
}
[data-wallet-page="home"] .home-article-action-item{
  position:relative;
  z-index:1;
  height:62px;
  min-height:62px;
  padding:7px 4px 6px;
  border-radius:18px;
}
[data-wallet-page="home"] .home-article-footer{
  margin-top:30px;
  padding-top:18px;
  border-top:1px solid #dfe3e8;
}
[data-wallet-page="home"] .home-article-footer[hidden]{display:none!important;}
@media (max-width:430px){
  [data-wallet-page="home"] .home-article-section{margin-top:26px;padding:0;}
  [data-wallet-page="home"] .home-article-section h2{padding-bottom:10px;}
  [data-wallet-page="home"] .home-article-action-shell{padding-right:10px;padding-left:10px;}
  [data-wallet-page="home"] .home-article-action-dock{border-radius:24px!important;}
  [data-wallet-page="home"] .home-article-action-item{height:58px;min-height:58px;border-radius:16px;}
}

/* R17.52：详情页底部安全区恢复首页浅蓝背景，正文和互动卡保持原样。 */
[data-wallet-page="home"] .home-article-page{
  background:
    linear-gradient(
      180deg,
      #fff 0%,
      #fff calc(100% - var(--cb-root-dock-height,112px)),
      #edf4ff calc(100% - var(--cb-root-dock-height,112px)),
      #e5edff 100%
    );
}
[data-wallet-page="home"] .home-article-body{background:#fff;}

/* R17.55 FINAL：互动栏只保留单张悬浮卡，外壳和安全区不绘制任何底板。 */
[data-wallet-page="home"] .home-article-page{
  background:#fff!important;
}
[data-wallet-page="home"] .home-article-body{
  padding-bottom:calc(118px + env(safe-area-inset-bottom))!important;
  background:#fff!important;
}
[data-wallet-page="home"] .home-article-action-shell{
  position:absolute!important;
  z-index:10!important;
  left:0!important;
  right:0!important;
  bottom:0!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  flex:0 0 auto!important;
  display:flex!important;
  align-items:flex-end!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:0 10px calc(8px + env(safe-area-inset-bottom))!important;
  background:transparent!important;
  pointer-events:none!important;
}
[data-wallet-page="home"] .home-article-action-dock{
  position:relative!important;
  z-index:1!important;
  width:min(100%,406px)!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  flex:0 0 auto!important;
  box-sizing:border-box!important;
  margin:0 auto!important;
  padding:8px!important;
  border:1px solid rgba(226,229,235,.96)!important;
  border-radius:24px!important;
  background:
    radial-gradient(circle at 12% 0,rgba(253,145,255,.19),transparent 34%),
    radial-gradient(circle at 88% 0,rgba(135,189,255,.30),transparent 38%),
    linear-gradient(180deg,rgba(250,252,255,.99),rgba(235,241,255,1))!important;
  box-shadow:0 8px 22px rgba(15,23,42,.13),0 1px 0 rgba(255,255,255,.98) inset!important;
  overflow:hidden!important;
  pointer-events:auto!important;
}
[data-wallet-page="home"] .home-article-action-dock::after{
  content:none!important;
  display:none!important;
}
[data-wallet-page="home"] .home-article-action-item{
  height:58px!important;
  min-height:58px!important;
  max-height:58px!important;
}
