/* ==========================================================================
   Zane visual refresh — light, restrained, commercial
   Loaded after no-gradient.css. Only overrides; no template rewrites required.
   ========================================================================== */

:root {
    --bg: #F7F8FA;
    --bg-1: #FAFAFA;
    --bg-2: #F1F3F5;
    --bg-3: #E9EDF2;
    --bg-elev: #FFFFFF;
    --bg-sunken: #F1F3F5;
    --bg-hover: #EFF2F6;
    --bg-active: #E6EBF2;
    --text: #1E293B;
    --text-2: #64748B;
    --text-3: #94A3B8;
    --text-4: #CBD5E1;
    --text-inverse: #FFFFFF;
    --accent: #002FA7;
    --accent-strong: #00227A;
    --accent-soft: #EEF2FF;
    --accent-line: #C7D2FE;
    --cyan: #002FA7;
    --cyan-bright: #002FA7;
    --violet: #334155;
    --violet-bright: #334155;
    --emerald: #10B981;
    --amber: #B45309;
    --rose: #B91C1C;
    --line: #E2E8F0;
    --line-2: #CBD5E1;
    --glass: #FFFFFF;
    --glass-2: #FFFFFF;
    --glass-border: #E2E8F0;
    --glass-border-strong: #CBD5E1;
    --grad-brand: #002FA7;
    --grad-cta: #002FA7;
    --grad-text: #002FA7;
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, .05);
    --shadow-sm: 0 4px 14px -6px rgba(15, 23, 42, .08);
    --shadow-lg: 0 22px 50px -24px rgba(15, 23, 42, .16);
    --shadow-glow: 0 10px 30px -10px rgba(0, 0, 0, .05);
    --ring: 0 0 0 3px rgba(0, 47, 167, .14);
    --r-xs: 2px;
    --r-sm: 4px;
    --r-md: 6px;
    --r-lg: 8px;
    --r-xl: 8px;
    --r-2xl: 8px;
    --r-pill: 6px;
}

html { color-scheme: light; }
body.site-body {
    background: #F7F8FA;
    color: #1E293B;
}
body,
button,
input,
textarea,
select { font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }

::selection { background: rgba(0, 47, 167, .14); color: #002FA7; }

/* ---------- layout width / spacing ---------- */
.container,
.nav-inner,
.hero-inner,
.footer-main,
.section-inner {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(20px, 4vw, 56px);
    padding-right: clamp(20px, 4vw, 56px);
}
.section { padding-block: clamp(56px, 7vw, 96px); }
.section-sm { padding-block: clamp(40px, 5vw, 64px); }

/* ---------- header ---------- */
.site-header {
    background: rgba(247, 248, 250, .86) !important;
    border-bottom: 1px solid #E7EBF0 !important;
    backdrop-filter: blur(18px) saturate(120%);
    box-shadow: none !important;
}
.site-header .nav-link { color: #334155 !important; border-radius: 4px !important; }
.site-header .nav-link:hover,
.site-header .nav-link.is-active { color: #002FA7 !important; background: #EEF2FF !important; }
.brand-name { color: #1E293B !important; }
.brand-sub { color: #64748B !important; }
.nav-login { color: #1E293B !important; border-color: #E2E8F0 !important; background: #fff !important; }
.nav-cta { background: #002FA7 !important; color: #fff !important; }
.nav-cta:hover { background: #00227A !important; }
.nav-toggle span { background: #1E293B !important; }
.mobile-drawer .drawer-panel { background: #F7F8FA !important; color: #1E293B !important; }
.mobile-drawer .drawer-mask { background: rgba(15, 23, 42, .35) !important; }
.mobile-drawer a { color: #1E293B !important; }

/* ---------- scroll progress ---------- */
.scroll-progress {
    position: fixed !important;
    top: 0;
    left: 0;
    height: 2px !important;
    width: 0;
    background: #002FA7;
    z-index: 9999;
    pointer-events: none;
    transition: background-color .2s linear;
}

/* ---------- buttons / pills ---------- */
.btn,
button,
input,
textarea,
select { border-radius: 6px !important; }
.btn-gradient,
.btn-primary {
    background: #002FA7 !important;
    color: #fff !important;
    border: 1px solid #002FA7 !important;
    box-shadow: 0 8px 20px -12px rgba(0, 47, 167, .45) !important;
}
.btn-gradient:hover,
.btn-primary:hover { background: #00227A !important; border-color: #00227A !important; filter: none !important; }
.btn-ghost { background: #fff !important; border: 1px solid #E2E8F0 !important; color: #1E293B !important; }
.btn-ghost:hover { border-color: #94A3B8 !important; background: #F8FAFC !important; }
.btn-outline { border: 1px solid #CBD5E1 !important; color: #1E293B !important; background: transparent !important; }
.text-gradient,
span.text-gradient {
    background: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    -webkit-text-fill-color: #002FA7 !important;
    color: #002FA7 !important;
}
.eyebrow { color: #64748B !important; letter-spacing: .14em; }
.eyebrow-dot { color: #64748B !important; }
.tag, .badge, .case-tag, .hero-panel-tag, .news-cat {
    border-radius: 4px !important;
    background: #F1F5F9 !important;
    color: #475569 !important;
    border-color: #E2E8F0 !important;
}

/* ---------- remove dark decoration / gradients ---------- */
.aurora,
.deco .aurora,
.hero-bg .grid-overlay,
.hero-bg .noise-overlay,
.noise-overlay,
.grid-overlay,
.case-media-glow,
.team-avatar-glow,
.hero-spotlight,
.spotlight { display: none !important; opacity: 0 !important; }
.home-services .deco,
.home-news .deco { display: none !important; }

/* ---------- hero ---------- */
.hero--home {
    position: relative;
    min-height: min(780px, 88vh);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #F7F8FA url('/static/images/refresh/hero-bg.webp') no-repeat right 48% / min(760px, 62vw) auto !important;
    border-bottom: 1px solid #E7EBF0;
}
.hero--home .hero-bg { background: linear-gradient(90deg, #F7F8FA 0%, #F7F8FA 52%, rgba(247,248,250,.55) 74%, rgba(247,248,250,.2) 100%) !important; }
.hero--home .hero-title { color: #1E293B !important; letter-spacing: -.035em; }
.hero--home .hero-line-inner { color: inherit !important; }
.hero--home .hero-sub { color: #64748B !important; max-width: 620px; }
.hero--home .hero-badge { background: #fff !important; border: 1px solid #E2E8F0 !important; color: #475569 !important; }
.hero--home .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(360px, .8fr); gap: clamp(32px, 5vw, 72px); }
.hero-stats .stat-value { color: #1E293B !important; }
.hero-stats .stat-label { color: #64748B !important; }
.hero-showcase .hero-panel {
    background: #fff !important;
    border: 1px solid #E7EBF0 !important;
    border-radius: 8px !important;
    box-shadow: 0 24px 60px -28px rgba(15, 23, 42, .18) !important;
    backdrop-filter: none !important;
}
.hero-panel-head { background: #F8FAFC !important; border-bottom: 1px solid #EEF2F6 !important; }
.hero-panel-url { color: #94A3B8 !important; }
.hero-panel-tag { background: #F1F5F9 !important; color: #475569 !important; }
.hero-chip {
    background: #fff !important;
    border: 1px solid #E7EBF0 !important;
    border-radius: 8px !important;
    box-shadow: 0 12px 28px -16px rgba(15, 23, 42, .16) !important;
}
.hero-chip-text strong { color: #1E293B !important; }
.hero-chip-text em { color: #64748B !important; }
.hero-chip-icon { background: #EEF2FF !important; color: #002FA7 !important; }
.hero-chip-icon--violet { background: #ECFDF5 !important; color: #047857 !important; }
.hero-scroll { color: #64748B !important; border-color: #CBD5E1 !important; }
.hero-scroll::before { background: #CBD5E1 !important; }

/* ---------- new pin showcase ---------- */
.vr-pin {
    position: relative;
    background: #FFFFFF;
    border-bottom: 1px solid #E7EBF0;
    overflow: hidden;
}
.vr-pin-inner {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(40px, 7vw, 100px);
    align-items: center;
    padding-block: clamp(64px, 9vw, 120px);
}
.vr-pin-copy .section-title { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.18; margin: 12px 0 18px; }
.vr-pin-copy p { color: #64748B; line-height: 1.9; max-width: 520px; }
.vr-pin-list { list-style: none; margin: 26px 0 30px; padding: 0; display: grid; gap: 12px; }
.vr-pin-list li { display: flex; gap: 10px; color: #334155; font-size: 15px; align-items: flex-start; }
.vr-pin-list svg { color: #10B981; flex: none; margin-top: 3px; }
.vr-pin-visual {
    position: relative;
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #F1F3F5;
    box-shadow: 0 30px 80px -40px rgba(15, 23, 42, .25);
    aspect-ratio: 4 / 3;
}
.vr-pin-visual img { display: block; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.vr-pin-visual figcaption {
    position: absolute;
    left: 18px;
    bottom: 18px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, .86);
    border: 1px solid #E2E8F0;
    color: #475569;
    font-size: 12px;
    border-radius: 4px;
    backdrop-filter: blur(8px);
}

/* ---------- sections / cards ---------- */
.section-title { color: #1E293B !important; letter-spacing: -.028em; }
.section-desc { color: #64748B !important; }
.section-head { margin-bottom: clamp(28px, 4vw, 44px); }

.svc-card,
.case-card,
.team-card,
.news-feature,
.news-mini,
.partner-card,
.home-cta,
.contact-card,
.form-card,
.auth-card,
.auth-aside {
    background: #fff !important;
    border: 1px solid #E7EBF0 !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .05) !important;
    backdrop-filter: none !important;
}
.svc-card::before,
.svc-card::after,
.case-card::before,
.case-card::after,
.team-card::before,
.team-card::after { display: none !important; }
.svc-card:hover,
.case-card:hover,
.team-card:hover,
.news-feature:hover,
.news-mini:hover,
.partner-card:hover {
    transform: translateY(-3px) !important;
    border-color: #CBD5E1 !important;
    box-shadow: 0 18px 44px -22px rgba(15, 23, 42, .16) !important;
}
.svc-num { color: #CBD5E1 !important; }
.svc-icon,
.case-icon {
    background: #EEF2FF !important;
    border-radius: 6px !important;
    color: #002FA7 !important;
    box-shadow: none !important;
}
.svc-title, .case-title, .team-name, .news-feature-title, .news-mini-title, .partner-name { color: #1E293B !important; }
.svc-desc, .case-desc, .team-bio, .news-feature-desc, .news-mini-desc, .partner-desc { color: #64748B !important; }
.svc-more, .team-more, .news-feature-more { color: #002FA7 !important; }
.case-media, .news-feature-media, .news-mini-thumb { background: #F1F3F5 !important; }
.case-media img, .news-feature-media img, .news-mini-thumb img { filter: none !important; }
.team-avatar { background: #F1F3F5 !important; border: 1px solid #E7EBF0 !important; }
.team-initial { color: #002FA7 !important; }
.team-badge { background: #ECFDF5 !important; color: #047857 !important; border-color: #A7F3D0 !important; }
.home-team-more .btn { border-color: #CBD5E1 !important; }

/* tech marquee */
.tech-marquee { background: #F1F3F5 !important; border-block: 1px solid #E7EBF0; color: #64748B !important; }
.tech-marquee .marquee span { color: #475569 !important; }
.tech-marquee .marquee i { color: #CBD5E1 !important; }

/* CTA */
.home-cta { background: #FFFFFF !important; }
.home-cta-bg { opacity: .16 !important; }
.home-cta-bg img { filter: grayscale(1) contrast(.9); }
.home-cta-title { color: #1E293B !important; }
.home-cta-desc, .home-cta-meta { color: #64748B !important; }
.home-cta-meta svg { color: #10B981 !important; }
.home-cta-qr img { border-radius: 6px !important; border: 1px solid #E2E8F0; }
.home-cta-qr span { color: #64748B !important; }

/* forms / auth */
.input, .textarea, .select {
    background: #fff !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 6px !important;
    color: #1E293B !important;
    box-shadow: none !important;
}
.input:focus, .textarea:focus, .select:focus { border-color: #94A3B8 !important; box-shadow: var(--ring) !important; }
.form-label, .auth-sub, .auth-benefits li { color: #64748B !important; }
.auth-title { color: #1E293B !important; }
.auth-aside {
    background: #F1F3F5 url('/static/images/refresh/login-deco.webp') no-repeat center / cover !important;
    border-right: 1px solid #E7EBF0 !important;
}
.auth-aside::before { display: none !important; }
.auth-aside .eyebrow,
.auth-aside-title { color: #1E293B !important; }
.auth-aside-title .text-gradient { color: #002FA7 !important; }
.auth-aside-foot { color: #64748B !important; }
.auth-aside-foot a { color: #002FA7 !important; }
.auth-page { background: #F7F8FA !important; }

/* footer */
.site-footer { background: #F1F3F5 !important; color: #1E293B !important; border-top: 1px solid #E2E8F0 !important; }
.site-footer .footer-wordmark { color: rgba(30, 41, 59, .05) !important; }
.site-footer a, .site-footer .footer-title, .site-footer .footer-contact-item { color: #334155 !important; }
.site-footer a:hover { color: #002FA7 !important; }
.site-footer .footer-slogan, .site-footer .footer-desc, .site-footer .footer-copy { color: #64748B !important; }
.site-footer .footer-bottom { border-top-color: #E2E8F0 !important; }

/* ai chat shell to light */
.ai-chat-panel { background: #FFFFFF !important; border: 1px solid #E2E8F0 !important; border-radius: 8px !important; box-shadow: 0 24px 70px -30px rgba(15,23,42,.28) !important; }
.ai-chat-header { background: #F8FAFC !important; border-bottom-color: #E7EBF0 !important; }
.ai-chat-title { color: #1E293B !important; }
.ai-chat-status { color: #64748B !important; }
.ai-chat-body { background: #FFFFFF !important; }
.ai-bubble { background: #F1F5F9 !important; border-color: #E7EBF0 !important; color: #334155 !important; }
.ai-msg.is-user .ai-bubble { background: #002FA7 !important; color: #fff !important; }
.ai-quick-btn { background: #fff !important; border-color: #E2E8F0 !important; color: #475569 !important; }
.ai-chat-input-area { background: #fff !important; border-top-color: #E7EBF0 !important; }
.ai-chat-input { background: #F8FAFC !important; border-color: #E2E8F0 !important; color: #1E293B !important; }
.ai-send { background: #002FA7 !important; color: #fff !important; }
.ai-disclaimer { color: #94A3B8 !important; }
.ai-chat-fab { background: #002FA7 !important; border-radius: 8px !important; box-shadow: 0 12px 28px -14px rgba(0,47,167,.5) !important; }

/* misc dark leftovers */
.glass, .sidebar-card { background: #fff !important; border-color: #E2E8F0 !important; border-radius: 8px !important; }
.cell-arrow::after { border-color: #94A3B8 !important; }
.card-meta, .dot, .pagination, .breadcrumb { color: #64748B !important; }
pre, code { background: #F1F5F9 !important; color: #334155 !important; }

/* soft spotlight follows the pointer; native cursor stays usable */
#vr-spotlight {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(420px circle at var(--vr-mx, 50%) var(--vr-my, 40%), rgba(0, 47, 167, .075), transparent 62%);
    opacity: 0;
    transition: opacity .5s ease;
}
body.vr-pointer-active #vr-spotlight { opacity: 1; }

@media (max-width: 1024px) {
    .hero--home { min-height: auto; padding-block: 80px 56px; background: #F7F8FA !important; }
    .hero--home .hero-bg { display: none !important; }
    .hero--home .hero-grid { grid-template-columns: 1fr; }
    .hero--home .hero-showcase { display: none !important; }
    .vr-pin-inner { grid-template-columns: 1fr; gap: 28px; }
    .vr-pin-visual { max-width: 640px; }
}
@media (max-width: 768px) {
    body, .site-body, .hero--home { cursor: auto !important; }
    #vr-spotlight { display: none !important; }
    .container, .nav-inner, .hero-inner, .footer-main { padding-left: 20px; padding-right: 20px; }
    .section { padding-block: 48px; }
    .hero--home { padding-block: 56px 42px; }
    .hero-title { font-size: clamp(34px, 9vw, 44px) !important; }
    .svc-card, .case-card, .team-card, .news-feature, .news-mini, .partner-card { border-radius: 8px !important; }
}
@media (prefers-reduced-motion: reduce) {
    .vr-pin-visual img { transform: none !important; }
}

/* 3D service illustrations */
.svc-grid .svc-card:nth-child(1) .svc-icon { background-image: url('/static/images/refresh/svc-icon-1.webp') !important; }
.svc-grid .svc-card:nth-child(2) .svc-icon { background-image: url('/static/images/refresh/svc-icon-2.webp') !important; }
.svc-grid .svc-card:nth-child(3) .svc-icon { background-image: url('/static/images/refresh/svc-icon-3.webp') !important; }
.svc-grid .svc-card:nth-child(4) .svc-icon { background-image: url('/static/images/refresh/svc-icon-4.webp') !important; }
.svc-grid .svc-card:nth-child(5) .svc-icon { background-image: url('/static/images/refresh/svc-icon-1.webp') !important; }
.svc-grid .svc-card:nth-child(6) .svc-icon { background-image: url('/static/images/refresh/svc-icon-2.webp') !important; }
.svc-grid .svc-icon {
    width: 56px;
    height: 56px;
    background-size: cover;
    background-position: center;
    background-color: #F7F8FA;
    border: 1px solid #E7EBF0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: none;
}
.svc-grid .svc-icon svg { display: none; }

/* mall header light */
.mall-header {
    background: rgba(247,248,250,.94) !important;
    border-bottom: 1px solid #E7EBF0 !important;
    box-shadow: none !important;
    backdrop-filter: blur(18px) saturate(120%);
}
.mall-header .brand-name { color: #1E293B !important; }
.mall-header .brand-sub { color: #64748B !important; }
.mall-search-wrap {
    background: #fff !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 6px !important;
    box-shadow: none !important;
}
.mall-search-wrap input { color: #1E293B !important; background: transparent !important; }
.mall-search-wrap input::placeholder { color: #94A3B8 !important; }
.mall-search .search-ico { color: #94A3B8 !important; }
.mall-search .search-btn { background: #002FA7 !important; color: #fff !important; border-radius: 4px !important; }
.mall-action { color: #475569 !important; }
.mall-action:hover { color: #002FA7 !important; }
.mall-nav { background: transparent !important; border: none !important; }
.mall-nav a { color: #475569 !important; border-radius: 4px !important; }
.mall-nav a:hover { color: #002FA7 !important; background: #EEF2FF !important; }
.mall-nav a.is-active { color: #002FA7 !important; background: #EEF2FF !important; font-weight: 600; }
.mall-nav-coupon { color: #B45309 !important; }
.mall-footer { background: #F1F3F5 !important; color: #334155 !important; border-top: 1px solid #E2E8F0 !important; }
.mall-footer a { color: #475569 !important; }
.mall-footer a:hover { color: #002FA7 !important; }

/* make pale 3D icons visible at small size */
.svc-grid .svc-icon {
    background-size: 135% !important;
    filter: contrast(1.35) saturate(1.25) brightness(.9);
}

/* radius cleanup + wordmark */
.brand-mark, .hero-chip-icon, .hero-chip-icon--violet { border-radius: 6px !important; }
.partner-role, .partner-tag, .news-cat, .case-tag, .tag, .badge { border-radius: 4px !important; }
.footer-wordmark { background: none !important; color: rgba(30, 41, 59, .045) !important; }
.svc-grid .svc-icon { width: 60px !important; height: 60px !important; background-size: 118% !important; }

/* hero supporting copy — slightly stronger for long-form readability */
.hero--home .hero-sub { color: #475569 !important; font-size: clamp(16px, 1.35vw, 18px); line-height: 1.9; }
.hero--home .hero-sub strong { color: #1E293B !important; }

/* final typography pass */
.hero--home .hero-sub { color: #334155 !important; font-weight: 500; font-size: clamp(17px, 1.3vw, 19px); }
.hero--home .hero-sub a { color: #002FA7 !important; }

/* hero: flat warm-white left stage; 3D image lives in the showcase, not full-bleed */
.hero--home {
    background: #F7F8FA !important;
    border-bottom: 1px solid #E7EBF0 !important;
}
.hero--home .hero-bg { display: none !important; }

/* ===== detail pass: services, cases, news, team, partners, footer ===== */
.svc-icon { background: none !important; border: 0 !important; box-shadow: none !important; width: 58px !important; height: 58px !important; padding: 0 !important; }
.svc-icon-img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }

.case-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 22px !important; align-items: stretch !important; }
.case-card { display: flex !important; flex-direction: column !important; height: 100% !important; }
.case-media { aspect-ratio: 16 / 10 !important; height: auto !important; overflow: hidden !important; }
.case-media img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
.case-body { display: flex !important; flex-direction: column !important; flex: 1 1 auto !important; }
.case-title { display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; line-height: 1.45 !important; }
.case-desc { display: -webkit-box !important; -webkit-line-clamp: 3 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; line-height: 1.75 !important; }

.home-news-grid { align-items: stretch !important; }
.news-feature { display: flex !important; flex-direction: column !important; height: 100% !important; }
.news-feature-media { aspect-ratio: 16 / 10 !important; overflow: hidden !important; background: #F7F8FA url('/static/images/refresh/news-feature.webp') center / cover no-repeat !important; }
.news-feature-media img { opacity: 0 !important; }
.news-mini-list { display: flex !important; flex-direction: column !important; gap: 14px !important; }
.news-mini { flex: 1 1 0 !important; min-height: 112px !important; align-items: center !important; }
.news-mini-thumb { width: 120px !important; height: 90px !important; flex: 0 0 120px !important; background: #F7F8FA url('/static/images/refresh/news-mini.webp') center / cover no-repeat !important; border-radius: 4px !important; overflow: hidden !important; }
.news-mini-thumb img { opacity: 0 !important; }
.card-meta .news-cat { background: none !important; border: 0 !important; padding: 0 !important; color: #94A3B8 !important; }
.card-meta { color: #94A3B8 !important; }

.team-avatar { aspect-ratio: 4 / 3 !important; background: #F1F5F9 !important; }
.team-avatar::after { display: none !important; background: none !important; }
.team-avatar-glow { display: none !important; }
.team-avatar img { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center 35% !important; filter: none !important; }
.team-card { border-radius: 8px !important; overflow: hidden !important; }
.team-info { padding: 16px 18px 18px !important; }

.partner-card-logo { background: #F8FAFC !important; border-right: 1px solid #E7EBF0 !important; }
.partner-card { border-radius: 8px !important; overflow: hidden !important; }
.partner-role, .partner-tag { border-radius: 4px !important; }
.partner-card-logo { min-height: 170px; }
.partner-card-logo img { max-height: 88px !important; }

.footer-qr, .contact-qr { background: #FFFFFF !important; border: 1px solid #E2E8F0 !important; border-radius: 8px !important; box-shadow: 0 8px 24px -18px rgba(15, 23, 42, .16) !important; padding: 14px !important; }
.footer-qr img, .contact-qr img { width: 96px !important; height: 96px !important; border-radius: 4px !important; background: #fff !important; object-fit: contain !important; image-rendering: auto; }
.footer-qr { gap: 14px !important; }
.contact-qr { gap: 16px !important; align-items: center !important; }
.footer-qr-text strong, .contact-qr-text strong { color: #1E293B !important; }
.footer-qr-text, .contact-qr-text p { color: #64748B !important; }

.site-footer, .mall-footer, .footer-bottom { background: #F8FAFC !important; border-color: #E7EBF0 !important; }
.home-cta-section, .contact-section, .site-main { background: #F8FAFC !important; }

/* icon transparency + partner logo light variant */
.svc-icon-img { mix-blend-mode: normal !important; }
.partner-card-logo img { filter: none !important; }

/* news cards compact alignment */
.news-mini { justify-content: center !important; }
.news-mini-content { display: flex !important; flex-direction: column !important; justify-content: center !important; }
.news-mini-thumb { align-self: center !important; }
.home-news-grid { align-items: stretch !important; }

/* final detail overrides: kill old icon tile backgrounds + news label chips */
.svc-grid .svc-icon {
    background: none !important;
    background-image: none !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    filter: none !important;
    width: 58px !important;
    height: 58px !important;
    padding: 0 !important;
}
.svc-grid .svc-icon-img { display: block !important; width: 100% !important; height: 100% !important; object-fit: contain !important; }
.news-cat, .card-meta .news-cat {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    color: #94A3B8 !important;
    box-shadow: none !important;
}
.card-meta { background: transparent !important; }

/* floating back-to-top: light control, no dark block */
.back-top {
    background: #FFFFFF !important;
    color: #334155 !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 22px -16px rgba(15, 23, 42, .25) !important;
}
.back-top:hover { color: #002FA7 !important; border-color: #CBD5E1 !important; background: #F8FAFC !important; }

/* ===== mall color cleanup: banner, categories, CTA band, auth inputs ===== */
.shop-banner { border-radius: 8px !important; border-color: #E7EBF0 !important; box-shadow: none !important; background: #F1F5F9 !important; }
.banner-slide { background: #F7F8FA url('/static/images/refresh/mall-banner.webp') center / cover no-repeat !important; }
.banner-slide img { opacity: 0 !important; }
.banner-slide::after { background: linear-gradient(90deg, rgba(247,248,250,.95) 0%, rgba(247,248,250,.78) 44%, rgba(247,248,250,.08) 76%) !important; }
.banner-title { color: #1E293B !important; text-shadow: none !important; }
.banner-caption { color: #475569 !important; }
.banner-cta { color: #002FA7 !important; background: #fff !important; border: 1px solid #CBD5E1 !important; border-radius: 6px !important; }
.shop-banner .swiper-button-prev, .shop-banner .swiper-button-next { background: rgba(255,255,255,.88) !important; border-color: #E2E8F0 !important; color: #334155 !important; border-radius: 6px !important; }
.shop-banner .swiper-pagination-bullet { background: rgba(30,41,59,.22) !important; border-radius: 3px !important; }
.shop-banner .swiper-pagination-bullet-active { background: #002FA7 !important; }

.mall-cat-item {
    background: #FFFFFF !important;
    border-color: #E7EBF0 !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 22px -18px rgba(15,23,42,.16) !important;
}
.mall-cat-item:hover { background: #F8FAFC !important; border-color: #CBD5E1 !important; box-shadow: 0 14px 32px -24px rgba(15,23,42,.18) !important; }
.mall-cat-icon { background: #002FA7 !important; color: #FFFFFF !important; border-radius: 8px !important; box-shadow: none !important; }
.mall-cat-name { color: #1E293B !important; }
.mall-cat-desc { color: #64748B !important; }

.cta-band {
    background: #F8FAFC !important;
    border-color: #E2E8F0 !important;
    border-radius: 8px !important;
}
.cta-band-title { color: #1E293B !important; }
.cta-band-desc { color: #64748B !important; }
.cta-band::before, .cta-band::after { display: none !important; }

.auth-form .input, .auth-form .textarea, .auth-form .select,
.auth-card .input, .auth-card .textarea {
    background: #FFFFFF !important;
    color: #1E293B !important;
    border-color: #E2E8F0 !important;
    box-shadow: none !important;
}
.auth-form .input::placeholder { color: #94A3B8 !important; }
.auth-form .input:focus { border-color: #94A3B8 !important; box-shadow: 0 0 0 3px rgba(0,47,167,.10) !important; }
.input:-webkit-autofill, .input:-webkit-autofill:hover, .input:-webkit-autofill:focus,
.auth-form .input:-webkit-autofill, .auth-form .input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #FFFFFF inset !important;
    -webkit-text-fill-color: #1E293B !important;
    caret-color: #1E293B !important;
    border-color: #E2E8F0 !important;
}

/* mall product cards */
.card.p-card, .p-card {
    background: #FFFFFF !important;
    border: 1px solid #E7EBF0 !important;
    box-shadow: 0 10px 28px -20px rgba(15,23,42,.16) !important;
}
.p-card-media { background: #F1F5F9 !important; }
.p-card-title { color: #1E293B !important; }
.p-card-meta, .p-card-sales, .p-card-cat { color: #64748B !important; }

/* brand mark: no frame around the logo */
.brand-mark {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    width: 32px !important;
    height: 32px !important;
    overflow: visible !important;
}
.brand-mark img { width: 30px !important; height: 30px !important; filter: none !important; border-radius: 0 !important; }
.brand:hover .brand-mark { transform: none !important; box-shadow: none !important; }

/* auth pages: fit normal desktop viewport, no footer and no 4:3 floating box */
body.page-mall-login .site-footer,
body.page-mall-forgot .site-footer,
body.page-mall-forgot-pay .site-footer,
body.page-mall-register .site-footer { display: none !important; }

body.page-mall-login .auth-page,
body.page-mall-forgot .auth-page,
body.page-mall-forgot-pay .auth-page,
body.page-mall-register .auth-page {
    padding: 8px 0 20px !important;
    min-height: 0 !important;
}

body.page-mall-login .auth-shell,
body.page-mall-forgot .auth-shell,
body.page-mall-forgot-pay .auth-shell,
body.page-mall-register .auth-shell {
    width: min(1240px, calc(100vw - 48px)) !important;
    max-width: 1240px !important;
    height: min(760px, calc(100vh - 170px)) !important;
    min-height: 0 !important;
    max-height: calc(100vh - 170px) !important;
    border-radius: 8px !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
}
body.page-mall-login .auth-aside,
body.page-mall-forgot .auth-aside,
body.page-mall-forgot-pay .auth-aside,
body.page-mall-register .auth-aside { padding: 30px 36px !important; min-height: 0 !important; }
body.page-mall-login .auth-aside-title,
body.page-mall-forgot .auth-aside-title,
body.page-mall-register .auth-aside-title { font-size: clamp(26px, 2.1vw, 34px) !important; }

body.page-mall-login .auth-card,
body.page-mall-forgot .auth-card,
body.page-mall-forgot-pay .auth-card,
body.page-mall-register .auth-card {
    padding: 24px 38px !important;
    overflow-y: auto !important;
}
body.page-mall-login .auth-title,
body.page-mall-forgot .auth-title,
body.page-mall-forgot-pay .auth-title,
body.page-mall-register .auth-title { font-size: 24px !important; }
body.page-mall-login .auth-sub,
body.page-mall-forgot .auth-sub,
body.page-mall-register .auth-sub { margin: 4px 0 10px !important; font-size: 13px !important; }
body.page-mall-login .auth-tabs,
body.page-mall-forgot .auth-tabs,
body.page-mall-register .auth-tabs { margin-bottom: 8px !important; }
body.page-mall-login .auth-form,
body.page-mall-forgot .auth-form,
body.page-mall-forgot-pay .auth-form,
body.page-mall-register .auth-form { gap: 10px !important; }
body.page-mall-login .auth-form .input,
body.page-mall-forgot .auth-form .input,
body.page-mall-forgot-pay .auth-form .input,
body.page-mall-register .auth-form .input { height: 40px !important; }
body.page-mall-login .auth-social { margin-top: 10px !important; }
body.page-mall-login .auth-social-list { gap: 6px !important; margin-top: 8px !important; }
body.page-mall-login .auth-social-btn { padding: 8px 6px !important; font-size: 12px !important; }
body.page-mall-login .auth-foot { margin-top: 8px !important; font-size: 12px !important; }

/* auth pages: remove main min-height/padding so no page scroll */
body.page-mall-login .mall-main,
body.page-mall-forgot .mall-main,
body.page-mall-forgot-pay .mall-main,
body.page-mall-register .mall-main {
    min-height: 0 !important;
    padding: 0 !important;
}
body.page-mall-login .auth-page,
body.page-mall-forgot .auth-page,
body.page-mall-forgot-pay .auth-page,
body.page-mall-register .auth-page { padding: 8px 0 12px !important; }

/* keep auth shell clear of the viewport edge at 900px-tall screens */
body.page-mall-login .auth-shell,
body.page-mall-forgot .auth-shell,
body.page-mall-forgot-pay .auth-shell,
body.page-mall-register .auth-shell {
    height: min(760px, calc(100vh - 190px)) !important;
    max-height: calc(100vh - 190px) !important;
}

/* exact-fit auth shell */
body.page-mall-login .auth-shell,
body.page-mall-forgot .auth-shell,
body.page-mall-forgot-pay .auth-shell,
body.page-mall-register .auth-shell {
    height: min(740px, calc(100vh - 210px)) !important;
    max-height: calc(100vh - 210px) !important;
}
body.page-mall-login .auth-page,
body.page-mall-forgot .auth-page,
body.page-mall-forgot-pay .auth-page,
body.page-mall-register .auth-page { padding-bottom: 0 !important; }

/* services page: remove gray/gradient card residue */
.service-card {
    background: #FFFFFF !important;
    border: 1px solid #E7EBF0 !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 30px -20px rgba(15,23,42,.14) !important;
}
.service-card::before { display: none !important; }
.service-card:hover { box-shadow: 0 18px 40px -24px rgba(15,23,42,.18) !important; border-color: #CBD5E1 !important; }
.service-num { color: #E2E8F0 !important; }
.service-icon { background: #EEF2FF !important; color: #002FA7 !important; border: 0 !important; border-radius: 8px !important; }
.service-title { color: #1E293B !important; }
.service-desc { color: #64748B !important; }
.service-more { color: #002FA7 !important; }
.service-process { background: #F8FAFC !important; }
.step .step-num { background: #E0F2FE !important; color: #002FA7 !important; }
.step .step-title { color: #1E293B !important; }
.step .step-desc { color: #64748B !important; }

/* service detail page: use the same unified 3D icons as the homepage */
.service-list .service-icon {
    width: 54px !important;
    height: 54px !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-color: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.service-list .service-icon svg { display: none !important; }
.service-list .service-card:nth-child(1) .service-icon { background-image: url('/static/images/refresh/svc-3d-1.webp') !important; }
.service-list .service-card:nth-child(2) .service-icon { background-image: url('/static/images/refresh/svc-3d-2.webp') !important; }
.service-list .service-card:nth-child(3) .service-icon { background-image: url('/static/images/refresh/svc-3d-3.webp') !important; }
.service-list .service-card:nth-child(4) .service-icon { background-image: url('/static/images/refresh/svc-3d-4.webp') !important; }
.service-list .service-card:nth-child(5) .service-icon { background-image: url('/static/images/refresh/svc-3d-5.webp') !important; }
.service-list .service-card:nth-child(6) .service-icon { background-image: url('/static/images/refresh/svc-3d-6.webp') !important; }

/* footer 在线客服：恢复细椭圆描边入口 */
.footer-links button,
.footer-links-inline button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 14px;
    border: 1px solid #CBD5E1 !important;
    border-radius: 999px !important;
    background: #FFFFFF !important;
    color: #64748B !important;
    font-size: 13px;
    line-height: 1.3;
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.footer-links button:hover,
.footer-links-inline button:hover {
    color: #002FA7 !important;
    border-color: #94A3B8 !important;
    background: #F8FAFC !important;
}

/* bottom inline footer links: 在线客服 should behave like a text link, no pill box */
.footer-links-inline button {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    color: #64748B !important;
    font-size: 14px !important;
    line-height: inherit !important;
    font-family: inherit !important;
}
.footer-links-inline button:hover {
    color: #002FA7 !important;
    background: transparent !important;
    border: 0 !important;
}

/* about page stats + media cards: remove dark gradient band */
.about-stat-grid {
    background: #FFFFFF !important;
    border: 1px solid #E7EBF0 !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 30px -20px rgba(15,23,42,.14) !important;
}
.about-stat + .about-stat { border-left-color: #E2E8F0 !important; }
.about-stat-value {
    background: none !important;
    -webkit-text-fill-color: #002FA7 !important;
    color: #002FA7 !important;
}
.about-stat-label { color: #64748B !important; }
.about-media-card {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 26px -18px rgba(15,23,42,.18) !important;
}
.about-media-num { background: none !important; -webkit-text-fill-color: #002FA7 !important; color: #002FA7 !important; }
.about-media-label { color: #64748B !important; }
.about-media-frame { background: #F7F8FA !important; border-radius: 8px !important; }

/* about values cards: remove dark feature-card gradient */
.card--feature {
    background: #FFFFFF !important;
    border: 1px solid #E7EBF0 !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 30px -20px rgba(15,23,42,.14) !important;
}
.card--feature::before, .card--feature::after { display: none !important; }
.card--feature .card-title { color: #1E293B !important; }
.card--feature .card-desc { color: #64748B !important; }
.card--feature .card-icon { background: #EEF2FF !important; color: #002FA7 !important; border: 0 !important; }
.card--feature .card-icon--violet { background: #F5F3FF !important; color: #6D28D9 !important; }
.card--feature .card-icon--emerald { background: #ECFDF5 !important; color: #047857 !important; }

/* footer contact strip: fills the QR row instead of leaving a large empty area */
.footer-service-strip {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 8px 0 26px;
    padding: 18px 22px;
    background: #FFFFFF;
    border: 1px solid #E7EBF0;
    border-radius: 8px;
    box-shadow: 0 10px 30px -22px rgba(15,23,42,.16);
}
.footer-service-strip .footer-qr {
    display: flex;
    align-items: center;
    gap: 14px;
    width: auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    flex: none;
}
.footer-service-strip .footer-qr img {
    width: 80px !important;
    height: 80px !important;
    padding: 4px;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    object-fit: contain;
}
.footer-service-strip .footer-qr-text strong { display: block; color: #1E293B; font-size: 14px; margin-bottom: 4px; }
.footer-service-strip .footer-qr-text span { color: #64748B; font-size: 12px; }
.footer-service-copy { flex: 1; min-width: 0; }
.footer-service-title { color: #1E293B; font-size: 15px; font-weight: 600; }
.footer-service-copy p { margin: 4px 0 0; color: #64748B; font-size: 13px; line-height: 1.6; }
.footer-service-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.footer-service-actions .btn { min-height: 38px; padding: 0 16px; font-size: 13px; }
@media (max-width: 768px) {
    .footer-service-strip { flex-wrap: wrap; gap: 16px; padding: 16px; }
    .footer-service-copy { flex-basis: calc(100% - 100px); }
    .footer-service-actions { width: 100%; }
    .footer-service-actions .btn { flex: 1; }
}

/* light checkbox: soft blue fill, blue check (instead of dark filled box) */
.checkbox-box, .radio-box {
    background: #FFFFFF !important;
    border-color: #CBD5E1 !important;
    border-radius: 5px !important;
    box-shadow: none !important;
}
.checkbox input:checked + .checkbox-box,
.radio input:checked + .radio-box {
    background: #DBEAFE !important;
    border-color: #60A5FA !important;
    box-shadow: none !important;
}
.checkbox-box::after, .radio-box::after {
    border-color: #002FA7 !important;
}
.checkbox input:focus-visible + .checkbox-box,
.radio input:focus-visible + .radio-box { box-shadow: 0 0 0 3px rgba(0,47,167,.12) !important; }

/* auth pages: full-bleed split, no floating card */
body.page-mall-login .auth-page,
body.page-mall-forgot .auth-page,
body.page-mall-forgot-pay .auth-page,
body.page-mall-register .auth-page {
    padding: 0 !important;
    max-width: none !important;
    width: 100% !important;
}
body.page-mall-login .auth-shell,
body.page-mall-forgot .auth-shell,
body.page-mall-forgot-pay .auth-shell,
body.page-mall-register .auth-shell {
    width: 100% !important;
    max-width: none !important;
    height: calc(100vh - 117px) !important;
    max-height: calc(100vh - 117px) !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
}
body.page-mall-login .auth-aside,
body.page-mall-forgot .auth-aside,
body.page-mall-forgot-pay .auth-aside,
body.page-mall-register .auth-aside {
    border-radius: 0 !important;
    border-right: 1px solid #E7EBF0 !important;
    padding: clamp(32px, 4vw, 64px) !important;
}
body.page-mall-login .auth-card,
body.page-mall-forgot .auth-card,
body.page-mall-forgot-pay .auth-card,
body.page-mall-register .auth-card {
    width: 100% !important;
    max-width: 720px !important;
    margin: 0 auto !important;
    padding: clamp(28px, 4vw, 56px) clamp(30px, 5vw, 76px) !important;
    border-radius: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}
.auth-mini-foot {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #EEF2F6;
    font-size: 11px;
    color: #94A3B8;
    text-align: center;
    line-height: 1.6;
}
.auth-mini-foot a { color: #64748B; }
.auth-mini-foot a:hover { color: #002FA7; }
.auth-mini-foot span { margin: 0 4px; color: #CBD5E1; }
@media (max-width: 1024px) {
    body.page-mall-login .auth-shell,
    body.page-mall-forgot .auth-shell,
    body.page-mall-forgot-pay .auth-shell,
    body.page-mall-register .auth-shell {
        height: auto !important;
        max-height: none !important;
        grid-template-columns: minmax(0, 1fr) !important;
    }
    body.page-mall-login .auth-aside,
    body.page-mall-forgot .auth-aside,
    body.page-mall-register .auth-aside { display: none !important; }
    body.page-mall-login .auth-card,
    body.page-mall-forgot .auth-card,
    body.page-mall-forgot-pay .auth-card,
    body.page-mall-register .auth-card { padding: 28px 22px !important; max-width: 560px !important; }
}

/* override mall main max-width for auth: true full-bleed */
body.page-mall-login .mall-main,
body.page-mall-forgot .mall-main,
body.page-mall-forgot-pay .mall-main,
body.page-mall-register .mall-main {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    height: calc(100vh - 117px) !important;
    overflow: hidden !important;
}
body.page-mall-login .auth-page,
body.page-mall-forgot .auth-page,
body.page-mall-forgot-pay .auth-page,
body.page-mall-register .auth-page {
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    padding: 0 !important;
    overflow: hidden !important;
}
body.page-mall-login .auth-shell,
body.page-mall-forgot .auth-shell,
body.page-mall-forgot-pay .auth-shell,
body.page-mall-register .auth-shell {
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    max-height: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* explicit full-viewport auth height (header = 117px) */
body.page-mall-login .mall-main,
body.page-mall-forgot .mall-main,
body.page-mall-forgot-pay .mall-main,
body.page-mall-register .mall-main,
body.page-mall-login .auth-page,
body.page-mall-forgot .auth-page,
body.page-mall-forgot-pay .auth-page,
body.page-mall-register .auth-page,
body.page-mall-login .auth-shell,
body.page-mall-forgot .auth-shell,
body.page-mall-forgot-pay .auth-shell,
body.page-mall-register .auth-shell {
    height: calc(100vh - 117px) !important;
    max-height: calc(100vh - 117px) !important;
    min-height: 0 !important;
    overflow: hidden !important;
}
body.page-mall-login .auth-card,
body.page-mall-forgot .auth-card,
body.page-mall-forgot-pay .auth-card,
body.page-mall-register .auth-card {
    height: 100% !important;
    max-height: 100% !important;
    min-height: 0 !important;
    overflow-y: auto !important;
}

/* auth pages: lock page scroll; card area scrolls internally */
html:has(body.page-mall-login),
html:has(body.page-mall-forgot),
html:has(body.page-mall-forgot-pay),
html:has(body.page-mall-register) { overflow: hidden !important; }
body.page-mall-login, body.page-mall-forgot, body.page-mall-forgot-pay, body.page-mall-register { overflow: hidden !important; height: 100vh !important; }

/* contact page Geetest slot */
.geetest-slot { min-height: 44px; display: flex; align-items: center; }
.geetest-hint { color: #94A3B8 !important; font-size: 12px; margin-top: 4px; }

/* contact join form */
.resume-upload-row { display: flex; }
.resume-upload { width: 100%; }
.resume-upload span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.geetest-hint { cursor: pointer; }

/* CTA with two actions */
.cta-band-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
@media (max-width: 640px) { .cta-band-actions { width: 100%; } .cta-band-actions .btn { flex: 1; } }

/* 核心团队说明保持单行，避免最后一个字单独换行 */
@media (min-width: 1024px) {
    .team-core .team-core-desc {
        max-width: none !important;
        white-space: nowrap;
    }
}

/* footer bottom: rounded, wider white strip with breathing room */
.site-footer .footer-bottom {
    background: #FFFFFF !important;
    border: 1px solid #E7EBF0 !important;
    border-top: 1px solid #E7EBF0 !important;
    border-radius: 8px !important;
    padding: 16px clamp(24px, 3vw, 40px) !important;
    margin-top: 14px !important;
}
.site-footer .footer-bottom-inner { width: 100%; }
.site-footer .footer-links-inline button { padding-inline: 4px; }
@media (max-width: 768px) {
    .site-footer .footer-bottom { padding: 14px 16px !important; margin-inline: 0 !important; }
}

/* home CTA: light, consistent with the rest of the page */
.home-cta {
    background: #FFFFFF !important;
    border: 1px solid #E7EBF0 !important;
    border-radius: 8px !important;
    box-shadow: 0 18px 45px -30px rgba(15,23,42,.18) !important;
}
.home-cta-bg { display: none !important; }
.home-cta .home-cta-title { color: #1E293B !important; }
.home-cta .home-cta-desc { color: #64748B !important; }
.home-cta .home-cta-meta { color: #64748B !important; }
.home-cta .home-cta-meta span { color: #64748B !important; }
.home-cta .home-cta-qr {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 24px -18px rgba(15,23,42,.16) !important;
    backdrop-filter: none !important;
}
.home-cta .home-cta-qr img {
    border-radius: 6px !important;
    border: 1px solid #EEF2F6;
    background: #fff;
}
.home-cta .home-cta-qr span {
    color: #475569 !important;
    font-size: 12px !important;
    font-weight: 500;
}

/* login: cleaner brand panel + compact form */
body.page-mall-login .auth-aside {
    background: linear-gradient(145deg, #F4F7FF 0%, #EEF2FF 58%, #F8FAFC 100%) !important;
    border-right: 1px solid #E2E8F0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}
body.page-mall-login .auth-aside::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -180px;
    top: -180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,47,167,.12), transparent 68%);
    pointer-events: none;
}
body.page-mall-login .auth-aside::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#C7D2FE 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: .32;
    mask-image: linear-gradient(135deg, #000, transparent 70%);
    pointer-events: none;
}
body.page-mall-login .auth-aside-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 28px;
    width: 100%;
    max-width: 560px;
    height: 100%;
    margin: 0 auto;
    padding: clamp(34px, 4vw, 58px) clamp(30px, 4.5vw, 64px);
}
.auth-brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; color: #1E293B; }
.auth-brand-mark { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; }
.auth-brand-mark img { width: 32px; height: 32px; object-fit: contain; }
.auth-brand-text { display: flex; flex-direction: column; line-height: 1.08; }
.auth-brand-text strong { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.auth-brand-text small { font-size: 9px; letter-spacing: .22em; color: #64748B; margin-top: 3px; }
body.page-mall-login .auth-aside-copy { display: flex; flex-direction: column; gap: 14px; }
body.page-mall-login .auth-aside-title { font-size: clamp(30px, 3vw, 44px) !important; line-height: 1.12 !important; }
.auth-aside-desc { margin: 0; color: #64748B; font-size: 14px; line-height: 1.8; max-width: 38ch; }
body.page-mall-login .auth-benefits { display: grid; gap: 10px; margin-top: 8px; }
body.page-mall-login .auth-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    background: rgba(255,255,255,.82);
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    color: #334155 !important;
    font-size: 13px;
    box-shadow: 0 5px 16px -14px rgba(15,23,42,.18);
}
.auth-benefit-icon { display: inline-flex; color: #10B981; flex: none; }
body.page-mall-login .auth-aside-foot {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 16px;
    border-top: 1px solid #E2E8F0;
    font-size: 13px;
}
.auth-aside-foot-sep { color: #CBD5E1; }
body.page-mall-login .auth-card {
    max-width: 560px !important;
    padding: clamp(28px, 4vw, 48px) clamp(26px, 4vw, 48px) !important;
}
body.page-mall-login .auth-title { font-size: 26px !important; }
body.page-mall-login .auth-social-btn { min-height: 52px; }
@media (max-width: 1024px) {
    body.page-mall-login .auth-aside { display: none !important; }
}

/* footer bottom: white box only on hover */
.site-footer .footer-bottom {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-footer .footer-bottom:hover {
    background: #FFFFFF !important;
    border-color: #E7EBF0 !important;
    box-shadow: 0 14px 36px -28px rgba(15,23,42,.18) !important;
}

/* news list breathing room */
.news-item { gap: 30px !important; padding: 32px 0 !important; }
.news-item-body { gap: 12px !important; }
.news-item-title { font-size: 20px !important; line-height: 1.55 !important; }
.news-item-desc {
    font-size: 14px !important;
    line-height: 1.85 !important;
    -webkit-line-clamp: 3 !important;
}
.news-item-media { width: 260px !important; border-radius: 8px !important; }
.news-item-foot { padding-top: 4px !important; }
.article-body, .article-content { font-size: 16px !important; line-height: 1.95 !important; }
.article-body p, .article-content p { margin-bottom: 1.15em !important; }

/* motion polish: micro interactions only */
.btn {
    transition: transform .22s cubic-bezier(.22,.61,.36,1), box-shadow .22s ease, background-color .22s ease, border-color .22s ease, color .22s ease !important;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.99); }
.btn svg { transition: transform .22s cubic-bezier(.22,.61,.36,1); }
.btn:hover svg { transform: translateX(3px); }
.p-card, .svc-card, .case-card, .news-mini, .team-card {
    transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s ease, border-color .3s ease !important;
}
.p-card:hover, .svc-card:hover, .case-card:hover, .news-mini:hover, .team-card:hover { transform: translateY(-3px); }
.nav-links a { position: relative; }
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    border-radius: 2px;
    background: #002FA7;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s cubic-bezier(.22,.61,.36,1);
}
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }
@media (max-width: 768px) {
    .news-item { gap: 16px !important; padding: 24px 0 !important; flex-direction: column !important; }
    .news-item-media { width: 100% !important; }
    .news-item-title { font-size: 18px !important; }
    .site-footer .footer-bottom { padding: 14px 16px !important; }
}

/* login: remove dark glass showing through the side gutters */
body.page-mall-login .auth-page,
body.page-mall-login .auth-shell,
body.page-mall-login .auth-card {
    background: #FFFFFF !important;
}
body.page-mall-login .auth-card { border: 0 !important; box-shadow: none !important; }

/* subtle cover hover, paired with scroll reveal */
.p-card-cover, .news-item-media, .news-feature-media, .case-card-media { overflow: hidden; }
.p-card-cover img, .news-item-media img, .news-feature-media img, .case-card-media img { transition: transform .55s cubic-bezier(.22,.61,.36,1); }
.p-card:hover .p-card-cover img, .case-card:hover .case-card-media img { transform: scale(1.035); }

/* login: contain the split panel and pull both sides toward the seam */
body.page-mall-login .auth-page {
    background: #F7F8FA !important;
    display: flex !important;
    justify-content: center !important;
}
body.page-mall-login .auth-shell {
    width: min(1280px, 100%) !important;
    margin: 0 auto !important;
}
body.page-mall-login .auth-aside-inner {
    margin-left: auto !important;
    margin-right: clamp(28px, 5vw, 72px) !important;
    max-width: 460px !important;
}
body.page-mall-login .auth-card {
    margin-left: clamp(28px, 5vw, 72px) !important;
    margin-right: auto !important;
    max-width: 520px !important;
}
@media (max-width: 1440px) {
    body.page-mall-login .auth-aside-inner { margin-right: clamp(24px, 4vw, 56px) !important; }
    body.page-mall-login .auth-card { margin-left: clamp(24px, 4vw, 56px) !important; max-width: 500px !important; }
}
@media (max-width: 1024px) {
    body.page-mall-login .auth-aside-inner { margin-inline: auto !important; }
    body.page-mall-login .auth-card { margin-inline: auto !important; max-width: 560px !important; }
}

body.page-mall-login .auth-aside-title { width: 100% !important; max-width: none !important; }

body.page-mall-login .auth-aside-copy { width: 100% !important; max-width: none !important; }
body.page-mall-login .auth-aside-copy .auth-aside-title { width: 100% !important; max-width: none !important; }

body.page-mall-login .auth-aside-inner { align-items: stretch !important; }
body.page-mall-login .auth-aside-copy { align-self: stretch !important; width: auto !important; min-width: 0 !important; flex: 0 0 auto !important; }

/* the inner panel's max-width includes horizontal padding; give the copy room */
body.page-mall-login .auth-aside-inner { max-width: 560px !important; }

/* home news right column: show full title/summary instead of clamping */
.home-news-grid .news-mini-list {
    height: auto !important;
    justify-content: flex-start !important;
    gap: 18px !important;
}
.home-news-grid .news-mini {
    flex: 0 0 auto !important;
    padding: 22px 0 !important;
}
.home-news-grid .news-mini-title {
    display: block !important;
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
}
.home-news-grid .news-mini-desc {
    display: block !important;
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
}

/* light toast (like / login prompts) */
.toast {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 18px 46px -24px rgba(15,23,42,.28), 0 2px 8px rgba(15,23,42,.04) !important;
    color: #1E293B !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
.toast-title { color: #1E293B !important; }
.toast-msg { color: #64748B !important; }
.toast-close { color: #94A3B8 !important; }
.toast-close:hover { color: #475569 !important; }
.toast-icon { color: #002FA7 !important; }
.toast--success { border-color: #A7F3D0 !important; }
.toast--success .toast-icon { color: #059669 !important; }
.toast--error { border-color: #FECDD3 !important; }
.toast--error .toast-icon { color: #E11D48 !important; }
.toast--warning { border-color: #FDE68A !important; }
.toast--warning .toast-icon { color: #D97706 !important; }
.toast--info .toast-icon { color: #0284C7 !important; }
.toast-progress { background: #002FA7 !important; opacity: .55 !important; }

/* footer copyright: pointer-follow white spotlight, not a full box */
.site-footer .footer-bottom {
    position: relative !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    box-shadow: none !important;
    overflow: hidden !important;
    border-radius: 8px !important;
}
.site-footer .footer-bottom::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: 8px;
    pointer-events: none;
    opacity: 0;
    transition: opacity .25s ease;
    background: radial-gradient(circle at var(--footer-mx, 50%) var(--footer-my, 50%), rgba(255,255,255,.98) 0%, rgba(255,255,255,.9) 38%, rgba(255,255,255,0) 72%);
}
.site-footer .footer-bottom:hover::before { opacity: 1; }
.site-footer .footer-bottom-inner { position: relative; z-index: 1; }

.site-footer .footer-bottom:hover {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

/* stronger local white/blue spotlight + cursor-local border */
.site-footer .footer-bottom::before {
    background:
        radial-gradient(circle 300px at var(--footer-mx, 50%) var(--footer-my, 50%),
            #FFFFFF 0%,
            rgba(255,255,255,.96) 45%,
            rgba(224,235,255,.45) 65%,
            rgba(255,255,255,0) 84%) !important;
}
.site-footer .footer-bottom::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: 8px;
    padding: 1px;
    pointer-events: none;
    opacity: 0;
    transition: opacity .25s ease;
    background: radial-gradient(circle 210px at var(--footer-mx, 50%) var(--footer-my, 50%), rgba(148,163,184,.75), rgba(148,163,184,0) 75%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}
.site-footer .footer-bottom:hover::after { opacity: 1; }

.site-footer .footer-bottom::before {
    background:
        radial-gradient(circle 300px at var(--footer-mx, 50%) var(--footer-my, 50%),
            rgba(255,255,255,1) 0%,
            rgba(236,243,255,.98) 38%,
            rgba(0,47,167,.12) 66%,
            rgba(0,47,167,0) 84%) !important;
}

/* force light product-card info area, even if an old cached card skin is present */
.p-card,
.card.p-card {
    background: #FFFFFF !important;
    isolation: isolate;
}
.p-card .p-card-body {
    background: #FFFFFF !important;
    color: #1E293B !important;
}
.p-card .p-card-body .p-card-title { color: #1E293B !important; }
.p-card .p-card-body .p-card-sales,
.p-card .p-card-body .p-card-meta,
.p-card .p-card-body .p-card-desc { color: #64748B !important; }
.p-card .p-card-tags .tag {
    background: #F8FAFC !important;
    color: #475569 !important;
    border-color: #E2E8F0 !important;
}
.p-card::before, .p-card::after,
.p-card .p-card-body::before, .p-card .p-card-body::after { display: none !important; }

/* login aside foot: give it room below, avoid a cut-off look */
body.page-mall-login .auth-aside-inner {
    padding-bottom: clamp(64px, 8vh, 104px) !important;
}
body.page-mall-login .auth-aside-foot {
    margin-bottom: 4px !important;
}

/* login form header: separate title, subtitle and tabs */
body.page-mall-login .auth-title { margin-bottom: 8px !important; }
body.page-mall-login .auth-sub { margin: 0 0 20px !important; line-height: 1.7 !important; }
body.page-mall-login .auth-tabs { margin-top: 4px !important; margin-bottom: 14px !important; }

/* official brand icons in third-party login */
.oauth-brand-img {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain;
}
.oauth-btn-icon { width: 30px; height: 30px; }

/* home news cards: give text breathing room inside the bordered cards */
.home-news-grid .news-mini {
    padding: 22px 22px !important;
}
.home-news-grid .news-mini-content { gap: 9px !important; }
@media (max-width: 768px) {
    .home-news-grid .news-mini { padding: 18px !important; }
}

/* official products page cards: light surfaces */
.products-section .product-card {
    background: #FFFFFF !important;
    border: 1px solid #E7EBF0 !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 28px -20px rgba(15,23,42,.16) !important;
}
.products-section .product-media { background: #F1F5F9 !important; }
.products-section .product-body { background: #FFFFFF !important; }
.products-section .product-title { color: #1E293B !important; }
.products-section .product-subtitle { color: #64748B !important; }
.products-section .product-tags .tag {
    background: #F8FAFC !important;
    color: #475569 !important;
    border-color: #E2E8F0 !important;
}
.products-section .product-price { color: #002FA7 !important; }
.products-section .product-sales { color: #64748B !important; }

/* product detail tabs: light panel instead of dark glass */
.product-detail-body {
    background: #FFFFFF !important;
    border: 1px solid #E7EBF0 !important;
    border-radius: 8px !important;
    box-shadow: 0 12px 32px -24px rgba(15,23,42,.16) !important;
}
.product-detail-body .prose,
.product-detail-body .prose p,
.product-detail-body .prose li {
    color: #475569 !important;
}
.product-detail-body .prose h1,
.product-detail-body .prose h2,
.product-detail-body .prose h3,
.product-detail-body .prose h4 {
    color: #1E293B !important;
}
.product-detail-body .prose a { color: #002FA7 !important; }
.product-detail-body .review-item {
    background: #FFFFFF !important;
    border-color: #E7EBF0 !important;
}
.product-detail-body .review-user,
.product-detail-body .review-content { color: #1E293B !important; }
.product-detail-body .review-time,
.product-detail-body .review-reply,
.product-detail-body .review-append { color: #64748B !important; }

/* login: separate phone/email switch from the tab underline */
body.page-mall-login .auth-target-switch {
    margin-top: 16px !important;
    margin-bottom: 4px !important;
}

/* forgot/register auth pages: remove dark shell showing beside the form */
body.page-mall-forgot .auth-page,
body.page-mall-forgot-pay .auth-page,
body.page-mall-register .auth-page,
body.page-mall-forgot .auth-shell,
body.page-mall-forgot-pay .auth-shell,
body.page-mall-register .auth-shell,
body.page-mall-forgot .auth-card,
body.page-mall-forgot-pay .auth-card,
body.page-mall-register .auth-card {
    background: #FFFFFF !important;
}
body.page-mall-forgot .auth-card,
body.page-mall-forgot-pay .auth-card,
body.page-mall-register .auth-card { border: 0 !important; box-shadow: none !important; }

/* login without the shop header */
body.page-mall-login .mall-header { display: none !important; }
body.page-mall-login .mall-main {
    height: 100vh !important;
    max-height: 100vh !important;
}
body.page-mall-login .auth-page,
body.page-mall-login .auth-shell { height: 100vh !important; max-height: 100vh !important; }


/* third-party login: primary circles + more dots */
.oauth-grid {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px !important;
    margin-top: 14px !important;
}
.oauth-btn {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    flex-direction: row !important;
    gap: 0 !important;
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 5px 16px -12px rgba(15,23,42,.2);
}
.oauth-btn:hover {
    transform: translateY(-2px) !important;
    border-color: #CBD5E1 !important;
    box-shadow: 0 10px 22px -14px rgba(15,23,42,.22) !important;
}
.oauth-btn-icon { width: 30px !important; height: 30px !important; }
.oauth-brand-img { width: 26px !important; height: 26px !important; }
.oauth-btn-name {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.oauth-btn--extra { display: none !important; }
.oauth-grid.is-expanded .oauth-btn--extra { display: flex !important; }
.oauth-grid.is-expanded .oauth-more { display: none !important; }
.oauth-more {
    color: #64748B !important;
    background: #F8FAFC !important;
    border-color: #E2E8F0 !important;
    cursor: pointer;
}
.oauth-more:hover { color: #002FA7 !important; border-color: #CBD5E1 !important; }
.oauth-more-dots { font-size: 19px; line-height: 1; letter-spacing: 1px; }
.oauth-btn-badge {
    top: auto !important;
    bottom: -2px !important;
    right: -6px !important;
    padding: 0 4px !important;
    line-height: 13px !important;
    font-size: 8px !important;
    white-space: nowrap;
    background: #F8FAFC !important;
    border-color: #E2E8F0 !important;
    color: #64748B !important;
}

/* third-party circles: smaller frame, larger official icon */
.oauth-btn {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
}
.oauth-btn-icon {
    width: 34px !important;
    height: 34px !important;
}
.oauth-brand-img {
    width: 30px !important;
    height: 30px !important;
}
.oauth-more-dots { font-size: 18px !important; }
.oauth-btn-badge {
    top: auto !important;
    right: 50% !important;
    bottom: -16px !important;
    transform: translateX(50%);
    padding: 0 5px !important;
    font-size: 9px !important;
    line-height: 14px !important;
    white-space: nowrap;
    background: #FFFFFF !important;
    border-color: #E2E8F0 !important;
    color: #64748B !important;
}

/* agreement content: light article panel */
.agreement-main {
    background: #FFFFFF !important;
    border: 1px solid #E7EBF0 !important;
    border-radius: 8px !important;
    box-shadow: 0 12px 32px -24px rgba(15,23,42,.16) !important;
}
.agreement-main .prose,
.agreement-main .prose p,
.agreement-main .prose li { color: #475569 !important; }
.agreement-main .prose h1,
.agreement-main .prose h2,
.agreement-main .prose h3,
.agreement-main .prose h4 { color: #1E293B !important; }
.agreement-main .prose a { color: #002FA7 !important; }
.agreement-main .prose strong { color: #1E293B !important; }

/* login: floating centered auth panel instead of pinned full-height split */
body.page-mall-login .auth-page {
    padding: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background:
        radial-gradient(900px 520px at 12% 8%, rgba(219,234,254,.75), transparent 65%),
        radial-gradient(800px 520px at 88% 100%, rgba(224,231,255,.65), transparent 65%),
        #F7F8FA !important;
}
body.page-mall-login .auth-shell {
    width: min(1200px, calc(100vw - 64px)) !important;
    height: min(780px, calc(100vh - 64px)) !important;
    max-height: calc(100vh - 64px) !important;
    margin: 0 auto !important;
    border: 1px solid #E7EBF0 !important;
    border-radius: 8px !important;
    box-shadow: 0 32px 80px -42px rgba(15,23,42,.28) !important;
    overflow: hidden !important;
}
body.page-mall-login .auth-card {
    height: 100% !important;
    max-height: 100% !important;
    overflow-y: auto !important;
}
@media (max-width: 1024px) {
    body.page-mall-login .auth-page { padding: 16px !important; }
    body.page-mall-login .auth-shell {
        width: 100% !important;
        height: calc(100vh - 32px) !important;
        max-height: calc(100vh - 32px) !important;
    }
}

/* keep the OAuth circles clean; disabled state is explained by tooltip + toast */
.oauth-btn-badge { display: none !important; }

/* mall account area: fully light surfaces */
.account-side,
.account-hero,
.account-stat,
.account-panel {
    background: #FFFFFF !important;
    border: 1px solid #E7EBF0 !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 28px -22px rgba(15,23,42,.16) !important;
}
.account-hero {
    background: linear-gradient(135deg, #F8FBFF, #EEF4FF 58%, #FFFFFF) !important;
    border-color: #DBEAFE !important;
}
.account-side-user {
    background: #F8FAFC !important;
    border-bottom: 1px solid #E7EBF0 !important;
}
.account-side-name,
.account-hero-name,
.account-panel-title,
.account-order-title { color: #1E293B !important; }
.account-side-sub,
.account-hero-meta,
.account-panel-hint,
.account-order-meta,
.account-stat-label { color: #64748B !important; }
.account-side-link { color: #475569 !important; }
.account-side-link:hover { background: #F1F5F9 !important; color: #1E293B !important; }
.account-side-link.is-active {
    background: #EEF2FF !important;
    color: #002FA7 !important;
    font-weight: 600 !important;
}
.account-hero-wallet-label { color: #64748B !important; }
.account-hero-wallet strong { color: #002FA7 !important; }
.account-stat-value { color: #1E293B !important; }
.account-quick {
    background: #FFFFFF !important;
    border-color: #E7EBF0 !important;
    color: #475569 !important;
    border-radius: 8px !important;
}
.account-quick svg { color: #002FA7 !important; }
.account-quick:hover { background: #F8FAFC !important; border-color: #CBD5E1 !important; color: #1E293B !important; }
.account-order { border-bottom-color: #E7EBF0 !important; }
.account-order:hover { background: #F8FAFC !important; }
.account-order-amount { color: #002FA7 !important; }
.account-panel .badge--glass {
    background: #F1F5F9 !important;
    border-color: #E2E8F0 !important;
    color: #475569 !important;
}

/* mall checkout / cashier: light surfaces */
.pay-order-card {
    background: linear-gradient(135deg, #F8FBFF, #EEF4FF 62%, #FFFFFF) !important;
    border: 1px solid #DBEAFE !important;
    border-radius: 8px !important;
    box-shadow: 0 12px 32px -24px rgba(15,23,42,.18) !important;
}
.pay-order-row,
.pay-order-nos,
.pay-amount-label,
.pay-countdown { color: #64748B !important; }
.pay-order-row .info-value--mono { color: #475569 !important; }
.pay-order-nos a { color: #002FA7 !important; }
.pay-amount { color: #002FA7 !important; }
.pay-channel {
    background: #FFFFFF !important;
    border: 1px solid #E7EBF0 !important;
    border-radius: 8px !important;
}
.pay-channel.is-active {
    background: linear-gradient(160deg, #F8FBFF, #EEF4FF) !important;
    border-color: #BFDBFE !important;
}
.pay-channel-head { background: transparent !important; }
.pay-channel-icon {
    background: #EEF2FF !important;
    border-color: #DBEAFE !important;
    color: #002FA7 !important;
    border-radius: 8px !important;
}
.pay-channel-name { color: #1E293B !important; }
.pay-channel-badge { color: #64748B !important; }
.pay-channel-arrow { color: #94A3B8 !important; }
.pay-channel-body { background: transparent !important; }
.pay-tip { color: #64748B !important; }
.pay-status-line {
    background: #FFFFFF !important;
    border-color: #E2E8F0 !important;
    color: #64748B !important;
}
.pay-footer-tip { color: #94A3B8 !important; }
.pay-success {
    background: #FFFFFF !important;
    border-color: #E7EBF0 !important;
    border-radius: 8px !important;
}

/* mall header account dropdown: light */
.dropdown-menu {
    background: #FFFFFF !important;
    border: 1px solid #E7EBF0 !important;
    box-shadow: 0 20px 50px -24px rgba(15,23,42,.25) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-radius: 8px !important;
}
.dropdown-header { color: #94A3B8 !important; }
.dropdown-item { color: #475569 !important; }
.dropdown-item svg { color: #64748B !important; }
.dropdown-item:hover { background: #F8FAFC !important; color: #1E293B !important; }
.dropdown-item--danger { color: #E11D48 !important; }
.dropdown-item--danger:hover { background: #FFF1F2 !important; color: #E11D48 !important; }
.dropdown-divider { background: #E7EBF0 !important; }

/* mall modals: light surface (wallet recharge, confirmations, etc.) */
body.mall .modal-dialog {
    background: #FFFFFF !important;
    border: 1px solid #E7EBF0 !important;
    border-radius: 8px !important;
    box-shadow: 0 28px 70px -36px rgba(15,23,42,.3) !important;
}
body.mall .modal-dialog::before { display: none !important; }
body.mall .modal-title { color: #1E293B !important; }
body.mall .modal-subtitle { color: #64748B !important; }
body.mall .modal-body { color: #475569 !important; }
body.mall .modal-close { color: #94A3B8 !important; }
body.mall .modal-close:hover { color: #475569 !important; }
body.mall .modal .form-label { color: #475569 !important; }
body.mall .modal .form-hint { color: #94A3B8 !important; }
body.mall .modal .input,
body.mall .modal .textarea,
body.mall .modal .select {
    background: #FFFFFF !important;
    border-color: #E2E8F0 !important;
    color: #1E293B !important;
}
body.mall .recharge-amount {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    color: #475569 !important;
    border-radius: 8px !important;
}
body.mall .recharge-amount:hover { border-color: #CBD5E1 !important; color: #1E293B !important; }
body.mall .recharge-amount.is-active {
    background: #002FA7 !important;
    border-color: #002FA7 !important;
    color: #FFFFFF !important;
    box-shadow: none !important;
}
body.mall .choice {
    background: #FFFFFF !important;
    border-color: #E2E8F0 !important;
    color: #475569 !important;
    border-radius: 8px !important;
}
body.mall .choice:hover { border-color: #CBD5E1 !important; color: #1E293B !important; }
body.mall .choice:has(input:checked),
body.mall .choice.is-active {
    background: #EEF2FF !important;
    border-color: #93C5FD !important;
    color: #002FA7 !important;
    box-shadow: none !important;
}

/* input prefix/suffix blocks: light */
.input-affix {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 8px !important;
}
.input-affix .affix {
    background: #F8FAFC !important;
    color: #64748B !important;
    border-right: 1px solid #E2E8F0;
}
.input-affix .input {
    background: transparent !important;
    color: #1E293B !important;
}
.input-affix:focus-within {
    border-color: #93C5FD !important;
    box-shadow: 0 0 0 3px rgba(0,47,167,.08) !important;
}

/* mall order list: light cards */
.order-card {
    background: #FFFFFF !important;
    border: 1px solid #E7EBF0 !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 28px -24px rgba(15,23,42,.16) !important;
}
.order-card-head {
    background: #F8FAFC !important;
    border-bottom-color: #E7EBF0 !important;
}
.order-no, .order-time { color: #64748B !important; }
.order-card-body { background: #FFFFFF !important; }
.order-line-cover {
    background: #F1F5F9 !important;
    border-color: #E2E8F0 !important;
    border-radius: 6px !important;
}
.order-line-title { color: #1E293B !important; }
.order-line-title:hover { color: #002FA7 !important; }
.order-line-meta { color: #64748B !important; }
.order-line-price { color: #475569 !important; }
.order-card-foot {
    background: #FFFFFF !important;
    border-top-color: #E7EBF0 !important;
}
.order-card-total { color: #64748B !important; }
.order-card-total strong { color: #002FA7 !important; }
.order-status {
    border-color: #E2E8F0 !important;
    background: #F8FAFC !important;
    color: #475569 !important;
}
.order-status--pending { color: #B45309 !important; border-color: #FDE68A !important; background: #FFFBEB !important; }
.order-status--paid, .order-status--delivered, .order-status--completed { color: #047857 !important; border-color: #A7F3D0 !important; background: #ECFDF5 !important; }
.order-status--cancelled, .order-status--refunded { color: #BE123C !important; border-color: #FECDD3 !important; background: #FFF1F2 !important; }
.order-status--aftersale { color: #6D28D9 !important; border-color: #DDD6FE !important; background: #F5F3FF !important; }

/* order detail: light panels, secret box and summary */
.order-panel {
    background: #FFFFFF !important;
    border: 1px solid #E7EBF0 !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 28px -24px rgba(15,23,42,.16) !important;
}
.order-panel--secret {
    background: linear-gradient(160deg, #F8FBFF, #EEF4FF 58%, #FFFFFF) !important;
    border-color: #DBEAFE !important;
}
.order-panel-title { color: #1E293B !important; }
.order-panel-title svg { color: #002FA7 !important; }
.order-panel-hint { color: #94A3B8 !important; }
.card-secret {
    background: #F8FBFF !important;
    border: 1px dashed #BFDBFE !important;
    border-radius: 8px !important;
}
.card-secret-title { color: #1E293B !important; }
.card-key {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
}
.card-key-label { color: #64748B !important; }
.card-key code { color: #0F172A !important; background: #F8FAFC !important; }
.card-secret-text {
    background: #FFFFFF !important;
    border-color: #E2E8F0 !important;
    color: #334155 !important;
}
.card-secret-pending { color: #64748B !important; }
.order-item {
    background: #F8FAFC !important;
    border-color: #E7EBF0 !important;
}
.order-item-cover { background: #F1F5F9 !important; border-color: #E2E8F0 !important; }
.order-item-title { color: #1E293B !important; }
.order-item-meta { color: #64748B !important; }
.order-item-amount { color: #002FA7 !important; }
.order-summary-card {
    background: #FFFFFF !important;
    border-color: #E7EBF0 !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 28px -24px rgba(15,23,42,.16) !important;
}
.order-summary-title { color: #1E293B !important; }
.order-summary-card .summary-row,
.order-summary-card .info-label { color: #64748B !important; }
.order-summary-card .summary-total strong { color: #002FA7 !important; }
.info-row .info-label { color: #64748B !important; }
.info-row .info-value { color: #1E293B !important; }

/* order detail: force light panels with page-scoped selectors */
body.page-mall-order-detail .order-panel {
    background: #FFFFFF !important;
    background-image: none !important;
    border-color: #E7EBF0 !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 28px -24px rgba(15,23,42,.16) !important;
}
body.page-mall-order-detail .order-panel--secret {
    background: linear-gradient(160deg, #F8FBFF, #EEF4FF 58%, #FFFFFF) !important;
    border-color: #DBEAFE !important;
}
body.page-mall-order-detail .order-item { background: #F8FAFC !important; }
body.page-mall-order-detail .order-summary-card { background: #FFFFFF !important; background-image: none !important; border-color: #E7EBF0 !important; }

/* category filter sidebar: light */
.cat-side-panel {
    background: #FFFFFF !important;
    border: 1px solid #E7EBF0 !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 28px -24px rgba(15,23,42,.16) !important;
}
.cat-side-title {
    color: #1E293B !important;
    background: #F8FAFC !important;
    border-bottom-color: #E7EBF0 !important;
}
.cat-side-link { color: #475569 !important; }
.cat-side-link:hover { background: #F8FAFC !important; color: #1E293B !important; }
.cat-side-link.is-active { background: #EEF2FF !important; color: #002FA7 !important; }
.cat-side-child { color: #64748B !important; }
.cat-side-child:hover { background: #F8FAFC !important; color: #1E293B !important; }
.cat-side-child.is-active { color: #002FA7 !important; background: #EEF2FF !important; }
.subcat-chip, .filter-chip {
    background: #FFFFFF !important;
    border-color: #E7EBF0 !important;
    color: #475569 !important;
}
.subcat-chip:hover, .filter-chip:hover { border-color: #CBD5E1 !important; color: #1E293B !important; }
.subcat-chip.is-active, .filter-chip.is-active { background: #002FA7 !important; color: #FFFFFF !important; border-color: #002FA7 !important; }

/* checkout confirm page: light panels and summary */
.checkout-panel {
    background: #FFFFFF !important;
    border: 1px solid #E7EBF0 !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 28px -24px rgba(15,23,42,.16) !important;
}
.checkout-panel-title { color: #1E293B !important; }
.checkout-panel-title svg { color: #002FA7 !important; }
.checkout-panel-count { color: #64748B !important; }
.checkout-item {
    background: #F8FAFC !important;
    border-color: #E7EBF0 !important;
}
.checkout-item-cover { background: #F1F5F9 !important; border-color: #E2E8F0 !important; }
.checkout-item-title { color: #1E293B !important; }
.checkout-item-meta, .checkout-item-qty { color: #64748B !important; }
.checkout-item-price { color: #1E293B !important; }
.checkout-summary-card {
    background: linear-gradient(160deg, #FFFFFF, #F5F9FF 70%, #FFFFFF) !important;
    border: 1px solid #DBEAFE !important;
    border-radius: 8px !important;
    box-shadow: 0 12px 32px -24px rgba(15,23,42,.18) !important;
}
.checkout-coupon-row { border-bottom-color: #E2E8F0 !important; color: #475569 !important; }
.checkout-coupon-label, .summary-row, .checkout-tip { color: #64748B !important; }
.summary-row span:last-child { color: #1E293B !important; }
.summary-total strong, .checkout-coupon-value { color: #002FA7 !important; }
.checkout-panel .form-label, .checkout-panel .form-hint { color: #64748B !important; }
#couponPicker[hidden], .coupon-picker[hidden] { display: none !important; }
.coupon-option {
    background: #FFFFFF !important;
    border-color: #E7EBF0 !important;
    color: #1E293B !important;
}
.coupon-option.is-active { background: #EEF2FF !important; border-color: #93C5FD !important; }
.coupon-option-name { color: #1E293B !important; }
.coupon-option-desc { color: #64748B !important; }

/* checkout summary: no sticky motion; keep it in normal flow */
body.page-mall-checkout .checkout-side {
    position: static !important;
    top: auto !important;
}
#couponPicker { display: none !important; }

/* mall message center: light */
.msg-list {
    background: #FFFFFF !important;
    border: 1px solid #E7EBF0 !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 28px -24px rgba(15,23,42,.16) !important;
}
.msg-item { background: #FFFFFF !important; border-bottom-color: #E7EBF0 !important; }
.msg-item:hover { background: #F8FAFC !important; }
.msg-item.is-unread { background: #F8FBFF !important; }
.msg-title { color: #1E293B !important; }
.msg-category { color: #64748B !important; border-color: #E2E8F0 !important; background: #F8FAFC !important; }
.msg-time { color: #94A3B8 !important; }
.msg-content { color: #475569 !important; }
.msg-icon--payment { color: #047857 !important; background: #ECFDF5 !important; border-color: #A7F3D0 !important; }
.msg-icon--trade { color: #1D4ED8 !important; background: #EFF6FF !important; border-color: #BFDBFE !important; }
.msg-icon--service { color: #6D28D9 !important; background: #F5F3FF !important; border-color: #DDD6FE !important; }
.msg-icon--notice { color: #B45309 !important; background: #FFFBEB !important; border-color: #FDE68A !important; }
.msg-actions .btn { color: #002FA7 !important; }

/* account pages: stable container and sidebar position across subpages */
html { scrollbar-gutter: stable; }
body[class*="page-mall-account"] .account-page {
    width: 100% !important;
    max-width: 1200px !important;
    margin-inline: auto !important;
}
body[class*="page-mall-account"] .account-layout {
    width: 100% !important;
    grid-template-columns: 240px minmax(0, 1fr) !important;
}
body[class*="page-mall-account"] .account-side {
    position: static !important;
    top: auto !important;
    width: 240px !important;
    max-width: 240px !important;
    justify-self: start !important;
}
@media (max-width: 1024px) {
    body[class*="page-mall-account"] .account-layout { grid-template-columns: minmax(0, 1fr) !important; }
    body[class*="page-mall-account"] .account-side { width: 100% !important; max-width: none !important; }
}

/* account pages: one fixed 1200px column so the sidebar never shifts between pages */
body[class*="page-mall-account"] .mall-main {
    width: min(1200px, calc(100% - 32px)) !important;
    max-width: 1200px !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
}
body[class*="page-mall-account"] .account-page {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
}
body[class*="page-mall-account"] .account-layout {
    width: 100% !important;
    grid-template-columns: 240px minmax(0, 1fr) !important;
}
body[class*="page-mall-account"] .account-side {
    position: static !important;
    top: auto !important;
    width: 240px !important;
    max-width: 240px !important;
    justify-self: start !important;
}
@media (max-width: 1024px) {
    body[class*="page-mall-account"] .mall-main { width: 100% !important; max-width: none !important; padding-inline: 16px !important; }
    body[class*="page-mall-account"] .account-layout { grid-template-columns: minmax(0, 1fr) !important; }
    body[class*="page-mall-account"] .account-side { width: 100% !important; max-width: none !important; }
}

/* login third-party expanded: keep all icons on one row, no page/card scrollbar */
body.page-mall-login .oauth-grid.is-expanded {
    display: grid !important;
    grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
    gap: 8px !important;
}
body.page-mall-login .oauth-grid.is-expanded .oauth-btn {
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
}
body.page-mall-login .oauth-grid.is-expanded .oauth-brand-img {
    width: 70% !important;
    height: 70% !important;
    max-width: 30px;
    max-height: 30px;
}
body.page-mall-login .auth-card { scrollbar-width: none; }
body.page-mall-login .auth-card::-webkit-scrollbar { display: none; }
@media (max-height: 850px) {
    body.page-mall-login .auth-card { padding-top: 20px !important; padding-bottom: 18px !important; }
    body.page-mall-login .auth-title { font-size: 22px !important; }
    body.page-mall-login .auth-sub { margin-bottom: 12px !important; }
    body.page-mall-login .auth-form { gap: 8px !important; }
    body.page-mall-login .auth-social { margin-top: 8px !important; }
}

/* register page: compact single-screen form */
body.page-mall-register .auth-form { gap: 8px !important; }
body.page-mall-register .auth-form .input { height: 38px !important; }
body.page-mall-register .auth-sub { margin: 4px 0 10px !important; }
body.page-mall-register .auth-social { margin-top: 8px !important; }
body.page-mall-register .auth-social-divider { margin-bottom: 6px !important; }
body.page-mall-register .auth-foot { margin-top: 10px !important; }
body.page-mall-register .auth-card { scrollbar-width: none; }
body.page-mall-register .auth-card::-webkit-scrollbar { display: none; }

body.page-mall-register .auth-card { padding-top: 18px !important; padding-bottom: 18px !important; }

/* keep hidden controls actually hidden (channel switch, optional blocks) */
[hidden] { display: none !important; }


/* auth password fields: text starts at the same left edge as other inputs */
body.page-mall-login .input-wrap .input,
body.page-mall-register .input-wrap .input,
body.page-mall-forgot .input-wrap .input,
body.page-mall-forgot-pay .input-wrap .input {
    padding-left: 14px !important;
    padding-right: 44px !important;
}

/* pay page: center QR code and waiting status */
body.page-mall-pay .pay-channel.is-active .pay-channel-body {
    padding-left: 18px !important;
    padding-right: 18px !important;
    justify-items: center !important;
    text-align: center !important;
}
body.page-mall-pay .pay-qr-wrap { justify-items: center !important; }
body.page-mall-pay .pay-qrcode { margin-inline: auto !important; }
body.page-mall-pay .pay-status-line { justify-self: center !important; }
body.page-mall-pay .pay-tip { text-align: center !important; }

/* mobile tabbar + product buy bar: light */
.mall-tabbar {
    background: #FFFFFF !important;
    border-top: 1px solid #E7EBF0 !important;
    box-shadow: 0 -8px 24px -20px rgba(15,23,42,.18) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
.mall-tabbar-item { color: #94A3B8 !important; }
.mall-tabbar-item.is-active { color: #002FA7 !important; font-weight: 600 !important; }
.product-mobile-bar {
    background: #FFFFFF !important;
    border-top: 1px solid #E7EBF0 !important;
    box-shadow: 0 -8px 24px -20px rgba(15,23,42,.18) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
.product-mobile-bar .product-mobile-price strong { color: #002FA7 !important; }

/* mobile: prevent flex min-content width from stretching the whole mall page */
@media (max-width: 768px) {
    body.mall-body .site-main,
    body.mall-body .mall-main {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
    body.mall-body .mall-main > * { min-width: 0 !important; }
    body.mall-body .shop-banner,
    body.mall-body .shop-banner .swiper-wrapper { max-width: 100% !important; }
}

/* remaining mall surfaces: cart / refund / review / coupon */
.cart-shell {
    background: #FFFFFF !important;
    border-color: #E7EBF0 !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 28px -24px rgba(15,23,42,.16) !important;
}
.cart-head { background: #F8FAFC !important; border-bottom-color: #E7EBF0 !important; color: #64748B !important; }
.cart-row { background: #FFFFFF !important; border-bottom-color: #E7EBF0 !important; }
.cart-row:hover { background: #F8FAFC !important; }
.cart-sku, .cart-type { background: #F8FAFC !important; border-color: #E7EBF0 !important; color: #64748B !important; }
.cart-summary { background: #FFFFFF !important; border-color: #E7EBF0 !important; box-shadow: 0 10px 28px -24px rgba(15,23,42,.16) !important; }
.refund-card, .refund-panel, .review-card, .review-item, .address-card, .coupon-card, .coupon-item {
    background: #FFFFFF !important;
    border-color: #E7EBF0 !important;
    border-radius: 8px !important;
}
.refund-card:hover, .review-item:hover, .address-card:hover { border-color: #DBE3EC !important; }
.review-content, .refund-desc, .address-text { color: #475569 !important; }
.review-user, .refund-title, .address-name, .coupon-name { color: #1E293B !important; }
.review-time, .refund-meta, .address-meta, .coupon-meta { color: #64748B !important; }
.review-reply, .review-append { background: #F8FBFF !important; border-left-color: #002FA7 !important; color: #475569 !important; }
.coupon-mini { background: #FFFFFF !important; border-color: #FDE68A !important; }
.coupon-mini-name { color: #1E293B !important; }
.coupon-mini-desc { color: #64748B !important; }

/* mobile: case cards readable, footer in two columns */
@media (max-width: 900px) {
    .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 16px !important; }
}
@media (max-width: 600px) {
    .case-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 12px !important; }
    .case-card {
        display: grid !important;
        grid-template-columns: 122px minmax(0, 1fr) !important;
        align-items: stretch !important;
    }
    .case-media {
        aspect-ratio: auto !important;
        height: 100% !important;
        min-height: 116px !important;
        border-radius: 8px 0 0 8px !important;
    }
    .case-media img { height: 100% !important; object-fit: cover !important; }
    .case-body { padding: 14px 16px !important; justify-content: center !important; gap: 5px !important; }
    .case-title { font-size: 16px !important; line-height: 1.4 !important; -webkit-line-clamp: 2 !important; }
    .case-desc { margin-top: 0 !important; font-size: 12px !important; line-height: 1.6 !important; -webkit-line-clamp: 2 !important; }
    .case-tags { left: 8px !important; top: 8px !important; }
    .case-tag { font-size: 10px !important; padding: 2px 6px !important; }
}
@media (max-width: 768px) {
    .footer-main,
    .footer--mall .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 24px 20px !important;
        padding-block: 34px 24px !important;
    }
    .footer-brand { grid-column: 1 / -1 !important; max-width: none !important; gap: 14px !important; }
    .footer-contact-list {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px 14px !important;
    }
    .footer-col-title { margin-bottom: 10px !important; font-size: 12px !important; }
    .footer-links { gap: 8px !important; }
    .footer-links a { font-size: 13px !important; }
    .footer-service-strip { padding-block: 18px 20px !important; }
}

/* mobile: keep fixed bottom bars visually stable during scroll/navigation */
@media (max-width: 768px) {
    body.mall-body .mall-tabbar,
    body.mall-body .product-mobile-bar {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        transform: translate3d(0, 0, 0);
        will-change: transform;
    }
    body.mall-body .mall-tabbar-item {
        flex: 1 1 0 !important;
        min-width: 0 !important;
    }
}

/* mobile mall header: fit brand + actions inside 390px, no horizontal overflow */
@media (max-width: 768px) {
    body.mall-body .mall-header-top {
        gap: 8px !important;
        padding-inline: 12px !important;
    }
    body.mall-body .mall-header-top .brand {
        flex: 0 1 auto !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }
    body.mall-body .mall-header-top .brand-text { min-width: 0 !important; overflow: hidden !important; }
    body.mall-body .mall-header-top .brand-name {
        display: block !important;
        max-width: 160px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        font-size: 15px !important;
    }
    body.mall-body .mall-header-top .brand-sub { display: none !important; }
    body.mall-body .mall-header-actions { gap: 0 !important; flex: none !important; }
    body.mall-body .mall-action {
        min-width: 38px !important;
        height: 42px !important;
        padding: 0 3px !important;
    }
    body.mall-body .mall-action svg { width: 18px !important; height: 18px !important; }
}

/* mobile headings: avoid one-character orphan lines */
@media (max-width: 600px) {
    .page-hero-title,
    .hero-title,
    .section-title,
    .mall-page-title,
    .about-title,
    .contact-title {
        text-wrap: balance;
    }
}


/* mobile: back-to-top above bottom bars; login keeps the mall tabbar */
@media (max-width: 768px) {
    body.mall-body.has-tabbar .back-top {
        bottom: calc(76px + env(safe-area-inset-bottom)) !important;
    }
    body.mall-body.has-mobile-bar .back-top {
        bottom: calc(94px + env(safe-area-inset-bottom)) !important;
    }
    body.page-mall-login .mall-main {
        height: calc(100dvh - 64px) !important;
        max-height: calc(100dvh - 64px) !important;
    }
    body.page-mall-login .auth-page,
    body.page-mall-login .auth-shell {
        height: calc(100dvh - 64px) !important;
        max-height: calc(100dvh - 64px) !important;
    }
    body.page-mall-login .auth-card { overflow-y: auto !important; scrollbar-width: none; }
    body.page-mall-login .auth-card::-webkit-scrollbar { display: none; }
}

/* mobile: hide back-to-top above mall tabbar; clean login AI fab */
@media (max-width: 768px) {
    body.mall-body.has-tabbar .back-top { display: none !important; }
    body.page-mall-login .ai-chat-fab { display: none !important; }
}


/* ===== 微信小程序登录页（独立版式） ===== */
body.page-wechat-mini-login { background: #F4F7FB !important; }
body.page-wechat-mini-login .mall-main,
body.page-wechat-mini-login .auth-page {
    min-height: calc(100vh - 72px);
    padding: 0 !important;
    background: transparent !important;
}
body.page-wechat-mini-login .wechat-mini-page {
    min-height: calc(100vh - 72px);
    display: flex; align-items: center; justify-content: center;
    padding: 48px 20px; box-sizing: border-box;
}
body.page-wechat-mini-login .wechat-mini-shell { width: 100%; max-width: 560px; margin: 0 auto; }
body.page-wechat-mini-login .wechat-login-card {
    width: 100% !important; max-width: 560px !important; margin: 0 auto !important;
    padding: 36px 42px 32px !important; background: #FFFFFF !important;
    border: 1px solid #E6ECF3 !important; border-radius: 20px !important;
    box-shadow: 0 24px 70px -34px rgba(15,42,84,.28) !important; box-sizing: border-box;
}
body.page-wechat-mini-login .wechat-login-brand {
    display: flex; align-items: center; gap: 10px;
    padding-bottom: 24px; border-bottom: 1px solid #EEF2F7;
}
body.page-wechat-mini-login .wechat-login-brand-mark {
    width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 8px; background: #F3F7FF;
}
body.page-wechat-mini-login .wechat-login-brand-mark img { width: 26px; height: 26px; display: block; }
body.page-wechat-mini-login .wechat-login-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
body.page-wechat-mini-login .wechat-login-brand-text strong { color: #1E293B; font-size: 14px; font-weight: 700; }
body.page-wechat-mini-login .wechat-login-brand-text small { margin-top: 2px; color: #94A3B8; font-size: 9px; letter-spacing: 1.2px; }
body.page-wechat-mini-login .wechat-login-heading { padding: 26px 0 22px; text-align: center; }
body.page-wechat-mini-login .wechat-login-heading h1 { margin: 0; color: #172033; font-size: 24px; font-weight: 800; letter-spacing: -.3px; }
body.page-wechat-mini-login .wechat-login-heading p { margin: 7px 0 0; color: #64748B; font-size: 13px; }
body.page-wechat-mini-login .wechat-login-qr-panel {
    position: relative; width: 238px; height: 238px; margin: 0 auto; padding: 13px; box-sizing: border-box;
    background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 12px;
    box-shadow: 0 8px 24px -18px rgba(15,42,84,.22);
}
body.page-wechat-mini-login .wechat-login-qr { width: 100%; height: 100%; display: block; }
body.page-wechat-mini-login .wechat-login-qr-corner { position: absolute; width: 14px; height: 14px; border-color: #002FA7; border-style: solid; opacity: .7; }
body.page-wechat-mini-login .wechat-login-qr-corner.tl { left: -1px; top: -1px; border-width: 1px 0 0 1px; border-radius: 4px 0 0 0; }
body.page-wechat-mini-login .wechat-login-qr-corner.tr { right: -1px; top: -1px; border-width: 1px 1px 0 0; border-radius: 0 4px 0 0; }
body.page-wechat-mini-login .wechat-login-qr-corner.bl { left: -1px; bottom: -1px; border-width: 0 0 1px 1px; border-radius: 0 0 0 4px; }
body.page-wechat-mini-login .wechat-login-qr-corner.br { right: -1px; bottom: -1px; border-width: 0 1px 1px 0; border-radius: 0 0 4px 0; }
body.page-wechat-mini-login .wechat-login-status {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    margin-top: 17px; padding: 8px 12px; border-radius: 999px;
    background: #F8FAFC; color: #475569; font-size: 12px; line-height: 1.4; text-align: center;
}
body.page-wechat-mini-login .wechat-login-status-dot {
    width: 7px; height: 7px; flex: none; border-radius: 50%; background: #22C55E;
    box-shadow: 0 0 0 3px rgba(34,197,94,.12); animation: wechat-status-pulse 1.8s ease-in-out infinite;
}
@keyframes wechat-status-pulse { 50% { opacity: .45; } }
body.page-wechat-mini-login .wechat-login-steps {
    margin: 22px 0 0; padding: 15px 16px; background: #F8FAFC;
    border: 1px solid #EEF2F7; border-radius: 10px;
}
body.page-wechat-mini-login .wechat-login-step { display: grid; grid-template-columns: 26px minmax(0,1fr); column-gap: 9px; padding: 7px 0; }
body.page-wechat-mini-login .wechat-login-step + .wechat-login-step { border-top: 1px solid #E8EEF5; }
body.page-wechat-mini-login .wechat-login-step span { color: #002FA7; font-size: 10px; font-weight: 700; letter-spacing: .5px; padding-top: 2px; }
body.page-wechat-mini-login .wechat-login-step strong { display: block; color: #334155; font-size: 12px; font-weight: 600; line-height: 1.4; }
body.page-wechat-mini-login .wechat-login-step em { display: block; margin-top: 2px; color: #94A3B8; font-size: 11px; font-style: normal; line-height: 1.45; }
body.page-wechat-mini-login .wechat-login-tip { margin: 17px 0 18px; color: #94A3B8; font-size: 11px; line-height: 1.6; text-align: center; }
body.page-wechat-mini-login .wechat-login-back {
    display: flex; align-items: center; justify-content: center; height: 42px;
    border: 1px solid #E2E8F0; border-radius: 6px; color: #475569; font-size: 13px;
    text-decoration: none; background: #FFFFFF;
}
body.page-wechat-mini-login .wechat-login-back:hover { border-color: #CBD5E1; color: #1E293B; }
@media (max-width: 640px) {
    body.page-wechat-mini-login .wechat-mini-page { align-items: flex-start; padding: 20px 14px 36px; }
    body.page-wechat-mini-login .wechat-login-card { padding: 26px 20px 24px !important; border-radius: 14px !important; }
    body.page-wechat-mini-login .wechat-login-heading h1 { font-size: 21px; }
    body.page-wechat-mini-login .wechat-login-qr-panel { width: 210px; height: 210px; padding: 11px; }
}


/* fix mini login steps: number spans both rows, text stays in second column */
body.page-wechat-mini-login .wechat-login-step {
    grid-template-rows: auto auto;
}
body.page-wechat-mini-login .wechat-login-step > span {
    grid-column: 1;
    grid-row: 1 / span 2;
}
body.page-wechat-mini-login .wechat-login-step > strong {
    grid-column: 2;
    grid-row: 1;
    width: auto;
}
body.page-wechat-mini-login .wechat-login-step > em {
    grid-column: 2;
    grid-row: 2;
    width: auto;
}
body.page-wechat-mini-login .wechat-login-step strong,
body.page-wechat-mini-login .wechat-login-step em { writing-mode: horizontal-tb; }
body.page-wechat-mini-login .ai-chat-fab { display: none !important; }


/* ============================================================================
   Register: same floating auth card as login (no shop header / full-bleed site)
   ========================================================================== */
body.page-mall-register .mall-header,
body.page-mall-register .mall-tabbar,
body.page-mall-register .back-top,
body.page-mall-register .ai-chat-fab { display: none !important; }

body.page-mall-register .mall-main {
    height: 100vh !important;
    max-height: 100vh !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
    width: 100% !important;
    overflow: hidden !important;
}
body.page-mall-register .auth-page {
    height: 100vh !important;
    max-height: 100vh !important;
    min-height: 0 !important;
    padding: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    background:
        radial-gradient(900px 520px at 12% 8%, rgba(219,234,254,.75), transparent 65%),
        radial-gradient(800px 520px at 88% 100%, rgba(224,231,255,.65), transparent 65%),
        #F7F8FA !important;
}
body.page-mall-register .auth-shell {
    width: min(1200px, calc(100vw - 64px)) !important;
    height: min(780px, calc(100vh - 64px)) !important;
    max-height: calc(100vh - 64px) !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    border: 1px solid #E7EBF0 !important;
    border-radius: 8px !important;
    box-shadow: 0 32px 80px -42px rgba(15,23,42,.28) !important;
    overflow: hidden !important;
    background: #FFFFFF !important;
}
body.page-mall-register .auth-aside {
    border-radius: 0 !important;
    padding: 32px 36px !important;
    background: #F1F3F5 url('/static/images/refresh/login-deco.webp') no-repeat center / cover !important;
    border-right: 1px solid #E7EBF0 !important;
}
body.page-mall-register .auth-aside-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    height: 100%;
    max-width: 560px;
}
body.page-mall-register .auth-aside-copy {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
body.page-mall-register .auth-aside-title { color: #1E293B !important; }
body.page-mall-register .auth-aside-title .text-gradient { color: #002FA7 !important; }
body.page-mall-register .auth-aside-foot { color: #64748B !important; }
body.page-mall-register .auth-aside-foot a { color: #002FA7 !important; }
body.page-mall-register .auth-card {
    height: 100% !important;
    max-height: 100% !important;
    width: 100% !important;
    max-width: 680px !important;
    margin: 0 auto !important;
    padding: 28px 48px !important;
    border: 0 !important;
    border-radius: 0 !important;
    overflow-y: auto !important;
    scrollbar-width: none;
    justify-content: flex-start !important;
}
body.page-mall-register .auth-card::-webkit-scrollbar { display: none; }
body.page-mall-register .auth-form { gap: 10px !important; }
body.page-mall-register .auth-form .input { height: 40px !important; }
@media (max-width: 1024px) {
    body.page-mall-register .auth-page { padding: 16px !important; }
    body.page-mall-register .auth-shell {
        width: 100% !important;
        height: calc(100vh - 32px) !important;
        max-height: calc(100vh - 32px) !important;
        grid-template-columns: minmax(0, 1fr) !important;
    }
    body.page-mall-register .auth-aside { display: none !important; }
    body.page-mall-register .auth-card { padding: 22px 20px !important; max-width: 560px !important; }
}
